AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateVirtualNodeRequest.h
1
6#pragma once
7#include <aws/appmesh/AppMeshRequest.h>
8#include <aws/appmesh/AppMesh_EXPORTS.h>
9#include <aws/appmesh/model/VirtualNodeSpec.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace AppMesh {
20namespace Model {
21
28 public:
29 AWS_APPMESH_API UpdateVirtualNodeRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateVirtualNode"; }
36
37 AWS_APPMESH_API Aws::String SerializePayload() const override;
38
39 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
47 inline const Aws::String& GetClientToken() const { return m_clientToken; }
48 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
49 template <typename ClientTokenT = Aws::String>
50 void SetClientToken(ClientTokenT&& value) {
51 m_clientTokenHasBeenSet = true;
52 m_clientToken = std::forward<ClientTokenT>(value);
53 }
54 template <typename ClientTokenT = Aws::String>
56 SetClientToken(std::forward<ClientTokenT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetMeshName() const { return m_meshName; }
66 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
67 template <typename MeshNameT = Aws::String>
68 void SetMeshName(MeshNameT&& value) {
69 m_meshNameHasBeenSet = true;
70 m_meshName = std::forward<MeshNameT>(value);
71 }
72 template <typename MeshNameT = Aws::String>
74 SetMeshName(std::forward<MeshNameT>(value));
75 return *this;
76 }
78
80
87 inline const Aws::String& GetMeshOwner() const { return m_meshOwner; }
88 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
89 template <typename MeshOwnerT = Aws::String>
90 void SetMeshOwner(MeshOwnerT&& value) {
91 m_meshOwnerHasBeenSet = true;
92 m_meshOwner = std::forward<MeshOwnerT>(value);
93 }
94 template <typename MeshOwnerT = Aws::String>
96 SetMeshOwner(std::forward<MeshOwnerT>(value));
97 return *this;
98 }
100
102
106 inline const VirtualNodeSpec& GetSpec() const { return m_spec; }
107 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
108 template <typename SpecT = VirtualNodeSpec>
109 void SetSpec(SpecT&& value) {
110 m_specHasBeenSet = true;
111 m_spec = std::forward<SpecT>(value);
112 }
113 template <typename SpecT = VirtualNodeSpec>
115 SetSpec(std::forward<SpecT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetVirtualNodeName() const { return m_virtualNodeName; }
125 inline bool VirtualNodeNameHasBeenSet() const { return m_virtualNodeNameHasBeenSet; }
126 template <typename VirtualNodeNameT = Aws::String>
127 void SetVirtualNodeName(VirtualNodeNameT&& value) {
128 m_virtualNodeNameHasBeenSet = true;
129 m_virtualNodeName = std::forward<VirtualNodeNameT>(value);
130 }
131 template <typename VirtualNodeNameT = Aws::String>
133 SetVirtualNodeName(std::forward<VirtualNodeNameT>(value));
134 return *this;
135 }
137 private:
139
140 Aws::String m_meshName;
141
142 Aws::String m_meshOwner;
143
144 VirtualNodeSpec m_spec;
145
146 Aws::String m_virtualNodeName;
147 bool m_clientTokenHasBeenSet = true;
148 bool m_meshNameHasBeenSet = false;
149 bool m_meshOwnerHasBeenSet = false;
150 bool m_specHasBeenSet = false;
151 bool m_virtualNodeNameHasBeenSet = false;
152};
153
154} // namespace Model
155} // namespace AppMesh
156} // namespace Aws
UpdateVirtualNodeRequest & WithMeshName(MeshNameT &&value)
AWS_APPMESH_API UpdateVirtualNodeRequest()=default
AWS_APPMESH_API Aws::String SerializePayload() const override
UpdateVirtualNodeRequest & WithMeshOwner(MeshOwnerT &&value)
virtual const char * GetServiceRequestName() const override
UpdateVirtualNodeRequest & WithSpec(SpecT &&value)
UpdateVirtualNodeRequest & WithClientToken(ClientTokenT &&value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateVirtualNodeRequest & WithVirtualNodeName(VirtualNodeNameT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String