/** * 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 OpenSearchService { namespace Model { /** *

Contains the configuration information of the requested domain.

See * Also:

AWS * API Reference

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

Container for the configuration of the OpenSearch Service domain.

*/ inline const DomainConfig& GetDomainConfig() const{ return m_domainConfig; } /** *

Container for the configuration of the OpenSearch Service domain.

*/ inline void SetDomainConfig(const DomainConfig& value) { m_domainConfig = value; } /** *

Container for the configuration of the OpenSearch Service domain.

*/ inline void SetDomainConfig(DomainConfig&& value) { m_domainConfig = std::move(value); } /** *

Container for the configuration of the OpenSearch Service domain.

*/ inline DescribeDomainConfigResult& WithDomainConfig(const DomainConfig& value) { SetDomainConfig(value); return *this;} /** *

Container for the configuration of the OpenSearch Service domain.

*/ inline DescribeDomainConfigResult& WithDomainConfig(DomainConfig&& value) { SetDomainConfig(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 DescribeDomainConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDomainConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDomainConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DomainConfig m_domainConfig; Aws::String m_requestId; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws