AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
DescribeClusterSummary.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{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaLive
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_MEDIALIVE_API DescribeClusterSummary() = default;
41 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetArn() const { return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 DescribeClusterSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
56
58
64 inline const Aws::Vector<Aws::String>& GetChannelIds() const { return m_channelIds; }
65 inline bool ChannelIdsHasBeenSet() const { return m_channelIdsHasBeenSet; }
66 template<typename ChannelIdsT = Aws::Vector<Aws::String>>
67 void SetChannelIds(ChannelIdsT&& value) { m_channelIdsHasBeenSet = true; m_channelIds = std::forward<ChannelIdsT>(value); }
68 template<typename ChannelIdsT = Aws::Vector<Aws::String>>
69 DescribeClusterSummary& WithChannelIds(ChannelIdsT&& value) { SetChannelIds(std::forward<ChannelIdsT>(value)); return *this;}
70 template<typename ChannelIdsT = Aws::String>
71 DescribeClusterSummary& AddChannelIds(ChannelIdsT&& value) { m_channelIdsHasBeenSet = true; m_channelIds.emplace_back(std::forward<ChannelIdsT>(value)); return *this; }
73
75
78 inline ClusterType GetClusterType() const { return m_clusterType; }
79 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
80 inline void SetClusterType(ClusterType value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
81 inline DescribeClusterSummary& WithClusterType(ClusterType value) { SetClusterType(value); return *this;}
83
85
89 inline const Aws::String& GetId() const { return m_id; }
90 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
91 template<typename IdT = Aws::String>
92 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
93 template<typename IdT = Aws::String>
94 DescribeClusterSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
96
98
103 inline const Aws::String& GetInstanceRoleArn() const { return m_instanceRoleArn; }
104 inline bool InstanceRoleArnHasBeenSet() const { return m_instanceRoleArnHasBeenSet; }
105 template<typename InstanceRoleArnT = Aws::String>
106 void SetInstanceRoleArn(InstanceRoleArnT&& value) { m_instanceRoleArnHasBeenSet = true; m_instanceRoleArn = std::forward<InstanceRoleArnT>(value); }
107 template<typename InstanceRoleArnT = Aws::String>
108 DescribeClusterSummary& WithInstanceRoleArn(InstanceRoleArnT&& value) { SetInstanceRoleArn(std::forward<InstanceRoleArnT>(value)); return *this;}
110
112
115 inline const Aws::String& GetName() const { return m_name; }
116 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
117 template<typename NameT = Aws::String>
118 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
119 template<typename NameT = Aws::String>
120 DescribeClusterSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
122
124
128 inline const ClusterNetworkSettings& GetNetworkSettings() const { return m_networkSettings; }
129 inline bool NetworkSettingsHasBeenSet() const { return m_networkSettingsHasBeenSet; }
130 template<typename NetworkSettingsT = ClusterNetworkSettings>
131 void SetNetworkSettings(NetworkSettingsT&& value) { m_networkSettingsHasBeenSet = true; m_networkSettings = std::forward<NetworkSettingsT>(value); }
132 template<typename NetworkSettingsT = ClusterNetworkSettings>
133 DescribeClusterSummary& WithNetworkSettings(NetworkSettingsT&& value) { SetNetworkSettings(std::forward<NetworkSettingsT>(value)); return *this;}
135
137
140 inline ClusterState GetState() const { return m_state; }
141 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
142 inline void SetState(ClusterState value) { m_stateHasBeenSet = true; m_state = value; }
143 inline DescribeClusterSummary& WithState(ClusterState value) { SetState(value); return *this;}
145 private:
146
147 Aws::String m_arn;
148 bool m_arnHasBeenSet = false;
149
150 Aws::Vector<Aws::String> m_channelIds;
151 bool m_channelIdsHasBeenSet = false;
152
153 ClusterType m_clusterType{ClusterType::NOT_SET};
154 bool m_clusterTypeHasBeenSet = false;
155
156 Aws::String m_id;
157 bool m_idHasBeenSet = false;
158
159 Aws::String m_instanceRoleArn;
160 bool m_instanceRoleArnHasBeenSet = false;
161
162 Aws::String m_name;
163 bool m_nameHasBeenSet = false;
164
165 ClusterNetworkSettings m_networkSettings;
166 bool m_networkSettingsHasBeenSet = false;
167
169 bool m_stateHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace MediaLive
174} // namespace Aws
DescribeClusterSummary & WithId(IdT &&value)
const ClusterNetworkSettings & GetNetworkSettings() const
AWS_MEDIALIVE_API DescribeClusterSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetChannelIds() const
DescribeClusterSummary & AddChannelIds(ChannelIdsT &&value)
DescribeClusterSummary & WithState(ClusterState value)
DescribeClusterSummary & WithNetworkSettings(NetworkSettingsT &&value)
DescribeClusterSummary & WithClusterType(ClusterType value)
DescribeClusterSummary & WithInstanceRoleArn(InstanceRoleArnT &&value)
AWS_MEDIALIVE_API DescribeClusterSummary()=default
AWS_MEDIALIVE_API DescribeClusterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DescribeClusterSummary & WithChannelIds(ChannelIdsT &&value)
DescribeClusterSummary & WithArn(ArnT &&value)
DescribeClusterSummary & WithName(NameT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue