AWS SDK for C++  1.9.20
AWS SDK for C++
GetUsagePlanKeysRequest.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 APIGateway
19 {
20 namespace Model
21 {
22 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "GetUsagePlanKeys"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
50  inline const Aws::String& GetUsagePlanId() const{ return m_usagePlanId; }
51 
57  inline bool UsagePlanIdHasBeenSet() const { return m_usagePlanIdHasBeenSet; }
58 
64  inline void SetUsagePlanId(const Aws::String& value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId = value; }
65 
71  inline void SetUsagePlanId(Aws::String&& value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId = std::move(value); }
72 
78  inline void SetUsagePlanId(const char* value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId.assign(value); }
79 
85  inline GetUsagePlanKeysRequest& WithUsagePlanId(const Aws::String& value) { SetUsagePlanId(value); return *this;}
86 
92  inline GetUsagePlanKeysRequest& WithUsagePlanId(Aws::String&& value) { SetUsagePlanId(std::move(value)); return *this;}
93 
99  inline GetUsagePlanKeysRequest& WithUsagePlanId(const char* value) { SetUsagePlanId(value); return *this;}
100 
101 
105  inline const Aws::String& GetPosition() const{ return m_position; }
106 
110  inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
111 
115  inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
116 
120  inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
121 
125  inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
126 
130  inline GetUsagePlanKeysRequest& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
131 
135  inline GetUsagePlanKeysRequest& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
136 
140  inline GetUsagePlanKeysRequest& WithPosition(const char* value) { SetPosition(value); return *this;}
141 
142 
147  inline int GetLimit() const{ return m_limit; }
148 
153  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
154 
159  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
160 
165  inline GetUsagePlanKeysRequest& WithLimit(int value) { SetLimit(value); return *this;}
166 
167 
172  inline const Aws::String& GetNameQuery() const{ return m_nameQuery; }
173 
178  inline bool NameQueryHasBeenSet() const { return m_nameQueryHasBeenSet; }
179 
184  inline void SetNameQuery(const Aws::String& value) { m_nameQueryHasBeenSet = true; m_nameQuery = value; }
185 
190  inline void SetNameQuery(Aws::String&& value) { m_nameQueryHasBeenSet = true; m_nameQuery = std::move(value); }
191 
196  inline void SetNameQuery(const char* value) { m_nameQueryHasBeenSet = true; m_nameQuery.assign(value); }
197 
202  inline GetUsagePlanKeysRequest& WithNameQuery(const Aws::String& value) { SetNameQuery(value); return *this;}
203 
208  inline GetUsagePlanKeysRequest& WithNameQuery(Aws::String&& value) { SetNameQuery(std::move(value)); return *this;}
209 
214  inline GetUsagePlanKeysRequest& WithNameQuery(const char* value) { SetNameQuery(value); return *this;}
215 
216  private:
217 
218  Aws::String m_usagePlanId;
219  bool m_usagePlanIdHasBeenSet;
220 
221  Aws::String m_position;
222  bool m_positionHasBeenSet;
223 
224  int m_limit;
225  bool m_limitHasBeenSet;
226 
227  Aws::String m_nameQuery;
228  bool m_nameQueryHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace APIGateway
233 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::APIGateway::Model::GetUsagePlanKeysRequest::GetLimit
int GetLimit() const
Definition: GetUsagePlanKeysRequest.h:147
Aws::APIGateway::Model::GetUsagePlanKeysRequest::WithNameQuery
GetUsagePlanKeysRequest & WithNameQuery(const char *value)
Definition: GetUsagePlanKeysRequest.h:214
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetUsagePlanKeysRequest::PositionHasBeenSet
bool PositionHasBeenSet() const
Definition: GetUsagePlanKeysRequest.h:110
Aws::APIGateway::Model::GetUsagePlanKeysRequest::WithPosition
GetUsagePlanKeysRequest & WithPosition(const char *value)
Definition: GetUsagePlanKeysRequest.h:140
Aws::APIGateway::Model::GetUsagePlanKeysRequest::WithUsagePlanId
GetUsagePlanKeysRequest & WithUsagePlanId(const char *value)
Definition: GetUsagePlanKeysRequest.h:99
Aws::APIGateway::Model::GetUsagePlanKeysRequest::SetNameQuery
void SetNameQuery(const Aws::String &value)
Definition: GetUsagePlanKeysRequest.h:184
Aws::APIGateway::Model::GetUsagePlanKeysRequest::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetUsagePlanKeysRequest.h:120
Aws::APIGateway::Model::GetUsagePlanKeysRequest::UsagePlanIdHasBeenSet
bool UsagePlanIdHasBeenSet() const
Definition: GetUsagePlanKeysRequest.h:57
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetUsagePlanKeysRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::APIGateway::Model::GetUsagePlanKeysRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: GetUsagePlanKeysRequest.h:153
APIGatewayRequest.h
Aws::APIGateway::Model::GetUsagePlanKeysRequest
Definition: GetUsagePlanKeysRequest.h:30
Aws::APIGateway::Model::GetUsagePlanKeysRequest::WithPosition
GetUsagePlanKeysRequest & WithPosition(const Aws::String &value)
Definition: GetUsagePlanKeysRequest.h:130
Aws::APIGateway::Model::GetUsagePlanKeysRequest::WithNameQuery
GetUsagePlanKeysRequest & WithNameQuery(const Aws::String &value)
Definition: GetUsagePlanKeysRequest.h:202
Aws::APIGateway::Model::GetUsagePlanKeysRequest::SetUsagePlanId
void SetUsagePlanId(Aws::String &&value)
Definition: GetUsagePlanKeysRequest.h:71
Aws::APIGateway::Model::GetUsagePlanKeysRequest::GetUsagePlanId
const Aws::String & GetUsagePlanId() const
Definition: GetUsagePlanKeysRequest.h:50
Aws::APIGateway::Model::GetUsagePlanKeysRequest::WithUsagePlanId
GetUsagePlanKeysRequest & WithUsagePlanId(Aws::String &&value)
Definition: GetUsagePlanKeysRequest.h:92
AWSString.h
Aws::APIGateway::Model::GetUsagePlanKeysRequest::GetNameQuery
const Aws::String & GetNameQuery() const
Definition: GetUsagePlanKeysRequest.h:172
Aws::APIGateway::Model::GetUsagePlanKeysRequest::WithUsagePlanId
GetUsagePlanKeysRequest & WithUsagePlanId(const Aws::String &value)
Definition: GetUsagePlanKeysRequest.h:85
Aws::APIGateway::Model::GetUsagePlanKeysRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::GetUsagePlanKeysRequest::WithLimit
GetUsagePlanKeysRequest & WithLimit(int value)
Definition: GetUsagePlanKeysRequest.h:165
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetUsagePlanKeysRequest::NameQueryHasBeenSet
bool NameQueryHasBeenSet() const
Definition: GetUsagePlanKeysRequest.h:178
Aws::APIGateway::Model::GetUsagePlanKeysRequest::WithNameQuery
GetUsagePlanKeysRequest & WithNameQuery(Aws::String &&value)
Definition: GetUsagePlanKeysRequest.h:208
Aws::APIGateway::Model::GetUsagePlanKeysRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetUsagePlanKeysRequest.h:38
Aws::APIGateway::Model::GetUsagePlanKeysRequest::GetUsagePlanKeysRequest
GetUsagePlanKeysRequest()
Aws::APIGateway::Model::GetUsagePlanKeysRequest::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetUsagePlanKeysRequest.h:115
Aws::APIGateway::Model::GetUsagePlanKeysRequest::SetUsagePlanId
void SetUsagePlanId(const Aws::String &value)
Definition: GetUsagePlanKeysRequest.h:64
Aws::APIGateway::Model::GetUsagePlanKeysRequest::SetUsagePlanId
void SetUsagePlanId(const char *value)
Definition: GetUsagePlanKeysRequest.h:78
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetUsagePlanKeysRequest::SetNameQuery
void SetNameQuery(const char *value)
Definition: GetUsagePlanKeysRequest.h:196
Aws::APIGateway::Model::GetUsagePlanKeysRequest::SetNameQuery
void SetNameQuery(Aws::String &&value)
Definition: GetUsagePlanKeysRequest.h:190
Aws::APIGateway::Model::GetUsagePlanKeysRequest::SetPosition
void SetPosition(const char *value)
Definition: GetUsagePlanKeysRequest.h:125
Aws::APIGateway::Model::GetUsagePlanKeysRequest::WithPosition
GetUsagePlanKeysRequest & WithPosition(Aws::String &&value)
Definition: GetUsagePlanKeysRequest.h:135
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::GetUsagePlanKeysRequest::SetLimit
void SetLimit(int value)
Definition: GetUsagePlanKeysRequest.h:159
Aws::APIGateway::Model::GetUsagePlanKeysRequest::GetPosition
const Aws::String & GetPosition() const
Definition: GetUsagePlanKeysRequest.h:105