AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
68 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
69 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
70 inline ListRoutesRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
71 inline ListRoutesRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
72 inline ListRoutesRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
74
76
83 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
84 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
85 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
86 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
87 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
88 inline ListRoutesRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
89 inline ListRoutesRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
90 inline ListRoutesRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
92
94
100 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
101 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
102 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
103 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
104 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
105 inline ListRoutesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106 inline ListRoutesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
107 inline ListRoutesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
109
111
114 inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
115 inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
116 inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
117 inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
118 inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
119 inline ListRoutesRequest& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
120 inline ListRoutesRequest& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
121 inline ListRoutesRequest& WithVirtualRouterName(const char* value) { SetVirtualRouterName(value); return *this;}
123 private:
124
125 int m_limit;
126 bool m_limitHasBeenSet = false;
127
128 Aws::String m_meshName;
129 bool m_meshNameHasBeenSet = false;
130
131 Aws::String m_meshOwner;
132 bool m_meshOwnerHasBeenSet = false;
133
134 Aws::String m_nextToken;
135 bool m_nextTokenHasBeenSet = false;
136
137 Aws::String m_virtualRouterName;
138 bool m_virtualRouterNameHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace AppMesh
143} // namespace Aws
AWS_APPMESH_API Aws::String SerializePayload() const override
ListRoutesRequest & WithVirtualRouterName(const Aws::String &value)
ListRoutesRequest & WithMeshOwner(const Aws::String &value)
ListRoutesRequest & WithMeshName(const char *value)
void SetMeshName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetMeshOwner() const
ListRoutesRequest & WithMeshOwner(const char *value)
void SetMeshOwner(const Aws::String &value)
void SetNextToken(const Aws::String &value)
ListRoutesRequest & WithMeshName(Aws::String &&value)
ListRoutesRequest & WithMeshName(const Aws::String &value)
ListRoutesRequest & WithVirtualRouterName(Aws::String &&value)
void SetVirtualRouterName(Aws::String &&value)
ListRoutesRequest & WithNextToken(Aws::String &&value)
ListRoutesRequest & WithMeshOwner(Aws::String &&value)
const Aws::String & GetNextToken() const
ListRoutesRequest & WithLimit(int value)
const Aws::String & GetMeshName() const
ListRoutesRequest & WithNextToken(const Aws::String &value)
ListRoutesRequest & WithNextToken(const char *value)
void SetVirtualRouterName(const Aws::String &value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetVirtualRouterName() const
ListRoutesRequest & WithVirtualRouterName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String