AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TaskSet.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ecs/model/LaunchType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ecs/model/NetworkConfiguration.h>
13#include <aws/ecs/model/Scale.h>
14#include <aws/ecs/model/StabilityStatus.h>
15#include <aws/ecs/model/DeploymentEphemeralStorage.h>
16#include <aws/ecs/model/CapacityProviderStrategyItem.h>
17#include <aws/ecs/model/LoadBalancer.h>
18#include <aws/ecs/model/ServiceRegistry.h>
19#include <aws/ecs/model/Tag.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace ECS
33{
34namespace Model
35{
36
45 class TaskSet
46 {
47 public:
48 AWS_ECS_API TaskSet() = default;
49 AWS_ECS_API TaskSet(Aws::Utils::Json::JsonView jsonValue);
52
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template<typename IdT = Aws::String>
61 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
62 template<typename IdT = Aws::String>
63 TaskSet& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_taskSetArnHasBeenSet = true; m_taskSetArn = std::forward<TaskSetArnT>(value); }
74 template<typename TaskSetArnT = Aws::String>
75 TaskSet& WithTaskSetArn(TaskSetArnT&& value) { SetTaskSetArn(std::forward<TaskSetArnT>(value)); return *this;}
77
79
82 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
83 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
84 template<typename ServiceArnT = Aws::String>
85 void SetServiceArn(ServiceArnT&& value) { m_serviceArnHasBeenSet = true; m_serviceArn = std::forward<ServiceArnT>(value); }
86 template<typename ServiceArnT = Aws::String>
87 TaskSet& WithServiceArn(ServiceArnT&& value) { SetServiceArn(std::forward<ServiceArnT>(value)); return *this;}
89
91
95 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
96 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
97 template<typename ClusterArnT = Aws::String>
98 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
99 template<typename ClusterArnT = Aws::String>
100 TaskSet& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
102
104
110 inline const Aws::String& GetStartedBy() const { return m_startedBy; }
111 inline bool StartedByHasBeenSet() const { return m_startedByHasBeenSet; }
112 template<typename StartedByT = Aws::String>
113 void SetStartedBy(StartedByT&& value) { m_startedByHasBeenSet = true; m_startedBy = std::forward<StartedByT>(value); }
114 template<typename StartedByT = Aws::String>
115 TaskSet& WithStartedBy(StartedByT&& value) { SetStartedBy(std::forward<StartedByT>(value)); return *this;}
117
119
127 inline const Aws::String& GetExternalId() const { return m_externalId; }
128 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
129 template<typename ExternalIdT = Aws::String>
130 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet = true; m_externalId = std::forward<ExternalIdT>(value); }
131 template<typename ExternalIdT = Aws::String>
132 TaskSet& WithExternalId(ExternalIdT&& value) { SetExternalId(std::forward<ExternalIdT>(value)); return *this;}
134
136
144 inline const Aws::String& GetStatus() const { return m_status; }
145 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
146 template<typename StatusT = Aws::String>
147 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
148 template<typename StatusT = Aws::String>
149 TaskSet& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
151
153
156 inline const Aws::String& GetTaskDefinition() const { return m_taskDefinition; }
157 inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
158 template<typename TaskDefinitionT = Aws::String>
159 void SetTaskDefinition(TaskDefinitionT&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::forward<TaskDefinitionT>(value); }
160 template<typename TaskDefinitionT = Aws::String>
161 TaskSet& WithTaskDefinition(TaskDefinitionT&& value) { SetTaskDefinition(std::forward<TaskDefinitionT>(value)); return *this;}
163
165
171 inline int GetComputedDesiredCount() const { return m_computedDesiredCount; }
172 inline bool ComputedDesiredCountHasBeenSet() const { return m_computedDesiredCountHasBeenSet; }
173 inline void SetComputedDesiredCount(int value) { m_computedDesiredCountHasBeenSet = true; m_computedDesiredCount = value; }
174 inline TaskSet& WithComputedDesiredCount(int value) { SetComputedDesiredCount(value); return *this;}
176
178
185 inline int GetPendingCount() const { return m_pendingCount; }
186 inline bool PendingCountHasBeenSet() const { return m_pendingCountHasBeenSet; }
187 inline void SetPendingCount(int value) { m_pendingCountHasBeenSet = true; m_pendingCount = value; }
188 inline TaskSet& WithPendingCount(int value) { SetPendingCount(value); return *this;}
190
192
197 inline int GetRunningCount() const { return m_runningCount; }
198 inline bool RunningCountHasBeenSet() const { return m_runningCountHasBeenSet; }
199 inline void SetRunningCount(int value) { m_runningCountHasBeenSet = true; m_runningCount = value; }
200 inline TaskSet& WithRunningCount(int value) { SetRunningCount(value); return *this;}
202
204
207 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
208 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
209 template<typename CreatedAtT = Aws::Utils::DateTime>
210 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
211 template<typename CreatedAtT = Aws::Utils::DateTime>
212 TaskSet& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
214
216
219 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
220 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
221 template<typename UpdatedAtT = Aws::Utils::DateTime>
222 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
223 template<typename UpdatedAtT = Aws::Utils::DateTime>
224 TaskSet& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
226
228
235 inline LaunchType GetLaunchType() const { return m_launchType; }
236 inline bool LaunchTypeHasBeenSet() const { return m_launchTypeHasBeenSet; }
237 inline void SetLaunchType(LaunchType value) { m_launchTypeHasBeenSet = true; m_launchType = value; }
238 inline TaskSet& WithLaunchType(LaunchType value) { SetLaunchType(value); return *this;}
240
242
245 inline const Aws::Vector<CapacityProviderStrategyItem>& GetCapacityProviderStrategy() const { return m_capacityProviderStrategy; }
246 inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; }
247 template<typename CapacityProviderStrategyT = Aws::Vector<CapacityProviderStrategyItem>>
248 void SetCapacityProviderStrategy(CapacityProviderStrategyT&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = std::forward<CapacityProviderStrategyT>(value); }
249 template<typename CapacityProviderStrategyT = Aws::Vector<CapacityProviderStrategyItem>>
250 TaskSet& WithCapacityProviderStrategy(CapacityProviderStrategyT&& value) { SetCapacityProviderStrategy(std::forward<CapacityProviderStrategyT>(value)); return *this;}
251 template<typename CapacityProviderStrategyT = CapacityProviderStrategyItem>
252 TaskSet& AddCapacityProviderStrategy(CapacityProviderStrategyT&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.emplace_back(std::forward<CapacityProviderStrategyT>(value)); return *this; }
254
256
264 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
265 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
266 template<typename PlatformVersionT = Aws::String>
267 void SetPlatformVersion(PlatformVersionT&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::forward<PlatformVersionT>(value); }
268 template<typename PlatformVersionT = Aws::String>
269 TaskSet& WithPlatformVersion(PlatformVersionT&& value) { SetPlatformVersion(std::forward<PlatformVersionT>(value)); return *this;}
271
273
278 inline const Aws::String& GetPlatformFamily() const { return m_platformFamily; }
279 inline bool PlatformFamilyHasBeenSet() const { return m_platformFamilyHasBeenSet; }
280 template<typename PlatformFamilyT = Aws::String>
281 void SetPlatformFamily(PlatformFamilyT&& value) { m_platformFamilyHasBeenSet = true; m_platformFamily = std::forward<PlatformFamilyT>(value); }
282 template<typename PlatformFamilyT = Aws::String>
283 TaskSet& WithPlatformFamily(PlatformFamilyT&& value) { SetPlatformFamily(std::forward<PlatformFamilyT>(value)); return *this;}
285
287
290 inline const NetworkConfiguration& GetNetworkConfiguration() const { return m_networkConfiguration; }
291 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
292 template<typename NetworkConfigurationT = NetworkConfiguration>
293 void SetNetworkConfiguration(NetworkConfigurationT&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::forward<NetworkConfigurationT>(value); }
294 template<typename NetworkConfigurationT = NetworkConfiguration>
295 TaskSet& WithNetworkConfiguration(NetworkConfigurationT&& value) { SetNetworkConfiguration(std::forward<NetworkConfigurationT>(value)); return *this;}
297
299
302 inline const Aws::Vector<LoadBalancer>& GetLoadBalancers() const { return m_loadBalancers; }
303 inline bool LoadBalancersHasBeenSet() const { return m_loadBalancersHasBeenSet; }
304 template<typename LoadBalancersT = Aws::Vector<LoadBalancer>>
305 void SetLoadBalancers(LoadBalancersT&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = std::forward<LoadBalancersT>(value); }
306 template<typename LoadBalancersT = Aws::Vector<LoadBalancer>>
307 TaskSet& WithLoadBalancers(LoadBalancersT&& value) { SetLoadBalancers(std::forward<LoadBalancersT>(value)); return *this;}
308 template<typename LoadBalancersT = LoadBalancer>
309 TaskSet& AddLoadBalancers(LoadBalancersT&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.emplace_back(std::forward<LoadBalancersT>(value)); return *this; }
311
313
319 inline const Aws::Vector<ServiceRegistry>& GetServiceRegistries() const { return m_serviceRegistries; }
320 inline bool ServiceRegistriesHasBeenSet() const { return m_serviceRegistriesHasBeenSet; }
321 template<typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
322 void SetServiceRegistries(ServiceRegistriesT&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries = std::forward<ServiceRegistriesT>(value); }
323 template<typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
324 TaskSet& WithServiceRegistries(ServiceRegistriesT&& value) { SetServiceRegistries(std::forward<ServiceRegistriesT>(value)); return *this;}
325 template<typename ServiceRegistriesT = ServiceRegistry>
326 TaskSet& AddServiceRegistries(ServiceRegistriesT&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.emplace_back(std::forward<ServiceRegistriesT>(value)); return *this; }
328
330
334 inline const Scale& GetScale() const { return m_scale; }
335 inline bool ScaleHasBeenSet() const { return m_scaleHasBeenSet; }
336 template<typename ScaleT = Scale>
337 void SetScale(ScaleT&& value) { m_scaleHasBeenSet = true; m_scale = std::forward<ScaleT>(value); }
338 template<typename ScaleT = Scale>
339 TaskSet& WithScale(ScaleT&& value) { SetScale(std::forward<ScaleT>(value)); return *this;}
341
343
355 inline StabilityStatus GetStabilityStatus() const { return m_stabilityStatus; }
356 inline bool StabilityStatusHasBeenSet() const { return m_stabilityStatusHasBeenSet; }
357 inline void SetStabilityStatus(StabilityStatus value) { m_stabilityStatusHasBeenSet = true; m_stabilityStatus = value; }
358 inline TaskSet& WithStabilityStatus(StabilityStatus value) { SetStabilityStatus(value); return *this;}
360
362
366 inline const Aws::Utils::DateTime& GetStabilityStatusAt() const { return m_stabilityStatusAt; }
367 inline bool StabilityStatusAtHasBeenSet() const { return m_stabilityStatusAtHasBeenSet; }
368 template<typename StabilityStatusAtT = Aws::Utils::DateTime>
369 void SetStabilityStatusAt(StabilityStatusAtT&& value) { m_stabilityStatusAtHasBeenSet = true; m_stabilityStatusAt = std::forward<StabilityStatusAtT>(value); }
370 template<typename StabilityStatusAtT = Aws::Utils::DateTime>
371 TaskSet& WithStabilityStatusAt(StabilityStatusAtT&& value) { SetStabilityStatusAt(std::forward<StabilityStatusAtT>(value)); return *this;}
373
375
393 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
394 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
395 template<typename TagsT = Aws::Vector<Tag>>
396 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
397 template<typename TagsT = Aws::Vector<Tag>>
398 TaskSet& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
399 template<typename TagsT = Tag>
400 TaskSet& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
402
404
407 inline const DeploymentEphemeralStorage& GetFargateEphemeralStorage() const { return m_fargateEphemeralStorage; }
408 inline bool FargateEphemeralStorageHasBeenSet() const { return m_fargateEphemeralStorageHasBeenSet; }
409 template<typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
410 void SetFargateEphemeralStorage(FargateEphemeralStorageT&& value) { m_fargateEphemeralStorageHasBeenSet = true; m_fargateEphemeralStorage = std::forward<FargateEphemeralStorageT>(value); }
411 template<typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
412 TaskSet& WithFargateEphemeralStorage(FargateEphemeralStorageT&& value) { SetFargateEphemeralStorage(std::forward<FargateEphemeralStorageT>(value)); return *this;}
414 private:
415
416 Aws::String m_id;
417 bool m_idHasBeenSet = false;
418
419 Aws::String m_taskSetArn;
420 bool m_taskSetArnHasBeenSet = false;
421
422 Aws::String m_serviceArn;
423 bool m_serviceArnHasBeenSet = false;
424
425 Aws::String m_clusterArn;
426 bool m_clusterArnHasBeenSet = false;
427
428 Aws::String m_startedBy;
429 bool m_startedByHasBeenSet = false;
430
431 Aws::String m_externalId;
432 bool m_externalIdHasBeenSet = false;
433
434 Aws::String m_status;
435 bool m_statusHasBeenSet = false;
436
437 Aws::String m_taskDefinition;
438 bool m_taskDefinitionHasBeenSet = false;
439
440 int m_computedDesiredCount{0};
441 bool m_computedDesiredCountHasBeenSet = false;
442
443 int m_pendingCount{0};
444 bool m_pendingCountHasBeenSet = false;
445
446 int m_runningCount{0};
447 bool m_runningCountHasBeenSet = false;
448
449 Aws::Utils::DateTime m_createdAt{};
450 bool m_createdAtHasBeenSet = false;
451
452 Aws::Utils::DateTime m_updatedAt{};
453 bool m_updatedAtHasBeenSet = false;
454
455 LaunchType m_launchType{LaunchType::NOT_SET};
456 bool m_launchTypeHasBeenSet = false;
457
458 Aws::Vector<CapacityProviderStrategyItem> m_capacityProviderStrategy;
459 bool m_capacityProviderStrategyHasBeenSet = false;
460
461 Aws::String m_platformVersion;
462 bool m_platformVersionHasBeenSet = false;
463
464 Aws::String m_platformFamily;
465 bool m_platformFamilyHasBeenSet = false;
466
467 NetworkConfiguration m_networkConfiguration;
468 bool m_networkConfigurationHasBeenSet = false;
469
470 Aws::Vector<LoadBalancer> m_loadBalancers;
471 bool m_loadBalancersHasBeenSet = false;
472
473 Aws::Vector<ServiceRegistry> m_serviceRegistries;
474 bool m_serviceRegistriesHasBeenSet = false;
475
476 Scale m_scale;
477 bool m_scaleHasBeenSet = false;
478
479 StabilityStatus m_stabilityStatus{StabilityStatus::NOT_SET};
480 bool m_stabilityStatusHasBeenSet = false;
481
482 Aws::Utils::DateTime m_stabilityStatusAt{};
483 bool m_stabilityStatusAtHasBeenSet = false;
484
485 Aws::Vector<Tag> m_tags;
486 bool m_tagsHasBeenSet = false;
487
488 DeploymentEphemeralStorage m_fargateEphemeralStorage;
489 bool m_fargateEphemeralStorageHasBeenSet = false;
490 };
491
492} // namespace Model
493} // namespace ECS
494} // namespace Aws
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
Definition TaskSet.h:245
bool StabilityStatusAtHasBeenSet() const
Definition TaskSet.h:367
TaskSet & WithCapacityProviderStrategy(CapacityProviderStrategyT &&value)
Definition TaskSet.h:250
bool TaskSetArnHasBeenSet() const
Definition TaskSet.h:71
const NetworkConfiguration & GetNetworkConfiguration() const
Definition TaskSet.h:290
TaskSet & WithStatus(StatusT &&value)
Definition TaskSet.h:149
TaskSet & AddTags(TagsT &&value)
Definition TaskSet.h:400
TaskSet & WithLoadBalancers(LoadBalancersT &&value)
Definition TaskSet.h:307
TaskSet & WithStabilityStatus(StabilityStatus value)
Definition TaskSet.h:358
void SetPlatformFamily(PlatformFamilyT &&value)
Definition TaskSet.h:281
const Aws::String & GetStatus() const
Definition TaskSet.h:144
void SetStabilityStatus(StabilityStatus value)
Definition TaskSet.h:357
TaskSet & WithUpdatedAt(UpdatedAtT &&value)
Definition TaskSet.h:224
void SetNetworkConfiguration(NetworkConfigurationT &&value)
Definition TaskSet.h:293
const Aws::String & GetPlatformFamily() const
Definition TaskSet.h:278
void SetCreatedAt(CreatedAtT &&value)
Definition TaskSet.h:210
bool TaskDefinitionHasBeenSet() const
Definition TaskSet.h:157
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetScale(ScaleT &&value)
Definition TaskSet.h:337
TaskSet & WithPlatformFamily(PlatformFamilyT &&value)
Definition TaskSet.h:283
int GetComputedDesiredCount() const
Definition TaskSet.h:171
TaskSet & WithServiceArn(ServiceArnT &&value)
Definition TaskSet.h:87
bool ExternalIdHasBeenSet() const
Definition TaskSet.h:128
const Aws::String & GetServiceArn() const
Definition TaskSet.h:82
bool LaunchTypeHasBeenSet() const
Definition TaskSet.h:236
bool CreatedAtHasBeenSet() const
Definition TaskSet.h:208
TaskSet & WithStartedBy(StartedByT &&value)
Definition TaskSet.h:115
bool RunningCountHasBeenSet() const
Definition TaskSet.h:198
TaskSet & WithId(IdT &&value)
Definition TaskSet.h:63
const Aws::String & GetClusterArn() const
Definition TaskSet.h:95
LaunchType GetLaunchType() const
Definition TaskSet.h:235
AWS_ECS_API TaskSet(Aws::Utils::Json::JsonView jsonValue)
void SetRunningCount(int value)
Definition TaskSet.h:199
TaskSet & WithLaunchType(LaunchType value)
Definition TaskSet.h:238
void SetClusterArn(ClusterArnT &&value)
Definition TaskSet.h:98
bool PlatformFamilyHasBeenSet() const
Definition TaskSet.h:279
bool CapacityProviderStrategyHasBeenSet() const
Definition TaskSet.h:246
int GetRunningCount() const
Definition TaskSet.h:197
const Scale & GetScale() const
Definition TaskSet.h:334
void SetId(IdT &&value)
Definition TaskSet.h:61
TaskSet & WithTags(TagsT &&value)
Definition TaskSet.h:398
const DeploymentEphemeralStorage & GetFargateEphemeralStorage() const
Definition TaskSet.h:407
bool StabilityStatusHasBeenSet() const
Definition TaskSet.h:356
TaskSet & AddServiceRegistries(ServiceRegistriesT &&value)
Definition TaskSet.h:326
bool ScaleHasBeenSet() const
Definition TaskSet.h:335
bool ServiceArnHasBeenSet() const
Definition TaskSet.h:83
bool StatusHasBeenSet() const
Definition TaskSet.h:145
TaskSet & WithClusterArn(ClusterArnT &&value)
Definition TaskSet.h:100
const Aws::String & GetPlatformVersion() const
Definition TaskSet.h:264
TaskSet & WithNetworkConfiguration(NetworkConfigurationT &&value)
Definition TaskSet.h:295
void SetServiceRegistries(ServiceRegistriesT &&value)
Definition TaskSet.h:322
void SetStabilityStatusAt(StabilityStatusAtT &&value)
Definition TaskSet.h:369
TaskSet & WithTaskSetArn(TaskSetArnT &&value)
Definition TaskSet.h:75
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
Definition TaskSet.h:302
void SetUpdatedAt(UpdatedAtT &&value)
Definition TaskSet.h:222
void SetFargateEphemeralStorage(FargateEphemeralStorageT &&value)
Definition TaskSet.h:410
const Aws::Vector< Tag > & GetTags() const
Definition TaskSet.h:393
int GetPendingCount() const
Definition TaskSet.h:185
bool FargateEphemeralStorageHasBeenSet() const
Definition TaskSet.h:408
bool StartedByHasBeenSet() const
Definition TaskSet.h:111
const Aws::Utils::DateTime & GetStabilityStatusAt() const
Definition TaskSet.h:366
AWS_ECS_API TaskSet & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskSet & WithStabilityStatusAt(StabilityStatusAtT &&value)
Definition TaskSet.h:371
TaskSet & WithTaskDefinition(TaskDefinitionT &&value)
Definition TaskSet.h:161
TaskSet & WithPendingCount(int value)
Definition TaskSet.h:188
TaskSet & WithRunningCount(int value)
Definition TaskSet.h:200
void SetPlatformVersion(PlatformVersionT &&value)
Definition TaskSet.h:267
bool IdHasBeenSet() const
Definition TaskSet.h:59
void SetComputedDesiredCount(int value)
Definition TaskSet.h:173
void SetLoadBalancers(LoadBalancersT &&value)
Definition TaskSet.h:305
bool ServiceRegistriesHasBeenSet() const
Definition TaskSet.h:320
bool UpdatedAtHasBeenSet() const
Definition TaskSet.h:220
void SetTags(TagsT &&value)
Definition TaskSet.h:396
TaskSet & WithScale(ScaleT &&value)
Definition TaskSet.h:339
TaskSet & WithComputedDesiredCount(int value)
Definition TaskSet.h:174
const Aws::String & GetExternalId() const
Definition TaskSet.h:127
void SetTaskDefinition(TaskDefinitionT &&value)
Definition TaskSet.h:159
const Aws::Utils::DateTime & GetCreatedAt() const
Definition TaskSet.h:207
const Aws::String & GetStartedBy() const
Definition TaskSet.h:110
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition TaskSet.h:219
bool ClusterArnHasBeenSet() const
Definition TaskSet.h:96
TaskSet & AddLoadBalancers(LoadBalancersT &&value)
Definition TaskSet.h:309
void SetPendingCount(int value)
Definition TaskSet.h:187
const Aws::String & GetTaskDefinition() const
Definition TaskSet.h:156
TaskSet & WithPlatformVersion(PlatformVersionT &&value)
Definition TaskSet.h:269
TaskSet & WithServiceRegistries(ServiceRegistriesT &&value)
Definition TaskSet.h:324
void SetStartedBy(StartedByT &&value)
Definition TaskSet.h:113
const Aws::String & GetTaskSetArn() const
Definition TaskSet.h:70
void SetLaunchType(LaunchType value)
Definition TaskSet.h:237
const Aws::String & GetId() const
Definition TaskSet.h:58
bool TagsHasBeenSet() const
Definition TaskSet.h:394
bool NetworkConfigurationHasBeenSet() const
Definition TaskSet.h:291
const Aws::Vector< ServiceRegistry > & GetServiceRegistries() const
Definition TaskSet.h:319
bool PendingCountHasBeenSet() const
Definition TaskSet.h:186
void SetCapacityProviderStrategy(CapacityProviderStrategyT &&value)
Definition TaskSet.h:248
bool PlatformVersionHasBeenSet() const
Definition TaskSet.h:265
void SetServiceArn(ServiceArnT &&value)
Definition TaskSet.h:85
TaskSet & WithExternalId(ExternalIdT &&value)
Definition TaskSet.h:132
TaskSet & WithCreatedAt(CreatedAtT &&value)
Definition TaskSet.h:212
void SetStatus(StatusT &&value)
Definition TaskSet.h:147
bool LoadBalancersHasBeenSet() const
Definition TaskSet.h:303
void SetExternalId(ExternalIdT &&value)
Definition TaskSet.h:130
TaskSet & WithFargateEphemeralStorage(FargateEphemeralStorageT &&value)
Definition TaskSet.h:412
bool ComputedDesiredCountHasBeenSet() const
Definition TaskSet.h:172
StabilityStatus GetStabilityStatus() const
Definition TaskSet.h:355
TaskSet & AddCapacityProviderStrategy(CapacityProviderStrategyT &&value)
Definition TaskSet.h:252
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