AWS SDK for C++  1.9.123
AWS SDK for C++
ListVirtualGatewaysRequest.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 "ListVirtualGateways"; }
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 ListVirtualGatewaysRequest& 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 ListVirtualGatewaysRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
119 
123  inline ListVirtualGatewaysRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
124 
128  inline ListVirtualGatewaysRequest& 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 ListVirtualGatewaysRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
184 
192  inline ListVirtualGatewaysRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
193 
201  inline ListVirtualGatewaysRequest& 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 ListVirtualGatewaysRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
251 
258  inline ListVirtualGatewaysRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
259 
266  inline ListVirtualGatewaysRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
267 
268  private:
269 
270  int m_limit;
271  bool m_limitHasBeenSet;
272 
273  Aws::String m_meshName;
274  bool m_meshNameHasBeenSet;
275 
276  Aws::String m_meshOwner;
277  bool m_meshOwnerHasBeenSet;
278 
279  Aws::String m_nextToken;
280  bool m_nextTokenHasBeenSet;
281  };
282 
283 } // namespace Model
284 } // namespace AppMesh
285 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::AppMesh::Model::ListVirtualGatewaysRequest::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: ListVirtualGatewaysRequest.h:138
Aws::AppMesh::Model::ListVirtualGatewaysRequest::GetMeshName
const Aws::String & GetMeshName() const
Definition: ListVirtualGatewaysRequest.h:93
Aws::AppMesh::Model::ListVirtualGatewaysRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListVirtualGatewaysRequest.h:234
Aws::AppMesh::Model::ListVirtualGatewaysRequest::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: ListVirtualGatewaysRequest.h:147
Aws::AppMesh::Model::ListVirtualGatewaysRequest::SetLimit
void SetLimit(int value)
Definition: ListVirtualGatewaysRequest.h:75
Aws::AppMesh::Model::ListVirtualGatewaysRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListVirtualGatewaysRequest.h:210
Aws::AppMesh::Model::ListVirtualGatewaysRequest::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: ListVirtualGatewaysRequest.h:156
Aws::AppMesh::Model::ListVirtualGatewaysRequest::WithMeshOwner
ListVirtualGatewaysRequest & WithMeshOwner(const Aws::String &value)
Definition: ListVirtualGatewaysRequest.h:183
Aws::AppMesh::Model::ListVirtualGatewaysRequest::WithNextToken
ListVirtualGatewaysRequest & WithNextToken(Aws::String &&value)
Definition: ListVirtualGatewaysRequest.h:258
Aws::AppMesh::Model::ListVirtualGatewaysRequest::SetMeshName
void SetMeshName(const char *value)
Definition: ListVirtualGatewaysRequest.h:113
Aws::AppMesh::Model::ListVirtualGatewaysRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListVirtualGatewaysRequest.h:34
Aws::AppMesh::Model::ListVirtualGatewaysRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppMesh::Model::ListVirtualGatewaysRequest::WithNextToken
ListVirtualGatewaysRequest & WithNextToken(const char *value)
Definition: ListVirtualGatewaysRequest.h:266
Aws::AppMesh::Model::ListVirtualGatewaysRequest::WithMeshOwner
ListVirtualGatewaysRequest & WithMeshOwner(const char *value)
Definition: ListVirtualGatewaysRequest.h:201
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListVirtualGatewaysRequest::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: ListVirtualGatewaysRequest.h:165
Aws::AppMesh::Model::ListVirtualGatewaysRequest::WithMeshOwner
ListVirtualGatewaysRequest & WithMeshOwner(Aws::String &&value)
Definition: ListVirtualGatewaysRequest.h:192
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::ListVirtualGatewaysRequest::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: ListVirtualGatewaysRequest.h:98
Aws::AppMesh::Model::ListVirtualGatewaysRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListVirtualGatewaysRequest.h:226
Aws::AppMesh::Model::ListVirtualGatewaysRequest
Definition: ListVirtualGatewaysRequest.h:26
Aws::AppMesh::Model::ListVirtualGatewaysRequest::WithNextToken
ListVirtualGatewaysRequest & WithNextToken(const Aws::String &value)
Definition: ListVirtualGatewaysRequest.h:250
Aws::AppMesh::Model::ListVirtualGatewaysRequest::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: ListVirtualGatewaysRequest.h:103
Aws::AppMesh::Model::ListVirtualGatewaysRequest::GetLimit
int GetLimit() const
Definition: ListVirtualGatewaysRequest.h:51
AWSString.h
Aws::AppMesh::Model::ListVirtualGatewaysRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListVirtualGatewaysRequest.h:63
Aws::AppMesh::Model::ListVirtualGatewaysRequest::WithMeshName
ListVirtualGatewaysRequest & WithMeshName(const char *value)
Definition: ListVirtualGatewaysRequest.h:128
Aws::AppMesh::Model::ListVirtualGatewaysRequest::ListVirtualGatewaysRequest
ListVirtualGatewaysRequest()
Aws::AppMesh::Model::ListVirtualGatewaysRequest::WithLimit
ListVirtualGatewaysRequest & WithLimit(int value)
Definition: ListVirtualGatewaysRequest.h:87
Aws::AppMesh::Model::ListVirtualGatewaysRequest::WithMeshName
ListVirtualGatewaysRequest & WithMeshName(Aws::String &&value)
Definition: ListVirtualGatewaysRequest.h:123
Aws::AppMesh::Model::ListVirtualGatewaysRequest::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: ListVirtualGatewaysRequest.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ListVirtualGatewaysRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListVirtualGatewaysRequest.h:242
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::ListVirtualGatewaysRequest::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: ListVirtualGatewaysRequest.h:174
Aws::AppMesh::Model::ListVirtualGatewaysRequest::WithMeshName
ListVirtualGatewaysRequest & WithMeshName(const Aws::String &value)
Definition: ListVirtualGatewaysRequest.h:118
Aws::AppMesh::Model::ListVirtualGatewaysRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListVirtualGatewaysRequest.h:218
Aws::AppMesh::Model::ListVirtualGatewaysRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
AppMeshRequest.h