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