7#include <aws/core/utils/HashingUtils.h>
8#include <aws/core/utils/event/EventStreamHandler.h>
9#include <aws/core/client/AWSError.h>
10#include <aws/kinesis/Kinesis_EXPORTS.h>
11#include <aws/kinesis/KinesisErrors.h>
13#include <aws/kinesis/model/SubscribeToShardInitialResponse.h>
14#include <aws/kinesis/model/SubscribeToShardEvent.h>
40 AWS_KINESIS_API
virtual void OnEvent()
override;
64 AWS_KINESIS_API
void HandleEventInMessage();
65 AWS_KINESIS_API
void HandleErrorInMessage();
68 SubscribeToShardInitialResponseCallbackEx m_onInitialResponse;
69 SubscribeToShardEventCallback m_onSubscribeToShardEvent;
70 ErrorCallback m_onError;
73namespace SubscribeToShardEventMapper
AWS_KINESIS_API SubscribeToShardHandler & operator=(const SubscribeToShardHandler &)=default
void SetInitialResponseCallbackEx(const SubscribeToShardInitialResponseCallbackEx &callback)
AWS_KINESIS_API SubscribeToShardHandler()
void SetOnErrorCallback(const ErrorCallback &callback)
void SetSubscribeToShardEventCallback(const SubscribeToShardEventCallback &callback)
SubscribeToShardInitialResponseCallbackEx & GetInitialResponseCallbackEx()
virtual AWS_KINESIS_API void OnEvent() override
void SetInitialResponseCallback(const SubscribeToShardInitialResponseCallback &noArgCallback)
AWS_KINESIS_API Aws::String GetNameForSubscribeToShardEventType(SubscribeToShardEventType value)
AWS_KINESIS_API SubscribeToShardEventType GetSubscribeToShardEventTypeForName(const Aws::String &name)
SubscribeToShardEventType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String