AWS SDK for C++  1.8.71
AWS SDK for C++
ListGatewayRoutesRequest.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 "ListGatewayRoutes"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
59  inline int GetLimit() const{ return m_limit; }
60 
79  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
80 
99  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
100 
119  inline ListGatewayRoutesRequest& WithLimit(int value) { SetLimit(value); return *this;}
120 
121 
125  inline const Aws::String& GetMeshName() const{ return m_meshName; }
126 
130  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
131 
135  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
136 
140  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
141 
145  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
146 
150  inline ListGatewayRoutesRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
151 
155  inline ListGatewayRoutesRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
156 
160  inline ListGatewayRoutesRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
161 
162 
171  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
172 
181  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
182 
191  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
192 
201  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
202 
211  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
212 
221  inline ListGatewayRoutesRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
222 
231  inline ListGatewayRoutesRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
232 
241  inline ListGatewayRoutesRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
242 
243 
254  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
255 
266  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
267 
278  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
279 
290  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
291 
302  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
303 
314  inline ListGatewayRoutesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
315 
326  inline ListGatewayRoutesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
327 
338  inline ListGatewayRoutesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
339 
340 
344  inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
345 
349  inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
350 
354  inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
355 
359  inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
360 
364  inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
365 
369  inline ListGatewayRoutesRequest& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
370 
374  inline ListGatewayRoutesRequest& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
375 
379  inline ListGatewayRoutesRequest& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
380 
381  private:
382 
383  int m_limit;
384  bool m_limitHasBeenSet;
385 
386  Aws::String m_meshName;
387  bool m_meshNameHasBeenSet;
388 
389  Aws::String m_meshOwner;
390  bool m_meshOwnerHasBeenSet;
391 
392  Aws::String m_nextToken;
393  bool m_nextTokenHasBeenSet;
394 
395  Aws::String m_virtualGatewayName;
396  bool m_virtualGatewayNameHasBeenSet;
397  };
398 
399 } // namespace Model
400 } // namespace AppMesh
401 } // namespace Aws
ListGatewayRoutesRequest & WithLimit(int value)
ListGatewayRoutesRequest & WithMeshName(Aws::String &&value)
ListGatewayRoutesRequest & WithVirtualGatewayName(const char *value)
ListGatewayRoutesRequest & WithMeshOwner(const Aws::String &value)
ListGatewayRoutesRequest & WithMeshName(const Aws::String &value)
ListGatewayRoutesRequest & WithVirtualGatewayName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListGatewayRoutesRequest & WithNextToken(const char *value)
ListGatewayRoutesRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListGatewayRoutesRequest & WithMeshOwner(const char *value)
ListGatewayRoutesRequest & WithNextToken(const Aws::String &value)
ListGatewayRoutesRequest & WithVirtualGatewayName(const Aws::String &value)
#define AWS_APPMESH_API
ListGatewayRoutesRequest & WithMeshName(const char *value)
ListGatewayRoutesRequest & WithMeshOwner(Aws::String &&value)