AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteGatewayRouteRequest.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
26 {
27 public:
28 AWS_APPMESH_API DeleteGatewayRouteRequest();
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_APPMESH_API Aws::String SerializePayload() const override;
37
38 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetGatewayRouteName() const{ return m_gatewayRouteName; }
46 inline bool GatewayRouteNameHasBeenSet() const { return m_gatewayRouteNameHasBeenSet; }
47 inline void SetGatewayRouteName(const Aws::String& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = value; }
48 inline void SetGatewayRouteName(Aws::String&& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = std::move(value); }
49 inline void SetGatewayRouteName(const char* value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName.assign(value); }
51 inline DeleteGatewayRouteRequest& WithGatewayRouteName(Aws::String&& value) { SetGatewayRouteName(std::move(value)); return *this;}
52 inline DeleteGatewayRouteRequest& WithGatewayRouteName(const char* value) { SetGatewayRouteName(value); return *this;}
54
56
59 inline const Aws::String& GetMeshName() const{ return m_meshName; }
60 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
61 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
62 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
63 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
64 inline DeleteGatewayRouteRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
65 inline DeleteGatewayRouteRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
66 inline DeleteGatewayRouteRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
68
70
77 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
78 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
79 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
80 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
81 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
82 inline DeleteGatewayRouteRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
83 inline DeleteGatewayRouteRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
84 inline DeleteGatewayRouteRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
86
88
91 inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
92 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
93 inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
94 inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
95 inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
97 inline DeleteGatewayRouteRequest& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
98 inline DeleteGatewayRouteRequest& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
100 private:
101
102 Aws::String m_gatewayRouteName;
103 bool m_gatewayRouteNameHasBeenSet = false;
104
105 Aws::String m_meshName;
106 bool m_meshNameHasBeenSet = false;
107
108 Aws::String m_meshOwner;
109 bool m_meshOwnerHasBeenSet = false;
110
111 Aws::String m_virtualGatewayName;
112 bool m_virtualGatewayNameHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace AppMesh
117} // namespace Aws
virtual const char * GetServiceRequestName() const override
DeleteGatewayRouteRequest & WithVirtualGatewayName(const Aws::String &value)
DeleteGatewayRouteRequest & WithGatewayRouteName(Aws::String &&value)
DeleteGatewayRouteRequest & WithMeshName(const char *value)
DeleteGatewayRouteRequest & WithMeshOwner(const char *value)
DeleteGatewayRouteRequest & WithGatewayRouteName(const Aws::String &value)
DeleteGatewayRouteRequest & WithGatewayRouteName(const char *value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteGatewayRouteRequest & WithMeshOwner(const Aws::String &value)
DeleteGatewayRouteRequest & WithVirtualGatewayName(Aws::String &&value)
DeleteGatewayRouteRequest & WithVirtualGatewayName(const char *value)
DeleteGatewayRouteRequest & WithMeshName(const Aws::String &value)
DeleteGatewayRouteRequest & WithMeshOwner(Aws::String &&value)
DeleteGatewayRouteRequest & WithMeshName(Aws::String &&value)
AWS_APPMESH_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String