AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteRouteRequest.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
29 {
30 public:
31 AWS_APPMESH_API DeleteRouteRequest();
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_APPMESH_API Aws::String SerializePayload() const override;
40
41 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetMeshName() const{ return m_meshName; }
49 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
50 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
51 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
52 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
53 inline DeleteRouteRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
54 inline DeleteRouteRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
55 inline DeleteRouteRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
57
59
66 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
67 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
68 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
69 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
70 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
71 inline DeleteRouteRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
72 inline DeleteRouteRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
73 inline DeleteRouteRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
75
77
80 inline const Aws::String& GetRouteName() const{ return m_routeName; }
81 inline bool RouteNameHasBeenSet() const { return m_routeNameHasBeenSet; }
82 inline void SetRouteName(const Aws::String& value) { m_routeNameHasBeenSet = true; m_routeName = value; }
83 inline void SetRouteName(Aws::String&& value) { m_routeNameHasBeenSet = true; m_routeName = std::move(value); }
84 inline void SetRouteName(const char* value) { m_routeNameHasBeenSet = true; m_routeName.assign(value); }
85 inline DeleteRouteRequest& WithRouteName(const Aws::String& value) { SetRouteName(value); return *this;}
86 inline DeleteRouteRequest& WithRouteName(Aws::String&& value) { SetRouteName(std::move(value)); return *this;}
87 inline DeleteRouteRequest& WithRouteName(const char* value) { SetRouteName(value); return *this;}
89
91
94 inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
95 inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
96 inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
97 inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
98 inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
99 inline DeleteRouteRequest& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
100 inline DeleteRouteRequest& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
101 inline DeleteRouteRequest& WithVirtualRouterName(const char* value) { SetVirtualRouterName(value); return *this;}
103 private:
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_routeName;
112 bool m_routeNameHasBeenSet = false;
113
114 Aws::String m_virtualRouterName;
115 bool m_virtualRouterNameHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace AppMesh
120} // namespace Aws
DeleteRouteRequest & WithMeshName(Aws::String &&value)
DeleteRouteRequest & WithMeshName(const char *value)
DeleteRouteRequest & WithMeshOwner(const char *value)
DeleteRouteRequest & WithMeshOwner(const Aws::String &value)
DeleteRouteRequest & WithMeshOwner(Aws::String &&value)
void SetVirtualRouterName(Aws::String &&value)
const Aws::String & GetMeshName() const
void SetVirtualRouterName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DeleteRouteRequest & WithVirtualRouterName(const char *value)
const Aws::String & GetMeshOwner() const
AWS_APPMESH_API Aws::String SerializePayload() const override
DeleteRouteRequest & WithVirtualRouterName(Aws::String &&value)
DeleteRouteRequest & WithRouteName(Aws::String &&value)
DeleteRouteRequest & WithRouteName(const char *value)
void SetMeshOwner(const Aws::String &value)
const Aws::String & GetRouteName() const
void SetMeshName(const Aws::String &value)
DeleteRouteRequest & WithMeshName(const Aws::String &value)
const Aws::String & GetVirtualRouterName() const
void SetRouteName(const Aws::String &value)
DeleteRouteRequest & WithRouteName(const Aws::String &value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteRouteRequest & WithVirtualRouterName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String