AWS SDK for C++  1.9.107
AWS SDK for C++
ListElasticsearchInstanceTypesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace ElasticsearchService
19 {
20 namespace Model
21 {
22 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "ListElasticsearchInstanceTypes"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44 
45 
50  inline const Aws::String& GetElasticsearchVersion() const{ return m_elasticsearchVersion; }
51 
56  inline bool ElasticsearchVersionHasBeenSet() const { return m_elasticsearchVersionHasBeenSet; }
57 
62  inline void SetElasticsearchVersion(const Aws::String& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = value; }
63 
68  inline void SetElasticsearchVersion(Aws::String&& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = std::move(value); }
69 
74  inline void SetElasticsearchVersion(const char* value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion.assign(value); }
75 
80  inline ListElasticsearchInstanceTypesRequest& WithElasticsearchVersion(const Aws::String& value) { SetElasticsearchVersion(value); return *this;}
81 
86  inline ListElasticsearchInstanceTypesRequest& WithElasticsearchVersion(Aws::String&& value) { SetElasticsearchVersion(std::move(value)); return *this;}
87 
92  inline ListElasticsearchInstanceTypesRequest& WithElasticsearchVersion(const char* value) { SetElasticsearchVersion(value); return *this;}
93 
94 
100  inline const Aws::String& GetDomainName() const{ return m_domainName; }
101 
107  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
108 
114  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
115 
121  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
122 
128  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
129 
135  inline ListElasticsearchInstanceTypesRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
136 
142  inline ListElasticsearchInstanceTypesRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
143 
149  inline ListElasticsearchInstanceTypesRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
150 
151 
156  inline int GetMaxResults() const{ return m_maxResults; }
157 
162  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
163 
168  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
169 
174  inline ListElasticsearchInstanceTypesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
175 
176 
181  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
182 
187  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
188 
193  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
194 
199  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
200 
205  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
206 
211  inline ListElasticsearchInstanceTypesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
212 
217  inline ListElasticsearchInstanceTypesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
218 
223  inline ListElasticsearchInstanceTypesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
224 
225  private:
226 
227  Aws::String m_elasticsearchVersion;
228  bool m_elasticsearchVersionHasBeenSet;
229 
230  Aws::String m_domainName;
231  bool m_domainNameHasBeenSet;
232 
233  int m_maxResults;
234  bool m_maxResultsHasBeenSet;
235 
236  Aws::String m_nextToken;
237  bool m_nextTokenHasBeenSet;
238  };
239 
240 } // namespace Model
241 } // namespace ElasticsearchService
242 } // namespace Aws
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::WithMaxResults
ListElasticsearchInstanceTypesRequest & WithMaxResults(int value)
Definition: ListElasticsearchInstanceTypesRequest.h:174
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: ListElasticsearchInstanceTypesRequest.h:121
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::WithDomainName
ListElasticsearchInstanceTypesRequest & WithDomainName(Aws::String &&value)
Definition: ListElasticsearchInstanceTypesRequest.h:142
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListElasticsearchInstanceTypesRequest.h:193
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::SetElasticsearchVersion
void SetElasticsearchVersion(const Aws::String &value)
Definition: ListElasticsearchInstanceTypesRequest.h:62
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListElasticsearchInstanceTypesRequest.h:205
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::WithElasticsearchVersion
ListElasticsearchInstanceTypesRequest & WithElasticsearchVersion(Aws::String &&value)
Definition: ListElasticsearchInstanceTypesRequest.h:86
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::WithNextToken
ListElasticsearchInstanceTypesRequest & WithNextToken(const Aws::String &value)
Definition: ListElasticsearchInstanceTypesRequest.h:211
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::SetDomainName
void SetDomainName(const char *value)
Definition: ListElasticsearchInstanceTypesRequest.h:128
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::SetElasticsearchVersion
void SetElasticsearchVersion(const char *value)
Definition: ListElasticsearchInstanceTypesRequest.h:74
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListElasticsearchInstanceTypesRequest.h:39
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::WithNextToken
ListElasticsearchInstanceTypesRequest & WithNextToken(const char *value)
Definition: ListElasticsearchInstanceTypesRequest.h:223
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListElasticsearchInstanceTypesRequest.h:187
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: ListElasticsearchInstanceTypesRequest.h:100
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest
Definition: ListElasticsearchInstanceTypesRequest.h:31
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListElasticsearchInstanceTypesRequest.h:181
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::SetElasticsearchVersion
void SetElasticsearchVersion(Aws::String &&value)
Definition: ListElasticsearchInstanceTypesRequest.h:68
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::GetElasticsearchVersion
const Aws::String & GetElasticsearchVersion() const
Definition: ListElasticsearchInstanceTypesRequest.h:50
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListElasticsearchInstanceTypesRequest.h:156
AWSString.h
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::WithNextToken
ListElasticsearchInstanceTypesRequest & WithNextToken(Aws::String &&value)
Definition: ListElasticsearchInstanceTypesRequest.h:217
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::WithDomainName
ListElasticsearchInstanceTypesRequest & WithDomainName(const Aws::String &value)
Definition: ListElasticsearchInstanceTypesRequest.h:135
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListElasticsearchInstanceTypesRequest.h:199
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::WithElasticsearchVersion
ListElasticsearchInstanceTypesRequest & WithElasticsearchVersion(const char *value)
Definition: ListElasticsearchInstanceTypesRequest.h:92
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::ListElasticsearchInstanceTypesRequest
ListElasticsearchInstanceTypesRequest()
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListElasticsearchInstanceTypesRequest.h:162
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::WithDomainName
ListElasticsearchInstanceTypesRequest & WithDomainName(const char *value)
Definition: ListElasticsearchInstanceTypesRequest.h:149
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::ElasticsearchVersionHasBeenSet
bool ElasticsearchVersionHasBeenSet() const
Definition: ListElasticsearchInstanceTypesRequest.h:56
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::WithElasticsearchVersion
ListElasticsearchInstanceTypesRequest & WithElasticsearchVersion(const Aws::String &value)
Definition: ListElasticsearchInstanceTypesRequest.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: ListElasticsearchInstanceTypesRequest.h:107
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListElasticsearchInstanceTypesRequest.h:168
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::ElasticsearchService::Model::ListElasticsearchInstanceTypesRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: ListElasticsearchInstanceTypesRequest.h:114