AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteVirtualServiceRequest.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 DeleteVirtualServiceRequest() = 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 "DeleteVirtualService"; }
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>
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>
74 SetMeshOwner(std::forward<MeshOwnerT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetVirtualServiceName() const { return m_virtualServiceName; }
84 inline bool VirtualServiceNameHasBeenSet() const { return m_virtualServiceNameHasBeenSet; }
85 template <typename VirtualServiceNameT = Aws::String>
86 void SetVirtualServiceName(VirtualServiceNameT&& value) {
87 m_virtualServiceNameHasBeenSet = true;
88 m_virtualServiceName = std::forward<VirtualServiceNameT>(value);
89 }
90 template <typename VirtualServiceNameT = Aws::String>
92 SetVirtualServiceName(std::forward<VirtualServiceNameT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_meshName;
98
99 Aws::String m_meshOwner;
100
101 Aws::String m_virtualServiceName;
102 bool m_meshNameHasBeenSet = false;
103 bool m_meshOwnerHasBeenSet = false;
104 bool m_virtualServiceNameHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace AppMesh
109} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_APPMESH_API Aws::String SerializePayload() const override
AWS_APPMESH_API DeleteVirtualServiceRequest()=default
DeleteVirtualServiceRequest & WithMeshOwner(MeshOwnerT &&value)
DeleteVirtualServiceRequest & WithVirtualServiceName(VirtualServiceNameT &&value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteVirtualServiceRequest & WithMeshName(MeshNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String