/** * 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 { class AWS_KINESIS_API DescribeStreamConsumerResult { public: DescribeStreamConsumerResult(); DescribeStreamConsumerResult(const Aws::AmazonWebServiceResult& result); DescribeStreamConsumerResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An object that represents the details of the consumer.

*/ inline const ConsumerDescription& GetConsumerDescription() const{ return m_consumerDescription; } /** *

An object that represents the details of the consumer.

*/ inline void SetConsumerDescription(const ConsumerDescription& value) { m_consumerDescription = value; } /** *

An object that represents the details of the consumer.

*/ inline void SetConsumerDescription(ConsumerDescription&& value) { m_consumerDescription = std::move(value); } /** *

An object that represents the details of the consumer.

*/ inline DescribeStreamConsumerResult& WithConsumerDescription(const ConsumerDescription& value) { SetConsumerDescription(value); return *this;} /** *

An object that represents the details of the consumer.

*/ inline DescribeStreamConsumerResult& WithConsumerDescription(ConsumerDescription&& value) { SetConsumerDescription(std::move(value)); return *this;} private: ConsumerDescription m_consumerDescription; }; } // namespace Model } // namespace Kinesis } // namespace Aws