7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kinesis/Kinesis_EXPORTS.h>
10#include <aws/kinesis/model/HashKeyRange.h>
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 ParentShardsT = Aws::Vector<Aws::String>>
63 m_parentShardsHasBeenSet =
true;
64 m_parentShards = std::forward<ParentShardsT>(value);
66 template <
typename ParentShardsT = Aws::Vector<Aws::String>>
71 template <
typename ParentShardsT = Aws::String>
73 m_parentShardsHasBeenSet =
true;
74 m_parentShards.emplace_back(std::forward<ParentShardsT>(value));
83 template <
typename HashKeyRangeT = HashKeyRange>
85 m_hashKeyRangeHasBeenSet =
true;
86 m_hashKeyRange = std::forward<HashKeyRangeT>(value);
88 template <
typename HashKeyRangeT = HashKeyRange>
100 bool m_shardIdHasBeenSet =
false;
101 bool m_parentShardsHasBeenSet =
false;
102 bool m_hashKeyRangeHasBeenSet =
false;
bool HashKeyRangeHasBeenSet() const
void SetParentShards(ParentShardsT &&value)
AWS_KINESIS_API ChildShard & operator=(Aws::Utils::Json::JsonView jsonValue)
ChildShard & AddParentShards(ParentShardsT &&value)
AWS_KINESIS_API ChildShard(Aws::Utils::Json::JsonView jsonValue)
void SetHashKeyRange(HashKeyRangeT &&value)
const Aws::String & GetShardId() const
const HashKeyRange & GetHashKeyRange() const
const Aws::Vector< Aws::String > & GetParentShards() const
ChildShard & WithParentShards(ParentShardsT &&value)
bool ShardIdHasBeenSet() const
AWS_KINESIS_API ChildShard()=default
ChildShard & WithShardId(ShardIdT &&value)
bool ParentShardsHasBeenSet() const
void SetShardId(ShardIdT &&value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
ChildShard & WithHashKeyRange(HashKeyRangeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue