AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteClusterResult.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 DeleteClusterResult();
42
43
45
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline void SetArn(const Aws::String& value) { m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arn.assign(value); }
53 inline DeleteClusterResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline DeleteClusterResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline DeleteClusterResult& WithArn(const char* value) { SetArn(value); return *this;}
57
59
60 inline const Aws::Vector<Aws::String>& GetChannelIds() const{ return m_channelIds; }
61 inline void SetChannelIds(const Aws::Vector<Aws::String>& value) { m_channelIds = value; }
62 inline void SetChannelIds(Aws::Vector<Aws::String>&& value) { m_channelIds = std::move(value); }
63 inline DeleteClusterResult& WithChannelIds(const Aws::Vector<Aws::String>& value) { SetChannelIds(value); return *this;}
64 inline DeleteClusterResult& WithChannelIds(Aws::Vector<Aws::String>&& value) { SetChannelIds(std::move(value)); return *this;}
65 inline DeleteClusterResult& AddChannelIds(const Aws::String& value) { m_channelIds.push_back(value); return *this; }
66 inline DeleteClusterResult& AddChannelIds(Aws::String&& value) { m_channelIds.push_back(std::move(value)); return *this; }
67 inline DeleteClusterResult& AddChannelIds(const char* value) { m_channelIds.push_back(value); return *this; }
69
71
74 inline const ClusterType& GetClusterType() const{ return m_clusterType; }
75 inline void SetClusterType(const ClusterType& value) { m_clusterType = value; }
76 inline void SetClusterType(ClusterType&& value) { m_clusterType = std::move(value); }
77 inline DeleteClusterResult& WithClusterType(const ClusterType& value) { SetClusterType(value); return *this;}
78 inline DeleteClusterResult& WithClusterType(ClusterType&& value) { SetClusterType(std::move(value)); return *this;}
80
82
86 inline const Aws::String& GetId() const{ return m_id; }
87 inline void SetId(const Aws::String& value) { m_id = value; }
88 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
89 inline void SetId(const char* value) { m_id.assign(value); }
90 inline DeleteClusterResult& WithId(const Aws::String& value) { SetId(value); return *this;}
91 inline DeleteClusterResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
92 inline DeleteClusterResult& WithId(const char* value) { SetId(value); return *this;}
94
96
101 inline const Aws::String& GetInstanceRoleArn() const{ return m_instanceRoleArn; }
102 inline void SetInstanceRoleArn(const Aws::String& value) { m_instanceRoleArn = value; }
103 inline void SetInstanceRoleArn(Aws::String&& value) { m_instanceRoleArn = std::move(value); }
104 inline void SetInstanceRoleArn(const char* value) { m_instanceRoleArn.assign(value); }
105 inline DeleteClusterResult& WithInstanceRoleArn(const Aws::String& value) { SetInstanceRoleArn(value); return *this;}
106 inline DeleteClusterResult& WithInstanceRoleArn(Aws::String&& value) { SetInstanceRoleArn(std::move(value)); return *this;}
107 inline DeleteClusterResult& WithInstanceRoleArn(const char* value) { SetInstanceRoleArn(value); return *this;}
109
111
114 inline const Aws::String& GetName() const{ return m_name; }
115 inline void SetName(const Aws::String& value) { m_name = value; }
116 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
117 inline void SetName(const char* value) { m_name.assign(value); }
118 inline DeleteClusterResult& WithName(const Aws::String& value) { SetName(value); return *this;}
119 inline DeleteClusterResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
120 inline DeleteClusterResult& WithName(const char* value) { SetName(value); return *this;}
122
124
128 inline const ClusterNetworkSettings& GetNetworkSettings() const{ return m_networkSettings; }
129 inline void SetNetworkSettings(const ClusterNetworkSettings& value) { m_networkSettings = value; }
130 inline void SetNetworkSettings(ClusterNetworkSettings&& value) { m_networkSettings = std::move(value); }
132 inline DeleteClusterResult& WithNetworkSettings(ClusterNetworkSettings&& value) { SetNetworkSettings(std::move(value)); return *this;}
134
136
139 inline const ClusterState& GetState() const{ return m_state; }
140 inline void SetState(const ClusterState& value) { m_state = value; }
141 inline void SetState(ClusterState&& value) { m_state = std::move(value); }
142 inline DeleteClusterResult& WithState(const ClusterState& value) { SetState(value); return *this;}
143 inline DeleteClusterResult& WithState(ClusterState&& value) { SetState(std::move(value)); return *this;}
145
147
148 inline const Aws::String& GetRequestId() const{ return m_requestId; }
149 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
150 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
151 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
152 inline DeleteClusterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
153 inline DeleteClusterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
154 inline DeleteClusterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
156 private:
157
158 Aws::String m_arn;
159
160 Aws::Vector<Aws::String> m_channelIds;
161
162 ClusterType m_clusterType;
163
164 Aws::String m_id;
165
166 Aws::String m_instanceRoleArn;
167
168 Aws::String m_name;
169
170 ClusterNetworkSettings m_networkSettings;
171
172 ClusterState m_state;
173
174 Aws::String m_requestId;
175 };
176
177} // namespace Model
178} // namespace MediaLive
179} // namespace Aws
void SetRequestId(const Aws::String &value)
DeleteClusterResult & WithChannelIds(const Aws::Vector< Aws::String > &value)
DeleteClusterResult & AddChannelIds(Aws::String &&value)
DeleteClusterResult & WithRequestId(const Aws::String &value)
DeleteClusterResult & WithClusterType(ClusterType &&value)
const Aws::Vector< Aws::String > & GetChannelIds() const
DeleteClusterResult & WithInstanceRoleArn(Aws::String &&value)
DeleteClusterResult & WithInstanceRoleArn(const Aws::String &value)
DeleteClusterResult & AddChannelIds(const char *value)
DeleteClusterResult & WithId(const Aws::String &value)
void SetNetworkSettings(const ClusterNetworkSettings &value)
const ClusterNetworkSettings & GetNetworkSettings() const
void SetChannelIds(const Aws::Vector< Aws::String > &value)
AWS_MEDIALIVE_API DeleteClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteClusterResult & WithNetworkSettings(const ClusterNetworkSettings &value)
void SetClusterType(const ClusterType &value)
DeleteClusterResult & WithRequestId(Aws::String &&value)
DeleteClusterResult & WithChannelIds(Aws::Vector< Aws::String > &&value)
DeleteClusterResult & WithArn(const Aws::String &value)
DeleteClusterResult & WithState(const ClusterState &value)
void SetInstanceRoleArn(const Aws::String &value)
DeleteClusterResult & WithName(const char *value)
DeleteClusterResult & WithInstanceRoleArn(const char *value)
DeleteClusterResult & WithArn(const char *value)
DeleteClusterResult & WithName(const Aws::String &value)
AWS_MEDIALIVE_API DeleteClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteClusterResult & WithName(Aws::String &&value)
DeleteClusterResult & AddChannelIds(const Aws::String &value)
void SetNetworkSettings(ClusterNetworkSettings &&value)
void SetChannelIds(Aws::Vector< Aws::String > &&value)
DeleteClusterResult & WithId(const char *value)
DeleteClusterResult & WithNetworkSettings(ClusterNetworkSettings &&value)
DeleteClusterResult & WithArn(Aws::String &&value)
DeleteClusterResult & WithState(ClusterState &&value)
DeleteClusterResult & WithId(Aws::String &&value)
DeleteClusterResult & WithRequestId(const char *value)
DeleteClusterResult & WithClusterType(const ClusterType &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