/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Kinesis { namespace Model { /** *

Represents the output for GetShardIterator.

See * Also:

AWS * API Reference

*/ class AWS_KINESIS_API GetShardIteratorResult { public: GetShardIteratorResult(); GetShardIteratorResult(const Aws::AmazonWebServiceResult& result); GetShardIteratorResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The position in the shard from which to start reading data records * sequentially. A shard iterator specifies this position using the sequence number * of a data record in a shard.

*/ inline const Aws::String& GetShardIterator() const{ return m_shardIterator; } /** *

The position in the shard from which to start reading data records * sequentially. A shard iterator specifies this position using the sequence number * of a data record in a shard.

*/ inline void SetShardIterator(const Aws::String& value) { m_shardIterator = value; } /** *

The position in the shard from which to start reading data records * sequentially. A shard iterator specifies this position using the sequence number * of a data 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 data records * sequentially. A shard iterator specifies this position using the sequence number * of a data record in a shard.

*/ inline void SetShardIterator(const char* value) { m_shardIterator.assign(value); } /** *

The position in the shard from which to start reading data records * sequentially. A shard iterator specifies this position using the sequence number * of a data 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 data records * sequentially. A shard iterator specifies this position using the sequence number * of a data 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 data records * sequentially. A shard iterator specifies this position using the sequence number * of a data record in a shard.

*/ inline GetShardIteratorResult& WithShardIterator(const char* value) { SetShardIterator(value); return *this;} private: Aws::String m_shardIterator; }; } // namespace Model } // namespace Kinesis } // namespace Aws