AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeReservedElasticsearchInstancesRequest.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 "DescribeReservedElasticsearchInstances"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44 
45 
51  inline const Aws::String& GetReservedElasticsearchInstanceId() const{ return m_reservedElasticsearchInstanceId; }
52 
58  inline bool ReservedElasticsearchInstanceIdHasBeenSet() const { return m_reservedElasticsearchInstanceIdHasBeenSet; }
59 
65  inline void SetReservedElasticsearchInstanceId(const Aws::String& value) { m_reservedElasticsearchInstanceIdHasBeenSet = true; m_reservedElasticsearchInstanceId = value; }
66 
72  inline void SetReservedElasticsearchInstanceId(Aws::String&& value) { m_reservedElasticsearchInstanceIdHasBeenSet = true; m_reservedElasticsearchInstanceId = std::move(value); }
73 
79  inline void SetReservedElasticsearchInstanceId(const char* value) { m_reservedElasticsearchInstanceIdHasBeenSet = true; m_reservedElasticsearchInstanceId.assign(value); }
80 
86  inline DescribeReservedElasticsearchInstancesRequest& WithReservedElasticsearchInstanceId(const Aws::String& value) { SetReservedElasticsearchInstanceId(value); return *this;}
87 
93  inline DescribeReservedElasticsearchInstancesRequest& WithReservedElasticsearchInstanceId(Aws::String&& value) { SetReservedElasticsearchInstanceId(std::move(value)); return *this;}
94 
100  inline DescribeReservedElasticsearchInstancesRequest& WithReservedElasticsearchInstanceId(const char* value) { SetReservedElasticsearchInstanceId(value); return *this;}
101 
102 
107  inline int GetMaxResults() const{ return m_maxResults; }
108 
113  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
114 
119  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
120 
125  inline DescribeReservedElasticsearchInstancesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
126 
127 
132  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
133 
138  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
139 
144  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
145 
150  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
151 
156  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
157 
162  inline DescribeReservedElasticsearchInstancesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
163 
168  inline DescribeReservedElasticsearchInstancesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
169 
174  inline DescribeReservedElasticsearchInstancesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
175 
176  private:
177 
178  Aws::String m_reservedElasticsearchInstanceId;
179  bool m_reservedElasticsearchInstanceIdHasBeenSet;
180 
181  int m_maxResults;
182  bool m_maxResultsHasBeenSet;
183 
184  Aws::String m_nextToken;
185  bool m_nextTokenHasBeenSet;
186  };
187 
188 } // namespace Model
189 } // namespace ElasticsearchService
190 } // namespace Aws
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::WithReservedElasticsearchInstanceId
DescribeReservedElasticsearchInstancesRequest & WithReservedElasticsearchInstanceId(const char *value)
Definition: DescribeReservedElasticsearchInstancesRequest.h:100
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::ReservedElasticsearchInstanceIdHasBeenSet
bool ReservedElasticsearchInstanceIdHasBeenSet() const
Definition: DescribeReservedElasticsearchInstancesRequest.h:58
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::SetReservedElasticsearchInstanceId
void SetReservedElasticsearchInstanceId(const Aws::String &value)
Definition: DescribeReservedElasticsearchInstancesRequest.h:65
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::WithNextToken
DescribeReservedElasticsearchInstancesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeReservedElasticsearchInstancesRequest.h:162
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeReservedElasticsearchInstancesRequest.h:150
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::WithReservedElasticsearchInstanceId
DescribeReservedElasticsearchInstancesRequest & WithReservedElasticsearchInstanceId(const Aws::String &value)
Definition: DescribeReservedElasticsearchInstancesRequest.h:86
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeReservedElasticsearchInstancesRequest.h:138
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::WithNextToken
DescribeReservedElasticsearchInstancesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeReservedElasticsearchInstancesRequest.h:168
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeReservedElasticsearchInstancesRequest.h:119
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeReservedElasticsearchInstancesRequest.h:156
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::GetReservedElasticsearchInstanceId
const Aws::String & GetReservedElasticsearchInstanceId() const
Definition: DescribeReservedElasticsearchInstancesRequest.h:51
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest
Definition: DescribeReservedElasticsearchInstancesRequest.h:31
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeReservedElasticsearchInstancesRequest.h:113
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::WithReservedElasticsearchInstanceId
DescribeReservedElasticsearchInstancesRequest & WithReservedElasticsearchInstanceId(Aws::String &&value)
Definition: DescribeReservedElasticsearchInstancesRequest.h:93
AWSString.h
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeReservedElasticsearchInstancesRequest.h:144
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::DescribeReservedElasticsearchInstancesRequest
DescribeReservedElasticsearchInstancesRequest()
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::SetReservedElasticsearchInstanceId
void SetReservedElasticsearchInstanceId(const char *value)
Definition: DescribeReservedElasticsearchInstancesRequest.h:79
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::WithNextToken
DescribeReservedElasticsearchInstancesRequest & WithNextToken(const char *value)
Definition: DescribeReservedElasticsearchInstancesRequest.h:174
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::SetReservedElasticsearchInstanceId
void SetReservedElasticsearchInstanceId(Aws::String &&value)
Definition: DescribeReservedElasticsearchInstancesRequest.h:72
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::WithMaxResults
DescribeReservedElasticsearchInstancesRequest & WithMaxResults(int value)
Definition: DescribeReservedElasticsearchInstancesRequest.h:125
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeReservedElasticsearchInstancesRequest.h:107
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeReservedElasticsearchInstancesRequest.h:132
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstancesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeReservedElasticsearchInstancesRequest.h:39