AWS SDK for C++  1.9.14
AWS SDK for C++
ListRoutesRequest.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 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "ListRoutes"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
54  inline int GetLimit() const{ return m_limit; }
55 
66  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
67 
78  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
79 
90  inline ListRoutesRequest& WithLimit(int value) { SetLimit(value); return *this;}
91 
92 
96  inline const Aws::String& GetMeshName() const{ return m_meshName; }
97 
101  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
102 
106  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
107 
111  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
112 
116  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
117 
121  inline ListRoutesRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
122 
126  inline ListRoutesRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
127 
131  inline ListRoutesRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
132 
133 
141  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
142 
150  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
151 
159  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
160 
168  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
169 
177  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
178 
186  inline ListRoutesRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
187 
195  inline ListRoutesRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
196 
204  inline ListRoutesRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
205 
206 
213  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
214 
221  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
222 
229  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
230 
237  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
238 
245  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
246 
253  inline ListRoutesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
254 
261  inline ListRoutesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
262 
269  inline ListRoutesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
270 
271 
275  inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
276 
280  inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
281 
285  inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
286 
290  inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
291 
295  inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
296 
300  inline ListRoutesRequest& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
301 
305  inline ListRoutesRequest& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
306 
310  inline ListRoutesRequest& WithVirtualRouterName(const char* value) { SetVirtualRouterName(value); return *this;}
311 
312  private:
313 
314  int m_limit;
315  bool m_limitHasBeenSet;
316 
317  Aws::String m_meshName;
318  bool m_meshNameHasBeenSet;
319 
320  Aws::String m_meshOwner;
321  bool m_meshOwnerHasBeenSet;
322 
323  Aws::String m_nextToken;
324  bool m_nextTokenHasBeenSet;
325 
326  Aws::String m_virtualRouterName;
327  bool m_virtualRouterNameHasBeenSet;
328  };
329 
330 } // namespace Model
331 } // namespace AppMesh
332 } // namespace Aws
Aws::AppMesh::Model::ListRoutesRequest::WithNextToken
ListRoutesRequest & WithNextToken(const Aws::String &value)
Definition: ListRoutesRequest.h:253
Aws::AppMesh::Model::ListRoutesRequest::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: ListRoutesRequest.h:168
Aws::AppMesh::Model::ListRoutesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListRoutesRequest.h:229
Aws::Http::URI
Definition: URI.h:32
Aws::AppMesh::Model::ListRoutesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListRoutesRequest.h:213
Aws::AppMesh::Model::ListRoutesRequest::WithMeshOwner
ListRoutesRequest & WithMeshOwner(Aws::String &&value)
Definition: ListRoutesRequest.h:195
Aws::AppMesh::Model::ListRoutesRequest::SetMeshName
void SetMeshName(const char *value)
Definition: ListRoutesRequest.h:116
Aws::AppMesh::Model::ListRoutesRequest::WithVirtualRouterName
ListRoutesRequest & WithVirtualRouterName(Aws::String &&value)
Definition: ListRoutesRequest.h:305
Aws::AppMesh::Model::ListRoutesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListRoutesRequest.h:237
Aws::AppMesh::Model::ListRoutesRequest::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: ListRoutesRequest.h:150
Aws::AppMesh::Model::ListRoutesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListRoutesRequest.h:245
Aws::AppMesh::Model::ListRoutesRequest::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: ListRoutesRequest.h:177
Aws::AppMesh::Model::ListRoutesRequest::WithMeshName
ListRoutesRequest & WithMeshName(const char *value)
Definition: ListRoutesRequest.h:131
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListRoutesRequest::SetVirtualRouterName
void SetVirtualRouterName(const Aws::String &value)
Definition: ListRoutesRequest.h:285
Aws::AppMesh::Model::ListRoutesRequest::WithMeshOwner
ListRoutesRequest & WithMeshOwner(const Aws::String &value)
Definition: ListRoutesRequest.h:186
Aws::AppMesh::Model::ListRoutesRequest::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: ListRoutesRequest.h:111
Aws::AppMesh::Model::ListRoutesRequest::GetLimit
int GetLimit() const
Definition: ListRoutesRequest.h:54
Aws::AppMesh::Model::ListRoutesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::ListRoutesRequest::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: ListRoutesRequest.h:141
Aws::AppMesh::Model::ListRoutesRequest::WithLimit
ListRoutesRequest & WithLimit(int value)
Definition: ListRoutesRequest.h:90
Aws::AppMesh::Model::ListRoutesRequest::SetVirtualRouterName
void SetVirtualRouterName(Aws::String &&value)
Definition: ListRoutesRequest.h:290
Aws::AppMesh::Model::ListRoutesRequest::WithNextToken
ListRoutesRequest & WithNextToken(Aws::String &&value)
Definition: ListRoutesRequest.h:261
Aws::AppMesh::Model::ListRoutesRequest::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: ListRoutesRequest.h:101
Aws::AppMesh::Model::ListRoutesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListRoutesRequest.h:66
AWSString.h
Aws::AppMesh::Model::ListRoutesRequest::SetLimit
void SetLimit(int value)
Definition: ListRoutesRequest.h:78
Aws::AppMesh::Model::ListRoutesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppMesh::Model::ListRoutesRequest::ListRoutesRequest
ListRoutesRequest()
Aws::AppMesh::Model::ListRoutesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListRoutesRequest.h:221
Aws::AppMesh::Model::ListRoutesRequest::GetMeshName
const Aws::String & GetMeshName() const
Definition: ListRoutesRequest.h:96
Aws::AppMesh::Model::ListRoutesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListRoutesRequest.h:37
Aws::AppMesh::Model::ListRoutesRequest
Definition: ListRoutesRequest.h:29
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ListRoutesRequest::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: ListRoutesRequest.h:106
Aws::AppMesh::Model::ListRoutesRequest::VirtualRouterNameHasBeenSet
bool VirtualRouterNameHasBeenSet() const
Definition: ListRoutesRequest.h:280
Aws::AppMesh::Model::ListRoutesRequest::WithVirtualRouterName
ListRoutesRequest & WithVirtualRouterName(const char *value)
Definition: ListRoutesRequest.h:310
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::ListRoutesRequest::WithMeshName
ListRoutesRequest & WithMeshName(Aws::String &&value)
Definition: ListRoutesRequest.h:126
Aws::AppMesh::Model::ListRoutesRequest::WithNextToken
ListRoutesRequest & WithNextToken(const char *value)
Definition: ListRoutesRequest.h:269
Aws::AppMesh::Model::ListRoutesRequest::WithMeshOwner
ListRoutesRequest & WithMeshOwner(const char *value)
Definition: ListRoutesRequest.h:204
Aws::AppMesh::Model::ListRoutesRequest::GetVirtualRouterName
const Aws::String & GetVirtualRouterName() const
Definition: ListRoutesRequest.h:275
Aws::AppMesh::Model::ListRoutesRequest::WithVirtualRouterName
ListRoutesRequest & WithVirtualRouterName(const Aws::String &value)
Definition: ListRoutesRequest.h:300
Aws::AppMesh::Model::ListRoutesRequest::SetVirtualRouterName
void SetVirtualRouterName(const char *value)
Definition: ListRoutesRequest.h:295
Aws::AppMesh::Model::ListRoutesRequest::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: ListRoutesRequest.h:159
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::ListRoutesRequest::WithMeshName
ListRoutesRequest & WithMeshName(const Aws::String &value)
Definition: ListRoutesRequest.h:121
AppMeshRequest.h