AWS SDK for C++  1.8.71
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 
49  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
50 
57  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
58 
65  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
66 
73  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
74 
81  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
82 
89  inline UpdateVirtualGatewayRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
90 
97  inline UpdateVirtualGatewayRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
98 
105  inline UpdateVirtualGatewayRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
106 
107 
111  inline const Aws::String& GetMeshName() const{ return m_meshName; }
112 
116  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
117 
121  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
122 
126  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
127 
131  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
132 
136  inline UpdateVirtualGatewayRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
137 
141  inline UpdateVirtualGatewayRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
142 
146  inline UpdateVirtualGatewayRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
147 
148 
157  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
158 
167  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
168 
177  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
178 
187  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
188 
197  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
198 
207  inline UpdateVirtualGatewayRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
208 
217  inline UpdateVirtualGatewayRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
218 
227  inline UpdateVirtualGatewayRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
228 
229 
235  inline const VirtualGatewaySpec& GetSpec() const{ return m_spec; }
236 
242  inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
243 
249  inline void SetSpec(const VirtualGatewaySpec& value) { m_specHasBeenSet = true; m_spec = value; }
250 
256  inline void SetSpec(VirtualGatewaySpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
257 
263  inline UpdateVirtualGatewayRequest& WithSpec(const VirtualGatewaySpec& value) { SetSpec(value); return *this;}
264 
270  inline UpdateVirtualGatewayRequest& WithSpec(VirtualGatewaySpec&& value) { SetSpec(std::move(value)); return *this;}
271 
272 
276  inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
277 
281  inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
282 
286  inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
287 
291  inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
292 
296  inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
297 
301  inline UpdateVirtualGatewayRequest& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
302 
306  inline UpdateVirtualGatewayRequest& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
307 
311  inline UpdateVirtualGatewayRequest& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
312 
313  private:
314 
315  Aws::String m_clientToken;
316  bool m_clientTokenHasBeenSet;
317 
318  Aws::String m_meshName;
319  bool m_meshNameHasBeenSet;
320 
321  Aws::String m_meshOwner;
322  bool m_meshOwnerHasBeenSet;
323 
324  VirtualGatewaySpec m_spec;
325  bool m_specHasBeenSet;
326 
327  Aws::String m_virtualGatewayName;
328  bool m_virtualGatewayNameHasBeenSet;
329  };
330 
331 } // namespace Model
332 } // namespace AppMesh
333 } // namespace Aws
UpdateVirtualGatewayRequest & WithSpec(VirtualGatewaySpec &&value)
UpdateVirtualGatewayRequest & WithMeshName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateVirtualGatewayRequest & WithMeshName(const Aws::String &value)
UpdateVirtualGatewayRequest & WithVirtualGatewayName(const char *value)
UpdateVirtualGatewayRequest & WithVirtualGatewayName(const Aws::String &value)
UpdateVirtualGatewayRequest & WithMeshName(const char *value)
UpdateVirtualGatewayRequest & WithClientToken(const char *value)
UpdateVirtualGatewayRequest & WithMeshOwner(const Aws::String &value)
UpdateVirtualGatewayRequest & WithVirtualGatewayName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateVirtualGatewayRequest & WithClientToken(const Aws::String &value)
UpdateVirtualGatewayRequest & WithMeshOwner(Aws::String &&value)
UpdateVirtualGatewayRequest & WithMeshOwner(const char *value)
UpdateVirtualGatewayRequest & WithClientToken(Aws::String &&value)
#define AWS_APPMESH_API
UpdateVirtualGatewayRequest & WithSpec(const VirtualGatewaySpec &value)