AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListGatewayRoutesRequest.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/AppMeshRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace AppMesh
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_APPMESH_API ListGatewayRoutesRequest();
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_APPMESH_API Aws::String SerializePayload() const override;
37
38 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
52 inline int GetLimit() const{ return m_limit; }
53 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
54 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
55 inline ListGatewayRoutesRequest& WithLimit(int value) { SetLimit(value); return *this;}
57
59
62 inline const Aws::String& GetMeshName() const{ return m_meshName; }
63 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
64 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
65 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
66 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
67 inline ListGatewayRoutesRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
68 inline ListGatewayRoutesRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
69 inline ListGatewayRoutesRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
71
73
80 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
81 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
82 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
83 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
84 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
85 inline ListGatewayRoutesRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
86 inline ListGatewayRoutesRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
87 inline ListGatewayRoutesRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
89
91
97 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 inline ListGatewayRoutesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 inline ListGatewayRoutesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
104 inline ListGatewayRoutesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
106
108
111 inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
112 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
113 inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
114 inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
115 inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
117 inline ListGatewayRoutesRequest& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
118 inline ListGatewayRoutesRequest& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
120 private:
121
122 int m_limit;
123 bool m_limitHasBeenSet = false;
124
125 Aws::String m_meshName;
126 bool m_meshNameHasBeenSet = false;
127
128 Aws::String m_meshOwner;
129 bool m_meshOwnerHasBeenSet = false;
130
131 Aws::String m_nextToken;
132 bool m_nextTokenHasBeenSet = false;
133
134 Aws::String m_virtualGatewayName;
135 bool m_virtualGatewayNameHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace AppMesh
140} // namespace Aws
ListGatewayRoutesRequest & WithMeshName(Aws::String &&value)
ListGatewayRoutesRequest & WithMeshOwner(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListGatewayRoutesRequest & WithVirtualGatewayName(const char *value)
ListGatewayRoutesRequest & WithLimit(int value)
ListGatewayRoutesRequest & WithMeshName(const Aws::String &value)
ListGatewayRoutesRequest & WithNextToken(const char *value)
ListGatewayRoutesRequest & WithMeshOwner(Aws::String &&value)
AWS_APPMESH_API Aws::String SerializePayload() const override
ListGatewayRoutesRequest & WithVirtualGatewayName(Aws::String &&value)
ListGatewayRoutesRequest & WithMeshOwner(const char *value)
ListGatewayRoutesRequest & WithMeshName(const char *value)
ListGatewayRoutesRequest & WithNextToken(const Aws::String &value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListGatewayRoutesRequest & WithNextToken(Aws::String &&value)
ListGatewayRoutesRequest & WithVirtualGatewayName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String