/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides details about a task in a cluster. See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the cluster that hosts the task.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *The Amazon Resource Name (ARN) of the cluster that hosts the task.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the cluster that hosts the task.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** *The Amazon Resource Name (ARN) of the cluster that hosts the task.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the cluster that hosts the task.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** *The Amazon Resource Name (ARN) of the cluster that hosts the task.
*/ inline AwsEcsTaskDetails& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the cluster that hosts the task.
*/ inline AwsEcsTaskDetails& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the cluster that hosts the task.
*/ inline AwsEcsTaskDetails& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** *The ARN of the task definition that creates the task.
*/ inline const Aws::String& GetTaskDefinitionArn() const{ return m_taskDefinitionArn; } /** *The ARN of the task definition that creates the task.
*/ inline bool TaskDefinitionArnHasBeenSet() const { return m_taskDefinitionArnHasBeenSet; } /** *The ARN of the task definition that creates the task.
*/ inline void SetTaskDefinitionArn(const Aws::String& value) { m_taskDefinitionArnHasBeenSet = true; m_taskDefinitionArn = value; } /** *The ARN of the task definition that creates the task.
*/ inline void SetTaskDefinitionArn(Aws::String&& value) { m_taskDefinitionArnHasBeenSet = true; m_taskDefinitionArn = std::move(value); } /** *The ARN of the task definition that creates the task.
*/ inline void SetTaskDefinitionArn(const char* value) { m_taskDefinitionArnHasBeenSet = true; m_taskDefinitionArn.assign(value); } /** *The ARN of the task definition that creates the task.
*/ inline AwsEcsTaskDetails& WithTaskDefinitionArn(const Aws::String& value) { SetTaskDefinitionArn(value); return *this;} /** *The ARN of the task definition that creates the task.
*/ inline AwsEcsTaskDetails& WithTaskDefinitionArn(Aws::String&& value) { SetTaskDefinitionArn(std::move(value)); return *this;} /** *The ARN of the task definition that creates the task.
*/ inline AwsEcsTaskDetails& WithTaskDefinitionArn(const char* value) { SetTaskDefinitionArn(value); return *this;} /** *The version counter for the task.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version counter for the task.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version counter for the task.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version counter for the task.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version counter for the task.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version counter for the task.
*/ inline AwsEcsTaskDetails& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version counter for the task.
*/ inline AwsEcsTaskDetails& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version counter for the task.
*/ inline AwsEcsTaskDetails& WithVersion(const char* value) { SetVersion(value); return *this;} /** *The Unix timestamp for the time when the task was created. More specifically,
* it's for the time when the task entered the PENDING
state.
The Unix timestamp for the time when the task was created. More specifically,
* it's for the time when the task entered the PENDING
state.
The Unix timestamp for the time when the task was created. More specifically,
* it's for the time when the task entered the PENDING
state.
The Unix timestamp for the time when the task was created. More specifically,
* it's for the time when the task entered the PENDING
state.
The Unix timestamp for the time when the task was created. More specifically,
* it's for the time when the task entered the PENDING
state.
The Unix timestamp for the time when the task was created. More specifically,
* it's for the time when the task entered the PENDING
state.
The Unix timestamp for the time when the task was created. More specifically,
* it's for the time when the task entered the PENDING
state.
The Unix timestamp for the time when the task was created. More specifically,
* it's for the time when the task entered the PENDING
state.
The Unix timestamp for the time when the task started. More specifically,
* it's for the time when the task transitioned from the PENDING
state
* to the RUNNING
state.
The Unix timestamp for the time when the task started. More specifically,
* it's for the time when the task transitioned from the PENDING
state
* to the RUNNING
state.
The Unix timestamp for the time when the task started. More specifically,
* it's for the time when the task transitioned from the PENDING
state
* to the RUNNING
state.
The Unix timestamp for the time when the task started. More specifically,
* it's for the time when the task transitioned from the PENDING
state
* to the RUNNING
state.
The Unix timestamp for the time when the task started. More specifically,
* it's for the time when the task transitioned from the PENDING
state
* to the RUNNING
state.
The Unix timestamp for the time when the task started. More specifically,
* it's for the time when the task transitioned from the PENDING
state
* to the RUNNING
state.
The Unix timestamp for the time when the task started. More specifically,
* it's for the time when the task transitioned from the PENDING
state
* to the RUNNING
state.
The Unix timestamp for the time when the task started. More specifically,
* it's for the time when the task transitioned from the PENDING
state
* to the RUNNING
state.
The tag specified when a task is started. If an Amazon ECS service started
* the task, the startedBy
parameter contains the deployment ID of
* that service.
The tag specified when a task is started. If an Amazon ECS service started
* the task, the startedBy
parameter contains the deployment ID of
* that service.
The tag specified when a task is started. If an Amazon ECS service started
* the task, the startedBy
parameter contains the deployment ID of
* that service.
The tag specified when a task is started. If an Amazon ECS service started
* the task, the startedBy
parameter contains the deployment ID of
* that service.
The tag specified when a task is started. If an Amazon ECS service started
* the task, the startedBy
parameter contains the deployment ID of
* that service.
The tag specified when a task is started. If an Amazon ECS service started
* the task, the startedBy
parameter contains the deployment ID of
* that service.
The tag specified when a task is started. If an Amazon ECS service started
* the task, the startedBy
parameter contains the deployment ID of
* that service.
The tag specified when a task is started. If an Amazon ECS service started
* the task, the startedBy
parameter contains the deployment ID of
* that service.
The name of the task group that's associated with the task.
*/ inline const Aws::String& GetGroup() const{ return m_group; } /** *The name of the task group that's associated with the task.
*/ inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; } /** *The name of the task group that's associated with the task.
*/ inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; } /** *The name of the task group that's associated with the task.
*/ inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); } /** *The name of the task group that's associated with the task.
*/ inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); } /** *The name of the task group that's associated with the task.
*/ inline AwsEcsTaskDetails& WithGroup(const Aws::String& value) { SetGroup(value); return *this;} /** *The name of the task group that's associated with the task.
*/ inline AwsEcsTaskDetails& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;} /** *The name of the task group that's associated with the task.
*/ inline AwsEcsTaskDetails& WithGroup(const char* value) { SetGroup(value); return *this;} /** *Details about the data volume that is used in a task definition.
*/ inline const Aws::VectorDetails about the data volume that is used in a task definition.
*/ inline bool VolumesHasBeenSet() const { return m_volumesHasBeenSet; } /** *Details about the data volume that is used in a task definition.
*/ inline void SetVolumes(const Aws::VectorDetails about the data volume that is used in a task definition.
*/ inline void SetVolumes(Aws::VectorDetails about the data volume that is used in a task definition.
*/ inline AwsEcsTaskDetails& WithVolumes(const Aws::VectorDetails about the data volume that is used in a task definition.
*/ inline AwsEcsTaskDetails& WithVolumes(Aws::VectorDetails about the data volume that is used in a task definition.
*/ inline AwsEcsTaskDetails& AddVolumes(const AwsEcsTaskVolumeDetails& value) { m_volumesHasBeenSet = true; m_volumes.push_back(value); return *this; } /** *Details about the data volume that is used in a task definition.
*/ inline AwsEcsTaskDetails& AddVolumes(AwsEcsTaskVolumeDetails&& value) { m_volumesHasBeenSet = true; m_volumes.push_back(std::move(value)); return *this; } /** *The containers that are associated with the task.
*/ inline const Aws::VectorThe containers that are associated with the task.
*/ inline bool ContainersHasBeenSet() const { return m_containersHasBeenSet; } /** *The containers that are associated with the task.
*/ inline void SetContainers(const Aws::VectorThe containers that are associated with the task.
*/ inline void SetContainers(Aws::VectorThe containers that are associated with the task.
*/ inline AwsEcsTaskDetails& WithContainers(const Aws::VectorThe containers that are associated with the task.
*/ inline AwsEcsTaskDetails& WithContainers(Aws::VectorThe containers that are associated with the task.
*/ inline AwsEcsTaskDetails& AddContainers(const AwsEcsContainerDetails& value) { m_containersHasBeenSet = true; m_containers.push_back(value); return *this; } /** *The containers that are associated with the task.
*/ inline AwsEcsTaskDetails& AddContainers(AwsEcsContainerDetails&& value) { m_containersHasBeenSet = true; m_containers.push_back(std::move(value)); return *this; } private: Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; Aws::String m_taskDefinitionArn; bool m_taskDefinitionArnHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; Aws::String m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_startedAt; bool m_startedAtHasBeenSet = false; Aws::String m_startedBy; bool m_startedByHasBeenSet = false; Aws::String m_group; bool m_groupHasBeenSet = false; Aws::Vector