AWS SDK for C++  1.9.20
AWS SDK for C++
ListGatewayRoutesRequest.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 AppMesh
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListGatewayRoutes"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
51  inline int GetLimit() const{ return m_limit; }
52 
63  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
64 
75  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
76 
87  inline ListGatewayRoutesRequest& WithLimit(int value) { SetLimit(value); return *this;}
88 
89 
93  inline const Aws::String& GetMeshName() const{ return m_meshName; }
94 
98  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
99 
103  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
104 
108  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
109 
113  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
114 
118  inline ListGatewayRoutesRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
119 
123  inline ListGatewayRoutesRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
124 
128  inline ListGatewayRoutesRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
129 
130 
138  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
139 
147  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
148 
156  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
157 
165  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
166 
174  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
175 
183  inline ListGatewayRoutesRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
184 
192  inline ListGatewayRoutesRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
193 
201  inline ListGatewayRoutesRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
202 
203 
210  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
211 
218  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
219 
226  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
227 
234  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
235 
242  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
243 
250  inline ListGatewayRoutesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
251 
258  inline ListGatewayRoutesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
259 
266  inline ListGatewayRoutesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
267 
268 
272  inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
273 
277  inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
278 
282  inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
283 
287  inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
288 
292  inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
293 
297  inline ListGatewayRoutesRequest& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
298 
302  inline ListGatewayRoutesRequest& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
303 
307  inline ListGatewayRoutesRequest& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
308 
309  private:
310 
311  int m_limit;
312  bool m_limitHasBeenSet;
313 
314  Aws::String m_meshName;
315  bool m_meshNameHasBeenSet;
316 
317  Aws::String m_meshOwner;
318  bool m_meshOwnerHasBeenSet;
319 
320  Aws::String m_nextToken;
321  bool m_nextTokenHasBeenSet;
322 
323  Aws::String m_virtualGatewayName;
324  bool m_virtualGatewayNameHasBeenSet;
325  };
326 
327 } // namespace Model
328 } // namespace AppMesh
329 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::AppMesh::Model::ListGatewayRoutesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListGatewayRoutesRequest.h:226
Aws::AppMesh::Model::ListGatewayRoutesRequest::SetVirtualGatewayName
void SetVirtualGatewayName(const char *value)
Definition: ListGatewayRoutesRequest.h:292
Aws::AppMesh::Model::ListGatewayRoutesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListGatewayRoutesRequest.h:242
Aws::AppMesh::Model::ListGatewayRoutesRequest::WithVirtualGatewayName
ListGatewayRoutesRequest & WithVirtualGatewayName(Aws::String &&value)
Definition: ListGatewayRoutesRequest.h:302
Aws::AppMesh::Model::ListGatewayRoutesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListGatewayRoutesRequest.h:210
Aws::AppMesh::Model::ListGatewayRoutesRequest::GetVirtualGatewayName
const Aws::String & GetVirtualGatewayName() const
Definition: ListGatewayRoutesRequest.h:272
Aws::AppMesh::Model::ListGatewayRoutesRequest::GetLimit
int GetLimit() const
Definition: ListGatewayRoutesRequest.h:51
Aws::AppMesh::Model::ListGatewayRoutesRequest::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: ListGatewayRoutesRequest.h:138
Aws::AppMesh::Model::ListGatewayRoutesRequest::WithMeshName
ListGatewayRoutesRequest & WithMeshName(const Aws::String &value)
Definition: ListGatewayRoutesRequest.h:118
Aws::AppMesh::Model::ListGatewayRoutesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListGatewayRoutesRequest.h:234
Aws::AppMesh::Model::ListGatewayRoutesRequest::VirtualGatewayNameHasBeenSet
bool VirtualGatewayNameHasBeenSet() const
Definition: ListGatewayRoutesRequest.h:277
Aws::AppMesh::Model::ListGatewayRoutesRequest::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: ListGatewayRoutesRequest.h:147
Aws::AppMesh::Model::ListGatewayRoutesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListGatewayRoutesRequest.h:63
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListGatewayRoutesRequest::WithNextToken
ListGatewayRoutesRequest & WithNextToken(const char *value)
Definition: ListGatewayRoutesRequest.h:266
Aws::AppMesh::Model::ListGatewayRoutesRequest::WithMeshOwner
ListGatewayRoutesRequest & WithMeshOwner(const char *value)
Definition: ListGatewayRoutesRequest.h:201
Aws::AppMesh::Model::ListGatewayRoutesRequest::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: ListGatewayRoutesRequest.h:174
Aws::AppMesh::Model::ListGatewayRoutesRequest::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: ListGatewayRoutesRequest.h:156
Aws::AppMesh::Model::ListGatewayRoutesRequest::WithNextToken
ListGatewayRoutesRequest & WithNextToken(const Aws::String &value)
Definition: ListGatewayRoutesRequest.h:250
Aws::AppMesh::Model::ListGatewayRoutesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListGatewayRoutesRequest.h:218
Aws::AppMesh::Model::ListGatewayRoutesRequest::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: ListGatewayRoutesRequest.h:103
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::ListGatewayRoutesRequest::WithMeshName
ListGatewayRoutesRequest & WithMeshName(const char *value)
Definition: ListGatewayRoutesRequest.h:128
Aws::AppMesh::Model::ListGatewayRoutesRequest::WithNextToken
ListGatewayRoutesRequest & WithNextToken(Aws::String &&value)
Definition: ListGatewayRoutesRequest.h:258
Aws::AppMesh::Model::ListGatewayRoutesRequest::WithMeshName
ListGatewayRoutesRequest & WithMeshName(Aws::String &&value)
Definition: ListGatewayRoutesRequest.h:123
Aws::AppMesh::Model::ListGatewayRoutesRequest::WithMeshOwner
ListGatewayRoutesRequest & WithMeshOwner(Aws::String &&value)
Definition: ListGatewayRoutesRequest.h:192
AWSString.h
Aws::AppMesh::Model::ListGatewayRoutesRequest::WithVirtualGatewayName
ListGatewayRoutesRequest & WithVirtualGatewayName(const char *value)
Definition: ListGatewayRoutesRequest.h:307
Aws::AppMesh::Model::ListGatewayRoutesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListGatewayRoutesRequest.h:34
Aws::AppMesh::Model::ListGatewayRoutesRequest::SetMeshName
void SetMeshName(const char *value)
Definition: ListGatewayRoutesRequest.h:113
Aws::AppMesh::Model::ListGatewayRoutesRequest::WithVirtualGatewayName
ListGatewayRoutesRequest & WithVirtualGatewayName(const Aws::String &value)
Definition: ListGatewayRoutesRequest.h:297
Aws::AppMesh::Model::ListGatewayRoutesRequest::WithMeshOwner
ListGatewayRoutesRequest & WithMeshOwner(const Aws::String &value)
Definition: ListGatewayRoutesRequest.h:183
Aws::AppMesh::Model::ListGatewayRoutesRequest::SetVirtualGatewayName
void SetVirtualGatewayName(Aws::String &&value)
Definition: ListGatewayRoutesRequest.h:287
Aws::AppMesh::Model::ListGatewayRoutesRequest::WithLimit
ListGatewayRoutesRequest & WithLimit(int value)
Definition: ListGatewayRoutesRequest.h:87
Aws::AppMesh::Model::ListGatewayRoutesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppMesh::Model::ListGatewayRoutesRequest::SetVirtualGatewayName
void SetVirtualGatewayName(const Aws::String &value)
Definition: ListGatewayRoutesRequest.h:282
Aws::AppMesh::Model::ListGatewayRoutesRequest::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: ListGatewayRoutesRequest.h:165
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ListGatewayRoutesRequest::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: ListGatewayRoutesRequest.h:108
Aws::AppMesh::Model::ListGatewayRoutesRequest::ListGatewayRoutesRequest
ListGatewayRoutesRequest()
Aws::AppMesh::Model::ListGatewayRoutesRequest::GetMeshName
const Aws::String & GetMeshName() const
Definition: ListGatewayRoutesRequest.h:93
Aws::AppMesh::Model::ListGatewayRoutesRequest
Definition: ListGatewayRoutesRequest.h:26
Aws::AppMesh::Model::ListGatewayRoutesRequest::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: ListGatewayRoutesRequest.h:98
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::ListGatewayRoutesRequest::SetLimit
void SetLimit(int value)
Definition: ListGatewayRoutesRequest.h:75
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::ListGatewayRoutesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AppMeshRequest.h