/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SWF { namespace Model { /** *

Contains details of a domain.

See Also:

AWS * API Reference

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

The basic information about a domain, such as its name, status, and * description.

*/ inline const DomainInfo& GetDomainInfo() const{ return m_domainInfo; } /** *

The basic information about a domain, such as its name, status, and * description.

*/ inline void SetDomainInfo(const DomainInfo& value) { m_domainInfo = value; } /** *

The basic information about a domain, such as its name, status, and * description.

*/ inline void SetDomainInfo(DomainInfo&& value) { m_domainInfo = std::move(value); } /** *

The basic information about a domain, such as its name, status, and * description.

*/ inline DescribeDomainResult& WithDomainInfo(const DomainInfo& value) { SetDomainInfo(value); return *this;} /** *

The basic information about a domain, such as its name, status, and * description.

*/ inline DescribeDomainResult& WithDomainInfo(DomainInfo&& value) { SetDomainInfo(std::move(value)); return *this;} /** *

The domain configuration. Currently, this includes only the domain's * retention period.

*/ inline const DomainConfiguration& GetConfiguration() const{ return m_configuration; } /** *

The domain configuration. Currently, this includes only the domain's * retention period.

*/ inline void SetConfiguration(const DomainConfiguration& value) { m_configuration = value; } /** *

The domain configuration. Currently, this includes only the domain's * retention period.

*/ inline void SetConfiguration(DomainConfiguration&& value) { m_configuration = std::move(value); } /** *

The domain configuration. Currently, this includes only the domain's * retention period.

*/ inline DescribeDomainResult& WithConfiguration(const DomainConfiguration& value) { SetConfiguration(value); return *this;} /** *

The domain configuration. Currently, this includes only the domain's * retention period.

*/ inline DescribeDomainResult& WithConfiguration(DomainConfiguration&& value) { SetConfiguration(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 DescribeDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DomainInfo m_domainInfo; DomainConfiguration m_configuration; Aws::String m_requestId; }; } // namespace Model } // namespace SWF } // namespace Aws