AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Cluster.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/model/ClusterConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecs/model/ClusterServiceConnectDefaults.h>
12#include <aws/ecs/model/KeyValuePair.h>
13#include <aws/ecs/model/Tag.h>
14#include <aws/ecs/model/ClusterSetting.h>
15#include <aws/ecs/model/CapacityProviderStrategyItem.h>
16#include <aws/ecs/model/Attachment.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace ECS
30{
31namespace Model
32{
33
42 class Cluster
43 {
44 public:
45 AWS_ECS_API Cluster();
46 AWS_ECS_API Cluster(Aws::Utils::Json::JsonView jsonValue);
49
50
52
58 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
59 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
60 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
61 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
62 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
63 inline Cluster& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
64 inline Cluster& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
65 inline Cluster& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
67
69
72 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
73 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
74 inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
75 inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
76 inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
77 inline Cluster& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
78 inline Cluster& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
79 inline Cluster& WithClusterName(const char* value) { SetClusterName(value); return *this;}
81
83
86 inline const ClusterConfiguration& GetConfiguration() const{ return m_configuration; }
87 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
88 inline void SetConfiguration(const ClusterConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
89 inline void SetConfiguration(ClusterConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
90 inline Cluster& WithConfiguration(const ClusterConfiguration& value) { SetConfiguration(value); return *this;}
91 inline Cluster& WithConfiguration(ClusterConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
93
95
111 inline const Aws::String& GetStatus() const{ return m_status; }
112 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
113 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
114 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
115 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
116 inline Cluster& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
117 inline Cluster& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
118 inline Cluster& WithStatus(const char* value) { SetStatus(value); return *this;}
120
122
127 inline int GetRegisteredContainerInstancesCount() const{ return m_registeredContainerInstancesCount; }
128 inline bool RegisteredContainerInstancesCountHasBeenSet() const { return m_registeredContainerInstancesCountHasBeenSet; }
129 inline void SetRegisteredContainerInstancesCount(int value) { m_registeredContainerInstancesCountHasBeenSet = true; m_registeredContainerInstancesCount = value; }
132
134
138 inline int GetRunningTasksCount() const{ return m_runningTasksCount; }
139 inline bool RunningTasksCountHasBeenSet() const { return m_runningTasksCountHasBeenSet; }
140 inline void SetRunningTasksCount(int value) { m_runningTasksCountHasBeenSet = true; m_runningTasksCount = value; }
141 inline Cluster& WithRunningTasksCount(int value) { SetRunningTasksCount(value); return *this;}
143
145
149 inline int GetPendingTasksCount() const{ return m_pendingTasksCount; }
150 inline bool PendingTasksCountHasBeenSet() const { return m_pendingTasksCountHasBeenSet; }
151 inline void SetPendingTasksCount(int value) { m_pendingTasksCountHasBeenSet = true; m_pendingTasksCount = value; }
152 inline Cluster& WithPendingTasksCount(int value) { SetPendingTasksCount(value); return *this;}
154
156
161 inline int GetActiveServicesCount() const{ return m_activeServicesCount; }
162 inline bool ActiveServicesCountHasBeenSet() const { return m_activeServicesCountHasBeenSet; }
163 inline void SetActiveServicesCount(int value) { m_activeServicesCountHasBeenSet = true; m_activeServicesCount = value; }
164 inline Cluster& WithActiveServicesCount(int value) { SetActiveServicesCount(value); return *this;}
166
168
177 inline const Aws::Vector<KeyValuePair>& GetStatistics() const{ return m_statistics; }
178 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
179 inline void SetStatistics(const Aws::Vector<KeyValuePair>& value) { m_statisticsHasBeenSet = true; m_statistics = value; }
180 inline void SetStatistics(Aws::Vector<KeyValuePair>&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); }
181 inline Cluster& WithStatistics(const Aws::Vector<KeyValuePair>& value) { SetStatistics(value); return *this;}
182 inline Cluster& WithStatistics(Aws::Vector<KeyValuePair>&& value) { SetStatistics(std::move(value)); return *this;}
183 inline Cluster& AddStatistics(const KeyValuePair& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(value); return *this; }
184 inline Cluster& AddStatistics(KeyValuePair&& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(std::move(value)); return *this; }
186
188
206 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
207 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
208 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
209 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
210 inline Cluster& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
211 inline Cluster& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
212 inline Cluster& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
213 inline Cluster& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
215
217
221 inline const Aws::Vector<ClusterSetting>& GetSettings() const{ return m_settings; }
222 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
223 inline void SetSettings(const Aws::Vector<ClusterSetting>& value) { m_settingsHasBeenSet = true; m_settings = value; }
224 inline void SetSettings(Aws::Vector<ClusterSetting>&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
225 inline Cluster& WithSettings(const Aws::Vector<ClusterSetting>& value) { SetSettings(value); return *this;}
226 inline Cluster& WithSettings(Aws::Vector<ClusterSetting>&& value) { SetSettings(std::move(value)); return *this;}
227 inline Cluster& AddSettings(const ClusterSetting& value) { m_settingsHasBeenSet = true; m_settings.push_back(value); return *this; }
228 inline Cluster& AddSettings(ClusterSetting&& value) { m_settingsHasBeenSet = true; m_settings.push_back(std::move(value)); return *this; }
230
232
235 inline const Aws::Vector<Aws::String>& GetCapacityProviders() const{ return m_capacityProviders; }
236 inline bool CapacityProvidersHasBeenSet() const { return m_capacityProvidersHasBeenSet; }
237 inline void SetCapacityProviders(const Aws::Vector<Aws::String>& value) { m_capacityProvidersHasBeenSet = true; m_capacityProviders = value; }
238 inline void SetCapacityProviders(Aws::Vector<Aws::String>&& value) { m_capacityProvidersHasBeenSet = true; m_capacityProviders = std::move(value); }
239 inline Cluster& WithCapacityProviders(const Aws::Vector<Aws::String>& value) { SetCapacityProviders(value); return *this;}
240 inline Cluster& WithCapacityProviders(Aws::Vector<Aws::String>&& value) { SetCapacityProviders(std::move(value)); return *this;}
241 inline Cluster& AddCapacityProviders(const Aws::String& value) { m_capacityProvidersHasBeenSet = true; m_capacityProviders.push_back(value); return *this; }
242 inline Cluster& AddCapacityProviders(Aws::String&& value) { m_capacityProvidersHasBeenSet = true; m_capacityProviders.push_back(std::move(value)); return *this; }
243 inline Cluster& AddCapacityProviders(const char* value) { m_capacityProvidersHasBeenSet = true; m_capacityProviders.push_back(value); return *this; }
245
247
252 inline const Aws::Vector<CapacityProviderStrategyItem>& GetDefaultCapacityProviderStrategy() const{ return m_defaultCapacityProviderStrategy; }
253 inline bool DefaultCapacityProviderStrategyHasBeenSet() const { return m_defaultCapacityProviderStrategyHasBeenSet; }
254 inline void SetDefaultCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { m_defaultCapacityProviderStrategyHasBeenSet = true; m_defaultCapacityProviderStrategy = value; }
255 inline void SetDefaultCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { m_defaultCapacityProviderStrategyHasBeenSet = true; m_defaultCapacityProviderStrategy = std::move(value); }
258 inline Cluster& AddDefaultCapacityProviderStrategy(const CapacityProviderStrategyItem& value) { m_defaultCapacityProviderStrategyHasBeenSet = true; m_defaultCapacityProviderStrategy.push_back(value); return *this; }
259 inline Cluster& AddDefaultCapacityProviderStrategy(CapacityProviderStrategyItem&& value) { m_defaultCapacityProviderStrategyHasBeenSet = true; m_defaultCapacityProviderStrategy.push_back(std::move(value)); return *this; }
261
263
268 inline const Aws::Vector<Attachment>& GetAttachments() const{ return m_attachments; }
269 inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; }
270 inline void SetAttachments(const Aws::Vector<Attachment>& value) { m_attachmentsHasBeenSet = true; m_attachments = value; }
271 inline void SetAttachments(Aws::Vector<Attachment>&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::move(value); }
272 inline Cluster& WithAttachments(const Aws::Vector<Attachment>& value) { SetAttachments(value); return *this;}
273 inline Cluster& WithAttachments(Aws::Vector<Attachment>&& value) { SetAttachments(std::move(value)); return *this;}
274 inline Cluster& AddAttachments(const Attachment& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(value); return *this; }
275 inline Cluster& AddAttachments(Attachment&& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(std::move(value)); return *this; }
277
279
287 inline const Aws::String& GetAttachmentsStatus() const{ return m_attachmentsStatus; }
288 inline bool AttachmentsStatusHasBeenSet() const { return m_attachmentsStatusHasBeenSet; }
289 inline void SetAttachmentsStatus(const Aws::String& value) { m_attachmentsStatusHasBeenSet = true; m_attachmentsStatus = value; }
290 inline void SetAttachmentsStatus(Aws::String&& value) { m_attachmentsStatusHasBeenSet = true; m_attachmentsStatus = std::move(value); }
291 inline void SetAttachmentsStatus(const char* value) { m_attachmentsStatusHasBeenSet = true; m_attachmentsStatus.assign(value); }
292 inline Cluster& WithAttachmentsStatus(const Aws::String& value) { SetAttachmentsStatus(value); return *this;}
293 inline Cluster& WithAttachmentsStatus(Aws::String&& value) { SetAttachmentsStatus(std::move(value)); return *this;}
294 inline Cluster& WithAttachmentsStatus(const char* value) { SetAttachmentsStatus(value); return *this;}
296
298
315 inline const ClusterServiceConnectDefaults& GetServiceConnectDefaults() const{ return m_serviceConnectDefaults; }
316 inline bool ServiceConnectDefaultsHasBeenSet() const { return m_serviceConnectDefaultsHasBeenSet; }
317 inline void SetServiceConnectDefaults(const ClusterServiceConnectDefaults& value) { m_serviceConnectDefaultsHasBeenSet = true; m_serviceConnectDefaults = value; }
318 inline void SetServiceConnectDefaults(ClusterServiceConnectDefaults&& value) { m_serviceConnectDefaultsHasBeenSet = true; m_serviceConnectDefaults = std::move(value); }
322 private:
323
324 Aws::String m_clusterArn;
325 bool m_clusterArnHasBeenSet = false;
326
327 Aws::String m_clusterName;
328 bool m_clusterNameHasBeenSet = false;
329
330 ClusterConfiguration m_configuration;
331 bool m_configurationHasBeenSet = false;
332
333 Aws::String m_status;
334 bool m_statusHasBeenSet = false;
335
336 int m_registeredContainerInstancesCount;
337 bool m_registeredContainerInstancesCountHasBeenSet = false;
338
339 int m_runningTasksCount;
340 bool m_runningTasksCountHasBeenSet = false;
341
342 int m_pendingTasksCount;
343 bool m_pendingTasksCountHasBeenSet = false;
344
345 int m_activeServicesCount;
346 bool m_activeServicesCountHasBeenSet = false;
347
348 Aws::Vector<KeyValuePair> m_statistics;
349 bool m_statisticsHasBeenSet = false;
350
351 Aws::Vector<Tag> m_tags;
352 bool m_tagsHasBeenSet = false;
353
355 bool m_settingsHasBeenSet = false;
356
357 Aws::Vector<Aws::String> m_capacityProviders;
358 bool m_capacityProvidersHasBeenSet = false;
359
360 Aws::Vector<CapacityProviderStrategyItem> m_defaultCapacityProviderStrategy;
361 bool m_defaultCapacityProviderStrategyHasBeenSet = false;
362
363 Aws::Vector<Attachment> m_attachments;
364 bool m_attachmentsHasBeenSet = false;
365
366 Aws::String m_attachmentsStatus;
367 bool m_attachmentsStatusHasBeenSet = false;
368
369 ClusterServiceConnectDefaults m_serviceConnectDefaults;
370 bool m_serviceConnectDefaultsHasBeenSet = false;
371 };
372
373} // namespace Model
374} // namespace ECS
375} // namespace Aws
Cluster & WithDefaultCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
Definition Cluster.h:257
Cluster & WithDefaultCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition Cluster.h:256
bool RunningTasksCountHasBeenSet() const
Definition Cluster.h:139
Cluster & AddStatistics(const KeyValuePair &value)
Definition Cluster.h:183
Cluster & WithStatus(Aws::String &&value)
Definition Cluster.h:117
void SetRegisteredContainerInstancesCount(int value)
Definition Cluster.h:129
const ClusterConfiguration & GetConfiguration() const
Definition Cluster.h:86
bool ActiveServicesCountHasBeenSet() const
Definition Cluster.h:162
void SetSettings(const Aws::Vector< ClusterSetting > &value)
Definition Cluster.h:223
void SetStatus(const char *value)
Definition Cluster.h:115
const Aws::Vector< Tag > & GetTags() const
Definition Cluster.h:206
Cluster & AddSettings(const ClusterSetting &value)
Definition Cluster.h:227
void SetDefaultCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition Cluster.h:254
const Aws::Vector< ClusterSetting > & GetSettings() const
Definition Cluster.h:221
Cluster & WithClusterName(const Aws::String &value)
Definition Cluster.h:77
int GetActiveServicesCount() const
Definition Cluster.h:161
const Aws::String & GetClusterName() const
Definition Cluster.h:72
Cluster & WithConfiguration(const ClusterConfiguration &value)
Definition Cluster.h:90
const Aws::Vector< Attachment > & GetAttachments() const
Definition Cluster.h:268
void SetAttachments(Aws::Vector< Attachment > &&value)
Definition Cluster.h:271
Cluster & WithAttachmentsStatus(const Aws::String &value)
Definition Cluster.h:292
void SetServiceConnectDefaults(const ClusterServiceConnectDefaults &value)
Definition Cluster.h:317
Cluster & WithCapacityProviders(const Aws::Vector< Aws::String > &value)
Definition Cluster.h:239
Cluster & AddTags(const Tag &value)
Definition Cluster.h:212
bool AttachmentsStatusHasBeenSet() const
Definition Cluster.h:288
void SetSettings(Aws::Vector< ClusterSetting > &&value)
Definition Cluster.h:224
const Aws::String & GetClusterArn() const
Definition Cluster.h:58
bool DefaultCapacityProviderStrategyHasBeenSet() const
Definition Cluster.h:253
Cluster & WithSettings(const Aws::Vector< ClusterSetting > &value)
Definition Cluster.h:225
Cluster & WithAttachmentsStatus(const char *value)
Definition Cluster.h:294
Cluster & WithTags(Aws::Vector< Tag > &&value)
Definition Cluster.h:211
Cluster & AddDefaultCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
Definition Cluster.h:258
void SetConfiguration(ClusterConfiguration &&value)
Definition Cluster.h:89
bool TagsHasBeenSet() const
Definition Cluster.h:207
void SetClusterName(const char *value)
Definition Cluster.h:76
int GetPendingTasksCount() const
Definition Cluster.h:149
Cluster & AddTags(Tag &&value)
Definition Cluster.h:213
void SetClusterArn(const char *value)
Definition Cluster.h:62
Cluster & WithSettings(Aws::Vector< ClusterSetting > &&value)
Definition Cluster.h:226
void SetClusterArn(const Aws::String &value)
Definition Cluster.h:60
void SetTags(const Aws::Vector< Tag > &value)
Definition Cluster.h:208
Cluster & AddStatistics(KeyValuePair &&value)
Definition Cluster.h:184
void SetDefaultCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
Definition Cluster.h:255
bool StatusHasBeenSet() const
Definition Cluster.h:112
bool ServiceConnectDefaultsHasBeenSet() const
Definition Cluster.h:316
bool CapacityProvidersHasBeenSet() const
Definition Cluster.h:236
Cluster & WithStatus(const Aws::String &value)
Definition Cluster.h:116
Cluster & WithPendingTasksCount(int value)
Definition Cluster.h:152
const ClusterServiceConnectDefaults & GetServiceConnectDefaults() const
Definition Cluster.h:315
Cluster & WithServiceConnectDefaults(ClusterServiceConnectDefaults &&value)
Definition Cluster.h:320
void SetClusterName(const Aws::String &value)
Definition Cluster.h:74
Cluster & WithActiveServicesCount(int value)
Definition Cluster.h:164
bool AttachmentsHasBeenSet() const
Definition Cluster.h:269
Cluster & WithClusterArn(const char *value)
Definition Cluster.h:65
Cluster & WithTags(const Aws::Vector< Tag > &value)
Definition Cluster.h:210
bool ClusterArnHasBeenSet() const
Definition Cluster.h:59
Cluster & WithClusterName(Aws::String &&value)
Definition Cluster.h:78
int GetRunningTasksCount() const
Definition Cluster.h:138
bool PendingTasksCountHasBeenSet() const
Definition Cluster.h:150
bool ConfigurationHasBeenSet() const
Definition Cluster.h:87
Cluster & WithAttachments(const Aws::Vector< Attachment > &value)
Definition Cluster.h:272
Cluster & WithServiceConnectDefaults(const ClusterServiceConnectDefaults &value)
Definition Cluster.h:319
Cluster & AddAttachments(const Attachment &value)
Definition Cluster.h:274
void SetAttachmentsStatus(const char *value)
Definition Cluster.h:291
void SetAttachmentsStatus(Aws::String &&value)
Definition Cluster.h:290
void SetClusterName(Aws::String &&value)
Definition Cluster.h:75
void SetTags(Aws::Vector< Tag > &&value)
Definition Cluster.h:209
Cluster & WithStatistics(Aws::Vector< KeyValuePair > &&value)
Definition Cluster.h:182
Cluster & WithRunningTasksCount(int value)
Definition Cluster.h:141
int GetRegisteredContainerInstancesCount() const
Definition Cluster.h:127
void SetRunningTasksCount(int value)
Definition Cluster.h:140
bool SettingsHasBeenSet() const
Definition Cluster.h:222
Cluster & WithClusterArn(const Aws::String &value)
Definition Cluster.h:63
Cluster & WithClusterArn(Aws::String &&value)
Definition Cluster.h:64
Cluster & WithCapacityProviders(Aws::Vector< Aws::String > &&value)
Definition Cluster.h:240
Cluster & WithStatistics(const Aws::Vector< KeyValuePair > &value)
Definition Cluster.h:181
Cluster & AddCapacityProviders(const char *value)
Definition Cluster.h:243
void SetCapacityProviders(Aws::Vector< Aws::String > &&value)
Definition Cluster.h:238
void SetConfiguration(const ClusterConfiguration &value)
Definition Cluster.h:88
bool RegisteredContainerInstancesCountHasBeenSet() const
Definition Cluster.h:128
void SetActiveServicesCount(int value)
Definition Cluster.h:163
Cluster & AddCapacityProviders(Aws::String &&value)
Definition Cluster.h:242
void SetAttachments(const Aws::Vector< Attachment > &value)
Definition Cluster.h:270
void SetStatistics(const Aws::Vector< KeyValuePair > &value)
Definition Cluster.h:179
Cluster & WithAttachments(Aws::Vector< Attachment > &&value)
Definition Cluster.h:273
AWS_ECS_API Cluster & operator=(Aws::Utils::Json::JsonView jsonValue)
Cluster & AddAttachments(Attachment &&value)
Definition Cluster.h:275
void SetCapacityProviders(const Aws::Vector< Aws::String > &value)
Definition Cluster.h:237
void SetStatus(const Aws::String &value)
Definition Cluster.h:113
bool StatisticsHasBeenSet() const
Definition Cluster.h:178
Cluster & WithStatus(const char *value)
Definition Cluster.h:118
void SetStatistics(Aws::Vector< KeyValuePair > &&value)
Definition Cluster.h:180
Cluster & WithConfiguration(ClusterConfiguration &&value)
Definition Cluster.h:91
void SetServiceConnectDefaults(ClusterServiceConnectDefaults &&value)
Definition Cluster.h:318
Cluster & AddDefaultCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
Definition Cluster.h:259
Cluster & AddCapacityProviders(const Aws::String &value)
Definition Cluster.h:241
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetCapacityProviders() const
Definition Cluster.h:235
bool ClusterNameHasBeenSet() const
Definition Cluster.h:73
const Aws::Vector< CapacityProviderStrategyItem > & GetDefaultCapacityProviderStrategy() const
Definition Cluster.h:252
Cluster & AddSettings(ClusterSetting &&value)
Definition Cluster.h:228
const Aws::String & GetAttachmentsStatus() const
Definition Cluster.h:287
Cluster & WithRegisteredContainerInstancesCount(int value)
Definition Cluster.h:130
void SetClusterArn(Aws::String &&value)
Definition Cluster.h:61
const Aws::String & GetStatus() const
Definition Cluster.h:111
Cluster & WithClusterName(const char *value)
Definition Cluster.h:79
AWS_ECS_API Cluster(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(Aws::String &&value)
Definition Cluster.h:114
Cluster & WithAttachmentsStatus(Aws::String &&value)
Definition Cluster.h:293
void SetPendingTasksCount(int value)
Definition Cluster.h:151
const Aws::Vector< KeyValuePair > & GetStatistics() const
Definition Cluster.h:177
void SetAttachmentsStatus(const Aws::String &value)
Definition Cluster.h:289
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue