This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iotanalytics/include/aws/iotanalytics/model/DescribeChannelResult.h

102 lines
3.0 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/Channel.h>
#include <aws/iotanalytics/model/ChannelStatistics.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API DescribeChannelResult
{
public:
DescribeChannelResult();
DescribeChannelResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeChannelResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An object that contains information about the channel.</p>
*/
inline const Channel& GetChannel() const{ return m_channel; }
/**
* <p>An object that contains information about the channel.</p>
*/
inline void SetChannel(const Channel& value) { m_channel = value; }
/**
* <p>An object that contains information about the channel.</p>
*/
inline void SetChannel(Channel&& value) { m_channel = std::move(value); }
/**
* <p>An object that contains information about the channel.</p>
*/
inline DescribeChannelResult& WithChannel(const Channel& value) { SetChannel(value); return *this;}
/**
* <p>An object that contains information about the channel.</p>
*/
inline DescribeChannelResult& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;}
/**
* <p>Statistics about the channel. Included if the 'includeStatistics' parameter
* is set to true in the request.</p>
*/
inline const ChannelStatistics& GetStatistics() const{ return m_statistics; }
/**
* <p>Statistics about the channel. Included if the 'includeStatistics' parameter
* is set to true in the request.</p>
*/
inline void SetStatistics(const ChannelStatistics& value) { m_statistics = value; }
/**
* <p>Statistics about the channel. Included if the 'includeStatistics' parameter
* is set to true in the request.</p>
*/
inline void SetStatistics(ChannelStatistics&& value) { m_statistics = std::move(value); }
/**
* <p>Statistics about the channel. Included if the 'includeStatistics' parameter
* is set to true in the request.</p>
*/
inline DescribeChannelResult& WithStatistics(const ChannelStatistics& value) { SetStatistics(value); return *this;}
/**
* <p>Statistics about the channel. Included if the 'includeStatistics' parameter
* is set to true in the request.</p>
*/
inline DescribeChannelResult& WithStatistics(ChannelStatistics&& value) { SetStatistics(std::move(value)); return *this;}
private:
Channel m_channel;
ChannelStatistics m_statistics;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws