93 lines
3.3 KiB
C++
93 lines
3.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/core/utils/memory/stl/AWSVector.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>DescribeElasticsearchDomains</code> request. Contains
|
|
* the status of the specified domains or all domains owned by the
|
|
* account.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainsResponse">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_ELASTICSEARCHSERVICE_API DescribeElasticsearchDomainsResult
|
|
{
|
|
public:
|
|
DescribeElasticsearchDomainsResult();
|
|
DescribeElasticsearchDomainsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
DescribeElasticsearchDomainsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The status of the domains requested in the
|
|
* <code>DescribeElasticsearchDomains</code> request.</p>
|
|
*/
|
|
inline const Aws::Vector<ElasticsearchDomainStatus>& GetDomainStatusList() const{ return m_domainStatusList; }
|
|
|
|
/**
|
|
* <p>The status of the domains requested in the
|
|
* <code>DescribeElasticsearchDomains</code> request.</p>
|
|
*/
|
|
inline void SetDomainStatusList(const Aws::Vector<ElasticsearchDomainStatus>& value) { m_domainStatusList = value; }
|
|
|
|
/**
|
|
* <p>The status of the domains requested in the
|
|
* <code>DescribeElasticsearchDomains</code> request.</p>
|
|
*/
|
|
inline void SetDomainStatusList(Aws::Vector<ElasticsearchDomainStatus>&& value) { m_domainStatusList = std::move(value); }
|
|
|
|
/**
|
|
* <p>The status of the domains requested in the
|
|
* <code>DescribeElasticsearchDomains</code> request.</p>
|
|
*/
|
|
inline DescribeElasticsearchDomainsResult& WithDomainStatusList(const Aws::Vector<ElasticsearchDomainStatus>& value) { SetDomainStatusList(value); return *this;}
|
|
|
|
/**
|
|
* <p>The status of the domains requested in the
|
|
* <code>DescribeElasticsearchDomains</code> request.</p>
|
|
*/
|
|
inline DescribeElasticsearchDomainsResult& WithDomainStatusList(Aws::Vector<ElasticsearchDomainStatus>&& value) { SetDomainStatusList(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The status of the domains requested in the
|
|
* <code>DescribeElasticsearchDomains</code> request.</p>
|
|
*/
|
|
inline DescribeElasticsearchDomainsResult& AddDomainStatusList(const ElasticsearchDomainStatus& value) { m_domainStatusList.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>The status of the domains requested in the
|
|
* <code>DescribeElasticsearchDomains</code> request.</p>
|
|
*/
|
|
inline DescribeElasticsearchDomainsResult& AddDomainStatusList(ElasticsearchDomainStatus&& value) { m_domainStatusList.push_back(std::move(value)); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::Vector<ElasticsearchDomainStatus> m_domainStatusList;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace ElasticsearchService
|
|
} // namespace Aws
|