AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyClientVpnEndpointRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ConnectionLogOptions.h>
11#include <aws/ec2/model/DnsServersOptionsModifyStructure.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/SelfServicePortal.h>
14#include <aws/ec2/model/ClientConnectOptions.h>
15#include <aws/ec2/model/ClientLoginBannerOptions.h>
16#include <utility>
17
18namespace Aws
19{
20namespace EC2
21{
22namespace 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 "ModifyClientVpnEndpoint"; }
37
38 AWS_EC2_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
49 inline const Aws::String& GetClientVpnEndpointId() const{ return m_clientVpnEndpointId; }
50 inline bool ClientVpnEndpointIdHasBeenSet() const { return m_clientVpnEndpointIdHasBeenSet; }
51 inline void SetClientVpnEndpointId(const Aws::String& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = value; }
52 inline void SetClientVpnEndpointId(Aws::String&& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = std::move(value); }
53 inline void SetClientVpnEndpointId(const char* value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId.assign(value); }
56 inline ModifyClientVpnEndpointRequest& WithClientVpnEndpointId(const char* value) { SetClientVpnEndpointId(value); return *this;}
58
60
64 inline const Aws::String& GetServerCertificateArn() const{ return m_serverCertificateArn; }
65 inline bool ServerCertificateArnHasBeenSet() const { return m_serverCertificateArnHasBeenSet; }
66 inline void SetServerCertificateArn(const Aws::String& value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn = value; }
67 inline void SetServerCertificateArn(Aws::String&& value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn = std::move(value); }
68 inline void SetServerCertificateArn(const char* value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn.assign(value); }
71 inline ModifyClientVpnEndpointRequest& WithServerCertificateArn(const char* value) { SetServerCertificateArn(value); return *this;}
73
75
83 inline const ConnectionLogOptions& GetConnectionLogOptions() const{ return m_connectionLogOptions; }
84 inline bool ConnectionLogOptionsHasBeenSet() const { return m_connectionLogOptionsHasBeenSet; }
85 inline void SetConnectionLogOptions(const ConnectionLogOptions& value) { m_connectionLogOptionsHasBeenSet = true; m_connectionLogOptions = value; }
86 inline void SetConnectionLogOptions(ConnectionLogOptions&& value) { m_connectionLogOptionsHasBeenSet = true; m_connectionLogOptions = std::move(value); }
90
92
96 inline const DnsServersOptionsModifyStructure& GetDnsServers() const{ return m_dnsServers; }
97 inline bool DnsServersHasBeenSet() const { return m_dnsServersHasBeenSet; }
98 inline void SetDnsServers(const DnsServersOptionsModifyStructure& value) { m_dnsServersHasBeenSet = true; m_dnsServers = value; }
99 inline void SetDnsServers(DnsServersOptionsModifyStructure&& value) { m_dnsServersHasBeenSet = true; m_dnsServers = std::move(value); }
103
105
110 inline int GetVpnPort() const{ return m_vpnPort; }
111 inline bool VpnPortHasBeenSet() const { return m_vpnPortHasBeenSet; }
112 inline void SetVpnPort(int value) { m_vpnPortHasBeenSet = true; m_vpnPort = value; }
113 inline ModifyClientVpnEndpointRequest& WithVpnPort(int value) { SetVpnPort(value); return *this;}
115
117
120 inline const Aws::String& GetDescription() const{ return m_description; }
121 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
122 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
123 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
124 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
125 inline ModifyClientVpnEndpointRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
126 inline ModifyClientVpnEndpointRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
127 inline ModifyClientVpnEndpointRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
129
131
137 inline bool GetSplitTunnel() const{ return m_splitTunnel; }
138 inline bool SplitTunnelHasBeenSet() const { return m_splitTunnelHasBeenSet; }
139 inline void SetSplitTunnel(bool value) { m_splitTunnelHasBeenSet = true; m_splitTunnel = value; }
140 inline ModifyClientVpnEndpointRequest& WithSplitTunnel(bool value) { SetSplitTunnel(value); return *this;}
142
144
150 inline bool GetDryRun() const{ return m_dryRun; }
151 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
152 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
153 inline ModifyClientVpnEndpointRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
155
157
160 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
161 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
162 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
163 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
166 inline ModifyClientVpnEndpointRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
167 inline ModifyClientVpnEndpointRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
168 inline ModifyClientVpnEndpointRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
170
172
175 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
176 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
177 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
178 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
179 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
180 inline ModifyClientVpnEndpointRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
181 inline ModifyClientVpnEndpointRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
182 inline ModifyClientVpnEndpointRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;}
184
186
190 inline const SelfServicePortal& GetSelfServicePortal() const{ return m_selfServicePortal; }
191 inline bool SelfServicePortalHasBeenSet() const { return m_selfServicePortalHasBeenSet; }
192 inline void SetSelfServicePortal(const SelfServicePortal& value) { m_selfServicePortalHasBeenSet = true; m_selfServicePortal = value; }
193 inline void SetSelfServicePortal(SelfServicePortal&& value) { m_selfServicePortalHasBeenSet = true; m_selfServicePortal = std::move(value); }
197
199
203 inline const ClientConnectOptions& GetClientConnectOptions() const{ return m_clientConnectOptions; }
204 inline bool ClientConnectOptionsHasBeenSet() const { return m_clientConnectOptionsHasBeenSet; }
205 inline void SetClientConnectOptions(const ClientConnectOptions& value) { m_clientConnectOptionsHasBeenSet = true; m_clientConnectOptions = value; }
206 inline void SetClientConnectOptions(ClientConnectOptions&& value) { m_clientConnectOptionsHasBeenSet = true; m_clientConnectOptions = std::move(value); }
210
212
216 inline int GetSessionTimeoutHours() const{ return m_sessionTimeoutHours; }
217 inline bool SessionTimeoutHoursHasBeenSet() const { return m_sessionTimeoutHoursHasBeenSet; }
218 inline void SetSessionTimeoutHours(int value) { m_sessionTimeoutHoursHasBeenSet = true; m_sessionTimeoutHours = value; }
221
223
227 inline const ClientLoginBannerOptions& GetClientLoginBannerOptions() const{ return m_clientLoginBannerOptions; }
228 inline bool ClientLoginBannerOptionsHasBeenSet() const { return m_clientLoginBannerOptionsHasBeenSet; }
229 inline void SetClientLoginBannerOptions(const ClientLoginBannerOptions& value) { m_clientLoginBannerOptionsHasBeenSet = true; m_clientLoginBannerOptions = value; }
230 inline void SetClientLoginBannerOptions(ClientLoginBannerOptions&& value) { m_clientLoginBannerOptionsHasBeenSet = true; m_clientLoginBannerOptions = std::move(value); }
234 private:
235
236 Aws::String m_clientVpnEndpointId;
237 bool m_clientVpnEndpointIdHasBeenSet = false;
238
239 Aws::String m_serverCertificateArn;
240 bool m_serverCertificateArnHasBeenSet = false;
241
242 ConnectionLogOptions m_connectionLogOptions;
243 bool m_connectionLogOptionsHasBeenSet = false;
244
246 bool m_dnsServersHasBeenSet = false;
247
248 int m_vpnPort;
249 bool m_vpnPortHasBeenSet = false;
250
251 Aws::String m_description;
252 bool m_descriptionHasBeenSet = false;
253
254 bool m_splitTunnel;
255 bool m_splitTunnelHasBeenSet = false;
256
257 bool m_dryRun;
258 bool m_dryRunHasBeenSet = false;
259
260 Aws::Vector<Aws::String> m_securityGroupIds;
261 bool m_securityGroupIdsHasBeenSet = false;
262
263 Aws::String m_vpcId;
264 bool m_vpcIdHasBeenSet = false;
265
266 SelfServicePortal m_selfServicePortal;
267 bool m_selfServicePortalHasBeenSet = false;
268
269 ClientConnectOptions m_clientConnectOptions;
270 bool m_clientConnectOptionsHasBeenSet = false;
271
272 int m_sessionTimeoutHours;
273 bool m_sessionTimeoutHoursHasBeenSet = false;
274
275 ClientLoginBannerOptions m_clientLoginBannerOptions;
276 bool m_clientLoginBannerOptionsHasBeenSet = false;
277 };
278
279} // namespace Model
280} // namespace EC2
281} // namespace Aws
ModifyClientVpnEndpointRequest & AddSecurityGroupIds(const Aws::String &value)
ModifyClientVpnEndpointRequest & WithSelfServicePortal(SelfServicePortal &&value)
ModifyClientVpnEndpointRequest & WithDescription(const char *value)
ModifyClientVpnEndpointRequest & WithDnsServers(const DnsServersOptionsModifyStructure &value)
ModifyClientVpnEndpointRequest & WithClientConnectOptions(const ClientConnectOptions &value)
const DnsServersOptionsModifyStructure & GetDnsServers() const
const ClientLoginBannerOptions & GetClientLoginBannerOptions() const
void SetClientLoginBannerOptions(ClientLoginBannerOptions &&value)
ModifyClientVpnEndpointRequest & AddSecurityGroupIds(const char *value)
void SetClientLoginBannerOptions(const ClientLoginBannerOptions &value)
ModifyClientVpnEndpointRequest & WithConnectionLogOptions(ConnectionLogOptions &&value)
ModifyClientVpnEndpointRequest & WithClientVpnEndpointId(const Aws::String &value)
ModifyClientVpnEndpointRequest & WithConnectionLogOptions(const ConnectionLogOptions &value)
ModifyClientVpnEndpointRequest & WithClientLoginBannerOptions(ClientLoginBannerOptions &&value)
ModifyClientVpnEndpointRequest & WithDnsServers(DnsServersOptionsModifyStructure &&value)
void SetConnectionLogOptions(const ConnectionLogOptions &value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
AWS_EC2_API Aws::String SerializePayload() const override
ModifyClientVpnEndpointRequest & WithServerCertificateArn(const Aws::String &value)
ModifyClientVpnEndpointRequest & WithSelfServicePortal(const SelfServicePortal &value)
ModifyClientVpnEndpointRequest & WithVpcId(const Aws::String &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ModifyClientVpnEndpointRequest & WithServerCertificateArn(Aws::String &&value)
ModifyClientVpnEndpointRequest & WithDescription(const Aws::String &value)
void SetDnsServers(DnsServersOptionsModifyStructure &&value)
ModifyClientVpnEndpointRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ModifyClientVpnEndpointRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ModifyClientVpnEndpointRequest & WithSplitTunnel(bool value)
virtual const char * GetServiceRequestName() const override
ModifyClientVpnEndpointRequest & WithClientVpnEndpointId(const char *value)
ModifyClientVpnEndpointRequest & WithClientVpnEndpointId(Aws::String &&value)
ModifyClientVpnEndpointRequest & WithVpcId(Aws::String &&value)
ModifyClientVpnEndpointRequest & WithDryRun(bool value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ModifyClientVpnEndpointRequest & WithServerCertificateArn(const char *value)
ModifyClientVpnEndpointRequest & AddSecurityGroupIds(Aws::String &&value)
ModifyClientVpnEndpointRequest & WithVpnPort(int value)
ModifyClientVpnEndpointRequest & WithDescription(Aws::String &&value)
void SetClientConnectOptions(const ClientConnectOptions &value)
ModifyClientVpnEndpointRequest & WithClientLoginBannerOptions(const ClientLoginBannerOptions &value)
ModifyClientVpnEndpointRequest & WithSessionTimeoutHours(int value)
ModifyClientVpnEndpointRequest & WithClientConnectOptions(ClientConnectOptions &&value)
void SetDnsServers(const DnsServersOptionsModifyStructure &value)
ModifyClientVpnEndpointRequest & WithVpcId(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector