AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListRoutesRequest.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
29 {
30 public:
31 AWS_APPMESH_API ListRoutesRequest() = default;
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 "ListRoutes"; }
38
39 AWS_APPMESH_API Aws::String SerializePayload() const override;
40
41 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
55 inline int GetLimit() const { return m_limit; }
56 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
57 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
58 inline ListRoutesRequest& WithLimit(int value) { SetLimit(value); return *this;}
60
62
65 inline const Aws::String& GetMeshName() const { return m_meshName; }
66 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
67 template<typename MeshNameT = Aws::String>
68 void SetMeshName(MeshNameT&& value) { m_meshNameHasBeenSet = true; m_meshName = std::forward<MeshNameT>(value); }
69 template<typename MeshNameT = Aws::String>
70 ListRoutesRequest& WithMeshName(MeshNameT&& value) { SetMeshName(std::forward<MeshNameT>(value)); return *this;}
72
74
81 inline const Aws::String& GetMeshOwner() const { return m_meshOwner; }
82 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
83 template<typename MeshOwnerT = Aws::String>
84 void SetMeshOwner(MeshOwnerT&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::forward<MeshOwnerT>(value); }
85 template<typename MeshOwnerT = Aws::String>
86 ListRoutesRequest& WithMeshOwner(MeshOwnerT&& value) { SetMeshOwner(std::forward<MeshOwnerT>(value)); return *this;}
88
90
96 inline const Aws::String& GetNextToken() const { return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 template<typename NextTokenT = Aws::String>
99 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
100 template<typename NextTokenT = Aws::String>
101 ListRoutesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
103
105
108 inline const Aws::String& GetVirtualRouterName() const { return m_virtualRouterName; }
109 inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
110 template<typename VirtualRouterNameT = Aws::String>
111 void SetVirtualRouterName(VirtualRouterNameT&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::forward<VirtualRouterNameT>(value); }
112 template<typename VirtualRouterNameT = Aws::String>
113 ListRoutesRequest& WithVirtualRouterName(VirtualRouterNameT&& value) { SetVirtualRouterName(std::forward<VirtualRouterNameT>(value)); return *this;}
115 private:
116
117 int m_limit{0};
118 bool m_limitHasBeenSet = false;
119
120 Aws::String m_meshName;
121 bool m_meshNameHasBeenSet = false;
122
123 Aws::String m_meshOwner;
124 bool m_meshOwnerHasBeenSet = false;
125
126 Aws::String m_nextToken;
127 bool m_nextTokenHasBeenSet = false;
128
129 Aws::String m_virtualRouterName;
130 bool m_virtualRouterNameHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace AppMesh
135} // namespace Aws
AWS_APPMESH_API Aws::String SerializePayload() const override
void SetVirtualRouterName(VirtualRouterNameT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetMeshOwner() const
ListRoutesRequest & WithNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
ListRoutesRequest & WithLimit(int value)
const Aws::String & GetMeshName() const
ListRoutesRequest & WithMeshOwner(MeshOwnerT &&value)
AWS_APPMESH_API ListRoutesRequest()=default
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListRoutesRequest & WithMeshName(MeshNameT &&value)
const Aws::String & GetVirtualRouterName() const
ListRoutesRequest & WithVirtualRouterName(VirtualRouterNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String