AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClientVpnEndpoint.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ClientVpnEndpointStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/VpnProtocol.h>
13#include <aws/ec2/model/TransportProtocol.h>
14#include <aws/ec2/model/ConnectionLogResponseOptions.h>
15#include <aws/ec2/model/ClientConnectResponseOptions.h>
16#include <aws/ec2/model/ClientLoginBannerResponseOptions.h>
17#include <aws/ec2/model/ClientVpnAuthentication.h>
18#include <aws/ec2/model/Tag.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Xml
26{
27 class XmlNode;
28} // namespace Xml
29} // namespace Utils
30namespace EC2
31{
32namespace Model
33{
34
41 {
42 public:
43 AWS_EC2_API ClientVpnEndpoint();
44 AWS_EC2_API ClientVpnEndpoint(const Aws::Utils::Xml::XmlNode& xmlNode);
46
47 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
48 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
49
50
52
55 inline const Aws::String& GetClientVpnEndpointId() const{ return m_clientVpnEndpointId; }
56 inline bool ClientVpnEndpointIdHasBeenSet() const { return m_clientVpnEndpointIdHasBeenSet; }
57 inline void SetClientVpnEndpointId(const Aws::String& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = value; }
58 inline void SetClientVpnEndpointId(Aws::String&& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = std::move(value); }
59 inline void SetClientVpnEndpointId(const char* value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId.assign(value); }
60 inline ClientVpnEndpoint& WithClientVpnEndpointId(const Aws::String& value) { SetClientVpnEndpointId(value); return *this;}
61 inline ClientVpnEndpoint& WithClientVpnEndpointId(Aws::String&& value) { SetClientVpnEndpointId(std::move(value)); return *this;}
62 inline ClientVpnEndpoint& WithClientVpnEndpointId(const char* value) { SetClientVpnEndpointId(value); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
74 inline ClientVpnEndpoint& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline ClientVpnEndpoint& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline ClientVpnEndpoint& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
83 inline const ClientVpnEndpointStatus& GetStatus() const{ return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 inline void SetStatus(const ClientVpnEndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; }
86 inline void SetStatus(ClientVpnEndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
87 inline ClientVpnEndpoint& WithStatus(const ClientVpnEndpointStatus& value) { SetStatus(value); return *this;}
88 inline ClientVpnEndpoint& WithStatus(ClientVpnEndpointStatus&& value) { SetStatus(std::move(value)); return *this;}
90
92
95 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
96 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
97 inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
98 inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
99 inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); }
100 inline ClientVpnEndpoint& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
101 inline ClientVpnEndpoint& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
102 inline ClientVpnEndpoint& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
104
106
109 inline const Aws::String& GetDeletionTime() const{ return m_deletionTime; }
110 inline bool DeletionTimeHasBeenSet() const { return m_deletionTimeHasBeenSet; }
111 inline void SetDeletionTime(const Aws::String& value) { m_deletionTimeHasBeenSet = true; m_deletionTime = value; }
112 inline void SetDeletionTime(Aws::String&& value) { m_deletionTimeHasBeenSet = true; m_deletionTime = std::move(value); }
113 inline void SetDeletionTime(const char* value) { m_deletionTimeHasBeenSet = true; m_deletionTime.assign(value); }
114 inline ClientVpnEndpoint& WithDeletionTime(const Aws::String& value) { SetDeletionTime(value); return *this;}
115 inline ClientVpnEndpoint& WithDeletionTime(Aws::String&& value) { SetDeletionTime(std::move(value)); return *this;}
116 inline ClientVpnEndpoint& WithDeletionTime(const char* value) { SetDeletionTime(value); return *this;}
118
120
124 inline const Aws::String& GetDnsName() const{ return m_dnsName; }
125 inline bool DnsNameHasBeenSet() const { return m_dnsNameHasBeenSet; }
126 inline void SetDnsName(const Aws::String& value) { m_dnsNameHasBeenSet = true; m_dnsName = value; }
127 inline void SetDnsName(Aws::String&& value) { m_dnsNameHasBeenSet = true; m_dnsName = std::move(value); }
128 inline void SetDnsName(const char* value) { m_dnsNameHasBeenSet = true; m_dnsName.assign(value); }
129 inline ClientVpnEndpoint& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;}
130 inline ClientVpnEndpoint& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;}
131 inline ClientVpnEndpoint& WithDnsName(const char* value) { SetDnsName(value); return *this;}
133
135
139 inline const Aws::String& GetClientCidrBlock() const{ return m_clientCidrBlock; }
140 inline bool ClientCidrBlockHasBeenSet() const { return m_clientCidrBlockHasBeenSet; }
141 inline void SetClientCidrBlock(const Aws::String& value) { m_clientCidrBlockHasBeenSet = true; m_clientCidrBlock = value; }
142 inline void SetClientCidrBlock(Aws::String&& value) { m_clientCidrBlockHasBeenSet = true; m_clientCidrBlock = std::move(value); }
143 inline void SetClientCidrBlock(const char* value) { m_clientCidrBlockHasBeenSet = true; m_clientCidrBlock.assign(value); }
144 inline ClientVpnEndpoint& WithClientCidrBlock(const Aws::String& value) { SetClientCidrBlock(value); return *this;}
145 inline ClientVpnEndpoint& WithClientCidrBlock(Aws::String&& value) { SetClientCidrBlock(std::move(value)); return *this;}
146 inline ClientVpnEndpoint& WithClientCidrBlock(const char* value) { SetClientCidrBlock(value); return *this;}
148
150
153 inline const Aws::Vector<Aws::String>& GetDnsServers() const{ return m_dnsServers; }
154 inline bool DnsServersHasBeenSet() const { return m_dnsServersHasBeenSet; }
155 inline void SetDnsServers(const Aws::Vector<Aws::String>& value) { m_dnsServersHasBeenSet = true; m_dnsServers = value; }
156 inline void SetDnsServers(Aws::Vector<Aws::String>&& value) { m_dnsServersHasBeenSet = true; m_dnsServers = std::move(value); }
157 inline ClientVpnEndpoint& WithDnsServers(const Aws::Vector<Aws::String>& value) { SetDnsServers(value); return *this;}
158 inline ClientVpnEndpoint& WithDnsServers(Aws::Vector<Aws::String>&& value) { SetDnsServers(std::move(value)); return *this;}
159 inline ClientVpnEndpoint& AddDnsServers(const Aws::String& value) { m_dnsServersHasBeenSet = true; m_dnsServers.push_back(value); return *this; }
160 inline ClientVpnEndpoint& AddDnsServers(Aws::String&& value) { m_dnsServersHasBeenSet = true; m_dnsServers.push_back(std::move(value)); return *this; }
161 inline ClientVpnEndpoint& AddDnsServers(const char* value) { m_dnsServersHasBeenSet = true; m_dnsServers.push_back(value); return *this; }
163
165
171 inline bool GetSplitTunnel() const{ return m_splitTunnel; }
172 inline bool SplitTunnelHasBeenSet() const { return m_splitTunnelHasBeenSet; }
173 inline void SetSplitTunnel(bool value) { m_splitTunnelHasBeenSet = true; m_splitTunnel = value; }
174 inline ClientVpnEndpoint& WithSplitTunnel(bool value) { SetSplitTunnel(value); return *this;}
176
178
181 inline const VpnProtocol& GetVpnProtocol() const{ return m_vpnProtocol; }
182 inline bool VpnProtocolHasBeenSet() const { return m_vpnProtocolHasBeenSet; }
183 inline void SetVpnProtocol(const VpnProtocol& value) { m_vpnProtocolHasBeenSet = true; m_vpnProtocol = value; }
184 inline void SetVpnProtocol(VpnProtocol&& value) { m_vpnProtocolHasBeenSet = true; m_vpnProtocol = std::move(value); }
185 inline ClientVpnEndpoint& WithVpnProtocol(const VpnProtocol& value) { SetVpnProtocol(value); return *this;}
186 inline ClientVpnEndpoint& WithVpnProtocol(VpnProtocol&& value) { SetVpnProtocol(std::move(value)); return *this;}
188
190
193 inline const TransportProtocol& GetTransportProtocol() const{ return m_transportProtocol; }
194 inline bool TransportProtocolHasBeenSet() const { return m_transportProtocolHasBeenSet; }
195 inline void SetTransportProtocol(const TransportProtocol& value) { m_transportProtocolHasBeenSet = true; m_transportProtocol = value; }
196 inline void SetTransportProtocol(TransportProtocol&& value) { m_transportProtocolHasBeenSet = true; m_transportProtocol = std::move(value); }
198 inline ClientVpnEndpoint& WithTransportProtocol(TransportProtocol&& value) { SetTransportProtocol(std::move(value)); return *this;}
200
202
205 inline int GetVpnPort() const{ return m_vpnPort; }
206 inline bool VpnPortHasBeenSet() const { return m_vpnPortHasBeenSet; }
207 inline void SetVpnPort(int value) { m_vpnPortHasBeenSet = true; m_vpnPort = value; }
208 inline ClientVpnEndpoint& WithVpnPort(int value) { SetVpnPort(value); return *this;}
210
212
215 inline const Aws::String& GetServerCertificateArn() const{ return m_serverCertificateArn; }
216 inline bool ServerCertificateArnHasBeenSet() const { return m_serverCertificateArnHasBeenSet; }
217 inline void SetServerCertificateArn(const Aws::String& value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn = value; }
218 inline void SetServerCertificateArn(Aws::String&& value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn = std::move(value); }
219 inline void SetServerCertificateArn(const char* value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn.assign(value); }
221 inline ClientVpnEndpoint& WithServerCertificateArn(Aws::String&& value) { SetServerCertificateArn(std::move(value)); return *this;}
222 inline ClientVpnEndpoint& WithServerCertificateArn(const char* value) { SetServerCertificateArn(value); return *this;}
224
226
230 inline const Aws::Vector<ClientVpnAuthentication>& GetAuthenticationOptions() const{ return m_authenticationOptions; }
231 inline bool AuthenticationOptionsHasBeenSet() const { return m_authenticationOptionsHasBeenSet; }
232 inline void SetAuthenticationOptions(const Aws::Vector<ClientVpnAuthentication>& value) { m_authenticationOptionsHasBeenSet = true; m_authenticationOptions = value; }
233 inline void SetAuthenticationOptions(Aws::Vector<ClientVpnAuthentication>&& value) { m_authenticationOptionsHasBeenSet = true; m_authenticationOptions = std::move(value); }
236 inline ClientVpnEndpoint& AddAuthenticationOptions(const ClientVpnAuthentication& value) { m_authenticationOptionsHasBeenSet = true; m_authenticationOptions.push_back(value); return *this; }
237 inline ClientVpnEndpoint& AddAuthenticationOptions(ClientVpnAuthentication&& value) { m_authenticationOptionsHasBeenSet = true; m_authenticationOptions.push_back(std::move(value)); return *this; }
239
241
245 inline const ConnectionLogResponseOptions& GetConnectionLogOptions() const{ return m_connectionLogOptions; }
246 inline bool ConnectionLogOptionsHasBeenSet() const { return m_connectionLogOptionsHasBeenSet; }
247 inline void SetConnectionLogOptions(const ConnectionLogResponseOptions& value) { m_connectionLogOptionsHasBeenSet = true; m_connectionLogOptions = value; }
248 inline void SetConnectionLogOptions(ConnectionLogResponseOptions&& value) { m_connectionLogOptionsHasBeenSet = true; m_connectionLogOptions = std::move(value); }
252
254
257 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
258 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
259 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
260 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
261 inline ClientVpnEndpoint& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
262 inline ClientVpnEndpoint& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
263 inline ClientVpnEndpoint& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
264 inline ClientVpnEndpoint& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
266
268
271 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
272 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
273 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
274 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
276 inline ClientVpnEndpoint& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
277 inline ClientVpnEndpoint& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
278 inline ClientVpnEndpoint& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
279 inline ClientVpnEndpoint& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
281
283
286 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
287 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
288 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
289 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
290 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
291 inline ClientVpnEndpoint& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
292 inline ClientVpnEndpoint& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
293 inline ClientVpnEndpoint& WithVpcId(const char* value) { SetVpcId(value); return *this;}
295
297
300 inline const Aws::String& GetSelfServicePortalUrl() const{ return m_selfServicePortalUrl; }
301 inline bool SelfServicePortalUrlHasBeenSet() const { return m_selfServicePortalUrlHasBeenSet; }
302 inline void SetSelfServicePortalUrl(const Aws::String& value) { m_selfServicePortalUrlHasBeenSet = true; m_selfServicePortalUrl = value; }
303 inline void SetSelfServicePortalUrl(Aws::String&& value) { m_selfServicePortalUrlHasBeenSet = true; m_selfServicePortalUrl = std::move(value); }
304 inline void SetSelfServicePortalUrl(const char* value) { m_selfServicePortalUrlHasBeenSet = true; m_selfServicePortalUrl.assign(value); }
306 inline ClientVpnEndpoint& WithSelfServicePortalUrl(Aws::String&& value) { SetSelfServicePortalUrl(std::move(value)); return *this;}
307 inline ClientVpnEndpoint& WithSelfServicePortalUrl(const char* value) { SetSelfServicePortalUrl(value); return *this;}
309
311
315 inline const ClientConnectResponseOptions& GetClientConnectOptions() const{ return m_clientConnectOptions; }
316 inline bool ClientConnectOptionsHasBeenSet() const { return m_clientConnectOptionsHasBeenSet; }
317 inline void SetClientConnectOptions(const ClientConnectResponseOptions& value) { m_clientConnectOptionsHasBeenSet = true; m_clientConnectOptions = value; }
318 inline void SetClientConnectOptions(ClientConnectResponseOptions&& value) { m_clientConnectOptionsHasBeenSet = true; m_clientConnectOptions = std::move(value); }
322
324
328 inline int GetSessionTimeoutHours() const{ return m_sessionTimeoutHours; }
329 inline bool SessionTimeoutHoursHasBeenSet() const { return m_sessionTimeoutHoursHasBeenSet; }
330 inline void SetSessionTimeoutHours(int value) { m_sessionTimeoutHoursHasBeenSet = true; m_sessionTimeoutHours = value; }
331 inline ClientVpnEndpoint& WithSessionTimeoutHours(int value) { SetSessionTimeoutHours(value); return *this;}
333
335
339 inline const ClientLoginBannerResponseOptions& GetClientLoginBannerOptions() const{ return m_clientLoginBannerOptions; }
340 inline bool ClientLoginBannerOptionsHasBeenSet() const { return m_clientLoginBannerOptionsHasBeenSet; }
341 inline void SetClientLoginBannerOptions(const ClientLoginBannerResponseOptions& value) { m_clientLoginBannerOptionsHasBeenSet = true; m_clientLoginBannerOptions = value; }
342 inline void SetClientLoginBannerOptions(ClientLoginBannerResponseOptions&& value) { m_clientLoginBannerOptionsHasBeenSet = true; m_clientLoginBannerOptions = std::move(value); }
346 private:
347
348 Aws::String m_clientVpnEndpointId;
349 bool m_clientVpnEndpointIdHasBeenSet = false;
350
351 Aws::String m_description;
352 bool m_descriptionHasBeenSet = false;
353
355 bool m_statusHasBeenSet = false;
356
357 Aws::String m_creationTime;
358 bool m_creationTimeHasBeenSet = false;
359
360 Aws::String m_deletionTime;
361 bool m_deletionTimeHasBeenSet = false;
362
363 Aws::String m_dnsName;
364 bool m_dnsNameHasBeenSet = false;
365
366 Aws::String m_clientCidrBlock;
367 bool m_clientCidrBlockHasBeenSet = false;
368
369 Aws::Vector<Aws::String> m_dnsServers;
370 bool m_dnsServersHasBeenSet = false;
371
372 bool m_splitTunnel;
373 bool m_splitTunnelHasBeenSet = false;
374
375 VpnProtocol m_vpnProtocol;
376 bool m_vpnProtocolHasBeenSet = false;
377
378 TransportProtocol m_transportProtocol;
379 bool m_transportProtocolHasBeenSet = false;
380
381 int m_vpnPort;
382 bool m_vpnPortHasBeenSet = false;
383
384 Aws::String m_serverCertificateArn;
385 bool m_serverCertificateArnHasBeenSet = false;
386
387 Aws::Vector<ClientVpnAuthentication> m_authenticationOptions;
388 bool m_authenticationOptionsHasBeenSet = false;
389
390 ConnectionLogResponseOptions m_connectionLogOptions;
391 bool m_connectionLogOptionsHasBeenSet = false;
392
393 Aws::Vector<Tag> m_tags;
394 bool m_tagsHasBeenSet = false;
395
396 Aws::Vector<Aws::String> m_securityGroupIds;
397 bool m_securityGroupIdsHasBeenSet = false;
398
399 Aws::String m_vpcId;
400 bool m_vpcIdHasBeenSet = false;
401
402 Aws::String m_selfServicePortalUrl;
403 bool m_selfServicePortalUrlHasBeenSet = false;
404
405 ClientConnectResponseOptions m_clientConnectOptions;
406 bool m_clientConnectOptionsHasBeenSet = false;
407
408 int m_sessionTimeoutHours;
409 bool m_sessionTimeoutHoursHasBeenSet = false;
410
411 ClientLoginBannerResponseOptions m_clientLoginBannerOptions;
412 bool m_clientLoginBannerOptionsHasBeenSet = false;
413 };
414
415} // namespace Model
416} // namespace EC2
417} // namespace Aws
AWS_EC2_API ClientVpnEndpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
ClientVpnEndpoint & WithDeletionTime(Aws::String &&value)
const Aws::String & GetDnsName() const
void SetClientVpnEndpointId(const Aws::String &value)
void SetClientVpnEndpointId(Aws::String &&value)
ClientVpnEndpoint & WithCreationTime(const Aws::String &value)
ClientVpnEndpoint & WithCreationTime(const char *value)
ClientVpnEndpoint & WithServerCertificateArn(Aws::String &&value)
void SetClientLoginBannerOptions(ClientLoginBannerResponseOptions &&value)
void SetDescription(const Aws::String &value)
ClientVpnEndpoint & WithAuthenticationOptions(const Aws::Vector< ClientVpnAuthentication > &value)
ClientVpnEndpoint & AddAuthenticationOptions(ClientVpnAuthentication &&value)
ClientVpnEndpoint & WithSessionTimeoutHours(int value)
const Aws::String & GetClientVpnEndpointId() const
void SetDeletionTime(const char *value)
ClientVpnEndpoint & WithVpnProtocol(const VpnProtocol &value)
void SetDnsServers(Aws::Vector< Aws::String > &&value)
ClientVpnEndpoint & WithClientVpnEndpointId(const char *value)
void SetClientConnectOptions(ClientConnectResponseOptions &&value)
void SetVpcId(const Aws::String &value)
const ClientConnectResponseOptions & GetClientConnectOptions() const
void SetStatus(ClientVpnEndpointStatus &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const VpnProtocol & GetVpnProtocol() const
void SetSelfServicePortalUrl(const char *value)
ClientVpnEndpoint & WithDescription(Aws::String &&value)
ClientVpnEndpoint & WithCreationTime(Aws::String &&value)
void SetConnectionLogOptions(ConnectionLogResponseOptions &&value)
void SetSelfServicePortalUrl(const Aws::String &value)
ClientVpnEndpoint & WithTags(const Aws::Vector< Tag > &value)
void SetClientCidrBlock(const Aws::String &value)
ClientVpnEndpoint & AddAuthenticationOptions(const ClientVpnAuthentication &value)
ClientVpnEndpoint & AddSecurityGroupIds(const Aws::String &value)
ClientVpnEndpoint & WithConnectionLogOptions(ConnectionLogResponseOptions &&value)
ClientVpnEndpoint & AddSecurityGroupIds(const char *value)
const ClientLoginBannerResponseOptions & GetClientLoginBannerOptions() const
const ConnectionLogResponseOptions & GetConnectionLogOptions() const
ClientVpnEndpoint & WithClientLoginBannerOptions(const ClientLoginBannerResponseOptions &value)
void SetAuthenticationOptions(Aws::Vector< ClientVpnAuthentication > &&value)
void SetVpcId(Aws::String &&value)
void SetCreationTime(Aws::String &&value)
const Aws::String & GetClientCidrBlock() const
const Aws::String & GetVpcId() const
void SetStatus(const ClientVpnEndpointStatus &value)
const Aws::Vector< ClientVpnAuthentication > & GetAuthenticationOptions() const
ClientVpnEndpoint & WithVpcId(const Aws::String &value)
ClientVpnEndpoint & WithClientLoginBannerOptions(ClientLoginBannerResponseOptions &&value)
void SetDnsName(Aws::String &&value)
void SetClientLoginBannerOptions(const ClientLoginBannerResponseOptions &value)
void SetCreationTime(const char *value)
ClientVpnEndpoint & WithTags(Aws::Vector< Tag > &&value)
ClientVpnEndpoint & WithSelfServicePortalUrl(Aws::String &&value)
ClientVpnEndpoint & WithSelfServicePortalUrl(const Aws::String &value)
ClientVpnEndpoint & WithVpcId(Aws::String &&value)
ClientVpnEndpoint & WithSelfServicePortalUrl(const char *value)
ClientVpnEndpoint & WithTransportProtocol(const TransportProtocol &value)
void SetDescription(const char *value)
void SetServerCertificateArn(const char *value)
ClientVpnEndpoint & WithDnsServers(Aws::Vector< Aws::String > &&value)
void SetVpnProtocol(VpnProtocol &&value)
void SetDescription(Aws::String &&value)
ClientVpnEndpoint & AddTags(Tag &&value)
void SetAuthenticationOptions(const Aws::Vector< ClientVpnAuthentication > &value)
ClientVpnEndpoint & WithDeletionTime(const char *value)
void SetConnectionLogOptions(const ConnectionLogResponseOptions &value)
void SetTransportProtocol(TransportProtocol &&value)
ClientVpnEndpoint & WithClientCidrBlock(const char *value)
ClientVpnEndpoint & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetCreationTime(const Aws::String &value)
ClientVpnEndpoint & WithVpnPort(int value)
void SetClientVpnEndpointId(const char *value)
void SetDnsServers(const Aws::Vector< Aws::String > &value)
const ClientVpnEndpointStatus & GetStatus() const
ClientVpnEndpoint & WithClientConnectOptions(ClientConnectResponseOptions &&value)
const Aws::String & GetCreationTime() const
void SetVpnProtocol(const VpnProtocol &value)
ClientVpnEndpoint & WithDnsServers(const Aws::Vector< Aws::String > &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetClientConnectOptions(const ClientConnectResponseOptions &value)
void SetDnsName(const Aws::String &value)
ClientVpnEndpoint & WithTransportProtocol(TransportProtocol &&value)
ClientVpnEndpoint & WithDnsName(Aws::String &&value)
const Aws::String & GetDescription() const
ClientVpnEndpoint & WithDescription(const Aws::String &value)
void SetServerCertificateArn(Aws::String &&value)
ClientVpnEndpoint & WithClientConnectOptions(const ClientConnectResponseOptions &value)
const Aws::Vector< Aws::String > & GetDnsServers() const
ClientVpnEndpoint & AddDnsServers(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ClientVpnEndpoint & WithSplitTunnel(bool value)
ClientVpnEndpoint & AddSecurityGroupIds(Aws::String &&value)
void SetServerCertificateArn(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
void SetDeletionTime(Aws::String &&value)
const Aws::String & GetSelfServicePortalUrl() const
ClientVpnEndpoint & WithVpnProtocol(VpnProtocol &&value)
ClientVpnEndpoint & WithClientCidrBlock(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ClientVpnEndpoint & WithDescription(const char *value)
ClientVpnEndpoint & WithServerCertificateArn(const char *value)
ClientVpnEndpoint & AddDnsServers(const Aws::String &value)
ClientVpnEndpoint & AddTags(const Tag &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetClientCidrBlock(Aws::String &&value)
void SetTransportProtocol(const TransportProtocol &value)
ClientVpnEndpoint & WithVpcId(const char *value)
const TransportProtocol & GetTransportProtocol() const
ClientVpnEndpoint & WithAuthenticationOptions(Aws::Vector< ClientVpnAuthentication > &&value)
ClientVpnEndpoint & WithClientCidrBlock(Aws::String &&value)
void SetSelfServicePortalUrl(Aws::String &&value)
ClientVpnEndpoint & WithDnsName(const Aws::String &value)
ClientVpnEndpoint & WithDnsName(const char *value)
ClientVpnEndpoint & WithStatus(ClientVpnEndpointStatus &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
ClientVpnEndpoint & WithServerCertificateArn(const Aws::String &value)
const Aws::String & GetServerCertificateArn() const
ClientVpnEndpoint & WithStatus(const ClientVpnEndpointStatus &value)
void SetDeletionTime(const Aws::String &value)
ClientVpnEndpoint & AddDnsServers(const char *value)
const Aws::String & GetDeletionTime() const
void SetClientCidrBlock(const char *value)
AWS_EC2_API ClientVpnEndpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ClientVpnEndpoint & WithClientVpnEndpointId(Aws::String &&value)
ClientVpnEndpoint & WithConnectionLogOptions(const ConnectionLogResponseOptions &value)
ClientVpnEndpoint & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ClientVpnEndpoint & WithDeletionTime(const Aws::String &value)
ClientVpnEndpoint & WithClientVpnEndpointId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream