AWS SDK for C++  1.9.97
AWS SDK for C++
ListPackagesForDomainResult.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 ListPackagesForDomainResult& WithDomainPackageDetailsList(const Aws::Vector<DomainPackageDetails>& value) { SetDomainPackageDetailsList(value); return *this;}
62 
66  inline ListPackagesForDomainResult& WithDomainPackageDetailsList(Aws::Vector<DomainPackageDetails>&& value) { SetDomainPackageDetailsList(std::move(value)); return *this;}
67 
71  inline ListPackagesForDomainResult& AddDomainPackageDetailsList(const DomainPackageDetails& value) { m_domainPackageDetailsList.push_back(value); return *this; }
72 
76  inline ListPackagesForDomainResult& AddDomainPackageDetailsList(DomainPackageDetails&& value) { m_domainPackageDetailsList.push_back(std::move(value)); return *this; }
77 
78 
83  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 
89  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90 
95  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
96 
101  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
102 
107  inline ListPackagesForDomainResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 
113  inline ListPackagesForDomainResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 
119  inline ListPackagesForDomainResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
120 
121  private:
122 
123  Aws::Vector<DomainPackageDetails> m_domainPackageDetailsList;
124 
125  Aws::String m_nextToken;
126  };
127 
128 } // namespace Model
129 } // namespace ElasticsearchService
130 } // namespace Aws
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListPackagesForDomainResult.h:101
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPackagesForDomainResult.h:89
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::GetDomainPackageDetailsList
const Aws::Vector< DomainPackageDetails > & GetDomainPackageDetailsList() const
Definition: ListPackagesForDomainResult.h:46
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::WithNextToken
ListPackagesForDomainResult & WithNextToken(Aws::String &&value)
Definition: ListPackagesForDomainResult.h:113
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::WithNextToken
ListPackagesForDomainResult & WithNextToken(const Aws::String &value)
Definition: ListPackagesForDomainResult.h:107
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPackagesForDomainResult.h:95
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::WithDomainPackageDetailsList
ListPackagesForDomainResult & WithDomainPackageDetailsList(const Aws::Vector< DomainPackageDetails > &value)
Definition: ListPackagesForDomainResult.h:61
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::operator=
ListPackagesForDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
DomainPackageDetails.h
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPackagesForDomainResult.h:83
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::WithDomainPackageDetailsList
ListPackagesForDomainResult & WithDomainPackageDetailsList(Aws::Vector< DomainPackageDetails > &&value)
Definition: ListPackagesForDomainResult.h:66
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::WithNextToken
ListPackagesForDomainResult & WithNextToken(const char *value)
Definition: ListPackagesForDomainResult.h:119
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::ListPackagesForDomainResult
ListPackagesForDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DomainPackageDetails
Definition: DomainPackageDetails.h:37
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::SetDomainPackageDetailsList
void SetDomainPackageDetailsList(Aws::Vector< DomainPackageDetails > &&value)
Definition: ListPackagesForDomainResult.h:56
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::AddDomainPackageDetailsList
ListPackagesForDomainResult & AddDomainPackageDetailsList(DomainPackageDetails &&value)
Definition: ListPackagesForDomainResult.h:76
AWSString.h
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::ListPackagesForDomainResult
ListPackagesForDomainResult()
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::SetDomainPackageDetailsList
void SetDomainPackageDetailsList(const Aws::Vector< DomainPackageDetails > &value)
Definition: ListPackagesForDomainResult.h:51
Aws::ElasticsearchService::Model::ListPackagesForDomainResult
Definition: ListPackagesForDomainResult.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::ListPackagesForDomainResult::AddDomainPackageDetailsList
ListPackagesForDomainResult & AddDomainPackageDetailsList(const DomainPackageDetails &value)
Definition: ListPackagesForDomainResult.h:71