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