/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the details of the ECS Cluster.See
* Also:
AWS
* API Reference
The name of the ECS Cluster.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the ECS Cluster.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the ECS Cluster.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the ECS Cluster.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the ECS Cluster.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the ECS Cluster.
*/ inline EcsClusterDetails& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the ECS Cluster.
*/ inline EcsClusterDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the ECS Cluster.
*/ inline EcsClusterDetails& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) that identifies the cluster.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) that identifies the cluster.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) that identifies the cluster.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) that identifies the cluster.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) that identifies the cluster.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) that identifies the cluster.
*/ inline EcsClusterDetails& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) that identifies the cluster.
*/ inline EcsClusterDetails& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) that identifies the cluster.
*/ inline EcsClusterDetails& WithArn(const char* value) { SetArn(value); return *this;} /** *The status of the ECS cluster.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the ECS cluster.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the ECS cluster.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the ECS cluster.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the ECS cluster.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the ECS cluster.
*/ inline EcsClusterDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the ECS cluster.
*/ inline EcsClusterDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the ECS cluster.
*/ inline EcsClusterDetails& WithStatus(const char* value) { SetStatus(value); return *this;} /** *The number of services that are running on the cluster in an ACTIVE * state.
*/ inline int GetActiveServicesCount() const{ return m_activeServicesCount; } /** *The number of services that are running on the cluster in an ACTIVE * state.
*/ inline bool ActiveServicesCountHasBeenSet() const { return m_activeServicesCountHasBeenSet; } /** *The number of services that are running on the cluster in an ACTIVE * state.
*/ inline void SetActiveServicesCount(int value) { m_activeServicesCountHasBeenSet = true; m_activeServicesCount = value; } /** *The number of services that are running on the cluster in an ACTIVE * state.
*/ inline EcsClusterDetails& WithActiveServicesCount(int value) { SetActiveServicesCount(value); return *this;} /** *The number of container instances registered into the cluster.
*/ inline int GetRegisteredContainerInstancesCount() const{ return m_registeredContainerInstancesCount; } /** *The number of container instances registered into the cluster.
*/ inline bool RegisteredContainerInstancesCountHasBeenSet() const { return m_registeredContainerInstancesCountHasBeenSet; } /** *The number of container instances registered into the cluster.
*/ inline void SetRegisteredContainerInstancesCount(int value) { m_registeredContainerInstancesCountHasBeenSet = true; m_registeredContainerInstancesCount = value; } /** *The number of container instances registered into the cluster.
*/ inline EcsClusterDetails& WithRegisteredContainerInstancesCount(int value) { SetRegisteredContainerInstancesCount(value); return *this;} /** *The number of tasks in the cluster that are in the RUNNING state.
*/ inline int GetRunningTasksCount() const{ return m_runningTasksCount; } /** *The number of tasks in the cluster that are in the RUNNING state.
*/ inline bool RunningTasksCountHasBeenSet() const { return m_runningTasksCountHasBeenSet; } /** *The number of tasks in the cluster that are in the RUNNING state.
*/ inline void SetRunningTasksCount(int value) { m_runningTasksCountHasBeenSet = true; m_runningTasksCount = value; } /** *The number of tasks in the cluster that are in the RUNNING state.
*/ inline EcsClusterDetails& WithRunningTasksCount(int value) { SetRunningTasksCount(value); return *this;} /** *The tags of the ECS Cluster.
*/ inline const Aws::VectorThe tags of the ECS Cluster.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags of the ECS Cluster.
*/ inline void SetTags(const Aws::VectorThe tags of the ECS Cluster.
*/ inline void SetTags(Aws::VectorThe tags of the ECS Cluster.
*/ inline EcsClusterDetails& WithTags(const Aws::VectorThe tags of the ECS Cluster.
*/ inline EcsClusterDetails& WithTags(Aws::VectorThe tags of the ECS Cluster.
*/ inline EcsClusterDetails& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The tags of the ECS Cluster.
*/ inline EcsClusterDetails& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *Contains information about the details of the ECS Task.
*/ inline const EcsTaskDetails& GetTaskDetails() const{ return m_taskDetails; } /** *Contains information about the details of the ECS Task.
*/ inline bool TaskDetailsHasBeenSet() const { return m_taskDetailsHasBeenSet; } /** *Contains information about the details of the ECS Task.
*/ inline void SetTaskDetails(const EcsTaskDetails& value) { m_taskDetailsHasBeenSet = true; m_taskDetails = value; } /** *Contains information about the details of the ECS Task.
*/ inline void SetTaskDetails(EcsTaskDetails&& value) { m_taskDetailsHasBeenSet = true; m_taskDetails = std::move(value); } /** *Contains information about the details of the ECS Task.
*/ inline EcsClusterDetails& WithTaskDetails(const EcsTaskDetails& value) { SetTaskDetails(value); return *this;} /** *Contains information about the details of the ECS Task.
*/ inline EcsClusterDetails& WithTaskDetails(EcsTaskDetails&& value) { SetTaskDetails(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; int m_activeServicesCount; bool m_activeServicesCountHasBeenSet = false; int m_registeredContainerInstancesCount; bool m_registeredContainerInstancesCountHasBeenSet = false; int m_runningTasksCount; bool m_runningTasksCountHasBeenSet = false; Aws::Vector