AWS SDK for C++  1.9.20
AWS SDK for C++
UpdateVirtualGatewayRequest.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 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "UpdateVirtualGateway"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
42 
48  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
49 
55  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
56 
62  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
63 
69  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
70 
76  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
77 
83  inline UpdateVirtualGatewayRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
84 
90  inline UpdateVirtualGatewayRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
91 
97  inline UpdateVirtualGatewayRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
98 
99 
103  inline const Aws::String& GetMeshName() const{ return m_meshName; }
104 
108  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
109 
113  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
114 
118  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
119 
123  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
124 
128  inline UpdateVirtualGatewayRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
129 
133  inline UpdateVirtualGatewayRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
134 
138  inline UpdateVirtualGatewayRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
139 
140 
148  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
149 
157  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
158 
166  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
167 
175  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
176 
184  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
185 
193  inline UpdateVirtualGatewayRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
194 
202  inline UpdateVirtualGatewayRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
203 
211  inline UpdateVirtualGatewayRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
212 
213 
218  inline const VirtualGatewaySpec& GetSpec() const{ return m_spec; }
219 
224  inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
225 
230  inline void SetSpec(const VirtualGatewaySpec& value) { m_specHasBeenSet = true; m_spec = value; }
231 
236  inline void SetSpec(VirtualGatewaySpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
237 
242  inline UpdateVirtualGatewayRequest& WithSpec(const VirtualGatewaySpec& value) { SetSpec(value); return *this;}
243 
248  inline UpdateVirtualGatewayRequest& WithSpec(VirtualGatewaySpec&& value) { SetSpec(std::move(value)); return *this;}
249 
250 
254  inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
255 
259  inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
260 
264  inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
265 
269  inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
270 
274  inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
275 
279  inline UpdateVirtualGatewayRequest& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
280 
284  inline UpdateVirtualGatewayRequest& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
285 
289  inline UpdateVirtualGatewayRequest& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
290 
291  private:
292 
293  Aws::String m_clientToken;
294  bool m_clientTokenHasBeenSet;
295 
296  Aws::String m_meshName;
297  bool m_meshNameHasBeenSet;
298 
299  Aws::String m_meshOwner;
300  bool m_meshOwnerHasBeenSet;
301 
302  VirtualGatewaySpec m_spec;
303  bool m_specHasBeenSet;
304 
305  Aws::String m_virtualGatewayName;
306  bool m_virtualGatewayNameHasBeenSet;
307  };
308 
309 } // namespace Model
310 } // namespace AppMesh
311 } // namespace Aws
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::WithMeshName
UpdateVirtualGatewayRequest & WithMeshName(const Aws::String &value)
Definition: UpdateVirtualGatewayRequest.h:128
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: UpdateVirtualGatewayRequest.h:166
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: UpdateVirtualGatewayRequest.h:113
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: UpdateVirtualGatewayRequest.h:48
Aws::AppMesh::Model::UpdateVirtualGatewayRequest
Definition: UpdateVirtualGatewayRequest.h:28
Aws::Http::URI
Definition: URI.h:32
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::WithMeshName
UpdateVirtualGatewayRequest & WithMeshName(Aws::String &&value)
Definition: UpdateVirtualGatewayRequest.h:133
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: UpdateVirtualGatewayRequest.h:184
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::WithMeshOwner
UpdateVirtualGatewayRequest & WithMeshOwner(Aws::String &&value)
Definition: UpdateVirtualGatewayRequest.h:202
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SetVirtualGatewayName
void SetVirtualGatewayName(Aws::String &&value)
Definition: UpdateVirtualGatewayRequest.h:269
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::WithSpec
UpdateVirtualGatewayRequest & WithSpec(const VirtualGatewaySpec &value)
Definition: UpdateVirtualGatewayRequest.h:242
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::WithMeshName
UpdateVirtualGatewayRequest & WithMeshName(const char *value)
Definition: UpdateVirtualGatewayRequest.h:138
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::GetVirtualGatewayName
const Aws::String & GetVirtualGatewayName() const
Definition: UpdateVirtualGatewayRequest.h:254
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::WithSpec
UpdateVirtualGatewayRequest & WithSpec(VirtualGatewaySpec &&value)
Definition: UpdateVirtualGatewayRequest.h:248
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SetVirtualGatewayName
void SetVirtualGatewayName(const char *value)
Definition: UpdateVirtualGatewayRequest.h:274
AppMesh_EXPORTS.h
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SetSpec
void SetSpec(const VirtualGatewaySpec &value)
Definition: UpdateVirtualGatewayRequest.h:230
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::GetMeshName
const Aws::String & GetMeshName() const
Definition: UpdateVirtualGatewayRequest.h:103
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SetClientToken
void SetClientToken(const char *value)
Definition: UpdateVirtualGatewayRequest.h:76
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::WithClientToken
UpdateVirtualGatewayRequest & WithClientToken(const Aws::String &value)
Definition: UpdateVirtualGatewayRequest.h:83
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::WithMeshOwner
UpdateVirtualGatewayRequest & WithMeshOwner(const char *value)
Definition: UpdateVirtualGatewayRequest.h:211
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: UpdateVirtualGatewayRequest.h:148
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::WithClientToken
UpdateVirtualGatewayRequest & WithClientToken(Aws::String &&value)
Definition: UpdateVirtualGatewayRequest.h:90
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: UpdateVirtualGatewayRequest.h:175
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateVirtualGatewayRequest.h:36
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::WithClientToken
UpdateVirtualGatewayRequest & WithClientToken(const char *value)
Definition: UpdateVirtualGatewayRequest.h:97
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SetSpec
void SetSpec(VirtualGatewaySpec &&value)
Definition: UpdateVirtualGatewayRequest.h:236
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: UpdateVirtualGatewayRequest.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: UpdateVirtualGatewayRequest.h:157
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
VirtualGatewaySpec.h
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: UpdateVirtualGatewayRequest.h:55
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::VirtualGatewayNameHasBeenSet
bool VirtualGatewayNameHasBeenSet() const
Definition: UpdateVirtualGatewayRequest.h:259
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::UpdateVirtualGatewayRequest
UpdateVirtualGatewayRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::GetSpec
const VirtualGatewaySpec & GetSpec() const
Definition: UpdateVirtualGatewayRequest.h:218
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SpecHasBeenSet
bool SpecHasBeenSet() const
Definition: UpdateVirtualGatewayRequest.h:224
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::WithVirtualGatewayName
UpdateVirtualGatewayRequest & WithVirtualGatewayName(const char *value)
Definition: UpdateVirtualGatewayRequest.h:289
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: UpdateVirtualGatewayRequest.h:62
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: UpdateVirtualGatewayRequest.h:69
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::WithVirtualGatewayName
UpdateVirtualGatewayRequest & WithVirtualGatewayName(const Aws::String &value)
Definition: UpdateVirtualGatewayRequest.h:279
Aws::AppMesh::Model::VirtualGatewaySpec
Definition: VirtualGatewaySpec.h:36
UUID.h
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SetVirtualGatewayName
void SetVirtualGatewayName(const Aws::String &value)
Definition: UpdateVirtualGatewayRequest.h:264
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::WithMeshOwner
UpdateVirtualGatewayRequest & WithMeshOwner(const Aws::String &value)
Definition: UpdateVirtualGatewayRequest.h:193
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::WithVirtualGatewayName
UpdateVirtualGatewayRequest & WithVirtualGatewayName(Aws::String &&value)
Definition: UpdateVirtualGatewayRequest.h:284
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: UpdateVirtualGatewayRequest.h:118
AppMeshRequest.h
Aws::AppMesh::Model::UpdateVirtualGatewayRequest::SetMeshName
void SetMeshName(const char *value)
Definition: UpdateVirtualGatewayRequest.h:123