AWS SDK for C++  1.9.20
AWS SDK for C++
GetApiKeysRequest.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 "GetApiKeys"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline const Aws::String& GetPosition() const{ return m_position; }
49 
53  inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
54 
58  inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
59 
63  inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
64 
68  inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
69 
73  inline GetApiKeysRequest& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
74 
78  inline GetApiKeysRequest& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
79 
83  inline GetApiKeysRequest& WithPosition(const char* value) { SetPosition(value); return *this;}
84 
85 
90  inline int GetLimit() const{ return m_limit; }
91 
96  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
97 
102  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
103 
108  inline GetApiKeysRequest& WithLimit(int value) { SetLimit(value); return *this;}
109 
110 
114  inline const Aws::String& GetNameQuery() const{ return m_nameQuery; }
115 
119  inline bool NameQueryHasBeenSet() const { return m_nameQueryHasBeenSet; }
120 
124  inline void SetNameQuery(const Aws::String& value) { m_nameQueryHasBeenSet = true; m_nameQuery = value; }
125 
129  inline void SetNameQuery(Aws::String&& value) { m_nameQueryHasBeenSet = true; m_nameQuery = std::move(value); }
130 
134  inline void SetNameQuery(const char* value) { m_nameQueryHasBeenSet = true; m_nameQuery.assign(value); }
135 
139  inline GetApiKeysRequest& WithNameQuery(const Aws::String& value) { SetNameQuery(value); return *this;}
140 
144  inline GetApiKeysRequest& WithNameQuery(Aws::String&& value) { SetNameQuery(std::move(value)); return *this;}
145 
149  inline GetApiKeysRequest& WithNameQuery(const char* value) { SetNameQuery(value); return *this;}
150 
151 
156  inline const Aws::String& GetCustomerId() const{ return m_customerId; }
157 
162  inline bool CustomerIdHasBeenSet() const { return m_customerIdHasBeenSet; }
163 
168  inline void SetCustomerId(const Aws::String& value) { m_customerIdHasBeenSet = true; m_customerId = value; }
169 
174  inline void SetCustomerId(Aws::String&& value) { m_customerIdHasBeenSet = true; m_customerId = std::move(value); }
175 
180  inline void SetCustomerId(const char* value) { m_customerIdHasBeenSet = true; m_customerId.assign(value); }
181 
186  inline GetApiKeysRequest& WithCustomerId(const Aws::String& value) { SetCustomerId(value); return *this;}
187 
192  inline GetApiKeysRequest& WithCustomerId(Aws::String&& value) { SetCustomerId(std::move(value)); return *this;}
193 
198  inline GetApiKeysRequest& WithCustomerId(const char* value) { SetCustomerId(value); return *this;}
199 
200 
205  inline bool GetIncludeValues() const{ return m_includeValues; }
206 
211  inline bool IncludeValuesHasBeenSet() const { return m_includeValuesHasBeenSet; }
212 
217  inline void SetIncludeValues(bool value) { m_includeValuesHasBeenSet = true; m_includeValues = value; }
218 
223  inline GetApiKeysRequest& WithIncludeValues(bool value) { SetIncludeValues(value); return *this;}
224 
225  private:
226 
227  Aws::String m_position;
228  bool m_positionHasBeenSet;
229 
230  int m_limit;
231  bool m_limitHasBeenSet;
232 
233  Aws::String m_nameQuery;
234  bool m_nameQueryHasBeenSet;
235 
236  Aws::String m_customerId;
237  bool m_customerIdHasBeenSet;
238 
239  bool m_includeValues;
240  bool m_includeValuesHasBeenSet;
241  };
242 
243 } // namespace Model
244 } // namespace APIGateway
245 } // namespace Aws
Aws::APIGateway::Model::GetApiKeysRequest
Definition: GetApiKeysRequest.h:30
Aws::APIGateway::Model::GetApiKeysRequest::CustomerIdHasBeenSet
bool CustomerIdHasBeenSet() const
Definition: GetApiKeysRequest.h:162
Aws::Http::URI
Definition: URI.h:32
Aws::APIGateway::Model::GetApiKeysRequest::GetApiKeysRequest
GetApiKeysRequest()
Aws::APIGateway::Model::GetApiKeysRequest::PositionHasBeenSet
bool PositionHasBeenSet() const
Definition: GetApiKeysRequest.h:53
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetApiKeysRequest::SetCustomerId
void SetCustomerId(Aws::String &&value)
Definition: GetApiKeysRequest.h:174
Aws::APIGateway::Model::GetApiKeysRequest::GetPosition
const Aws::String & GetPosition() const
Definition: GetApiKeysRequest.h:48
Aws::APIGateway::Model::GetApiKeysRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::GetApiKeysRequest::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetApiKeysRequest.h:58
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetApiKeysRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetApiKeysRequest.h:38
Aws::APIGateway::Model::GetApiKeysRequest::WithPosition
GetApiKeysRequest & WithPosition(const char *value)
Definition: GetApiKeysRequest.h:83
APIGatewayRequest.h
Aws::APIGateway::Model::GetApiKeysRequest::WithPosition
GetApiKeysRequest & WithPosition(Aws::String &&value)
Definition: GetApiKeysRequest.h:78
Aws::APIGateway::Model::GetApiKeysRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: GetApiKeysRequest.h:96
Aws::APIGateway::Model::GetApiKeysRequest::SetIncludeValues
void SetIncludeValues(bool value)
Definition: GetApiKeysRequest.h:217
Aws::APIGateway::Model::GetApiKeysRequest::WithCustomerId
GetApiKeysRequest & WithCustomerId(Aws::String &&value)
Definition: GetApiKeysRequest.h:192
Aws::APIGateway::Model::GetApiKeysRequest::WithLimit
GetApiKeysRequest & WithLimit(int value)
Definition: GetApiKeysRequest.h:108
Aws::APIGateway::Model::GetApiKeysRequest::IncludeValuesHasBeenSet
bool IncludeValuesHasBeenSet() const
Definition: GetApiKeysRequest.h:211
Aws::APIGateway::Model::GetApiKeysRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::APIGateway::Model::GetApiKeysRequest::WithNameQuery
GetApiKeysRequest & WithNameQuery(Aws::String &&value)
Definition: GetApiKeysRequest.h:144
Aws::APIGateway::Model::GetApiKeysRequest::GetLimit
int GetLimit() const
Definition: GetApiKeysRequest.h:90
AWSString.h
Aws::APIGateway::Model::GetApiKeysRequest::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetApiKeysRequest.h:63
Aws::APIGateway::Model::GetApiKeysRequest::SetCustomerId
void SetCustomerId(const char *value)
Definition: GetApiKeysRequest.h:180
Aws::APIGateway::Model::GetApiKeysRequest::GetNameQuery
const Aws::String & GetNameQuery() const
Definition: GetApiKeysRequest.h:114
Aws::APIGateway::Model::GetApiKeysRequest::WithIncludeValues
GetApiKeysRequest & WithIncludeValues(bool value)
Definition: GetApiKeysRequest.h:223
Aws::APIGateway::Model::GetApiKeysRequest::SetNameQuery
void SetNameQuery(const Aws::String &value)
Definition: GetApiKeysRequest.h:124
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetApiKeysRequest::GetCustomerId
const Aws::String & GetCustomerId() const
Definition: GetApiKeysRequest.h:156
Aws::APIGateway::Model::GetApiKeysRequest::SetPosition
void SetPosition(const char *value)
Definition: GetApiKeysRequest.h:68
Aws::APIGateway::Model::GetApiKeysRequest::SetCustomerId
void SetCustomerId(const Aws::String &value)
Definition: GetApiKeysRequest.h:168
Aws::APIGateway::Model::GetApiKeysRequest::NameQueryHasBeenSet
bool NameQueryHasBeenSet() const
Definition: GetApiKeysRequest.h:119
Aws::APIGateway::Model::GetApiKeysRequest::WithCustomerId
GetApiKeysRequest & WithCustomerId(const char *value)
Definition: GetApiKeysRequest.h:198
Aws::APIGateway::Model::GetApiKeysRequest::SetNameQuery
void SetNameQuery(Aws::String &&value)
Definition: GetApiKeysRequest.h:129
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetApiKeysRequest::GetIncludeValues
bool GetIncludeValues() const
Definition: GetApiKeysRequest.h:205
Aws::APIGateway::Model::GetApiKeysRequest::SetLimit
void SetLimit(int value)
Definition: GetApiKeysRequest.h:102
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::GetApiKeysRequest::WithNameQuery
GetApiKeysRequest & WithNameQuery(const char *value)
Definition: GetApiKeysRequest.h:149
Aws::APIGateway::Model::GetApiKeysRequest::WithCustomerId
GetApiKeysRequest & WithCustomerId(const Aws::String &value)
Definition: GetApiKeysRequest.h:186
Aws::APIGateway::Model::GetApiKeysRequest::WithNameQuery
GetApiKeysRequest & WithNameQuery(const Aws::String &value)
Definition: GetApiKeysRequest.h:139
Aws::APIGateway::Model::GetApiKeysRequest::WithPosition
GetApiKeysRequest & WithPosition(const Aws::String &value)
Definition: GetApiKeysRequest.h:73
Aws::APIGateway::Model::GetApiKeysRequest::SetNameQuery
void SetNameQuery(const char *value)
Definition: GetApiKeysRequest.h:134