AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
Cluster.h
Go to the documentation of this file.
1
6#pragma once
13#include <aws/ecs/model/Tag.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:
49
50
57 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
58
65 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
66
73 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
74
81 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
82
89 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
90
97 inline Cluster& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
98
105 inline Cluster& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
106
113 inline Cluster& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
114
115
119 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
120
124 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
125
129 inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
130
134 inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
135
139 inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
140
144 inline Cluster& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
145
149 inline Cluster& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
150
154 inline Cluster& WithClusterName(const char* value) { SetClusterName(value); return *this;}
155
156
160 inline const ClusterConfiguration& GetConfiguration() const{ return m_configuration; }
161
165 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
166
170 inline void SetConfiguration(const ClusterConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
171
175 inline void SetConfiguration(ClusterConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
176
180 inline Cluster& WithConfiguration(const ClusterConfiguration& value) { SetConfiguration(value); return *this;}
181
185 inline Cluster& WithConfiguration(ClusterConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
186
187
204 inline const Aws::String& GetStatus() const{ return m_status; }
205
222 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
223
240 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
241
258 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
259
276 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
277
294 inline Cluster& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
295
312 inline Cluster& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
313
330 inline Cluster& WithStatus(const char* value) { SetStatus(value); return *this;}
331
332
338 inline int GetRegisteredContainerInstancesCount() const{ return m_registeredContainerInstancesCount; }
339
345 inline bool RegisteredContainerInstancesCountHasBeenSet() const { return m_registeredContainerInstancesCountHasBeenSet; }
346
352 inline void SetRegisteredContainerInstancesCount(int value) { m_registeredContainerInstancesCountHasBeenSet = true; m_registeredContainerInstancesCount = value; }
353
360
361
366 inline int GetRunningTasksCount() const{ return m_runningTasksCount; }
367
372 inline bool RunningTasksCountHasBeenSet() const { return m_runningTasksCountHasBeenSet; }
373
378 inline void SetRunningTasksCount(int value) { m_runningTasksCountHasBeenSet = true; m_runningTasksCount = value; }
379
384 inline Cluster& WithRunningTasksCount(int value) { SetRunningTasksCount(value); return *this;}
385
386
391 inline int GetPendingTasksCount() const{ return m_pendingTasksCount; }
392
397 inline bool PendingTasksCountHasBeenSet() const { return m_pendingTasksCountHasBeenSet; }
398
403 inline void SetPendingTasksCount(int value) { m_pendingTasksCountHasBeenSet = true; m_pendingTasksCount = value; }
404
409 inline Cluster& WithPendingTasksCount(int value) { SetPendingTasksCount(value); return *this;}
410
411
417 inline int GetActiveServicesCount() const{ return m_activeServicesCount; }
418
424 inline bool ActiveServicesCountHasBeenSet() const { return m_activeServicesCountHasBeenSet; }
425
431 inline void SetActiveServicesCount(int value) { m_activeServicesCountHasBeenSet = true; m_activeServicesCount = value; }
432
438 inline Cluster& WithActiveServicesCount(int value) { SetActiveServicesCount(value); return *this;}
439
440
450 inline const Aws::Vector<KeyValuePair>& GetStatistics() const{ return m_statistics; }
451
461 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
462
472 inline void SetStatistics(const Aws::Vector<KeyValuePair>& value) { m_statisticsHasBeenSet = true; m_statistics = value; }
473
483 inline void SetStatistics(Aws::Vector<KeyValuePair>&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); }
484
494 inline Cluster& WithStatistics(const Aws::Vector<KeyValuePair>& value) { SetStatistics(value); return *this;}
495
505 inline Cluster& WithStatistics(Aws::Vector<KeyValuePair>&& value) { SetStatistics(std::move(value)); return *this;}
506
516 inline Cluster& AddStatistics(const KeyValuePair& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(value); return *this; }
517
527 inline Cluster& AddStatistics(KeyValuePair&& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(std::move(value)); return *this; }
528
529
548 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
549
568 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
569
588 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
589
608 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
609
628 inline Cluster& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
629
648 inline Cluster& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
649
668 inline Cluster& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
669
688 inline Cluster& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
689
690
695 inline const Aws::Vector<ClusterSetting>& GetSettings() const{ return m_settings; }
696
701 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
702
707 inline void SetSettings(const Aws::Vector<ClusterSetting>& value) { m_settingsHasBeenSet = true; m_settings = value; }
708
713 inline void SetSettings(Aws::Vector<ClusterSetting>&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
714
719 inline Cluster& WithSettings(const Aws::Vector<ClusterSetting>& value) { SetSettings(value); return *this;}
720
725 inline Cluster& WithSettings(Aws::Vector<ClusterSetting>&& value) { SetSettings(std::move(value)); return *this;}
726
731 inline Cluster& AddSettings(const ClusterSetting& value) { m_settingsHasBeenSet = true; m_settings.push_back(value); return *this; }
732
737 inline Cluster& AddSettings(ClusterSetting&& value) { m_settingsHasBeenSet = true; m_settings.push_back(std::move(value)); return *this; }
738
739
743 inline const Aws::Vector<Aws::String>& GetCapacityProviders() const{ return m_capacityProviders; }
744
748 inline bool CapacityProvidersHasBeenSet() const { return m_capacityProvidersHasBeenSet; }
749
753 inline void SetCapacityProviders(const Aws::Vector<Aws::String>& value) { m_capacityProvidersHasBeenSet = true; m_capacityProviders = value; }
754
758 inline void SetCapacityProviders(Aws::Vector<Aws::String>&& value) { m_capacityProvidersHasBeenSet = true; m_capacityProviders = std::move(value); }
759
763 inline Cluster& WithCapacityProviders(const Aws::Vector<Aws::String>& value) { SetCapacityProviders(value); return *this;}
764
768 inline Cluster& WithCapacityProviders(Aws::Vector<Aws::String>&& value) { SetCapacityProviders(std::move(value)); return *this;}
769
773 inline Cluster& AddCapacityProviders(const Aws::String& value) { m_capacityProvidersHasBeenSet = true; m_capacityProviders.push_back(value); return *this; }
774
778 inline Cluster& AddCapacityProviders(Aws::String&& value) { m_capacityProvidersHasBeenSet = true; m_capacityProviders.push_back(std::move(value)); return *this; }
779
783 inline Cluster& AddCapacityProviders(const char* value) { m_capacityProvidersHasBeenSet = true; m_capacityProviders.push_back(value); return *this; }
784
785
791 inline const Aws::Vector<CapacityProviderStrategyItem>& GetDefaultCapacityProviderStrategy() const{ return m_defaultCapacityProviderStrategy; }
792
798 inline bool DefaultCapacityProviderStrategyHasBeenSet() const { return m_defaultCapacityProviderStrategyHasBeenSet; }
799
805 inline void SetDefaultCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { m_defaultCapacityProviderStrategyHasBeenSet = true; m_defaultCapacityProviderStrategy = value; }
806
812 inline void SetDefaultCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { m_defaultCapacityProviderStrategyHasBeenSet = true; m_defaultCapacityProviderStrategy = std::move(value); }
813
820
827
833 inline Cluster& AddDefaultCapacityProviderStrategy(const CapacityProviderStrategyItem& value) { m_defaultCapacityProviderStrategyHasBeenSet = true; m_defaultCapacityProviderStrategy.push_back(value); return *this; }
834
840 inline Cluster& AddDefaultCapacityProviderStrategy(CapacityProviderStrategyItem&& value) { m_defaultCapacityProviderStrategyHasBeenSet = true; m_defaultCapacityProviderStrategy.push_back(std::move(value)); return *this; }
841
842
848 inline const Aws::Vector<Attachment>& GetAttachments() const{ return m_attachments; }
849
855 inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; }
856
862 inline void SetAttachments(const Aws::Vector<Attachment>& value) { m_attachmentsHasBeenSet = true; m_attachments = value; }
863
869 inline void SetAttachments(Aws::Vector<Attachment>&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::move(value); }
870
876 inline Cluster& WithAttachments(const Aws::Vector<Attachment>& value) { SetAttachments(value); return *this;}
877
883 inline Cluster& WithAttachments(Aws::Vector<Attachment>&& value) { SetAttachments(std::move(value)); return *this;}
884
890 inline Cluster& AddAttachments(const Attachment& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(value); return *this; }
891
897 inline Cluster& AddAttachments(Attachment&& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(std::move(value)); return *this; }
898
899
908 inline const Aws::String& GetAttachmentsStatus() const{ return m_attachmentsStatus; }
909
918 inline bool AttachmentsStatusHasBeenSet() const { return m_attachmentsStatusHasBeenSet; }
919
928 inline void SetAttachmentsStatus(const Aws::String& value) { m_attachmentsStatusHasBeenSet = true; m_attachmentsStatus = value; }
929
938 inline void SetAttachmentsStatus(Aws::String&& value) { m_attachmentsStatusHasBeenSet = true; m_attachmentsStatus = std::move(value); }
939
948 inline void SetAttachmentsStatus(const char* value) { m_attachmentsStatusHasBeenSet = true; m_attachmentsStatus.assign(value); }
949
958 inline Cluster& WithAttachmentsStatus(const Aws::String& value) { SetAttachmentsStatus(value); return *this;}
959
968 inline Cluster& WithAttachmentsStatus(Aws::String&& value) { SetAttachmentsStatus(std::move(value)); return *this;}
969
978 inline Cluster& WithAttachmentsStatus(const char* value) { SetAttachmentsStatus(value); return *this;}
979
980
998 inline const ClusterServiceConnectDefaults& GetServiceConnectDefaults() const{ return m_serviceConnectDefaults; }
999
1017 inline bool ServiceConnectDefaultsHasBeenSet() const { return m_serviceConnectDefaultsHasBeenSet; }
1018
1036 inline void SetServiceConnectDefaults(const ClusterServiceConnectDefaults& value) { m_serviceConnectDefaultsHasBeenSet = true; m_serviceConnectDefaults = value; }
1037
1055 inline void SetServiceConnectDefaults(ClusterServiceConnectDefaults&& value) { m_serviceConnectDefaultsHasBeenSet = true; m_serviceConnectDefaults = std::move(value); }
1056
1075
1094
1095 private:
1096
1097 Aws::String m_clusterArn;
1098 bool m_clusterArnHasBeenSet = false;
1099
1100 Aws::String m_clusterName;
1101 bool m_clusterNameHasBeenSet = false;
1102
1103 ClusterConfiguration m_configuration;
1104 bool m_configurationHasBeenSet = false;
1105
1106 Aws::String m_status;
1107 bool m_statusHasBeenSet = false;
1108
1109 int m_registeredContainerInstancesCount;
1110 bool m_registeredContainerInstancesCountHasBeenSet = false;
1111
1112 int m_runningTasksCount;
1113 bool m_runningTasksCountHasBeenSet = false;
1114
1115 int m_pendingTasksCount;
1116 bool m_pendingTasksCountHasBeenSet = false;
1117
1118 int m_activeServicesCount;
1119 bool m_activeServicesCountHasBeenSet = false;
1120
1121 Aws::Vector<KeyValuePair> m_statistics;
1122 bool m_statisticsHasBeenSet = false;
1123
1124 Aws::Vector<Tag> m_tags;
1125 bool m_tagsHasBeenSet = false;
1126
1127 Aws::Vector<ClusterSetting> m_settings;
1128 bool m_settingsHasBeenSet = false;
1129
1130 Aws::Vector<Aws::String> m_capacityProviders;
1131 bool m_capacityProvidersHasBeenSet = false;
1132
1133 Aws::Vector<CapacityProviderStrategyItem> m_defaultCapacityProviderStrategy;
1134 bool m_defaultCapacityProviderStrategyHasBeenSet = false;
1135
1136 Aws::Vector<Attachment> m_attachments;
1137 bool m_attachmentsHasBeenSet = false;
1138
1139 Aws::String m_attachmentsStatus;
1140 bool m_attachmentsStatusHasBeenSet = false;
1141
1142 ClusterServiceConnectDefaults m_serviceConnectDefaults;
1143 bool m_serviceConnectDefaultsHasBeenSet = false;
1144 };
1145
1146} // namespace Model
1147} // namespace ECS
1148} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Cluster & WithDefaultCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
Definition: Cluster.h:826
Cluster & WithDefaultCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition: Cluster.h:819
bool RunningTasksCountHasBeenSet() const
Definition: Cluster.h:372
Cluster & AddStatistics(const KeyValuePair &value)
Definition: Cluster.h:516
Cluster & WithStatus(Aws::String &&value)
Definition: Cluster.h:312
void SetRegisteredContainerInstancesCount(int value)
Definition: Cluster.h:352
const ClusterConfiguration & GetConfiguration() const
Definition: Cluster.h:160
bool ActiveServicesCountHasBeenSet() const
Definition: Cluster.h:424
void SetSettings(const Aws::Vector< ClusterSetting > &value)
Definition: Cluster.h:707
void SetStatus(const char *value)
Definition: Cluster.h:276
const Aws::Vector< Tag > & GetTags() const
Definition: Cluster.h:548
Cluster & AddSettings(const ClusterSetting &value)
Definition: Cluster.h:731
void SetDefaultCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition: Cluster.h:805
const Aws::Vector< ClusterSetting > & GetSettings() const
Definition: Cluster.h:695
Cluster & WithClusterName(const Aws::String &value)
Definition: Cluster.h:144
int GetActiveServicesCount() const
Definition: Cluster.h:417
const Aws::String & GetClusterName() const
Definition: Cluster.h:119
Cluster & WithConfiguration(const ClusterConfiguration &value)
Definition: Cluster.h:180
const Aws::Vector< Attachment > & GetAttachments() const
Definition: Cluster.h:848
void SetAttachments(Aws::Vector< Attachment > &&value)
Definition: Cluster.h:869
Cluster & WithAttachmentsStatus(const Aws::String &value)
Definition: Cluster.h:958
void SetServiceConnectDefaults(const ClusterServiceConnectDefaults &value)
Definition: Cluster.h:1036
Cluster & WithCapacityProviders(const Aws::Vector< Aws::String > &value)
Definition: Cluster.h:763
Cluster & AddTags(const Tag &value)
Definition: Cluster.h:668
bool AttachmentsStatusHasBeenSet() const
Definition: Cluster.h:918
void SetSettings(Aws::Vector< ClusterSetting > &&value)
Definition: Cluster.h:713
const Aws::String & GetClusterArn() const
Definition: Cluster.h:57
bool DefaultCapacityProviderStrategyHasBeenSet() const
Definition: Cluster.h:798
Cluster & WithSettings(const Aws::Vector< ClusterSetting > &value)
Definition: Cluster.h:719
Cluster & WithAttachmentsStatus(const char *value)
Definition: Cluster.h:978
Cluster & WithTags(Aws::Vector< Tag > &&value)
Definition: Cluster.h:648
Cluster & AddDefaultCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
Definition: Cluster.h:833
void SetConfiguration(ClusterConfiguration &&value)
Definition: Cluster.h:175
bool TagsHasBeenSet() const
Definition: Cluster.h:568
void SetClusterName(const char *value)
Definition: Cluster.h:139
int GetPendingTasksCount() const
Definition: Cluster.h:391
Cluster & AddTags(Tag &&value)
Definition: Cluster.h:688
void SetClusterArn(const char *value)
Definition: Cluster.h:89
Cluster & WithSettings(Aws::Vector< ClusterSetting > &&value)
Definition: Cluster.h:725
void SetClusterArn(const Aws::String &value)
Definition: Cluster.h:73
void SetTags(const Aws::Vector< Tag > &value)
Definition: Cluster.h:588
Cluster & AddStatistics(KeyValuePair &&value)
Definition: Cluster.h:527
void SetDefaultCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
Definition: Cluster.h:812
bool StatusHasBeenSet() const
Definition: Cluster.h:222
bool ServiceConnectDefaultsHasBeenSet() const
Definition: Cluster.h:1017
bool CapacityProvidersHasBeenSet() const
Definition: Cluster.h:748
Cluster & WithStatus(const Aws::String &value)
Definition: Cluster.h:294
Cluster & WithPendingTasksCount(int value)
Definition: Cluster.h:409
const ClusterServiceConnectDefaults & GetServiceConnectDefaults() const
Definition: Cluster.h:998
Cluster & WithServiceConnectDefaults(ClusterServiceConnectDefaults &&value)
Definition: Cluster.h:1093
void SetClusterName(const Aws::String &value)
Definition: Cluster.h:129
Cluster & WithActiveServicesCount(int value)
Definition: Cluster.h:438
bool AttachmentsHasBeenSet() const
Definition: Cluster.h:855
Cluster & WithClusterArn(const char *value)
Definition: Cluster.h:113
Cluster & WithTags(const Aws::Vector< Tag > &value)
Definition: Cluster.h:628
bool ClusterArnHasBeenSet() const
Definition: Cluster.h:65
Cluster & WithClusterName(Aws::String &&value)
Definition: Cluster.h:149
int GetRunningTasksCount() const
Definition: Cluster.h:366
bool PendingTasksCountHasBeenSet() const
Definition: Cluster.h:397
bool ConfigurationHasBeenSet() const
Definition: Cluster.h:165
Cluster & WithAttachments(const Aws::Vector< Attachment > &value)
Definition: Cluster.h:876
Cluster & WithServiceConnectDefaults(const ClusterServiceConnectDefaults &value)
Definition: Cluster.h:1074
Cluster & AddAttachments(const Attachment &value)
Definition: Cluster.h:890
void SetAttachmentsStatus(const char *value)
Definition: Cluster.h:948
void SetAttachmentsStatus(Aws::String &&value)
Definition: Cluster.h:938
void SetClusterName(Aws::String &&value)
Definition: Cluster.h:134
void SetTags(Aws::Vector< Tag > &&value)
Definition: Cluster.h:608
Cluster & WithStatistics(Aws::Vector< KeyValuePair > &&value)
Definition: Cluster.h:505
Cluster & WithRunningTasksCount(int value)
Definition: Cluster.h:384
int GetRegisteredContainerInstancesCount() const
Definition: Cluster.h:338
void SetRunningTasksCount(int value)
Definition: Cluster.h:378
bool SettingsHasBeenSet() const
Definition: Cluster.h:701
Cluster & WithClusterArn(const Aws::String &value)
Definition: Cluster.h:97
Cluster & WithClusterArn(Aws::String &&value)
Definition: Cluster.h:105
Cluster & WithCapacityProviders(Aws::Vector< Aws::String > &&value)
Definition: Cluster.h:768
Cluster & WithStatistics(const Aws::Vector< KeyValuePair > &value)
Definition: Cluster.h:494
Cluster & AddCapacityProviders(const char *value)
Definition: Cluster.h:783
void SetCapacityProviders(Aws::Vector< Aws::String > &&value)
Definition: Cluster.h:758
void SetConfiguration(const ClusterConfiguration &value)
Definition: Cluster.h:170
bool RegisteredContainerInstancesCountHasBeenSet() const
Definition: Cluster.h:345
void SetActiveServicesCount(int value)
Definition: Cluster.h:431
Cluster & AddCapacityProviders(Aws::String &&value)
Definition: Cluster.h:778
void SetAttachments(const Aws::Vector< Attachment > &value)
Definition: Cluster.h:862
void SetStatistics(const Aws::Vector< KeyValuePair > &value)
Definition: Cluster.h:472
Cluster & WithAttachments(Aws::Vector< Attachment > &&value)
Definition: Cluster.h:883
AWS_ECS_API Cluster & operator=(Aws::Utils::Json::JsonView jsonValue)
Cluster & AddAttachments(Attachment &&value)
Definition: Cluster.h:897
void SetCapacityProviders(const Aws::Vector< Aws::String > &value)
Definition: Cluster.h:753
void SetStatus(const Aws::String &value)
Definition: Cluster.h:240
bool StatisticsHasBeenSet() const
Definition: Cluster.h:461
Cluster & WithStatus(const char *value)
Definition: Cluster.h:330
void SetStatistics(Aws::Vector< KeyValuePair > &&value)
Definition: Cluster.h:483
Cluster & WithConfiguration(ClusterConfiguration &&value)
Definition: Cluster.h:185
void SetServiceConnectDefaults(ClusterServiceConnectDefaults &&value)
Definition: Cluster.h:1055
Cluster & AddDefaultCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
Definition: Cluster.h:840
Cluster & AddCapacityProviders(const Aws::String &value)
Definition: Cluster.h:773
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetCapacityProviders() const
Definition: Cluster.h:743
bool ClusterNameHasBeenSet() const
Definition: Cluster.h:124
const Aws::Vector< CapacityProviderStrategyItem > & GetDefaultCapacityProviderStrategy() const
Definition: Cluster.h:791
Cluster & AddSettings(ClusterSetting &&value)
Definition: Cluster.h:737
const Aws::String & GetAttachmentsStatus() const
Definition: Cluster.h:908
Cluster & WithRegisteredContainerInstancesCount(int value)
Definition: Cluster.h:359
void SetClusterArn(Aws::String &&value)
Definition: Cluster.h:81
const Aws::String & GetStatus() const
Definition: Cluster.h:204
Cluster & WithClusterName(const char *value)
Definition: Cluster.h:154
AWS_ECS_API Cluster(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(Aws::String &&value)
Definition: Cluster.h:258
Cluster & WithAttachmentsStatus(Aws::String &&value)
Definition: Cluster.h:968
void SetPendingTasksCount(int value)
Definition: Cluster.h:403
const Aws::Vector< KeyValuePair > & GetStatistics() const
Definition: Cluster.h:450
void SetAttachmentsStatus(const Aws::String &value)
Definition: Cluster.h:928
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector