/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a set of Amazon ECS tasks in either an CodeDeploy or an
* EXTERNAL
deployment. An Amazon ECS task set includes details such
* as the desired number of tasks, how many tasks are running, and whether the task
* set serves production traffic.See Also:
AWS API
* Reference
The ID of the task set.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the task set.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the task set.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the task set.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the task set.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the task set.
*/ inline TaskSet& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the task set.
*/ inline TaskSet& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the task set.
*/ inline TaskSet& WithId(const char* value) { SetId(value); return *this;} /** *The Amazon Resource Name (ARN) of the task set.
*/ inline const Aws::String& GetTaskSetArn() const{ return m_taskSetArn; } /** *The Amazon Resource Name (ARN) of the task set.
*/ inline bool TaskSetArnHasBeenSet() const { return m_taskSetArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the task set.
*/ inline void SetTaskSetArn(const Aws::String& value) { m_taskSetArnHasBeenSet = true; m_taskSetArn = value; } /** *The Amazon Resource Name (ARN) of the task set.
*/ inline void SetTaskSetArn(Aws::String&& value) { m_taskSetArnHasBeenSet = true; m_taskSetArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the task set.
*/ inline void SetTaskSetArn(const char* value) { m_taskSetArnHasBeenSet = true; m_taskSetArn.assign(value); } /** *The Amazon Resource Name (ARN) of the task set.
*/ inline TaskSet& WithTaskSetArn(const Aws::String& value) { SetTaskSetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the task set.
*/ inline TaskSet& WithTaskSetArn(Aws::String&& value) { SetTaskSetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the task set.
*/ inline TaskSet& WithTaskSetArn(const char* value) { SetTaskSetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the service the task set exists in.
*/ inline const Aws::String& GetServiceArn() const{ return m_serviceArn; } /** *The Amazon Resource Name (ARN) of the service the task set exists in.
*/ inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the service the task set exists in.
*/ inline void SetServiceArn(const Aws::String& value) { m_serviceArnHasBeenSet = true; m_serviceArn = value; } /** *The Amazon Resource Name (ARN) of the service the task set exists in.
*/ inline void SetServiceArn(Aws::String&& value) { m_serviceArnHasBeenSet = true; m_serviceArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the service the task set exists in.
*/ inline void SetServiceArn(const char* value) { m_serviceArnHasBeenSet = true; m_serviceArn.assign(value); } /** *The Amazon Resource Name (ARN) of the service the task set exists in.
*/ inline TaskSet& WithServiceArn(const Aws::String& value) { SetServiceArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the service the task set exists in.
*/ inline TaskSet& WithServiceArn(Aws::String&& value) { SetServiceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the service the task set exists in.
*/ inline TaskSet& WithServiceArn(const char* value) { SetServiceArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the cluster that the service that hosts the * task set exists in.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *The Amazon Resource Name (ARN) of the cluster that the service that hosts the * task set exists in.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the cluster that the service that hosts the * task set exists in.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** *The Amazon Resource Name (ARN) of the cluster that the service that hosts the * task set exists in.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the cluster that the service that hosts the * task set exists in.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** *The Amazon Resource Name (ARN) of the cluster that the service that hosts the * task set exists in.
*/ inline TaskSet& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the cluster that the service that hosts the * task set exists in.
*/ inline TaskSet& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the cluster that the service that hosts the * task set exists in.
*/ inline TaskSet& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** *The tag specified when a task set is started. If an CodeDeploy deployment
* created the task set, the startedBy
parameter is
* CODE_DEPLOY
. If an external deployment created the task set, the
* startedBy
field isn't used.
The tag specified when a task set is started. If an CodeDeploy deployment
* created the task set, the startedBy
parameter is
* CODE_DEPLOY
. If an external deployment created the task set, the
* startedBy
field isn't used.
The tag specified when a task set is started. If an CodeDeploy deployment
* created the task set, the startedBy
parameter is
* CODE_DEPLOY
. If an external deployment created the task set, the
* startedBy
field isn't used.
The tag specified when a task set is started. If an CodeDeploy deployment
* created the task set, the startedBy
parameter is
* CODE_DEPLOY
. If an external deployment created the task set, the
* startedBy
field isn't used.
The tag specified when a task set is started. If an CodeDeploy deployment
* created the task set, the startedBy
parameter is
* CODE_DEPLOY
. If an external deployment created the task set, the
* startedBy
field isn't used.
The tag specified when a task set is started. If an CodeDeploy deployment
* created the task set, the startedBy
parameter is
* CODE_DEPLOY
. If an external deployment created the task set, the
* startedBy
field isn't used.
The tag specified when a task set is started. If an CodeDeploy deployment
* created the task set, the startedBy
parameter is
* CODE_DEPLOY
. If an external deployment created the task set, the
* startedBy
field isn't used.
The tag specified when a task set is started. If an CodeDeploy deployment
* created the task set, the startedBy
parameter is
* CODE_DEPLOY
. If an external deployment created the task set, the
* startedBy
field isn't used.
The external ID associated with the task set.
If an CodeDeploy
* deployment created a task set, the externalId
parameter contains
* the CodeDeploy deployment ID.
If a task set is created for an external
* deployment and is associated with a service discovery registry, the
* externalId
parameter contains the
* ECS_TASK_SET_EXTERNAL_ID
Cloud Map attribute.
The external ID associated with the task set.
If an CodeDeploy
* deployment created a task set, the externalId
parameter contains
* the CodeDeploy deployment ID.
If a task set is created for an external
* deployment and is associated with a service discovery registry, the
* externalId
parameter contains the
* ECS_TASK_SET_EXTERNAL_ID
Cloud Map attribute.
The external ID associated with the task set.
If an CodeDeploy
* deployment created a task set, the externalId
parameter contains
* the CodeDeploy deployment ID.
If a task set is created for an external
* deployment and is associated with a service discovery registry, the
* externalId
parameter contains the
* ECS_TASK_SET_EXTERNAL_ID
Cloud Map attribute.
The external ID associated with the task set.
If an CodeDeploy
* deployment created a task set, the externalId
parameter contains
* the CodeDeploy deployment ID.
If a task set is created for an external
* deployment and is associated with a service discovery registry, the
* externalId
parameter contains the
* ECS_TASK_SET_EXTERNAL_ID
Cloud Map attribute.
The external ID associated with the task set.
If an CodeDeploy
* deployment created a task set, the externalId
parameter contains
* the CodeDeploy deployment ID.
If a task set is created for an external
* deployment and is associated with a service discovery registry, the
* externalId
parameter contains the
* ECS_TASK_SET_EXTERNAL_ID
Cloud Map attribute.
The external ID associated with the task set.
If an CodeDeploy
* deployment created a task set, the externalId
parameter contains
* the CodeDeploy deployment ID.
If a task set is created for an external
* deployment and is associated with a service discovery registry, the
* externalId
parameter contains the
* ECS_TASK_SET_EXTERNAL_ID
Cloud Map attribute.
The external ID associated with the task set.
If an CodeDeploy
* deployment created a task set, the externalId
parameter contains
* the CodeDeploy deployment ID.
If a task set is created for an external
* deployment and is associated with a service discovery registry, the
* externalId
parameter contains the
* ECS_TASK_SET_EXTERNAL_ID
Cloud Map attribute.
The external ID associated with the task set.
If an CodeDeploy
* deployment created a task set, the externalId
parameter contains
* the CodeDeploy deployment ID.
If a task set is created for an external
* deployment and is associated with a service discovery registry, the
* externalId
parameter contains the
* ECS_TASK_SET_EXTERNAL_ID
Cloud Map attribute.
The status of the task set. The following describes each state.
The task set is serving production traffic.
The task set isn't serving production traffic.
The tasks in the task set are being stopped, and their * corresponding targets are being deregistered from their target group.
The status of the task set. The following describes each state.
The task set is serving production traffic.
The task set isn't serving production traffic.
The tasks in the task set are being stopped, and their * corresponding targets are being deregistered from their target group.
The status of the task set. The following describes each state.
The task set is serving production traffic.
The task set isn't serving production traffic.
The tasks in the task set are being stopped, and their * corresponding targets are being deregistered from their target group.
The status of the task set. The following describes each state.
The task set is serving production traffic.
The task set isn't serving production traffic.
The tasks in the task set are being stopped, and their * corresponding targets are being deregistered from their target group.
The status of the task set. The following describes each state.
The task set is serving production traffic.
The task set isn't serving production traffic.
The tasks in the task set are being stopped, and their * corresponding targets are being deregistered from their target group.
The status of the task set. The following describes each state.
The task set is serving production traffic.
The task set isn't serving production traffic.
The tasks in the task set are being stopped, and their * corresponding targets are being deregistered from their target group.
The status of the task set. The following describes each state.
The task set is serving production traffic.
The task set isn't serving production traffic.
The tasks in the task set are being stopped, and their * corresponding targets are being deregistered from their target group.
The status of the task set. The following describes each state.
The task set is serving production traffic.
The task set isn't serving production traffic.
The tasks in the task set are being stopped, and their * corresponding targets are being deregistered from their target group.
The task definition that the task set is using.
*/ inline const Aws::String& GetTaskDefinition() const{ return m_taskDefinition; } /** *The task definition that the task set is using.
*/ inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; } /** *The task definition that the task set is using.
*/ inline void SetTaskDefinition(const Aws::String& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = value; } /** *The task definition that the task set is using.
*/ inline void SetTaskDefinition(Aws::String&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::move(value); } /** *The task definition that the task set is using.
*/ inline void SetTaskDefinition(const char* value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition.assign(value); } /** *The task definition that the task set is using.
*/ inline TaskSet& WithTaskDefinition(const Aws::String& value) { SetTaskDefinition(value); return *this;} /** *The task definition that the task set is using.
*/ inline TaskSet& WithTaskDefinition(Aws::String&& value) { SetTaskDefinition(std::move(value)); return *this;} /** *The task definition that the task set is using.
*/ inline TaskSet& WithTaskDefinition(const char* value) { SetTaskDefinition(value); return *this;} /** *The computed desired count for the task set. This is calculated by
* multiplying the service's desiredCount
by the task set's
* scale
percentage. The result is always rounded up. For example, if
* the computed desired count is 1.2, it rounds up to 2 tasks.
The computed desired count for the task set. This is calculated by
* multiplying the service's desiredCount
by the task set's
* scale
percentage. The result is always rounded up. For example, if
* the computed desired count is 1.2, it rounds up to 2 tasks.
The computed desired count for the task set. This is calculated by
* multiplying the service's desiredCount
by the task set's
* scale
percentage. The result is always rounded up. For example, if
* the computed desired count is 1.2, it rounds up to 2 tasks.
The computed desired count for the task set. This is calculated by
* multiplying the service's desiredCount
by the task set's
* scale
percentage. The result is always rounded up. For example, if
* the computed desired count is 1.2, it rounds up to 2 tasks.
The number of tasks in the task set that are in the PENDING
* status during a deployment. A task in the PENDING
state is
* preparing to enter the RUNNING
state. A task set enters the
* PENDING
status when it launches for the first time or when it's
* restarted after being in the STOPPED
state.
The number of tasks in the task set that are in the PENDING
* status during a deployment. A task in the PENDING
state is
* preparing to enter the RUNNING
state. A task set enters the
* PENDING
status when it launches for the first time or when it's
* restarted after being in the STOPPED
state.
The number of tasks in the task set that are in the PENDING
* status during a deployment. A task in the PENDING
state is
* preparing to enter the RUNNING
state. A task set enters the
* PENDING
status when it launches for the first time or when it's
* restarted after being in the STOPPED
state.
The number of tasks in the task set that are in the PENDING
* status during a deployment. A task in the PENDING
state is
* preparing to enter the RUNNING
state. A task set enters the
* PENDING
status when it launches for the first time or when it's
* restarted after being in the STOPPED
state.
The number of tasks in the task set that are in the RUNNING
* status during a deployment. A task in the RUNNING
state is running
* and ready for use.
The number of tasks in the task set that are in the RUNNING
* status during a deployment. A task in the RUNNING
state is running
* and ready for use.
The number of tasks in the task set that are in the RUNNING
* status during a deployment. A task in the RUNNING
state is running
* and ready for use.
The number of tasks in the task set that are in the RUNNING
* status during a deployment. A task in the RUNNING
state is running
* and ready for use.
The Unix timestamp for the time when the task set was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The Unix timestamp for the time when the task set was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The Unix timestamp for the time when the task set was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The Unix timestamp for the time when the task set was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The Unix timestamp for the time when the task set was created.
*/ inline TaskSet& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The Unix timestamp for the time when the task set was created.
*/ inline TaskSet& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The Unix timestamp for the time when the task set was last updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *The Unix timestamp for the time when the task set was last updated.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The Unix timestamp for the time when the task set was last updated.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The Unix timestamp for the time when the task set was last updated.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The Unix timestamp for the time when the task set was last updated.
*/ inline TaskSet& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *The Unix timestamp for the time when the task set was last updated.
*/ inline TaskSet& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} /** *The launch type the tasks in the task set are using. For more information, * see Amazon * ECS launch types in the Amazon Elastic Container Service Developer * Guide.
*/ inline const LaunchType& GetLaunchType() const{ return m_launchType; } /** *The launch type the tasks in the task set are using. For more information, * see Amazon * ECS launch types in the Amazon Elastic Container Service Developer * Guide.
*/ inline bool LaunchTypeHasBeenSet() const { return m_launchTypeHasBeenSet; } /** *The launch type the tasks in the task set are using. For more information, * see Amazon * ECS launch types in the Amazon Elastic Container Service Developer * Guide.
*/ inline void SetLaunchType(const LaunchType& value) { m_launchTypeHasBeenSet = true; m_launchType = value; } /** *The launch type the tasks in the task set are using. For more information, * see Amazon * ECS launch types in the Amazon Elastic Container Service Developer * Guide.
*/ inline void SetLaunchType(LaunchType&& value) { m_launchTypeHasBeenSet = true; m_launchType = std::move(value); } /** *The launch type the tasks in the task set are using. For more information, * see Amazon * ECS launch types in the Amazon Elastic Container Service Developer * Guide.
*/ inline TaskSet& WithLaunchType(const LaunchType& value) { SetLaunchType(value); return *this;} /** *The launch type the tasks in the task set are using. For more information, * see Amazon * ECS launch types in the Amazon Elastic Container Service Developer * Guide.
*/ inline TaskSet& WithLaunchType(LaunchType&& value) { SetLaunchType(std::move(value)); return *this;} /** *The capacity provider strategy that are associated with the task set.
*/ inline const Aws::VectorThe capacity provider strategy that are associated with the task set.
*/ inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; } /** *The capacity provider strategy that are associated with the task set.
*/ inline void SetCapacityProviderStrategy(const Aws::VectorThe capacity provider strategy that are associated with the task set.
*/ inline void SetCapacityProviderStrategy(Aws::VectorThe capacity provider strategy that are associated with the task set.
*/ inline TaskSet& WithCapacityProviderStrategy(const Aws::VectorThe capacity provider strategy that are associated with the task set.
*/ inline TaskSet& WithCapacityProviderStrategy(Aws::VectorThe capacity provider strategy that are associated with the task set.
*/ inline TaskSet& AddCapacityProviderStrategy(const CapacityProviderStrategyItem& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(value); return *this; } /** *The capacity provider strategy that are associated with the task set.
*/ inline TaskSet& AddCapacityProviderStrategy(CapacityProviderStrategyItem&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(std::move(value)); return *this; } /** *The Fargate platform version where the tasks in the task set are running. A * platform version is only specified for tasks run on Fargate. For more * information, see Fargate * platform versions in the Amazon Elastic Container Service Developer * Guide.
*/ inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; } /** *The Fargate platform version where the tasks in the task set are running. A * platform version is only specified for tasks run on Fargate. For more * information, see Fargate * platform versions in the Amazon Elastic Container Service Developer * Guide.
*/ inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; } /** *The Fargate platform version where the tasks in the task set are running. A * platform version is only specified for tasks run on Fargate. For more * information, see Fargate * platform versions in the Amazon Elastic Container Service Developer * Guide.
*/ inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; } /** *The Fargate platform version where the tasks in the task set are running. A * platform version is only specified for tasks run on Fargate. For more * information, see Fargate * platform versions in the Amazon Elastic Container Service Developer * Guide.
*/ inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); } /** *The Fargate platform version where the tasks in the task set are running. A * platform version is only specified for tasks run on Fargate. For more * information, see Fargate * platform versions in the Amazon Elastic Container Service Developer * Guide.
*/ inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); } /** *The Fargate platform version where the tasks in the task set are running. A * platform version is only specified for tasks run on Fargate. For more * information, see Fargate * platform versions in the Amazon Elastic Container Service Developer * Guide.
*/ inline TaskSet& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;} /** *The Fargate platform version where the tasks in the task set are running. A * platform version is only specified for tasks run on Fargate. For more * information, see Fargate * platform versions in the Amazon Elastic Container Service Developer * Guide.
*/ inline TaskSet& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;} /** *The Fargate platform version where the tasks in the task set are running. A * platform version is only specified for tasks run on Fargate. For more * information, see Fargate * platform versions in the Amazon Elastic Container Service Developer * Guide.
*/ inline TaskSet& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;} /** *The operating system that your tasks in the set are running on. A platform * family is specified only for tasks that use the Fargate launch type.
* All tasks in the set must have the same value.
*/ inline const Aws::String& GetPlatformFamily() const{ return m_platformFamily; } /** *The operating system that your tasks in the set are running on. A platform * family is specified only for tasks that use the Fargate launch type.
* All tasks in the set must have the same value.
*/ inline bool PlatformFamilyHasBeenSet() const { return m_platformFamilyHasBeenSet; } /** *The operating system that your tasks in the set are running on. A platform * family is specified only for tasks that use the Fargate launch type.
* All tasks in the set must have the same value.
*/ inline void SetPlatformFamily(const Aws::String& value) { m_platformFamilyHasBeenSet = true; m_platformFamily = value; } /** *The operating system that your tasks in the set are running on. A platform * family is specified only for tasks that use the Fargate launch type.
* All tasks in the set must have the same value.
*/ inline void SetPlatformFamily(Aws::String&& value) { m_platformFamilyHasBeenSet = true; m_platformFamily = std::move(value); } /** *The operating system that your tasks in the set are running on. A platform * family is specified only for tasks that use the Fargate launch type.
* All tasks in the set must have the same value.
*/ inline void SetPlatformFamily(const char* value) { m_platformFamilyHasBeenSet = true; m_platformFamily.assign(value); } /** *The operating system that your tasks in the set are running on. A platform * family is specified only for tasks that use the Fargate launch type.
* All tasks in the set must have the same value.
*/ inline TaskSet& WithPlatformFamily(const Aws::String& value) { SetPlatformFamily(value); return *this;} /** *The operating system that your tasks in the set are running on. A platform * family is specified only for tasks that use the Fargate launch type.
* All tasks in the set must have the same value.
*/ inline TaskSet& WithPlatformFamily(Aws::String&& value) { SetPlatformFamily(std::move(value)); return *this;} /** *The operating system that your tasks in the set are running on. A platform * family is specified only for tasks that use the Fargate launch type.
* All tasks in the set must have the same value.
*/ inline TaskSet& WithPlatformFamily(const char* value) { SetPlatformFamily(value); return *this;} /** *The network configuration for the task set.
*/ inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; } /** *The network configuration for the task set.
*/ inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; } /** *The network configuration for the task set.
*/ inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; } /** *The network configuration for the task set.
*/ inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); } /** *The network configuration for the task set.
*/ inline TaskSet& WithNetworkConfiguration(const NetworkConfiguration& value) { SetNetworkConfiguration(value); return *this;} /** *The network configuration for the task set.
*/ inline TaskSet& WithNetworkConfiguration(NetworkConfiguration&& value) { SetNetworkConfiguration(std::move(value)); return *this;} /** *Details on a load balancer that are used with a task set.
*/ inline const Aws::VectorDetails on a load balancer that are used with a task set.
*/ inline bool LoadBalancersHasBeenSet() const { return m_loadBalancersHasBeenSet; } /** *Details on a load balancer that are used with a task set.
*/ inline void SetLoadBalancers(const Aws::VectorDetails on a load balancer that are used with a task set.
*/ inline void SetLoadBalancers(Aws::VectorDetails on a load balancer that are used with a task set.
*/ inline TaskSet& WithLoadBalancers(const Aws::VectorDetails on a load balancer that are used with a task set.
*/ inline TaskSet& WithLoadBalancers(Aws::VectorDetails on a load balancer that are used with a task set.
*/ inline TaskSet& AddLoadBalancers(const LoadBalancer& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(value); return *this; } /** *Details on a load balancer that are used with a task set.
*/ inline TaskSet& AddLoadBalancers(LoadBalancer&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(std::move(value)); return *this; } /** *The details for the service discovery registries to assign to this task set. * For more information, see Service * discovery.
*/ inline const Aws::VectorThe details for the service discovery registries to assign to this task set. * For more information, see Service * discovery.
*/ inline bool ServiceRegistriesHasBeenSet() const { return m_serviceRegistriesHasBeenSet; } /** *The details for the service discovery registries to assign to this task set. * For more information, see Service * discovery.
*/ inline void SetServiceRegistries(const Aws::VectorThe details for the service discovery registries to assign to this task set. * For more information, see Service * discovery.
*/ inline void SetServiceRegistries(Aws::VectorThe details for the service discovery registries to assign to this task set. * For more information, see Service * discovery.
*/ inline TaskSet& WithServiceRegistries(const Aws::VectorThe details for the service discovery registries to assign to this task set. * For more information, see Service * discovery.
*/ inline TaskSet& WithServiceRegistries(Aws::VectorThe details for the service discovery registries to assign to this task set. * For more information, see Service * discovery.
*/ inline TaskSet& AddServiceRegistries(const ServiceRegistry& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.push_back(value); return *this; } /** *The details for the service discovery registries to assign to this task set. * For more information, see Service * discovery.
*/ inline TaskSet& AddServiceRegistries(ServiceRegistry&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.push_back(std::move(value)); return *this; } /** *A floating-point percentage of your desired number of tasks to place and keep * running in the task set.
*/ inline const Scale& GetScale() const{ return m_scale; } /** *A floating-point percentage of your desired number of tasks to place and keep * running in the task set.
*/ inline bool ScaleHasBeenSet() const { return m_scaleHasBeenSet; } /** *A floating-point percentage of your desired number of tasks to place and keep * running in the task set.
*/ inline void SetScale(const Scale& value) { m_scaleHasBeenSet = true; m_scale = value; } /** *A floating-point percentage of your desired number of tasks to place and keep * running in the task set.
*/ inline void SetScale(Scale&& value) { m_scaleHasBeenSet = true; m_scale = std::move(value); } /** *A floating-point percentage of your desired number of tasks to place and keep * running in the task set.
*/ inline TaskSet& WithScale(const Scale& value) { SetScale(value); return *this;} /** *A floating-point percentage of your desired number of tasks to place and keep * running in the task set.
*/ inline TaskSet& WithScale(Scale&& value) { SetScale(std::move(value)); return *this;} /** *The stability status. This indicates whether the task set has reached a
* steady state. If the following conditions are met, the task set are in
* STEADY_STATE
:
The task runningCount
* is equal to the computedDesiredCount
.
The
* pendingCount
is 0
.
There are no
* tasks that are running on container instances in the DRAINING
* status.
All tasks are reporting a healthy status from the load * balancers, service discovery, and container health checks.
If
* any of those conditions aren't met, the stability status returns
* STABILIZING
.
The stability status. This indicates whether the task set has reached a
* steady state. If the following conditions are met, the task set are in
* STEADY_STATE
:
The task runningCount
* is equal to the computedDesiredCount
.
The
* pendingCount
is 0
.
There are no
* tasks that are running on container instances in the DRAINING
* status.
All tasks are reporting a healthy status from the load * balancers, service discovery, and container health checks.
If
* any of those conditions aren't met, the stability status returns
* STABILIZING
.
The stability status. This indicates whether the task set has reached a
* steady state. If the following conditions are met, the task set are in
* STEADY_STATE
:
The task runningCount
* is equal to the computedDesiredCount
.
The
* pendingCount
is 0
.
There are no
* tasks that are running on container instances in the DRAINING
* status.
All tasks are reporting a healthy status from the load * balancers, service discovery, and container health checks.
If
* any of those conditions aren't met, the stability status returns
* STABILIZING
.
The stability status. This indicates whether the task set has reached a
* steady state. If the following conditions are met, the task set are in
* STEADY_STATE
:
The task runningCount
* is equal to the computedDesiredCount
.
The
* pendingCount
is 0
.
There are no
* tasks that are running on container instances in the DRAINING
* status.
All tasks are reporting a healthy status from the load * balancers, service discovery, and container health checks.
If
* any of those conditions aren't met, the stability status returns
* STABILIZING
.
The stability status. This indicates whether the task set has reached a
* steady state. If the following conditions are met, the task set are in
* STEADY_STATE
:
The task runningCount
* is equal to the computedDesiredCount
.
The
* pendingCount
is 0
.
There are no
* tasks that are running on container instances in the DRAINING
* status.
All tasks are reporting a healthy status from the load * balancers, service discovery, and container health checks.
If
* any of those conditions aren't met, the stability status returns
* STABILIZING
.
The stability status. This indicates whether the task set has reached a
* steady state. If the following conditions are met, the task set are in
* STEADY_STATE
:
The task runningCount
* is equal to the computedDesiredCount
.
The
* pendingCount
is 0
.
There are no
* tasks that are running on container instances in the DRAINING
* status.
All tasks are reporting a healthy status from the load * balancers, service discovery, and container health checks.
If
* any of those conditions aren't met, the stability status returns
* STABILIZING
.
The Unix timestamp for the time when the task set stability status was * retrieved.
*/ inline const Aws::Utils::DateTime& GetStabilityStatusAt() const{ return m_stabilityStatusAt; } /** *The Unix timestamp for the time when the task set stability status was * retrieved.
*/ inline bool StabilityStatusAtHasBeenSet() const { return m_stabilityStatusAtHasBeenSet; } /** *The Unix timestamp for the time when the task set stability status was * retrieved.
*/ inline void SetStabilityStatusAt(const Aws::Utils::DateTime& value) { m_stabilityStatusAtHasBeenSet = true; m_stabilityStatusAt = value; } /** *The Unix timestamp for the time when the task set stability status was * retrieved.
*/ inline void SetStabilityStatusAt(Aws::Utils::DateTime&& value) { m_stabilityStatusAtHasBeenSet = true; m_stabilityStatusAt = std::move(value); } /** *The Unix timestamp for the time when the task set stability status was * retrieved.
*/ inline TaskSet& WithStabilityStatusAt(const Aws::Utils::DateTime& value) { SetStabilityStatusAt(value); return *this;} /** *The Unix timestamp for the time when the task set stability status was * retrieved.
*/ inline TaskSet& WithStabilityStatusAt(Aws::Utils::DateTime&& value) { SetStabilityStatusAt(std::move(value)); return *this;} /** *The metadata that you apply to the task set to help you categorize and * organize them. Each tag consists of a key and an optional value. You define * both.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, * each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If * your tagging schema is used across multiple services and resources, remember * that other services may have restrictions on allowed characters. Generally * allowed characters are: letters, numbers, and spaces representable in UTF-8, and * the following characters: + - = . _ : / @.
Tag keys and values * are case-sensitive.
Do not use aws:
,
* AWS:
, or any upper or lowercase combination of such as a prefix for
* either keys or values as it is reserved for Amazon Web Services use. You cannot
* edit or delete tag keys or values with this prefix. Tags with this prefix do not
* count against your tags per resource limit.
The metadata that you apply to the task set to help you categorize and * organize them. Each tag consists of a key and an optional value. You define * both.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, * each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If * your tagging schema is used across multiple services and resources, remember * that other services may have restrictions on allowed characters. Generally * allowed characters are: letters, numbers, and spaces representable in UTF-8, and * the following characters: + - = . _ : / @.
Tag keys and values * are case-sensitive.
Do not use aws:
,
* AWS:
, or any upper or lowercase combination of such as a prefix for
* either keys or values as it is reserved for Amazon Web Services use. You cannot
* edit or delete tag keys or values with this prefix. Tags with this prefix do not
* count against your tags per resource limit.
The metadata that you apply to the task set to help you categorize and * organize them. Each tag consists of a key and an optional value. You define * both.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, * each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If * your tagging schema is used across multiple services and resources, remember * that other services may have restrictions on allowed characters. Generally * allowed characters are: letters, numbers, and spaces representable in UTF-8, and * the following characters: + - = . _ : / @.
Tag keys and values * are case-sensitive.
Do not use aws:
,
* AWS:
, or any upper or lowercase combination of such as a prefix for
* either keys or values as it is reserved for Amazon Web Services use. You cannot
* edit or delete tag keys or values with this prefix. Tags with this prefix do not
* count against your tags per resource limit.
The metadata that you apply to the task set to help you categorize and * organize them. Each tag consists of a key and an optional value. You define * both.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, * each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If * your tagging schema is used across multiple services and resources, remember * that other services may have restrictions on allowed characters. Generally * allowed characters are: letters, numbers, and spaces representable in UTF-8, and * the following characters: + - = . _ : / @.
Tag keys and values * are case-sensitive.
Do not use aws:
,
* AWS:
, or any upper or lowercase combination of such as a prefix for
* either keys or values as it is reserved for Amazon Web Services use. You cannot
* edit or delete tag keys or values with this prefix. Tags with this prefix do not
* count against your tags per resource limit.
The metadata that you apply to the task set to help you categorize and * organize them. Each tag consists of a key and an optional value. You define * both.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, * each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If * your tagging schema is used across multiple services and resources, remember * that other services may have restrictions on allowed characters. Generally * allowed characters are: letters, numbers, and spaces representable in UTF-8, and * the following characters: + - = . _ : / @.
Tag keys and values * are case-sensitive.
Do not use aws:
,
* AWS:
, or any upper or lowercase combination of such as a prefix for
* either keys or values as it is reserved for Amazon Web Services use. You cannot
* edit or delete tag keys or values with this prefix. Tags with this prefix do not
* count against your tags per resource limit.
The metadata that you apply to the task set to help you categorize and * organize them. Each tag consists of a key and an optional value. You define * both.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, * each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If * your tagging schema is used across multiple services and resources, remember * that other services may have restrictions on allowed characters. Generally * allowed characters are: letters, numbers, and spaces representable in UTF-8, and * the following characters: + - = . _ : / @.
Tag keys and values * are case-sensitive.
Do not use aws:
,
* AWS:
, or any upper or lowercase combination of such as a prefix for
* either keys or values as it is reserved for Amazon Web Services use. You cannot
* edit or delete tag keys or values with this prefix. Tags with this prefix do not
* count against your tags per resource limit.
The metadata that you apply to the task set to help you categorize and * organize them. Each tag consists of a key and an optional value. You define * both.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, * each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If * your tagging schema is used across multiple services and resources, remember * that other services may have restrictions on allowed characters. Generally * allowed characters are: letters, numbers, and spaces representable in UTF-8, and * the following characters: + - = . _ : / @.
Tag keys and values * are case-sensitive.
Do not use aws:
,
* AWS:
, or any upper or lowercase combination of such as a prefix for
* either keys or values as it is reserved for Amazon Web Services use. You cannot
* edit or delete tag keys or values with this prefix. Tags with this prefix do not
* count against your tags per resource limit.
The metadata that you apply to the task set to help you categorize and * organize them. Each tag consists of a key and an optional value. You define * both.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, * each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If * your tagging schema is used across multiple services and resources, remember * that other services may have restrictions on allowed characters. Generally * allowed characters are: letters, numbers, and spaces representable in UTF-8, and * the following characters: + - = . _ : / @.
Tag keys and values * are case-sensitive.
Do not use aws:
,
* AWS:
, or any upper or lowercase combination of such as a prefix for
* either keys or values as it is reserved for Amazon Web Services use. You cannot
* edit or delete tag keys or values with this prefix. Tags with this prefix do not
* count against your tags per resource limit.