AWS SDK for C++  1.9.106
AWS SDK for C++
ListDomainNamesResult.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 
46  inline const Aws::Vector<DomainInfo>& GetDomainNames() const{ return m_domainNames; }
47 
51  inline void SetDomainNames(const Aws::Vector<DomainInfo>& value) { m_domainNames = value; }
52 
56  inline void SetDomainNames(Aws::Vector<DomainInfo>&& value) { m_domainNames = std::move(value); }
57 
61  inline ListDomainNamesResult& WithDomainNames(const Aws::Vector<DomainInfo>& value) { SetDomainNames(value); return *this;}
62 
66  inline ListDomainNamesResult& WithDomainNames(Aws::Vector<DomainInfo>&& value) { SetDomainNames(std::move(value)); return *this;}
67 
71  inline ListDomainNamesResult& AddDomainNames(const DomainInfo& value) { m_domainNames.push_back(value); return *this; }
72 
76  inline ListDomainNamesResult& AddDomainNames(DomainInfo&& value) { m_domainNames.push_back(std::move(value)); return *this; }
77 
78  private:
79 
80  Aws::Vector<DomainInfo> m_domainNames;
81  };
82 
83 } // namespace Model
84 } // namespace ElasticsearchService
85 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::DomainInfo
Definition: DomainInfo.h:28
Aws::ElasticsearchService::Model::ListDomainNamesResult::SetDomainNames
void SetDomainNames(Aws::Vector< DomainInfo > &&value)
Definition: ListDomainNamesResult.h:56
Aws::ElasticsearchService::Model::ListDomainNamesResult::AddDomainNames
ListDomainNamesResult & AddDomainNames(const DomainInfo &value)
Definition: ListDomainNamesResult.h:71
Aws::ElasticsearchService::Model::ListDomainNamesResult::ListDomainNamesResult
ListDomainNamesResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticsearchService::Model::ListDomainNamesResult::AddDomainNames
ListDomainNamesResult & AddDomainNames(DomainInfo &&value)
Definition: ListDomainNamesResult.h:76
Aws::ElasticsearchService::Model::ListDomainNamesResult::WithDomainNames
ListDomainNamesResult & WithDomainNames(Aws::Vector< DomainInfo > &&value)
Definition: ListDomainNamesResult.h:66
AWSVector.h
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::ListDomainNamesResult::WithDomainNames
ListDomainNamesResult & WithDomainNames(const Aws::Vector< DomainInfo > &value)
Definition: ListDomainNamesResult.h:61
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::ListDomainNamesResult::ListDomainNamesResult
ListDomainNamesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::ListDomainNamesResult::GetDomainNames
const Aws::Vector< DomainInfo > & GetDomainNames() const
Definition: ListDomainNamesResult.h:46
Aws::ElasticsearchService::Model::ListDomainNamesResult::operator=
ListDomainNamesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
DomainInfo.h
Aws::ElasticsearchService::Model::ListDomainNamesResult
Definition: ListDomainNamesResult.h:36
Aws::ElasticsearchService::Model::ListDomainNamesResult::SetDomainNames
void SetDomainNames(const Aws::Vector< DomainInfo > &value)
Definition: ListDomainNamesResult.h:51