AWS SDK for C++  1.9.124
AWS SDK for C++
UpdateGatewayRouteRequest.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 "UpdateGatewayRoute"; }
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 UpdateGatewayRouteRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
84 
90  inline UpdateGatewayRouteRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
91 
97  inline UpdateGatewayRouteRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
98 
99 
103  inline const Aws::String& GetGatewayRouteName() const{ return m_gatewayRouteName; }
104 
108  inline bool GatewayRouteNameHasBeenSet() const { return m_gatewayRouteNameHasBeenSet; }
109 
113  inline void SetGatewayRouteName(const Aws::String& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = value; }
114 
118  inline void SetGatewayRouteName(Aws::String&& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = std::move(value); }
119 
123  inline void SetGatewayRouteName(const char* value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName.assign(value); }
124 
128  inline UpdateGatewayRouteRequest& WithGatewayRouteName(const Aws::String& value) { SetGatewayRouteName(value); return *this;}
129 
133  inline UpdateGatewayRouteRequest& WithGatewayRouteName(Aws::String&& value) { SetGatewayRouteName(std::move(value)); return *this;}
134 
138  inline UpdateGatewayRouteRequest& WithGatewayRouteName(const char* value) { SetGatewayRouteName(value); return *this;}
139 
140 
144  inline const Aws::String& GetMeshName() const{ return m_meshName; }
145 
149  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
150 
154  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
155 
159  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
160 
164  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
165 
169  inline UpdateGatewayRouteRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
170 
174  inline UpdateGatewayRouteRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
175 
179  inline UpdateGatewayRouteRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
180 
181 
189  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
190 
198  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
199 
207  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
208 
216  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
217 
225  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
226 
234  inline UpdateGatewayRouteRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
235 
243  inline UpdateGatewayRouteRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
244 
252  inline UpdateGatewayRouteRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
253 
254 
259  inline const GatewayRouteSpec& GetSpec() const{ return m_spec; }
260 
265  inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
266 
271  inline void SetSpec(const GatewayRouteSpec& value) { m_specHasBeenSet = true; m_spec = value; }
272 
277  inline void SetSpec(GatewayRouteSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
278 
283  inline UpdateGatewayRouteRequest& WithSpec(const GatewayRouteSpec& value) { SetSpec(value); return *this;}
284 
289  inline UpdateGatewayRouteRequest& WithSpec(GatewayRouteSpec&& value) { SetSpec(std::move(value)); return *this;}
290 
291 
296  inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
297 
302  inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
303 
308  inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
309 
314  inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
315 
320  inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
321 
326  inline UpdateGatewayRouteRequest& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
327 
332  inline UpdateGatewayRouteRequest& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
333 
338  inline UpdateGatewayRouteRequest& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
339 
340  private:
341 
342  Aws::String m_clientToken;
343  bool m_clientTokenHasBeenSet;
344 
345  Aws::String m_gatewayRouteName;
346  bool m_gatewayRouteNameHasBeenSet;
347 
348  Aws::String m_meshName;
349  bool m_meshNameHasBeenSet;
350 
351  Aws::String m_meshOwner;
352  bool m_meshOwnerHasBeenSet;
353 
354  GatewayRouteSpec m_spec;
355  bool m_specHasBeenSet;
356 
357  Aws::String m_virtualGatewayName;
358  bool m_virtualGatewayNameHasBeenSet;
359  };
360 
361 } // namespace Model
362 } // namespace AppMesh
363 } // namespace Aws
Aws::AppMesh::Model::UpdateGatewayRouteRequest::UpdateGatewayRouteRequest
UpdateGatewayRouteRequest()
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetMeshName
void SetMeshName(const char *value)
Definition: UpdateGatewayRouteRequest.h:164
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithVirtualGatewayName
UpdateGatewayRouteRequest & WithVirtualGatewayName(const Aws::String &value)
Definition: UpdateGatewayRouteRequest.h:326
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: UpdateGatewayRouteRequest.h:159
Aws::Http::URI
Definition: URI.h:32
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithGatewayRouteName
UpdateGatewayRouteRequest & WithGatewayRouteName(const Aws::String &value)
Definition: UpdateGatewayRouteRequest.h:128
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithMeshOwner
UpdateGatewayRouteRequest & WithMeshOwner(Aws::String &&value)
Definition: UpdateGatewayRouteRequest.h:243
GatewayRouteSpec.h
Aws::AppMesh::Model::UpdateGatewayRouteRequest::GetGatewayRouteName
const Aws::String & GetGatewayRouteName() const
Definition: UpdateGatewayRouteRequest.h:103
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithGatewayRouteName
UpdateGatewayRouteRequest & WithGatewayRouteName(Aws::String &&value)
Definition: UpdateGatewayRouteRequest.h:133
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithMeshOwner
UpdateGatewayRouteRequest & WithMeshOwner(const char *value)
Definition: UpdateGatewayRouteRequest.h:252
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithMeshOwner
UpdateGatewayRouteRequest & WithMeshOwner(const Aws::String &value)
Definition: UpdateGatewayRouteRequest.h:234
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithVirtualGatewayName
UpdateGatewayRouteRequest & WithVirtualGatewayName(Aws::String &&value)
Definition: UpdateGatewayRouteRequest.h:332
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: UpdateGatewayRouteRequest.h:216
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithVirtualGatewayName
UpdateGatewayRouteRequest & WithVirtualGatewayName(const char *value)
Definition: UpdateGatewayRouteRequest.h:338
AppMesh_EXPORTS.h
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetVirtualGatewayName
void SetVirtualGatewayName(const char *value)
Definition: UpdateGatewayRouteRequest.h:320
Aws::AppMesh::Model::UpdateGatewayRouteRequest::GetVirtualGatewayName
const Aws::String & GetVirtualGatewayName() const
Definition: UpdateGatewayRouteRequest.h:296
Aws::AppMesh::Model::UpdateGatewayRouteRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: UpdateGatewayRouteRequest.h:48
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetSpec
void SetSpec(const GatewayRouteSpec &value)
Definition: UpdateGatewayRouteRequest.h:271
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithClientToken
UpdateGatewayRouteRequest & WithClientToken(const char *value)
Definition: UpdateGatewayRouteRequest.h:97
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: UpdateGatewayRouteRequest.h:62
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetGatewayRouteName
void SetGatewayRouteName(const Aws::String &value)
Definition: UpdateGatewayRouteRequest.h:113
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: UpdateGatewayRouteRequest.h:207
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithMeshName
UpdateGatewayRouteRequest & WithMeshName(const char *value)
Definition: UpdateGatewayRouteRequest.h:179
Aws::AppMesh::Model::UpdateGatewayRouteRequest::GatewayRouteNameHasBeenSet
bool GatewayRouteNameHasBeenSet() const
Definition: UpdateGatewayRouteRequest.h:108
AWSString.h
Aws::AppMesh::Model::UpdateGatewayRouteRequest
Definition: UpdateGatewayRouteRequest.h:28
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetClientToken
void SetClientToken(const char *value)
Definition: UpdateGatewayRouteRequest.h:76
Aws::AppMesh::Model::UpdateGatewayRouteRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateGatewayRouteRequest.h:36
Aws::AppMesh::Model::UpdateGatewayRouteRequest::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: UpdateGatewayRouteRequest.h:149
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithMeshName
UpdateGatewayRouteRequest & WithMeshName(Aws::String &&value)
Definition: UpdateGatewayRouteRequest.h:174
Aws::AppMesh::Model::GatewayRouteSpec
Definition: GatewayRouteSpec.h:34
Aws::AppMesh::Model::UpdateGatewayRouteRequest::VirtualGatewayNameHasBeenSet
bool VirtualGatewayNameHasBeenSet() const
Definition: UpdateGatewayRouteRequest.h:302
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: UpdateGatewayRouteRequest.h:69
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: UpdateGatewayRouteRequest.h:225
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithClientToken
UpdateGatewayRouteRequest & WithClientToken(const Aws::String &value)
Definition: UpdateGatewayRouteRequest.h:83
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SpecHasBeenSet
bool SpecHasBeenSet() const
Definition: UpdateGatewayRouteRequest.h:265
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetGatewayRouteName
void SetGatewayRouteName(Aws::String &&value)
Definition: UpdateGatewayRouteRequest.h:118
Aws::AppMesh::Model::UpdateGatewayRouteRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithClientToken
UpdateGatewayRouteRequest & WithClientToken(Aws::String &&value)
Definition: UpdateGatewayRouteRequest.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithMeshName
UpdateGatewayRouteRequest & WithMeshName(const Aws::String &value)
Definition: UpdateGatewayRouteRequest.h:169
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetVirtualGatewayName
void SetVirtualGatewayName(Aws::String &&value)
Definition: UpdateGatewayRouteRequest.h:314
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithSpec
UpdateGatewayRouteRequest & WithSpec(const GatewayRouteSpec &value)
Definition: UpdateGatewayRouteRequest.h:283
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: UpdateGatewayRouteRequest.h:154
Aws::AppMesh::Model::UpdateGatewayRouteRequest::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: UpdateGatewayRouteRequest.h:198
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithGatewayRouteName
UpdateGatewayRouteRequest & WithGatewayRouteName(const char *value)
Definition: UpdateGatewayRouteRequest.h:138
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetVirtualGatewayName
void SetVirtualGatewayName(const Aws::String &value)
Definition: UpdateGatewayRouteRequest.h:308
Aws::AppMesh::Model::UpdateGatewayRouteRequest::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: UpdateGatewayRouteRequest.h:189
Aws::AppMesh::Model::UpdateGatewayRouteRequest::WithSpec
UpdateGatewayRouteRequest & WithSpec(GatewayRouteSpec &&value)
Definition: UpdateGatewayRouteRequest.h:289
UUID.h
Aws::AppMesh::Model::UpdateGatewayRouteRequest::GetSpec
const GatewayRouteSpec & GetSpec() const
Definition: UpdateGatewayRouteRequest.h:259
Aws::AppMesh::Model::UpdateGatewayRouteRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: UpdateGatewayRouteRequest.h:55
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetSpec
void SetSpec(GatewayRouteSpec &&value)
Definition: UpdateGatewayRouteRequest.h:277
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::UpdateGatewayRouteRequest::SetGatewayRouteName
void SetGatewayRouteName(const char *value)
Definition: UpdateGatewayRouteRequest.h:123
Aws::AppMesh::Model::UpdateGatewayRouteRequest::GetMeshName
const Aws::String & GetMeshName() const
Definition: UpdateGatewayRouteRequest.h:144
AppMeshRequest.h