/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodeDeploy { namespace Model { class AWS_CODEDEPLOY_API BatchGetDeploymentTargetsResult { public: BatchGetDeploymentTargetsResult(); BatchGetDeploymentTargetsResult(const Aws::AmazonWebServiceResult& result); BatchGetDeploymentTargetsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of target objects for a deployment. Each target object contains * details about the target, such as its status and lifecycle events. The type of * the target objects depends on the deployment' compute platform.

  • *

    EC2/On-premises: Each target object is an EC2 or on-premises * instance.

  • AWS Lambda: The target object is a specific * version of an AWS Lambda function.

  • Amazon ECS: The * target object is an Amazon ECS service.

  • * CloudFormation: The target object is an AWS CloudFormation blue/green * deployment.

*/ inline const Aws::Vector& GetDeploymentTargets() const{ return m_deploymentTargets; } /** *

A list of target objects for a deployment. Each target object contains * details about the target, such as its status and lifecycle events. The type of * the target objects depends on the deployment' compute platform.

  • *

    EC2/On-premises: Each target object is an EC2 or on-premises * instance.

  • AWS Lambda: The target object is a specific * version of an AWS Lambda function.

  • Amazon ECS: The * target object is an Amazon ECS service.

  • * CloudFormation: The target object is an AWS CloudFormation blue/green * deployment.

*/ inline void SetDeploymentTargets(const Aws::Vector& value) { m_deploymentTargets = value; } /** *

A list of target objects for a deployment. Each target object contains * details about the target, such as its status and lifecycle events. The type of * the target objects depends on the deployment' compute platform.

  • *

    EC2/On-premises: Each target object is an EC2 or on-premises * instance.

  • AWS Lambda: The target object is a specific * version of an AWS Lambda function.

  • Amazon ECS: The * target object is an Amazon ECS service.

  • * CloudFormation: The target object is an AWS CloudFormation blue/green * deployment.

*/ inline void SetDeploymentTargets(Aws::Vector&& value) { m_deploymentTargets = std::move(value); } /** *

A list of target objects for a deployment. Each target object contains * details about the target, such as its status and lifecycle events. The type of * the target objects depends on the deployment' compute platform.

  • *

    EC2/On-premises: Each target object is an EC2 or on-premises * instance.

  • AWS Lambda: The target object is a specific * version of an AWS Lambda function.

  • Amazon ECS: The * target object is an Amazon ECS service.

  • * CloudFormation: The target object is an AWS CloudFormation blue/green * deployment.

*/ inline BatchGetDeploymentTargetsResult& WithDeploymentTargets(const Aws::Vector& value) { SetDeploymentTargets(value); return *this;} /** *

A list of target objects for a deployment. Each target object contains * details about the target, such as its status and lifecycle events. The type of * the target objects depends on the deployment' compute platform.

  • *

    EC2/On-premises: Each target object is an EC2 or on-premises * instance.

  • AWS Lambda: The target object is a specific * version of an AWS Lambda function.

  • Amazon ECS: The * target object is an Amazon ECS service.

  • * CloudFormation: The target object is an AWS CloudFormation blue/green * deployment.

*/ inline BatchGetDeploymentTargetsResult& WithDeploymentTargets(Aws::Vector&& value) { SetDeploymentTargets(std::move(value)); return *this;} /** *

A list of target objects for a deployment. Each target object contains * details about the target, such as its status and lifecycle events. The type of * the target objects depends on the deployment' compute platform.

  • *

    EC2/On-premises: Each target object is an EC2 or on-premises * instance.

  • AWS Lambda: The target object is a specific * version of an AWS Lambda function.

  • Amazon ECS: The * target object is an Amazon ECS service.

  • * CloudFormation: The target object is an AWS CloudFormation blue/green * deployment.

*/ inline BatchGetDeploymentTargetsResult& AddDeploymentTargets(const DeploymentTarget& value) { m_deploymentTargets.push_back(value); return *this; } /** *

A list of target objects for a deployment. Each target object contains * details about the target, such as its status and lifecycle events. The type of * the target objects depends on the deployment' compute platform.

  • *

    EC2/On-premises: Each target object is an EC2 or on-premises * instance.

  • AWS Lambda: The target object is a specific * version of an AWS Lambda function.

  • Amazon ECS: The * target object is an Amazon ECS service.

  • * CloudFormation: The target object is an AWS CloudFormation blue/green * deployment.

*/ inline BatchGetDeploymentTargetsResult& AddDeploymentTargets(DeploymentTarget&& value) { m_deploymentTargets.push_back(std::move(value)); return *this; } private: Aws::Vector m_deploymentTargets; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws