AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeElasticsearchDomainsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace ElasticsearchService
25 {
26 namespace Model
27 {
36  {
37  public:
41 
42 
47  inline const Aws::Vector<ElasticsearchDomainStatus>& GetDomainStatusList() const{ return m_domainStatusList; }
48 
53  inline void SetDomainStatusList(const Aws::Vector<ElasticsearchDomainStatus>& value) { m_domainStatusList = value; }
54 
59  inline void SetDomainStatusList(Aws::Vector<ElasticsearchDomainStatus>&& value) { m_domainStatusList = std::move(value); }
60 
65  inline DescribeElasticsearchDomainsResult& WithDomainStatusList(const Aws::Vector<ElasticsearchDomainStatus>& value) { SetDomainStatusList(value); return *this;}
66 
71  inline DescribeElasticsearchDomainsResult& WithDomainStatusList(Aws::Vector<ElasticsearchDomainStatus>&& value) { SetDomainStatusList(std::move(value)); return *this;}
72 
77  inline DescribeElasticsearchDomainsResult& AddDomainStatusList(const ElasticsearchDomainStatus& value) { m_domainStatusList.push_back(value); return *this; }
78 
83  inline DescribeElasticsearchDomainsResult& AddDomainStatusList(ElasticsearchDomainStatus&& value) { m_domainStatusList.push_back(std::move(value)); return *this; }
84 
85  private:
86 
87  Aws::Vector<ElasticsearchDomainStatus> m_domainStatusList;
88  };
89 
90 } // namespace Model
91 } // namespace ElasticsearchService
92 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsResult::AddDomainStatusList
DescribeElasticsearchDomainsResult & AddDomainStatusList(const ElasticsearchDomainStatus &value)
Definition: DescribeElasticsearchDomainsResult.h:77
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsResult::WithDomainStatusList
DescribeElasticsearchDomainsResult & WithDomainStatusList(const Aws::Vector< ElasticsearchDomainStatus > &value)
Definition: DescribeElasticsearchDomainsResult.h:65
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsResult::SetDomainStatusList
void SetDomainStatusList(const Aws::Vector< ElasticsearchDomainStatus > &value)
Definition: DescribeElasticsearchDomainsResult.h:53
Aws::ElasticsearchService::Model::ElasticsearchDomainStatus
Definition: ElasticsearchDomainStatus.h:46
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsResult::operator=
DescribeElasticsearchDomainsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsResult::SetDomainStatusList
void SetDomainStatusList(Aws::Vector< ElasticsearchDomainStatus > &&value)
Definition: DescribeElasticsearchDomainsResult.h:59
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsResult::DescribeElasticsearchDomainsResult
DescribeElasticsearchDomainsResult()
AWSVector.h
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsResult::WithDomainStatusList
DescribeElasticsearchDomainsResult & WithDomainStatusList(Aws::Vector< ElasticsearchDomainStatus > &&value)
Definition: DescribeElasticsearchDomainsResult.h:71
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsResult::DescribeElasticsearchDomainsResult
DescribeElasticsearchDomainsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
ElasticsearchDomainStatus.h
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsResult::GetDomainStatusList
const Aws::Vector< ElasticsearchDomainStatus > & GetDomainStatusList() const
Definition: DescribeElasticsearchDomainsResult.h:47
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsResult::AddDomainStatusList
DescribeElasticsearchDomainsResult & AddDomainStatusList(ElasticsearchDomainStatus &&value)
Definition: DescribeElasticsearchDomainsResult.h:83
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsResult
Definition: DescribeElasticsearchDomainsResult.h:36