7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/kinesis/KinesisRequest.h>
9#include <aws/kinesis/model/SubscribeToShardHandler.h>
10#include <aws/core/utils/event/EventStreamDecoder.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/kinesis/model/StartingPosition.h>
73 inline void SetConsumerARN(
const char* value) { m_consumerARNHasBeenSet =
true; m_consumerARN.assign(value); }
88 inline void SetShardId(
const char* value) { m_shardIdHasBeenSet =
true; m_shardId.assign(value); }
108 bool m_consumerARNHasBeenSet =
false;
111 bool m_shardIdHasBeenSet =
false;
114 bool m_startingPositionHasBeenSet =
false;
Aws::Endpoint::EndpointParameters EndpointParameters
AWS_KINESIS_API SubscribeToShardRequest()
void SetShardId(Aws::String &&value)
void SetConsumerARN(const char *value)
const SubscribeToShardHandler & GetEventStreamHandler() const
bool ShardIdHasBeenSet() const
SubscribeToShardRequest & WithShardId(const Aws::String &value)
const StartingPosition & GetStartingPosition() const
SubscribeToShardRequest & WithConsumerARN(const char *value)
void SetConsumerARN(const Aws::String &value)
SubscribeToShardRequest & WithConsumerARN(Aws::String &&value)
SubscribeToShardRequest & WithConsumerARN(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
SubscribeToShardRequest & WithStartingPosition(const StartingPosition &value)
const Aws::String & GetConsumerARN() const
const Aws::String & GetShardId() const
SubscribeToShardRequest & WithShardId(const char *value)
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
bool ConsumerARNHasBeenSet() const
AWS_KINESIS_API Aws::String SerializePayload() const override
bool StartingPositionHasBeenSet() const
void SetShardId(const char *value)
void SetShardId(const Aws::String &value)
void SetStartingPosition(const StartingPosition &value)
void SetStartingPosition(StartingPosition &&value)
SubscribeToShardRequest & WithStartingPosition(StartingPosition &&value)
SubscribeToShardRequest & WithEventStreamHandler(const SubscribeToShardHandler &value)
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetEventStreamHandler(const SubscribeToShardHandler &value)
void SetConsumerARN(Aws::String &&value)
SubscribeToShardRequest & WithShardId(Aws::String &&value)
void ResetEventStreamHandler(EventStreamHandler *handler)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String