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>
59 inline void SetClientVpnEndpointId(
const char* value) { m_clientVpnEndpointIdHasBeenSet =
true; m_clientVpnEndpointId.assign(value); }
73 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
99 inline void SetCreationTime(
const char* value) { m_creationTimeHasBeenSet =
true; m_creationTime.assign(value); }
113 inline void SetDeletionTime(
const char* value) { m_deletionTimeHasBeenSet =
true; m_deletionTime.assign(value); }
128 inline void SetDnsName(
const char* value) { m_dnsNameHasBeenSet =
true; m_dnsName.assign(value); }
143 inline void SetClientCidrBlock(
const char* value) { m_clientCidrBlockHasBeenSet =
true; m_clientCidrBlock.assign(value); }
173 inline void SetSplitTunnel(
bool value) { m_splitTunnelHasBeenSet =
true; m_splitTunnel = value; }
207 inline void SetVpnPort(
int value) { m_vpnPortHasBeenSet =
true; m_vpnPort = value; }
219 inline void SetServerCertificateArn(
const char* value) { m_serverCertificateArnHasBeenSet =
true; m_serverCertificateArn.assign(value); }
290 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
304 inline void SetSelfServicePortalUrl(
const char* value) { m_selfServicePortalUrlHasBeenSet =
true; m_selfServicePortalUrl.assign(value); }
349 bool m_clientVpnEndpointIdHasBeenSet =
false;
352 bool m_descriptionHasBeenSet =
false;
355 bool m_statusHasBeenSet =
false;
358 bool m_creationTimeHasBeenSet =
false;
361 bool m_deletionTimeHasBeenSet =
false;
364 bool m_dnsNameHasBeenSet =
false;
367 bool m_clientCidrBlockHasBeenSet =
false;
370 bool m_dnsServersHasBeenSet =
false;
373 bool m_splitTunnelHasBeenSet =
false;
376 bool m_vpnProtocolHasBeenSet =
false;
379 bool m_transportProtocolHasBeenSet =
false;
382 bool m_vpnPortHasBeenSet =
false;
385 bool m_serverCertificateArnHasBeenSet =
false;
388 bool m_authenticationOptionsHasBeenSet =
false;
391 bool m_connectionLogOptionsHasBeenSet =
false;
394 bool m_tagsHasBeenSet =
false;
397 bool m_securityGroupIdsHasBeenSet =
false;
400 bool m_vpcIdHasBeenSet =
false;
403 bool m_selfServicePortalUrlHasBeenSet =
false;
406 bool m_clientConnectOptionsHasBeenSet =
false;
408 int m_sessionTimeoutHours;
409 bool m_sessionTimeoutHoursHasBeenSet =
false;
412 bool m_clientLoginBannerOptionsHasBeenSet =
false;
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)
bool DnsServersHasBeenSet() const
void SetClientLoginBannerOptions(ClientLoginBannerResponseOptions &&value)
AWS_EC2_API ClientVpnEndpoint()
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
bool VpnProtocolHasBeenSet() const
void SetDeletionTime(const char *value)
bool SelfServicePortalUrlHasBeenSet() const
ClientVpnEndpoint & WithVpnProtocol(const VpnProtocol &value)
void SetDnsServers(Aws::Vector< Aws::String > &&value)
bool ClientVpnEndpointIdHasBeenSet() const
ClientVpnEndpoint & WithClientVpnEndpointId(const char *value)
void SetClientConnectOptions(ClientConnectResponseOptions &&value)
void SetVpnPort(int value)
void SetVpcId(const Aws::String &value)
const ClientConnectResponseOptions & GetClientConnectOptions() const
void SetStatus(ClientVpnEndpointStatus &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
bool ClientCidrBlockHasBeenSet() const
const VpnProtocol & GetVpnProtocol() const
void SetSelfServicePortalUrl(const char *value)
ClientVpnEndpoint & WithDescription(Aws::String &&value)
ClientVpnEndpoint & WithCreationTime(Aws::String &&value)
void SetSessionTimeoutHours(int value)
void SetConnectionLogOptions(ConnectionLogResponseOptions &&value)
void SetSelfServicePortalUrl(const Aws::String &value)
bool GetSplitTunnel() const
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)
bool DeletionTimeHasBeenSet() const
bool ClientLoginBannerOptionsHasBeenSet() const
const ClientLoginBannerResponseOptions & GetClientLoginBannerOptions() const
void SetVpcId(const char *value)
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 SetSplitTunnel(bool value)
int GetSessionTimeoutHours() const
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)
bool ServerCertificateArnHasBeenSet() const
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)
bool AuthenticationOptionsHasBeenSet() const
bool DescriptionHasBeenSet() const
const ClientVpnEndpointStatus & GetStatus() const
bool ConnectionLogOptionsHasBeenSet() const
void SetDnsName(const char *value)
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)
bool VpcIdHasBeenSet() const
bool SessionTimeoutHoursHasBeenSet() const
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)
bool VpnPortHasBeenSet() const
bool SecurityGroupIdsHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool CreationTimeHasBeenSet() const
bool DnsNameHasBeenSet() const
ClientVpnEndpoint & WithSplitTunnel(bool value)
ClientVpnEndpoint & AddSecurityGroupIds(Aws::String &&value)
void SetServerCertificateArn(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
bool TagsHasBeenSet() 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)
bool ClientConnectOptionsHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ClientVpnEndpoint & WithDescription(const char *value)
ClientVpnEndpoint & WithServerCertificateArn(const char *value)
bool TransportProtocolHasBeenSet() const
ClientVpnEndpoint & AddDnsServers(const Aws::String &value)
bool StatusHasBeenSet() const
ClientVpnEndpoint & AddTags(const Tag &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetClientCidrBlock(Aws::String &&value)
bool SplitTunnelHasBeenSet() const
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