AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
61 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
62 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
63 inline TaskSet& WithId(const Aws::String& value) { SetId(value); return *this;}
64 inline TaskSet& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
65 inline TaskSet& WithId(const char* value) { SetId(value); return *this;}
67
69
72 inline const Aws::String& GetTaskSetArn() const{ return m_taskSetArn; }
73 inline bool TaskSetArnHasBeenSet() const { return m_taskSetArnHasBeenSet; }
74 inline void SetTaskSetArn(const Aws::String& value) { m_taskSetArnHasBeenSet = true; m_taskSetArn = value; }
75 inline void SetTaskSetArn(Aws::String&& value) { m_taskSetArnHasBeenSet = true; m_taskSetArn = std::move(value); }
76 inline void SetTaskSetArn(const char* value) { m_taskSetArnHasBeenSet = true; m_taskSetArn.assign(value); }
77 inline TaskSet& WithTaskSetArn(const Aws::String& value) { SetTaskSetArn(value); return *this;}
78 inline TaskSet& WithTaskSetArn(Aws::String&& value) { SetTaskSetArn(std::move(value)); return *this;}
79 inline TaskSet& WithTaskSetArn(const char* value) { SetTaskSetArn(value); return *this;}
81
83
86 inline const Aws::String& GetServiceArn() const{ return m_serviceArn; }
87 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
88 inline void SetServiceArn(const Aws::String& value) { m_serviceArnHasBeenSet = true; m_serviceArn = value; }
89 inline void SetServiceArn(Aws::String&& value) { m_serviceArnHasBeenSet = true; m_serviceArn = std::move(value); }
90 inline void SetServiceArn(const char* value) { m_serviceArnHasBeenSet = true; m_serviceArn.assign(value); }
91 inline TaskSet& WithServiceArn(const Aws::String& value) { SetServiceArn(value); return *this;}
92 inline TaskSet& WithServiceArn(Aws::String&& value) { SetServiceArn(std::move(value)); return *this;}
93 inline TaskSet& WithServiceArn(const char* value) { SetServiceArn(value); return *this;}
95
97
101 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
102 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
103 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
104 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
105 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
106 inline TaskSet& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
107 inline TaskSet& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
108 inline TaskSet& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
110
112
118 inline const Aws::String& GetStartedBy() const{ return m_startedBy; }
119 inline bool StartedByHasBeenSet() const { return m_startedByHasBeenSet; }
120 inline void SetStartedBy(const Aws::String& value) { m_startedByHasBeenSet = true; m_startedBy = value; }
121 inline void SetStartedBy(Aws::String&& value) { m_startedByHasBeenSet = true; m_startedBy = std::move(value); }
122 inline void SetStartedBy(const char* value) { m_startedByHasBeenSet = true; m_startedBy.assign(value); }
123 inline TaskSet& WithStartedBy(const Aws::String& value) { SetStartedBy(value); return *this;}
124 inline TaskSet& WithStartedBy(Aws::String&& value) { SetStartedBy(std::move(value)); return *this;}
125 inline TaskSet& WithStartedBy(const char* value) { SetStartedBy(value); return *this;}
127
129
137 inline const Aws::String& GetExternalId() const{ return m_externalId; }
138 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
139 inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
140 inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
141 inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); }
142 inline TaskSet& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;}
143 inline TaskSet& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;}
144 inline TaskSet& WithExternalId(const char* value) { SetExternalId(value); return *this;}
146
148
156 inline const Aws::String& GetStatus() const{ return m_status; }
157 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
158 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
159 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
160 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
161 inline TaskSet& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
162 inline TaskSet& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
163 inline TaskSet& WithStatus(const char* value) { SetStatus(value); return *this;}
165
167
170 inline const Aws::String& GetTaskDefinition() const{ return m_taskDefinition; }
171 inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
172 inline void SetTaskDefinition(const Aws::String& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = value; }
173 inline void SetTaskDefinition(Aws::String&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::move(value); }
174 inline void SetTaskDefinition(const char* value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition.assign(value); }
175 inline TaskSet& WithTaskDefinition(const Aws::String& value) { SetTaskDefinition(value); return *this;}
176 inline TaskSet& WithTaskDefinition(Aws::String&& value) { SetTaskDefinition(std::move(value)); return *this;}
177 inline TaskSet& WithTaskDefinition(const char* value) { SetTaskDefinition(value); return *this;}
179
181
187 inline int GetComputedDesiredCount() const{ return m_computedDesiredCount; }
188 inline bool ComputedDesiredCountHasBeenSet() const { return m_computedDesiredCountHasBeenSet; }
189 inline void SetComputedDesiredCount(int value) { m_computedDesiredCountHasBeenSet = true; m_computedDesiredCount = value; }
190 inline TaskSet& WithComputedDesiredCount(int value) { SetComputedDesiredCount(value); return *this;}
192
194
201 inline int GetPendingCount() const{ return m_pendingCount; }
202 inline bool PendingCountHasBeenSet() const { return m_pendingCountHasBeenSet; }
203 inline void SetPendingCount(int value) { m_pendingCountHasBeenSet = true; m_pendingCount = value; }
204 inline TaskSet& WithPendingCount(int value) { SetPendingCount(value); return *this;}
206
208
213 inline int GetRunningCount() const{ return m_runningCount; }
214 inline bool RunningCountHasBeenSet() const { return m_runningCountHasBeenSet; }
215 inline void SetRunningCount(int value) { m_runningCountHasBeenSet = true; m_runningCount = value; }
216 inline TaskSet& WithRunningCount(int value) { SetRunningCount(value); return *this;}
218
220
223 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
224 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
225 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
226 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
227 inline TaskSet& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
228 inline TaskSet& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
230
232
235 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
236 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
237 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
238 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
239 inline TaskSet& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
240 inline TaskSet& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
242
244
251 inline const LaunchType& GetLaunchType() const{ return m_launchType; }
252 inline bool LaunchTypeHasBeenSet() const { return m_launchTypeHasBeenSet; }
253 inline void SetLaunchType(const LaunchType& value) { m_launchTypeHasBeenSet = true; m_launchType = value; }
254 inline void SetLaunchType(LaunchType&& value) { m_launchTypeHasBeenSet = true; m_launchType = std::move(value); }
255 inline TaskSet& WithLaunchType(const LaunchType& value) { SetLaunchType(value); return *this;}
256 inline TaskSet& WithLaunchType(LaunchType&& value) { SetLaunchType(std::move(value)); return *this;}
258
260
263 inline const Aws::Vector<CapacityProviderStrategyItem>& GetCapacityProviderStrategy() const{ return m_capacityProviderStrategy; }
264 inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; }
265 inline void SetCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = value; }
266 inline void SetCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = std::move(value); }
269 inline TaskSet& AddCapacityProviderStrategy(const CapacityProviderStrategyItem& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(value); return *this; }
270 inline TaskSet& AddCapacityProviderStrategy(CapacityProviderStrategyItem&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(std::move(value)); return *this; }
272
274
282 inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
283 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
284 inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
285 inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
286 inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
287 inline TaskSet& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
288 inline TaskSet& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
289 inline TaskSet& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
291
293
298 inline const Aws::String& GetPlatformFamily() const{ return m_platformFamily; }
299 inline bool PlatformFamilyHasBeenSet() const { return m_platformFamilyHasBeenSet; }
300 inline void SetPlatformFamily(const Aws::String& value) { m_platformFamilyHasBeenSet = true; m_platformFamily = value; }
301 inline void SetPlatformFamily(Aws::String&& value) { m_platformFamilyHasBeenSet = true; m_platformFamily = std::move(value); }
302 inline void SetPlatformFamily(const char* value) { m_platformFamilyHasBeenSet = true; m_platformFamily.assign(value); }
303 inline TaskSet& WithPlatformFamily(const Aws::String& value) { SetPlatformFamily(value); return *this;}
304 inline TaskSet& WithPlatformFamily(Aws::String&& value) { SetPlatformFamily(std::move(value)); return *this;}
305 inline TaskSet& WithPlatformFamily(const char* value) { SetPlatformFamily(value); return *this;}
307
309
312 inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; }
313 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
314 inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
315 inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
317 inline TaskSet& WithNetworkConfiguration(NetworkConfiguration&& value) { SetNetworkConfiguration(std::move(value)); return *this;}
319
321
324 inline const Aws::Vector<LoadBalancer>& GetLoadBalancers() const{ return m_loadBalancers; }
325 inline bool LoadBalancersHasBeenSet() const { return m_loadBalancersHasBeenSet; }
326 inline void SetLoadBalancers(const Aws::Vector<LoadBalancer>& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = value; }
327 inline void SetLoadBalancers(Aws::Vector<LoadBalancer>&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = std::move(value); }
328 inline TaskSet& WithLoadBalancers(const Aws::Vector<LoadBalancer>& value) { SetLoadBalancers(value); return *this;}
329 inline TaskSet& WithLoadBalancers(Aws::Vector<LoadBalancer>&& value) { SetLoadBalancers(std::move(value)); return *this;}
330 inline TaskSet& AddLoadBalancers(const LoadBalancer& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(value); return *this; }
331 inline TaskSet& AddLoadBalancers(LoadBalancer&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(std::move(value)); return *this; }
333
335
341 inline const Aws::Vector<ServiceRegistry>& GetServiceRegistries() const{ return m_serviceRegistries; }
342 inline bool ServiceRegistriesHasBeenSet() const { return m_serviceRegistriesHasBeenSet; }
343 inline void SetServiceRegistries(const Aws::Vector<ServiceRegistry>& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries = value; }
344 inline void SetServiceRegistries(Aws::Vector<ServiceRegistry>&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries = std::move(value); }
346 inline TaskSet& WithServiceRegistries(Aws::Vector<ServiceRegistry>&& value) { SetServiceRegistries(std::move(value)); return *this;}
347 inline TaskSet& AddServiceRegistries(const ServiceRegistry& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.push_back(value); return *this; }
348 inline TaskSet& AddServiceRegistries(ServiceRegistry&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.push_back(std::move(value)); return *this; }
350
352
356 inline const Scale& GetScale() const{ return m_scale; }
357 inline bool ScaleHasBeenSet() const { return m_scaleHasBeenSet; }
358 inline void SetScale(const Scale& value) { m_scaleHasBeenSet = true; m_scale = value; }
359 inline void SetScale(Scale&& value) { m_scaleHasBeenSet = true; m_scale = std::move(value); }
360 inline TaskSet& WithScale(const Scale& value) { SetScale(value); return *this;}
361 inline TaskSet& WithScale(Scale&& value) { SetScale(std::move(value)); return *this;}
363
365
377 inline const StabilityStatus& GetStabilityStatus() const{ return m_stabilityStatus; }
378 inline bool StabilityStatusHasBeenSet() const { return m_stabilityStatusHasBeenSet; }
379 inline void SetStabilityStatus(const StabilityStatus& value) { m_stabilityStatusHasBeenSet = true; m_stabilityStatus = value; }
380 inline void SetStabilityStatus(StabilityStatus&& value) { m_stabilityStatusHasBeenSet = true; m_stabilityStatus = std::move(value); }
381 inline TaskSet& WithStabilityStatus(const StabilityStatus& value) { SetStabilityStatus(value); return *this;}
382 inline TaskSet& WithStabilityStatus(StabilityStatus&& value) { SetStabilityStatus(std::move(value)); return *this;}
384
386
390 inline const Aws::Utils::DateTime& GetStabilityStatusAt() const{ return m_stabilityStatusAt; }
391 inline bool StabilityStatusAtHasBeenSet() const { return m_stabilityStatusAtHasBeenSet; }
392 inline void SetStabilityStatusAt(const Aws::Utils::DateTime& value) { m_stabilityStatusAtHasBeenSet = true; m_stabilityStatusAt = value; }
393 inline void SetStabilityStatusAt(Aws::Utils::DateTime&& value) { m_stabilityStatusAtHasBeenSet = true; m_stabilityStatusAt = std::move(value); }
394 inline TaskSet& WithStabilityStatusAt(const Aws::Utils::DateTime& value) { SetStabilityStatusAt(value); return *this;}
395 inline TaskSet& WithStabilityStatusAt(Aws::Utils::DateTime&& value) { SetStabilityStatusAt(std::move(value)); return *this;}
397
399
417 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
418 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
419 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
420 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
421 inline TaskSet& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
422 inline TaskSet& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
423 inline TaskSet& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
424 inline TaskSet& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
426
428
431 inline const DeploymentEphemeralStorage& GetFargateEphemeralStorage() const{ return m_fargateEphemeralStorage; }
432 inline bool FargateEphemeralStorageHasBeenSet() const { return m_fargateEphemeralStorageHasBeenSet; }
433 inline void SetFargateEphemeralStorage(const DeploymentEphemeralStorage& value) { m_fargateEphemeralStorageHasBeenSet = true; m_fargateEphemeralStorage = value; }
434 inline void SetFargateEphemeralStorage(DeploymentEphemeralStorage&& value) { m_fargateEphemeralStorageHasBeenSet = true; m_fargateEphemeralStorage = std::move(value); }
438 private:
439
440 Aws::String m_id;
441 bool m_idHasBeenSet = false;
442
443 Aws::String m_taskSetArn;
444 bool m_taskSetArnHasBeenSet = false;
445
446 Aws::String m_serviceArn;
447 bool m_serviceArnHasBeenSet = false;
448
449 Aws::String m_clusterArn;
450 bool m_clusterArnHasBeenSet = false;
451
452 Aws::String m_startedBy;
453 bool m_startedByHasBeenSet = false;
454
455 Aws::String m_externalId;
456 bool m_externalIdHasBeenSet = false;
457
458 Aws::String m_status;
459 bool m_statusHasBeenSet = false;
460
461 Aws::String m_taskDefinition;
462 bool m_taskDefinitionHasBeenSet = false;
463
464 int m_computedDesiredCount;
465 bool m_computedDesiredCountHasBeenSet = false;
466
467 int m_pendingCount;
468 bool m_pendingCountHasBeenSet = false;
469
470 int m_runningCount;
471 bool m_runningCountHasBeenSet = false;
472
473 Aws::Utils::DateTime m_createdAt;
474 bool m_createdAtHasBeenSet = false;
475
476 Aws::Utils::DateTime m_updatedAt;
477 bool m_updatedAtHasBeenSet = false;
478
479 LaunchType m_launchType;
480 bool m_launchTypeHasBeenSet = false;
481
482 Aws::Vector<CapacityProviderStrategyItem> m_capacityProviderStrategy;
483 bool m_capacityProviderStrategyHasBeenSet = false;
484
485 Aws::String m_platformVersion;
486 bool m_platformVersionHasBeenSet = false;
487
488 Aws::String m_platformFamily;
489 bool m_platformFamilyHasBeenSet = false;
490
491 NetworkConfiguration m_networkConfiguration;
492 bool m_networkConfigurationHasBeenSet = false;
493
494 Aws::Vector<LoadBalancer> m_loadBalancers;
495 bool m_loadBalancersHasBeenSet = false;
496
497 Aws::Vector<ServiceRegistry> m_serviceRegistries;
498 bool m_serviceRegistriesHasBeenSet = false;
499
500 Scale m_scale;
501 bool m_scaleHasBeenSet = false;
502
503 StabilityStatus m_stabilityStatus;
504 bool m_stabilityStatusHasBeenSet = false;
505
506 Aws::Utils::DateTime m_stabilityStatusAt;
507 bool m_stabilityStatusAtHasBeenSet = false;
508
509 Aws::Vector<Tag> m_tags;
510 bool m_tagsHasBeenSet = false;
511
512 DeploymentEphemeralStorage m_fargateEphemeralStorage;
513 bool m_fargateEphemeralStorageHasBeenSet = false;
514 };
515
516} // namespace Model
517} // namespace ECS
518} // namespace Aws
TaskSet & WithServiceArn(const char *value)
Definition TaskSet.h:93
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
Definition TaskSet.h:263
void SetId(const char *value)
Definition TaskSet.h:62
bool StabilityStatusAtHasBeenSet() const
Definition TaskSet.h:391
bool TaskSetArnHasBeenSet() const
Definition TaskSet.h:73
const NetworkConfiguration & GetNetworkConfiguration() const
Definition TaskSet.h:312
const Aws::String & GetStatus() const
Definition TaskSet.h:156
TaskSet & AddLoadBalancers(LoadBalancer &&value)
Definition TaskSet.h:331
const Aws::String & GetPlatformFamily() const
Definition TaskSet.h:298
TaskSet & WithLaunchType(LaunchType &&value)
Definition TaskSet.h:256
void SetExternalId(Aws::String &&value)
Definition TaskSet.h:140
bool TaskDefinitionHasBeenSet() const
Definition TaskSet.h:171
void SetPlatformVersion(const char *value)
Definition TaskSet.h:286
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNetworkConfiguration(NetworkConfiguration &&value)
Definition TaskSet.h:315
void SetNetworkConfiguration(const NetworkConfiguration &value)
Definition TaskSet.h:314
int GetComputedDesiredCount() const
Definition TaskSet.h:187
const StabilityStatus & GetStabilityStatus() const
Definition TaskSet.h:377
TaskSet & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
Definition TaskSet.h:269
void SetServiceArn(const Aws::String &value)
Definition TaskSet.h:88
void SetFargateEphemeralStorage(const DeploymentEphemeralStorage &value)
Definition TaskSet.h:433
TaskSet & WithExternalId(Aws::String &&value)
Definition TaskSet.h:143
TaskSet & WithPlatformFamily(const Aws::String &value)
Definition TaskSet.h:303
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition TaskSet.h:237
bool ExternalIdHasBeenSet() const
Definition TaskSet.h:138
TaskSet & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition TaskSet.h:240
const Aws::String & GetServiceArn() const
Definition TaskSet.h:86
void SetTaskSetArn(const Aws::String &value)
Definition TaskSet.h:74
TaskSet & WithClusterArn(Aws::String &&value)
Definition TaskSet.h:107
TaskSet & WithPlatformFamily(Aws::String &&value)
Definition TaskSet.h:304
TaskSet & WithFargateEphemeralStorage(DeploymentEphemeralStorage &&value)
Definition TaskSet.h:436
void SetExternalId(const char *value)
Definition TaskSet.h:141
bool LaunchTypeHasBeenSet() const
Definition TaskSet.h:252
void SetLaunchType(LaunchType &&value)
Definition TaskSet.h:254
bool CreatedAtHasBeenSet() const
Definition TaskSet.h:224
TaskSet & WithStartedBy(const char *value)
Definition TaskSet.h:125
void SetPlatformVersion(Aws::String &&value)
Definition TaskSet.h:285
bool RunningCountHasBeenSet() const
Definition TaskSet.h:214
void SetLaunchType(const LaunchType &value)
Definition TaskSet.h:253
void SetScale(const Scale &value)
Definition TaskSet.h:358
TaskSet & WithTaskSetArn(const char *value)
Definition TaskSet.h:79
const Aws::String & GetClusterArn() const
Definition TaskSet.h:101
TaskSet & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
Definition TaskSet.h:270
AWS_ECS_API TaskSet(Aws::Utils::Json::JsonView jsonValue)
void SetRunningCount(int value)
Definition TaskSet.h:215
TaskSet & WithStartedBy(const Aws::String &value)
Definition TaskSet.h:123
TaskSet & WithServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
Definition TaskSet.h:346
TaskSet & WithNetworkConfiguration(const NetworkConfiguration &value)
Definition TaskSet.h:316
bool PlatformFamilyHasBeenSet() const
Definition TaskSet.h:299
void SetStatus(const Aws::String &value)
Definition TaskSet.h:158
void SetStartedBy(Aws::String &&value)
Definition TaskSet.h:121
TaskSet & WithStatus(const char *value)
Definition TaskSet.h:163
void SetStabilityStatus(const StabilityStatus &value)
Definition TaskSet.h:379
bool CapacityProviderStrategyHasBeenSet() const
Definition TaskSet.h:264
void SetClusterArn(const char *value)
Definition TaskSet.h:105
int GetRunningCount() const
Definition TaskSet.h:213
void SetStartedBy(const Aws::String &value)
Definition TaskSet.h:120
const Scale & GetScale() const
Definition TaskSet.h:356
void SetId(Aws::String &&value)
Definition TaskSet.h:61
void SetPlatformFamily(Aws::String &&value)
Definition TaskSet.h:301
void SetTaskSetArn(Aws::String &&value)
Definition TaskSet.h:75
void SetServiceArn(const char *value)
Definition TaskSet.h:90
TaskSet & WithPlatformVersion(const Aws::String &value)
Definition TaskSet.h:287
void SetServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
Definition TaskSet.h:343
TaskSet & WithTaskDefinition(const Aws::String &value)
Definition TaskSet.h:175
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition TaskSet.h:226
const DeploymentEphemeralStorage & GetFargateEphemeralStorage() const
Definition TaskSet.h:431
bool StabilityStatusHasBeenSet() const
Definition TaskSet.h:378
bool ScaleHasBeenSet() const
Definition TaskSet.h:357
TaskSet & WithClusterArn(const char *value)
Definition TaskSet.h:108
bool ServiceArnHasBeenSet() const
Definition TaskSet.h:87
bool StatusHasBeenSet() const
Definition TaskSet.h:157
const Aws::String & GetPlatformVersion() const
Definition TaskSet.h:282
TaskSet & WithId(const char *value)
Definition TaskSet.h:65
void SetClusterArn(const Aws::String &value)
Definition TaskSet.h:103
TaskSet & WithExternalId(const Aws::String &value)
Definition TaskSet.h:142
TaskSet & WithTaskSetArn(Aws::String &&value)
Definition TaskSet.h:78
void SetScale(Scale &&value)
Definition TaskSet.h:359
void SetPlatformFamily(const char *value)
Definition TaskSet.h:302
TaskSet & WithServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
Definition TaskSet.h:345
void SetStatus(Aws::String &&value)
Definition TaskSet.h:159
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
Definition TaskSet.h:324
TaskSet & WithStabilityStatusAt(Aws::Utils::DateTime &&value)
Definition TaskSet.h:395
void SetStartedBy(const char *value)
Definition TaskSet.h:122
const Aws::Vector< Tag > & GetTags() const
Definition TaskSet.h:417
int GetPendingCount() const
Definition TaskSet.h:201
bool FargateEphemeralStorageHasBeenSet() const
Definition TaskSet.h:432
bool StartedByHasBeenSet() const
Definition TaskSet.h:119
const Aws::Utils::DateTime & GetStabilityStatusAt() const
Definition TaskSet.h:390
TaskSet & WithExternalId(const char *value)
Definition TaskSet.h:144
AWS_ECS_API TaskSet & operator=(Aws::Utils::Json::JsonView jsonValue)
const LaunchType & GetLaunchType() const
Definition TaskSet.h:251
TaskSet & WithTaskDefinition(Aws::String &&value)
Definition TaskSet.h:176
TaskSet & WithPlatformFamily(const char *value)
Definition TaskSet.h:305
TaskSet & WithStatus(Aws::String &&value)
Definition TaskSet.h:162
void SetServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
Definition TaskSet.h:344
TaskSet & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition TaskSet.h:228
TaskSet & WithScale(const Scale &value)
Definition TaskSet.h:360
TaskSet & WithPendingCount(int value)
Definition TaskSet.h:204
TaskSet & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition TaskSet.h:239
TaskSet & WithRunningCount(int value)
Definition TaskSet.h:216
bool IdHasBeenSet() const
Definition TaskSet.h:59
void SetTaskDefinition(const Aws::String &value)
Definition TaskSet.h:172
void SetComputedDesiredCount(int value)
Definition TaskSet.h:189
bool ServiceRegistriesHasBeenSet() const
Definition TaskSet.h:342
TaskSet & AddTags(const Tag &value)
Definition TaskSet.h:423
bool UpdatedAtHasBeenSet() const
Definition TaskSet.h:236
TaskSet & WithServiceArn(Aws::String &&value)
Definition TaskSet.h:92
TaskSet & WithStatus(const Aws::String &value)
Definition TaskSet.h:161
void SetStabilityStatusAt(Aws::Utils::DateTime &&value)
Definition TaskSet.h:393
void SetServiceArn(Aws::String &&value)
Definition TaskSet.h:89
TaskSet & WithLoadBalancers(const Aws::Vector< LoadBalancer > &value)
Definition TaskSet.h:328
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition TaskSet.h:265
TaskSet & WithScale(Scale &&value)
Definition TaskSet.h:361
void SetTags(const Aws::Vector< Tag > &value)
Definition TaskSet.h:419
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition TaskSet.h:225
TaskSet & WithComputedDesiredCount(int value)
Definition TaskSet.h:190
const Aws::String & GetExternalId() const
Definition TaskSet.h:137
const Aws::Utils::DateTime & GetCreatedAt() const
Definition TaskSet.h:223
const Aws::String & GetStartedBy() const
Definition TaskSet.h:118
void SetId(const Aws::String &value)
Definition TaskSet.h:60
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition TaskSet.h:235
bool ClusterArnHasBeenSet() const
Definition TaskSet.h:102
void SetTaskDefinition(Aws::String &&value)
Definition TaskSet.h:173
TaskSet & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition TaskSet.h:267
void SetTaskDefinition(const char *value)
Definition TaskSet.h:174
void SetClusterArn(Aws::String &&value)
Definition TaskSet.h:104
void SetPendingCount(int value)
Definition TaskSet.h:203
void SetPlatformVersion(const Aws::String &value)
Definition TaskSet.h:284
void SetLoadBalancers(Aws::Vector< LoadBalancer > &&value)
Definition TaskSet.h:327
TaskSet & WithNetworkConfiguration(NetworkConfiguration &&value)
Definition TaskSet.h:317
void SetExternalId(const Aws::String &value)
Definition TaskSet.h:139
void SetStabilityStatus(StabilityStatus &&value)
Definition TaskSet.h:380
TaskSet & WithLaunchType(const LaunchType &value)
Definition TaskSet.h:255
const Aws::String & GetTaskDefinition() const
Definition TaskSet.h:170
TaskSet & WithPlatformVersion(const char *value)
Definition TaskSet.h:289
void SetStabilityStatusAt(const Aws::Utils::DateTime &value)
Definition TaskSet.h:392
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
Definition TaskSet.h:266
TaskSet & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
Definition TaskSet.h:268
TaskSet & AddServiceRegistries(ServiceRegistry &&value)
Definition TaskSet.h:348
TaskSet & WithServiceArn(const Aws::String &value)
Definition TaskSet.h:91
TaskSet & WithLoadBalancers(Aws::Vector< LoadBalancer > &&value)
Definition TaskSet.h:329
const Aws::String & GetTaskSetArn() const
Definition TaskSet.h:72
void SetFargateEphemeralStorage(DeploymentEphemeralStorage &&value)
Definition TaskSet.h:434
const Aws::String & GetId() const
Definition TaskSet.h:58
TaskSet & WithPlatformVersion(Aws::String &&value)
Definition TaskSet.h:288
TaskSet & AddLoadBalancers(const LoadBalancer &value)
Definition TaskSet.h:330
bool TagsHasBeenSet() const
Definition TaskSet.h:418
TaskSet & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition TaskSet.h:227
bool NetworkConfigurationHasBeenSet() const
Definition TaskSet.h:313
const Aws::Vector< ServiceRegistry > & GetServiceRegistries() const
Definition TaskSet.h:341
bool PendingCountHasBeenSet() const
Definition TaskSet.h:202
TaskSet & AddTags(Tag &&value)
Definition TaskSet.h:424
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition TaskSet.h:238
TaskSet & WithClusterArn(const Aws::String &value)
Definition TaskSet.h:106
void SetTags(Aws::Vector< Tag > &&value)
Definition TaskSet.h:420
bool PlatformVersionHasBeenSet() const
Definition TaskSet.h:283
TaskSet & WithStartedBy(Aws::String &&value)
Definition TaskSet.h:124
TaskSet & WithStabilityStatusAt(const Aws::Utils::DateTime &value)
Definition TaskSet.h:394
TaskSet & AddServiceRegistries(const ServiceRegistry &value)
Definition TaskSet.h:347
void SetTaskSetArn(const char *value)
Definition TaskSet.h:76
void SetStatus(const char *value)
Definition TaskSet.h:160
bool LoadBalancersHasBeenSet() const
Definition TaskSet.h:325
TaskSet & WithStabilityStatus(StabilityStatus &&value)
Definition TaskSet.h:382
bool ComputedDesiredCountHasBeenSet() const
Definition TaskSet.h:188
TaskSet & WithStabilityStatus(const StabilityStatus &value)
Definition TaskSet.h:381
TaskSet & WithTags(const Aws::Vector< Tag > &value)
Definition TaskSet.h:421
void SetPlatformFamily(const Aws::String &value)
Definition TaskSet.h:300
void SetLoadBalancers(const Aws::Vector< LoadBalancer > &value)
Definition TaskSet.h:326
TaskSet & WithId(Aws::String &&value)
Definition TaskSet.h:64
TaskSet & WithTags(Aws::Vector< Tag > &&value)
Definition TaskSet.h:422
TaskSet & WithId(const Aws::String &value)
Definition TaskSet.h:63
TaskSet & WithTaskSetArn(const Aws::String &value)
Definition TaskSet.h:77
TaskSet & WithTaskDefinition(const char *value)
Definition TaskSet.h:177
TaskSet & WithFargateEphemeralStorage(const DeploymentEphemeralStorage &value)
Definition TaskSet.h:435
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue