/** * 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 GetDeploymentGroup * operation.

See Also:

AWS * API Reference

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

Information about the deployment group.

*/ inline const DeploymentGroupInfo& GetDeploymentGroupInfo() const{ return m_deploymentGroupInfo; } /** *

Information about the deployment group.

*/ inline void SetDeploymentGroupInfo(const DeploymentGroupInfo& value) { m_deploymentGroupInfo = value; } /** *

Information about the deployment group.

*/ inline void SetDeploymentGroupInfo(DeploymentGroupInfo&& value) { m_deploymentGroupInfo = std::move(value); } /** *

Information about the deployment group.

*/ inline GetDeploymentGroupResult& WithDeploymentGroupInfo(const DeploymentGroupInfo& value) { SetDeploymentGroupInfo(value); return *this;} /** *

Information about the deployment group.

*/ inline GetDeploymentGroupResult& WithDeploymentGroupInfo(DeploymentGroupInfo&& value) { SetDeploymentGroupInfo(std::move(value)); return *this;} private: DeploymentGroupInfo m_deploymentGroupInfo; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws