AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateChannelResult.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotanalytics/model/RetentionPeriod.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTAnalytics
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTANALYTICS_API CreateChannelResult();
34
35
37
40 inline const Aws::String& GetChannelName() const{ return m_channelName; }
41 inline void SetChannelName(const Aws::String& value) { m_channelName = value; }
42 inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); }
43 inline void SetChannelName(const char* value) { m_channelName.assign(value); }
44 inline CreateChannelResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
45 inline CreateChannelResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
46 inline CreateChannelResult& WithChannelName(const char* value) { SetChannelName(value); return *this;}
48
50
53 inline const Aws::String& GetChannelArn() const{ return m_channelArn; }
54 inline void SetChannelArn(const Aws::String& value) { m_channelArn = value; }
55 inline void SetChannelArn(Aws::String&& value) { m_channelArn = std::move(value); }
56 inline void SetChannelArn(const char* value) { m_channelArn.assign(value); }
57 inline CreateChannelResult& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;}
58 inline CreateChannelResult& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;}
59 inline CreateChannelResult& WithChannelArn(const char* value) { SetChannelArn(value); return *this;}
61
63
66 inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
67 inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriod = value; }
68 inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriod = std::move(value); }
69 inline CreateChannelResult& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
70 inline CreateChannelResult& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline CreateChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline CreateChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline CreateChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_channelName;
86
87 Aws::String m_channelArn;
88
89 RetentionPeriod m_retentionPeriod;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace IoTAnalytics
96} // namespace Aws
CreateChannelResult & WithRetentionPeriod(RetentionPeriod &&value)
CreateChannelResult & WithRequestId(const Aws::String &value)
CreateChannelResult & WithChannelArn(const Aws::String &value)
void SetRetentionPeriod(const RetentionPeriod &value)
CreateChannelResult & WithChannelName(const Aws::String &value)
CreateChannelResult & WithChannelArn(const char *value)
AWS_IOTANALYTICS_API CreateChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const RetentionPeriod & GetRetentionPeriod() const
AWS_IOTANALYTICS_API CreateChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelResult & WithChannelArn(Aws::String &&value)
CreateChannelResult & WithRetentionPeriod(const RetentionPeriod &value)
CreateChannelResult & WithChannelName(Aws::String &&value)
CreateChannelResult & WithRequestId(const char *value)
CreateChannelResult & WithRequestId(Aws::String &&value)
CreateChannelResult & WithChannelName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue