AWS SDK for C++  1.9.16
AWS SDK for C++
DeleteRouteRequest.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 
29  {
30  public:
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 "DeleteRoute"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
47  inline const Aws::String& GetMeshName() const{ return m_meshName; }
48 
52  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
53 
57  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
58 
62  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
63 
67  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
68 
72  inline DeleteRouteRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
73 
77  inline DeleteRouteRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
78 
82  inline DeleteRouteRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
83 
84 
92  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
93 
101  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
102 
110  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
111 
119  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
120 
128  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
129 
137  inline DeleteRouteRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
138 
146  inline DeleteRouteRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
147 
155  inline DeleteRouteRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
156 
157 
161  inline const Aws::String& GetRouteName() const{ return m_routeName; }
162 
166  inline bool RouteNameHasBeenSet() const { return m_routeNameHasBeenSet; }
167 
171  inline void SetRouteName(const Aws::String& value) { m_routeNameHasBeenSet = true; m_routeName = value; }
172 
176  inline void SetRouteName(Aws::String&& value) { m_routeNameHasBeenSet = true; m_routeName = std::move(value); }
177 
181  inline void SetRouteName(const char* value) { m_routeNameHasBeenSet = true; m_routeName.assign(value); }
182 
186  inline DeleteRouteRequest& WithRouteName(const Aws::String& value) { SetRouteName(value); return *this;}
187 
191  inline DeleteRouteRequest& WithRouteName(Aws::String&& value) { SetRouteName(std::move(value)); return *this;}
192 
196  inline DeleteRouteRequest& WithRouteName(const char* value) { SetRouteName(value); return *this;}
197 
198 
202  inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
203 
207  inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
208 
212  inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
213 
217  inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
218 
222  inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
223 
227  inline DeleteRouteRequest& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
228 
232  inline DeleteRouteRequest& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
233 
237  inline DeleteRouteRequest& WithVirtualRouterName(const char* value) { SetVirtualRouterName(value); return *this;}
238 
239  private:
240 
241  Aws::String m_meshName;
242  bool m_meshNameHasBeenSet;
243 
244  Aws::String m_meshOwner;
245  bool m_meshOwnerHasBeenSet;
246 
247  Aws::String m_routeName;
248  bool m_routeNameHasBeenSet;
249 
250  Aws::String m_virtualRouterName;
251  bool m_virtualRouterNameHasBeenSet;
252  };
253 
254 } // namespace Model
255 } // namespace AppMesh
256 } // namespace Aws
Aws::AppMesh::Model::DeleteRouteRequest::WithVirtualRouterName
DeleteRouteRequest & WithVirtualRouterName(const Aws::String &value)
Definition: DeleteRouteRequest.h:227
Aws::Http::URI
Definition: URI.h:32
Aws::AppMesh::Model::DeleteRouteRequest::DeleteRouteRequest
DeleteRouteRequest()
Aws::AppMesh::Model::DeleteRouteRequest::WithRouteName
DeleteRouteRequest & WithRouteName(const Aws::String &value)
Definition: DeleteRouteRequest.h:186
Aws::AppMesh::Model::DeleteRouteRequest::SetMeshName
void SetMeshName(const char *value)
Definition: DeleteRouteRequest.h:67
Aws::AppMesh::Model::DeleteRouteRequest::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: DeleteRouteRequest.h:101
Aws::AppMesh::Model::DeleteRouteRequest::GetVirtualRouterName
const Aws::String & GetVirtualRouterName() const
Definition: DeleteRouteRequest.h:202
Aws::AppMesh::Model::DeleteRouteRequest::WithMeshName
DeleteRouteRequest & WithMeshName(const Aws::String &value)
Definition: DeleteRouteRequest.h:72
AppMesh_EXPORTS.h
Aws::AppMesh::Model::DeleteRouteRequest::WithMeshOwner
DeleteRouteRequest & WithMeshOwner(const char *value)
Definition: DeleteRouteRequest.h:155
Aws::AppMesh::Model::DeleteRouteRequest::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: DeleteRouteRequest.h:128
Aws::AppMesh::Model::DeleteRouteRequest::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: DeleteRouteRequest.h:52
Aws::AppMesh::Model::DeleteRouteRequest::SetVirtualRouterName
void SetVirtualRouterName(const Aws::String &value)
Definition: DeleteRouteRequest.h:212
Aws::AppMesh::Model::DeleteRouteRequest::VirtualRouterNameHasBeenSet
bool VirtualRouterNameHasBeenSet() const
Definition: DeleteRouteRequest.h:207
Aws::AppMesh::Model::DeleteRouteRequest
Definition: DeleteRouteRequest.h:29
Aws::AppMesh::Model::DeleteRouteRequest::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: DeleteRouteRequest.h:119
Aws::AppMesh::Model::DeleteRouteRequest::GetRouteName
const Aws::String & GetRouteName() const
Definition: DeleteRouteRequest.h:161
Aws::AppMesh::Model::DeleteRouteRequest::WithMeshOwner
DeleteRouteRequest & WithMeshOwner(const Aws::String &value)
Definition: DeleteRouteRequest.h:137
Aws::AppMesh::Model::DeleteRouteRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppMesh::Model::DeleteRouteRequest::SetRouteName
void SetRouteName(const char *value)
Definition: DeleteRouteRequest.h:181
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::DeleteRouteRequest::WithVirtualRouterName
DeleteRouteRequest & WithVirtualRouterName(Aws::String &&value)
Definition: DeleteRouteRequest.h:232
Aws::AppMesh::Model::DeleteRouteRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppMesh::Model::DeleteRouteRequest::SetRouteName
void SetRouteName(Aws::String &&value)
Definition: DeleteRouteRequest.h:176
Aws::AppMesh::Model::DeleteRouteRequest::WithMeshName
DeleteRouteRequest & WithMeshName(const char *value)
Definition: DeleteRouteRequest.h:82
Aws::AppMesh::Model::DeleteRouteRequest::RouteNameHasBeenSet
bool RouteNameHasBeenSet() const
Definition: DeleteRouteRequest.h:166
AWSString.h
Aws::AppMesh::Model::DeleteRouteRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteRouteRequest.h:37
Aws::AppMesh::Model::DeleteRouteRequest::WithRouteName
DeleteRouteRequest & WithRouteName(const char *value)
Definition: DeleteRouteRequest.h:196
Aws::AppMesh::Model::DeleteRouteRequest::WithVirtualRouterName
DeleteRouteRequest & WithVirtualRouterName(const char *value)
Definition: DeleteRouteRequest.h:237
Aws::AppMesh::Model::DeleteRouteRequest::WithMeshOwner
DeleteRouteRequest & WithMeshOwner(Aws::String &&value)
Definition: DeleteRouteRequest.h:146
Aws::AppMesh::Model::DeleteRouteRequest::SetRouteName
void SetRouteName(const Aws::String &value)
Definition: DeleteRouteRequest.h:171
Aws::AppMesh::Model::DeleteRouteRequest::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: DeleteRouteRequest.h:57
Aws::AppMesh::Model::DeleteRouteRequest::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: DeleteRouteRequest.h:62
Aws::AppMesh::Model::DeleteRouteRequest::WithRouteName
DeleteRouteRequest & WithRouteName(Aws::String &&value)
Definition: DeleteRouteRequest.h:191
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::DeleteRouteRequest::SetVirtualRouterName
void SetVirtualRouterName(const char *value)
Definition: DeleteRouteRequest.h:222
Aws::AppMesh::Model::DeleteRouteRequest::SetVirtualRouterName
void SetVirtualRouterName(Aws::String &&value)
Definition: DeleteRouteRequest.h:217
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::DeleteRouteRequest::WithMeshName
DeleteRouteRequest & WithMeshName(Aws::String &&value)
Definition: DeleteRouteRequest.h:77
Aws::AppMesh::Model::DeleteRouteRequest::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: DeleteRouteRequest.h:110
Aws::AppMesh::Model::DeleteRouteRequest::GetMeshName
const Aws::String & GetMeshName() const
Definition: DeleteRouteRequest.h:47
Aws::AppMesh::Model::DeleteRouteRequest::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: DeleteRouteRequest.h:92
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
AppMeshRequest.h