AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeNodeSdkResult.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 DescribeNodeSdkResult();
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 DescribeNodeSdkResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline DescribeNodeSdkResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline DescribeNodeSdkResult& 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 DescribeNodeSdkResult& AddChannelPlacementGroups(const Aws::String& value) { m_channelPlacementGroups.push_back(value); return *this; }
69 inline DescribeNodeSdkResult& AddChannelPlacementGroups(Aws::String&& value) { m_channelPlacementGroups.push_back(std::move(value)); return *this; }
70 inline DescribeNodeSdkResult& 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 DescribeNodeSdkResult& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
82 inline DescribeNodeSdkResult& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
83 inline DescribeNodeSdkResult& 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); }
94 inline DescribeNodeSdkResult& 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 DescribeNodeSdkResult& WithId(const Aws::String& value) { SetId(value); return *this;}
107 inline DescribeNodeSdkResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
108 inline DescribeNodeSdkResult& 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 DescribeNodeSdkResult& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
120 inline DescribeNodeSdkResult& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
121 inline DescribeNodeSdkResult& 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 DescribeNodeSdkResult& WithName(const Aws::String& value) { SetName(value); return *this;}
133 inline DescribeNodeSdkResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
134 inline DescribeNodeSdkResult& 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 DescribeNodeSdkResult& AddNodeInterfaceMappings(const NodeInterfaceMapping& value) { m_nodeInterfaceMappings.push_back(value); return *this; }
147 inline DescribeNodeSdkResult& 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 DescribeNodeSdkResult& WithRole(const NodeRole& value) { SetRole(value); return *this;}
160 inline DescribeNodeSdkResult& 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 DescribeNodeSdkResult& WithState(const NodeState& value) { SetState(value); return *this;}
171 inline DescribeNodeSdkResult& 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 DescribeNodeSdkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
181 inline DescribeNodeSdkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
182 inline DescribeNodeSdkResult& 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
DescribeNodeSdkResult & WithNodeInterfaceMappings(Aws::Vector< NodeInterfaceMapping > &&value)
void SetChannelPlacementGroups(const Aws::Vector< Aws::String > &value)
DescribeNodeSdkResult & WithClusterId(Aws::String &&value)
DescribeNodeSdkResult & WithInstanceArn(const Aws::String &value)
DescribeNodeSdkResult & WithNodeInterfaceMappings(const Aws::Vector< NodeInterfaceMapping > &value)
void SetNodeInterfaceMappings(Aws::Vector< NodeInterfaceMapping > &&value)
const NodeConnectionState & GetConnectionState() const
DescribeNodeSdkResult & WithState(NodeState &&value)
DescribeNodeSdkResult & AddChannelPlacementGroups(const Aws::String &value)
DescribeNodeSdkResult & WithState(const NodeState &value)
DescribeNodeSdkResult & WithArn(Aws::String &&value)
DescribeNodeSdkResult & WithChannelPlacementGroups(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetChannelPlacementGroups() const
DescribeNodeSdkResult & WithRole(const NodeRole &value)
DescribeNodeSdkResult & AddChannelPlacementGroups(const char *value)
DescribeNodeSdkResult & WithName(Aws::String &&value)
DescribeNodeSdkResult & WithArn(const Aws::String &value)
DescribeNodeSdkResult & WithId(const Aws::String &value)
DescribeNodeSdkResult & WithName(const Aws::String &value)
const Aws::Vector< NodeInterfaceMapping > & GetNodeInterfaceMappings() const
void SetChannelPlacementGroups(Aws::Vector< Aws::String > &&value)
void SetConnectionState(const NodeConnectionState &value)
DescribeNodeSdkResult & WithClusterId(const char *value)
DescribeNodeSdkResult & WithRequestId(const Aws::String &value)
DescribeNodeSdkResult & WithId(Aws::String &&value)
DescribeNodeSdkResult & WithClusterId(const Aws::String &value)
AWS_MEDIALIVE_API DescribeNodeSdkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNodeInterfaceMappings(const Aws::Vector< NodeInterfaceMapping > &value)
AWS_MEDIALIVE_API DescribeNodeSdkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeNodeSdkResult & WithName(const char *value)
DescribeNodeSdkResult & WithInstanceArn(Aws::String &&value)
DescribeNodeSdkResult & WithId(const char *value)
DescribeNodeSdkResult & WithRequestId(Aws::String &&value)
DescribeNodeSdkResult & WithConnectionState(NodeConnectionState &&value)
DescribeNodeSdkResult & WithInstanceArn(const char *value)
DescribeNodeSdkResult & WithConnectionState(const NodeConnectionState &value)
DescribeNodeSdkResult & AddNodeInterfaceMappings(const NodeInterfaceMapping &value)
DescribeNodeSdkResult & WithRequestId(const char *value)
DescribeNodeSdkResult & WithArn(const char *value)
DescribeNodeSdkResult & AddNodeInterfaceMappings(NodeInterfaceMapping &&value)
void SetConnectionState(NodeConnectionState &&value)
DescribeNodeSdkResult & WithRole(NodeRole &&value)
DescribeNodeSdkResult & WithChannelPlacementGroups(Aws::Vector< Aws::String > &&value)
DescribeNodeSdkResult & AddChannelPlacementGroups(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