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

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

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

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

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

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

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

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

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

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

*/ inline CreateDomainResult& WithDomain(DomainDescription&& value) { SetDomain(std::move(value)); return *this;} private: DomainDescription m_domain; }; } // namespace Model } // namespace CodeArtifact } // namespace Aws