75 lines
2.3 KiB
C
75 lines
2.3 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/es/ElasticsearchService_EXPORTS.h>
|
|||
|
|
#include <aws/es/model/ElasticsearchDomainStatus.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace ElasticsearchService
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
/**
|
|||
|
|
* <p>The result of a <code>DeleteElasticsearchDomain</code> request. Contains the
|
|||
|
|
* status of the pending deletion, or no status if the domain and all of its
|
|||
|
|
* resources have been deleted.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DeleteElasticsearchDomainResponse">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_ELASTICSEARCHSERVICE_API DeleteElasticsearchDomainResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DeleteElasticsearchDomainResult();
|
|||
|
|
DeleteElasticsearchDomainResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
DeleteElasticsearchDomainResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the Elasticsearch domain being deleted.</p>
|
|||
|
|
*/
|
|||
|
|
inline const ElasticsearchDomainStatus& GetDomainStatus() const{ return m_domainStatus; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the Elasticsearch domain being deleted.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDomainStatus(const ElasticsearchDomainStatus& value) { m_domainStatus = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the Elasticsearch domain being deleted.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDomainStatus(ElasticsearchDomainStatus&& value) { m_domainStatus = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the Elasticsearch domain being deleted.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteElasticsearchDomainResult& WithDomainStatus(const ElasticsearchDomainStatus& value) { SetDomainStatus(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the Elasticsearch domain being deleted.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteElasticsearchDomainResult& WithDomainStatus(ElasticsearchDomainStatus&& value) { SetDomainStatus(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
ElasticsearchDomainStatus m_domainStatus;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace ElasticsearchService
|
|||
|
|
} // namespace Aws
|