AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateClusterSdkResult.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/medialive/model/ClusterType.h>
11#include <aws/medialive/model/ClusterNetworkSettings.h>
12#include <aws/medialive/model/ClusterState.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace MediaLive
28{
29namespace Model
30{
37 {
38 public:
39 AWS_MEDIALIVE_API UpdateClusterSdkResult();
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline void SetArn(const Aws::String& value) { m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arn.assign(value); }
52 inline UpdateClusterSdkResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline UpdateClusterSdkResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline UpdateClusterSdkResult& WithArn(const char* value) { SetArn(value); return *this;}
56
58
64 inline const Aws::Vector<Aws::String>& GetChannelIds() const{ return m_channelIds; }
65 inline void SetChannelIds(const Aws::Vector<Aws::String>& value) { m_channelIds = value; }
66 inline void SetChannelIds(Aws::Vector<Aws::String>&& value) { m_channelIds = std::move(value); }
67 inline UpdateClusterSdkResult& WithChannelIds(const Aws::Vector<Aws::String>& value) { SetChannelIds(value); return *this;}
68 inline UpdateClusterSdkResult& WithChannelIds(Aws::Vector<Aws::String>&& value) { SetChannelIds(std::move(value)); return *this;}
69 inline UpdateClusterSdkResult& AddChannelIds(const Aws::String& value) { m_channelIds.push_back(value); return *this; }
70 inline UpdateClusterSdkResult& AddChannelIds(Aws::String&& value) { m_channelIds.push_back(std::move(value)); return *this; }
71 inline UpdateClusterSdkResult& AddChannelIds(const char* value) { m_channelIds.push_back(value); return *this; }
73
75
78 inline const ClusterType& GetClusterType() const{ return m_clusterType; }
79 inline void SetClusterType(const ClusterType& value) { m_clusterType = value; }
80 inline void SetClusterType(ClusterType&& value) { m_clusterType = std::move(value); }
81 inline UpdateClusterSdkResult& WithClusterType(const ClusterType& value) { SetClusterType(value); return *this;}
82 inline UpdateClusterSdkResult& WithClusterType(ClusterType&& value) { SetClusterType(std::move(value)); return *this;}
84
86
89 inline const Aws::String& GetId() const{ return m_id; }
90 inline void SetId(const Aws::String& value) { m_id = value; }
91 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
92 inline void SetId(const char* value) { m_id.assign(value); }
93 inline UpdateClusterSdkResult& WithId(const Aws::String& value) { SetId(value); return *this;}
94 inline UpdateClusterSdkResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
95 inline UpdateClusterSdkResult& WithId(const char* value) { SetId(value); return *this;}
97
99
102 inline const Aws::String& GetName() const{ return m_name; }
103 inline void SetName(const Aws::String& value) { m_name = value; }
104 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
105 inline void SetName(const char* value) { m_name.assign(value); }
106 inline UpdateClusterSdkResult& WithName(const Aws::String& value) { SetName(value); return *this;}
107 inline UpdateClusterSdkResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 inline UpdateClusterSdkResult& WithName(const char* value) { SetName(value); return *this;}
110
112
116 inline const ClusterNetworkSettings& GetNetworkSettings() const{ return m_networkSettings; }
117 inline void SetNetworkSettings(const ClusterNetworkSettings& value) { m_networkSettings = value; }
118 inline void SetNetworkSettings(ClusterNetworkSettings&& value) { m_networkSettings = std::move(value); }
120 inline UpdateClusterSdkResult& WithNetworkSettings(ClusterNetworkSettings&& value) { SetNetworkSettings(std::move(value)); return *this;}
122
124
127 inline const ClusterState& GetState() const{ return m_state; }
128 inline void SetState(const ClusterState& value) { m_state = value; }
129 inline void SetState(ClusterState&& value) { m_state = std::move(value); }
130 inline UpdateClusterSdkResult& WithState(const ClusterState& value) { SetState(value); return *this;}
131 inline UpdateClusterSdkResult& WithState(ClusterState&& value) { SetState(std::move(value)); return *this;}
133
135
136 inline const Aws::String& GetRequestId() const{ return m_requestId; }
137 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
138 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
139 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
140 inline UpdateClusterSdkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
141 inline UpdateClusterSdkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
142 inline UpdateClusterSdkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
144 private:
145
146 Aws::String m_arn;
147
148 Aws::Vector<Aws::String> m_channelIds;
149
150 ClusterType m_clusterType;
151
152 Aws::String m_id;
153
154 Aws::String m_name;
155
156 ClusterNetworkSettings m_networkSettings;
157
158 ClusterState m_state;
159
160 Aws::String m_requestId;
161 };
162
163} // namespace Model
164} // namespace MediaLive
165} // namespace Aws
UpdateClusterSdkResult & WithClusterType(const ClusterType &value)
UpdateClusterSdkResult & WithName(const char *value)
UpdateClusterSdkResult & WithId(Aws::String &&value)
UpdateClusterSdkResult & WithState(ClusterState &&value)
UpdateClusterSdkResult & WithClusterType(ClusterType &&value)
UpdateClusterSdkResult & AddChannelIds(Aws::String &&value)
UpdateClusterSdkResult & WithName(Aws::String &&value)
void SetNetworkSettings(ClusterNetworkSettings &&value)
UpdateClusterSdkResult & WithRequestId(const char *value)
UpdateClusterSdkResult & WithChannelIds(const Aws::Vector< Aws::String > &value)
UpdateClusterSdkResult & WithState(const ClusterState &value)
const ClusterNetworkSettings & GetNetworkSettings() const
AWS_MEDIALIVE_API UpdateClusterSdkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateClusterSdkResult & WithNetworkSettings(ClusterNetworkSettings &&value)
AWS_MEDIALIVE_API UpdateClusterSdkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateClusterSdkResult & WithArn(Aws::String &&value)
void SetNetworkSettings(const ClusterNetworkSettings &value)
UpdateClusterSdkResult & WithRequestId(const Aws::String &value)
UpdateClusterSdkResult & WithArn(const char *value)
UpdateClusterSdkResult & WithNetworkSettings(const ClusterNetworkSettings &value)
const Aws::Vector< Aws::String > & GetChannelIds() const
UpdateClusterSdkResult & WithId(const char *value)
UpdateClusterSdkResult & WithArn(const Aws::String &value)
UpdateClusterSdkResult & WithRequestId(Aws::String &&value)
UpdateClusterSdkResult & WithChannelIds(Aws::Vector< Aws::String > &&value)
void SetChannelIds(const Aws::Vector< Aws::String > &value)
UpdateClusterSdkResult & WithName(const Aws::String &value)
UpdateClusterSdkResult & AddChannelIds(const char *value)
void SetChannelIds(Aws::Vector< Aws::String > &&value)
UpdateClusterSdkResult & WithId(const Aws::String &value)
UpdateClusterSdkResult & AddChannelIds(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue