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/TunnelInsideIpVersion.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/TunnelOption.h>
51 inline void SetEnableAcceleration(
bool value) { m_enableAccelerationHasBeenSet =
true; m_enableAcceleration = value; }
62 inline void SetStaticRoutesOnly(
bool value) { m_staticRoutesOnlyHasBeenSet =
true; m_staticRoutesOnly = value; }
75 inline void SetLocalIpv4NetworkCidr(
const char* value) { m_localIpv4NetworkCidrHasBeenSet =
true; m_localIpv4NetworkCidr.assign(value); }
89 inline void SetRemoteIpv4NetworkCidr(
const char* value) { m_remoteIpv4NetworkCidrHasBeenSet =
true; m_remoteIpv4NetworkCidr.assign(value); }
104 inline void SetLocalIpv6NetworkCidr(
const char* value) { m_localIpv6NetworkCidrHasBeenSet =
true; m_localIpv6NetworkCidr.assign(value); }
118 inline void SetRemoteIpv6NetworkCidr(
const char* value) { m_remoteIpv6NetworkCidrHasBeenSet =
true; m_remoteIpv6NetworkCidr.assign(value); }
134 inline void SetOutsideIpAddressType(
const char* value) { m_outsideIpAddressTypeHasBeenSet =
true; m_outsideIpAddressType.assign(value); }
181 bool m_enableAcceleration;
182 bool m_enableAccelerationHasBeenSet =
false;
184 bool m_staticRoutesOnly;
185 bool m_staticRoutesOnlyHasBeenSet =
false;
188 bool m_localIpv4NetworkCidrHasBeenSet =
false;
191 bool m_remoteIpv4NetworkCidrHasBeenSet =
false;
194 bool m_localIpv6NetworkCidrHasBeenSet =
false;
197 bool m_remoteIpv6NetworkCidrHasBeenSet =
false;
200 bool m_outsideIpAddressTypeHasBeenSet =
false;
203 bool m_transportTransitGatewayAttachmentIdHasBeenSet =
false;
206 bool m_tunnelInsideIpVersionHasBeenSet =
false;
209 bool m_tunnelOptionsHasBeenSet =
false;
VpnConnectionOptions & WithLocalIpv6NetworkCidr(const Aws::String &value)
VpnConnectionOptions & WithOutsideIpAddressType(const char *value)
VpnConnectionOptions & WithLocalIpv4NetworkCidr(const Aws::String &value)
VpnConnectionOptions & WithTransportTransitGatewayAttachmentId(Aws::String &&value)
VpnConnectionOptions & WithTransportTransitGatewayAttachmentId(const char *value)
void SetTransportTransitGatewayAttachmentId(Aws::String &&value)
void SetTunnelOptions(Aws::Vector< TunnelOption > &&value)
void SetLocalIpv4NetworkCidr(Aws::String &&value)
const Aws::String & GetLocalIpv4NetworkCidr() const
void SetLocalIpv4NetworkCidr(const char *value)
void SetRemoteIpv4NetworkCidr(const char *value)
void SetOutsideIpAddressType(const Aws::String &value)
void SetLocalIpv6NetworkCidr(const Aws::String &value)
const Aws::String & GetRemoteIpv6NetworkCidr() const
bool TunnelOptionsHasBeenSet() const
const Aws::String & GetOutsideIpAddressType() const
void SetTunnelInsideIpVersion(TunnelInsideIpVersion &&value)
AWS_EC2_API VpnConnectionOptions()
bool EnableAccelerationHasBeenSet() const
void SetOutsideIpAddressType(Aws::String &&value)
bool TunnelInsideIpVersionHasBeenSet() const
VpnConnectionOptions & AddTunnelOptions(const TunnelOption &value)
bool GetEnableAcceleration() const
bool TransportTransitGatewayAttachmentIdHasBeenSet() const
VpnConnectionOptions & WithRemoteIpv6NetworkCidr(const Aws::String &value)
bool RemoteIpv6NetworkCidrHasBeenSet() const
void SetLocalIpv6NetworkCidr(const char *value)
bool LocalIpv6NetworkCidrHasBeenSet() const
VpnConnectionOptions & WithRemoteIpv4NetworkCidr(const char *value)
VpnConnectionOptions & AddTunnelOptions(TunnelOption &&value)
VpnConnectionOptions & WithOutsideIpAddressType(const Aws::String &value)
AWS_EC2_API VpnConnectionOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
VpnConnectionOptions & WithRemoteIpv6NetworkCidr(Aws::String &&value)
bool LocalIpv4NetworkCidrHasBeenSet() const
VpnConnectionOptions & WithRemoteIpv6NetworkCidr(const char *value)
VpnConnectionOptions & WithTunnelInsideIpVersion(TunnelInsideIpVersion &&value)
VpnConnectionOptions & WithLocalIpv6NetworkCidr(Aws::String &&value)
const Aws::String & GetRemoteIpv4NetworkCidr() const
void SetLocalIpv4NetworkCidr(const Aws::String &value)
VpnConnectionOptions & WithRemoteIpv4NetworkCidr(const Aws::String &value)
VpnConnectionOptions & WithTunnelOptions(const Aws::Vector< TunnelOption > &value)
VpnConnectionOptions & WithLocalIpv4NetworkCidr(Aws::String &&value)
const Aws::Vector< TunnelOption > & GetTunnelOptions() const
VpnConnectionOptions & WithLocalIpv6NetworkCidr(const char *value)
AWS_EC2_API VpnConnectionOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool OutsideIpAddressTypeHasBeenSet() const
VpnConnectionOptions & WithRemoteIpv4NetworkCidr(Aws::String &&value)
void SetRemoteIpv6NetworkCidr(Aws::String &&value)
void SetRemoteIpv6NetworkCidr(const Aws::String &value)
void SetTransportTransitGatewayAttachmentId(const char *value)
VpnConnectionOptions & WithLocalIpv4NetworkCidr(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)
bool StaticRoutesOnlyHasBeenSet() const
VpnConnectionOptions & WithTunnelInsideIpVersion(const TunnelInsideIpVersion &value)
VpnConnectionOptions & WithEnableAcceleration(bool value)
const TunnelInsideIpVersion & GetTunnelInsideIpVersion() const
VpnConnectionOptions & WithTransportTransitGatewayAttachmentId(const Aws::String &value)
VpnConnectionOptions & WithStaticRoutesOnly(bool value)
void SetRemoteIpv4NetworkCidr(Aws::String &&value)
bool GetStaticRoutesOnly() const
void SetTunnelInsideIpVersion(const TunnelInsideIpVersion &value)
void SetStaticRoutesOnly(bool value)
void SetRemoteIpv4NetworkCidr(const Aws::String &value)
VpnConnectionOptions & WithTunnelOptions(Aws::Vector< TunnelOption > &&value)
void SetLocalIpv6NetworkCidr(Aws::String &&value)
const Aws::String & GetLocalIpv6NetworkCidr() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTunnelOptions(const Aws::Vector< TunnelOption > &value)
void SetEnableAcceleration(bool value)
bool RemoteIpv4NetworkCidrHasBeenSet() const
const Aws::String & GetTransportTransitGatewayAttachmentId() const
VpnConnectionOptions & WithOutsideIpAddressType(Aws::String &&value)
void SetOutsideIpAddressType(const char *value)
void SetRemoteIpv6NetworkCidr(const char *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