/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A uniquely identified group of stream records within a stream.See
* Also:
AWS
* API Reference
The system-generated identifier for this shard.
*/ inline const Aws::String& GetShardId() const{ return m_shardId; } /** *The system-generated identifier for this shard.
*/ inline bool ShardIdHasBeenSet() const { return m_shardIdHasBeenSet; } /** *The system-generated identifier for this shard.
*/ inline void SetShardId(const Aws::String& value) { m_shardIdHasBeenSet = true; m_shardId = value; } /** *The system-generated identifier for this shard.
*/ inline void SetShardId(Aws::String&& value) { m_shardIdHasBeenSet = true; m_shardId = std::move(value); } /** *The system-generated identifier for this shard.
*/ inline void SetShardId(const char* value) { m_shardIdHasBeenSet = true; m_shardId.assign(value); } /** *The system-generated identifier for this shard.
*/ inline Shard& WithShardId(const Aws::String& value) { SetShardId(value); return *this;} /** *The system-generated identifier for this shard.
*/ inline Shard& WithShardId(Aws::String&& value) { SetShardId(std::move(value)); return *this;} /** *The system-generated identifier for this shard.
*/ inline Shard& WithShardId(const char* value) { SetShardId(value); return *this;} /** *The range of possible sequence numbers for the shard.
*/ inline const SequenceNumberRange& GetSequenceNumberRange() const{ return m_sequenceNumberRange; } /** *The range of possible sequence numbers for the shard.
*/ inline bool SequenceNumberRangeHasBeenSet() const { return m_sequenceNumberRangeHasBeenSet; } /** *The range of possible sequence numbers for the shard.
*/ inline void SetSequenceNumberRange(const SequenceNumberRange& value) { m_sequenceNumberRangeHasBeenSet = true; m_sequenceNumberRange = value; } /** *The range of possible sequence numbers for the shard.
*/ inline void SetSequenceNumberRange(SequenceNumberRange&& value) { m_sequenceNumberRangeHasBeenSet = true; m_sequenceNumberRange = std::move(value); } /** *The range of possible sequence numbers for the shard.
*/ inline Shard& WithSequenceNumberRange(const SequenceNumberRange& value) { SetSequenceNumberRange(value); return *this;} /** *The range of possible sequence numbers for the shard.
*/ inline Shard& WithSequenceNumberRange(SequenceNumberRange&& value) { SetSequenceNumberRange(std::move(value)); return *this;} /** *The shard ID of the current shard's parent.
*/ inline const Aws::String& GetParentShardId() const{ return m_parentShardId; } /** *The shard ID of the current shard's parent.
*/ inline bool ParentShardIdHasBeenSet() const { return m_parentShardIdHasBeenSet; } /** *The shard ID of the current shard's parent.
*/ inline void SetParentShardId(const Aws::String& value) { m_parentShardIdHasBeenSet = true; m_parentShardId = value; } /** *The shard ID of the current shard's parent.
*/ inline void SetParentShardId(Aws::String&& value) { m_parentShardIdHasBeenSet = true; m_parentShardId = std::move(value); } /** *The shard ID of the current shard's parent.
*/ inline void SetParentShardId(const char* value) { m_parentShardIdHasBeenSet = true; m_parentShardId.assign(value); } /** *The shard ID of the current shard's parent.
*/ inline Shard& WithParentShardId(const Aws::String& value) { SetParentShardId(value); return *this;} /** *The shard ID of the current shard's parent.
*/ inline Shard& WithParentShardId(Aws::String&& value) { SetParentShardId(std::move(value)); return *this;} /** *The shard ID of the current shard's parent.
*/ inline Shard& WithParentShardId(const char* value) { SetParentShardId(value); return *this;} private: Aws::String m_shardId; bool m_shardIdHasBeenSet = false; SequenceNumberRange m_sequenceNumberRange; bool m_sequenceNumberRangeHasBeenSet = false; Aws::String m_parentShardId; bool m_parentShardIdHasBeenSet = false; }; } // namespace Model } // namespace DynamoDBStreams } // namespace Aws