7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kinesis/model/HashKeyRange.h>
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 ParentShardsT = Aws::Vector<Aws::String>>
62 void SetParentShards(ParentShardsT&& value) { m_parentShardsHasBeenSet =
true; m_parentShards = std::forward<ParentShardsT>(value); }
63 template<
typename ParentShardsT = Aws::Vector<Aws::String>>
65 template<
typename ParentShardsT = Aws::String>
66 ChildShard&
AddParentShards(ParentShardsT&& value) { m_parentShardsHasBeenSet =
true; m_parentShards.emplace_back(std::forward<ParentShardsT>(value));
return *
this; }
73 template<
typename HashKeyRangeT = HashKeyRange>
74 void SetHashKeyRange(HashKeyRangeT&& value) { m_hashKeyRangeHasBeenSet =
true; m_hashKeyRange = std::forward<HashKeyRangeT>(value); }
75 template<
typename HashKeyRangeT = HashKeyRange>
81 bool m_shardIdHasBeenSet =
false;
84 bool m_parentShardsHasBeenSet =
false;
87 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