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

The result of an UpdateElasticsearchDomain request. Contains the * status of the Elasticsearch domain being updated.

See Also:

AWS * API Reference

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

The status of the updated Elasticsearch domain.

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

The status of the updated Elasticsearch domain.

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

The status of the updated Elasticsearch domain.

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

The status of the updated Elasticsearch domain.

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

The status of the updated Elasticsearch domain.

*/ inline UpdateElasticsearchDomainConfigResult& WithDomainConfig(ElasticsearchDomainConfig&& value) { SetDomainConfig(std::move(value)); return *this;} /** *

Contains result of DryRun.

*/ inline const DryRunResults& GetDryRunResults() const{ return m_dryRunResults; } /** *

Contains result of DryRun.

*/ inline void SetDryRunResults(const DryRunResults& value) { m_dryRunResults = value; } /** *

Contains result of DryRun.

*/ inline void SetDryRunResults(DryRunResults&& value) { m_dryRunResults = std::move(value); } /** *

Contains result of DryRun.

*/ inline UpdateElasticsearchDomainConfigResult& WithDryRunResults(const DryRunResults& value) { SetDryRunResults(value); return *this;} /** *

Contains result of DryRun.

*/ inline UpdateElasticsearchDomainConfigResult& WithDryRunResults(DryRunResults&& value) { SetDryRunResults(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 UpdateElasticsearchDomainConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateElasticsearchDomainConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateElasticsearchDomainConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ElasticsearchDomainConfig m_domainConfig; DryRunResults m_dryRunResults; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws