/** * 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 DeleteElasticsearchDomain request. Contains the * status of the pending deletion, or no status if the domain and all of its * resources have been deleted.

See Also:

AWS * API Reference

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

The status of the Elasticsearch domain being deleted.

*/ inline const ElasticsearchDomainStatus& GetDomainStatus() const{ return m_domainStatus; } /** *

The status of the Elasticsearch domain being deleted.

*/ inline void SetDomainStatus(const ElasticsearchDomainStatus& value) { m_domainStatus = value; } /** *

The status of the Elasticsearch domain being deleted.

*/ inline void SetDomainStatus(ElasticsearchDomainStatus&& value) { m_domainStatus = std::move(value); } /** *

The status of the Elasticsearch domain being deleted.

*/ inline DeleteElasticsearchDomainResult& WithDomainStatus(const ElasticsearchDomainStatus& value) { SetDomainStatus(value); return *this;} /** *

The status of the Elasticsearch domain being deleted.

*/ inline DeleteElasticsearchDomainResult& WithDomainStatus(ElasticsearchDomainStatus&& value) { SetDomainStatus(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 DeleteElasticsearchDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteElasticsearchDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteElasticsearchDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ElasticsearchDomainStatus m_domainStatus; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws