7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesis/model/Record.h>
11#include <aws/kinesis/model/ChildShard.h>
51 template<
typename RecordsT = Aws::Vector<Record>>
52 void SetRecords(RecordsT&& value) { m_recordsHasBeenSet =
true; m_records = std::forward<RecordsT>(value); }
53 template<
typename RecordsT = Aws::Vector<Record>>
55 template<
typename RecordsT = Record>
69 template<
typename ContinuationSequenceNumberT = Aws::String>
70 void SetContinuationSequenceNumber(ContinuationSequenceNumberT&& value) { m_continuationSequenceNumberHasBeenSet =
true; m_continuationSequenceNumber = std::forward<ContinuationSequenceNumberT>(value); }
71 template<
typename ContinuationSequenceNumberT = Aws::String>
84 inline void SetMillisBehindLatest(
long long value) { m_millisBehindLatestHasBeenSet =
true; m_millisBehindLatest = value; }
95 template<
typename ChildShardsT = Aws::Vector<ChildShard>>
96 void SetChildShards(ChildShardsT&& value) { m_childShardsHasBeenSet =
true; m_childShards = std::forward<ChildShardsT>(value); }
97 template<
typename ChildShardsT = Aws::Vector<ChildShard>>
99 template<
typename ChildShardsT = ChildShard>
105 bool m_recordsHasBeenSet =
false;
108 bool m_continuationSequenceNumberHasBeenSet =
false;
110 long long m_millisBehindLatest{0};
111 bool m_millisBehindLatestHasBeenSet =
false;
114 bool m_childShardsHasBeenSet =
false;
SubscribeToShardEvent & WithContinuationSequenceNumber(ContinuationSequenceNumberT &&value)
bool RecordsHasBeenSet() const
const Aws::Vector< Record > & GetRecords() const
void SetRecords(RecordsT &&value)
AWS_KINESIS_API SubscribeToShardEvent(Aws::Utils::Json::JsonView jsonValue)
void SetChildShards(ChildShardsT &&value)
AWS_KINESIS_API SubscribeToShardEvent()=default
void SetMillisBehindLatest(long long value)
AWS_KINESIS_API SubscribeToShardEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContinuationSequenceNumber(ContinuationSequenceNumberT &&value)
bool ChildShardsHasBeenSet() const
SubscribeToShardEvent & AddRecords(RecordsT &&value)
long long GetMillisBehindLatest() const
SubscribeToShardEvent & WithRecords(RecordsT &&value)
const Aws::Vector< ChildShard > & GetChildShards() const
SubscribeToShardEvent & WithChildShards(ChildShardsT &&value)
SubscribeToShardEvent & WithMillisBehindLatest(long long value)
bool ContinuationSequenceNumberHasBeenSet() const
bool MillisBehindLatestHasBeenSet() const
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
SubscribeToShardEvent & AddChildShards(ChildShardsT &&value)
const Aws::String & GetContinuationSequenceNumber() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue