AWS SDK for C++  1.9.17
AWS SDK for C++
UpdateVirtualNodeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 #include <aws/core/utils/UUID.h>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace AppMesh
21 {
22 namespace Model
23 {
24 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "UpdateVirtualNode"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44 
45 
51  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
52 
58  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
59 
65  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
66 
72  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
73 
79  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
80 
86  inline UpdateVirtualNodeRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
87 
93  inline UpdateVirtualNodeRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
94 
100  inline UpdateVirtualNodeRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
101 
102 
106  inline const Aws::String& GetMeshName() const{ return m_meshName; }
107 
111  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
112 
116  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
117 
121  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
122 
126  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
127 
131  inline UpdateVirtualNodeRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
132 
136  inline UpdateVirtualNodeRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
137 
141  inline UpdateVirtualNodeRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
142 
143 
151  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
152 
160  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
161 
169  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
170 
178  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
179 
187  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
188 
196  inline UpdateVirtualNodeRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
197 
205  inline UpdateVirtualNodeRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
206 
214  inline UpdateVirtualNodeRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
215 
216 
221  inline const VirtualNodeSpec& GetSpec() const{ return m_spec; }
222 
227  inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
228 
233  inline void SetSpec(const VirtualNodeSpec& value) { m_specHasBeenSet = true; m_spec = value; }
234 
239  inline void SetSpec(VirtualNodeSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
240 
245  inline UpdateVirtualNodeRequest& WithSpec(const VirtualNodeSpec& value) { SetSpec(value); return *this;}
246 
251  inline UpdateVirtualNodeRequest& WithSpec(VirtualNodeSpec&& value) { SetSpec(std::move(value)); return *this;}
252 
253 
257  inline const Aws::String& GetVirtualNodeName() const{ return m_virtualNodeName; }
258 
262  inline bool VirtualNodeNameHasBeenSet() const { return m_virtualNodeNameHasBeenSet; }
263 
267  inline void SetVirtualNodeName(const Aws::String& value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName = value; }
268 
272  inline void SetVirtualNodeName(Aws::String&& value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName = std::move(value); }
273 
277  inline void SetVirtualNodeName(const char* value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName.assign(value); }
278 
282  inline UpdateVirtualNodeRequest& WithVirtualNodeName(const Aws::String& value) { SetVirtualNodeName(value); return *this;}
283 
287  inline UpdateVirtualNodeRequest& WithVirtualNodeName(Aws::String&& value) { SetVirtualNodeName(std::move(value)); return *this;}
288 
292  inline UpdateVirtualNodeRequest& WithVirtualNodeName(const char* value) { SetVirtualNodeName(value); return *this;}
293 
294  private:
295 
296  Aws::String m_clientToken;
297  bool m_clientTokenHasBeenSet;
298 
299  Aws::String m_meshName;
300  bool m_meshNameHasBeenSet;
301 
302  Aws::String m_meshOwner;
303  bool m_meshOwnerHasBeenSet;
304 
305  VirtualNodeSpec m_spec;
306  bool m_specHasBeenSet;
307 
308  Aws::String m_virtualNodeName;
309  bool m_virtualNodeNameHasBeenSet;
310  };
311 
312 } // namespace Model
313 } // namespace AppMesh
314 } // namespace Aws
Aws::AppMesh::Model::UpdateVirtualNodeRequest::VirtualNodeNameHasBeenSet
bool VirtualNodeNameHasBeenSet() const
Definition: UpdateVirtualNodeRequest.h:262
Aws::Http::URI
Definition: URI.h:32
Aws::AppMesh::Model::UpdateVirtualNodeRequest::WithVirtualNodeName
UpdateVirtualNodeRequest & WithVirtualNodeName(Aws::String &&value)
Definition: UpdateVirtualNodeRequest.h:287
Aws::AppMesh::Model::UpdateVirtualNodeRequest::WithClientToken
UpdateVirtualNodeRequest & WithClientToken(const char *value)
Definition: UpdateVirtualNodeRequest.h:100
Aws::AppMesh::Model::UpdateVirtualNodeRequest::WithMeshName
UpdateVirtualNodeRequest & WithMeshName(const Aws::String &value)
Definition: UpdateVirtualNodeRequest.h:131
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: UpdateVirtualNodeRequest.h:187
Aws::AppMesh::Model::UpdateVirtualNodeRequest::WithMeshOwner
UpdateVirtualNodeRequest & WithMeshOwner(Aws::String &&value)
Definition: UpdateVirtualNodeRequest.h:205
Aws::AppMesh::Model::UpdateVirtualNodeRequest
Definition: UpdateVirtualNodeRequest.h:31
Aws::AppMesh::Model::UpdateVirtualNodeRequest::WithMeshName
UpdateVirtualNodeRequest & WithMeshName(const char *value)
Definition: UpdateVirtualNodeRequest.h:141
Aws::AppMesh::Model::UpdateVirtualNodeRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SetMeshName
void SetMeshName(const char *value)
Definition: UpdateVirtualNodeRequest.h:126
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SetSpec
void SetSpec(const VirtualNodeSpec &value)
Definition: UpdateVirtualNodeRequest.h:233
AppMesh_EXPORTS.h
Aws::AppMesh::Model::UpdateVirtualNodeRequest::WithClientToken
UpdateVirtualNodeRequest & WithClientToken(const Aws::String &value)
Definition: UpdateVirtualNodeRequest.h:86
Aws::AppMesh::Model::UpdateVirtualNodeRequest::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: UpdateVirtualNodeRequest.h:111
Aws::AppMesh::Model::UpdateVirtualNodeRequest::GetVirtualNodeName
const Aws::String & GetVirtualNodeName() const
Definition: UpdateVirtualNodeRequest.h:257
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SpecHasBeenSet
bool SpecHasBeenSet() const
Definition: UpdateVirtualNodeRequest.h:227
Aws::AppMesh::Model::UpdateVirtualNodeRequest::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: UpdateVirtualNodeRequest.h:160
Aws::AppMesh::Model::UpdateVirtualNodeRequest::WithClientToken
UpdateVirtualNodeRequest & WithClientToken(Aws::String &&value)
Definition: UpdateVirtualNodeRequest.h:93
Aws::AppMesh::Model::UpdateVirtualNodeRequest::WithMeshOwner
UpdateVirtualNodeRequest & WithMeshOwner(const char *value)
Definition: UpdateVirtualNodeRequest.h:214
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: UpdateVirtualNodeRequest.h:121
Aws::AppMesh::Model::UpdateVirtualNodeRequest::GetMeshName
const Aws::String & GetMeshName() const
Definition: UpdateVirtualNodeRequest.h:106
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SetVirtualNodeName
void SetVirtualNodeName(Aws::String &&value)
Definition: UpdateVirtualNodeRequest.h:272
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: UpdateVirtualNodeRequest.h:116
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: UpdateVirtualNodeRequest.h:72
VirtualNodeSpec.h
Aws::AppMesh::Model::UpdateVirtualNodeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateVirtualNodeRequest.h:39
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: UpdateVirtualNodeRequest.h:169
Aws::AppMesh::Model::UpdateVirtualNodeRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: UpdateVirtualNodeRequest.h:58
AWSString.h
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SetVirtualNodeName
void SetVirtualNodeName(const char *value)
Definition: UpdateVirtualNodeRequest.h:277
Aws::AppMesh::Model::UpdateVirtualNodeRequest::WithSpec
UpdateVirtualNodeRequest & WithSpec(const VirtualNodeSpec &value)
Definition: UpdateVirtualNodeRequest.h:245
Aws::AppMesh::Model::UpdateVirtualNodeRequest::UpdateVirtualNodeRequest
UpdateVirtualNodeRequest()
Aws::AppMesh::Model::UpdateVirtualNodeRequest::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: UpdateVirtualNodeRequest.h:151
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: UpdateVirtualNodeRequest.h:65
Aws::AppMesh::Model::UpdateVirtualNodeRequest::WithVirtualNodeName
UpdateVirtualNodeRequest & WithVirtualNodeName(const Aws::String &value)
Definition: UpdateVirtualNodeRequest.h:282
Aws::AppMesh::Model::UpdateVirtualNodeRequest::WithMeshOwner
UpdateVirtualNodeRequest & WithMeshOwner(const Aws::String &value)
Definition: UpdateVirtualNodeRequest.h:196
Aws::AppMesh::Model::UpdateVirtualNodeRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: UpdateVirtualNodeRequest.h:51
Aws::AppMesh::Model::UpdateVirtualNodeRequest::GetSpec
const VirtualNodeSpec & GetSpec() const
Definition: UpdateVirtualNodeRequest.h:221
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualNodeSpec
Definition: VirtualNodeSpec.h:38
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SetVirtualNodeName
void SetVirtualNodeName(const Aws::String &value)
Definition: UpdateVirtualNodeRequest.h:267
Aws::AppMesh::Model::UpdateVirtualNodeRequest::WithVirtualNodeName
UpdateVirtualNodeRequest & WithVirtualNodeName(const char *value)
Definition: UpdateVirtualNodeRequest.h:292
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SetClientToken
void SetClientToken(const char *value)
Definition: UpdateVirtualNodeRequest.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::UpdateVirtualNodeRequest::WithMeshName
UpdateVirtualNodeRequest & WithMeshName(Aws::String &&value)
Definition: UpdateVirtualNodeRequest.h:136
Aws::AppMesh::Model::UpdateVirtualNodeRequest::WithSpec
UpdateVirtualNodeRequest & WithSpec(VirtualNodeSpec &&value)
Definition: UpdateVirtualNodeRequest.h:251
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SetSpec
void SetSpec(VirtualNodeSpec &&value)
Definition: UpdateVirtualNodeRequest.h:239
UUID.h
Aws::AppMesh::Model::UpdateVirtualNodeRequest::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: UpdateVirtualNodeRequest.h:178
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
AppMeshRequest.h