7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesis/Kinesis_EXPORTS.h>
9#include <aws/kinesis/model/HashKeyRange.h>
10#include <aws/kinesis/model/SequenceNumberRange.h>
32 AWS_KINESIS_API
Shard() =
default;
43 template <
typename ShardIdT = Aws::String>
45 m_shardIdHasBeenSet =
true;
46 m_shardId = std::forward<ShardIdT>(value);
48 template <
typename ShardIdT = Aws::String>
61 template <
typename ParentShardIdT = Aws::String>
63 m_parentShardIdHasBeenSet =
true;
64 m_parentShardId = std::forward<ParentShardIdT>(value);
66 template <
typename ParentShardIdT = Aws::String>
79 template <
typename AdjacentParentShardIdT = Aws::String>
81 m_adjacentParentShardIdHasBeenSet =
true;
82 m_adjacentParentShardId = std::forward<AdjacentParentShardIdT>(value);
84 template <
typename AdjacentParentShardIdT = Aws::String>
98 template <
typename HashKeyRangeT = HashKeyRange>
100 m_hashKeyRangeHasBeenSet =
true;
101 m_hashKeyRange = std::forward<HashKeyRangeT>(value);
103 template <
typename HashKeyRangeT = HashKeyRange>
116 template <
typename SequenceNumberRangeT = SequenceNumberRange>
118 m_sequenceNumberRangeHasBeenSet =
true;
119 m_sequenceNumberRange = std::forward<SequenceNumberRangeT>(value);
121 template <
typename SequenceNumberRangeT = SequenceNumberRange>
137 bool m_shardIdHasBeenSet =
false;
138 bool m_parentShardIdHasBeenSet =
false;
139 bool m_adjacentParentShardIdHasBeenSet =
false;
140 bool m_hashKeyRangeHasBeenSet =
false;
141 bool m_sequenceNumberRangeHasBeenSet =
false;
Shard & WithHashKeyRange(HashKeyRangeT &&value)
void SetSequenceNumberRange(SequenceNumberRangeT &&value)
bool AdjacentParentShardIdHasBeenSet() const
const Aws::String & GetAdjacentParentShardId() const
AWS_KINESIS_API Shard & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESIS_API Shard()=default
Shard & WithParentShardId(ParentShardIdT &&value)
void SetHashKeyRange(HashKeyRangeT &&value)
void SetAdjacentParentShardId(AdjacentParentShardIdT &&value)
bool SequenceNumberRangeHasBeenSet() const
const SequenceNumberRange & GetSequenceNumberRange() const
bool ShardIdHasBeenSet() const
Shard & WithSequenceNumberRange(SequenceNumberRangeT &&value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESIS_API Shard(Aws::Utils::Json::JsonView jsonValue)
Shard & WithAdjacentParentShardId(AdjacentParentShardIdT &&value)
void SetShardId(ShardIdT &&value)
const Aws::String & GetParentShardId() const
const Aws::String & GetShardId() const
void SetParentShardId(ParentShardIdT &&value)
Shard & WithShardId(ShardIdT &&value)
bool HashKeyRangeHasBeenSet() const
bool ParentShardIdHasBeenSet() const
const HashKeyRange & GetHashKeyRange() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue