AWS SDK for C++  1.8.71
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
ListElasticsearchInstanceTypesRequest & WithDomainName(const Aws::String &value)
ListElasticsearchInstanceTypesRequest & WithElasticsearchVersion(Aws::String &&value)
ListElasticsearchInstanceTypesRequest & WithDomainName(Aws::String &&value)
ListElasticsearchInstanceTypesRequest & WithElasticsearchVersion(const Aws::String &value)
#define AWS_ELASTICSEARCHSERVICE_API
ListElasticsearchInstanceTypesRequest & WithNextToken(const Aws::String &value)
ListElasticsearchInstanceTypesRequest & WithElasticsearchVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListElasticsearchInstanceTypesRequest & WithNextToken(Aws::String &&value)