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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/VpnTunnelLogOptionsSpecification.h>
12#include <aws/ec2/model/Phase1EncryptionAlgorithmsRequestListValue.h>
13#include <aws/ec2/model/Phase2EncryptionAlgorithmsRequestListValue.h>
14#include <aws/ec2/model/Phase1IntegrityAlgorithmsRequestListValue.h>
15#include <aws/ec2/model/Phase2IntegrityAlgorithmsRequestListValue.h>
16#include <aws/ec2/model/Phase1DHGroupNumbersRequestListValue.h>
17#include <aws/ec2/model/Phase2DHGroupNumbersRequestListValue.h>
18#include <aws/ec2/model/IKEVersionsRequestListValue.h>
67 inline void SetTunnelInsideCidr(
const char* value) { m_tunnelInsideCidrHasBeenSet =
true; m_tunnelInsideCidr.assign(value); }
84 inline void SetTunnelInsideIpv6Cidr(
const char* value) { m_tunnelInsideIpv6CidrHasBeenSet =
true; m_tunnelInsideIpv6Cidr.assign(value); }
101 inline void SetPreSharedKey(
const char* value) { m_preSharedKeyHasBeenSet =
true; m_preSharedKey.assign(value); }
167 inline void SetReplayWindowSize(
int value) { m_replayWindowSizeHasBeenSet =
true; m_replayWindowSize = value; }
178 inline void SetDPDTimeoutSeconds(
int value) { m_dPDTimeoutSecondsHasBeenSet =
true; m_dPDTimeoutSeconds = value; }
193 inline void SetDPDTimeoutAction(
const char* value) { m_dPDTimeoutActionHasBeenSet =
true; m_dPDTimeoutAction.assign(value); }
328 inline void SetStartupAction(
const char* value) { m_startupActionHasBeenSet =
true; m_startupAction.assign(value); }
358 bool m_tunnelInsideCidrHasBeenSet =
false;
361 bool m_tunnelInsideIpv6CidrHasBeenSet =
false;
364 bool m_preSharedKeyHasBeenSet =
false;
366 int m_phase1LifetimeSeconds;
367 bool m_phase1LifetimeSecondsHasBeenSet =
false;
369 int m_phase2LifetimeSeconds;
370 bool m_phase2LifetimeSecondsHasBeenSet =
false;
372 int m_rekeyMarginTimeSeconds;
373 bool m_rekeyMarginTimeSecondsHasBeenSet =
false;
375 int m_rekeyFuzzPercentage;
376 bool m_rekeyFuzzPercentageHasBeenSet =
false;
378 int m_replayWindowSize;
379 bool m_replayWindowSizeHasBeenSet =
false;
381 int m_dPDTimeoutSeconds;
382 bool m_dPDTimeoutSecondsHasBeenSet =
false;
385 bool m_dPDTimeoutActionHasBeenSet =
false;
388 bool m_phase1EncryptionAlgorithmsHasBeenSet =
false;
391 bool m_phase2EncryptionAlgorithmsHasBeenSet =
false;
394 bool m_phase1IntegrityAlgorithmsHasBeenSet =
false;
397 bool m_phase2IntegrityAlgorithmsHasBeenSet =
false;
400 bool m_phase1DHGroupNumbersHasBeenSet =
false;
403 bool m_phase2DHGroupNumbersHasBeenSet =
false;
406 bool m_iKEVersionsHasBeenSet =
false;
409 bool m_startupActionHasBeenSet =
false;
412 bool m_logOptionsHasBeenSet =
false;
414 bool m_enableTunnelLifecycleControl;
415 bool m_enableTunnelLifecycleControlHasBeenSet =
false;
bool IKEVersionsHasBeenSet() const
const Aws::String & GetTunnelInsideIpv6Cidr() const
int GetReplayWindowSize() const
void SetStartupAction(const Aws::String &value)
VpnTunnelOptionsSpecification & WithPhase2EncryptionAlgorithms(const Aws::Vector< Phase2EncryptionAlgorithmsRequestListValue > &value)
VpnTunnelOptionsSpecification & WithStartupAction(const Aws::String &value)
void SetPhase2DHGroupNumbers(Aws::Vector< Phase2DHGroupNumbersRequestListValue > &&value)
bool Phase1EncryptionAlgorithmsHasBeenSet() const
void SetEnableTunnelLifecycleControl(bool value)
bool LogOptionsHasBeenSet() const
void SetPhase2IntegrityAlgorithms(const Aws::Vector< Phase2IntegrityAlgorithmsRequestListValue > &value)
bool Phase2DHGroupNumbersHasBeenSet() const
VpnTunnelOptionsSpecification & WithPhase1IntegrityAlgorithms(Aws::Vector< Phase1IntegrityAlgorithmsRequestListValue > &&value)
VpnTunnelOptionsSpecification & WithPhase2IntegrityAlgorithms(const Aws::Vector< Phase2IntegrityAlgorithmsRequestListValue > &value)
void SetPhase2LifetimeSeconds(int value)
VpnTunnelOptionsSpecification & WithPhase2DHGroupNumbers(const Aws::Vector< Phase2DHGroupNumbersRequestListValue > &value)
bool DPDTimeoutActionHasBeenSet() const
void SetTunnelInsideIpv6Cidr(const Aws::String &value)
void SetPreSharedKey(Aws::String &&value)
VpnTunnelOptionsSpecification & WithPhase1EncryptionAlgorithms(const Aws::Vector< Phase1EncryptionAlgorithmsRequestListValue > &value)
VpnTunnelOptionsSpecification & AddPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsRequestListValue &&value)
VpnTunnelOptionsSpecification & WithTunnelInsideCidr(const Aws::String &value)
VpnTunnelOptionsSpecification & WithPreSharedKey(Aws::String &&value)
VpnTunnelOptionsSpecification & WithPhase2IntegrityAlgorithms(Aws::Vector< Phase2IntegrityAlgorithmsRequestListValue > &&value)
VpnTunnelOptionsSpecification & AddIKEVersions(IKEVersionsRequestListValue &&value)
void SetStartupAction(Aws::String &&value)
void SetTunnelInsideIpv6Cidr(const char *value)
bool StartupActionHasBeenSet() const
const VpnTunnelLogOptionsSpecification & GetLogOptions() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetPhase1EncryptionAlgorithms(const Aws::Vector< Phase1EncryptionAlgorithmsRequestListValue > &value)
VpnTunnelOptionsSpecification & WithPreSharedKey(const Aws::String &value)
void SetReplayWindowSize(int value)
const Aws::Vector< Phase2DHGroupNumbersRequestListValue > & GetPhase2DHGroupNumbers() const
void SetPreSharedKey(const Aws::String &value)
VpnTunnelOptionsSpecification & WithPhase1DHGroupNumbers(const Aws::Vector< Phase1DHGroupNumbersRequestListValue > &value)
bool ReplayWindowSizeHasBeenSet() const
VpnTunnelOptionsSpecification & WithTunnelInsideCidr(const char *value)
int GetRekeyMarginTimeSeconds() const
VpnTunnelOptionsSpecification & WithDPDTimeoutAction(const char *value)
void SetPhase1IntegrityAlgorithms(const Aws::Vector< Phase1IntegrityAlgorithmsRequestListValue > &value)
void SetPhase2EncryptionAlgorithms(const Aws::Vector< Phase2EncryptionAlgorithmsRequestListValue > &value)
bool Phase2IntegrityAlgorithmsHasBeenSet() const
VpnTunnelOptionsSpecification & WithTunnelInsideIpv6Cidr(Aws::String &&value)
void SetPhase2DHGroupNumbers(const Aws::Vector< Phase2DHGroupNumbersRequestListValue > &value)
VpnTunnelOptionsSpecification & WithRekeyFuzzPercentage(int value)
VpnTunnelOptionsSpecification & AddPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsRequestListValue &&value)
void SetPhase1DHGroupNumbers(const Aws::Vector< Phase1DHGroupNumbersRequestListValue > &value)
void SetTunnelInsideCidr(const char *value)
void SetDPDTimeoutAction(Aws::String &&value)
VpnTunnelOptionsSpecification & AddPhase1EncryptionAlgorithms(const Phase1EncryptionAlgorithmsRequestListValue &value)
VpnTunnelOptionsSpecification & WithPhase1LifetimeSeconds(int value)
AWS_EC2_API VpnTunnelOptionsSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
int GetRekeyFuzzPercentage() const
VpnTunnelOptionsSpecification & WithDPDTimeoutAction(const Aws::String &value)
bool RekeyFuzzPercentageHasBeenSet() const
bool PreSharedKeyHasBeenSet() const
void SetIKEVersions(const Aws::Vector< IKEVersionsRequestListValue > &value)
VpnTunnelOptionsSpecification & WithStartupAction(const char *value)
bool GetEnableTunnelLifecycleControl() const
VpnTunnelOptionsSpecification & WithPhase1DHGroupNumbers(Aws::Vector< Phase1DHGroupNumbersRequestListValue > &&value)
const Aws::Vector< Phase1IntegrityAlgorithmsRequestListValue > & GetPhase1IntegrityAlgorithms() const
VpnTunnelOptionsSpecification & WithRekeyMarginTimeSeconds(int value)
void SetTunnelInsideIpv6Cidr(Aws::String &&value)
const Aws::Vector< Phase2EncryptionAlgorithmsRequestListValue > & GetPhase2EncryptionAlgorithms() const
VpnTunnelOptionsSpecification & WithPhase2DHGroupNumbers(Aws::Vector< Phase2DHGroupNumbersRequestListValue > &&value)
void SetTunnelInsideCidr(const Aws::String &value)
VpnTunnelOptionsSpecification & AddPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsRequestListValue &&value)
VpnTunnelOptionsSpecification & WithDPDTimeoutSeconds(int value)
AWS_EC2_API VpnTunnelOptionsSpecification()
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VpnTunnelOptionsSpecification & AddPhase2DHGroupNumbers(const Phase2DHGroupNumbersRequestListValue &value)
int GetPhase1LifetimeSeconds() const
VpnTunnelOptionsSpecification & WithStartupAction(Aws::String &&value)
AWS_EC2_API VpnTunnelOptionsSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
VpnTunnelOptionsSpecification & WithPhase2LifetimeSeconds(int value)
VpnTunnelOptionsSpecification & WithTunnelInsideIpv6Cidr(const char *value)
bool TunnelInsideIpv6CidrHasBeenSet() const
int GetPhase2LifetimeSeconds() const
void SetRekeyMarginTimeSeconds(int value)
const Aws::Vector< IKEVersionsRequestListValue > & GetIKEVersions() const
void SetStartupAction(const char *value)
void SetPhase1IntegrityAlgorithms(Aws::Vector< Phase1IntegrityAlgorithmsRequestListValue > &&value)
bool TunnelInsideCidrHasBeenSet() const
void SetPhase1DHGroupNumbers(Aws::Vector< Phase1DHGroupNumbersRequestListValue > &&value)
const Aws::Vector< Phase1DHGroupNumbersRequestListValue > & GetPhase1DHGroupNumbers() const
void SetDPDTimeoutSeconds(int value)
VpnTunnelOptionsSpecification & WithPhase1IntegrityAlgorithms(const Aws::Vector< Phase1IntegrityAlgorithmsRequestListValue > &value)
void SetIKEVersions(Aws::Vector< IKEVersionsRequestListValue > &&value)
VpnTunnelOptionsSpecification & AddPhase1DHGroupNumbers(Phase1DHGroupNumbersRequestListValue &&value)
bool RekeyMarginTimeSecondsHasBeenSet() const
bool Phase2LifetimeSecondsHasBeenSet() const
VpnTunnelOptionsSpecification & AddPhase1DHGroupNumbers(const Phase1DHGroupNumbersRequestListValue &value)
void SetPhase1EncryptionAlgorithms(Aws::Vector< Phase1EncryptionAlgorithmsRequestListValue > &&value)
void SetPreSharedKey(const char *value)
const Aws::String & GetStartupAction() const
bool Phase1LifetimeSecondsHasBeenSet() const
VpnTunnelOptionsSpecification & WithIKEVersions(Aws::Vector< IKEVersionsRequestListValue > &&value)
void SetDPDTimeoutAction(const char *value)
VpnTunnelOptionsSpecification & WithDPDTimeoutAction(Aws::String &&value)
VpnTunnelOptionsSpecification & WithReplayWindowSize(int value)
VpnTunnelOptionsSpecification & AddIKEVersions(const IKEVersionsRequestListValue &value)
VpnTunnelOptionsSpecification & AddPhase1IntegrityAlgorithms(const Phase1IntegrityAlgorithmsRequestListValue &value)
VpnTunnelOptionsSpecification & WithLogOptions(VpnTunnelLogOptionsSpecification &&value)
void SetTunnelInsideCidr(Aws::String &&value)
VpnTunnelOptionsSpecification & WithIKEVersions(const Aws::Vector< IKEVersionsRequestListValue > &value)
VpnTunnelOptionsSpecification & WithLogOptions(const VpnTunnelLogOptionsSpecification &value)
VpnTunnelOptionsSpecification & WithTunnelInsideCidr(Aws::String &&value)
const Aws::Vector< Phase2IntegrityAlgorithmsRequestListValue > & GetPhase2IntegrityAlgorithms() const
void SetPhase1LifetimeSeconds(int value)
VpnTunnelOptionsSpecification & WithPhase2EncryptionAlgorithms(Aws::Vector< Phase2EncryptionAlgorithmsRequestListValue > &&value)
VpnTunnelOptionsSpecification & AddPhase2DHGroupNumbers(Phase2DHGroupNumbersRequestListValue &&value)
void SetPhase2EncryptionAlgorithms(Aws::Vector< Phase2EncryptionAlgorithmsRequestListValue > &&value)
void SetLogOptions(const VpnTunnelLogOptionsSpecification &value)
void SetLogOptions(VpnTunnelLogOptionsSpecification &&value)
VpnTunnelOptionsSpecification & AddPhase2IntegrityAlgorithms(const Phase2IntegrityAlgorithmsRequestListValue &value)
const Aws::String & GetDPDTimeoutAction() const
void SetRekeyFuzzPercentage(int value)
VpnTunnelOptionsSpecification & WithPhase1EncryptionAlgorithms(Aws::Vector< Phase1EncryptionAlgorithmsRequestListValue > &&value)
const Aws::String & GetPreSharedKey() const
VpnTunnelOptionsSpecification & AddPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsRequestListValue &&value)
const Aws::Vector< Phase1EncryptionAlgorithmsRequestListValue > & GetPhase1EncryptionAlgorithms() const
bool DPDTimeoutSecondsHasBeenSet() const
bool Phase1DHGroupNumbersHasBeenSet() const
void SetPhase2IntegrityAlgorithms(Aws::Vector< Phase2IntegrityAlgorithmsRequestListValue > &&value)
bool Phase2EncryptionAlgorithmsHasBeenSet() const
void SetDPDTimeoutAction(const Aws::String &value)
const Aws::String & GetTunnelInsideCidr() const
VpnTunnelOptionsSpecification & WithTunnelInsideIpv6Cidr(const Aws::String &value)
bool Phase1IntegrityAlgorithmsHasBeenSet() const
bool EnableTunnelLifecycleControlHasBeenSet() const
VpnTunnelOptionsSpecification & WithEnableTunnelLifecycleControl(bool value)
VpnTunnelOptionsSpecification & WithPreSharedKey(const char *value)
VpnTunnelOptionsSpecification & AddPhase2EncryptionAlgorithms(const Phase2EncryptionAlgorithmsRequestListValue &value)
int GetDPDTimeoutSeconds() 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