7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2Request.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/ClientConnectOptions.h>
13#include <aws/ec2/model/ClientLoginBannerOptions.h>
14#include <aws/ec2/model/ClientRouteEnforcementOptions.h>
15#include <aws/ec2/model/ClientVpnAuthenticationRequest.h>
16#include <aws/ec2/model/ConnectionLogOptions.h>
17#include <aws/ec2/model/EndpointIpAddressType.h>
18#include <aws/ec2/model/SelfServicePortal.h>
19#include <aws/ec2/model/TagSpecification.h>
20#include <aws/ec2/model/TrafficIpAddressType.h>
21#include <aws/ec2/model/TransportProtocol.h>
58 template <
typename ClientC
idrBlockT = Aws::String>
60 m_clientCidrBlockHasBeenSet =
true;
61 m_clientCidrBlock = std::forward<ClientCidrBlockT>(value);
63 template <
typename ClientC
idrBlockT = Aws::String>
78 template <
typename ServerCertificateArnT = Aws::String>
80 m_serverCertificateArnHasBeenSet =
true;
81 m_serverCertificateArn = std::forward<ServerCertificateArnT>(value);
83 template <
typename ServerCertificateArnT = Aws::String>
97 template <
typename AuthenticationOptionsT = Aws::Vector<ClientVpnAuthenticationRequest>>
99 m_authenticationOptionsHasBeenSet =
true;
100 m_authenticationOptions = std::forward<AuthenticationOptionsT>(value);
102 template <
typename AuthenticationOptionsT = Aws::Vector<ClientVpnAuthenticationRequest>>
107 template <
typename AuthenticationOptionsT = ClientVpnAuthenticationRequest>
109 m_authenticationOptionsHasBeenSet =
true;
110 m_authenticationOptions.emplace_back(std::forward<AuthenticationOptionsT>(value));
126 template <
typename ConnectionLogOptionsT = ConnectionLogOptions>
128 m_connectionLogOptionsHasBeenSet =
true;
129 m_connectionLogOptions = std::forward<ConnectionLogOptionsT>(value);
131 template <
typename ConnectionLogOptionsT = ConnectionLogOptions>
146 template <
typename DnsServersT = Aws::Vector<Aws::String>>
148 m_dnsServersHasBeenSet =
true;
149 m_dnsServers = std::forward<DnsServersT>(value);
151 template <
typename DnsServersT = Aws::Vector<Aws::String>>
156 template <
typename DnsServersT = Aws::String>
158 m_dnsServersHasBeenSet =
true;
159 m_dnsServers.emplace_back(std::forward<DnsServersT>(value));
172 m_transportProtocolHasBeenSet =
true;
173 m_transportProtocol = value;
190 m_vpnPortHasBeenSet =
true;
205 template <
typename DescriptionT = Aws::String>
207 m_descriptionHasBeenSet =
true;
208 m_description = std::forward<DescriptionT>(value);
210 template <
typename DescriptionT = Aws::String>
228 m_splitTunnelHasBeenSet =
true;
229 m_splitTunnel = value;
247 m_dryRunHasBeenSet =
true;
265 template <
typename ClientTokenT = Aws::String>
267 m_clientTokenHasBeenSet =
true;
268 m_clientToken = std::forward<ClientTokenT>(value);
270 template <
typename ClientTokenT = Aws::String>
283 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
285 m_tagSpecificationsHasBeenSet =
true;
286 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
288 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
293 template <
typename TagSpecificationsT = TagSpecification>
295 m_tagSpecificationsHasBeenSet =
true;
296 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
308 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
310 m_securityGroupIdsHasBeenSet =
true;
311 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
313 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
318 template <
typename SecurityGroupIdsT = Aws::String>
320 m_securityGroupIdsHasBeenSet =
true;
321 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
334 template <
typename VpcIdT = Aws::String>
336 m_vpcIdHasBeenSet =
true;
337 m_vpcId = std::forward<VpcIdT>(value);
339 template <
typename VpcIdT = Aws::String>
341 SetVpcId(std::forward<VpcIdT>(value));
354 m_selfServicePortalHasBeenSet =
true;
355 m_selfServicePortal = value;
370 template <
typename ClientConnectOptionsT = ClientConnectOptions>
372 m_clientConnectOptionsHasBeenSet =
true;
373 m_clientConnectOptions = std::forward<ClientConnectOptionsT>(value);
375 template <
typename ClientConnectOptionsT = ClientConnectOptions>
390 m_sessionTimeoutHoursHasBeenSet =
true;
391 m_sessionTimeoutHours = value;
406 template <
typename ClientLoginBannerOptionsT = ClientLoginBannerOptions>
408 m_clientLoginBannerOptionsHasBeenSet =
true;
409 m_clientLoginBannerOptions = std::forward<ClientLoginBannerOptionsT>(value);
411 template <
typename ClientLoginBannerOptionsT = ClientLoginBannerOptions>
432 template <
typename ClientRouteEnforcementOptionsT = ClientRouteEnforcementOptions>
434 m_clientRouteEnforcementOptionsHasBeenSet =
true;
435 m_clientRouteEnforcementOptions = std::forward<ClientRouteEnforcementOptionsT>(value);
437 template <
typename ClientRouteEnforcementOptionsT = ClientRouteEnforcementOptions>
455 m_disconnectOnSessionTimeoutHasBeenSet =
true;
456 m_disconnectOnSessionTimeout = value;
475 m_endpointIpAddressTypeHasBeenSet =
true;
476 m_endpointIpAddressType = value;
495 m_trafficIpAddressTypeHasBeenSet =
true;
496 m_trafficIpAddressType = value;
520 bool m_splitTunnel{
false};
522 bool m_dryRun{
false};
534 ClientConnectOptions m_clientConnectOptions;
536 int m_sessionTimeoutHours{0};
538 ClientLoginBannerOptions m_clientLoginBannerOptions;
540 ClientRouteEnforcementOptions m_clientRouteEnforcementOptions;
542 bool m_disconnectOnSessionTimeout{
false};
547 bool m_clientCidrBlockHasBeenSet =
false;
548 bool m_serverCertificateArnHasBeenSet =
false;
549 bool m_authenticationOptionsHasBeenSet =
false;
550 bool m_connectionLogOptionsHasBeenSet =
false;
551 bool m_dnsServersHasBeenSet =
false;
552 bool m_transportProtocolHasBeenSet =
false;
553 bool m_vpnPortHasBeenSet =
false;
554 bool m_descriptionHasBeenSet =
false;
555 bool m_splitTunnelHasBeenSet =
false;
556 bool m_dryRunHasBeenSet =
false;
557 bool m_clientTokenHasBeenSet =
true;
558 bool m_tagSpecificationsHasBeenSet =
false;
559 bool m_securityGroupIdsHasBeenSet =
false;
560 bool m_vpcIdHasBeenSet =
false;
561 bool m_selfServicePortalHasBeenSet =
false;
562 bool m_clientConnectOptionsHasBeenSet =
false;
563 bool m_sessionTimeoutHoursHasBeenSet =
false;
564 bool m_clientLoginBannerOptionsHasBeenSet =
false;
565 bool m_clientRouteEnforcementOptionsHasBeenSet =
false;
566 bool m_disconnectOnSessionTimeoutHasBeenSet =
false;
567 bool m_endpointIpAddressTypeHasBeenSet =
false;
568 bool m_trafficIpAddressTypeHasBeenSet =
false;
bool AuthenticationOptionsHasBeenSet() const
const Aws::String & GetVpcId() const
const Aws::Vector< Aws::String > & GetDnsServers() const
const Aws::String & GetServerCertificateArn() const
CreateClientVpnEndpointRequest & WithClientLoginBannerOptions(ClientLoginBannerOptionsT &&value)
CreateClientVpnEndpointRequest & WithVpnPort(int value)
void SetClientToken(ClientTokenT &&value)
CreateClientVpnEndpointRequest & WithAuthenticationOptions(AuthenticationOptionsT &&value)
bool SplitTunnelHasBeenSet() const
bool ConnectionLogOptionsHasBeenSet() const
AWS_EC2_API CreateClientVpnEndpointRequest()=default
bool ClientConnectOptionsHasBeenSet() const
void SetServerCertificateArn(ServerCertificateArnT &&value)
void SetAuthenticationOptions(AuthenticationOptionsT &&value)
bool ClientTokenHasBeenSet() const
void SetTransportProtocol(TransportProtocol value)
CreateClientVpnEndpointRequest & WithVpcId(VpcIdT &&value)
void SetDescription(DescriptionT &&value)
CreateClientVpnEndpointRequest & WithClientCidrBlock(ClientCidrBlockT &&value)
CreateClientVpnEndpointRequest & WithDryRun(bool value)
const ClientConnectOptions & GetClientConnectOptions() const
bool VpnPortHasBeenSet() const
void SetClientLoginBannerOptions(ClientLoginBannerOptionsT &&value)
CreateClientVpnEndpointRequest & WithClientConnectOptions(ClientConnectOptionsT &&value)
bool ClientRouteEnforcementOptionsHasBeenSet() const
bool DryRunHasBeenSet() const
void SetSelfServicePortal(SelfServicePortal value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetTrafficIpAddressType(TrafficIpAddressType value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const ClientLoginBannerOptions & GetClientLoginBannerOptions() const
CreateClientVpnEndpointRequest & WithConnectionLogOptions(ConnectionLogOptionsT &&value)
CreateClientVpnEndpointRequest & WithDnsServers(DnsServersT &&value)
bool SelfServicePortalHasBeenSet() const
CreateClientVpnEndpointRequest & WithSelfServicePortal(SelfServicePortal value)
CreateClientVpnEndpointRequest & AddTagSpecifications(TagSpecificationsT &&value)
void SetConnectionLogOptions(ConnectionLogOptionsT &&value)
const Aws::String & GetDescription() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateClientVpnEndpointRequest & WithServerCertificateArn(ServerCertificateArnT &&value)
void SetDisconnectOnSessionTimeout(bool value)
CreateClientVpnEndpointRequest & AddDnsServers(DnsServersT &&value)
void SetVpcId(VpcIdT &&value)
bool EndpointIpAddressTypeHasBeenSet() const
bool SessionTimeoutHoursHasBeenSet() const
CreateClientVpnEndpointRequest & WithSessionTimeoutHours(int value)
const Aws::Vector< ClientVpnAuthenticationRequest > & GetAuthenticationOptions() const
AWS_EC2_API Aws::String SerializePayload() const override
CreateClientVpnEndpointRequest & AddAuthenticationOptions(AuthenticationOptionsT &&value)
bool GetSplitTunnel() const
void SetClientConnectOptions(ClientConnectOptionsT &&value)
CreateClientVpnEndpointRequest & WithTransportProtocol(TransportProtocol value)
CreateClientVpnEndpointRequest & WithSplitTunnel(bool value)
CreateClientVpnEndpointRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetClientToken() const
bool TagSpecificationsHasBeenSet() const
CreateClientVpnEndpointRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool GetDisconnectOnSessionTimeout() const
void SetTagSpecifications(TagSpecificationsT &&value)
EndpointIpAddressType GetEndpointIpAddressType() const
bool SecurityGroupIdsHasBeenSet() const
CreateClientVpnEndpointRequest & WithEndpointIpAddressType(EndpointIpAddressType value)
CreateClientVpnEndpointRequest & WithTagSpecifications(TagSpecificationsT &&value)
CreateClientVpnEndpointRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
bool VpcIdHasBeenSet() const
SelfServicePortal GetSelfServicePortal() const
virtual const char * GetServiceRequestName() const override
void SetClientRouteEnforcementOptions(ClientRouteEnforcementOptionsT &&value)
bool DnsServersHasBeenSet() const
TransportProtocol GetTransportProtocol() const
void SetEndpointIpAddressType(EndpointIpAddressType value)
void SetVpnPort(int value)
CreateClientVpnEndpointRequest & WithClientRouteEnforcementOptions(ClientRouteEnforcementOptionsT &&value)
void SetDnsServers(DnsServersT &&value)
CreateClientVpnEndpointRequest & WithTrafficIpAddressType(TrafficIpAddressType value)
void SetClientCidrBlock(ClientCidrBlockT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::String & GetClientCidrBlock() const
bool ServerCertificateArnHasBeenSet() const
int GetSessionTimeoutHours() const
bool DisconnectOnSessionTimeoutHasBeenSet() const
bool TrafficIpAddressTypeHasBeenSet() const
TrafficIpAddressType GetTrafficIpAddressType() const
const ConnectionLogOptions & GetConnectionLogOptions() const
bool ClientCidrBlockHasBeenSet() const
const ClientRouteEnforcementOptions & GetClientRouteEnforcementOptions() const
bool DescriptionHasBeenSet() const
void SetDryRun(bool value)
CreateClientVpnEndpointRequest & WithClientToken(ClientTokenT &&value)
bool ClientLoginBannerOptionsHasBeenSet() const
void SetSessionTimeoutHours(int value)
bool TransportProtocolHasBeenSet() const
CreateClientVpnEndpointRequest & WithDisconnectOnSessionTimeout(bool value)
void SetSplitTunnel(bool value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector