AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateVirtualGatewayRequest.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/VirtualGatewaySpec.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
28 {
29 public:
30 AWS_APPMESH_API UpdateVirtualGatewayRequest();
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_APPMESH_API Aws::String SerializePayload() const override;
39
40 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
49 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
50 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
51 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
52 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
53 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
54 inline UpdateVirtualGatewayRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
55 inline UpdateVirtualGatewayRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
56 inline UpdateVirtualGatewayRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
58
60
63 inline const Aws::String& GetMeshName() const{ return m_meshName; }
64 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
65 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
66 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
67 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
68 inline UpdateVirtualGatewayRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
69 inline UpdateVirtualGatewayRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
70 inline UpdateVirtualGatewayRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
72
74
81 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
82 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
83 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
84 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
85 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
86 inline UpdateVirtualGatewayRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
87 inline UpdateVirtualGatewayRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
88 inline UpdateVirtualGatewayRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
90
92
96 inline const VirtualGatewaySpec& GetSpec() const{ return m_spec; }
97 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
98 inline void SetSpec(const VirtualGatewaySpec& value) { m_specHasBeenSet = true; m_spec = value; }
99 inline void SetSpec(VirtualGatewaySpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
100 inline UpdateVirtualGatewayRequest& WithSpec(const VirtualGatewaySpec& value) { SetSpec(value); return *this;}
101 inline UpdateVirtualGatewayRequest& WithSpec(VirtualGatewaySpec&& value) { SetSpec(std::move(value)); return *this;}
103
105
108 inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
109 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
110 inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
111 inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
112 inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
114 inline UpdateVirtualGatewayRequest& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
115 inline UpdateVirtualGatewayRequest& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
117 private:
118
119 Aws::String m_clientToken;
120 bool m_clientTokenHasBeenSet = false;
121
122 Aws::String m_meshName;
123 bool m_meshNameHasBeenSet = false;
124
125 Aws::String m_meshOwner;
126 bool m_meshOwnerHasBeenSet = false;
127
128 VirtualGatewaySpec m_spec;
129 bool m_specHasBeenSet = false;
130
131 Aws::String m_virtualGatewayName;
132 bool m_virtualGatewayNameHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace AppMesh
137} // namespace Aws
UpdateVirtualGatewayRequest & WithSpec(const VirtualGatewaySpec &value)
UpdateVirtualGatewayRequest & WithMeshOwner(const char *value)
UpdateVirtualGatewayRequest & WithClientToken(Aws::String &&value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateVirtualGatewayRequest & WithMeshName(const char *value)
UpdateVirtualGatewayRequest & WithVirtualGatewayName(const Aws::String &value)
UpdateVirtualGatewayRequest & WithClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateVirtualGatewayRequest & WithMeshName(Aws::String &&value)
UpdateVirtualGatewayRequest & WithClientToken(const char *value)
AWS_APPMESH_API Aws::String SerializePayload() const override
UpdateVirtualGatewayRequest & WithSpec(VirtualGatewaySpec &&value)
UpdateVirtualGatewayRequest & WithMeshOwner(Aws::String &&value)
UpdateVirtualGatewayRequest & WithMeshName(const Aws::String &value)
UpdateVirtualGatewayRequest & WithMeshOwner(const Aws::String &value)
UpdateVirtualGatewayRequest & WithVirtualGatewayName(Aws::String &&value)
UpdateVirtualGatewayRequest & WithVirtualGatewayName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String