/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of a GetShardIterator
* operation.See Also:
AWS
* API Reference
The position in the shard from which to start reading stream records * sequentially. A shard iterator specifies this position using the sequence number * of a stream record in a shard.
*/ inline const Aws::String& GetShardIterator() const{ return m_shardIterator; } /** *The position in the shard from which to start reading stream records * sequentially. A shard iterator specifies this position using the sequence number * of a stream record in a shard.
*/ inline void SetShardIterator(const Aws::String& value) { m_shardIterator = value; } /** *The position in the shard from which to start reading stream records * sequentially. A shard iterator specifies this position using the sequence number * of a stream record in a shard.
*/ inline void SetShardIterator(Aws::String&& value) { m_shardIterator = std::move(value); } /** *The position in the shard from which to start reading stream records * sequentially. A shard iterator specifies this position using the sequence number * of a stream record in a shard.
*/ inline void SetShardIterator(const char* value) { m_shardIterator.assign(value); } /** *The position in the shard from which to start reading stream records * sequentially. A shard iterator specifies this position using the sequence number * of a stream record in a shard.
*/ inline GetShardIteratorResult& WithShardIterator(const Aws::String& value) { SetShardIterator(value); return *this;} /** *The position in the shard from which to start reading stream records * sequentially. A shard iterator specifies this position using the sequence number * of a stream record in a shard.
*/ inline GetShardIteratorResult& WithShardIterator(Aws::String&& value) { SetShardIterator(std::move(value)); return *this;} /** *The position in the shard from which to start reading stream records * sequentially. A shard iterator specifies this position using the sequence number * of a stream record in a shard.
*/ inline GetShardIteratorResult& WithShardIterator(const char* value) { SetShardIterator(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetShardIteratorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetShardIteratorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetShardIteratorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_shardIterator; Aws::String m_requestId; }; } // namespace Model } // namespace DynamoDBStreams } // namespace Aws