/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A regional grouping of one or more container instances on which you can run
* task requests. Each account receives a default cluster the first time you use
* the Amazon ECS service, but you may also create other clusters. Clusters may
* contain more than one instance type simultaneously.See Also:
* AWS API
* Reference
The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains
* the arn:aws:ecs namespace, followed by the Region of the cluster,
* the AWS account ID of the cluster owner, the cluster namespace, and
* then the cluster name. For example,
* arn:aws:ecs:region:012345678910:cluster/test.
The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains
* the arn:aws:ecs namespace, followed by the Region of the cluster,
* the AWS account ID of the cluster owner, the cluster namespace, and
* then the cluster name. For example,
* arn:aws:ecs:region:012345678910:cluster/test.
The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains
* the arn:aws:ecs namespace, followed by the Region of the cluster,
* the AWS account ID of the cluster owner, the cluster namespace, and
* then the cluster name. For example,
* arn:aws:ecs:region:012345678910:cluster/test.
The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains
* the arn:aws:ecs namespace, followed by the Region of the cluster,
* the AWS account ID of the cluster owner, the cluster namespace, and
* then the cluster name. For example,
* arn:aws:ecs:region:012345678910:cluster/test.
The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains
* the arn:aws:ecs namespace, followed by the Region of the cluster,
* the AWS account ID of the cluster owner, the cluster namespace, and
* then the cluster name. For example,
* arn:aws:ecs:region:012345678910:cluster/test.
The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains
* the arn:aws:ecs namespace, followed by the Region of the cluster,
* the AWS account ID of the cluster owner, the cluster namespace, and
* then the cluster name. For example,
* arn:aws:ecs:region:012345678910:cluster/test.
The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains
* the arn:aws:ecs namespace, followed by the Region of the cluster,
* the AWS account ID of the cluster owner, the cluster namespace, and
* then the cluster name. For example,
* arn:aws:ecs:region:012345678910:cluster/test.
The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains
* the arn:aws:ecs namespace, followed by the Region of the cluster,
* the AWS account ID of the cluster owner, the cluster namespace, and
* then the cluster name. For example,
* arn:aws:ecs:region:012345678910:cluster/test.
A user-generated string that you use to identify your cluster.
*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** *A user-generated string that you use to identify your cluster.
*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** *A user-generated string that you use to identify your cluster.
*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** *A user-generated string that you use to identify your cluster.
*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** *A user-generated string that you use to identify your cluster.
*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** *A user-generated string that you use to identify your cluster.
*/ inline Cluster& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *A user-generated string that you use to identify your cluster.
*/ inline Cluster& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *A user-generated string that you use to identify your cluster.
*/ inline Cluster& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** *The status of the cluster. The following are the possible states that will be * returned.
The cluster is ready to accept tasks * and if applicable you can register container instances with the cluster.
*The cluster has capacity providers * associated with it and the resources needed for the capacity provider are being * created.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * are being deleted.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * have failed to create.
The cluster has been
* deleted. Clusters with an INACTIVE status may remain discoverable
* in your account for a period of time. However, this behavior is subject to
* change in the future, so you should not rely on INACTIVE clusters
* persisting.
The status of the cluster. The following are the possible states that will be * returned.
The cluster is ready to accept tasks * and if applicable you can register container instances with the cluster.
*The cluster has capacity providers * associated with it and the resources needed for the capacity provider are being * created.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * are being deleted.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * have failed to create.
The cluster has been
* deleted. Clusters with an INACTIVE status may remain discoverable
* in your account for a period of time. However, this behavior is subject to
* change in the future, so you should not rely on INACTIVE clusters
* persisting.
The status of the cluster. The following are the possible states that will be * returned.
The cluster is ready to accept tasks * and if applicable you can register container instances with the cluster.
*The cluster has capacity providers * associated with it and the resources needed for the capacity provider are being * created.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * are being deleted.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * have failed to create.
The cluster has been
* deleted. Clusters with an INACTIVE status may remain discoverable
* in your account for a period of time. However, this behavior is subject to
* change in the future, so you should not rely on INACTIVE clusters
* persisting.
The status of the cluster. The following are the possible states that will be * returned.
The cluster is ready to accept tasks * and if applicable you can register container instances with the cluster.
*The cluster has capacity providers * associated with it and the resources needed for the capacity provider are being * created.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * are being deleted.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * have failed to create.
The cluster has been
* deleted. Clusters with an INACTIVE status may remain discoverable
* in your account for a period of time. However, this behavior is subject to
* change in the future, so you should not rely on INACTIVE clusters
* persisting.
The status of the cluster. The following are the possible states that will be * returned.
The cluster is ready to accept tasks * and if applicable you can register container instances with the cluster.
*The cluster has capacity providers * associated with it and the resources needed for the capacity provider are being * created.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * are being deleted.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * have failed to create.
The cluster has been
* deleted. Clusters with an INACTIVE status may remain discoverable
* in your account for a period of time. However, this behavior is subject to
* change in the future, so you should not rely on INACTIVE clusters
* persisting.
The status of the cluster. The following are the possible states that will be * returned.
The cluster is ready to accept tasks * and if applicable you can register container instances with the cluster.
*The cluster has capacity providers * associated with it and the resources needed for the capacity provider are being * created.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * are being deleted.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * have failed to create.
The cluster has been
* deleted. Clusters with an INACTIVE status may remain discoverable
* in your account for a period of time. However, this behavior is subject to
* change in the future, so you should not rely on INACTIVE clusters
* persisting.
The status of the cluster. The following are the possible states that will be * returned.
The cluster is ready to accept tasks * and if applicable you can register container instances with the cluster.
*The cluster has capacity providers * associated with it and the resources needed for the capacity provider are being * created.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * are being deleted.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * have failed to create.
The cluster has been
* deleted. Clusters with an INACTIVE status may remain discoverable
* in your account for a period of time. However, this behavior is subject to
* change in the future, so you should not rely on INACTIVE clusters
* persisting.
The status of the cluster. The following are the possible states that will be * returned.
The cluster is ready to accept tasks * and if applicable you can register container instances with the cluster.
*The cluster has capacity providers * associated with it and the resources needed for the capacity provider are being * created.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * are being deleted.
The cluster has capacity * providers associated with it and the resources needed for the capacity provider * have failed to create.
The cluster has been
* deleted. Clusters with an INACTIVE status may remain discoverable
* in your account for a period of time. However, this behavior is subject to
* change in the future, so you should not rely on INACTIVE clusters
* persisting.
The number of container instances registered into the cluster. This includes
* container instances in both ACTIVE and DRAINING
* status.
The number of container instances registered into the cluster. This includes
* container instances in both ACTIVE and DRAINING
* status.
The number of container instances registered into the cluster. This includes
* container instances in both ACTIVE and DRAINING
* status.
The number of container instances registered into the cluster. This includes
* container instances in both ACTIVE and DRAINING
* status.
The number of tasks in the cluster that are in the RUNNING
* state.
The number of tasks in the cluster that are in the RUNNING
* state.
The number of tasks in the cluster that are in the RUNNING
* state.
The number of tasks in the cluster that are in the RUNNING
* state.
The number of tasks in the cluster that are in the PENDING
* state.
The number of tasks in the cluster that are in the PENDING
* state.
The number of tasks in the cluster that are in the PENDING
* state.
The number of tasks in the cluster that are in the PENDING
* state.
The number of services that are running on the cluster in an
* ACTIVE state. You can view these services with
* ListServices.
The number of services that are running on the cluster in an
* ACTIVE state. You can view these services with
* ListServices.
The number of services that are running on the cluster in an
* ACTIVE state. You can view these services with
* ListServices.
The number of services that are running on the cluster in an
* ACTIVE state. You can view these services with
* ListServices.
Additional information about your clusters that are separated by launch type, * including:
runningEC2TasksCount
RunningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
*activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
*Additional information about your clusters that are separated by launch type, * including:
runningEC2TasksCount
RunningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
*activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
*Additional information about your clusters that are separated by launch type, * including:
runningEC2TasksCount
RunningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
*activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
*Additional information about your clusters that are separated by launch type, * including:
runningEC2TasksCount
RunningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
*activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
*Additional information about your clusters that are separated by launch type, * including:
runningEC2TasksCount
RunningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
*activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
*Additional information about your clusters that are separated by launch type, * including:
runningEC2TasksCount
RunningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
*activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
*Additional information about your clusters that are separated by launch type, * including:
runningEC2TasksCount
RunningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
*activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
*Additional information about your clusters that are separated by launch type, * including:
runningEC2TasksCount
RunningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
*activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
*The metadata that you apply to the cluster to help you categorize and * organize them. Each tag consists of a key and an optional value, both of which * you define.
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 AWS 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 cluster to help you categorize and * organize them. Each tag consists of a key and an optional value, both of which * you define.
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 AWS 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 cluster to help you categorize and * organize them. Each tag consists of a key and an optional value, both of which * you define.
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 AWS 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 cluster to help you categorize and * organize them. Each tag consists of a key and an optional value, both of which * you define.
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 AWS 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 cluster to help you categorize and * organize them. Each tag consists of a key and an optional value, both of which * you define.
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 AWS 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 cluster to help you categorize and * organize them. Each tag consists of a key and an optional value, both of which * you define.
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 AWS 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 cluster to help you categorize and * organize them. Each tag consists of a key and an optional value, both of which * you define.
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 AWS 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 cluster to help you categorize and * organize them. Each tag consists of a key and an optional value, both of which * you define.
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 AWS 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 settings for the cluster. This parameter indicates whether CloudWatch * Container Insights is enabled or disabled for a cluster.
*/ inline const Aws::VectorThe settings for the cluster. This parameter indicates whether CloudWatch * Container Insights is enabled or disabled for a cluster.
*/ inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; } /** *The settings for the cluster. This parameter indicates whether CloudWatch * Container Insights is enabled or disabled for a cluster.
*/ inline void SetSettings(const Aws::VectorThe settings for the cluster. This parameter indicates whether CloudWatch * Container Insights is enabled or disabled for a cluster.
*/ inline void SetSettings(Aws::VectorThe settings for the cluster. This parameter indicates whether CloudWatch * Container Insights is enabled or disabled for a cluster.
*/ inline Cluster& WithSettings(const Aws::VectorThe settings for the cluster. This parameter indicates whether CloudWatch * Container Insights is enabled or disabled for a cluster.
*/ inline Cluster& WithSettings(Aws::VectorThe settings for the cluster. This parameter indicates whether CloudWatch * Container Insights is enabled or disabled for a cluster.
*/ inline Cluster& AddSettings(const ClusterSetting& value) { m_settingsHasBeenSet = true; m_settings.push_back(value); return *this; } /** *The settings for the cluster. This parameter indicates whether CloudWatch * Container Insights is enabled or disabled for a cluster.
*/ inline Cluster& AddSettings(ClusterSetting&& value) { m_settingsHasBeenSet = true; m_settings.push_back(std::move(value)); return *this; } /** *The capacity providers associated with the cluster.
*/ inline const Aws::VectorThe capacity providers associated with the cluster.
*/ inline bool CapacityProvidersHasBeenSet() const { return m_capacityProvidersHasBeenSet; } /** *The capacity providers associated with the cluster.
*/ inline void SetCapacityProviders(const Aws::VectorThe capacity providers associated with the cluster.
*/ inline void SetCapacityProviders(Aws::VectorThe capacity providers associated with the cluster.
*/ inline Cluster& WithCapacityProviders(const Aws::VectorThe capacity providers associated with the cluster.
*/ inline Cluster& WithCapacityProviders(Aws::VectorThe capacity providers associated with the cluster.
*/ inline Cluster& AddCapacityProviders(const Aws::String& value) { m_capacityProvidersHasBeenSet = true; m_capacityProviders.push_back(value); return *this; } /** *The capacity providers associated with the cluster.
*/ inline Cluster& AddCapacityProviders(Aws::String&& value) { m_capacityProvidersHasBeenSet = true; m_capacityProviders.push_back(std::move(value)); return *this; } /** *The capacity providers associated with the cluster.
*/ inline Cluster& AddCapacityProviders(const char* value) { m_capacityProvidersHasBeenSet = true; m_capacityProviders.push_back(value); return *this; } /** *The default capacity provider strategy for the cluster. When services or * tasks are run in the cluster with no launch type or capacity provider strategy * specified, the default capacity provider strategy is used.
*/ inline const Aws::VectorThe default capacity provider strategy for the cluster. When services or * tasks are run in the cluster with no launch type or capacity provider strategy * specified, the default capacity provider strategy is used.
*/ inline bool DefaultCapacityProviderStrategyHasBeenSet() const { return m_defaultCapacityProviderStrategyHasBeenSet; } /** *The default capacity provider strategy for the cluster. When services or * tasks are run in the cluster with no launch type or capacity provider strategy * specified, the default capacity provider strategy is used.
*/ inline void SetDefaultCapacityProviderStrategy(const Aws::VectorThe default capacity provider strategy for the cluster. When services or * tasks are run in the cluster with no launch type or capacity provider strategy * specified, the default capacity provider strategy is used.
*/ inline void SetDefaultCapacityProviderStrategy(Aws::VectorThe default capacity provider strategy for the cluster. When services or * tasks are run in the cluster with no launch type or capacity provider strategy * specified, the default capacity provider strategy is used.
*/ inline Cluster& WithDefaultCapacityProviderStrategy(const Aws::VectorThe default capacity provider strategy for the cluster. When services or * tasks are run in the cluster with no launch type or capacity provider strategy * specified, the default capacity provider strategy is used.
*/ inline Cluster& WithDefaultCapacityProviderStrategy(Aws::VectorThe default capacity provider strategy for the cluster. When services or * tasks are run in the cluster with no launch type or capacity provider strategy * specified, the default capacity provider strategy is used.
*/ inline Cluster& AddDefaultCapacityProviderStrategy(const CapacityProviderStrategyItem& value) { m_defaultCapacityProviderStrategyHasBeenSet = true; m_defaultCapacityProviderStrategy.push_back(value); return *this; } /** *The default capacity provider strategy for the cluster. When services or * tasks are run in the cluster with no launch type or capacity provider strategy * specified, the default capacity provider strategy is used.
*/ inline Cluster& AddDefaultCapacityProviderStrategy(CapacityProviderStrategyItem&& value) { m_defaultCapacityProviderStrategyHasBeenSet = true; m_defaultCapacityProviderStrategy.push_back(std::move(value)); return *this; } /** *The resources attached to a cluster. When using a capacity provider with a * cluster, the Auto Scaling plan that is created will be returned as a cluster * attachment.
*/ inline const Aws::VectorThe resources attached to a cluster. When using a capacity provider with a * cluster, the Auto Scaling plan that is created will be returned as a cluster * attachment.
*/ inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; } /** *The resources attached to a cluster. When using a capacity provider with a * cluster, the Auto Scaling plan that is created will be returned as a cluster * attachment.
*/ inline void SetAttachments(const Aws::VectorThe resources attached to a cluster. When using a capacity provider with a * cluster, the Auto Scaling plan that is created will be returned as a cluster * attachment.
*/ inline void SetAttachments(Aws::VectorThe resources attached to a cluster. When using a capacity provider with a * cluster, the Auto Scaling plan that is created will be returned as a cluster * attachment.
*/ inline Cluster& WithAttachments(const Aws::VectorThe resources attached to a cluster. When using a capacity provider with a * cluster, the Auto Scaling plan that is created will be returned as a cluster * attachment.
*/ inline Cluster& WithAttachments(Aws::VectorThe resources attached to a cluster. When using a capacity provider with a * cluster, the Auto Scaling plan that is created will be returned as a cluster * attachment.
*/ inline Cluster& AddAttachments(const Attachment& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(value); return *this; } /** *The resources attached to a cluster. When using a capacity provider with a * cluster, the Auto Scaling plan that is created will be returned as a cluster * attachment.
*/ inline Cluster& AddAttachments(Attachment&& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(std::move(value)); return *this; } /** *The status of the capacity providers associated with the cluster. The * following are the states that will be returned:
The available capacity providers for the * cluster are updating. This occurs when the Auto Scaling plan is provisioning or * deprovisioning.
The capacity * providers have successfully updated.
The capacity provider updates failed.
The status of the capacity providers associated with the cluster. The * following are the states that will be returned:
The available capacity providers for the * cluster are updating. This occurs when the Auto Scaling plan is provisioning or * deprovisioning.
The capacity * providers have successfully updated.
The capacity provider updates failed.
The status of the capacity providers associated with the cluster. The * following are the states that will be returned:
The available capacity providers for the * cluster are updating. This occurs when the Auto Scaling plan is provisioning or * deprovisioning.
The capacity * providers have successfully updated.
The capacity provider updates failed.
The status of the capacity providers associated with the cluster. The * following are the states that will be returned:
The available capacity providers for the * cluster are updating. This occurs when the Auto Scaling plan is provisioning or * deprovisioning.
The capacity * providers have successfully updated.
The capacity provider updates failed.
The status of the capacity providers associated with the cluster. The * following are the states that will be returned:
The available capacity providers for the * cluster are updating. This occurs when the Auto Scaling plan is provisioning or * deprovisioning.
The capacity * providers have successfully updated.
The capacity provider updates failed.
The status of the capacity providers associated with the cluster. The * following are the states that will be returned:
The available capacity providers for the * cluster are updating. This occurs when the Auto Scaling plan is provisioning or * deprovisioning.
The capacity * providers have successfully updated.
The capacity provider updates failed.
The status of the capacity providers associated with the cluster. The * following are the states that will be returned:
The available capacity providers for the * cluster are updating. This occurs when the Auto Scaling plan is provisioning or * deprovisioning.
The capacity * providers have successfully updated.
The capacity provider updates failed.
The status of the capacity providers associated with the cluster. The * following are the states that will be returned:
The available capacity providers for the * cluster are updating. This occurs when the Auto Scaling plan is provisioning or * deprovisioning.
The capacity * providers have successfully updated.
The capacity provider updates failed.