/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input for GetRecords.See Also:
AWS
* API Reference
The position in the shard from which you want to start sequentially reading * data records. A shard iterator specifies this position using the sequence number * of a data record in the shard.
*/ inline const Aws::String& GetShardIterator() const{ return m_shardIterator; } /** *The position in the shard from which you want to start sequentially reading * data records. A shard iterator specifies this position using the sequence number * of a data record in the shard.
*/ inline bool ShardIteratorHasBeenSet() const { return m_shardIteratorHasBeenSet; } /** *The position in the shard from which you want to start sequentially reading * data records. A shard iterator specifies this position using the sequence number * of a data record in the shard.
*/ inline void SetShardIterator(const Aws::String& value) { m_shardIteratorHasBeenSet = true; m_shardIterator = value; } /** *The position in the shard from which you want to start sequentially reading * data records. A shard iterator specifies this position using the sequence number * of a data record in the shard.
*/ inline void SetShardIterator(Aws::String&& value) { m_shardIteratorHasBeenSet = true; m_shardIterator = std::move(value); } /** *The position in the shard from which you want to start sequentially reading * data records. A shard iterator specifies this position using the sequence number * of a data record in the shard.
*/ inline void SetShardIterator(const char* value) { m_shardIteratorHasBeenSet = true; m_shardIterator.assign(value); } /** *The position in the shard from which you want to start sequentially reading * data records. A shard iterator specifies this position using the sequence number * of a data record in the shard.
*/ inline GetRecordsRequest& WithShardIterator(const Aws::String& value) { SetShardIterator(value); return *this;} /** *The position in the shard from which you want to start sequentially reading * data records. A shard iterator specifies this position using the sequence number * of a data record in the shard.
*/ inline GetRecordsRequest& WithShardIterator(Aws::String&& value) { SetShardIterator(std::move(value)); return *this;} /** *The position in the shard from which you want to start sequentially reading * data records. A shard iterator specifies this position using the sequence number * of a data record in the shard.
*/ inline GetRecordsRequest& WithShardIterator(const char* value) { SetShardIterator(value); return *this;} /** *The maximum number of records to return. Specify a value of up to 10,000. If
* you specify a value that is greater than 10,000, GetRecords throws
* InvalidArgumentException
. The default value is 10,000.
The maximum number of records to return. Specify a value of up to 10,000. If
* you specify a value that is greater than 10,000, GetRecords throws
* InvalidArgumentException
. The default value is 10,000.
The maximum number of records to return. Specify a value of up to 10,000. If
* you specify a value that is greater than 10,000, GetRecords throws
* InvalidArgumentException
. The default value is 10,000.
The maximum number of records to return. Specify a value of up to 10,000. If
* you specify a value that is greater than 10,000, GetRecords throws
* InvalidArgumentException
. The default value is 10,000.
The ARN of the stream.
*/ inline const Aws::String& GetStreamARN() const{ return m_streamARN; } /** *The ARN of the stream.
*/ inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; } /** *The ARN of the stream.
*/ inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; } /** *The ARN of the stream.
*/ inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); } /** *The ARN of the stream.
*/ inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); } /** *The ARN of the stream.
*/ inline GetRecordsRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;} /** *The ARN of the stream.
*/ inline GetRecordsRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;} /** *The ARN of the stream.
*/ inline GetRecordsRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;} private: Aws::String m_shardIterator; bool m_shardIteratorHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; Aws::String m_streamARN; bool m_streamARNHasBeenSet = false; }; } // namespace Model } // namespace Kinesis } // namespace Aws