/** * 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 DynamoDBStreams { namespace Model { /** *

Represents the output of a DescribeStream operation.

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

A complete description of the stream, including its creation date and time, * the DynamoDB table associated with the stream, the shard IDs within the stream, * and the beginning and ending sequence numbers of stream records within the * shards.

*/ inline const StreamDescription& GetStreamDescription() const{ return m_streamDescription; } /** *

A complete description of the stream, including its creation date and time, * the DynamoDB table associated with the stream, the shard IDs within the stream, * and the beginning and ending sequence numbers of stream records within the * shards.

*/ inline void SetStreamDescription(const StreamDescription& value) { m_streamDescription = value; } /** *

A complete description of the stream, including its creation date and time, * the DynamoDB table associated with the stream, the shard IDs within the stream, * and the beginning and ending sequence numbers of stream records within the * shards.

*/ inline void SetStreamDescription(StreamDescription&& value) { m_streamDescription = std::move(value); } /** *

A complete description of the stream, including its creation date and time, * the DynamoDB table associated with the stream, the shard IDs within the stream, * and the beginning and ending sequence numbers of stream records within the * shards.

*/ inline DescribeStreamResult& WithStreamDescription(const StreamDescription& value) { SetStreamDescription(value); return *this;} /** *

A complete description of the stream, including its creation date and time, * the DynamoDB table associated with the stream, the shard IDs within the stream, * and the beginning and ending sequence numbers of stream records within the * shards.

*/ inline DescribeStreamResult& WithStreamDescription(StreamDescription&& value) { SetStreamDescription(std::move(value)); return *this;} private: StreamDescription m_streamDescription; }; } // namespace Model } // namespace DynamoDBStreams } // namespace Aws