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>
54 template <
typename IdT = Aws::String>
56 m_idHasBeenSet =
true;
57 m_id = std::forward<IdT>(value);
59 template <
typename IdT = Aws::String>
61 SetId(std::forward<IdT>(value));
72 template <
typename TaskSetArnT = Aws::String>
74 m_taskSetArnHasBeenSet =
true;
75 m_taskSetArn = std::forward<TaskSetArnT>(value);
77 template <
typename TaskSetArnT = Aws::String>
90 template <
typename ServiceArnT = Aws::String>
92 m_serviceArnHasBeenSet =
true;
93 m_serviceArn = std::forward<ServiceArnT>(value);
95 template <
typename ServiceArnT = Aws::String>
109 template <
typename ClusterArnT = Aws::String>
111 m_clusterArnHasBeenSet =
true;
112 m_clusterArn = std::forward<ClusterArnT>(value);
114 template <
typename ClusterArnT = Aws::String>
130 template <
typename StartedByT = Aws::String>
132 m_startedByHasBeenSet =
true;
133 m_startedBy = std::forward<StartedByT>(value);
135 template <
typename StartedByT = Aws::String>
153 template <
typename ExternalIdT = Aws::String>
155 m_externalIdHasBeenSet =
true;
156 m_externalId = std::forward<ExternalIdT>(value);
158 template <
typename ExternalIdT = Aws::String>
176 template <
typename StatusT = Aws::String>
178 m_statusHasBeenSet =
true;
179 m_status = std::forward<StatusT>(value);
181 template <
typename StatusT = Aws::String>
194 template <
typename TaskDefinitionT = Aws::String>
196 m_taskDefinitionHasBeenSet =
true;
197 m_taskDefinition = std::forward<TaskDefinitionT>(value);
199 template <
typename TaskDefinitionT = Aws::String>
216 m_computedDesiredCountHasBeenSet =
true;
217 m_computedDesiredCount = value;
236 m_pendingCountHasBeenSet =
true;
237 m_pendingCount = value;
254 m_runningCountHasBeenSet =
true;
255 m_runningCount = value;
269 template <
typename CreatedAtT = Aws::Utils::DateTime>
271 m_createdAtHasBeenSet =
true;
272 m_createdAt = std::forward<CreatedAtT>(value);
274 template <
typename CreatedAtT = Aws::Utils::DateTime>
287 template <
typename UpdatedAtT = Aws::Utils::DateTime>
289 m_updatedAtHasBeenSet =
true;
290 m_updatedAt = std::forward<UpdatedAtT>(value);
292 template <
typename UpdatedAtT = Aws::Utils::DateTime>
310 m_launchTypeHasBeenSet =
true;
311 m_launchType = value;
325 template <
typename CapacityProv
iderStrategyT = Aws::Vector<CapacityProv
iderStrategyItem>>
327 m_capacityProviderStrategyHasBeenSet =
true;
328 m_capacityProviderStrategy = std::forward<CapacityProviderStrategyT>(value);
330 template <
typename CapacityProv
iderStrategyT = Aws::Vector<CapacityProv
iderStrategyItem>>
335 template <
typename CapacityProv
iderStrategyT = CapacityProv
iderStrategyItem>
337 m_capacityProviderStrategyHasBeenSet =
true;
338 m_capacityProviderStrategy.emplace_back(std::forward<CapacityProviderStrategyT>(value));
354 template <
typename PlatformVersionT = Aws::String>
356 m_platformVersionHasBeenSet =
true;
357 m_platformVersion = std::forward<PlatformVersionT>(value);
359 template <
typename PlatformVersionT = Aws::String>
374 template <
typename PlatformFamilyT = Aws::String>
376 m_platformFamilyHasBeenSet =
true;
377 m_platformFamily = std::forward<PlatformFamilyT>(value);
379 template <
typename PlatformFamilyT = Aws::String>
392 template <
typename NetworkConfigurationT = NetworkConfiguration>
394 m_networkConfigurationHasBeenSet =
true;
395 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
397 template <
typename NetworkConfigurationT = NetworkConfiguration>
410 template <
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
412 m_loadBalancersHasBeenSet =
true;
413 m_loadBalancers = std::forward<LoadBalancersT>(value);
415 template <
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
420 template <
typename LoadBalancersT = LoadBalancer>
422 m_loadBalancersHasBeenSet =
true;
423 m_loadBalancers.emplace_back(std::forward<LoadBalancersT>(value));
437 template <
typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
439 m_serviceRegistriesHasBeenSet =
true;
440 m_serviceRegistries = std::forward<ServiceRegistriesT>(value);
442 template <
typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
447 template <
typename ServiceRegistriesT = ServiceRegistry>
449 m_serviceRegistriesHasBeenSet =
true;
450 m_serviceRegistries.emplace_back(std::forward<ServiceRegistriesT>(value));
462 template <
typename ScaleT = Scale>
464 m_scaleHasBeenSet =
true;
465 m_scale = std::forward<ScaleT>(value);
467 template <
typename ScaleT = Scale>
469 SetScale(std::forward<ScaleT>(value));
490 m_stabilityStatusHasBeenSet =
true;
491 m_stabilityStatus = value;
506 template <
typename StabilityStatusAtT = Aws::Utils::DateTime>
508 m_stabilityStatusAtHasBeenSet =
true;
509 m_stabilityStatusAt = std::forward<StabilityStatusAtT>(value);
511 template <
typename StabilityStatusAtT = Aws::Utils::DateTime>
539 template <
typename TagsT = Aws::Vector<Tag>>
541 m_tagsHasBeenSet =
true;
542 m_tags = std::forward<TagsT>(value);
544 template <
typename TagsT = Aws::Vector<Tag>>
546 SetTags(std::forward<TagsT>(value));
549 template <
typename TagsT = Tag>
551 m_tagsHasBeenSet =
true;
552 m_tags.emplace_back(std::forward<TagsT>(value));
563 template <
typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
565 m_fargateEphemeralStorageHasBeenSet =
true;
566 m_fargateEphemeralStorage = std::forward<FargateEphemeralStorageT>(value);
568 template <
typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
591 int m_computedDesiredCount{0};
593 int m_pendingCount{0};
595 int m_runningCount{0};
609 NetworkConfiguration m_networkConfiguration;
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;
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
bool StabilityStatusAtHasBeenSet() const
TaskSet & WithCapacityProviderStrategy(CapacityProviderStrategyT &&value)
bool TaskSetArnHasBeenSet() const
const NetworkConfiguration & GetNetworkConfiguration() const
TaskSet & WithStatus(StatusT &&value)
TaskSet & AddTags(TagsT &&value)
TaskSet & WithLoadBalancers(LoadBalancersT &&value)
TaskSet & WithStabilityStatus(StabilityStatus value)
void SetPlatformFamily(PlatformFamilyT &&value)
const Aws::String & GetStatus() const
void SetStabilityStatus(StabilityStatus value)
TaskSet & WithUpdatedAt(UpdatedAtT &&value)
void SetNetworkConfiguration(NetworkConfigurationT &&value)
const Aws::String & GetPlatformFamily() const
void SetCreatedAt(CreatedAtT &&value)
bool TaskDefinitionHasBeenSet() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetScale(ScaleT &&value)
TaskSet & WithPlatformFamily(PlatformFamilyT &&value)
int GetComputedDesiredCount() const
TaskSet & WithServiceArn(ServiceArnT &&value)
bool ExternalIdHasBeenSet() const
const Aws::String & GetServiceArn() const
bool LaunchTypeHasBeenSet() const
bool CreatedAtHasBeenSet() const
TaskSet & WithStartedBy(StartedByT &&value)
bool RunningCountHasBeenSet() const
TaskSet & WithId(IdT &&value)
const Aws::String & GetClusterArn() const
LaunchType GetLaunchType() const
AWS_ECS_API TaskSet(Aws::Utils::Json::JsonView jsonValue)
void SetRunningCount(int value)
TaskSet & WithLaunchType(LaunchType value)
void SetClusterArn(ClusterArnT &&value)
bool PlatformFamilyHasBeenSet() const
bool CapacityProviderStrategyHasBeenSet() const
int GetRunningCount() const
const Scale & GetScale() const
TaskSet & WithTags(TagsT &&value)
const DeploymentEphemeralStorage & GetFargateEphemeralStorage() const
bool StabilityStatusHasBeenSet() const
TaskSet & AddServiceRegistries(ServiceRegistriesT &&value)
bool ScaleHasBeenSet() const
bool ServiceArnHasBeenSet() const
bool StatusHasBeenSet() const
TaskSet & WithClusterArn(ClusterArnT &&value)
const Aws::String & GetPlatformVersion() const
TaskSet & WithNetworkConfiguration(NetworkConfigurationT &&value)
void SetServiceRegistries(ServiceRegistriesT &&value)
void SetStabilityStatusAt(StabilityStatusAtT &&value)
TaskSet & WithTaskSetArn(TaskSetArnT &&value)
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetFargateEphemeralStorage(FargateEphemeralStorageT &&value)
const Aws::Vector< Tag > & GetTags() const
int GetPendingCount() const
bool FargateEphemeralStorageHasBeenSet() const
bool StartedByHasBeenSet() const
const Aws::Utils::DateTime & GetStabilityStatusAt() const
AWS_ECS_API TaskSet & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskSet & WithStabilityStatusAt(StabilityStatusAtT &&value)
TaskSet & WithTaskDefinition(TaskDefinitionT &&value)
TaskSet & WithPendingCount(int value)
TaskSet & WithRunningCount(int value)
void SetPlatformVersion(PlatformVersionT &&value)
bool IdHasBeenSet() const
void SetComputedDesiredCount(int value)
void SetLoadBalancers(LoadBalancersT &&value)
bool ServiceRegistriesHasBeenSet() const
bool UpdatedAtHasBeenSet() const
void SetTags(TagsT &&value)
TaskSet & WithScale(ScaleT &&value)
TaskSet & WithComputedDesiredCount(int value)
const Aws::String & GetExternalId() const
void SetTaskDefinition(TaskDefinitionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetStartedBy() const
const Aws::Utils::DateTime & GetUpdatedAt() const
bool ClusterArnHasBeenSet() const
TaskSet & AddLoadBalancers(LoadBalancersT &&value)
void SetPendingCount(int value)
const Aws::String & GetTaskDefinition() const
TaskSet & WithPlatformVersion(PlatformVersionT &&value)
TaskSet & WithServiceRegistries(ServiceRegistriesT &&value)
void SetStartedBy(StartedByT &&value)
const Aws::String & GetTaskSetArn() const
void SetLaunchType(LaunchType value)
const Aws::String & GetId() const
bool TagsHasBeenSet() const
bool NetworkConfigurationHasBeenSet() const
const Aws::Vector< ServiceRegistry > & GetServiceRegistries() const
bool PendingCountHasBeenSet() const
void SetCapacityProviderStrategy(CapacityProviderStrategyT &&value)
bool PlatformVersionHasBeenSet() const
void SetServiceArn(ServiceArnT &&value)
TaskSet & WithExternalId(ExternalIdT &&value)
TaskSet & WithCreatedAt(CreatedAtT &&value)
void SetStatus(StatusT &&value)
bool LoadBalancersHasBeenSet() const
void SetExternalId(ExternalIdT &&value)
TaskSet & WithFargateEphemeralStorage(FargateEphemeralStorageT &&value)
bool ComputedDesiredCountHasBeenSet() const
StabilityStatus GetStabilityStatus() const
TaskSet & AddCapacityProviderStrategy(CapacityProviderStrategyT &&value)
void SetTaskSetArn(TaskSetArnT &&value)
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