AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeChannelResult.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/model/Channel.h>
9#include <aws/iotanalytics/model/ChannelStatistics.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTAnalytics
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTANALYTICS_API DescribeChannelResult() = default;
35
36
38
41 inline const Channel& GetChannel() const { return m_channel; }
42 template<typename ChannelT = Channel>
43 void SetChannel(ChannelT&& value) { m_channelHasBeenSet = true; m_channel = std::forward<ChannelT>(value); }
44 template<typename ChannelT = Channel>
45 DescribeChannelResult& WithChannel(ChannelT&& value) { SetChannel(std::forward<ChannelT>(value)); return *this;}
47
49
53 inline const ChannelStatistics& GetStatistics() const { return m_statistics; }
54 template<typename StatisticsT = ChannelStatistics>
55 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet = true; m_statistics = std::forward<StatisticsT>(value); }
56 template<typename StatisticsT = ChannelStatistics>
57 DescribeChannelResult& WithStatistics(StatisticsT&& value) { SetStatistics(std::forward<StatisticsT>(value)); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const { return m_requestId; }
63 template<typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
65 template<typename RequestIdT = Aws::String>
66 DescribeChannelResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
68 private:
69
70 Channel m_channel;
71 bool m_channelHasBeenSet = false;
72
73 ChannelStatistics m_statistics;
74 bool m_statisticsHasBeenSet = false;
75
76 Aws::String m_requestId;
77 bool m_requestIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace IoTAnalytics
82} // namespace Aws
DescribeChannelResult & WithChannel(ChannelT &&value)
AWS_IOTANALYTICS_API DescribeChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTANALYTICS_API DescribeChannelResult()=default
DescribeChannelResult & WithRequestId(RequestIdT &&value)
DescribeChannelResult & WithStatistics(StatisticsT &&value)
AWS_IOTANALYTICS_API DescribeChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue