/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodeDeploy { namespace Model { /** *

Represents the output of a GetDeployment * operation.

See Also:

AWS * API Reference

*/ class AWS_CODEDEPLOY_API GetDeploymentResult { public: GetDeploymentResult(); GetDeploymentResult(const Aws::AmazonWebServiceResult& result); GetDeploymentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the deployment.

*/ inline const DeploymentInfo& GetDeploymentInfo() const{ return m_deploymentInfo; } /** *

Information about the deployment.

*/ inline void SetDeploymentInfo(const DeploymentInfo& value) { m_deploymentInfo = value; } /** *

Information about the deployment.

*/ inline void SetDeploymentInfo(DeploymentInfo&& value) { m_deploymentInfo = std::move(value); } /** *

Information about the deployment.

*/ inline GetDeploymentResult& WithDeploymentInfo(const DeploymentInfo& value) { SetDeploymentInfo(value); return *this;} /** *

Information about the deployment.

*/ inline GetDeploymentResult& WithDeploymentInfo(DeploymentInfo&& value) { SetDeploymentInfo(std::move(value)); return *this;} private: DeploymentInfo m_deploymentInfo; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws