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

The result of a DescribeElasticsearchDomainConfig request. * Contains the configuration information of the requested domain.

See * Also:

AWS * API Reference

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

The configuration information of the domain requested in the * DescribeElasticsearchDomainConfig request.

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

The configuration information of the domain requested in the * DescribeElasticsearchDomainConfig request.

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

The configuration information of the domain requested in the * DescribeElasticsearchDomainConfig request.

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

The configuration information of the domain requested in the * DescribeElasticsearchDomainConfig request.

*/ inline DescribeElasticsearchDomainConfigResult& WithDomainConfig(const ElasticsearchDomainConfig& value) { SetDomainConfig(value); return *this;} /** *

The configuration information of the domain requested in the * DescribeElasticsearchDomainConfig request.

*/ inline DescribeElasticsearchDomainConfigResult& WithDomainConfig(ElasticsearchDomainConfig&& value) { SetDomainConfig(std::move(value)); return *this;} private: ElasticsearchDomainConfig m_domainConfig; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws