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

The results of an UpdateDomain request. Contains the status of * the domain being updated.

See Also:

AWS * API Reference

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

The status of the updated domain.

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

The status of the updated domain.

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

The status of the updated domain.

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

The status of the updated domain.

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

The status of the updated domain.

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

Results of the dry run performed in the update domain request.

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

Results of the dry run performed in the update domain request.

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

Results of the dry run performed in the update domain request.

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

Results of the dry run performed in the update domain request.

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

Results of the dry run performed in the update domain request.

*/ inline UpdateDomainConfigResult& WithDryRunResults(DryRunResults&& value) { SetDryRunResults(std::move(value)); return *this;} /** *

The status of the dry run being performed on the domain, if any.

*/ inline const DryRunProgressStatus& GetDryRunProgressStatus() const{ return m_dryRunProgressStatus; } /** *

The status of the dry run being performed on the domain, if any.

*/ inline void SetDryRunProgressStatus(const DryRunProgressStatus& value) { m_dryRunProgressStatus = value; } /** *

The status of the dry run being performed on the domain, if any.

*/ inline void SetDryRunProgressStatus(DryRunProgressStatus&& value) { m_dryRunProgressStatus = std::move(value); } /** *

The status of the dry run being performed on the domain, if any.

*/ inline UpdateDomainConfigResult& WithDryRunProgressStatus(const DryRunProgressStatus& value) { SetDryRunProgressStatus(value); return *this;} /** *

The status of the dry run being performed on the domain, if any.

*/ inline UpdateDomainConfigResult& WithDryRunProgressStatus(DryRunProgressStatus&& value) { SetDryRunProgressStatus(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 UpdateDomainConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateDomainConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateDomainConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DomainConfig m_domainConfig; DryRunResults m_dryRunResults; DryRunProgressStatus m_dryRunProgressStatus; Aws::String m_requestId; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws