/** * 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 Kinesis { namespace Model { class DescribeStreamConsumerResult { public: AWS_KINESIS_API DescribeStreamConsumerResult(); AWS_KINESIS_API DescribeStreamConsumerResult(const Aws::AmazonWebServiceResult& result); AWS_KINESIS_API 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;} 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 DescribeStreamConsumerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeStreamConsumerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeStreamConsumerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ConsumerDescription m_consumerDescription; Aws::String m_requestId; }; } // namespace Model } // namespace Kinesis } // namespace Aws