AWS SDK for C++

AWS SDK for C++ Version 1.11.609

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 <aws/medialive/model/SdiSourceMapping.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaLive
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_MEDIALIVE_API DescribeNodeSummary() = default;
41 AWS_MEDIALIVE_API DescribeNodeSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetArn() const { return m_arn; }
51 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 template<typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
54 template<typename ArnT = Aws::String>
55 DescribeNodeSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
57
59
63 inline const Aws::Vector<Aws::String>& GetChannelPlacementGroups() const { return m_channelPlacementGroups; }
64 inline bool ChannelPlacementGroupsHasBeenSet() const { return m_channelPlacementGroupsHasBeenSet; }
65 template<typename ChannelPlacementGroupsT = Aws::Vector<Aws::String>>
66 void SetChannelPlacementGroups(ChannelPlacementGroupsT&& value) { m_channelPlacementGroupsHasBeenSet = true; m_channelPlacementGroups = std::forward<ChannelPlacementGroupsT>(value); }
67 template<typename ChannelPlacementGroupsT = Aws::Vector<Aws::String>>
68 DescribeNodeSummary& WithChannelPlacementGroups(ChannelPlacementGroupsT&& value) { SetChannelPlacementGroups(std::forward<ChannelPlacementGroupsT>(value)); return *this;}
69 template<typename ChannelPlacementGroupsT = Aws::String>
70 DescribeNodeSummary& AddChannelPlacementGroups(ChannelPlacementGroupsT&& value) { m_channelPlacementGroupsHasBeenSet = true; m_channelPlacementGroups.emplace_back(std::forward<ChannelPlacementGroupsT>(value)); return *this; }
72
74
77 inline const Aws::String& GetClusterId() const { return m_clusterId; }
78 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
79 template<typename ClusterIdT = Aws::String>
80 void SetClusterId(ClusterIdT&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::forward<ClusterIdT>(value); }
81 template<typename ClusterIdT = Aws::String>
82 DescribeNodeSummary& WithClusterId(ClusterIdT&& value) { SetClusterId(std::forward<ClusterIdT>(value)); return *this;}
84
86
89 inline NodeConnectionState GetConnectionState() const { return m_connectionState; }
90 inline bool ConnectionStateHasBeenSet() const { return m_connectionStateHasBeenSet; }
91 inline void SetConnectionState(NodeConnectionState value) { m_connectionStateHasBeenSet = true; m_connectionState = value; }
94
96
100 inline const Aws::String& GetId() const { return m_id; }
101 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
102 template<typename IdT = Aws::String>
103 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
104 template<typename IdT = Aws::String>
105 DescribeNodeSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
107
109
112 inline const Aws::String& GetInstanceArn() const { return m_instanceArn; }
113 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
114 template<typename InstanceArnT = Aws::String>
115 void SetInstanceArn(InstanceArnT&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::forward<InstanceArnT>(value); }
116 template<typename InstanceArnT = Aws::String>
117 DescribeNodeSummary& WithInstanceArn(InstanceArnT&& value) { SetInstanceArn(std::forward<InstanceArnT>(value)); return *this;}
119
121
125 inline const Aws::String& GetManagedInstanceId() const { return m_managedInstanceId; }
126 inline bool ManagedInstanceIdHasBeenSet() const { return m_managedInstanceIdHasBeenSet; }
127 template<typename ManagedInstanceIdT = Aws::String>
128 void SetManagedInstanceId(ManagedInstanceIdT&& value) { m_managedInstanceIdHasBeenSet = true; m_managedInstanceId = std::forward<ManagedInstanceIdT>(value); }
129 template<typename ManagedInstanceIdT = Aws::String>
130 DescribeNodeSummary& WithManagedInstanceId(ManagedInstanceIdT&& value) { SetManagedInstanceId(std::forward<ManagedInstanceIdT>(value)); return *this;}
132
134
137 inline const Aws::String& GetName() const { return m_name; }
138 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
139 template<typename NameT = Aws::String>
140 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
141 template<typename NameT = Aws::String>
142 DescribeNodeSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
144
146
149 inline const Aws::Vector<NodeInterfaceMapping>& GetNodeInterfaceMappings() const { return m_nodeInterfaceMappings; }
150 inline bool NodeInterfaceMappingsHasBeenSet() const { return m_nodeInterfaceMappingsHasBeenSet; }
151 template<typename NodeInterfaceMappingsT = Aws::Vector<NodeInterfaceMapping>>
152 void SetNodeInterfaceMappings(NodeInterfaceMappingsT&& value) { m_nodeInterfaceMappingsHasBeenSet = true; m_nodeInterfaceMappings = std::forward<NodeInterfaceMappingsT>(value); }
153 template<typename NodeInterfaceMappingsT = Aws::Vector<NodeInterfaceMapping>>
154 DescribeNodeSummary& WithNodeInterfaceMappings(NodeInterfaceMappingsT&& value) { SetNodeInterfaceMappings(std::forward<NodeInterfaceMappingsT>(value)); return *this;}
155 template<typename NodeInterfaceMappingsT = NodeInterfaceMapping>
156 DescribeNodeSummary& AddNodeInterfaceMappings(NodeInterfaceMappingsT&& value) { m_nodeInterfaceMappingsHasBeenSet = true; m_nodeInterfaceMappings.emplace_back(std::forward<NodeInterfaceMappingsT>(value)); return *this; }
158
160
165 inline NodeRole GetRole() const { return m_role; }
166 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
167 inline void SetRole(NodeRole value) { m_roleHasBeenSet = true; m_role = value; }
168 inline DescribeNodeSummary& WithRole(NodeRole value) { SetRole(value); return *this;}
170
172
175 inline NodeState GetState() const { return m_state; }
176 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
177 inline void SetState(NodeState value) { m_stateHasBeenSet = true; m_state = value; }
178 inline DescribeNodeSummary& WithState(NodeState value) { SetState(value); return *this;}
180
182
186 inline const Aws::Vector<SdiSourceMapping>& GetSdiSourceMappings() const { return m_sdiSourceMappings; }
187 inline bool SdiSourceMappingsHasBeenSet() const { return m_sdiSourceMappingsHasBeenSet; }
188 template<typename SdiSourceMappingsT = Aws::Vector<SdiSourceMapping>>
189 void SetSdiSourceMappings(SdiSourceMappingsT&& value) { m_sdiSourceMappingsHasBeenSet = true; m_sdiSourceMappings = std::forward<SdiSourceMappingsT>(value); }
190 template<typename SdiSourceMappingsT = Aws::Vector<SdiSourceMapping>>
191 DescribeNodeSummary& WithSdiSourceMappings(SdiSourceMappingsT&& value) { SetSdiSourceMappings(std::forward<SdiSourceMappingsT>(value)); return *this;}
192 template<typename SdiSourceMappingsT = SdiSourceMapping>
193 DescribeNodeSummary& AddSdiSourceMappings(SdiSourceMappingsT&& value) { m_sdiSourceMappingsHasBeenSet = true; m_sdiSourceMappings.emplace_back(std::forward<SdiSourceMappingsT>(value)); return *this; }
195 private:
196
197 Aws::String m_arn;
198 bool m_arnHasBeenSet = false;
199
200 Aws::Vector<Aws::String> m_channelPlacementGroups;
201 bool m_channelPlacementGroupsHasBeenSet = false;
202
203 Aws::String m_clusterId;
204 bool m_clusterIdHasBeenSet = false;
205
207 bool m_connectionStateHasBeenSet = false;
208
209 Aws::String m_id;
210 bool m_idHasBeenSet = false;
211
212 Aws::String m_instanceArn;
213 bool m_instanceArnHasBeenSet = false;
214
215 Aws::String m_managedInstanceId;
216 bool m_managedInstanceIdHasBeenSet = false;
217
218 Aws::String m_name;
219 bool m_nameHasBeenSet = false;
220
221 Aws::Vector<NodeInterfaceMapping> m_nodeInterfaceMappings;
222 bool m_nodeInterfaceMappingsHasBeenSet = false;
223
225 bool m_roleHasBeenSet = false;
226
228 bool m_stateHasBeenSet = false;
229
230 Aws::Vector<SdiSourceMapping> m_sdiSourceMappings;
231 bool m_sdiSourceMappingsHasBeenSet = false;
232 };
233
234} // namespace Model
235} // namespace MediaLive
236} // namespace Aws
DescribeNodeSummary & WithConnectionState(NodeConnectionState value)
DescribeNodeSummary & WithManagedInstanceId(ManagedInstanceIdT &&value)
const Aws::Vector< SdiSourceMapping > & GetSdiSourceMappings() const
DescribeNodeSummary & AddNodeInterfaceMappings(NodeInterfaceMappingsT &&value)
void SetChannelPlacementGroups(ChannelPlacementGroupsT &&value)
DescribeNodeSummary & WithChannelPlacementGroups(ChannelPlacementGroupsT &&value)
void SetConnectionState(NodeConnectionState value)
AWS_MEDIALIVE_API DescribeNodeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DescribeNodeSummary & WithState(NodeState value)
const Aws::Vector< Aws::String > & GetChannelPlacementGroups() const
DescribeNodeSummary & WithClusterId(ClusterIdT &&value)
DescribeNodeSummary & WithName(NameT &&value)
DescribeNodeSummary & WithRole(NodeRole value)
AWS_MEDIALIVE_API DescribeNodeSummary(Aws::Utils::Json::JsonView jsonValue)
DescribeNodeSummary & WithNodeInterfaceMappings(NodeInterfaceMappingsT &&value)
void SetSdiSourceMappings(SdiSourceMappingsT &&value)
DescribeNodeSummary & WithArn(ArnT &&value)
DescribeNodeSummary & WithInstanceArn(InstanceArnT &&value)
DescribeNodeSummary & WithSdiSourceMappings(SdiSourceMappingsT &&value)
void SetManagedInstanceId(ManagedInstanceIdT &&value)
void SetNodeInterfaceMappings(NodeInterfaceMappingsT &&value)
const Aws::Vector< NodeInterfaceMapping > & GetNodeInterfaceMappings() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
DescribeNodeSummary & WithId(IdT &&value)
DescribeNodeSummary & AddSdiSourceMappings(SdiSourceMappingsT &&value)
DescribeNodeSummary & AddChannelPlacementGroups(ChannelPlacementGroupsT &&value)
AWS_MEDIALIVE_API DescribeNodeSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue