AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Channel& GetChannel() const{ return m_channel; }
42 inline void SetChannel(const Channel& value) { m_channel = value; }
43 inline void SetChannel(Channel&& value) { m_channel = std::move(value); }
44 inline DescribeChannelResult& WithChannel(const Channel& value) { SetChannel(value); return *this;}
45 inline DescribeChannelResult& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;}
47
49
53 inline const ChannelStatistics& GetStatistics() const{ return m_statistics; }
54 inline void SetStatistics(const ChannelStatistics& value) { m_statistics = value; }
55 inline void SetStatistics(ChannelStatistics&& value) { m_statistics = std::move(value); }
56 inline DescribeChannelResult& WithStatistics(const ChannelStatistics& value) { SetStatistics(value); return *this;}
57 inline DescribeChannelResult& WithStatistics(ChannelStatistics&& value) { SetStatistics(std::move(value)); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const{ return m_requestId; }
63 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
64 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
65 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
66 inline DescribeChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline DescribeChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline DescribeChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
70 private:
71
72 Channel m_channel;
73
74 ChannelStatistics m_statistics;
75
76 Aws::String m_requestId;
77 };
78
79} // namespace Model
80} // namespace IoTAnalytics
81} // namespace Aws
void SetStatistics(const ChannelStatistics &value)
AWS_IOTANALYTICS_API DescribeChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeChannelResult & WithStatistics(const ChannelStatistics &value)
DescribeChannelResult & WithChannel(const Channel &value)
AWS_IOTANALYTICS_API DescribeChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeChannelResult & WithRequestId(const char *value)
DescribeChannelResult & WithChannel(Channel &&value)
DescribeChannelResult & WithRequestId(Aws::String &&value)
DescribeChannelResult & WithRequestId(const Aws::String &value)
DescribeChannelResult & WithStatistics(ChannelStatistics &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue