/** * 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 DescribeStream.

See * Also:

AWS * API Reference

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

The current status of the stream, the stream Amazon Resource Name (ARN), an * array of shard objects that comprise the stream, and whether there are more * shards available.

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

The current status of the stream, the stream Amazon Resource Name (ARN), an * array of shard objects that comprise the stream, and whether there are more * shards available.

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

The current status of the stream, the stream Amazon Resource Name (ARN), an * array of shard objects that comprise the stream, and whether there are more * shards available.

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

The current status of the stream, the stream Amazon Resource Name (ARN), an * array of shard objects that comprise the stream, and whether there are more * shards available.

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

The current status of the stream, the stream Amazon Resource Name (ARN), an * array of shard objects that comprise the stream, and whether there are more * shards available.

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