AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeReservedElasticsearchInstanceOfferingsRequest.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 "DescribeReservedElasticsearchInstanceOfferings"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44 
45 
50  inline const Aws::String& GetReservedElasticsearchInstanceOfferingId() const{ return m_reservedElasticsearchInstanceOfferingId; }
51 
56  inline bool ReservedElasticsearchInstanceOfferingIdHasBeenSet() const { return m_reservedElasticsearchInstanceOfferingIdHasBeenSet; }
57 
62  inline void SetReservedElasticsearchInstanceOfferingId(const Aws::String& value) { m_reservedElasticsearchInstanceOfferingIdHasBeenSet = true; m_reservedElasticsearchInstanceOfferingId = value; }
63 
68  inline void SetReservedElasticsearchInstanceOfferingId(Aws::String&& value) { m_reservedElasticsearchInstanceOfferingIdHasBeenSet = true; m_reservedElasticsearchInstanceOfferingId = std::move(value); }
69 
74  inline void SetReservedElasticsearchInstanceOfferingId(const char* value) { m_reservedElasticsearchInstanceOfferingIdHasBeenSet = true; m_reservedElasticsearchInstanceOfferingId.assign(value); }
75 
80  inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithReservedElasticsearchInstanceOfferingId(const Aws::String& value) { SetReservedElasticsearchInstanceOfferingId(value); return *this;}
81 
86  inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithReservedElasticsearchInstanceOfferingId(Aws::String&& value) { SetReservedElasticsearchInstanceOfferingId(std::move(value)); return *this;}
87 
92  inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithReservedElasticsearchInstanceOfferingId(const char* value) { SetReservedElasticsearchInstanceOfferingId(value); return *this;}
93 
94 
99  inline int GetMaxResults() const{ return m_maxResults; }
100 
105  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
106 
111  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
112 
117  inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
118 
119 
124  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
125 
130  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
131 
136  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
137 
142  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
143 
148  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
149 
154  inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
155 
160  inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
161 
166  inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
167 
168  private:
169 
170  Aws::String m_reservedElasticsearchInstanceOfferingId;
171  bool m_reservedElasticsearchInstanceOfferingIdHasBeenSet;
172 
173  int m_maxResults;
174  bool m_maxResultsHasBeenSet;
175 
176  Aws::String m_nextToken;
177  bool m_nextTokenHasBeenSet;
178  };
179 
180 } // namespace Model
181 } // namespace ElasticsearchService
182 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::WithReservedElasticsearchInstanceOfferingId
DescribeReservedElasticsearchInstanceOfferingsRequest & WithReservedElasticsearchInstanceOfferingId(const Aws::String &value)
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:80
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:142
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:99
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:39
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::WithReservedElasticsearchInstanceOfferingId
DescribeReservedElasticsearchInstanceOfferingsRequest & WithReservedElasticsearchInstanceOfferingId(const char *value)
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:92
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:148
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::WithNextToken
DescribeReservedElasticsearchInstanceOfferingsRequest & WithNextToken(const char *value)
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:166
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:124
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::WithReservedElasticsearchInstanceOfferingId
DescribeReservedElasticsearchInstanceOfferingsRequest & WithReservedElasticsearchInstanceOfferingId(Aws::String &&value)
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:86
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:31
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::WithNextToken
DescribeReservedElasticsearchInstanceOfferingsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:160
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:111
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::DescribeReservedElasticsearchInstanceOfferingsRequest
DescribeReservedElasticsearchInstanceOfferingsRequest()
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::WithMaxResults
DescribeReservedElasticsearchInstanceOfferingsRequest & WithMaxResults(int value)
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:117
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::ReservedElasticsearchInstanceOfferingIdHasBeenSet
bool ReservedElasticsearchInstanceOfferingIdHasBeenSet() const
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:56
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::GetReservedElasticsearchInstanceOfferingId
const Aws::String & GetReservedElasticsearchInstanceOfferingId() const
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:50
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:105
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:130
AWSString.h
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::SetReservedElasticsearchInstanceOfferingId
void SetReservedElasticsearchInstanceOfferingId(Aws::String &&value)
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:68
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:136
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::SetReservedElasticsearchInstanceOfferingId
void SetReservedElasticsearchInstanceOfferingId(const Aws::String &value)
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:62
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::WithNextToken
DescribeReservedElasticsearchInstanceOfferingsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:154
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsRequest::SetReservedElasticsearchInstanceOfferingId
void SetReservedElasticsearchInstanceOfferingId(const char *value)
Definition: DescribeReservedElasticsearchInstanceOfferingsRequest.h:74