AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename MeshNameT = Aws::String>
65 void SetMeshName(MeshNameT&& value) { m_meshNameHasBeenSet = true; m_meshName = std::forward<MeshNameT>(value); }
66 template<typename MeshNameT = Aws::String>
67 ListGatewayRoutesRequest& WithMeshName(MeshNameT&& value) { SetMeshName(std::forward<MeshNameT>(value)); return *this;}
69
71
78 inline const Aws::String& GetMeshOwner() const { return m_meshOwner; }
79 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
80 template<typename MeshOwnerT = Aws::String>
81 void SetMeshOwner(MeshOwnerT&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::forward<MeshOwnerT>(value); }
82 template<typename MeshOwnerT = Aws::String>
83 ListGatewayRoutesRequest& WithMeshOwner(MeshOwnerT&& value) { SetMeshOwner(std::forward<MeshOwnerT>(value)); return *this;}
85
87
93 inline const Aws::String& GetNextToken() const { return m_nextToken; }
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 template<typename NextTokenT = Aws::String>
96 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
97 template<typename NextTokenT = Aws::String>
98 ListGatewayRoutesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
100
102
105 inline const Aws::String& GetVirtualGatewayName() const { return m_virtualGatewayName; }
106 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
107 template<typename VirtualGatewayNameT = Aws::String>
108 void SetVirtualGatewayName(VirtualGatewayNameT&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::forward<VirtualGatewayNameT>(value); }
109 template<typename VirtualGatewayNameT = Aws::String>
110 ListGatewayRoutesRequest& WithVirtualGatewayName(VirtualGatewayNameT&& value) { SetVirtualGatewayName(std::forward<VirtualGatewayNameT>(value)); return *this;}
112 private:
113
114 int m_limit{0};
115 bool m_limitHasBeenSet = false;
116
117 Aws::String m_meshName;
118 bool m_meshNameHasBeenSet = false;
119
120 Aws::String m_meshOwner;
121 bool m_meshOwnerHasBeenSet = false;
122
123 Aws::String m_nextToken;
124 bool m_nextTokenHasBeenSet = false;
125
126 Aws::String m_virtualGatewayName;
127 bool m_virtualGatewayNameHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace AppMesh
132} // namespace Aws
ListGatewayRoutesRequest & WithMeshOwner(MeshOwnerT &&value)
virtual const char * GetServiceRequestName() const override
ListGatewayRoutesRequest & WithLimit(int value)
AWS_APPMESH_API Aws::String SerializePayload() const override
AWS_APPMESH_API ListGatewayRoutesRequest()=default
ListGatewayRoutesRequest & WithNextToken(NextTokenT &&value)
ListGatewayRoutesRequest & WithVirtualGatewayName(VirtualGatewayNameT &&value)
void SetVirtualGatewayName(VirtualGatewayNameT &&value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListGatewayRoutesRequest & WithMeshName(MeshNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String