/** * 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 { /** *

Represents the output of a GetDeploymentGroup * operation.

See Also:

AWS * API Reference

*/ class GetDeploymentGroupResult { public: AWS_CODEDEPLOY_API GetDeploymentGroupResult(); AWS_CODEDEPLOY_API GetDeploymentGroupResult(const Aws::AmazonWebServiceResult& result); AWS_CODEDEPLOY_API 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;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDeploymentGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDeploymentGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDeploymentGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DeploymentGroupInfo m_deploymentGroupInfo; Aws::String m_requestId; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws