7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/TunnelInsideIpVersion.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ec2/model/VpnTunnelOptionsSpecification.h>
52 inline void SetEnableAcceleration(
bool value) { m_enableAccelerationHasBeenSet =
true; m_enableAcceleration = value; }
92 inline void SetLocalIpv4NetworkCidr(
const char* value) { m_localIpv4NetworkCidrHasBeenSet =
true; m_localIpv4NetworkCidr.assign(value); }
107 inline void SetRemoteIpv4NetworkCidr(
const char* value) { m_remoteIpv4NetworkCidrHasBeenSet =
true; m_remoteIpv4NetworkCidr.assign(value); }
122 inline void SetLocalIpv6NetworkCidr(
const char* value) { m_localIpv6NetworkCidrHasBeenSet =
true; m_localIpv6NetworkCidr.assign(value); }
137 inline void SetRemoteIpv6NetworkCidr(
const char* value) { m_remoteIpv6NetworkCidrHasBeenSet =
true; m_remoteIpv6NetworkCidr.assign(value); }
153 inline void SetOutsideIpAddressType(
const char* value) { m_outsideIpAddressTypeHasBeenSet =
true; m_outsideIpAddressType.assign(value); }
183 inline void SetStaticRoutesOnly(
bool value) { m_staticRoutesOnlyHasBeenSet =
true; m_staticRoutesOnly = value; }
188 bool m_enableAcceleration;
189 bool m_enableAccelerationHasBeenSet =
false;
192 bool m_tunnelInsideIpVersionHasBeenSet =
false;
195 bool m_tunnelOptionsHasBeenSet =
false;
198 bool m_localIpv4NetworkCidrHasBeenSet =
false;
201 bool m_remoteIpv4NetworkCidrHasBeenSet =
false;
204 bool m_localIpv6NetworkCidrHasBeenSet =
false;
207 bool m_remoteIpv6NetworkCidrHasBeenSet =
false;
210 bool m_outsideIpAddressTypeHasBeenSet =
false;
213 bool m_transportTransitGatewayAttachmentIdHasBeenSet =
false;
215 bool m_staticRoutesOnly;
216 bool m_staticRoutesOnlyHasBeenSet =
false;
void SetRemoteIpv4NetworkCidr(Aws::String &&value)
VpnConnectionOptionsSpecification & AddTunnelOptions(const VpnTunnelOptionsSpecification &value)
VpnConnectionOptionsSpecification & WithTunnelOptions(const Aws::Vector< VpnTunnelOptionsSpecification > &value)
VpnConnectionOptionsSpecification & WithTransportTransitGatewayAttachmentId(const char *value)
void SetTransportTransitGatewayAttachmentId(const char *value)
bool TunnelOptionsHasBeenSet() const
VpnConnectionOptionsSpecification & WithRemoteIpv6NetworkCidr(Aws::String &&value)
void SetOutsideIpAddressType(Aws::String &&value)
void SetRemoteIpv6NetworkCidr(Aws::String &&value)
bool LocalIpv6NetworkCidrHasBeenSet() const
bool TunnelInsideIpVersionHasBeenSet() const
VpnConnectionOptionsSpecification & WithOutsideIpAddressType(const Aws::String &value)
VpnConnectionOptionsSpecification & WithTunnelInsideIpVersion(const TunnelInsideIpVersion &value)
void SetEnableAcceleration(bool value)
VpnConnectionOptionsSpecification & WithLocalIpv4NetworkCidr(const char *value)
void SetLocalIpv6NetworkCidr(Aws::String &&value)
VpnConnectionOptionsSpecification & WithOutsideIpAddressType(Aws::String &&value)
void SetRemoteIpv6NetworkCidr(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTransportTransitGatewayAttachmentId(const Aws::String &value)
void SetRemoteIpv4NetworkCidr(const char *value)
VpnConnectionOptionsSpecification & WithRemoteIpv4NetworkCidr(const Aws::String &value)
VpnConnectionOptionsSpecification & WithOutsideIpAddressType(const char *value)
const Aws::String & GetLocalIpv6NetworkCidr() const
bool GetEnableAcceleration() const
void SetStaticRoutesOnly(bool value)
const Aws::String & GetOutsideIpAddressType() const
void SetTunnelInsideIpVersion(const TunnelInsideIpVersion &value)
VpnConnectionOptionsSpecification & WithRemoteIpv4NetworkCidr(Aws::String &&value)
VpnConnectionOptionsSpecification & WithRemoteIpv6NetworkCidr(const Aws::String &value)
bool GetStaticRoutesOnly() const
VpnConnectionOptionsSpecification & WithLocalIpv6NetworkCidr(Aws::String &&value)
AWS_EC2_API VpnConnectionOptionsSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetRemoteIpv4NetworkCidr() const
bool RemoteIpv4NetworkCidrHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetOutsideIpAddressType(const Aws::String &value)
bool LocalIpv4NetworkCidrHasBeenSet() const
const TunnelInsideIpVersion & GetTunnelInsideIpVersion() const
VpnConnectionOptionsSpecification & WithStaticRoutesOnly(bool value)
bool RemoteIpv6NetworkCidrHasBeenSet() const
VpnConnectionOptionsSpecification & WithTransportTransitGatewayAttachmentId(Aws::String &&value)
void SetRemoteIpv6NetworkCidr(const Aws::String &value)
void SetLocalIpv4NetworkCidr(Aws::String &&value)
bool StaticRoutesOnlyHasBeenSet() const
VpnConnectionOptionsSpecification & WithEnableAcceleration(bool value)
void SetLocalIpv4NetworkCidr(const char *value)
VpnConnectionOptionsSpecification & WithLocalIpv6NetworkCidr(const Aws::String &value)
bool EnableAccelerationHasBeenSet() const
void SetTunnelOptions(Aws::Vector< VpnTunnelOptionsSpecification > &&value)
void SetLocalIpv6NetworkCidr(const char *value)
VpnConnectionOptionsSpecification & WithRemoteIpv4NetworkCidr(const char *value)
VpnConnectionOptionsSpecification & WithRemoteIpv6NetworkCidr(const char *value)
AWS_EC2_API VpnConnectionOptionsSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VpnConnectionOptionsSpecification & AddTunnelOptions(VpnTunnelOptionsSpecification &&value)
VpnConnectionOptionsSpecification & WithTransportTransitGatewayAttachmentId(const Aws::String &value)
AWS_EC2_API VpnConnectionOptionsSpecification()
VpnConnectionOptionsSpecification & WithLocalIpv6NetworkCidr(const char *value)
void SetOutsideIpAddressType(const char *value)
VpnConnectionOptionsSpecification & WithTunnelOptions(Aws::Vector< VpnTunnelOptionsSpecification > &&value)
VpnConnectionOptionsSpecification & WithLocalIpv4NetworkCidr(Aws::String &&value)
void SetTunnelInsideIpVersion(TunnelInsideIpVersion &&value)
bool TransportTransitGatewayAttachmentIdHasBeenSet() const
const Aws::Vector< VpnTunnelOptionsSpecification > & GetTunnelOptions() const
VpnConnectionOptionsSpecification & WithLocalIpv4NetworkCidr(const Aws::String &value)
void SetTunnelOptions(const Aws::Vector< VpnTunnelOptionsSpecification > &value)
const Aws::String & GetLocalIpv4NetworkCidr() const
const Aws::String & GetRemoteIpv6NetworkCidr() const
void SetLocalIpv6NetworkCidr(const Aws::String &value)
const Aws::String & GetTransportTransitGatewayAttachmentId() const
void SetLocalIpv4NetworkCidr(const Aws::String &value)
void SetTransportTransitGatewayAttachmentId(Aws::String &&value)
VpnConnectionOptionsSpecification & WithTunnelInsideIpVersion(TunnelInsideIpVersion &&value)
void SetRemoteIpv4NetworkCidr(const Aws::String &value)
bool OutsideIpAddressTypeHasBeenSet() const
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