AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteRouteRequest.h
1
6#pragma once
7#include <aws/appmesh/AppMeshRequest.h>
8#include <aws/appmesh/AppMesh_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace AppMesh {
18namespace Model {
19
26 public:
27 AWS_APPMESH_API DeleteRouteRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DeleteRoute"; }
34
35 AWS_APPMESH_API Aws::String SerializePayload() const override;
36
37 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
43 inline const Aws::String& GetMeshName() const { return m_meshName; }
44 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
45 template <typename MeshNameT = Aws::String>
46 void SetMeshName(MeshNameT&& value) {
47 m_meshNameHasBeenSet = true;
48 m_meshName = std::forward<MeshNameT>(value);
49 }
50 template <typename MeshNameT = Aws::String>
51 DeleteRouteRequest& WithMeshName(MeshNameT&& value) {
52 SetMeshName(std::forward<MeshNameT>(value));
53 return *this;
54 }
56
58
65 inline const Aws::String& GetMeshOwner() const { return m_meshOwner; }
66 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
67 template <typename MeshOwnerT = Aws::String>
68 void SetMeshOwner(MeshOwnerT&& value) {
69 m_meshOwnerHasBeenSet = true;
70 m_meshOwner = std::forward<MeshOwnerT>(value);
71 }
72 template <typename MeshOwnerT = Aws::String>
73 DeleteRouteRequest& WithMeshOwner(MeshOwnerT&& value) {
74 SetMeshOwner(std::forward<MeshOwnerT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetRouteName() const { return m_routeName; }
84 inline bool RouteNameHasBeenSet() const { return m_routeNameHasBeenSet; }
85 template <typename RouteNameT = Aws::String>
86 void SetRouteName(RouteNameT&& value) {
87 m_routeNameHasBeenSet = true;
88 m_routeName = std::forward<RouteNameT>(value);
89 }
90 template <typename RouteNameT = Aws::String>
91 DeleteRouteRequest& WithRouteName(RouteNameT&& value) {
92 SetRouteName(std::forward<RouteNameT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetVirtualRouterName() const { return m_virtualRouterName; }
102 inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
103 template <typename VirtualRouterNameT = Aws::String>
104 void SetVirtualRouterName(VirtualRouterNameT&& value) {
105 m_virtualRouterNameHasBeenSet = true;
106 m_virtualRouterName = std::forward<VirtualRouterNameT>(value);
107 }
108 template <typename VirtualRouterNameT = Aws::String>
109 DeleteRouteRequest& WithVirtualRouterName(VirtualRouterNameT&& value) {
110 SetVirtualRouterName(std::forward<VirtualRouterNameT>(value));
111 return *this;
112 }
114 private:
115 Aws::String m_meshName;
116
117 Aws::String m_meshOwner;
118
119 Aws::String m_routeName;
120
121 Aws::String m_virtualRouterName;
122 bool m_meshNameHasBeenSet = false;
123 bool m_meshOwnerHasBeenSet = false;
124 bool m_routeNameHasBeenSet = false;
125 bool m_virtualRouterNameHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace AppMesh
130} // namespace Aws
AWS_APPMESH_API DeleteRouteRequest()=default
DeleteRouteRequest & WithMeshOwner(MeshOwnerT &&value)
DeleteRouteRequest & WithMeshName(MeshNameT &&value)
DeleteRouteRequest & WithVirtualRouterName(VirtualRouterNameT &&value)
const Aws::String & GetMeshName() const
virtual const char * GetServiceRequestName() const override
DeleteRouteRequest & WithRouteName(RouteNameT &&value)
void SetVirtualRouterName(VirtualRouterNameT &&value)
const Aws::String & GetMeshOwner() const
AWS_APPMESH_API Aws::String SerializePayload() const override
const Aws::String & GetRouteName() const
const Aws::String & GetVirtualRouterName() const
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String