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

The result of a DescribeDomainChangeProgress request. Contains * the progress information of the requested domain change.

See * Also:

AWS * API Reference

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

Progress information for the configuration change that is requested in the * DescribeDomainChangeProgress request.

*/ inline const ChangeProgressStatusDetails& GetChangeProgressStatus() const{ return m_changeProgressStatus; } /** *

Progress information for the configuration change that is requested in the * DescribeDomainChangeProgress request.

*/ inline void SetChangeProgressStatus(const ChangeProgressStatusDetails& value) { m_changeProgressStatus = value; } /** *

Progress information for the configuration change that is requested in the * DescribeDomainChangeProgress request.

*/ inline void SetChangeProgressStatus(ChangeProgressStatusDetails&& value) { m_changeProgressStatus = std::move(value); } /** *

Progress information for the configuration change that is requested in the * DescribeDomainChangeProgress request.

*/ inline DescribeDomainChangeProgressResult& WithChangeProgressStatus(const ChangeProgressStatusDetails& value) { SetChangeProgressStatus(value); return *this;} /** *

Progress information for the configuration change that is requested in the * DescribeDomainChangeProgress request.

*/ inline DescribeDomainChangeProgressResult& WithChangeProgressStatus(ChangeProgressStatusDetails&& value) { SetChangeProgressStatus(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 DescribeDomainChangeProgressResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDomainChangeProgressResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDomainChangeProgressResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ChangeProgressStatusDetails m_changeProgressStatus; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws