/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of an Amazon ECS service deployment. This is used only when a
* service uses the ECS deployment controller type.See
* Also:
AWS API
* Reference
The ID of the deployment.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the deployment.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the deployment.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the deployment.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the deployment.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the deployment.
*/ inline Deployment& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the deployment.
*/ inline Deployment& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the deployment.
*/ inline Deployment& WithId(const char* value) { SetId(value); return *this;} /** *The status of the deployment. The following describes each state:
The most recent deployment of a service.
A service deployment that still has running tasks, but
* are in the process of being replaced with a new PRIMARY
* deployment.
A deployment that has been * completely replaced.
The status of the deployment. The following describes each state:
The most recent deployment of a service.
A service deployment that still has running tasks, but
* are in the process of being replaced with a new PRIMARY
* deployment.
A deployment that has been * completely replaced.
The status of the deployment. The following describes each state:
The most recent deployment of a service.
A service deployment that still has running tasks, but
* are in the process of being replaced with a new PRIMARY
* deployment.
A deployment that has been * completely replaced.
The status of the deployment. The following describes each state:
The most recent deployment of a service.
A service deployment that still has running tasks, but
* are in the process of being replaced with a new PRIMARY
* deployment.
A deployment that has been * completely replaced.
The status of the deployment. The following describes each state:
The most recent deployment of a service.
A service deployment that still has running tasks, but
* are in the process of being replaced with a new PRIMARY
* deployment.
A deployment that has been * completely replaced.
The status of the deployment. The following describes each state:
The most recent deployment of a service.
A service deployment that still has running tasks, but
* are in the process of being replaced with a new PRIMARY
* deployment.
A deployment that has been * completely replaced.
The status of the deployment. The following describes each state:
The most recent deployment of a service.
A service deployment that still has running tasks, but
* are in the process of being replaced with a new PRIMARY
* deployment.
A deployment that has been * completely replaced.
The status of the deployment. The following describes each state:
The most recent deployment of a service.
A service deployment that still has running tasks, but
* are in the process of being replaced with a new PRIMARY
* deployment.
A deployment that has been * completely replaced.
The most recent task definition that was specified for the tasks in the * service to use.
*/ inline const Aws::String& GetTaskDefinition() const{ return m_taskDefinition; } /** *The most recent task definition that was specified for the tasks in the * service to use.
*/ inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; } /** *The most recent task definition that was specified for the tasks in the * service to use.
*/ inline void SetTaskDefinition(const Aws::String& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = value; } /** *The most recent task definition that was specified for the tasks in the * service to use.
*/ inline void SetTaskDefinition(Aws::String&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::move(value); } /** *The most recent task definition that was specified for the tasks in the * service to use.
*/ inline void SetTaskDefinition(const char* value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition.assign(value); } /** *The most recent task definition that was specified for the tasks in the * service to use.
*/ inline Deployment& WithTaskDefinition(const Aws::String& value) { SetTaskDefinition(value); return *this;} /** *The most recent task definition that was specified for the tasks in the * service to use.
*/ inline Deployment& WithTaskDefinition(Aws::String&& value) { SetTaskDefinition(std::move(value)); return *this;} /** *The most recent task definition that was specified for the tasks in the * service to use.
*/ inline Deployment& WithTaskDefinition(const char* value) { SetTaskDefinition(value); return *this;} /** *The most recent desired count of tasks that was specified for the service to * deploy or maintain.
*/ inline int GetDesiredCount() const{ return m_desiredCount; } /** *The most recent desired count of tasks that was specified for the service to * deploy or maintain.
*/ inline bool DesiredCountHasBeenSet() const { return m_desiredCountHasBeenSet; } /** *The most recent desired count of tasks that was specified for the service to * deploy or maintain.
*/ inline void SetDesiredCount(int value) { m_desiredCountHasBeenSet = true; m_desiredCount = value; } /** *The most recent desired count of tasks that was specified for the service to * deploy or maintain.
*/ inline Deployment& WithDesiredCount(int value) { SetDesiredCount(value); return *this;} /** *The number of tasks in the deployment that are in the PENDING
* status.
The number of tasks in the deployment that are in the PENDING
* status.
The number of tasks in the deployment that are in the PENDING
* status.
The number of tasks in the deployment that are in the PENDING
* status.
The number of tasks in the deployment that are in the RUNNING
* status.
The number of tasks in the deployment that are in the RUNNING
* status.
The number of tasks in the deployment that are in the RUNNING
* status.
The number of tasks in the deployment that are in the RUNNING
* status.
The Unix timestamp for when the service deployment was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The Unix timestamp for when the service deployment was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The Unix timestamp for when the service deployment was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The Unix timestamp for when the service deployment was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The Unix timestamp for when the service deployment was created.
*/ inline Deployment& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The Unix timestamp for when the service deployment was created.
*/ inline Deployment& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The Unix timestamp for when the service deployment was last updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *The Unix timestamp for when the service deployment was last updated.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The Unix timestamp for when the service deployment was last updated.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The Unix timestamp for when the service deployment was last updated.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The Unix timestamp for when the service deployment was last updated.
*/ inline Deployment& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *The Unix timestamp for when the service deployment was last updated.
*/ inline Deployment& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} /** *The capacity provider strategy that the deployment is using.
*/ inline const Aws::VectorThe capacity provider strategy that the deployment is using.
*/ inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; } /** *The capacity provider strategy that the deployment is using.
*/ inline void SetCapacityProviderStrategy(const Aws::VectorThe capacity provider strategy that the deployment is using.
*/ inline void SetCapacityProviderStrategy(Aws::VectorThe capacity provider strategy that the deployment is using.
*/ inline Deployment& WithCapacityProviderStrategy(const Aws::VectorThe capacity provider strategy that the deployment is using.
*/ inline Deployment& WithCapacityProviderStrategy(Aws::VectorThe capacity provider strategy that the deployment is using.
*/ inline Deployment& AddCapacityProviderStrategy(const CapacityProviderStrategyItem& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(value); return *this; } /** *The capacity provider strategy that the deployment is using.
*/ inline Deployment& AddCapacityProviderStrategy(CapacityProviderStrategyItem&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(std::move(value)); return *this; } /** *The launch type the tasks in the service 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 service 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 service 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 service 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 service are using. For more information, see * Amazon * ECS Launch Types in the Amazon Elastic Container Service Developer * Guide.
*/ inline Deployment& WithLaunchType(const LaunchType& value) { SetLaunchType(value); return *this;} /** *The launch type the tasks in the service are using. For more information, see * Amazon * ECS Launch Types in the Amazon Elastic Container Service Developer * Guide.
*/ inline Deployment& WithLaunchType(LaunchType&& value) { SetLaunchType(std::move(value)); return *this;} /** *The platform version on which your tasks in the service are running. A
* platform version is only specified for tasks using the Fargate launch type. If
* one is not specified, the LATEST platform version is used by
* default. For more information, see AWS
* Fargate Platform Versions in the Amazon Elastic Container Service
* Developer Guide.
The platform version on which your tasks in the service are running. A
* platform version is only specified for tasks using the Fargate launch type. If
* one is not specified, the LATEST platform version is used by
* default. For more information, see AWS
* Fargate Platform Versions in the Amazon Elastic Container Service
* Developer Guide.
The platform version on which your tasks in the service are running. A
* platform version is only specified for tasks using the Fargate launch type. If
* one is not specified, the LATEST platform version is used by
* default. For more information, see AWS
* Fargate Platform Versions in the Amazon Elastic Container Service
* Developer Guide.
The platform version on which your tasks in the service are running. A
* platform version is only specified for tasks using the Fargate launch type. If
* one is not specified, the LATEST platform version is used by
* default. For more information, see AWS
* Fargate Platform Versions in the Amazon Elastic Container Service
* Developer Guide.
The platform version on which your tasks in the service are running. A
* platform version is only specified for tasks using the Fargate launch type. If
* one is not specified, the LATEST platform version is used by
* default. For more information, see AWS
* Fargate Platform Versions in the Amazon Elastic Container Service
* Developer Guide.
The platform version on which your tasks in the service are running. A
* platform version is only specified for tasks using the Fargate launch type. If
* one is not specified, the LATEST platform version is used by
* default. For more information, see AWS
* Fargate Platform Versions in the Amazon Elastic Container Service
* Developer Guide.
The platform version on which your tasks in the service are running. A
* platform version is only specified for tasks using the Fargate launch type. If
* one is not specified, the LATEST platform version is used by
* default. For more information, see AWS
* Fargate Platform Versions in the Amazon Elastic Container Service
* Developer Guide.
The platform version on which your tasks in the service are running. A
* platform version is only specified for tasks using the Fargate launch type. If
* one is not specified, the LATEST platform version is used by
* default. For more information, see AWS
* Fargate Platform Versions in the Amazon Elastic Container Service
* Developer Guide.
The VPC subnet and security group configuration for tasks that receive their
* own elastic network interface by using the awsvpc networking
* mode.
The VPC subnet and security group configuration for tasks that receive their
* own elastic network interface by using the awsvpc networking
* mode.
The VPC subnet and security group configuration for tasks that receive their
* own elastic network interface by using the awsvpc networking
* mode.
The VPC subnet and security group configuration for tasks that receive their
* own elastic network interface by using the awsvpc networking
* mode.
The VPC subnet and security group configuration for tasks that receive their
* own elastic network interface by using the awsvpc networking
* mode.
The VPC subnet and security group configuration for tasks that receive their
* own elastic network interface by using the awsvpc networking
* mode.