/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input for GetShardIterator
.See
* Also:
AWS
* API Reference
The name of the Amazon Kinesis data stream.
*/ inline const Aws::String& GetStreamName() const{ return m_streamName; } /** *The name of the Amazon Kinesis data stream.
*/ inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; } /** *The name of the Amazon Kinesis data stream.
*/ inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; } /** *The name of the Amazon Kinesis data stream.
*/ inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); } /** *The name of the Amazon Kinesis data stream.
*/ inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); } /** *The name of the Amazon Kinesis data stream.
*/ inline GetShardIteratorRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;} /** *The name of the Amazon Kinesis data stream.
*/ inline GetShardIteratorRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;} /** *The name of the Amazon Kinesis data stream.
*/ inline GetShardIteratorRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;} /** *The shard ID of the Kinesis Data Streams shard to get the iterator for.
*/ inline const Aws::String& GetShardId() const{ return m_shardId; } /** *The shard ID of the Kinesis Data Streams shard to get the iterator for.
*/ inline bool ShardIdHasBeenSet() const { return m_shardIdHasBeenSet; } /** *The shard ID of the Kinesis Data Streams shard to get the iterator for.
*/ inline void SetShardId(const Aws::String& value) { m_shardIdHasBeenSet = true; m_shardId = value; } /** *The shard ID of the Kinesis Data Streams shard to get the iterator for.
*/ inline void SetShardId(Aws::String&& value) { m_shardIdHasBeenSet = true; m_shardId = std::move(value); } /** *The shard ID of the Kinesis Data Streams shard to get the iterator for.
*/ inline void SetShardId(const char* value) { m_shardIdHasBeenSet = true; m_shardId.assign(value); } /** *The shard ID of the Kinesis Data Streams shard to get the iterator for.
*/ inline GetShardIteratorRequest& WithShardId(const Aws::String& value) { SetShardId(value); return *this;} /** *The shard ID of the Kinesis Data Streams shard to get the iterator for.
*/ inline GetShardIteratorRequest& WithShardId(Aws::String&& value) { SetShardId(std::move(value)); return *this;} /** *The shard ID of the Kinesis Data Streams shard to get the iterator for.
*/ inline GetShardIteratorRequest& WithShardId(const char* value) { SetShardId(value); return *this;} /** *Determines how the shard iterator is used to start reading data records from * the shard.
The following are the valid Amazon Kinesis shard iterator * types:
AT_SEQUENCE_NUMBER - Start reading from the position
* denoted by a specific sequence number, provided in the value
* StartingSequenceNumber
.
AFTER_SEQUENCE_NUMBER -
* Start reading right after the position denoted by a specific sequence number,
* provided in the value StartingSequenceNumber
.
AT_TIMESTAMP - Start reading from the position denoted by a specific time
* stamp, provided in the value Timestamp
.
TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the * system, which is the oldest data record in the shard.
LATEST - * Start reading just after the most recent record in the shard, so that you always * read the most recent data in the shard.
Determines how the shard iterator is used to start reading data records from * the shard.
The following are the valid Amazon Kinesis shard iterator * types:
AT_SEQUENCE_NUMBER - Start reading from the position
* denoted by a specific sequence number, provided in the value
* StartingSequenceNumber
.
AFTER_SEQUENCE_NUMBER -
* Start reading right after the position denoted by a specific sequence number,
* provided in the value StartingSequenceNumber
.
AT_TIMESTAMP - Start reading from the position denoted by a specific time
* stamp, provided in the value Timestamp
.
TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the * system, which is the oldest data record in the shard.
LATEST - * Start reading just after the most recent record in the shard, so that you always * read the most recent data in the shard.
Determines how the shard iterator is used to start reading data records from * the shard.
The following are the valid Amazon Kinesis shard iterator * types:
AT_SEQUENCE_NUMBER - Start reading from the position
* denoted by a specific sequence number, provided in the value
* StartingSequenceNumber
.
AFTER_SEQUENCE_NUMBER -
* Start reading right after the position denoted by a specific sequence number,
* provided in the value StartingSequenceNumber
.
AT_TIMESTAMP - Start reading from the position denoted by a specific time
* stamp, provided in the value Timestamp
.
TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the * system, which is the oldest data record in the shard.
LATEST - * Start reading just after the most recent record in the shard, so that you always * read the most recent data in the shard.
Determines how the shard iterator is used to start reading data records from * the shard.
The following are the valid Amazon Kinesis shard iterator * types:
AT_SEQUENCE_NUMBER - Start reading from the position
* denoted by a specific sequence number, provided in the value
* StartingSequenceNumber
.
AFTER_SEQUENCE_NUMBER -
* Start reading right after the position denoted by a specific sequence number,
* provided in the value StartingSequenceNumber
.
AT_TIMESTAMP - Start reading from the position denoted by a specific time
* stamp, provided in the value Timestamp
.
TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the * system, which is the oldest data record in the shard.
LATEST - * Start reading just after the most recent record in the shard, so that you always * read the most recent data in the shard.
Determines how the shard iterator is used to start reading data records from * the shard.
The following are the valid Amazon Kinesis shard iterator * types:
AT_SEQUENCE_NUMBER - Start reading from the position
* denoted by a specific sequence number, provided in the value
* StartingSequenceNumber
.
AFTER_SEQUENCE_NUMBER -
* Start reading right after the position denoted by a specific sequence number,
* provided in the value StartingSequenceNumber
.
AT_TIMESTAMP - Start reading from the position denoted by a specific time
* stamp, provided in the value Timestamp
.
TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the * system, which is the oldest data record in the shard.
LATEST - * Start reading just after the most recent record in the shard, so that you always * read the most recent data in the shard.
Determines how the shard iterator is used to start reading data records from * the shard.
The following are the valid Amazon Kinesis shard iterator * types:
AT_SEQUENCE_NUMBER - Start reading from the position
* denoted by a specific sequence number, provided in the value
* StartingSequenceNumber
.
AFTER_SEQUENCE_NUMBER -
* Start reading right after the position denoted by a specific sequence number,
* provided in the value StartingSequenceNumber
.
AT_TIMESTAMP - Start reading from the position denoted by a specific time
* stamp, provided in the value Timestamp
.
TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the * system, which is the oldest data record in the shard.
LATEST - * Start reading just after the most recent record in the shard, so that you always * read the most recent data in the shard.
The sequence number of the data record in the shard from which to start * reading. Used with shard iterator type AT_SEQUENCE_NUMBER and * AFTER_SEQUENCE_NUMBER.
*/ inline const Aws::String& GetStartingSequenceNumber() const{ return m_startingSequenceNumber; } /** *The sequence number of the data record in the shard from which to start * reading. Used with shard iterator type AT_SEQUENCE_NUMBER and * AFTER_SEQUENCE_NUMBER.
*/ inline bool StartingSequenceNumberHasBeenSet() const { return m_startingSequenceNumberHasBeenSet; } /** *The sequence number of the data record in the shard from which to start * reading. Used with shard iterator type AT_SEQUENCE_NUMBER and * AFTER_SEQUENCE_NUMBER.
*/ inline void SetStartingSequenceNumber(const Aws::String& value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber = value; } /** *The sequence number of the data record in the shard from which to start * reading. Used with shard iterator type AT_SEQUENCE_NUMBER and * AFTER_SEQUENCE_NUMBER.
*/ inline void SetStartingSequenceNumber(Aws::String&& value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber = std::move(value); } /** *The sequence number of the data record in the shard from which to start * reading. Used with shard iterator type AT_SEQUENCE_NUMBER and * AFTER_SEQUENCE_NUMBER.
*/ inline void SetStartingSequenceNumber(const char* value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber.assign(value); } /** *The sequence number of the data record in the shard from which to start * reading. Used with shard iterator type AT_SEQUENCE_NUMBER and * AFTER_SEQUENCE_NUMBER.
*/ inline GetShardIteratorRequest& WithStartingSequenceNumber(const Aws::String& value) { SetStartingSequenceNumber(value); return *this;} /** *The sequence number of the data record in the shard from which to start * reading. Used with shard iterator type AT_SEQUENCE_NUMBER and * AFTER_SEQUENCE_NUMBER.
*/ inline GetShardIteratorRequest& WithStartingSequenceNumber(Aws::String&& value) { SetStartingSequenceNumber(std::move(value)); return *this;} /** *The sequence number of the data record in the shard from which to start * reading. Used with shard iterator type AT_SEQUENCE_NUMBER and * AFTER_SEQUENCE_NUMBER.
*/ inline GetShardIteratorRequest& WithStartingSequenceNumber(const char* value) { SetStartingSequenceNumber(value); return *this;} /** *The time stamp of the data record from which to start reading. Used with
* shard iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date with
* precision in milliseconds. For example,
* 2016-04-04T19:58:46.480-00:00
or 1459799926.480
. If a
* record with this exact time stamp does not exist, the iterator returned is for
* the next (later) record. If the time stamp is older than the current trim
* horizon, the iterator returned is for the oldest untrimmed data record
* (TRIM_HORIZON).
The time stamp of the data record from which to start reading. Used with
* shard iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date with
* precision in milliseconds. For example,
* 2016-04-04T19:58:46.480-00:00
or 1459799926.480
. If a
* record with this exact time stamp does not exist, the iterator returned is for
* the next (later) record. If the time stamp is older than the current trim
* horizon, the iterator returned is for the oldest untrimmed data record
* (TRIM_HORIZON).
The time stamp of the data record from which to start reading. Used with
* shard iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date with
* precision in milliseconds. For example,
* 2016-04-04T19:58:46.480-00:00
or 1459799926.480
. If a
* record with this exact time stamp does not exist, the iterator returned is for
* the next (later) record. If the time stamp is older than the current trim
* horizon, the iterator returned is for the oldest untrimmed data record
* (TRIM_HORIZON).
The time stamp of the data record from which to start reading. Used with
* shard iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date with
* precision in milliseconds. For example,
* 2016-04-04T19:58:46.480-00:00
or 1459799926.480
. If a
* record with this exact time stamp does not exist, the iterator returned is for
* the next (later) record. If the time stamp is older than the current trim
* horizon, the iterator returned is for the oldest untrimmed data record
* (TRIM_HORIZON).
The time stamp of the data record from which to start reading. Used with
* shard iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date with
* precision in milliseconds. For example,
* 2016-04-04T19:58:46.480-00:00
or 1459799926.480
. If a
* record with this exact time stamp does not exist, the iterator returned is for
* the next (later) record. If the time stamp is older than the current trim
* horizon, the iterator returned is for the oldest untrimmed data record
* (TRIM_HORIZON).
The time stamp of the data record from which to start reading. Used with
* shard iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date with
* precision in milliseconds. For example,
* 2016-04-04T19:58:46.480-00:00
or 1459799926.480
. If a
* record with this exact time stamp does not exist, the iterator returned is for
* the next (later) record. If the time stamp is older than the current trim
* horizon, the iterator returned is for the oldest untrimmed data record
* (TRIM_HORIZON).