AWS SDK for C++  1.9.108
AWS SDK for C++
ListElasticsearchInstanceTypesResult.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 {
37  {
38  public:
42 
43 
48  inline const Aws::Vector<ESPartitionInstanceType>& GetElasticsearchInstanceTypes() const{ return m_elasticsearchInstanceTypes; }
49 
54  inline void SetElasticsearchInstanceTypes(const Aws::Vector<ESPartitionInstanceType>& value) { m_elasticsearchInstanceTypes = value; }
55 
60  inline void SetElasticsearchInstanceTypes(Aws::Vector<ESPartitionInstanceType>&& value) { m_elasticsearchInstanceTypes = std::move(value); }
61 
66  inline ListElasticsearchInstanceTypesResult& WithElasticsearchInstanceTypes(const Aws::Vector<ESPartitionInstanceType>& value) { SetElasticsearchInstanceTypes(value); return *this;}
67 
72  inline ListElasticsearchInstanceTypesResult& WithElasticsearchInstanceTypes(Aws::Vector<ESPartitionInstanceType>&& value) { SetElasticsearchInstanceTypes(std::move(value)); return *this;}
73 
78  inline ListElasticsearchInstanceTypesResult& AddElasticsearchInstanceTypes(const ESPartitionInstanceType& value) { m_elasticsearchInstanceTypes.push_back(value); return *this; }
79 
84  inline ListElasticsearchInstanceTypesResult& AddElasticsearchInstanceTypes(ESPartitionInstanceType&& value) { m_elasticsearchInstanceTypes.push_back(std::move(value)); return *this; }
85 
86 
92  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
93 
99  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
100 
106  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
107 
113  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
114 
120  inline ListElasticsearchInstanceTypesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
121 
127  inline ListElasticsearchInstanceTypesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
128 
134  inline ListElasticsearchInstanceTypesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
135 
136  private:
137 
138  Aws::Vector<ESPartitionInstanceType> m_elasticsearchInstanceTypes;
139 
140  Aws::String m_nextToken;
141  };
142 
143 } // namespace Model
144 } // namespace ElasticsearchService
145 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
ESPartitionInstanceType.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListElasticsearchInstanceTypesResult.h:106
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListElasticsearchInstanceTypesResult.h:92
AWSVector.h
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::ListElasticsearchInstanceTypesResult
ListElasticsearchInstanceTypesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::AddElasticsearchInstanceTypes
ListElasticsearchInstanceTypesResult & AddElasticsearchInstanceTypes(const ESPartitionInstanceType &value)
Definition: ListElasticsearchInstanceTypesResult.h:78
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult
Definition: ListElasticsearchInstanceTypesResult.h:37
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::AddElasticsearchInstanceTypes
ListElasticsearchInstanceTypesResult & AddElasticsearchInstanceTypes(ESPartitionInstanceType &&value)
Definition: ListElasticsearchInstanceTypesResult.h:84
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::operator=
ListElasticsearchInstanceTypesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListElasticsearchInstanceTypesResult.h:99
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListElasticsearchInstanceTypesResult.h:113
AWSString.h
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::WithNextToken
ListElasticsearchInstanceTypesResult & WithNextToken(const Aws::String &value)
Definition: ListElasticsearchInstanceTypesResult.h:120
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::SetElasticsearchInstanceTypes
void SetElasticsearchInstanceTypes(const Aws::Vector< ESPartitionInstanceType > &value)
Definition: ListElasticsearchInstanceTypesResult.h:54
Aws::ElasticsearchService::Model::ESPartitionInstanceType
ESPartitionInstanceType
Definition: ESPartitionInstanceType.h:17
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::WithElasticsearchInstanceTypes
ListElasticsearchInstanceTypesResult & WithElasticsearchInstanceTypes(Aws::Vector< ESPartitionInstanceType > &&value)
Definition: ListElasticsearchInstanceTypesResult.h:72
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::SetElasticsearchInstanceTypes
void SetElasticsearchInstanceTypes(Aws::Vector< ESPartitionInstanceType > &&value)
Definition: ListElasticsearchInstanceTypesResult.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::WithElasticsearchInstanceTypes
ListElasticsearchInstanceTypesResult & WithElasticsearchInstanceTypes(const Aws::Vector< ESPartitionInstanceType > &value)
Definition: ListElasticsearchInstanceTypesResult.h:66
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::WithNextToken
ListElasticsearchInstanceTypesResult & WithNextToken(Aws::String &&value)
Definition: ListElasticsearchInstanceTypesResult.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::GetElasticsearchInstanceTypes
const Aws::Vector< ESPartitionInstanceType > & GetElasticsearchInstanceTypes() const
Definition: ListElasticsearchInstanceTypesResult.h:48
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::WithNextToken
ListElasticsearchInstanceTypesResult & WithNextToken(const char *value)
Definition: ListElasticsearchInstanceTypesResult.h:134
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesResult::ListElasticsearchInstanceTypesResult
ListElasticsearchInstanceTypesResult()