/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Output parameter of the GetRecords API. The existing child shard of the
* current shard.See Also:
AWS
* API Reference
The shard ID of the existing child shard of the current shard.
*/ inline const Aws::String& GetShardId() const{ return m_shardId; } /** *The shard ID of the existing child shard of the current shard.
*/ inline bool ShardIdHasBeenSet() const { return m_shardIdHasBeenSet; } /** *The shard ID of the existing child shard of the current shard.
*/ inline void SetShardId(const Aws::String& value) { m_shardIdHasBeenSet = true; m_shardId = value; } /** *The shard ID of the existing child shard of the current shard.
*/ inline void SetShardId(Aws::String&& value) { m_shardIdHasBeenSet = true; m_shardId = std::move(value); } /** *The shard ID of the existing child shard of the current shard.
*/ inline void SetShardId(const char* value) { m_shardIdHasBeenSet = true; m_shardId.assign(value); } /** *The shard ID of the existing child shard of the current shard.
*/ inline ChildShard& WithShardId(const Aws::String& value) { SetShardId(value); return *this;} /** *The shard ID of the existing child shard of the current shard.
*/ inline ChildShard& WithShardId(Aws::String&& value) { SetShardId(std::move(value)); return *this;} /** *The shard ID of the existing child shard of the current shard.
*/ inline ChildShard& WithShardId(const char* value) { SetShardId(value); return *this;} /** *The current shard that is the parent of the existing child shard.
*/ inline const Aws::VectorThe current shard that is the parent of the existing child shard.
*/ inline bool ParentShardsHasBeenSet() const { return m_parentShardsHasBeenSet; } /** *The current shard that is the parent of the existing child shard.
*/ inline void SetParentShards(const Aws::VectorThe current shard that is the parent of the existing child shard.
*/ inline void SetParentShards(Aws::VectorThe current shard that is the parent of the existing child shard.
*/ inline ChildShard& WithParentShards(const Aws::VectorThe current shard that is the parent of the existing child shard.
*/ inline ChildShard& WithParentShards(Aws::VectorThe current shard that is the parent of the existing child shard.
*/ inline ChildShard& AddParentShards(const Aws::String& value) { m_parentShardsHasBeenSet = true; m_parentShards.push_back(value); return *this; } /** *The current shard that is the parent of the existing child shard.
*/ inline ChildShard& AddParentShards(Aws::String&& value) { m_parentShardsHasBeenSet = true; m_parentShards.push_back(std::move(value)); return *this; } /** *The current shard that is the parent of the existing child shard.
*/ inline ChildShard& AddParentShards(const char* value) { m_parentShardsHasBeenSet = true; m_parentShards.push_back(value); return *this; } inline const HashKeyRange& GetHashKeyRange() const{ return m_hashKeyRange; } inline bool HashKeyRangeHasBeenSet() const { return m_hashKeyRangeHasBeenSet; } inline void SetHashKeyRange(const HashKeyRange& value) { m_hashKeyRangeHasBeenSet = true; m_hashKeyRange = value; } inline void SetHashKeyRange(HashKeyRange&& value) { m_hashKeyRangeHasBeenSet = true; m_hashKeyRange = std::move(value); } inline ChildShard& WithHashKeyRange(const HashKeyRange& value) { SetHashKeyRange(value); return *this;} inline ChildShard& WithHashKeyRange(HashKeyRange&& value) { SetHashKeyRange(std::move(value)); return *this;} private: Aws::String m_shardId; bool m_shardIdHasBeenSet = false; Aws::Vector