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; }
73 template<
typename TunnelOptionsT = Aws::Vector<VpnTunnelOptionsSpecification>>
74 void SetTunnelOptions(TunnelOptionsT&& value) { m_tunnelOptionsHasBeenSet =
true; m_tunnelOptions = std::forward<TunnelOptionsT>(value); }
75 template<
typename TunnelOptionsT = Aws::Vector<VpnTunnelOptionsSpecification>>
77 template<
typename TunnelOptionsT = VpnTunnelOptionsSpecification>
88 template<
typename LocalIpv4NetworkC
idrT = Aws::String>
89 void SetLocalIpv4NetworkCidr(LocalIpv4NetworkCidrT&& value) { m_localIpv4NetworkCidrHasBeenSet =
true; m_localIpv4NetworkCidr = std::forward<LocalIpv4NetworkCidrT>(value); }
90 template<
typename LocalIpv4NetworkC
idrT = Aws::String>
101 template<
typename RemoteIpv4NetworkC
idrT = Aws::String>
102 void SetRemoteIpv4NetworkCidr(RemoteIpv4NetworkCidrT&& value) { m_remoteIpv4NetworkCidrHasBeenSet =
true; m_remoteIpv4NetworkCidr = std::forward<RemoteIpv4NetworkCidrT>(value); }
103 template<
typename RemoteIpv4NetworkC
idrT = Aws::String>
114 template<
typename LocalIpv6NetworkC
idrT = Aws::String>
115 void SetLocalIpv6NetworkCidr(LocalIpv6NetworkCidrT&& value) { m_localIpv6NetworkCidrHasBeenSet =
true; m_localIpv6NetworkCidr = std::forward<LocalIpv6NetworkCidrT>(value); }
116 template<
typename LocalIpv6NetworkC
idrT = Aws::String>
127 template<
typename RemoteIpv6NetworkC
idrT = Aws::String>
128 void SetRemoteIpv6NetworkCidr(RemoteIpv6NetworkCidrT&& value) { m_remoteIpv6NetworkCidrHasBeenSet =
true; m_remoteIpv6NetworkCidr = std::forward<RemoteIpv6NetworkCidrT>(value); }
129 template<
typename RemoteIpv6NetworkC
idrT = Aws::String>
142 template<
typename Outs
ideIpAddressTypeT = Aws::String>
143 void SetOutsideIpAddressType(OutsideIpAddressTypeT&& value) { m_outsideIpAddressTypeHasBeenSet =
true; m_outsideIpAddressType = std::forward<OutsideIpAddressTypeT>(value); }
144 template<
typename Outs
ideIpAddressTypeT = Aws::String>
155 template<
typename TransportTransitGatewayAttachmentIdT = Aws::String>
156 void SetTransportTransitGatewayAttachmentId(TransportTransitGatewayAttachmentIdT&& value) { m_transportTransitGatewayAttachmentIdHasBeenSet =
true; m_transportTransitGatewayAttachmentId = std::forward<TransportTransitGatewayAttachmentIdT>(value); }
157 template<
typename TransportTransitGatewayAttachmentIdT = Aws::String>
170 inline void SetStaticRoutesOnly(
bool value) { m_staticRoutesOnlyHasBeenSet =
true; m_staticRoutesOnly = value; }
175 bool m_enableAcceleration{
false};
176 bool m_enableAccelerationHasBeenSet =
false;
179 bool m_tunnelInsideIpVersionHasBeenSet =
false;
182 bool m_tunnelOptionsHasBeenSet =
false;
185 bool m_localIpv4NetworkCidrHasBeenSet =
false;
188 bool m_remoteIpv4NetworkCidrHasBeenSet =
false;
191 bool m_localIpv6NetworkCidrHasBeenSet =
false;
194 bool m_remoteIpv6NetworkCidrHasBeenSet =
false;
197 bool m_outsideIpAddressTypeHasBeenSet =
false;
200 bool m_transportTransitGatewayAttachmentIdHasBeenSet =
false;
202 bool m_staticRoutesOnly{
false};
203 bool m_staticRoutesOnlyHasBeenSet =
false;
void SetLocalIpv6NetworkCidr(LocalIpv6NetworkCidrT &&value)
bool TunnelOptionsHasBeenSet() const
void SetTunnelOptions(TunnelOptionsT &&value)
bool LocalIpv6NetworkCidrHasBeenSet() const
bool TunnelInsideIpVersionHasBeenSet() const
VpnConnectionOptionsSpecification & WithLocalIpv6NetworkCidr(LocalIpv6NetworkCidrT &&value)
VpnConnectionOptionsSpecification & WithLocalIpv4NetworkCidr(LocalIpv4NetworkCidrT &&value)
void SetEnableAcceleration(bool value)
void SetOutsideIpAddressType(OutsideIpAddressTypeT &&value)
VpnConnectionOptionsSpecification & WithRemoteIpv4NetworkCidr(RemoteIpv4NetworkCidrT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetLocalIpv6NetworkCidr() const
bool GetEnableAcceleration() const
void SetStaticRoutesOnly(bool value)
VpnConnectionOptionsSpecification & WithTransportTransitGatewayAttachmentId(TransportTransitGatewayAttachmentIdT &&value)
const Aws::String & GetOutsideIpAddressType() const
VpnConnectionOptionsSpecification & WithOutsideIpAddressType(OutsideIpAddressTypeT &&value)
bool GetStaticRoutesOnly() const
TunnelInsideIpVersion GetTunnelInsideIpVersion() const
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
bool LocalIpv4NetworkCidrHasBeenSet() const
VpnConnectionOptionsSpecification & WithStaticRoutesOnly(bool value)
bool RemoteIpv6NetworkCidrHasBeenSet() const
VpnConnectionOptionsSpecification & WithTunnelInsideIpVersion(TunnelInsideIpVersion value)
void SetRemoteIpv6NetworkCidr(RemoteIpv6NetworkCidrT &&value)
void SetLocalIpv4NetworkCidr(LocalIpv4NetworkCidrT &&value)
AWS_EC2_API VpnConnectionOptionsSpecification()=default
bool StaticRoutesOnlyHasBeenSet() const
void SetTunnelInsideIpVersion(TunnelInsideIpVersion value)
VpnConnectionOptionsSpecification & AddTunnelOptions(TunnelOptionsT &&value)
void SetRemoteIpv4NetworkCidr(RemoteIpv4NetworkCidrT &&value)
VpnConnectionOptionsSpecification & WithEnableAcceleration(bool value)
bool EnableAccelerationHasBeenSet() const
void SetTransportTransitGatewayAttachmentId(TransportTransitGatewayAttachmentIdT &&value)
AWS_EC2_API VpnConnectionOptionsSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VpnConnectionOptionsSpecification & WithTunnelOptions(TunnelOptionsT &&value)
bool TransportTransitGatewayAttachmentIdHasBeenSet() const
const Aws::Vector< VpnTunnelOptionsSpecification > & GetTunnelOptions() const
const Aws::String & GetLocalIpv4NetworkCidr() const
const Aws::String & GetRemoteIpv6NetworkCidr() const
const Aws::String & GetTransportTransitGatewayAttachmentId() const
VpnConnectionOptionsSpecification & WithRemoteIpv6NetworkCidr(RemoteIpv6NetworkCidrT &&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