This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-codedeploy/include/aws/codedeploy/model/GetDeploymentTargetResult.h

88 lines
3.4 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
#include <aws/codedeploy/model/DeploymentTarget.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace CodeDeploy
{
namespace Model
{
class AWS_CODEDEPLOY_API GetDeploymentTargetResult
{
public:
GetDeploymentTargetResult();
GetDeploymentTargetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetDeploymentTargetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p> A deployment target that contains information about a deployment such as its
* status, lifecycle events, and when it was last updated. It also contains
* metadata about the deployment target. The deployment target metadata depends on
* the deployment target's type (<code>instanceTarget</code>,
* <code>lambdaTarget</code>, or <code>ecsTarget</code>). </p>
*/
inline const DeploymentTarget& GetDeploymentTarget() const{ return m_deploymentTarget; }
/**
* <p> A deployment target that contains information about a deployment such as its
* status, lifecycle events, and when it was last updated. It also contains
* metadata about the deployment target. The deployment target metadata depends on
* the deployment target's type (<code>instanceTarget</code>,
* <code>lambdaTarget</code>, or <code>ecsTarget</code>). </p>
*/
inline void SetDeploymentTarget(const DeploymentTarget& value) { m_deploymentTarget = value; }
/**
* <p> A deployment target that contains information about a deployment such as its
* status, lifecycle events, and when it was last updated. It also contains
* metadata about the deployment target. The deployment target metadata depends on
* the deployment target's type (<code>instanceTarget</code>,
* <code>lambdaTarget</code>, or <code>ecsTarget</code>). </p>
*/
inline void SetDeploymentTarget(DeploymentTarget&& value) { m_deploymentTarget = std::move(value); }
/**
* <p> A deployment target that contains information about a deployment such as its
* status, lifecycle events, and when it was last updated. It also contains
* metadata about the deployment target. The deployment target metadata depends on
* the deployment target's type (<code>instanceTarget</code>,
* <code>lambdaTarget</code>, or <code>ecsTarget</code>). </p>
*/
inline GetDeploymentTargetResult& WithDeploymentTarget(const DeploymentTarget& value) { SetDeploymentTarget(value); return *this;}
/**
* <p> A deployment target that contains information about a deployment such as its
* status, lifecycle events, and when it was last updated. It also contains
* metadata about the deployment target. The deployment target metadata depends on
* the deployment target's type (<code>instanceTarget</code>,
* <code>lambdaTarget</code>, or <code>ecsTarget</code>). </p>
*/
inline GetDeploymentTargetResult& WithDeploymentTarget(DeploymentTarget&& value) { SetDeploymentTarget(std::move(value)); return *this;}
private:
DeploymentTarget m_deploymentTarget;
};
} // namespace Model
} // namespace CodeDeploy
} // namespace Aws