/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the target of an Amazon ECS deployment. See
* Also:
AWS
* API Reference
The unique ID of a deployment.
*/ inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; } /** *The unique ID of a deployment.
*/ inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; } /** *The unique ID of a deployment.
*/ inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; } /** *The unique ID of a deployment.
*/ inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); } /** *The unique ID of a deployment.
*/ inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); } /** *The unique ID of a deployment.
*/ inline ECSTarget& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;} /** *The unique ID of a deployment.
*/ inline ECSTarget& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;} /** *The unique ID of a deployment.
*/ inline ECSTarget& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;} /** * The unique ID of a deployment target that has a type of
* ecsTarget
.
The unique ID of a deployment target that has a type of
* ecsTarget
.
The unique ID of a deployment target that has a type of
* ecsTarget
.
The unique ID of a deployment target that has a type of
* ecsTarget
.
The unique ID of a deployment target that has a type of
* ecsTarget
.
The unique ID of a deployment target that has a type of
* ecsTarget
.
The unique ID of a deployment target that has a type of
* ecsTarget
.
The unique ID of a deployment target that has a type of
* ecsTarget
.
The Amazon Resource Name (ARN) of the target.
*/ inline const Aws::String& GetTargetArn() const{ return m_targetArn; } /** *The Amazon Resource Name (ARN) of the target.
*/ inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the target.
*/ inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; } /** *The Amazon Resource Name (ARN) of the target.
*/ inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the target.
*/ inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); } /** *The Amazon Resource Name (ARN) of the target.
*/ inline ECSTarget& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the target.
*/ inline ECSTarget& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the target.
*/ inline ECSTarget& WithTargetArn(const char* value) { SetTargetArn(value); return *this;} /** *The date and time when the target Amazon ECS application was updated by a * deployment.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *The date and time when the target Amazon ECS application was updated by a * deployment.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *The date and time when the target Amazon ECS application was updated by a * deployment.
*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *The date and time when the target Amazon ECS application was updated by a * deployment.
*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *The date and time when the target Amazon ECS application was updated by a * deployment.
*/ inline ECSTarget& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *The date and time when the target Amazon ECS application was updated by a * deployment.
*/ inline ECSTarget& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *The lifecycle events of the deployment to this target Amazon ECS * application.
*/ inline const Aws::VectorThe lifecycle events of the deployment to this target Amazon ECS * application.
*/ inline bool LifecycleEventsHasBeenSet() const { return m_lifecycleEventsHasBeenSet; } /** *The lifecycle events of the deployment to this target Amazon ECS * application.
*/ inline void SetLifecycleEvents(const Aws::VectorThe lifecycle events of the deployment to this target Amazon ECS * application.
*/ inline void SetLifecycleEvents(Aws::VectorThe lifecycle events of the deployment to this target Amazon ECS * application.
*/ inline ECSTarget& WithLifecycleEvents(const Aws::VectorThe lifecycle events of the deployment to this target Amazon ECS * application.
*/ inline ECSTarget& WithLifecycleEvents(Aws::VectorThe lifecycle events of the deployment to this target Amazon ECS * application.
*/ inline ECSTarget& AddLifecycleEvents(const LifecycleEvent& value) { m_lifecycleEventsHasBeenSet = true; m_lifecycleEvents.push_back(value); return *this; } /** *The lifecycle events of the deployment to this target Amazon ECS * application.
*/ inline ECSTarget& AddLifecycleEvents(LifecycleEvent&& value) { m_lifecycleEventsHasBeenSet = true; m_lifecycleEvents.push_back(std::move(value)); return *this; } /** *The status an Amazon ECS deployment's target ECS application.
*/ inline const TargetStatus& GetStatus() const{ return m_status; } /** *The status an Amazon ECS deployment's target ECS application.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status an Amazon ECS deployment's target ECS application.
*/ inline void SetStatus(const TargetStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status an Amazon ECS deployment's target ECS application.
*/ inline void SetStatus(TargetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status an Amazon ECS deployment's target ECS application.
*/ inline ECSTarget& WithStatus(const TargetStatus& value) { SetStatus(value); return *this;} /** *The status an Amazon ECS deployment's target ECS application.
*/ inline ECSTarget& WithStatus(TargetStatus&& value) { SetStatus(std::move(value)); return *this;} /** * The ECSTaskSet
objects associated with the ECS target.
The ECSTaskSet
objects associated with the ECS target.
The ECSTaskSet
objects associated with the ECS target.
The ECSTaskSet
objects associated with the ECS target.
The ECSTaskSet
objects associated with the ECS target.
The ECSTaskSet
objects associated with the ECS target.
The ECSTaskSet
objects associated with the ECS target.
The ECSTaskSet
objects associated with the ECS target.