AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateVirtualNodeRequest.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 <aws/appmesh/model/VirtualNodeSpec.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace AppMesh
21{
22namespace Model
23{
24
31 {
32 public:
33 AWS_APPMESH_API UpdateVirtualNodeRequest();
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_APPMESH_API Aws::String SerializePayload() const override;
42
43 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
52 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
53 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
54 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
55 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
56 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
57 inline UpdateVirtualNodeRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
58 inline UpdateVirtualNodeRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
59 inline UpdateVirtualNodeRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
61
63
66 inline const Aws::String& GetMeshName() const{ return m_meshName; }
67 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
68 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
69 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
70 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
71 inline UpdateVirtualNodeRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
72 inline UpdateVirtualNodeRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
73 inline UpdateVirtualNodeRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
75
77
84 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
85 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
86 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
87 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
88 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
89 inline UpdateVirtualNodeRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
90 inline UpdateVirtualNodeRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
91 inline UpdateVirtualNodeRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
93
95
99 inline const VirtualNodeSpec& GetSpec() const{ return m_spec; }
100 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
101 inline void SetSpec(const VirtualNodeSpec& value) { m_specHasBeenSet = true; m_spec = value; }
102 inline void SetSpec(VirtualNodeSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
103 inline UpdateVirtualNodeRequest& WithSpec(const VirtualNodeSpec& value) { SetSpec(value); return *this;}
104 inline UpdateVirtualNodeRequest& WithSpec(VirtualNodeSpec&& value) { SetSpec(std::move(value)); return *this;}
106
108
111 inline const Aws::String& GetVirtualNodeName() const{ return m_virtualNodeName; }
112 inline bool VirtualNodeNameHasBeenSet() const { return m_virtualNodeNameHasBeenSet; }
113 inline void SetVirtualNodeName(const Aws::String& value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName = value; }
114 inline void SetVirtualNodeName(Aws::String&& value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName = std::move(value); }
115 inline void SetVirtualNodeName(const char* value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName.assign(value); }
116 inline UpdateVirtualNodeRequest& WithVirtualNodeName(const Aws::String& value) { SetVirtualNodeName(value); return *this;}
117 inline UpdateVirtualNodeRequest& WithVirtualNodeName(Aws::String&& value) { SetVirtualNodeName(std::move(value)); return *this;}
118 inline UpdateVirtualNodeRequest& WithVirtualNodeName(const char* value) { SetVirtualNodeName(value); return *this;}
120 private:
121
122 Aws::String m_clientToken;
123 bool m_clientTokenHasBeenSet = false;
124
125 Aws::String m_meshName;
126 bool m_meshNameHasBeenSet = false;
127
128 Aws::String m_meshOwner;
129 bool m_meshOwnerHasBeenSet = false;
130
131 VirtualNodeSpec m_spec;
132 bool m_specHasBeenSet = false;
133
134 Aws::String m_virtualNodeName;
135 bool m_virtualNodeNameHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace AppMesh
140} // namespace Aws
UpdateVirtualNodeRequest & WithVirtualNodeName(Aws::String &&value)
UpdateVirtualNodeRequest & WithMeshOwner(Aws::String &&value)
UpdateVirtualNodeRequest & WithClientToken(const Aws::String &value)
UpdateVirtualNodeRequest & WithSpec(VirtualNodeSpec &&value)
UpdateVirtualNodeRequest & WithMeshName(Aws::String &&value)
UpdateVirtualNodeRequest & WithMeshOwner(const Aws::String &value)
UpdateVirtualNodeRequest & WithVirtualNodeName(const char *value)
AWS_APPMESH_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateVirtualNodeRequest & WithMeshOwner(const char *value)
UpdateVirtualNodeRequest & WithMeshName(const Aws::String &value)
UpdateVirtualNodeRequest & WithClientToken(const char *value)
UpdateVirtualNodeRequest & WithVirtualNodeName(const Aws::String &value)
UpdateVirtualNodeRequest & WithClientToken(Aws::String &&value)
UpdateVirtualNodeRequest & WithMeshName(const char *value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateVirtualNodeRequest & WithSpec(const VirtualNodeSpec &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String