/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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.

See Also:

AWS * API Reference

*/ class DescribeStreamResult { public: AWS_DYNAMODBSTREAMS_API DescribeStreamResult(); AWS_DYNAMODBSTREAMS_API DescribeStreamResult(const Aws::AmazonWebServiceResult& result); AWS_DYNAMODBSTREAMS_API 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;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeStreamResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeStreamResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeStreamResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: StreamDescription m_streamDescription; Aws::String m_requestId; }; } // namespace Model } // namespace DynamoDBStreams } // namespace Aws