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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/ConnectionLogOptions.h>
12#include <aws/ec2/model/TransportProtocol.h>
13#include <aws/ec2/model/SelfServicePortal.h>
14#include <aws/ec2/model/ClientConnectOptions.h>
15#include <aws/ec2/model/ClientLoginBannerOptions.h>
16#include <aws/ec2/model/ClientVpnAuthenticationRequest.h>
17#include <aws/ec2/model/TagSpecification.h>
19#include <aws/core/utils/UUID.h>
61 inline void SetClientCidrBlock(
const char* value) { m_clientCidrBlockHasBeenSet =
true; m_clientCidrBlock.assign(value); }
77 inline void SetServerCertificateArn(
const char* value) { m_serverCertificateArnHasBeenSet =
true; m_serverCertificateArn.assign(value); }
153 inline void SetVpnPort(
int value) { m_vpnPortHasBeenSet =
true; m_vpnPort = value; }
165 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
181 inline void SetSplitTunnel(
bool value) { m_splitTunnelHasBeenSet =
true; m_splitTunnel = value; }
194 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
209 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
255 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
313 bool m_clientCidrBlockHasBeenSet =
false;
316 bool m_serverCertificateArnHasBeenSet =
false;
319 bool m_authenticationOptionsHasBeenSet =
false;
322 bool m_connectionLogOptionsHasBeenSet =
false;
325 bool m_dnsServersHasBeenSet =
false;
328 bool m_transportProtocolHasBeenSet =
false;
331 bool m_vpnPortHasBeenSet =
false;
334 bool m_descriptionHasBeenSet =
false;
337 bool m_splitTunnelHasBeenSet =
false;
340 bool m_dryRunHasBeenSet =
false;
343 bool m_clientTokenHasBeenSet =
false;
346 bool m_tagSpecificationsHasBeenSet =
false;
349 bool m_securityGroupIdsHasBeenSet =
false;
352 bool m_vpcIdHasBeenSet =
false;
355 bool m_selfServicePortalHasBeenSet =
false;
358 bool m_clientConnectOptionsHasBeenSet =
false;
360 int m_sessionTimeoutHours;
361 bool m_sessionTimeoutHoursHasBeenSet =
false;
364 bool m_clientLoginBannerOptionsHasBeenSet =
false;
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
bool AuthenticationOptionsHasBeenSet() const
CreateClientVpnEndpointRequest & WithDescription(const char *value)
void SetClientToken(const char *value)
const Aws::String & GetVpcId() const
void SetSelfServicePortal(SelfServicePortal &&value)
const Aws::Vector< Aws::String > & GetDnsServers() const
const Aws::String & GetServerCertificateArn() const
CreateClientVpnEndpointRequest & WithVpnPort(int value)
CreateClientVpnEndpointRequest & WithClientCidrBlock(Aws::String &&value)
CreateClientVpnEndpointRequest & WithClientLoginBannerOptions(const ClientLoginBannerOptions &value)
CreateClientVpnEndpointRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateClientVpnEndpointRequest & AddDnsServers(const char *value)
void SetClientCidrBlock(const Aws::String &value)
bool SplitTunnelHasBeenSet() const
bool ConnectionLogOptionsHasBeenSet() const
void SetVpcId(Aws::String &&value)
bool ClientConnectOptionsHasBeenSet() const
void SetClientLoginBannerOptions(ClientLoginBannerOptions &&value)
bool ClientTokenHasBeenSet() const
CreateClientVpnEndpointRequest & WithClientToken(const char *value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateClientVpnEndpointRequest & WithSelfServicePortal(const SelfServicePortal &value)
CreateClientVpnEndpointRequest & WithServerCertificateArn(const char *value)
void SetClientConnectOptions(ClientConnectOptions &&value)
CreateClientVpnEndpointRequest & AddSecurityGroupIds(const char *value)
void SetServerCertificateArn(const Aws::String &value)
CreateClientVpnEndpointRequest & WithDryRun(bool value)
const ClientConnectOptions & GetClientConnectOptions() const
void SetConnectionLogOptions(ConnectionLogOptions &&value)
CreateClientVpnEndpointRequest & WithClientToken(const Aws::String &value)
bool VpnPortHasBeenSet() const
CreateClientVpnEndpointRequest & AddAuthenticationOptions(ClientVpnAuthenticationRequest &&value)
void SetClientLoginBannerOptions(const ClientLoginBannerOptions &value)
AWS_EC2_API CreateClientVpnEndpointRequest()
void SetServerCertificateArn(const char *value)
void SetDescription(Aws::String &&value)
CreateClientVpnEndpointRequest & WithDescription(const Aws::String &value)
const TransportProtocol & GetTransportProtocol() const
CreateClientVpnEndpointRequest & WithConnectionLogOptions(ConnectionLogOptions &&value)
void SetDescription(const char *value)
bool DryRunHasBeenSet() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
CreateClientVpnEndpointRequest & WithSelfServicePortal(SelfServicePortal &&value)
CreateClientVpnEndpointRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateClientVpnEndpointRequest & AddDnsServers(const Aws::String &value)
void SetDnsServers(const Aws::Vector< Aws::String > &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const ClientLoginBannerOptions & GetClientLoginBannerOptions() const
CreateClientVpnEndpointRequest & WithConnectionLogOptions(const ConnectionLogOptions &value)
bool SelfServicePortalHasBeenSet() const
CreateClientVpnEndpointRequest & WithDescription(Aws::String &&value)
void SetClientToken(const Aws::String &value)
CreateClientVpnEndpointRequest & AddTagSpecifications(const TagSpecification &value)
void SetClientCidrBlock(const char *value)
void SetDescription(const Aws::String &value)
CreateClientVpnEndpointRequest & WithClientConnectOptions(const ClientConnectOptions &value)
const Aws::String & GetDescription() const
CreateClientVpnEndpointRequest & AddDnsServers(Aws::String &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetTransportProtocol(TransportProtocol &&value)
CreateClientVpnEndpointRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateClientVpnEndpointRequest & WithAuthenticationOptions(const Aws::Vector< ClientVpnAuthenticationRequest > &value)
void SetAuthenticationOptions(const Aws::Vector< ClientVpnAuthenticationRequest > &value)
CreateClientVpnEndpointRequest & WithClientConnectOptions(ClientConnectOptions &&value)
void SetVpcId(const char *value)
bool SessionTimeoutHoursHasBeenSet() const
void SetClientConnectOptions(const ClientConnectOptions &value)
CreateClientVpnEndpointRequest & WithSessionTimeoutHours(int value)
CreateClientVpnEndpointRequest & WithClientCidrBlock(const Aws::String &value)
const Aws::Vector< ClientVpnAuthenticationRequest > & GetAuthenticationOptions() const
AWS_EC2_API Aws::String SerializePayload() const override
CreateClientVpnEndpointRequest & AddSecurityGroupIds(const Aws::String &value)
bool GetSplitTunnel() const
void SetClientCidrBlock(Aws::String &&value)
CreateClientVpnEndpointRequest & WithTransportProtocol(TransportProtocol &&value)
CreateClientVpnEndpointRequest & WithVpcId(Aws::String &&value)
CreateClientVpnEndpointRequest & WithSplitTunnel(bool value)
CreateClientVpnEndpointRequest & WithDnsServers(const Aws::Vector< Aws::String > &value)
CreateClientVpnEndpointRequest & WithServerCertificateArn(Aws::String &&value)
const Aws::String & GetClientToken() const
const SelfServicePortal & GetSelfServicePortal() const
CreateClientVpnEndpointRequest & AddTagSpecifications(TagSpecification &&value)
bool TagSpecificationsHasBeenSet() const
void SetVpcId(const Aws::String &value)
bool SecurityGroupIdsHasBeenSet() const
CreateClientVpnEndpointRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetServerCertificateArn(Aws::String &&value)
bool VpcIdHasBeenSet() const
CreateClientVpnEndpointRequest & WithVpcId(const char *value)
virtual const char * GetServiceRequestName() const override
bool DnsServersHasBeenSet() const
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetAuthenticationOptions(Aws::Vector< ClientVpnAuthenticationRequest > &&value)
void SetVpnPort(int value)
CreateClientVpnEndpointRequest & AddSecurityGroupIds(Aws::String &&value)
void SetClientToken(Aws::String &&value)
const Aws::String & GetClientCidrBlock() const
bool ServerCertificateArnHasBeenSet() const
int GetSessionTimeoutHours() const
CreateClientVpnEndpointRequest & WithClientCidrBlock(const char *value)
CreateClientVpnEndpointRequest & WithVpcId(const Aws::String &value)
CreateClientVpnEndpointRequest & WithClientToken(Aws::String &&value)
CreateClientVpnEndpointRequest & WithClientLoginBannerOptions(ClientLoginBannerOptions &&value)
void SetSelfServicePortal(const SelfServicePortal &value)
CreateClientVpnEndpointRequest & WithServerCertificateArn(const Aws::String &value)
const ConnectionLogOptions & GetConnectionLogOptions() const
CreateClientVpnEndpointRequest & WithDnsServers(Aws::Vector< Aws::String > &&value)
CreateClientVpnEndpointRequest & AddAuthenticationOptions(const ClientVpnAuthenticationRequest &value)
bool ClientCidrBlockHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetDryRun(bool value)
bool ClientLoginBannerOptionsHasBeenSet() const
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetSessionTimeoutHours(int value)
void SetConnectionLogOptions(const ConnectionLogOptions &value)
CreateClientVpnEndpointRequest & WithAuthenticationOptions(Aws::Vector< ClientVpnAuthenticationRequest > &&value)
void SetDnsServers(Aws::Vector< Aws::String > &&value)
void SetTransportProtocol(const TransportProtocol &value)
CreateClientVpnEndpointRequest & WithTransportProtocol(const TransportProtocol &value)
bool TransportProtocolHasBeenSet() const
void SetSplitTunnel(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector