AWS SDK for C++  1.9.97
AWS SDK for C++
ListDomainsForPackageResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace ElasticsearchService
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<DomainPackageDetails>& GetDomainPackageDetailsList() const{ return m_domainPackageDetailsList; }
47 
51  inline void SetDomainPackageDetailsList(const Aws::Vector<DomainPackageDetails>& value) { m_domainPackageDetailsList = value; }
52 
56  inline void SetDomainPackageDetailsList(Aws::Vector<DomainPackageDetails>&& value) { m_domainPackageDetailsList = std::move(value); }
57 
61  inline ListDomainsForPackageResult& WithDomainPackageDetailsList(const Aws::Vector<DomainPackageDetails>& value) { SetDomainPackageDetailsList(value); return *this;}
62 
66  inline ListDomainsForPackageResult& WithDomainPackageDetailsList(Aws::Vector<DomainPackageDetails>&& value) { SetDomainPackageDetailsList(std::move(value)); return *this;}
67 
71  inline ListDomainsForPackageResult& AddDomainPackageDetailsList(const DomainPackageDetails& value) { m_domainPackageDetailsList.push_back(value); return *this; }
72 
76  inline ListDomainsForPackageResult& AddDomainPackageDetailsList(DomainPackageDetails&& value) { m_domainPackageDetailsList.push_back(std::move(value)); return *this; }
77 
78 
79 
80  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81 
82 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
85 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
88 
89  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
90 
91 
92  inline ListDomainsForPackageResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
93 
94 
95  inline ListDomainsForPackageResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
96 
97 
98  inline ListDomainsForPackageResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
99 
100  private:
101 
102  Aws::Vector<DomainPackageDetails> m_domainPackageDetailsList;
103 
104  Aws::String m_nextToken;
105  };
106 
107 } // namespace Model
108 } // namespace ElasticsearchService
109 } // namespace Aws
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::SetDomainPackageDetailsList
void SetDomainPackageDetailsList(const Aws::Vector< DomainPackageDetails > &value)
Definition: ListDomainsForPackageResult.h:51
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::GetDomainPackageDetailsList
const Aws::Vector< DomainPackageDetails > & GetDomainPackageDetailsList() const
Definition: ListDomainsForPackageResult.h:46
Aws::ElasticsearchService::Model::ListDomainsForPackageResult
Definition: ListDomainsForPackageResult.h:36
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::WithDomainPackageDetailsList
ListDomainsForPackageResult & WithDomainPackageDetailsList(const Aws::Vector< DomainPackageDetails > &value)
Definition: ListDomainsForPackageResult.h:61
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::ListDomainsForPackageResult
ListDomainsForPackageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDomainsForPackageResult.h:86
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::WithNextToken
ListDomainsForPackageResult & WithNextToken(const Aws::String &value)
Definition: ListDomainsForPackageResult.h:92
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
DomainPackageDetails.h
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDomainsForPackageResult.h:83
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::WithDomainPackageDetailsList
ListDomainsForPackageResult & WithDomainPackageDetailsList(Aws::Vector< DomainPackageDetails > &&value)
Definition: ListDomainsForPackageResult.h:66
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::SetDomainPackageDetailsList
void SetDomainPackageDetailsList(Aws::Vector< DomainPackageDetails > &&value)
Definition: ListDomainsForPackageResult.h:56
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::operator=
ListDomainsForPackageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DomainPackageDetails
Definition: DomainPackageDetails.h:37
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDomainsForPackageResult.h:80
AWSString.h
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::AddDomainPackageDetailsList
ListDomainsForPackageResult & AddDomainPackageDetailsList(DomainPackageDetails &&value)
Definition: ListDomainsForPackageResult.h:76
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::WithNextToken
ListDomainsForPackageResult & WithNextToken(Aws::String &&value)
Definition: ListDomainsForPackageResult.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::AddDomainPackageDetailsList
ListDomainsForPackageResult & AddDomainPackageDetailsList(const DomainPackageDetails &value)
Definition: ListDomainsForPackageResult.h:71
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::ListDomainsForPackageResult
ListDomainsForPackageResult()
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDomainsForPackageResult.h:89
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::ListDomainsForPackageResult::WithNextToken
ListDomainsForPackageResult & WithNextToken(const char *value)
Definition: ListDomainsForPackageResult.h:98