/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTAnalytics { namespace Model { class DescribeChannelResult { public: AWS_IOTANALYTICS_API DescribeChannelResult(); AWS_IOTANALYTICS_API DescribeChannelResult(const Aws::AmazonWebServiceResult& result); AWS_IOTANALYTICS_API DescribeChannelResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An object that contains information about the channel.

*/ inline const Channel& GetChannel() const{ return m_channel; } /** *

An object that contains information about the channel.

*/ inline void SetChannel(const Channel& value) { m_channel = value; } /** *

An object that contains information about the channel.

*/ inline void SetChannel(Channel&& value) { m_channel = std::move(value); } /** *

An object that contains information about the channel.

*/ inline DescribeChannelResult& WithChannel(const Channel& value) { SetChannel(value); return *this;} /** *

An object that contains information about the channel.

*/ inline DescribeChannelResult& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;} /** *

Statistics about the channel. Included if the includeStatistics * parameter is set to true in the request.

*/ inline const ChannelStatistics& GetStatistics() const{ return m_statistics; } /** *

Statistics about the channel. Included if the includeStatistics * parameter is set to true in the request.

*/ inline void SetStatistics(const ChannelStatistics& value) { m_statistics = value; } /** *

Statistics about the channel. Included if the includeStatistics * parameter is set to true in the request.

*/ inline void SetStatistics(ChannelStatistics&& value) { m_statistics = std::move(value); } /** *

Statistics about the channel. Included if the includeStatistics * parameter is set to true in the request.

*/ inline DescribeChannelResult& WithStatistics(const ChannelStatistics& value) { SetStatistics(value); return *this;} /** *

Statistics about the channel. Included if the includeStatistics * parameter is set to true in the request.

*/ inline DescribeChannelResult& WithStatistics(ChannelStatistics&& value) { SetStatistics(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 DescribeChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Channel m_channel; ChannelStatistics m_statistics; Aws::String m_requestId; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws