AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TaskSet.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecs/ECS_EXPORTS.h>
11#include <aws/ecs/model/CapacityProviderStrategyItem.h>
12#include <aws/ecs/model/DeploymentEphemeralStorage.h>
13#include <aws/ecs/model/LaunchType.h>
14#include <aws/ecs/model/LoadBalancer.h>
15#include <aws/ecs/model/NetworkConfiguration.h>
16#include <aws/ecs/model/Scale.h>
17#include <aws/ecs/model/ServiceRegistry.h>
18#include <aws/ecs/model/StabilityStatus.h>
19#include <aws/ecs/model/Tag.h>
20
21#include <utility>
22
23namespace Aws {
24namespace Utils {
25namespace Json {
26class JsonValue;
27class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace ECS {
31namespace Model {
32
41class TaskSet {
42 public:
43 AWS_ECS_API TaskSet() = default;
44 AWS_ECS_API TaskSet(Aws::Utils::Json::JsonView jsonValue);
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
54 template <typename IdT = Aws::String>
55 void SetId(IdT&& value) {
56 m_idHasBeenSet = true;
57 m_id = std::forward<IdT>(value);
58 }
59 template <typename IdT = Aws::String>
60 TaskSet& WithId(IdT&& value) {
61 SetId(std::forward<IdT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetTaskSetArn() const { return m_taskSetArn; }
71 inline bool TaskSetArnHasBeenSet() const { return m_taskSetArnHasBeenSet; }
72 template <typename TaskSetArnT = Aws::String>
73 void SetTaskSetArn(TaskSetArnT&& value) {
74 m_taskSetArnHasBeenSet = true;
75 m_taskSetArn = std::forward<TaskSetArnT>(value);
76 }
77 template <typename TaskSetArnT = Aws::String>
78 TaskSet& WithTaskSetArn(TaskSetArnT&& value) {
79 SetTaskSetArn(std::forward<TaskSetArnT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
89 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
90 template <typename ServiceArnT = Aws::String>
91 void SetServiceArn(ServiceArnT&& value) {
92 m_serviceArnHasBeenSet = true;
93 m_serviceArn = std::forward<ServiceArnT>(value);
94 }
95 template <typename ServiceArnT = Aws::String>
96 TaskSet& WithServiceArn(ServiceArnT&& value) {
97 SetServiceArn(std::forward<ServiceArnT>(value));
98 return *this;
99 }
101
103
107 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
108 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
109 template <typename ClusterArnT = Aws::String>
110 void SetClusterArn(ClusterArnT&& value) {
111 m_clusterArnHasBeenSet = true;
112 m_clusterArn = std::forward<ClusterArnT>(value);
113 }
114 template <typename ClusterArnT = Aws::String>
115 TaskSet& WithClusterArn(ClusterArnT&& value) {
116 SetClusterArn(std::forward<ClusterArnT>(value));
117 return *this;
118 }
120
122
128 inline const Aws::String& GetStartedBy() const { return m_startedBy; }
129 inline bool StartedByHasBeenSet() const { return m_startedByHasBeenSet; }
130 template <typename StartedByT = Aws::String>
131 void SetStartedBy(StartedByT&& value) {
132 m_startedByHasBeenSet = true;
133 m_startedBy = std::forward<StartedByT>(value);
134 }
135 template <typename StartedByT = Aws::String>
136 TaskSet& WithStartedBy(StartedByT&& value) {
137 SetStartedBy(std::forward<StartedByT>(value));
138 return *this;
139 }
141
143
151 inline const Aws::String& GetExternalId() const { return m_externalId; }
152 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
153 template <typename ExternalIdT = Aws::String>
154 void SetExternalId(ExternalIdT&& value) {
155 m_externalIdHasBeenSet = true;
156 m_externalId = std::forward<ExternalIdT>(value);
157 }
158 template <typename ExternalIdT = Aws::String>
159 TaskSet& WithExternalId(ExternalIdT&& value) {
160 SetExternalId(std::forward<ExternalIdT>(value));
161 return *this;
162 }
164
166
174 inline const Aws::String& GetStatus() const { return m_status; }
175 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
176 template <typename StatusT = Aws::String>
177 void SetStatus(StatusT&& value) {
178 m_statusHasBeenSet = true;
179 m_status = std::forward<StatusT>(value);
180 }
181 template <typename StatusT = Aws::String>
182 TaskSet& WithStatus(StatusT&& value) {
183 SetStatus(std::forward<StatusT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::String& GetTaskDefinition() const { return m_taskDefinition; }
193 inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
194 template <typename TaskDefinitionT = Aws::String>
195 void SetTaskDefinition(TaskDefinitionT&& value) {
196 m_taskDefinitionHasBeenSet = true;
197 m_taskDefinition = std::forward<TaskDefinitionT>(value);
198 }
199 template <typename TaskDefinitionT = Aws::String>
200 TaskSet& WithTaskDefinition(TaskDefinitionT&& value) {
201 SetTaskDefinition(std::forward<TaskDefinitionT>(value));
202 return *this;
203 }
205
207
213 inline int GetComputedDesiredCount() const { return m_computedDesiredCount; }
214 inline bool ComputedDesiredCountHasBeenSet() const { return m_computedDesiredCountHasBeenSet; }
215 inline void SetComputedDesiredCount(int value) {
216 m_computedDesiredCountHasBeenSet = true;
217 m_computedDesiredCount = value;
218 }
221 return *this;
222 }
224
226
233 inline int GetPendingCount() const { return m_pendingCount; }
234 inline bool PendingCountHasBeenSet() const { return m_pendingCountHasBeenSet; }
235 inline void SetPendingCount(int value) {
236 m_pendingCountHasBeenSet = true;
237 m_pendingCount = value;
238 }
239 inline TaskSet& WithPendingCount(int value) {
240 SetPendingCount(value);
241 return *this;
242 }
244
246
251 inline int GetRunningCount() const { return m_runningCount; }
252 inline bool RunningCountHasBeenSet() const { return m_runningCountHasBeenSet; }
253 inline void SetRunningCount(int value) {
254 m_runningCountHasBeenSet = true;
255 m_runningCount = value;
256 }
257 inline TaskSet& WithRunningCount(int value) {
258 SetRunningCount(value);
259 return *this;
260 }
262
264
267 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
268 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
269 template <typename CreatedAtT = Aws::Utils::DateTime>
270 void SetCreatedAt(CreatedAtT&& value) {
271 m_createdAtHasBeenSet = true;
272 m_createdAt = std::forward<CreatedAtT>(value);
273 }
274 template <typename CreatedAtT = Aws::Utils::DateTime>
275 TaskSet& WithCreatedAt(CreatedAtT&& value) {
276 SetCreatedAt(std::forward<CreatedAtT>(value));
277 return *this;
278 }
280
282
285 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
286 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
287 template <typename UpdatedAtT = Aws::Utils::DateTime>
288 void SetUpdatedAt(UpdatedAtT&& value) {
289 m_updatedAtHasBeenSet = true;
290 m_updatedAt = std::forward<UpdatedAtT>(value);
291 }
292 template <typename UpdatedAtT = Aws::Utils::DateTime>
293 TaskSet& WithUpdatedAt(UpdatedAtT&& value) {
294 SetUpdatedAt(std::forward<UpdatedAtT>(value));
295 return *this;
296 }
298
300
307 inline LaunchType GetLaunchType() const { return m_launchType; }
308 inline bool LaunchTypeHasBeenSet() const { return m_launchTypeHasBeenSet; }
309 inline void SetLaunchType(LaunchType value) {
310 m_launchTypeHasBeenSet = true;
311 m_launchType = value;
312 }
314 SetLaunchType(value);
315 return *this;
316 }
318
320
323 inline const Aws::Vector<CapacityProviderStrategyItem>& GetCapacityProviderStrategy() const { return m_capacityProviderStrategy; }
324 inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; }
325 template <typename CapacityProviderStrategyT = Aws::Vector<CapacityProviderStrategyItem>>
326 void SetCapacityProviderStrategy(CapacityProviderStrategyT&& value) {
327 m_capacityProviderStrategyHasBeenSet = true;
328 m_capacityProviderStrategy = std::forward<CapacityProviderStrategyT>(value);
329 }
330 template <typename CapacityProviderStrategyT = Aws::Vector<CapacityProviderStrategyItem>>
331 TaskSet& WithCapacityProviderStrategy(CapacityProviderStrategyT&& value) {
332 SetCapacityProviderStrategy(std::forward<CapacityProviderStrategyT>(value));
333 return *this;
334 }
335 template <typename CapacityProviderStrategyT = CapacityProviderStrategyItem>
336 TaskSet& AddCapacityProviderStrategy(CapacityProviderStrategyT&& value) {
337 m_capacityProviderStrategyHasBeenSet = true;
338 m_capacityProviderStrategy.emplace_back(std::forward<CapacityProviderStrategyT>(value));
339 return *this;
340 }
342
344
352 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
353 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
354 template <typename PlatformVersionT = Aws::String>
355 void SetPlatformVersion(PlatformVersionT&& value) {
356 m_platformVersionHasBeenSet = true;
357 m_platformVersion = std::forward<PlatformVersionT>(value);
358 }
359 template <typename PlatformVersionT = Aws::String>
360 TaskSet& WithPlatformVersion(PlatformVersionT&& value) {
361 SetPlatformVersion(std::forward<PlatformVersionT>(value));
362 return *this;
363 }
365
367
372 inline const Aws::String& GetPlatformFamily() const { return m_platformFamily; }
373 inline bool PlatformFamilyHasBeenSet() const { return m_platformFamilyHasBeenSet; }
374 template <typename PlatformFamilyT = Aws::String>
375 void SetPlatformFamily(PlatformFamilyT&& value) {
376 m_platformFamilyHasBeenSet = true;
377 m_platformFamily = std::forward<PlatformFamilyT>(value);
378 }
379 template <typename PlatformFamilyT = Aws::String>
380 TaskSet& WithPlatformFamily(PlatformFamilyT&& value) {
381 SetPlatformFamily(std::forward<PlatformFamilyT>(value));
382 return *this;
383 }
385
387
390 inline const NetworkConfiguration& GetNetworkConfiguration() const { return m_networkConfiguration; }
391 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
392 template <typename NetworkConfigurationT = NetworkConfiguration>
393 void SetNetworkConfiguration(NetworkConfigurationT&& value) {
394 m_networkConfigurationHasBeenSet = true;
395 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
396 }
397 template <typename NetworkConfigurationT = NetworkConfiguration>
398 TaskSet& WithNetworkConfiguration(NetworkConfigurationT&& value) {
399 SetNetworkConfiguration(std::forward<NetworkConfigurationT>(value));
400 return *this;
401 }
403
405
408 inline const Aws::Vector<LoadBalancer>& GetLoadBalancers() const { return m_loadBalancers; }
409 inline bool LoadBalancersHasBeenSet() const { return m_loadBalancersHasBeenSet; }
410 template <typename LoadBalancersT = Aws::Vector<LoadBalancer>>
411 void SetLoadBalancers(LoadBalancersT&& value) {
412 m_loadBalancersHasBeenSet = true;
413 m_loadBalancers = std::forward<LoadBalancersT>(value);
414 }
415 template <typename LoadBalancersT = Aws::Vector<LoadBalancer>>
416 TaskSet& WithLoadBalancers(LoadBalancersT&& value) {
417 SetLoadBalancers(std::forward<LoadBalancersT>(value));
418 return *this;
419 }
420 template <typename LoadBalancersT = LoadBalancer>
421 TaskSet& AddLoadBalancers(LoadBalancersT&& value) {
422 m_loadBalancersHasBeenSet = true;
423 m_loadBalancers.emplace_back(std::forward<LoadBalancersT>(value));
424 return *this;
425 }
427
429
435 inline const Aws::Vector<ServiceRegistry>& GetServiceRegistries() const { return m_serviceRegistries; }
436 inline bool ServiceRegistriesHasBeenSet() const { return m_serviceRegistriesHasBeenSet; }
437 template <typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
438 void SetServiceRegistries(ServiceRegistriesT&& value) {
439 m_serviceRegistriesHasBeenSet = true;
440 m_serviceRegistries = std::forward<ServiceRegistriesT>(value);
441 }
442 template <typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
443 TaskSet& WithServiceRegistries(ServiceRegistriesT&& value) {
444 SetServiceRegistries(std::forward<ServiceRegistriesT>(value));
445 return *this;
446 }
447 template <typename ServiceRegistriesT = ServiceRegistry>
448 TaskSet& AddServiceRegistries(ServiceRegistriesT&& value) {
449 m_serviceRegistriesHasBeenSet = true;
450 m_serviceRegistries.emplace_back(std::forward<ServiceRegistriesT>(value));
451 return *this;
452 }
454
456
460 inline const Scale& GetScale() const { return m_scale; }
461 inline bool ScaleHasBeenSet() const { return m_scaleHasBeenSet; }
462 template <typename ScaleT = Scale>
463 void SetScale(ScaleT&& value) {
464 m_scaleHasBeenSet = true;
465 m_scale = std::forward<ScaleT>(value);
466 }
467 template <typename ScaleT = Scale>
468 TaskSet& WithScale(ScaleT&& value) {
469 SetScale(std::forward<ScaleT>(value));
470 return *this;
471 }
473
475
487 inline StabilityStatus GetStabilityStatus() const { return m_stabilityStatus; }
488 inline bool StabilityStatusHasBeenSet() const { return m_stabilityStatusHasBeenSet; }
490 m_stabilityStatusHasBeenSet = true;
491 m_stabilityStatus = value;
492 }
494 SetStabilityStatus(value);
495 return *this;
496 }
498
500
504 inline const Aws::Utils::DateTime& GetStabilityStatusAt() const { return m_stabilityStatusAt; }
505 inline bool StabilityStatusAtHasBeenSet() const { return m_stabilityStatusAtHasBeenSet; }
506 template <typename StabilityStatusAtT = Aws::Utils::DateTime>
507 void SetStabilityStatusAt(StabilityStatusAtT&& value) {
508 m_stabilityStatusAtHasBeenSet = true;
509 m_stabilityStatusAt = std::forward<StabilityStatusAtT>(value);
510 }
511 template <typename StabilityStatusAtT = Aws::Utils::DateTime>
512 TaskSet& WithStabilityStatusAt(StabilityStatusAtT&& value) {
513 SetStabilityStatusAt(std::forward<StabilityStatusAtT>(value));
514 return *this;
515 }
517
519
537 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
538 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
539 template <typename TagsT = Aws::Vector<Tag>>
540 void SetTags(TagsT&& value) {
541 m_tagsHasBeenSet = true;
542 m_tags = std::forward<TagsT>(value);
543 }
544 template <typename TagsT = Aws::Vector<Tag>>
545 TaskSet& WithTags(TagsT&& value) {
546 SetTags(std::forward<TagsT>(value));
547 return *this;
548 }
549 template <typename TagsT = Tag>
550 TaskSet& AddTags(TagsT&& value) {
551 m_tagsHasBeenSet = true;
552 m_tags.emplace_back(std::forward<TagsT>(value));
553 return *this;
554 }
556
558
561 inline const DeploymentEphemeralStorage& GetFargateEphemeralStorage() const { return m_fargateEphemeralStorage; }
562 inline bool FargateEphemeralStorageHasBeenSet() const { return m_fargateEphemeralStorageHasBeenSet; }
563 template <typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
564 void SetFargateEphemeralStorage(FargateEphemeralStorageT&& value) {
565 m_fargateEphemeralStorageHasBeenSet = true;
566 m_fargateEphemeralStorage = std::forward<FargateEphemeralStorageT>(value);
567 }
568 template <typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
569 TaskSet& WithFargateEphemeralStorage(FargateEphemeralStorageT&& value) {
570 SetFargateEphemeralStorage(std::forward<FargateEphemeralStorageT>(value));
571 return *this;
572 }
574 private:
575 Aws::String m_id;
576
577 Aws::String m_taskSetArn;
578
579 Aws::String m_serviceArn;
580
581 Aws::String m_clusterArn;
582
583 Aws::String m_startedBy;
584
585 Aws::String m_externalId;
586
587 Aws::String m_status;
588
589 Aws::String m_taskDefinition;
590
591 int m_computedDesiredCount{0};
592
593 int m_pendingCount{0};
594
595 int m_runningCount{0};
596
597 Aws::Utils::DateTime m_createdAt{};
598
599 Aws::Utils::DateTime m_updatedAt{};
600
601 LaunchType m_launchType{LaunchType::NOT_SET};
602
603 Aws::Vector<CapacityProviderStrategyItem> m_capacityProviderStrategy;
604
605 Aws::String m_platformVersion;
606
607 Aws::String m_platformFamily;
608
609 NetworkConfiguration m_networkConfiguration;
610
611 Aws::Vector<LoadBalancer> m_loadBalancers;
612
613 Aws::Vector<ServiceRegistry> m_serviceRegistries;
614
615 Scale m_scale;
616
617 StabilityStatus m_stabilityStatus{StabilityStatus::NOT_SET};
618
619 Aws::Utils::DateTime m_stabilityStatusAt{};
620
621 Aws::Vector<Tag> m_tags;
622
623 DeploymentEphemeralStorage m_fargateEphemeralStorage;
624 bool m_idHasBeenSet = false;
625 bool m_taskSetArnHasBeenSet = false;
626 bool m_serviceArnHasBeenSet = false;
627 bool m_clusterArnHasBeenSet = false;
628 bool m_startedByHasBeenSet = false;
629 bool m_externalIdHasBeenSet = false;
630 bool m_statusHasBeenSet = false;
631 bool m_taskDefinitionHasBeenSet = false;
632 bool m_computedDesiredCountHasBeenSet = false;
633 bool m_pendingCountHasBeenSet = false;
634 bool m_runningCountHasBeenSet = false;
635 bool m_createdAtHasBeenSet = false;
636 bool m_updatedAtHasBeenSet = false;
637 bool m_launchTypeHasBeenSet = false;
638 bool m_capacityProviderStrategyHasBeenSet = false;
639 bool m_platformVersionHasBeenSet = false;
640 bool m_platformFamilyHasBeenSet = false;
641 bool m_networkConfigurationHasBeenSet = false;
642 bool m_loadBalancersHasBeenSet = false;
643 bool m_serviceRegistriesHasBeenSet = false;
644 bool m_scaleHasBeenSet = false;
645 bool m_stabilityStatusHasBeenSet = false;
646 bool m_stabilityStatusAtHasBeenSet = false;
647 bool m_tagsHasBeenSet = false;
648 bool m_fargateEphemeralStorageHasBeenSet = false;
649};
650
651} // namespace Model
652} // namespace ECS
653} // namespace Aws
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
Definition TaskSet.h:323
bool StabilityStatusAtHasBeenSet() const
Definition TaskSet.h:505
TaskSet & WithCapacityProviderStrategy(CapacityProviderStrategyT &&value)
Definition TaskSet.h:331
bool TaskSetArnHasBeenSet() const
Definition TaskSet.h:71
const NetworkConfiguration & GetNetworkConfiguration() const
Definition TaskSet.h:390
TaskSet & WithStatus(StatusT &&value)
Definition TaskSet.h:182
TaskSet & AddTags(TagsT &&value)
Definition TaskSet.h:550
TaskSet & WithLoadBalancers(LoadBalancersT &&value)
Definition TaskSet.h:416
TaskSet & WithStabilityStatus(StabilityStatus value)
Definition TaskSet.h:493
void SetPlatformFamily(PlatformFamilyT &&value)
Definition TaskSet.h:375
const Aws::String & GetStatus() const
Definition TaskSet.h:174
void SetStabilityStatus(StabilityStatus value)
Definition TaskSet.h:489
TaskSet & WithUpdatedAt(UpdatedAtT &&value)
Definition TaskSet.h:293
void SetNetworkConfiguration(NetworkConfigurationT &&value)
Definition TaskSet.h:393
const Aws::String & GetPlatformFamily() const
Definition TaskSet.h:372
void SetCreatedAt(CreatedAtT &&value)
Definition TaskSet.h:270
bool TaskDefinitionHasBeenSet() const
Definition TaskSet.h:193
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetScale(ScaleT &&value)
Definition TaskSet.h:463
TaskSet & WithPlatformFamily(PlatformFamilyT &&value)
Definition TaskSet.h:380
int GetComputedDesiredCount() const
Definition TaskSet.h:213
TaskSet & WithServiceArn(ServiceArnT &&value)
Definition TaskSet.h:96
bool ExternalIdHasBeenSet() const
Definition TaskSet.h:152
const Aws::String & GetServiceArn() const
Definition TaskSet.h:88
bool LaunchTypeHasBeenSet() const
Definition TaskSet.h:308
bool CreatedAtHasBeenSet() const
Definition TaskSet.h:268
TaskSet & WithStartedBy(StartedByT &&value)
Definition TaskSet.h:136
bool RunningCountHasBeenSet() const
Definition TaskSet.h:252
TaskSet & WithId(IdT &&value)
Definition TaskSet.h:60
const Aws::String & GetClusterArn() const
Definition TaskSet.h:107
LaunchType GetLaunchType() const
Definition TaskSet.h:307
AWS_ECS_API TaskSet(Aws::Utils::Json::JsonView jsonValue)
void SetRunningCount(int value)
Definition TaskSet.h:253
TaskSet & WithLaunchType(LaunchType value)
Definition TaskSet.h:313
void SetClusterArn(ClusterArnT &&value)
Definition TaskSet.h:110
bool PlatformFamilyHasBeenSet() const
Definition TaskSet.h:373
bool CapacityProviderStrategyHasBeenSet() const
Definition TaskSet.h:324
int GetRunningCount() const
Definition TaskSet.h:251
const Scale & GetScale() const
Definition TaskSet.h:460
void SetId(IdT &&value)
Definition TaskSet.h:55
TaskSet & WithTags(TagsT &&value)
Definition TaskSet.h:545
const DeploymentEphemeralStorage & GetFargateEphemeralStorage() const
Definition TaskSet.h:561
bool StabilityStatusHasBeenSet() const
Definition TaskSet.h:488
TaskSet & AddServiceRegistries(ServiceRegistriesT &&value)
Definition TaskSet.h:448
bool ScaleHasBeenSet() const
Definition TaskSet.h:461
bool ServiceArnHasBeenSet() const
Definition TaskSet.h:89
bool StatusHasBeenSet() const
Definition TaskSet.h:175
TaskSet & WithClusterArn(ClusterArnT &&value)
Definition TaskSet.h:115
const Aws::String & GetPlatformVersion() const
Definition TaskSet.h:352
TaskSet & WithNetworkConfiguration(NetworkConfigurationT &&value)
Definition TaskSet.h:398
void SetServiceRegistries(ServiceRegistriesT &&value)
Definition TaskSet.h:438
void SetStabilityStatusAt(StabilityStatusAtT &&value)
Definition TaskSet.h:507
TaskSet & WithTaskSetArn(TaskSetArnT &&value)
Definition TaskSet.h:78
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
Definition TaskSet.h:408
void SetUpdatedAt(UpdatedAtT &&value)
Definition TaskSet.h:288
void SetFargateEphemeralStorage(FargateEphemeralStorageT &&value)
Definition TaskSet.h:564
const Aws::Vector< Tag > & GetTags() const
Definition TaskSet.h:537
int GetPendingCount() const
Definition TaskSet.h:233
bool FargateEphemeralStorageHasBeenSet() const
Definition TaskSet.h:562
bool StartedByHasBeenSet() const
Definition TaskSet.h:129
const Aws::Utils::DateTime & GetStabilityStatusAt() const
Definition TaskSet.h:504
AWS_ECS_API TaskSet & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskSet & WithStabilityStatusAt(StabilityStatusAtT &&value)
Definition TaskSet.h:512
TaskSet & WithTaskDefinition(TaskDefinitionT &&value)
Definition TaskSet.h:200
TaskSet & WithPendingCount(int value)
Definition TaskSet.h:239
TaskSet & WithRunningCount(int value)
Definition TaskSet.h:257
void SetPlatformVersion(PlatformVersionT &&value)
Definition TaskSet.h:355
bool IdHasBeenSet() const
Definition TaskSet.h:53
void SetComputedDesiredCount(int value)
Definition TaskSet.h:215
void SetLoadBalancers(LoadBalancersT &&value)
Definition TaskSet.h:411
bool ServiceRegistriesHasBeenSet() const
Definition TaskSet.h:436
bool UpdatedAtHasBeenSet() const
Definition TaskSet.h:286
void SetTags(TagsT &&value)
Definition TaskSet.h:540
TaskSet & WithScale(ScaleT &&value)
Definition TaskSet.h:468
TaskSet & WithComputedDesiredCount(int value)
Definition TaskSet.h:219
const Aws::String & GetExternalId() const
Definition TaskSet.h:151
void SetTaskDefinition(TaskDefinitionT &&value)
Definition TaskSet.h:195
const Aws::Utils::DateTime & GetCreatedAt() const
Definition TaskSet.h:267
const Aws::String & GetStartedBy() const
Definition TaskSet.h:128
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition TaskSet.h:285
bool ClusterArnHasBeenSet() const
Definition TaskSet.h:108
TaskSet & AddLoadBalancers(LoadBalancersT &&value)
Definition TaskSet.h:421
void SetPendingCount(int value)
Definition TaskSet.h:235
const Aws::String & GetTaskDefinition() const
Definition TaskSet.h:192
TaskSet & WithPlatformVersion(PlatformVersionT &&value)
Definition TaskSet.h:360
TaskSet & WithServiceRegistries(ServiceRegistriesT &&value)
Definition TaskSet.h:443
void SetStartedBy(StartedByT &&value)
Definition TaskSet.h:131
const Aws::String & GetTaskSetArn() const
Definition TaskSet.h:70
void SetLaunchType(LaunchType value)
Definition TaskSet.h:309
const Aws::String & GetId() const
Definition TaskSet.h:52
bool TagsHasBeenSet() const
Definition TaskSet.h:538
bool NetworkConfigurationHasBeenSet() const
Definition TaskSet.h:391
const Aws::Vector< ServiceRegistry > & GetServiceRegistries() const
Definition TaskSet.h:435
bool PendingCountHasBeenSet() const
Definition TaskSet.h:234
void SetCapacityProviderStrategy(CapacityProviderStrategyT &&value)
Definition TaskSet.h:326
bool PlatformVersionHasBeenSet() const
Definition TaskSet.h:353
void SetServiceArn(ServiceArnT &&value)
Definition TaskSet.h:91
TaskSet & WithExternalId(ExternalIdT &&value)
Definition TaskSet.h:159
TaskSet & WithCreatedAt(CreatedAtT &&value)
Definition TaskSet.h:275
void SetStatus(StatusT &&value)
Definition TaskSet.h:177
bool LoadBalancersHasBeenSet() const
Definition TaskSet.h:409
void SetExternalId(ExternalIdT &&value)
Definition TaskSet.h:154
TaskSet & WithFargateEphemeralStorage(FargateEphemeralStorageT &&value)
Definition TaskSet.h:569
bool ComputedDesiredCountHasBeenSet() const
Definition TaskSet.h:214
StabilityStatus GetStabilityStatus() const
Definition TaskSet.h:487
TaskSet & AddCapacityProviderStrategy(CapacityProviderStrategyT &&value)
Definition TaskSet.h:336
void SetTaskSetArn(TaskSetArnT &&value)
Definition TaskSet.h:73
AWS_ECS_API TaskSet()=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