AWS SDK for C++  1.9.132
AWS SDK for C++
ListVirtualRoutersRequest.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 "ListVirtualRouters"; }
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 ListVirtualRoutersRequest& 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 ListVirtualRoutersRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
122 
126  inline ListVirtualRoutersRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
127 
131  inline ListVirtualRoutersRequest& 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 ListVirtualRoutersRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
187 
195  inline ListVirtualRoutersRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
196 
204  inline ListVirtualRoutersRequest& 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 ListVirtualRoutersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
254 
261  inline ListVirtualRoutersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
262 
269  inline ListVirtualRoutersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
270 
271  private:
272 
273  int m_limit;
274  bool m_limitHasBeenSet;
275 
276  Aws::String m_meshName;
277  bool m_meshNameHasBeenSet;
278 
279  Aws::String m_meshOwner;
280  bool m_meshOwnerHasBeenSet;
281 
282  Aws::String m_nextToken;
283  bool m_nextTokenHasBeenSet;
284  };
285 
286 } // namespace Model
287 } // namespace AppMesh
288 } // namespace Aws
Aws::AppMesh::Model::ListVirtualRoutersRequest::WithNextToken
ListVirtualRoutersRequest & WithNextToken(Aws::String &&value)
Definition: ListVirtualRoutersRequest.h:261
Aws::AppMesh::Model::ListVirtualRoutersRequest::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: ListVirtualRoutersRequest.h:101
Aws::Http::URI
Definition: URI.h:32
Aws::AppMesh::Model::ListVirtualRoutersRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListVirtualRoutersRequest.h:229
Aws::AppMesh::Model::ListVirtualRoutersRequest::WithMeshOwner
ListVirtualRoutersRequest & WithMeshOwner(const Aws::String &value)
Definition: ListVirtualRoutersRequest.h:186
Aws::AppMesh::Model::ListVirtualRoutersRequest::WithNextToken
ListVirtualRoutersRequest & WithNextToken(const Aws::String &value)
Definition: ListVirtualRoutersRequest.h:253
Aws::AppMesh::Model::ListVirtualRoutersRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListVirtualRoutersRequest.h:245
Aws::AppMesh::Model::ListVirtualRoutersRequest
Definition: ListVirtualRoutersRequest.h:29
Aws::AppMesh::Model::ListVirtualRoutersRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListVirtualRoutersRequest.h:66
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListVirtualRoutersRequest::WithMeshOwner
ListVirtualRoutersRequest & WithMeshOwner(const char *value)
Definition: ListVirtualRoutersRequest.h:204
Aws::AppMesh::Model::ListVirtualRoutersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListVirtualRoutersRequest.h:37
Aws::AppMesh::Model::ListVirtualRoutersRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListVirtualRoutersRequest.h:221
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::ListVirtualRoutersRequest::WithNextToken
ListVirtualRoutersRequest & WithNextToken(const char *value)
Definition: ListVirtualRoutersRequest.h:269
Aws::AppMesh::Model::ListVirtualRoutersRequest::WithLimit
ListVirtualRoutersRequest & WithLimit(int value)
Definition: ListVirtualRoutersRequest.h:90
Aws::AppMesh::Model::ListVirtualRoutersRequest::WithMeshName
ListVirtualRoutersRequest & WithMeshName(const Aws::String &value)
Definition: ListVirtualRoutersRequest.h:121
Aws::AppMesh::Model::ListVirtualRoutersRequest::WithMeshOwner
ListVirtualRoutersRequest & WithMeshOwner(Aws::String &&value)
Definition: ListVirtualRoutersRequest.h:195
Aws::AppMesh::Model::ListVirtualRoutersRequest::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: ListVirtualRoutersRequest.h:168
AWSString.h
Aws::AppMesh::Model::ListVirtualRoutersRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppMesh::Model::ListVirtualRoutersRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListVirtualRoutersRequest.h:237
Aws::AppMesh::Model::ListVirtualRoutersRequest::ListVirtualRoutersRequest
ListVirtualRoutersRequest()
Aws::AppMesh::Model::ListVirtualRoutersRequest::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: ListVirtualRoutersRequest.h:106
Aws::AppMesh::Model::ListVirtualRoutersRequest::SetMeshName
void SetMeshName(const char *value)
Definition: ListVirtualRoutersRequest.h:116
Aws::AppMesh::Model::ListVirtualRoutersRequest::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: ListVirtualRoutersRequest.h:159
Aws::AppMesh::Model::ListVirtualRoutersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppMesh::Model::ListVirtualRoutersRequest::WithMeshName
ListVirtualRoutersRequest & WithMeshName(Aws::String &&value)
Definition: ListVirtualRoutersRequest.h:126
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ListVirtualRoutersRequest::GetMeshName
const Aws::String & GetMeshName() const
Definition: ListVirtualRoutersRequest.h:96
Aws::AppMesh::Model::ListVirtualRoutersRequest::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: ListVirtualRoutersRequest.h:150
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::ListVirtualRoutersRequest::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: ListVirtualRoutersRequest.h:111
Aws::AppMesh::Model::ListVirtualRoutersRequest::GetLimit
int GetLimit() const
Definition: ListVirtualRoutersRequest.h:54
Aws::AppMesh::Model::ListVirtualRoutersRequest::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: ListVirtualRoutersRequest.h:141
Aws::AppMesh::Model::ListVirtualRoutersRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListVirtualRoutersRequest.h:213
Aws::AppMesh::Model::ListVirtualRoutersRequest::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: ListVirtualRoutersRequest.h:177
Aws::AppMesh::Model::ListVirtualRoutersRequest::SetLimit
void SetLimit(int value)
Definition: ListVirtualRoutersRequest.h:78
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::ListVirtualRoutersRequest::WithMeshName
ListVirtualRoutersRequest & WithMeshName(const char *value)
Definition: ListVirtualRoutersRequest.h:131
AppMeshRequest.h