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

See Also:

AWS * API Reference

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

The unique ID of a deployment.

*/ inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; } /** *

The unique ID of a deployment.

*/ inline void SetDeploymentId(const Aws::String& value) { m_deploymentId = value; } /** *

The unique ID of a deployment.

*/ inline void SetDeploymentId(Aws::String&& value) { m_deploymentId = std::move(value); } /** *

The unique ID of a deployment.

*/ inline void SetDeploymentId(const char* value) { m_deploymentId.assign(value); } /** *

The unique ID of a deployment.

*/ inline CreateDeploymentResult& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;} /** *

The unique ID of a deployment.

*/ inline CreateDeploymentResult& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;} /** *

The unique ID of a deployment.

*/ inline CreateDeploymentResult& WithDeploymentId(const char* value) { SetDeploymentId(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 CreateDeploymentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateDeploymentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateDeploymentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_deploymentId; Aws::String m_requestId; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws