AWS SDK for C++  1.8.71
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 
131  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
132 
141  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
142 
151  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
152 
161  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
162 
171  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
172 
181  inline DeleteGatewayRouteRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
182 
191  inline DeleteGatewayRouteRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
192 
201  inline DeleteGatewayRouteRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
202 
203 
207  inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
208 
212  inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
213 
217  inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
218 
222  inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
223 
227  inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
228 
232  inline DeleteGatewayRouteRequest& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
233 
237  inline DeleteGatewayRouteRequest& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
238 
242  inline DeleteGatewayRouteRequest& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
243 
244  private:
245 
246  Aws::String m_gatewayRouteName;
247  bool m_gatewayRouteNameHasBeenSet;
248 
249  Aws::String m_meshName;
250  bool m_meshNameHasBeenSet;
251 
252  Aws::String m_meshOwner;
253  bool m_meshOwnerHasBeenSet;
254 
255  Aws::String m_virtualGatewayName;
256  bool m_virtualGatewayNameHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace AppMesh
261 } // namespace Aws
DeleteGatewayRouteRequest & WithMeshName(const Aws::String &value)
DeleteGatewayRouteRequest & WithMeshName(Aws::String &&value)
DeleteGatewayRouteRequest & WithMeshOwner(const Aws::String &value)
DeleteGatewayRouteRequest & WithGatewayRouteName(Aws::String &&value)
DeleteGatewayRouteRequest & WithGatewayRouteName(const char *value)
DeleteGatewayRouteRequest & WithGatewayRouteName(const Aws::String &value)
DeleteGatewayRouteRequest & WithMeshOwner(const char *value)
DeleteGatewayRouteRequest & WithVirtualGatewayName(const char *value)
DeleteGatewayRouteRequest & WithVirtualGatewayName(Aws::String &&value)
DeleteGatewayRouteRequest & WithVirtualGatewayName(const Aws::String &value)
DeleteGatewayRouteRequest & WithMeshOwner(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DeleteGatewayRouteRequest & WithMeshName(const char *value)
virtual const char * GetServiceRequestName() const override
#define AWS_APPMESH_API