19 #include <boost/function.hpp> 35 typedef std::function<bool(const StreamSubscriptionDescriptor & descriptor)>
SubscriberSetupFn;
61 if (0 == installers_.count(descriptor.
input_type)) {
65 bool result = installers_.at(descriptor.
input_type)(descriptor);
73 virtual void Uninstall(
const std::string &
topic_name) = 0;
79 std::map<KinesisStreamInputType, SubscriberSetupFn>
installers_;
std::string rekognition_data_stream
enum Aws::Kinesis::kinesis_manager_status_e KinesisManagerStatus
std::map< KinesisStreamInputType, SubscriberSetupFn > installers_
std::function< bool(const StreamSubscriptionDescriptor &descriptor)> SubscriberSetupFn
uint32_t message_queue_size
virtual KinesisManagerStatus Install(const StreamSubscriptionDescriptor &descriptor) const
int KinesisStreamInputType
KinesisStreamInputType input_type
std::string rekognition_topic_name