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

Contains information about the deleted domain after processing the request. *

*/ inline const DomainDescription& GetDomain() const{ return m_domain; } /** *

Contains information about the deleted domain after processing the request. *

*/ inline void SetDomain(const DomainDescription& value) { m_domain = value; } /** *

Contains information about the deleted domain after processing the request. *

*/ inline void SetDomain(DomainDescription&& value) { m_domain = std::move(value); } /** *

Contains information about the deleted domain after processing the request. *

*/ inline DeleteDomainResult& WithDomain(const DomainDescription& value) { SetDomain(value); return *this;} /** *

Contains information about the deleted domain after processing the request. *

*/ inline DeleteDomainResult& WithDomain(DomainDescription&& value) { SetDomain(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 DeleteDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DomainDescription m_domain; Aws::String m_requestId; }; } // namespace Model } // namespace CodeArtifact } // namespace Aws