AWS SDK for C++  1.9.129
AWS SDK for C++
ListVirtualNodesRequest.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 "ListVirtualNodes"; }
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 ListVirtualNodesRequest& 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 ListVirtualNodesRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
122 
126  inline ListVirtualNodesRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
127 
131  inline ListVirtualNodesRequest& 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 ListVirtualNodesRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
187 
195  inline ListVirtualNodesRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
196 
204  inline ListVirtualNodesRequest& 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 ListVirtualNodesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
254 
261  inline ListVirtualNodesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
262 
269  inline ListVirtualNodesRequest& 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::ListVirtualNodesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListVirtualNodesRequest.h:213
Aws::Http::URI
Definition: URI.h:32
Aws::AppMesh::Model::ListVirtualNodesRequest::WithMeshOwner
ListVirtualNodesRequest & WithMeshOwner(const char *value)
Definition: ListVirtualNodesRequest.h:204
Aws::AppMesh::Model::ListVirtualNodesRequest
Definition: ListVirtualNodesRequest.h:29
Aws::AppMesh::Model::ListVirtualNodesRequest::WithLimit
ListVirtualNodesRequest & WithLimit(int value)
Definition: ListVirtualNodesRequest.h:90
Aws::AppMesh::Model::ListVirtualNodesRequest::WithMeshName
ListVirtualNodesRequest & WithMeshName(const char *value)
Definition: ListVirtualNodesRequest.h:131
Aws::AppMesh::Model::ListVirtualNodesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListVirtualNodesRequest.h:221
Aws::AppMesh::Model::ListVirtualNodesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppMesh::Model::ListVirtualNodesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListVirtualNodesRequest.h:237
Aws::AppMesh::Model::ListVirtualNodesRequest::WithNextToken
ListVirtualNodesRequest & WithNextToken(Aws::String &&value)
Definition: ListVirtualNodesRequest.h:261
Aws::AppMesh::Model::ListVirtualNodesRequest::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: ListVirtualNodesRequest.h:101
Aws::AppMesh::Model::ListVirtualNodesRequest::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: ListVirtualNodesRequest.h:177
Aws::AppMesh::Model::ListVirtualNodesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListVirtualNodesRequest.h:37
Aws::AppMesh::Model::ListVirtualNodesRequest::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: ListVirtualNodesRequest.h:141
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListVirtualNodesRequest::SetLimit
void SetLimit(int value)
Definition: ListVirtualNodesRequest.h:78
Aws::AppMesh::Model::ListVirtualNodesRequest::GetMeshName
const Aws::String & GetMeshName() const
Definition: ListVirtualNodesRequest.h:96
Aws::AppMesh::Model::ListVirtualNodesRequest::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: ListVirtualNodesRequest.h:111
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::ListVirtualNodesRequest::WithMeshOwner
ListVirtualNodesRequest & WithMeshOwner(Aws::String &&value)
Definition: ListVirtualNodesRequest.h:195
Aws::AppMesh::Model::ListVirtualNodesRequest::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: ListVirtualNodesRequest.h:168
Aws::AppMesh::Model::ListVirtualNodesRequest::GetLimit
int GetLimit() const
Definition: ListVirtualNodesRequest.h:54
Aws::AppMesh::Model::ListVirtualNodesRequest::ListVirtualNodesRequest
ListVirtualNodesRequest()
Aws::AppMesh::Model::ListVirtualNodesRequest::WithNextToken
ListVirtualNodesRequest & WithNextToken(const char *value)
Definition: ListVirtualNodesRequest.h:269
Aws::AppMesh::Model::ListVirtualNodesRequest::WithMeshName
ListVirtualNodesRequest & WithMeshName(const Aws::String &value)
Definition: ListVirtualNodesRequest.h:121
AWSString.h
Aws::AppMesh::Model::ListVirtualNodesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListVirtualNodesRequest.h:245
Aws::AppMesh::Model::ListVirtualNodesRequest::WithNextToken
ListVirtualNodesRequest & WithNextToken(const Aws::String &value)
Definition: ListVirtualNodesRequest.h:253
Aws::AppMesh::Model::ListVirtualNodesRequest::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: ListVirtualNodesRequest.h:106
Aws::AppMesh::Model::ListVirtualNodesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListVirtualNodesRequest.h:229
Aws::AppMesh::Model::ListVirtualNodesRequest::SetMeshName
void SetMeshName(const char *value)
Definition: ListVirtualNodesRequest.h:116
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ListVirtualNodesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListVirtualNodesRequest.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::ListVirtualNodesRequest::WithMeshName
ListVirtualNodesRequest & WithMeshName(Aws::String &&value)
Definition: ListVirtualNodesRequest.h:126
Aws::AppMesh::Model::ListVirtualNodesRequest::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: ListVirtualNodesRequest.h:159
Aws::AppMesh::Model::ListVirtualNodesRequest::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: ListVirtualNodesRequest.h:150
Aws::AppMesh::Model::ListVirtualNodesRequest::WithMeshOwner
ListVirtualNodesRequest & WithMeshOwner(const Aws::String &value)
Definition: ListVirtualNodesRequest.h:186
Aws::AppMesh::Model::ListVirtualNodesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
AppMeshRequest.h