This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-es/include/aws/es/model/CreateElasticsearchDomainResult.h

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>CreateElasticsearchDomain</code> operation. Contains
* the status of the newly created Elasticsearch domain.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/CreateElasticsearchDomainResponse">AWS
* API Reference</a></p>
*/
class AWS_ELASTICSEARCHSERVICE_API CreateElasticsearchDomainResult
{
public:
CreateElasticsearchDomainResult();
CreateElasticsearchDomainResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateElasticsearchDomainResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The status of the newly created Elasticsearch domain. </p>
*/
inline const ElasticsearchDomainStatus& GetDomainStatus() const{ return m_domainStatus; }
/**
* <p>The status of the newly created Elasticsearch domain. </p>
*/
inline void SetDomainStatus(const ElasticsearchDomainStatus& value) { m_domainStatus = value; }
/**
* <p>The status of the newly created Elasticsearch domain. </p>
*/
inline void SetDomainStatus(ElasticsearchDomainStatus&& value) { m_domainStatus = std::move(value); }
/**
* <p>The status of the newly created Elasticsearch domain. </p>
*/
inline CreateElasticsearchDomainResult& WithDomainStatus(const ElasticsearchDomainStatus& value) { SetDomainStatus(value); return *this;}
/**
* <p>The status of the newly created Elasticsearch domain. </p>
*/
inline CreateElasticsearchDomainResult& WithDomainStatus(ElasticsearchDomainStatus&& value) { SetDomainStatus(std::move(value)); return *this;}
private:
ElasticsearchDomainStatus m_domainStatus;
};
} // namespace Model
} // namespace ElasticsearchService
} // namespace Aws