7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesis/model/HashKeyRange.h>
10#include <aws/kinesis/model/SequenceNumberRange.h>
37 AWS_KINESIS_API
Shard() =
default;
49 template<
typename ShardIdT = Aws::String>
50 void SetShardId(ShardIdT&& value) { m_shardIdHasBeenSet =
true; m_shardId = std::forward<ShardIdT>(value); }
51 template<
typename ShardIdT = Aws::String>
61 template<
typename ParentShardIdT = Aws::String>
62 void SetParentShardId(ParentShardIdT&& value) { m_parentShardIdHasBeenSet =
true; m_parentShardId = std::forward<ParentShardIdT>(value); }
63 template<
typename ParentShardIdT = Aws::String>
73 template<
typename AdjacentParentShardIdT = Aws::String>
74 void SetAdjacentParentShardId(AdjacentParentShardIdT&& value) { m_adjacentParentShardIdHasBeenSet =
true; m_adjacentParentShardId = std::forward<AdjacentParentShardIdT>(value); }
75 template<
typename AdjacentParentShardIdT = Aws::String>
86 template<
typename HashKeyRangeT = HashKeyRange>
87 void SetHashKeyRange(HashKeyRangeT&& value) { m_hashKeyRangeHasBeenSet =
true; m_hashKeyRange = std::forward<HashKeyRangeT>(value); }
88 template<
typename HashKeyRangeT = HashKeyRange>
98 template<
typename SequenceNumberRangeT = SequenceNumberRange>
99 void SetSequenceNumberRange(SequenceNumberRangeT&& value) { m_sequenceNumberRangeHasBeenSet =
true; m_sequenceNumberRange = std::forward<SequenceNumberRangeT>(value); }
100 template<
typename SequenceNumberRangeT = SequenceNumberRange>
106 bool m_shardIdHasBeenSet =
false;
109 bool m_parentShardIdHasBeenSet =
false;
112 bool m_adjacentParentShardIdHasBeenSet =
false;
115 bool m_hashKeyRangeHasBeenSet =
false;
118 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