AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeNodeSummary.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{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaLive
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_MEDIALIVE_API DescribeNodeSummary();
40 AWS_MEDIALIVE_API DescribeNodeSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline DescribeNodeSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline DescribeNodeSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline DescribeNodeSummary& WithArn(const char* value) { SetArn(value); return *this;}
58
60
64 inline const Aws::Vector<Aws::String>& GetChannelPlacementGroups() const{ return m_channelPlacementGroups; }
65 inline bool ChannelPlacementGroupsHasBeenSet() const { return m_channelPlacementGroupsHasBeenSet; }
66 inline void SetChannelPlacementGroups(const Aws::Vector<Aws::String>& value) { m_channelPlacementGroupsHasBeenSet = true; m_channelPlacementGroups = value; }
67 inline void SetChannelPlacementGroups(Aws::Vector<Aws::String>&& value) { m_channelPlacementGroupsHasBeenSet = true; m_channelPlacementGroups = std::move(value); }
70 inline DescribeNodeSummary& AddChannelPlacementGroups(const Aws::String& value) { m_channelPlacementGroupsHasBeenSet = true; m_channelPlacementGroups.push_back(value); return *this; }
71 inline DescribeNodeSummary& AddChannelPlacementGroups(Aws::String&& value) { m_channelPlacementGroupsHasBeenSet = true; m_channelPlacementGroups.push_back(std::move(value)); return *this; }
72 inline DescribeNodeSummary& AddChannelPlacementGroups(const char* value) { m_channelPlacementGroupsHasBeenSet = true; m_channelPlacementGroups.push_back(value); return *this; }
74
76
79 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
80 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
81 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
82 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
83 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
84 inline DescribeNodeSummary& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
85 inline DescribeNodeSummary& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
86 inline DescribeNodeSummary& WithClusterId(const char* value) { SetClusterId(value); return *this;}
88
90
93 inline const NodeConnectionState& GetConnectionState() const{ return m_connectionState; }
94 inline bool ConnectionStateHasBeenSet() const { return m_connectionStateHasBeenSet; }
95 inline void SetConnectionState(const NodeConnectionState& value) { m_connectionStateHasBeenSet = true; m_connectionState = value; }
96 inline void SetConnectionState(NodeConnectionState&& value) { m_connectionStateHasBeenSet = true; m_connectionState = std::move(value); }
98 inline DescribeNodeSummary& WithConnectionState(NodeConnectionState&& value) { SetConnectionState(std::move(value)); return *this;}
100
102
106 inline const Aws::String& GetId() const{ return m_id; }
107 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
108 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
109 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
110 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
111 inline DescribeNodeSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
112 inline DescribeNodeSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
113 inline DescribeNodeSummary& WithId(const char* value) { SetId(value); return *this;}
115
117
120 inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
121 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
122 inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
123 inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
124 inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
125 inline DescribeNodeSummary& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
126 inline DescribeNodeSummary& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
127 inline DescribeNodeSummary& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
129
131
135 inline const Aws::String& GetManagedInstanceId() const{ return m_managedInstanceId; }
136 inline bool ManagedInstanceIdHasBeenSet() const { return m_managedInstanceIdHasBeenSet; }
137 inline void SetManagedInstanceId(const Aws::String& value) { m_managedInstanceIdHasBeenSet = true; m_managedInstanceId = value; }
138 inline void SetManagedInstanceId(Aws::String&& value) { m_managedInstanceIdHasBeenSet = true; m_managedInstanceId = std::move(value); }
139 inline void SetManagedInstanceId(const char* value) { m_managedInstanceIdHasBeenSet = true; m_managedInstanceId.assign(value); }
140 inline DescribeNodeSummary& WithManagedInstanceId(const Aws::String& value) { SetManagedInstanceId(value); return *this;}
141 inline DescribeNodeSummary& WithManagedInstanceId(Aws::String&& value) { SetManagedInstanceId(std::move(value)); return *this;}
142 inline DescribeNodeSummary& WithManagedInstanceId(const char* value) { SetManagedInstanceId(value); return *this;}
144
146
149 inline const Aws::String& GetName() const{ return m_name; }
150 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
151 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
152 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
153 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
154 inline DescribeNodeSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
155 inline DescribeNodeSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
156 inline DescribeNodeSummary& WithName(const char* value) { SetName(value); return *this;}
158
160
163 inline const Aws::Vector<NodeInterfaceMapping>& GetNodeInterfaceMappings() const{ return m_nodeInterfaceMappings; }
164 inline bool NodeInterfaceMappingsHasBeenSet() const { return m_nodeInterfaceMappingsHasBeenSet; }
165 inline void SetNodeInterfaceMappings(const Aws::Vector<NodeInterfaceMapping>& value) { m_nodeInterfaceMappingsHasBeenSet = true; m_nodeInterfaceMappings = value; }
166 inline void SetNodeInterfaceMappings(Aws::Vector<NodeInterfaceMapping>&& value) { m_nodeInterfaceMappingsHasBeenSet = true; m_nodeInterfaceMappings = std::move(value); }
169 inline DescribeNodeSummary& AddNodeInterfaceMappings(const NodeInterfaceMapping& value) { m_nodeInterfaceMappingsHasBeenSet = true; m_nodeInterfaceMappings.push_back(value); return *this; }
170 inline DescribeNodeSummary& AddNodeInterfaceMappings(NodeInterfaceMapping&& value) { m_nodeInterfaceMappingsHasBeenSet = true; m_nodeInterfaceMappings.push_back(std::move(value)); return *this; }
172
174
179 inline const NodeRole& GetRole() const{ return m_role; }
180 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
181 inline void SetRole(const NodeRole& value) { m_roleHasBeenSet = true; m_role = value; }
182 inline void SetRole(NodeRole&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
183 inline DescribeNodeSummary& WithRole(const NodeRole& value) { SetRole(value); return *this;}
184 inline DescribeNodeSummary& WithRole(NodeRole&& value) { SetRole(std::move(value)); return *this;}
186
188
191 inline const NodeState& GetState() const{ return m_state; }
192 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
193 inline void SetState(const NodeState& value) { m_stateHasBeenSet = true; m_state = value; }
194 inline void SetState(NodeState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
195 inline DescribeNodeSummary& WithState(const NodeState& value) { SetState(value); return *this;}
196 inline DescribeNodeSummary& WithState(NodeState&& value) { SetState(std::move(value)); return *this;}
198 private:
199
200 Aws::String m_arn;
201 bool m_arnHasBeenSet = false;
202
203 Aws::Vector<Aws::String> m_channelPlacementGroups;
204 bool m_channelPlacementGroupsHasBeenSet = false;
205
206 Aws::String m_clusterId;
207 bool m_clusterIdHasBeenSet = false;
208
209 NodeConnectionState m_connectionState;
210 bool m_connectionStateHasBeenSet = false;
211
212 Aws::String m_id;
213 bool m_idHasBeenSet = false;
214
215 Aws::String m_instanceArn;
216 bool m_instanceArnHasBeenSet = false;
217
218 Aws::String m_managedInstanceId;
219 bool m_managedInstanceIdHasBeenSet = false;
220
221 Aws::String m_name;
222 bool m_nameHasBeenSet = false;
223
224 Aws::Vector<NodeInterfaceMapping> m_nodeInterfaceMappings;
225 bool m_nodeInterfaceMappingsHasBeenSet = false;
226
227 NodeRole m_role;
228 bool m_roleHasBeenSet = false;
229
230 NodeState m_state;
231 bool m_stateHasBeenSet = false;
232 };
233
234} // namespace Model
235} // namespace MediaLive
236} // namespace Aws
DescribeNodeSummary & AddChannelPlacementGroups(const Aws::String &value)
DescribeNodeSummary & WithState(const NodeState &value)
DescribeNodeSummary & WithName(Aws::String &&value)
DescribeNodeSummary & WithId(const char *value)
DescribeNodeSummary & WithManagedInstanceId(Aws::String &&value)
DescribeNodeSummary & AddChannelPlacementGroups(Aws::String &&value)
void SetNodeInterfaceMappings(Aws::Vector< NodeInterfaceMapping > &&value)
DescribeNodeSummary & WithRole(NodeRole &&value)
void SetConnectionState(NodeConnectionState &&value)
DescribeNodeSummary & WithConnectionState(NodeConnectionState &&value)
DescribeNodeSummary & WithState(NodeState &&value)
const NodeConnectionState & GetConnectionState() const
AWS_MEDIALIVE_API DescribeNodeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DescribeNodeSummary & WithInstanceArn(Aws::String &&value)
DescribeNodeSummary & AddNodeInterfaceMappings(NodeInterfaceMapping &&value)
DescribeNodeSummary & AddNodeInterfaceMappings(const NodeInterfaceMapping &value)
const Aws::Vector< Aws::String > & GetChannelPlacementGroups() const
DescribeNodeSummary & WithClusterId(Aws::String &&value)
DescribeNodeSummary & WithConnectionState(const NodeConnectionState &value)
DescribeNodeSummary & WithChannelPlacementGroups(Aws::Vector< Aws::String > &&value)
void SetNodeInterfaceMappings(const Aws::Vector< NodeInterfaceMapping > &value)
DescribeNodeSummary & WithManagedInstanceId(const Aws::String &value)
DescribeNodeSummary & WithInstanceArn(const Aws::String &value)
DescribeNodeSummary & AddChannelPlacementGroups(const char *value)
DescribeNodeSummary & WithManagedInstanceId(const char *value)
void SetInstanceArn(const Aws::String &value)
DescribeNodeSummary & WithNodeInterfaceMappings(Aws::Vector< NodeInterfaceMapping > &&value)
void SetManagedInstanceId(const Aws::String &value)
AWS_MEDIALIVE_API DescribeNodeSummary(Aws::Utils::Json::JsonView jsonValue)
void SetConnectionState(const NodeConnectionState &value)
DescribeNodeSummary & WithId(Aws::String &&value)
DescribeNodeSummary & WithClusterId(const Aws::String &value)
DescribeNodeSummary & WithArn(const char *value)
DescribeNodeSummary & WithId(const Aws::String &value)
const Aws::Vector< NodeInterfaceMapping > & GetNodeInterfaceMappings() const
DescribeNodeSummary & WithArn(const Aws::String &value)
DescribeNodeSummary & WithNodeInterfaceMappings(const Aws::Vector< NodeInterfaceMapping > &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
DescribeNodeSummary & WithRole(const NodeRole &value)
void SetClusterId(const Aws::String &value)
void SetChannelPlacementGroups(Aws::Vector< Aws::String > &&value)
DescribeNodeSummary & WithInstanceArn(const char *value)
DescribeNodeSummary & WithName(const char *value)
DescribeNodeSummary & WithChannelPlacementGroups(const Aws::Vector< Aws::String > &value)
DescribeNodeSummary & WithArn(Aws::String &&value)
DescribeNodeSummary & WithName(const Aws::String &value)
void SetChannelPlacementGroups(const Aws::Vector< Aws::String > &value)
DescribeNodeSummary & WithClusterId(const char *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