AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteNodeResult.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/NodeConnectionState.h>
11#include <aws/medialive/model/NodeRole.h>
12#include <aws/medialive/model/NodeState.h>
13#include <aws/medialive/model/NodeInterfaceMapping.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace MediaLive
29{
30namespace Model
31{
38 {
39 public:
40 AWS_MEDIALIVE_API DeleteNodeResult();
43
44
46
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 DeleteNodeResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline DeleteNodeResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline DeleteNodeResult& WithArn(const char* value) { SetArn(value); return *this;}
57
59
63 inline const Aws::Vector<Aws::String>& GetChannelPlacementGroups() const{ return m_channelPlacementGroups; }
64 inline void SetChannelPlacementGroups(const Aws::Vector<Aws::String>& value) { m_channelPlacementGroups = value; }
65 inline void SetChannelPlacementGroups(Aws::Vector<Aws::String>&& value) { m_channelPlacementGroups = std::move(value); }
68 inline DeleteNodeResult& AddChannelPlacementGroups(const Aws::String& value) { m_channelPlacementGroups.push_back(value); return *this; }
69 inline DeleteNodeResult& AddChannelPlacementGroups(Aws::String&& value) { m_channelPlacementGroups.push_back(std::move(value)); return *this; }
70 inline DeleteNodeResult& AddChannelPlacementGroups(const char* value) { m_channelPlacementGroups.push_back(value); return *this; }
72
74
77 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
78 inline void SetClusterId(const Aws::String& value) { m_clusterId = value; }
79 inline void SetClusterId(Aws::String&& value) { m_clusterId = std::move(value); }
80 inline void SetClusterId(const char* value) { m_clusterId.assign(value); }
81 inline DeleteNodeResult& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
82 inline DeleteNodeResult& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
83 inline DeleteNodeResult& WithClusterId(const char* value) { SetClusterId(value); return *this;}
85
87
90 inline const NodeConnectionState& GetConnectionState() const{ return m_connectionState; }
91 inline void SetConnectionState(const NodeConnectionState& value) { m_connectionState = value; }
92 inline void SetConnectionState(NodeConnectionState&& value) { m_connectionState = std::move(value); }
93 inline DeleteNodeResult& WithConnectionState(const NodeConnectionState& value) { SetConnectionState(value); return *this;}
94 inline DeleteNodeResult& WithConnectionState(NodeConnectionState&& value) { SetConnectionState(std::move(value)); return *this;}
96
98
102 inline const Aws::String& GetId() const{ return m_id; }
103 inline void SetId(const Aws::String& value) { m_id = value; }
104 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
105 inline void SetId(const char* value) { m_id.assign(value); }
106 inline DeleteNodeResult& WithId(const Aws::String& value) { SetId(value); return *this;}
107 inline DeleteNodeResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
108 inline DeleteNodeResult& WithId(const char* value) { SetId(value); return *this;}
110
112
115 inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
116 inline void SetInstanceArn(const Aws::String& value) { m_instanceArn = value; }
117 inline void SetInstanceArn(Aws::String&& value) { m_instanceArn = std::move(value); }
118 inline void SetInstanceArn(const char* value) { m_instanceArn.assign(value); }
119 inline DeleteNodeResult& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
120 inline DeleteNodeResult& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
121 inline DeleteNodeResult& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
123
125
128 inline const Aws::String& GetName() const{ return m_name; }
129 inline void SetName(const Aws::String& value) { m_name = value; }
130 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
131 inline void SetName(const char* value) { m_name.assign(value); }
132 inline DeleteNodeResult& WithName(const Aws::String& value) { SetName(value); return *this;}
133 inline DeleteNodeResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
134 inline DeleteNodeResult& WithName(const char* value) { SetName(value); return *this;}
136
138
141 inline const Aws::Vector<NodeInterfaceMapping>& GetNodeInterfaceMappings() const{ return m_nodeInterfaceMappings; }
142 inline void SetNodeInterfaceMappings(const Aws::Vector<NodeInterfaceMapping>& value) { m_nodeInterfaceMappings = value; }
143 inline void SetNodeInterfaceMappings(Aws::Vector<NodeInterfaceMapping>&& value) { m_nodeInterfaceMappings = std::move(value); }
146 inline DeleteNodeResult& AddNodeInterfaceMappings(const NodeInterfaceMapping& value) { m_nodeInterfaceMappings.push_back(value); return *this; }
147 inline DeleteNodeResult& AddNodeInterfaceMappings(NodeInterfaceMapping&& value) { m_nodeInterfaceMappings.push_back(std::move(value)); return *this; }
149
151
156 inline const NodeRole& GetRole() const{ return m_role; }
157 inline void SetRole(const NodeRole& value) { m_role = value; }
158 inline void SetRole(NodeRole&& value) { m_role = std::move(value); }
159 inline DeleteNodeResult& WithRole(const NodeRole& value) { SetRole(value); return *this;}
160 inline DeleteNodeResult& WithRole(NodeRole&& value) { SetRole(std::move(value)); return *this;}
162
164
167 inline const NodeState& GetState() const{ return m_state; }
168 inline void SetState(const NodeState& value) { m_state = value; }
169 inline void SetState(NodeState&& value) { m_state = std::move(value); }
170 inline DeleteNodeResult& WithState(const NodeState& value) { SetState(value); return *this;}
171 inline DeleteNodeResult& WithState(NodeState&& value) { SetState(std::move(value)); return *this;}
173
175
176 inline const Aws::String& GetRequestId() const{ return m_requestId; }
177 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
178 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
179 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
180 inline DeleteNodeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
181 inline DeleteNodeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
182 inline DeleteNodeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
184 private:
185
186 Aws::String m_arn;
187
188 Aws::Vector<Aws::String> m_channelPlacementGroups;
189
190 Aws::String m_clusterId;
191
192 NodeConnectionState m_connectionState;
193
194 Aws::String m_id;
195
196 Aws::String m_instanceArn;
197
198 Aws::String m_name;
199
200 Aws::Vector<NodeInterfaceMapping> m_nodeInterfaceMappings;
201
202 NodeRole m_role;
203
204 NodeState m_state;
205
206 Aws::String m_requestId;
207 };
208
209} // namespace Model
210} // namespace MediaLive
211} // namespace Aws
DeleteNodeResult & WithRequestId(const char *value)
const Aws::String & GetClusterId() const
DeleteNodeResult & WithConnectionState(const NodeConnectionState &value)
DeleteNodeResult & AddNodeInterfaceMappings(NodeInterfaceMapping &&value)
AWS_MEDIALIVE_API DeleteNodeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetName(const Aws::String &value)
DeleteNodeResult & WithId(Aws::String &&value)
DeleteNodeResult & WithName(Aws::String &&value)
void SetClusterId(const Aws::String &value)
DeleteNodeResult & WithChannelPlacementGroups(Aws::Vector< Aws::String > &&value)
void SetConnectionState(NodeConnectionState &&value)
const Aws::String & GetRequestId() const
void SetId(const Aws::String &value)
const NodeConnectionState & GetConnectionState() const
DeleteNodeResult & WithArn(const char *value)
DeleteNodeResult & WithClusterId(const Aws::String &value)
DeleteNodeResult & WithName(const Aws::String &value)
DeleteNodeResult & AddChannelPlacementGroups(const char *value)
DeleteNodeResult & WithInstanceArn(const char *value)
DeleteNodeResult & WithClusterId(Aws::String &&value)
DeleteNodeResult & WithId(const Aws::String &value)
void SetArn(const Aws::String &value)
DeleteNodeResult & WithName(const char *value)
DeleteNodeResult & WithState(NodeState &&value)
DeleteNodeResult & WithChannelPlacementGroups(const Aws::Vector< Aws::String > &value)
AWS_MEDIALIVE_API DeleteNodeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteNodeResult & WithState(const NodeState &value)
const Aws::Vector< Aws::String > & GetChannelPlacementGroups() const
void SetChannelPlacementGroups(Aws::Vector< Aws::String > &&value)
DeleteNodeResult & AddNodeInterfaceMappings(const NodeInterfaceMapping &value)
const Aws::Vector< NodeInterfaceMapping > & GetNodeInterfaceMappings() const
const Aws::String & GetInstanceArn() const
DeleteNodeResult & WithRequestId(const Aws::String &value)
DeleteNodeResult & WithRequestId(Aws::String &&value)
DeleteNodeResult & WithInstanceArn(const Aws::String &value)
DeleteNodeResult & WithNodeInterfaceMappings(const Aws::Vector< NodeInterfaceMapping > &value)
void SetNodeInterfaceMappings(Aws::Vector< NodeInterfaceMapping > &&value)
void SetRequestId(const Aws::String &value)
DeleteNodeResult & WithId(const char *value)
DeleteNodeResult & AddChannelPlacementGroups(Aws::String &&value)
DeleteNodeResult & WithArn(Aws::String &&value)
void SetNodeInterfaceMappings(const Aws::Vector< NodeInterfaceMapping > &value)
DeleteNodeResult & WithNodeInterfaceMappings(Aws::Vector< NodeInterfaceMapping > &&value)
void SetChannelPlacementGroups(const Aws::Vector< Aws::String > &value)
DeleteNodeResult & WithClusterId(const char *value)
void SetState(const NodeState &value)
DeleteNodeResult & AddChannelPlacementGroups(const Aws::String &value)
DeleteNodeResult & WithRole(const NodeRole &value)
DeleteNodeResult & WithInstanceArn(Aws::String &&value)
DeleteNodeResult & WithArn(const Aws::String &value)
void SetConnectionState(const NodeConnectionState &value)
DeleteNodeResult & WithRole(NodeRole &&value)
DeleteNodeResult & WithConnectionState(NodeConnectionState &&value)
void SetInstanceArn(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