/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a GetRecords
operation.See
* Also:
AWS
* API Reference
A shard iterator that was retrieved from a previous GetShardIterator * operation. This iterator can be used to access the stream records in this * shard.
*/ inline const Aws::String& GetShardIterator() const{ return m_shardIterator; } /** *A shard iterator that was retrieved from a previous GetShardIterator * operation. This iterator can be used to access the stream records in this * shard.
*/ inline bool ShardIteratorHasBeenSet() const { return m_shardIteratorHasBeenSet; } /** *A shard iterator that was retrieved from a previous GetShardIterator * operation. This iterator can be used to access the stream records in this * shard.
*/ inline void SetShardIterator(const Aws::String& value) { m_shardIteratorHasBeenSet = true; m_shardIterator = value; } /** *A shard iterator that was retrieved from a previous GetShardIterator * operation. This iterator can be used to access the stream records in this * shard.
*/ inline void SetShardIterator(Aws::String&& value) { m_shardIteratorHasBeenSet = true; m_shardIterator = std::move(value); } /** *A shard iterator that was retrieved from a previous GetShardIterator * operation. This iterator can be used to access the stream records in this * shard.
*/ inline void SetShardIterator(const char* value) { m_shardIteratorHasBeenSet = true; m_shardIterator.assign(value); } /** *A shard iterator that was retrieved from a previous GetShardIterator * operation. This iterator can be used to access the stream records in this * shard.
*/ inline GetRecordsRequest& WithShardIterator(const Aws::String& value) { SetShardIterator(value); return *this;} /** *A shard iterator that was retrieved from a previous GetShardIterator * operation. This iterator can be used to access the stream records in this * shard.
*/ inline GetRecordsRequest& WithShardIterator(Aws::String&& value) { SetShardIterator(std::move(value)); return *this;} /** *A shard iterator that was retrieved from a previous GetShardIterator * operation. This iterator can be used to access the stream records in this * shard.
*/ inline GetRecordsRequest& WithShardIterator(const char* value) { SetShardIterator(value); return *this;} /** *The maximum number of records to return from the shard. The upper limit is * 1000.
*/ inline int GetLimit() const{ return m_limit; } /** *The maximum number of records to return from the shard. The upper limit is * 1000.
*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *The maximum number of records to return from the shard. The upper limit is * 1000.
*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *The maximum number of records to return from the shard. The upper limit is * 1000.
*/ inline GetRecordsRequest& WithLimit(int value) { SetLimit(value); return *this;} private: Aws::String m_shardIterator; bool m_shardIteratorHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; }; } // namespace Model } // namespace DynamoDBStreams } // namespace Aws