AWS SDK for C++  1.8.182
AWS SDK for C++
DeleteGatewayRouteRequest.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 
26  {
27  public:
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 "DeleteGatewayRoute"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetGatewayRouteName() const{ return m_gatewayRouteName; }
45 
49  inline bool GatewayRouteNameHasBeenSet() const { return m_gatewayRouteNameHasBeenSet; }
50 
54  inline void SetGatewayRouteName(const Aws::String& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = value; }
55 
59  inline void SetGatewayRouteName(Aws::String&& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = std::move(value); }
60 
64  inline void SetGatewayRouteName(const char* value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName.assign(value); }
65 
69  inline DeleteGatewayRouteRequest& WithGatewayRouteName(const Aws::String& value) { SetGatewayRouteName(value); return *this;}
70 
74  inline DeleteGatewayRouteRequest& WithGatewayRouteName(Aws::String&& value) { SetGatewayRouteName(std::move(value)); return *this;}
75 
79  inline DeleteGatewayRouteRequest& WithGatewayRouteName(const char* value) { SetGatewayRouteName(value); return *this;}
80 
81 
85  inline const Aws::String& GetMeshName() const{ return m_meshName; }
86 
90  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
91 
95  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
96 
100  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
101 
105  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
106 
110  inline DeleteGatewayRouteRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
111 
115  inline DeleteGatewayRouteRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
116 
120  inline DeleteGatewayRouteRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
121 
122 
130  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
131 
139  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
140 
148  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
149 
157  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
158 
166  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
167 
175  inline DeleteGatewayRouteRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
176 
184  inline DeleteGatewayRouteRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
185 
193  inline DeleteGatewayRouteRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
194 
195 
199  inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
200 
204  inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
205 
209  inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
210 
214  inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
215 
219  inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
220 
224  inline DeleteGatewayRouteRequest& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
225 
229  inline DeleteGatewayRouteRequest& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
230 
234  inline DeleteGatewayRouteRequest& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
235 
236  private:
237 
238  Aws::String m_gatewayRouteName;
239  bool m_gatewayRouteNameHasBeenSet;
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_virtualGatewayName;
248  bool m_virtualGatewayNameHasBeenSet;
249  };
250 
251 } // namespace Model
252 } // namespace AppMesh
253 } // namespace Aws
Aws::AppMesh::Model::DeleteGatewayRouteRequest::SetGatewayRouteName
void SetGatewayRouteName(Aws::String &&value)
Definition: DeleteGatewayRouteRequest.h:59
Aws::AppMesh::Model::DeleteGatewayRouteRequest::WithGatewayRouteName
DeleteGatewayRouteRequest & WithGatewayRouteName(const char *value)
Definition: DeleteGatewayRouteRequest.h:79
Aws::Http::URI
Definition: URI.h:32
Aws::AppMesh::Model::DeleteGatewayRouteRequest::WithMeshName
DeleteGatewayRouteRequest & WithMeshName(const Aws::String &value)
Definition: DeleteGatewayRouteRequest.h:110
Aws::AppMesh::Model::DeleteGatewayRouteRequest::SetVirtualGatewayName
void SetVirtualGatewayName(const Aws::String &value)
Definition: DeleteGatewayRouteRequest.h:209
Aws::AppMesh::Model::DeleteGatewayRouteRequest::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: DeleteGatewayRouteRequest.h:100
Aws::AppMesh::Model::DeleteGatewayRouteRequest::WithMeshOwner
DeleteGatewayRouteRequest & WithMeshOwner(const Aws::String &value)
Definition: DeleteGatewayRouteRequest.h:175
Aws::AppMesh::Model::DeleteGatewayRouteRequest::WithMeshOwner
DeleteGatewayRouteRequest & WithMeshOwner(const char *value)
Definition: DeleteGatewayRouteRequest.h:193
Aws::AppMesh::Model::DeleteGatewayRouteRequest::VirtualGatewayNameHasBeenSet
bool VirtualGatewayNameHasBeenSet() const
Definition: DeleteGatewayRouteRequest.h:204
Aws::AppMesh::Model::DeleteGatewayRouteRequest
Definition: DeleteGatewayRouteRequest.h:26
Aws::AppMesh::Model::DeleteGatewayRouteRequest::GetGatewayRouteName
const Aws::String & GetGatewayRouteName() const
Definition: DeleteGatewayRouteRequest.h:44
AppMesh_EXPORTS.h
Aws::AppMesh::Model::DeleteGatewayRouteRequest::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: DeleteGatewayRouteRequest.h:139
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::DeleteGatewayRouteRequest::SetVirtualGatewayName
void SetVirtualGatewayName(const char *value)
Definition: DeleteGatewayRouteRequest.h:219
Aws::AppMesh::Model::DeleteGatewayRouteRequest::SetMeshName
void SetMeshName(const char *value)
Definition: DeleteGatewayRouteRequest.h:105
Aws::AppMesh::Model::DeleteGatewayRouteRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteGatewayRouteRequest.h:34
Aws::AppMesh::Model::DeleteGatewayRouteRequest::WithMeshName
DeleteGatewayRouteRequest & WithMeshName(Aws::String &&value)
Definition: DeleteGatewayRouteRequest.h:115
Aws::AppMesh::Model::DeleteGatewayRouteRequest::GetMeshName
const Aws::String & GetMeshName() const
Definition: DeleteGatewayRouteRequest.h:85
Aws::AppMesh::Model::DeleteGatewayRouteRequest::DeleteGatewayRouteRequest
DeleteGatewayRouteRequest()
Aws::AppMesh::Model::DeleteGatewayRouteRequest::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: DeleteGatewayRouteRequest.h:148
AWSString.h
Aws::AppMesh::Model::DeleteGatewayRouteRequest::WithVirtualGatewayName
DeleteGatewayRouteRequest & WithVirtualGatewayName(Aws::String &&value)
Definition: DeleteGatewayRouteRequest.h:229
Aws::AppMesh::Model::DeleteGatewayRouteRequest::GatewayRouteNameHasBeenSet
bool GatewayRouteNameHasBeenSet() const
Definition: DeleteGatewayRouteRequest.h:49
Aws::AppMesh::Model::DeleteGatewayRouteRequest::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: DeleteGatewayRouteRequest.h:90
Aws::AppMesh::Model::DeleteGatewayRouteRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppMesh::Model::DeleteGatewayRouteRequest::SetGatewayRouteName
void SetGatewayRouteName(const Aws::String &value)
Definition: DeleteGatewayRouteRequest.h:54
Aws::AppMesh::Model::DeleteGatewayRouteRequest::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: DeleteGatewayRouteRequest.h:166
Aws::AppMesh::Model::DeleteGatewayRouteRequest::SetGatewayRouteName
void SetGatewayRouteName(const char *value)
Definition: DeleteGatewayRouteRequest.h:64
Aws::AppMesh::Model::DeleteGatewayRouteRequest::WithGatewayRouteName
DeleteGatewayRouteRequest & WithGatewayRouteName(Aws::String &&value)
Definition: DeleteGatewayRouteRequest.h:74
Aws::AppMesh::Model::DeleteGatewayRouteRequest::WithMeshName
DeleteGatewayRouteRequest & WithMeshName(const char *value)
Definition: DeleteGatewayRouteRequest.h:120
Aws::AppMesh::Model::DeleteGatewayRouteRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppMesh::Model::DeleteGatewayRouteRequest::GetVirtualGatewayName
const Aws::String & GetVirtualGatewayName() const
Definition: DeleteGatewayRouteRequest.h:199
Aws::AppMesh::Model::DeleteGatewayRouteRequest::WithVirtualGatewayName
DeleteGatewayRouteRequest & WithVirtualGatewayName(const Aws::String &value)
Definition: DeleteGatewayRouteRequest.h:224
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::DeleteGatewayRouteRequest::WithVirtualGatewayName
DeleteGatewayRouteRequest & WithVirtualGatewayName(const char *value)
Definition: DeleteGatewayRouteRequest.h:234
Aws::AppMesh::Model::DeleteGatewayRouteRequest::WithGatewayRouteName
DeleteGatewayRouteRequest & WithGatewayRouteName(const Aws::String &value)
Definition: DeleteGatewayRouteRequest.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::DeleteGatewayRouteRequest::WithMeshOwner
DeleteGatewayRouteRequest & WithMeshOwner(Aws::String &&value)
Definition: DeleteGatewayRouteRequest.h:184
Aws::AppMesh::Model::DeleteGatewayRouteRequest::SetVirtualGatewayName
void SetVirtualGatewayName(Aws::String &&value)
Definition: DeleteGatewayRouteRequest.h:214
Aws::AppMesh::Model::DeleteGatewayRouteRequest::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: DeleteGatewayRouteRequest.h:95
Aws::AppMesh::Model::DeleteGatewayRouteRequest::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: DeleteGatewayRouteRequest.h:157
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::DeleteGatewayRouteRequest::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: DeleteGatewayRouteRequest.h:130
AppMeshRequest.h