/** * 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 Proton { namespace Model { class DeleteDeploymentResult { public: AWS_PROTON_API DeleteDeploymentResult(); AWS_PROTON_API DeleteDeploymentResult(const Aws::AmazonWebServiceResult& result); AWS_PROTON_API DeleteDeploymentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The detailed data of the deployment being deleted.

*/ inline const Deployment& GetDeployment() const{ return m_deployment; } /** *

The detailed data of the deployment being deleted.

*/ inline void SetDeployment(const Deployment& value) { m_deployment = value; } /** *

The detailed data of the deployment being deleted.

*/ inline void SetDeployment(Deployment&& value) { m_deployment = std::move(value); } /** *

The detailed data of the deployment being deleted.

*/ inline DeleteDeploymentResult& WithDeployment(const Deployment& value) { SetDeployment(value); return *this;} /** *

The detailed data of the deployment being deleted.

*/ inline DeleteDeploymentResult& WithDeployment(Deployment&& value) { SetDeployment(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 DeleteDeploymentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteDeploymentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteDeploymentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Deployment m_deployment; Aws::String m_requestId; }; } // namespace Model } // namespace Proton } // namespace Aws