/** * 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 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 AWS_ELASTICSEARCHSERVICE_API DeleteElasticsearchDomainResult { public: DeleteElasticsearchDomainResult(); DeleteElasticsearchDomainResult(const Aws::AmazonWebServiceResult& result); 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;} private: ElasticsearchDomainStatus m_domainStatus; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws