AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 DescribeClusterSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline DescribeClusterSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline DescribeClusterSummary& WithArn(const char* value) { SetArn(value); return *this;}
58
60
66 inline const Aws::Vector<Aws::String>& GetChannelIds() const{ return m_channelIds; }
67 inline bool ChannelIdsHasBeenSet() const { return m_channelIdsHasBeenSet; }
68 inline void SetChannelIds(const Aws::Vector<Aws::String>& value) { m_channelIdsHasBeenSet = true; m_channelIds = value; }
69 inline void SetChannelIds(Aws::Vector<Aws::String>&& value) { m_channelIdsHasBeenSet = true; m_channelIds = std::move(value); }
70 inline DescribeClusterSummary& WithChannelIds(const Aws::Vector<Aws::String>& value) { SetChannelIds(value); return *this;}
71 inline DescribeClusterSummary& WithChannelIds(Aws::Vector<Aws::String>&& value) { SetChannelIds(std::move(value)); return *this;}
72 inline DescribeClusterSummary& AddChannelIds(const Aws::String& value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(value); return *this; }
73 inline DescribeClusterSummary& AddChannelIds(Aws::String&& value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(std::move(value)); return *this; }
74 inline DescribeClusterSummary& AddChannelIds(const char* value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(value); return *this; }
76
78
81 inline const ClusterType& GetClusterType() const{ return m_clusterType; }
82 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
83 inline void SetClusterType(const ClusterType& value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
84 inline void SetClusterType(ClusterType&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::move(value); }
85 inline DescribeClusterSummary& WithClusterType(const ClusterType& value) { SetClusterType(value); return *this;}
86 inline DescribeClusterSummary& WithClusterType(ClusterType&& value) { SetClusterType(std::move(value)); return *this;}
88
90
94 inline const Aws::String& GetId() const{ return m_id; }
95 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
96 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
97 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
98 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
99 inline DescribeClusterSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
100 inline DescribeClusterSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
101 inline DescribeClusterSummary& WithId(const char* value) { SetId(value); return *this;}
103
105
110 inline const Aws::String& GetInstanceRoleArn() const{ return m_instanceRoleArn; }
111 inline bool InstanceRoleArnHasBeenSet() const { return m_instanceRoleArnHasBeenSet; }
112 inline void SetInstanceRoleArn(const Aws::String& value) { m_instanceRoleArnHasBeenSet = true; m_instanceRoleArn = value; }
113 inline void SetInstanceRoleArn(Aws::String&& value) { m_instanceRoleArnHasBeenSet = true; m_instanceRoleArn = std::move(value); }
114 inline void SetInstanceRoleArn(const char* value) { m_instanceRoleArnHasBeenSet = true; m_instanceRoleArn.assign(value); }
115 inline DescribeClusterSummary& WithInstanceRoleArn(const Aws::String& value) { SetInstanceRoleArn(value); return *this;}
116 inline DescribeClusterSummary& WithInstanceRoleArn(Aws::String&& value) { SetInstanceRoleArn(std::move(value)); return *this;}
117 inline DescribeClusterSummary& WithInstanceRoleArn(const char* value) { SetInstanceRoleArn(value); return *this;}
119
121
124 inline const Aws::String& GetName() const{ return m_name; }
125 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
126 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
127 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
128 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
129 inline DescribeClusterSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
130 inline DescribeClusterSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
131 inline DescribeClusterSummary& WithName(const char* value) { SetName(value); return *this;}
133
135
139 inline const ClusterNetworkSettings& GetNetworkSettings() const{ return m_networkSettings; }
140 inline bool NetworkSettingsHasBeenSet() const { return m_networkSettingsHasBeenSet; }
141 inline void SetNetworkSettings(const ClusterNetworkSettings& value) { m_networkSettingsHasBeenSet = true; m_networkSettings = value; }
142 inline void SetNetworkSettings(ClusterNetworkSettings&& value) { m_networkSettingsHasBeenSet = true; m_networkSettings = std::move(value); }
144 inline DescribeClusterSummary& WithNetworkSettings(ClusterNetworkSettings&& value) { SetNetworkSettings(std::move(value)); return *this;}
146
148
151 inline const ClusterState& GetState() const{ return m_state; }
152 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
153 inline void SetState(const ClusterState& value) { m_stateHasBeenSet = true; m_state = value; }
154 inline void SetState(ClusterState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
155 inline DescribeClusterSummary& WithState(const ClusterState& value) { SetState(value); return *this;}
156 inline DescribeClusterSummary& WithState(ClusterState&& value) { SetState(std::move(value)); return *this;}
158 private:
159
160 Aws::String m_arn;
161 bool m_arnHasBeenSet = false;
162
163 Aws::Vector<Aws::String> m_channelIds;
164 bool m_channelIdsHasBeenSet = false;
165
166 ClusterType m_clusterType;
167 bool m_clusterTypeHasBeenSet = false;
168
169 Aws::String m_id;
170 bool m_idHasBeenSet = false;
171
172 Aws::String m_instanceRoleArn;
173 bool m_instanceRoleArnHasBeenSet = false;
174
175 Aws::String m_name;
176 bool m_nameHasBeenSet = false;
177
178 ClusterNetworkSettings m_networkSettings;
179 bool m_networkSettingsHasBeenSet = false;
180
181 ClusterState m_state;
182 bool m_stateHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace MediaLive
187} // namespace Aws
DescribeClusterSummary & WithInstanceRoleArn(Aws::String &&value)
void SetNetworkSettings(const ClusterNetworkSettings &value)
DescribeClusterSummary & AddChannelIds(const Aws::String &value)
const ClusterNetworkSettings & GetNetworkSettings() const
AWS_MEDIALIVE_API DescribeClusterSummary(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkSettings(ClusterNetworkSettings &&value)
DescribeClusterSummary & WithChannelIds(const Aws::Vector< Aws::String > &value)
DescribeClusterSummary & WithName(const Aws::String &value)
DescribeClusterSummary & WithNetworkSettings(const ClusterNetworkSettings &value)
void SetChannelIds(const Aws::Vector< Aws::String > &value)
DescribeClusterSummary & WithState(const ClusterState &value)
DescribeClusterSummary & WithArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetChannelIds() const
DescribeClusterSummary & AddChannelIds(const char *value)
DescribeClusterSummary & WithArn(const char *value)
DescribeClusterSummary & WithArn(Aws::String &&value)
DescribeClusterSummary & WithInstanceRoleArn(const Aws::String &value)
DescribeClusterSummary & WithId(const Aws::String &value)
DescribeClusterSummary & WithName(Aws::String &&value)
void SetChannelIds(Aws::Vector< Aws::String > &&value)
DescribeClusterSummary & WithClusterType(const ClusterType &value)
DescribeClusterSummary & WithInstanceRoleArn(const char *value)
AWS_MEDIALIVE_API DescribeClusterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DescribeClusterSummary & WithName(const char *value)
DescribeClusterSummary & WithClusterType(ClusterType &&value)
DescribeClusterSummary & WithId(Aws::String &&value)
DescribeClusterSummary & WithNetworkSettings(ClusterNetworkSettings &&value)
DescribeClusterSummary & WithChannelIds(Aws::Vector< Aws::String > &&value)
DescribeClusterSummary & WithState(ClusterState &&value)
DescribeClusterSummary & WithId(const char *value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
DescribeClusterSummary & AddChannelIds(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