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>
66 template<
typename TunnelIns
ideC
idrT = Aws::String>
67 void SetTunnelInsideCidr(TunnelInsideCidrT&& value) { m_tunnelInsideCidrHasBeenSet =
true; m_tunnelInsideCidr = std::forward<TunnelInsideCidrT>(value); }
68 template<
typename TunnelIns
ideC
idrT = Aws::String>
81 template<
typename TunnelIns
ideIpv6C
idrT = Aws::String>
82 void SetTunnelInsideIpv6Cidr(TunnelInsideIpv6CidrT&& value) { m_tunnelInsideIpv6CidrHasBeenSet =
true; m_tunnelInsideIpv6Cidr = std::forward<TunnelInsideIpv6CidrT>(value); }
83 template<
typename TunnelIns
ideIpv6C
idrT = Aws::String>
96 template<
typename PreSharedKeyT = Aws::String>
97 void SetPreSharedKey(PreSharedKeyT&& value) { m_preSharedKeyHasBeenSet =
true; m_preSharedKey = std::forward<PreSharedKeyT>(value); }
98 template<
typename PreSharedKeyT = Aws::String>
162 inline void SetReplayWindowSize(
int value) { m_replayWindowSizeHasBeenSet =
true; m_replayWindowSize = value; }
175 inline void SetDPDTimeoutSeconds(
int value) { m_dPDTimeoutSecondsHasBeenSet =
true; m_dPDTimeoutSeconds = value; }
188 template<
typename DPDTimeoutActionT = Aws::String>
189 void SetDPDTimeoutAction(DPDTimeoutActionT&& value) { m_dPDTimeoutActionHasBeenSet =
true; m_dPDTimeoutAction = std::forward<DPDTimeoutActionT>(value); }
190 template<
typename DPDTimeoutActionT = Aws::String>
203 template<
typename Phase1EncryptionAlgorithmsT = Aws::Vector<Phase1EncryptionAlgorithmsRequestListValue>>
204 void SetPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsT&& value) { m_phase1EncryptionAlgorithmsHasBeenSet =
true; m_phase1EncryptionAlgorithms = std::forward<Phase1EncryptionAlgorithmsT>(value); }
205 template<
typename Phase1EncryptionAlgorithmsT = Aws::Vector<Phase1EncryptionAlgorithmsRequestListValue>>
207 template<
typename Phase1EncryptionAlgorithmsT = Phase1EncryptionAlgorithmsRequestListValue>
220 template<
typename Phase2EncryptionAlgorithmsT = Aws::Vector<Phase2EncryptionAlgorithmsRequestListValue>>
221 void SetPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsT&& value) { m_phase2EncryptionAlgorithmsHasBeenSet =
true; m_phase2EncryptionAlgorithms = std::forward<Phase2EncryptionAlgorithmsT>(value); }
222 template<
typename Phase2EncryptionAlgorithmsT = Aws::Vector<Phase2EncryptionAlgorithmsRequestListValue>>
224 template<
typename Phase2EncryptionAlgorithmsT = Phase2EncryptionAlgorithmsRequestListValue>
236 template<
typename Phase1IntegrityAlgorithmsT = Aws::Vector<Phase1IntegrityAlgorithmsRequestListValue>>
237 void SetPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsT&& value) { m_phase1IntegrityAlgorithmsHasBeenSet =
true; m_phase1IntegrityAlgorithms = std::forward<Phase1IntegrityAlgorithmsT>(value); }
238 template<
typename Phase1IntegrityAlgorithmsT = Aws::Vector<Phase1IntegrityAlgorithmsRequestListValue>>
240 template<
typename Phase1IntegrityAlgorithmsT = Phase1IntegrityAlgorithmsRequestListValue>
252 template<
typename Phase2IntegrityAlgorithmsT = Aws::Vector<Phase2IntegrityAlgorithmsRequestListValue>>
253 void SetPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsT&& value) { m_phase2IntegrityAlgorithmsHasBeenSet =
true; m_phase2IntegrityAlgorithms = std::forward<Phase2IntegrityAlgorithmsT>(value); }
254 template<
typename Phase2IntegrityAlgorithmsT = Aws::Vector<Phase2IntegrityAlgorithmsRequestListValue>>
256 template<
typename Phase2IntegrityAlgorithmsT = Phase2IntegrityAlgorithmsRequestListValue>
270 template<
typename Phase1DHGroupNumbersT = Aws::Vector<Phase1DHGroupNumbersRequestListValue>>
271 void SetPhase1DHGroupNumbers(Phase1DHGroupNumbersT&& value) { m_phase1DHGroupNumbersHasBeenSet =
true; m_phase1DHGroupNumbers = std::forward<Phase1DHGroupNumbersT>(value); }
272 template<
typename Phase1DHGroupNumbersT = Aws::Vector<Phase1DHGroupNumbersRequestListValue>>
274 template<
typename Phase1DHGroupNumbersT = Phase1DHGroupNumbersRequestListValue>
288 template<
typename Phase2DHGroupNumbersT = Aws::Vector<Phase2DHGroupNumbersRequestListValue>>
289 void SetPhase2DHGroupNumbers(Phase2DHGroupNumbersT&& value) { m_phase2DHGroupNumbersHasBeenSet =
true; m_phase2DHGroupNumbers = std::forward<Phase2DHGroupNumbersT>(value); }
290 template<
typename Phase2DHGroupNumbersT = Aws::Vector<Phase2DHGroupNumbersRequestListValue>>
292 template<
typename Phase2DHGroupNumbersT = Phase2DHGroupNumbersRequestListValue>
303 template<
typename IKEVersionsT = Aws::Vector<IKEVersionsRequestListValue>>
304 void SetIKEVersions(IKEVersionsT&& value) { m_iKEVersionsHasBeenSet =
true; m_iKEVersions = std::forward<IKEVersionsT>(value); }
305 template<
typename IKEVersionsT = Aws::Vector<IKEVersionsRequestListValue>>
307 template<
typename IKEVersionsT = IKEVersionsRequestListValue>
321 template<
typename StartupActionT = Aws::String>
322 void SetStartupAction(StartupActionT&& value) { m_startupActionHasBeenSet =
true; m_startupAction = std::forward<StartupActionT>(value); }
323 template<
typename StartupActionT = Aws::String>
333 template<
typename LogOptionsT = VpnTunnelLogOptionsSpecification>
334 void SetLogOptions(LogOptionsT&& value) { m_logOptionsHasBeenSet =
true; m_logOptions = std::forward<LogOptionsT>(value); }
335 template<
typename LogOptionsT = VpnTunnelLogOptionsSpecification>
351 bool m_tunnelInsideCidrHasBeenSet =
false;
354 bool m_tunnelInsideIpv6CidrHasBeenSet =
false;
357 bool m_preSharedKeyHasBeenSet =
false;
359 int m_phase1LifetimeSeconds{0};
360 bool m_phase1LifetimeSecondsHasBeenSet =
false;
362 int m_phase2LifetimeSeconds{0};
363 bool m_phase2LifetimeSecondsHasBeenSet =
false;
365 int m_rekeyMarginTimeSeconds{0};
366 bool m_rekeyMarginTimeSecondsHasBeenSet =
false;
368 int m_rekeyFuzzPercentage{0};
369 bool m_rekeyFuzzPercentageHasBeenSet =
false;
371 int m_replayWindowSize{0};
372 bool m_replayWindowSizeHasBeenSet =
false;
374 int m_dPDTimeoutSeconds{0};
375 bool m_dPDTimeoutSecondsHasBeenSet =
false;
378 bool m_dPDTimeoutActionHasBeenSet =
false;
381 bool m_phase1EncryptionAlgorithmsHasBeenSet =
false;
384 bool m_phase2EncryptionAlgorithmsHasBeenSet =
false;
387 bool m_phase1IntegrityAlgorithmsHasBeenSet =
false;
390 bool m_phase2IntegrityAlgorithmsHasBeenSet =
false;
393 bool m_phase1DHGroupNumbersHasBeenSet =
false;
396 bool m_phase2DHGroupNumbersHasBeenSet =
false;
399 bool m_iKEVersionsHasBeenSet =
false;
402 bool m_startupActionHasBeenSet =
false;
404 VpnTunnelLogOptionsSpecification m_logOptions;
405 bool m_logOptionsHasBeenSet =
false;
407 bool m_enableTunnelLifecycleControl{
false};
408 bool m_enableTunnelLifecycleControlHasBeenSet =
false;
bool Phase2LifetimeSecondsHasBeenSet() const
const Aws::Vector< Phase2EncryptionAlgorithmsRequestListValue > & GetPhase2EncryptionAlgorithms() const
ModifyVpnTunnelOptionsSpecification & WithPhase2LifetimeSeconds(int value)
const VpnTunnelLogOptionsSpecification & GetLogOptions() const
const Aws::String & GetPreSharedKey() const
ModifyVpnTunnelOptionsSpecification & WithPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsT &&value)
ModifyVpnTunnelOptionsSpecification & AddPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsT &&value)
void SetLogOptions(LogOptionsT &&value)
bool PreSharedKeyHasBeenSet() const
void SetPhase1DHGroupNumbers(Phase1DHGroupNumbersT &&value)
void SetTunnelInsideCidr(TunnelInsideCidrT &&value)
const Aws::Vector< IKEVersionsRequestListValue > & GetIKEVersions() const
int GetDPDTimeoutSeconds() const
bool Phase1DHGroupNumbersHasBeenSet() const
bool EnableTunnelLifecycleControlHasBeenSet() const
bool TunnelInsideCidrHasBeenSet() const
void SetPhase1LifetimeSeconds(int value)
bool RekeyMarginTimeSecondsHasBeenSet() const
const Aws::Vector< Phase2IntegrityAlgorithmsRequestListValue > & GetPhase2IntegrityAlgorithms() const
ModifyVpnTunnelOptionsSpecification & AddIKEVersions(IKEVersionsT &&value)
const Aws::String & GetStartupAction() const
ModifyVpnTunnelOptionsSpecification & WithPreSharedKey(PreSharedKeyT &&value)
ModifyVpnTunnelOptionsSpecification & WithTunnelInsideIpv6Cidr(TunnelInsideIpv6CidrT &&value)
bool GetEnableTunnelLifecycleControl() const
void SetReplayWindowSize(int value)
ModifyVpnTunnelOptionsSpecification & WithReplayWindowSize(int value)
void SetPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsT &&value)
ModifyVpnTunnelOptionsSpecification & WithPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsT &&value)
int GetPhase1LifetimeSeconds() const
ModifyVpnTunnelOptionsSpecification & WithRekeyMarginTimeSeconds(int value)
AWS_EC2_API ModifyVpnTunnelOptionsSpecification()=default
bool IKEVersionsHasBeenSet() const
ModifyVpnTunnelOptionsSpecification & WithPhase1LifetimeSeconds(int value)
ModifyVpnTunnelOptionsSpecification & WithPhase1DHGroupNumbers(Phase1DHGroupNumbersT &&value)
ModifyVpnTunnelOptionsSpecification & WithDPDTimeoutSeconds(int value)
AWS_EC2_API ModifyVpnTunnelOptionsSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ReplayWindowSizeHasBeenSet() const
bool TunnelInsideIpv6CidrHasBeenSet() const
bool Phase1IntegrityAlgorithmsHasBeenSet() const
ModifyVpnTunnelOptionsSpecification & WithPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsT &&value)
void SetTunnelInsideIpv6Cidr(TunnelInsideIpv6CidrT &&value)
ModifyVpnTunnelOptionsSpecification & WithPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsT &&value)
const Aws::String & GetDPDTimeoutAction() const
const Aws::Vector< Phase1EncryptionAlgorithmsRequestListValue > & GetPhase1EncryptionAlgorithms() const
const Aws::Vector< Phase2DHGroupNumbersRequestListValue > & GetPhase2DHGroupNumbers() const
ModifyVpnTunnelOptionsSpecification & AddPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsT &&value)
const Aws::Vector< Phase1IntegrityAlgorithmsRequestListValue > & GetPhase1IntegrityAlgorithms() const
ModifyVpnTunnelOptionsSpecification & WithTunnelInsideCidr(TunnelInsideCidrT &&value)
const Aws::String & GetTunnelInsideIpv6Cidr() const
void SetPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsT &&value)
void SetPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsT &&value)
bool Phase2DHGroupNumbersHasBeenSet() const
ModifyVpnTunnelOptionsSpecification & WithStartupAction(StartupActionT &&value)
bool Phase1EncryptionAlgorithmsHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDPDTimeoutSeconds(int value)
void SetEnableTunnelLifecycleControl(bool value)
void SetPhase2DHGroupNumbers(Phase2DHGroupNumbersT &&value)
int GetRekeyFuzzPercentage() const
void SetDPDTimeoutAction(DPDTimeoutActionT &&value)
const Aws::Vector< Phase1DHGroupNumbersRequestListValue > & GetPhase1DHGroupNumbers() const
ModifyVpnTunnelOptionsSpecification & WithLogOptions(LogOptionsT &&value)
void SetIKEVersions(IKEVersionsT &&value)
ModifyVpnTunnelOptionsSpecification & WithRekeyFuzzPercentage(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ModifyVpnTunnelOptionsSpecification & WithPhase2DHGroupNumbers(Phase2DHGroupNumbersT &&value)
ModifyVpnTunnelOptionsSpecification & WithEnableTunnelLifecycleControl(bool value)
void SetPreSharedKey(PreSharedKeyT &&value)
ModifyVpnTunnelOptionsSpecification & WithDPDTimeoutAction(DPDTimeoutActionT &&value)
ModifyVpnTunnelOptionsSpecification & WithIKEVersions(IKEVersionsT &&value)
bool StartupActionHasBeenSet() const
void SetRekeyMarginTimeSeconds(int value)
ModifyVpnTunnelOptionsSpecification & AddPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsT &&value)
ModifyVpnTunnelOptionsSpecification & AddPhase2DHGroupNumbers(Phase2DHGroupNumbersT &&value)
bool DPDTimeoutActionHasBeenSet() const
int GetRekeyMarginTimeSeconds() const
bool Phase1LifetimeSecondsHasBeenSet() const
void SetStartupAction(StartupActionT &&value)
const Aws::String & GetTunnelInsideCidr() const
bool Phase2IntegrityAlgorithmsHasBeenSet() const
void SetPhase2LifetimeSeconds(int value)
int GetPhase2LifetimeSeconds() const
AWS_EC2_API ModifyVpnTunnelOptionsSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
bool Phase2EncryptionAlgorithmsHasBeenSet() const
bool LogOptionsHasBeenSet() const
ModifyVpnTunnelOptionsSpecification & AddPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsT &&value)
ModifyVpnTunnelOptionsSpecification & AddPhase1DHGroupNumbers(Phase1DHGroupNumbersT &&value)
int GetReplayWindowSize() const
void SetRekeyFuzzPercentage(int value)
bool RekeyFuzzPercentageHasBeenSet() const
void SetPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsT &&value)
bool DPDTimeoutSecondsHasBeenSet() 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