AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ClientVpnEndpoint.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/ClientConnectResponseOptions.h>
12#include <aws/ec2/model/ClientLoginBannerResponseOptions.h>
13#include <aws/ec2/model/ClientRouteEnforcementResponseOptions.h>
14#include <aws/ec2/model/ClientVpnAuthentication.h>
15#include <aws/ec2/model/ClientVpnEndpointStatus.h>
16#include <aws/ec2/model/ConnectionLogResponseOptions.h>
17#include <aws/ec2/model/EndpointIpAddressType.h>
18#include <aws/ec2/model/Tag.h>
19#include <aws/ec2/model/TrafficIpAddressType.h>
20#include <aws/ec2/model/TransportProtocol.h>
21#include <aws/ec2/model/VpnProtocol.h>
22
23#include <utility>
24
25namespace Aws {
26namespace Utils {
27namespace Xml {
28class XmlNode;
29} // namespace Xml
30} // namespace Utils
31namespace EC2 {
32namespace Model {
33
40 public:
41 AWS_EC2_API ClientVpnEndpoint() = default;
42 AWS_EC2_API ClientVpnEndpoint(const Aws::Utils::Xml::XmlNode& xmlNode);
44
45 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
49
52 inline const Aws::String& GetClientVpnEndpointId() const { return m_clientVpnEndpointId; }
53 inline bool ClientVpnEndpointIdHasBeenSet() const { return m_clientVpnEndpointIdHasBeenSet; }
54 template <typename ClientVpnEndpointIdT = Aws::String>
55 void SetClientVpnEndpointId(ClientVpnEndpointIdT&& value) {
56 m_clientVpnEndpointIdHasBeenSet = true;
57 m_clientVpnEndpointId = std::forward<ClientVpnEndpointIdT>(value);
58 }
59 template <typename ClientVpnEndpointIdT = Aws::String>
60 ClientVpnEndpoint& WithClientVpnEndpointId(ClientVpnEndpointIdT&& value) {
61 SetClientVpnEndpointId(std::forward<ClientVpnEndpointIdT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template <typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) {
74 m_descriptionHasBeenSet = true;
75 m_description = std::forward<DescriptionT>(value);
76 }
77 template <typename DescriptionT = Aws::String>
78 ClientVpnEndpoint& WithDescription(DescriptionT&& value) {
79 SetDescription(std::forward<DescriptionT>(value));
80 return *this;
81 }
83
85
88 inline const ClientVpnEndpointStatus& GetStatus() const { return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 template <typename StatusT = ClientVpnEndpointStatus>
91 void SetStatus(StatusT&& value) {
92 m_statusHasBeenSet = true;
93 m_status = std::forward<StatusT>(value);
94 }
95 template <typename StatusT = ClientVpnEndpointStatus>
96 ClientVpnEndpoint& WithStatus(StatusT&& value) {
97 SetStatus(std::forward<StatusT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
107 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
108 template <typename CreationTimeT = Aws::String>
109 void SetCreationTime(CreationTimeT&& value) {
110 m_creationTimeHasBeenSet = true;
111 m_creationTime = std::forward<CreationTimeT>(value);
112 }
113 template <typename CreationTimeT = Aws::String>
114 ClientVpnEndpoint& WithCreationTime(CreationTimeT&& value) {
115 SetCreationTime(std::forward<CreationTimeT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetDeletionTime() const { return m_deletionTime; }
125 inline bool DeletionTimeHasBeenSet() const { return m_deletionTimeHasBeenSet; }
126 template <typename DeletionTimeT = Aws::String>
127 void SetDeletionTime(DeletionTimeT&& value) {
128 m_deletionTimeHasBeenSet = true;
129 m_deletionTime = std::forward<DeletionTimeT>(value);
130 }
131 template <typename DeletionTimeT = Aws::String>
132 ClientVpnEndpoint& WithDeletionTime(DeletionTimeT&& value) {
133 SetDeletionTime(std::forward<DeletionTimeT>(value));
134 return *this;
135 }
137
139
143 inline const Aws::String& GetDnsName() const { return m_dnsName; }
144 inline bool DnsNameHasBeenSet() const { return m_dnsNameHasBeenSet; }
145 template <typename DnsNameT = Aws::String>
146 void SetDnsName(DnsNameT&& value) {
147 m_dnsNameHasBeenSet = true;
148 m_dnsName = std::forward<DnsNameT>(value);
149 }
150 template <typename DnsNameT = Aws::String>
151 ClientVpnEndpoint& WithDnsName(DnsNameT&& value) {
152 SetDnsName(std::forward<DnsNameT>(value));
153 return *this;
154 }
156
158
162 inline const Aws::String& GetClientCidrBlock() const { return m_clientCidrBlock; }
163 inline bool ClientCidrBlockHasBeenSet() const { return m_clientCidrBlockHasBeenSet; }
164 template <typename ClientCidrBlockT = Aws::String>
165 void SetClientCidrBlock(ClientCidrBlockT&& value) {
166 m_clientCidrBlockHasBeenSet = true;
167 m_clientCidrBlock = std::forward<ClientCidrBlockT>(value);
168 }
169 template <typename ClientCidrBlockT = Aws::String>
170 ClientVpnEndpoint& WithClientCidrBlock(ClientCidrBlockT&& value) {
171 SetClientCidrBlock(std::forward<ClientCidrBlockT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::Vector<Aws::String>& GetDnsServers() const { return m_dnsServers; }
181 inline bool DnsServersHasBeenSet() const { return m_dnsServersHasBeenSet; }
182 template <typename DnsServersT = Aws::Vector<Aws::String>>
183 void SetDnsServers(DnsServersT&& value) {
184 m_dnsServersHasBeenSet = true;
185 m_dnsServers = std::forward<DnsServersT>(value);
186 }
187 template <typename DnsServersT = Aws::Vector<Aws::String>>
188 ClientVpnEndpoint& WithDnsServers(DnsServersT&& value) {
189 SetDnsServers(std::forward<DnsServersT>(value));
190 return *this;
191 }
192 template <typename DnsServersT = Aws::String>
193 ClientVpnEndpoint& AddDnsServers(DnsServersT&& value) {
194 m_dnsServersHasBeenSet = true;
195 m_dnsServers.emplace_back(std::forward<DnsServersT>(value));
196 return *this;
197 }
199
201
207 inline bool GetSplitTunnel() const { return m_splitTunnel; }
208 inline bool SplitTunnelHasBeenSet() const { return m_splitTunnelHasBeenSet; }
209 inline void SetSplitTunnel(bool value) {
210 m_splitTunnelHasBeenSet = true;
211 m_splitTunnel = value;
212 }
213 inline ClientVpnEndpoint& WithSplitTunnel(bool value) {
214 SetSplitTunnel(value);
215 return *this;
216 }
218
220
223 inline VpnProtocol GetVpnProtocol() const { return m_vpnProtocol; }
224 inline bool VpnProtocolHasBeenSet() const { return m_vpnProtocolHasBeenSet; }
225 inline void SetVpnProtocol(VpnProtocol value) {
226 m_vpnProtocolHasBeenSet = true;
227 m_vpnProtocol = value;
228 }
230 SetVpnProtocol(value);
231 return *this;
232 }
234
236
239 inline TransportProtocol GetTransportProtocol() const { return m_transportProtocol; }
240 inline bool TransportProtocolHasBeenSet() const { return m_transportProtocolHasBeenSet; }
242 m_transportProtocolHasBeenSet = true;
243 m_transportProtocol = value;
244 }
247 return *this;
248 }
250
252
255 inline int GetVpnPort() const { return m_vpnPort; }
256 inline bool VpnPortHasBeenSet() const { return m_vpnPortHasBeenSet; }
257 inline void SetVpnPort(int value) {
258 m_vpnPortHasBeenSet = true;
259 m_vpnPort = value;
260 }
261 inline ClientVpnEndpoint& WithVpnPort(int value) {
262 SetVpnPort(value);
263 return *this;
264 }
266
268
271 inline const Aws::String& GetServerCertificateArn() const { return m_serverCertificateArn; }
272 inline bool ServerCertificateArnHasBeenSet() const { return m_serverCertificateArnHasBeenSet; }
273 template <typename ServerCertificateArnT = Aws::String>
274 void SetServerCertificateArn(ServerCertificateArnT&& value) {
275 m_serverCertificateArnHasBeenSet = true;
276 m_serverCertificateArn = std::forward<ServerCertificateArnT>(value);
277 }
278 template <typename ServerCertificateArnT = Aws::String>
279 ClientVpnEndpoint& WithServerCertificateArn(ServerCertificateArnT&& value) {
280 SetServerCertificateArn(std::forward<ServerCertificateArnT>(value));
281 return *this;
282 }
284
286
290 inline const Aws::Vector<ClientVpnAuthentication>& GetAuthenticationOptions() const { return m_authenticationOptions; }
291 inline bool AuthenticationOptionsHasBeenSet() const { return m_authenticationOptionsHasBeenSet; }
292 template <typename AuthenticationOptionsT = Aws::Vector<ClientVpnAuthentication>>
293 void SetAuthenticationOptions(AuthenticationOptionsT&& value) {
294 m_authenticationOptionsHasBeenSet = true;
295 m_authenticationOptions = std::forward<AuthenticationOptionsT>(value);
296 }
297 template <typename AuthenticationOptionsT = Aws::Vector<ClientVpnAuthentication>>
298 ClientVpnEndpoint& WithAuthenticationOptions(AuthenticationOptionsT&& value) {
299 SetAuthenticationOptions(std::forward<AuthenticationOptionsT>(value));
300 return *this;
301 }
302 template <typename AuthenticationOptionsT = ClientVpnAuthentication>
303 ClientVpnEndpoint& AddAuthenticationOptions(AuthenticationOptionsT&& value) {
304 m_authenticationOptionsHasBeenSet = true;
305 m_authenticationOptions.emplace_back(std::forward<AuthenticationOptionsT>(value));
306 return *this;
307 }
309
311
315 inline const ConnectionLogResponseOptions& GetConnectionLogOptions() const { return m_connectionLogOptions; }
316 inline bool ConnectionLogOptionsHasBeenSet() const { return m_connectionLogOptionsHasBeenSet; }
317 template <typename ConnectionLogOptionsT = ConnectionLogResponseOptions>
318 void SetConnectionLogOptions(ConnectionLogOptionsT&& value) {
319 m_connectionLogOptionsHasBeenSet = true;
320 m_connectionLogOptions = std::forward<ConnectionLogOptionsT>(value);
321 }
322 template <typename ConnectionLogOptionsT = ConnectionLogResponseOptions>
323 ClientVpnEndpoint& WithConnectionLogOptions(ConnectionLogOptionsT&& value) {
324 SetConnectionLogOptions(std::forward<ConnectionLogOptionsT>(value));
325 return *this;
326 }
328
330
333 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
334 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
335 template <typename TagsT = Aws::Vector<Tag>>
336 void SetTags(TagsT&& value) {
337 m_tagsHasBeenSet = true;
338 m_tags = std::forward<TagsT>(value);
339 }
340 template <typename TagsT = Aws::Vector<Tag>>
341 ClientVpnEndpoint& WithTags(TagsT&& value) {
342 SetTags(std::forward<TagsT>(value));
343 return *this;
344 }
345 template <typename TagsT = Tag>
346 ClientVpnEndpoint& AddTags(TagsT&& value) {
347 m_tagsHasBeenSet = true;
348 m_tags.emplace_back(std::forward<TagsT>(value));
349 return *this;
350 }
352
354
357 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
358 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
359 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
360 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
361 m_securityGroupIdsHasBeenSet = true;
362 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
363 }
364 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
365 ClientVpnEndpoint& WithSecurityGroupIds(SecurityGroupIdsT&& value) {
366 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
367 return *this;
368 }
369 template <typename SecurityGroupIdsT = Aws::String>
370 ClientVpnEndpoint& AddSecurityGroupIds(SecurityGroupIdsT&& value) {
371 m_securityGroupIdsHasBeenSet = true;
372 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
373 return *this;
374 }
376
378
381 inline const Aws::String& GetVpcId() const { return m_vpcId; }
382 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
383 template <typename VpcIdT = Aws::String>
384 void SetVpcId(VpcIdT&& value) {
385 m_vpcIdHasBeenSet = true;
386 m_vpcId = std::forward<VpcIdT>(value);
387 }
388 template <typename VpcIdT = Aws::String>
389 ClientVpnEndpoint& WithVpcId(VpcIdT&& value) {
390 SetVpcId(std::forward<VpcIdT>(value));
391 return *this;
392 }
394
396
399 inline const Aws::String& GetSelfServicePortalUrl() const { return m_selfServicePortalUrl; }
400 inline bool SelfServicePortalUrlHasBeenSet() const { return m_selfServicePortalUrlHasBeenSet; }
401 template <typename SelfServicePortalUrlT = Aws::String>
402 void SetSelfServicePortalUrl(SelfServicePortalUrlT&& value) {
403 m_selfServicePortalUrlHasBeenSet = true;
404 m_selfServicePortalUrl = std::forward<SelfServicePortalUrlT>(value);
405 }
406 template <typename SelfServicePortalUrlT = Aws::String>
407 ClientVpnEndpoint& WithSelfServicePortalUrl(SelfServicePortalUrlT&& value) {
408 SetSelfServicePortalUrl(std::forward<SelfServicePortalUrlT>(value));
409 return *this;
410 }
412
414
418 inline const ClientConnectResponseOptions& GetClientConnectOptions() const { return m_clientConnectOptions; }
419 inline bool ClientConnectOptionsHasBeenSet() const { return m_clientConnectOptionsHasBeenSet; }
420 template <typename ClientConnectOptionsT = ClientConnectResponseOptions>
421 void SetClientConnectOptions(ClientConnectOptionsT&& value) {
422 m_clientConnectOptionsHasBeenSet = true;
423 m_clientConnectOptions = std::forward<ClientConnectOptionsT>(value);
424 }
425 template <typename ClientConnectOptionsT = ClientConnectResponseOptions>
426 ClientVpnEndpoint& WithClientConnectOptions(ClientConnectOptionsT&& value) {
427 SetClientConnectOptions(std::forward<ClientConnectOptionsT>(value));
428 return *this;
429 }
431
433
437 inline int GetSessionTimeoutHours() const { return m_sessionTimeoutHours; }
438 inline bool SessionTimeoutHoursHasBeenSet() const { return m_sessionTimeoutHoursHasBeenSet; }
439 inline void SetSessionTimeoutHours(int value) {
440 m_sessionTimeoutHoursHasBeenSet = true;
441 m_sessionTimeoutHours = value;
442 }
445 return *this;
446 }
448
450
454 inline const ClientLoginBannerResponseOptions& GetClientLoginBannerOptions() const { return m_clientLoginBannerOptions; }
455 inline bool ClientLoginBannerOptionsHasBeenSet() const { return m_clientLoginBannerOptionsHasBeenSet; }
456 template <typename ClientLoginBannerOptionsT = ClientLoginBannerResponseOptions>
457 void SetClientLoginBannerOptions(ClientLoginBannerOptionsT&& value) {
458 m_clientLoginBannerOptionsHasBeenSet = true;
459 m_clientLoginBannerOptions = std::forward<ClientLoginBannerOptionsT>(value);
460 }
461 template <typename ClientLoginBannerOptionsT = ClientLoginBannerResponseOptions>
462 ClientVpnEndpoint& WithClientLoginBannerOptions(ClientLoginBannerOptionsT&& value) {
463 SetClientLoginBannerOptions(std::forward<ClientLoginBannerOptionsT>(value));
464 return *this;
465 }
467
469
480 inline const ClientRouteEnforcementResponseOptions& GetClientRouteEnforcementOptions() const { return m_clientRouteEnforcementOptions; }
481 inline bool ClientRouteEnforcementOptionsHasBeenSet() const { return m_clientRouteEnforcementOptionsHasBeenSet; }
482 template <typename ClientRouteEnforcementOptionsT = ClientRouteEnforcementResponseOptions>
483 void SetClientRouteEnforcementOptions(ClientRouteEnforcementOptionsT&& value) {
484 m_clientRouteEnforcementOptionsHasBeenSet = true;
485 m_clientRouteEnforcementOptions = std::forward<ClientRouteEnforcementOptionsT>(value);
486 }
487 template <typename ClientRouteEnforcementOptionsT = ClientRouteEnforcementResponseOptions>
488 ClientVpnEndpoint& WithClientRouteEnforcementOptions(ClientRouteEnforcementOptionsT&& value) {
489 SetClientRouteEnforcementOptions(std::forward<ClientRouteEnforcementOptionsT>(value));
490 return *this;
491 }
493
495
501 inline bool GetDisconnectOnSessionTimeout() const { return m_disconnectOnSessionTimeout; }
502 inline bool DisconnectOnSessionTimeoutHasBeenSet() const { return m_disconnectOnSessionTimeoutHasBeenSet; }
503 inline void SetDisconnectOnSessionTimeout(bool value) {
504 m_disconnectOnSessionTimeoutHasBeenSet = true;
505 m_disconnectOnSessionTimeout = value;
506 }
509 return *this;
510 }
512
514
520 inline EndpointIpAddressType GetEndpointIpAddressType() const { return m_endpointIpAddressType; }
521 inline bool EndpointIpAddressTypeHasBeenSet() const { return m_endpointIpAddressTypeHasBeenSet; }
523 m_endpointIpAddressTypeHasBeenSet = true;
524 m_endpointIpAddressType = value;
525 }
528 return *this;
529 }
531
533
539 inline TrafficIpAddressType GetTrafficIpAddressType() const { return m_trafficIpAddressType; }
540 inline bool TrafficIpAddressTypeHasBeenSet() const { return m_trafficIpAddressTypeHasBeenSet; }
542 m_trafficIpAddressTypeHasBeenSet = true;
543 m_trafficIpAddressType = value;
544 }
547 return *this;
548 }
550 private:
551 Aws::String m_clientVpnEndpointId;
552
553 Aws::String m_description;
554
556
557 Aws::String m_creationTime;
558
559 Aws::String m_deletionTime;
560
561 Aws::String m_dnsName;
562
563 Aws::String m_clientCidrBlock;
564
565 Aws::Vector<Aws::String> m_dnsServers;
566
567 bool m_splitTunnel{false};
568
569 VpnProtocol m_vpnProtocol{VpnProtocol::NOT_SET};
570
572
573 int m_vpnPort{0};
574
575 Aws::String m_serverCertificateArn;
576
577 Aws::Vector<ClientVpnAuthentication> m_authenticationOptions;
578
579 ConnectionLogResponseOptions m_connectionLogOptions;
580
581 Aws::Vector<Tag> m_tags;
582
583 Aws::Vector<Aws::String> m_securityGroupIds;
584
585 Aws::String m_vpcId;
586
587 Aws::String m_selfServicePortalUrl;
588
589 ClientConnectResponseOptions m_clientConnectOptions;
590
591 int m_sessionTimeoutHours{0};
592
593 ClientLoginBannerResponseOptions m_clientLoginBannerOptions;
594
595 ClientRouteEnforcementResponseOptions m_clientRouteEnforcementOptions;
596
597 bool m_disconnectOnSessionTimeout{false};
598
600
602 bool m_clientVpnEndpointIdHasBeenSet = false;
603 bool m_descriptionHasBeenSet = false;
604 bool m_statusHasBeenSet = false;
605 bool m_creationTimeHasBeenSet = false;
606 bool m_deletionTimeHasBeenSet = false;
607 bool m_dnsNameHasBeenSet = false;
608 bool m_clientCidrBlockHasBeenSet = false;
609 bool m_dnsServersHasBeenSet = false;
610 bool m_splitTunnelHasBeenSet = false;
611 bool m_vpnProtocolHasBeenSet = false;
612 bool m_transportProtocolHasBeenSet = false;
613 bool m_vpnPortHasBeenSet = false;
614 bool m_serverCertificateArnHasBeenSet = false;
615 bool m_authenticationOptionsHasBeenSet = false;
616 bool m_connectionLogOptionsHasBeenSet = false;
617 bool m_tagsHasBeenSet = false;
618 bool m_securityGroupIdsHasBeenSet = false;
619 bool m_vpcIdHasBeenSet = false;
620 bool m_selfServicePortalUrlHasBeenSet = false;
621 bool m_clientConnectOptionsHasBeenSet = false;
622 bool m_sessionTimeoutHoursHasBeenSet = false;
623 bool m_clientLoginBannerOptionsHasBeenSet = false;
624 bool m_clientRouteEnforcementOptionsHasBeenSet = false;
625 bool m_disconnectOnSessionTimeoutHasBeenSet = false;
626 bool m_endpointIpAddressTypeHasBeenSet = false;
627 bool m_trafficIpAddressTypeHasBeenSet = false;
628};
629
630} // namespace Model
631} // namespace EC2
632} // namespace Aws
ClientVpnEndpoint & WithDnsServers(DnsServersT &&value)
AWS_EC2_API ClientVpnEndpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
ClientVpnEndpoint & WithAuthenticationOptions(AuthenticationOptionsT &&value)
const Aws::String & GetDnsName() const
ClientVpnEndpoint & WithSecurityGroupIds(SecurityGroupIdsT &&value)
void SetSelfServicePortalUrl(SelfServicePortalUrlT &&value)
void SetEndpointIpAddressType(EndpointIpAddressType value)
void SetCreationTime(CreationTimeT &&value)
ClientVpnEndpoint & WithSessionTimeoutHours(int value)
EndpointIpAddressType GetEndpointIpAddressType() const
const Aws::String & GetClientVpnEndpointId() const
void SetTransportProtocol(TransportProtocol value)
void SetDnsServers(DnsServersT &&value)
ClientVpnEndpoint & WithDescription(DescriptionT &&value)
ClientVpnEndpoint & AddAuthenticationOptions(AuthenticationOptionsT &&value)
const ClientConnectResponseOptions & GetClientConnectOptions() const
ClientVpnEndpoint & WithSelfServicePortalUrl(SelfServicePortalUrlT &&value)
ClientVpnEndpoint & WithDnsName(DnsNameT &&value)
ClientVpnEndpoint & WithServerCertificateArn(ServerCertificateArnT &&value)
ClientVpnEndpoint & AddDnsServers(DnsServersT &&value)
const ClientLoginBannerResponseOptions & GetClientLoginBannerOptions() const
ClientVpnEndpoint & WithConnectionLogOptions(ConnectionLogOptionsT &&value)
const ConnectionLogResponseOptions & GetConnectionLogOptions() const
void SetVpnProtocol(VpnProtocol value)
ClientVpnEndpoint & AddTags(TagsT &&value)
const Aws::String & GetClientCidrBlock() const
const Aws::String & GetVpcId() const
ClientVpnEndpoint & WithCreationTime(CreationTimeT &&value)
const Aws::Vector< ClientVpnAuthentication > & GetAuthenticationOptions() const
TrafficIpAddressType GetTrafficIpAddressType() const
ClientVpnEndpoint & AddSecurityGroupIds(SecurityGroupIdsT &&value)
ClientVpnEndpoint & WithTransportProtocol(TransportProtocol value)
void SetAuthenticationOptions(AuthenticationOptionsT &&value)
void SetDeletionTime(DeletionTimeT &&value)
void SetClientCidrBlock(ClientCidrBlockT &&value)
ClientVpnEndpoint & WithStatus(StatusT &&value)
ClientVpnEndpoint & WithVpnPort(int value)
ClientVpnEndpoint & WithDeletionTime(DeletionTimeT &&value)
ClientVpnEndpoint & WithClientVpnEndpointId(ClientVpnEndpointIdT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
const ClientVpnEndpointStatus & GetStatus() const
ClientVpnEndpoint & WithClientConnectOptions(ClientConnectOptionsT &&value)
AWS_EC2_API ClientVpnEndpoint()=default
const Aws::String & GetCreationTime() const
const ClientRouteEnforcementResponseOptions & GetClientRouteEnforcementOptions() const
ClientVpnEndpoint & WithTags(TagsT &&value)
TransportProtocol GetTransportProtocol() const
const Aws::String & GetDescription() const
void SetClientVpnEndpointId(ClientVpnEndpointIdT &&value)
const Aws::Vector< Aws::String > & GetDnsServers() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ClientVpnEndpoint & WithDisconnectOnSessionTimeout(bool value)
void SetConnectionLogOptions(ConnectionLogOptionsT &&value)
ClientVpnEndpoint & WithClientLoginBannerOptions(ClientLoginBannerOptionsT &&value)
ClientVpnEndpoint & WithClientCidrBlock(ClientCidrBlockT &&value)
ClientVpnEndpoint & WithVpcId(VpcIdT &&value)
ClientVpnEndpoint & WithSplitTunnel(bool value)
const Aws::Vector< Tag > & GetTags() const
ClientVpnEndpoint & WithEndpointIpAddressType(EndpointIpAddressType value)
ClientVpnEndpoint & WithClientRouteEnforcementOptions(ClientRouteEnforcementOptionsT &&value)
const Aws::String & GetSelfServicePortalUrl() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDescription(DescriptionT &&value)
void SetServerCertificateArn(ServerCertificateArnT &&value)
ClientVpnEndpoint & WithVpnProtocol(VpnProtocol value)
void SetClientLoginBannerOptions(ClientLoginBannerOptionsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
const Aws::String & GetServerCertificateArn() const
const Aws::String & GetDeletionTime() const
void SetClientRouteEnforcementOptions(ClientRouteEnforcementOptionsT &&value)
AWS_EC2_API ClientVpnEndpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ClientVpnEndpoint & WithTrafficIpAddressType(TrafficIpAddressType value)
void SetTrafficIpAddressType(TrafficIpAddressType value)
void SetClientConnectOptions(ClientConnectOptionsT &&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