/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of a CreateElasticsearchDomain operation. Contains
* the status of the newly created Elasticsearch domain.See Also:
* AWS
* API Reference
The status of the newly created Elasticsearch domain.
*/ inline const ElasticsearchDomainStatus& GetDomainStatus() const{ return m_domainStatus; } /** *The status of the newly created Elasticsearch domain.
*/ inline void SetDomainStatus(const ElasticsearchDomainStatus& value) { m_domainStatus = value; } /** *The status of the newly created Elasticsearch domain.
*/ inline void SetDomainStatus(ElasticsearchDomainStatus&& value) { m_domainStatus = std::move(value); } /** *The status of the newly created Elasticsearch domain.
*/ inline CreateElasticsearchDomainResult& WithDomainStatus(const ElasticsearchDomainStatus& value) { SetDomainStatus(value); return *this;} /** *The status of the newly created Elasticsearch domain.
*/ inline CreateElasticsearchDomainResult& WithDomainStatus(ElasticsearchDomainStatus&& value) { SetDomainStatus(std::move(value)); return *this;} private: ElasticsearchDomainStatus m_domainStatus; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws