AWS SDK for C++  1.9.14
AWS SDK for C++
UpdateVirtualRouterRequest.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 "UpdateVirtualRouter"; }
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 UpdateVirtualRouterRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
87 
93  inline UpdateVirtualRouterRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
94 
100  inline UpdateVirtualRouterRequest& 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 UpdateVirtualRouterRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
132 
136  inline UpdateVirtualRouterRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
137 
141  inline UpdateVirtualRouterRequest& 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 UpdateVirtualRouterRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
197 
205  inline UpdateVirtualRouterRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
206 
214  inline UpdateVirtualRouterRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
215 
216 
221  inline const VirtualRouterSpec& GetSpec() const{ return m_spec; }
222 
227  inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
228 
233  inline void SetSpec(const VirtualRouterSpec& value) { m_specHasBeenSet = true; m_spec = value; }
234 
239  inline void SetSpec(VirtualRouterSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
240 
245  inline UpdateVirtualRouterRequest& WithSpec(const VirtualRouterSpec& value) { SetSpec(value); return *this;}
246 
251  inline UpdateVirtualRouterRequest& WithSpec(VirtualRouterSpec&& value) { SetSpec(std::move(value)); return *this;}
252 
253 
257  inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
258 
262  inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
263 
267  inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
268 
272  inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
273 
277  inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
278 
282  inline UpdateVirtualRouterRequest& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
283 
287  inline UpdateVirtualRouterRequest& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
288 
292  inline UpdateVirtualRouterRequest& WithVirtualRouterName(const char* value) { SetVirtualRouterName(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  VirtualRouterSpec m_spec;
306  bool m_specHasBeenSet;
307 
308  Aws::String m_virtualRouterName;
309  bool m_virtualRouterNameHasBeenSet;
310  };
311 
312 } // namespace Model
313 } // namespace AppMesh
314 } // namespace Aws
Aws::AppMesh::Model::UpdateVirtualRouterRequest::WithClientToken
UpdateVirtualRouterRequest & WithClientToken(Aws::String &&value)
Definition: UpdateVirtualRouterRequest.h:93
Aws::Http::URI
Definition: URI.h:32
Aws::AppMesh::Model::UpdateVirtualRouterRequest::WithClientToken
UpdateVirtualRouterRequest & WithClientToken(const char *value)
Definition: UpdateVirtualRouterRequest.h:100
Aws::AppMesh::Model::UpdateVirtualRouterRequest
Definition: UpdateVirtualRouterRequest.h:31
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: UpdateVirtualRouterRequest.h:121
Aws::AppMesh::Model::UpdateVirtualRouterRequest::WithVirtualRouterName
UpdateVirtualRouterRequest & WithVirtualRouterName(const Aws::String &value)
Definition: UpdateVirtualRouterRequest.h:282
Aws::AppMesh::Model::UpdateVirtualRouterRequest::WithVirtualRouterName
UpdateVirtualRouterRequest & WithVirtualRouterName(Aws::String &&value)
Definition: UpdateVirtualRouterRequest.h:287
Aws::AppMesh::Model::UpdateVirtualRouterRequest::UpdateVirtualRouterRequest
UpdateVirtualRouterRequest()
Aws::AppMesh::Model::UpdateVirtualRouterRequest::WithMeshOwner
UpdateVirtualRouterRequest & WithMeshOwner(const char *value)
Definition: UpdateVirtualRouterRequest.h:214
Aws::AppMesh::Model::UpdateVirtualRouterRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: UpdateVirtualRouterRequest.h:58
Aws::AppMesh::Model::UpdateVirtualRouterRequest::WithSpec
UpdateVirtualRouterRequest & WithSpec(VirtualRouterSpec &&value)
Definition: UpdateVirtualRouterRequest.h:251
Aws::AppMesh::Model::UpdateVirtualRouterRequest::WithVirtualRouterName
UpdateVirtualRouterRequest & WithVirtualRouterName(const char *value)
Definition: UpdateVirtualRouterRequest.h:292
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SetClientToken
void SetClientToken(const char *value)
Definition: UpdateVirtualRouterRequest.h:79
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SpecHasBeenSet
bool SpecHasBeenSet() const
Definition: UpdateVirtualRouterRequest.h:227
VirtualRouterSpec.h
Aws::AppMesh::Model::UpdateVirtualRouterRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: UpdateVirtualRouterRequest.h:51
Aws::AppMesh::Model::UpdateVirtualRouterRequest::WithMeshName
UpdateVirtualRouterRequest & WithMeshName(Aws::String &&value)
Definition: UpdateVirtualRouterRequest.h:136
AppMesh_EXPORTS.h
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: UpdateVirtualRouterRequest.h:116
Aws::AppMesh::Model::UpdateVirtualRouterRequest::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: UpdateVirtualRouterRequest.h:111
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SetMeshName
void SetMeshName(const char *value)
Definition: UpdateVirtualRouterRequest.h:126
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: UpdateVirtualRouterRequest.h:178
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SetVirtualRouterName
void SetVirtualRouterName(const Aws::String &value)
Definition: UpdateVirtualRouterRequest.h:267
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: UpdateVirtualRouterRequest.h:169
Aws::AppMesh::Model::UpdateVirtualRouterRequest::GetVirtualRouterName
const Aws::String & GetVirtualRouterName() const
Definition: UpdateVirtualRouterRequest.h:257
Aws::AppMesh::Model::VirtualRouterSpec
Definition: VirtualRouterSpec.h:34
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::UpdateVirtualRouterRequest::GetMeshName
const Aws::String & GetMeshName() const
Definition: UpdateVirtualRouterRequest.h:106
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SetVirtualRouterName
void SetVirtualRouterName(const char *value)
Definition: UpdateVirtualRouterRequest.h:277
Aws::AppMesh::Model::UpdateVirtualRouterRequest::WithSpec
UpdateVirtualRouterRequest & WithSpec(const VirtualRouterSpec &value)
Definition: UpdateVirtualRouterRequest.h:245
Aws::AppMesh::Model::UpdateVirtualRouterRequest::WithMeshOwner
UpdateVirtualRouterRequest & WithMeshOwner(Aws::String &&value)
Definition: UpdateVirtualRouterRequest.h:205
Aws::AppMesh::Model::UpdateVirtualRouterRequest::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: UpdateVirtualRouterRequest.h:151
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SetVirtualRouterName
void SetVirtualRouterName(Aws::String &&value)
Definition: UpdateVirtualRouterRequest.h:272
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: UpdateVirtualRouterRequest.h:187
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: UpdateVirtualRouterRequest.h:72
Aws::AppMesh::Model::UpdateVirtualRouterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateVirtualRouterRequest.h:39
AWSString.h
Aws::AppMesh::Model::UpdateVirtualRouterRequest::WithMeshName
UpdateVirtualRouterRequest & WithMeshName(const char *value)
Definition: UpdateVirtualRouterRequest.h:141
Aws::AppMesh::Model::UpdateVirtualRouterRequest::VirtualRouterNameHasBeenSet
bool VirtualRouterNameHasBeenSet() const
Definition: UpdateVirtualRouterRequest.h:262
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SetSpec
void SetSpec(VirtualRouterSpec &&value)
Definition: UpdateVirtualRouterRequest.h:239
Aws::AppMesh::Model::UpdateVirtualRouterRequest::WithClientToken
UpdateVirtualRouterRequest & WithClientToken(const Aws::String &value)
Definition: UpdateVirtualRouterRequest.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::UpdateVirtualRouterRequest::GetSpec
const VirtualRouterSpec & GetSpec() const
Definition: UpdateVirtualRouterRequest.h:221
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: UpdateVirtualRouterRequest.h:65
Aws::AppMesh::Model::UpdateVirtualRouterRequest::WithMeshName
UpdateVirtualRouterRequest & WithMeshName(const Aws::String &value)
Definition: UpdateVirtualRouterRequest.h:131
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SerializePayload
Aws::String SerializePayload() const override
UUID.h
Aws::AppMesh::Model::UpdateVirtualRouterRequest::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: UpdateVirtualRouterRequest.h:160
Aws::AppMesh::Model::UpdateVirtualRouterRequest::SetSpec
void SetSpec(const VirtualRouterSpec &value)
Definition: UpdateVirtualRouterRequest.h:233
Aws::AppMesh::Model::UpdateVirtualRouterRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::UpdateVirtualRouterRequest::WithMeshOwner
UpdateVirtualRouterRequest & WithMeshOwner(const Aws::String &value)
Definition: UpdateVirtualRouterRequest.h:196
AppMeshRequest.h