AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TunnelOption.h
1
6#pragma once
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/VpnTunnelLogOptions.h>
12#include <aws/ec2/model/Phase1EncryptionAlgorithmsListValue.h>
13#include <aws/ec2/model/Phase2EncryptionAlgorithmsListValue.h>
14#include <aws/ec2/model/Phase1IntegrityAlgorithmsListValue.h>
15#include <aws/ec2/model/Phase2IntegrityAlgorithmsListValue.h>
16#include <aws/ec2/model/Phase1DHGroupNumbersListValue.h>
17#include <aws/ec2/model/Phase2DHGroupNumbersListValue.h>
18#include <aws/ec2/model/IKEVersionsListValue.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Xml
26{
27 class XmlNode;
28} // namespace Xml
29} // namespace Utils
30namespace EC2
31{
32namespace Model
33{
34
41 {
42 public:
43 AWS_EC2_API TunnelOption() = default;
44 AWS_EC2_API TunnelOption(const Aws::Utils::Xml::XmlNode& xmlNode);
45 AWS_EC2_API TunnelOption& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
46
47 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
48 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
49
50
52
55 inline const Aws::String& GetOutsideIpAddress() const { return m_outsideIpAddress; }
56 inline bool OutsideIpAddressHasBeenSet() const { return m_outsideIpAddressHasBeenSet; }
57 template<typename OutsideIpAddressT = Aws::String>
58 void SetOutsideIpAddress(OutsideIpAddressT&& value) { m_outsideIpAddressHasBeenSet = true; m_outsideIpAddress = std::forward<OutsideIpAddressT>(value); }
59 template<typename OutsideIpAddressT = Aws::String>
60 TunnelOption& WithOutsideIpAddress(OutsideIpAddressT&& value) { SetOutsideIpAddress(std::forward<OutsideIpAddressT>(value)); return *this;}
62
64
67 inline const Aws::String& GetTunnelInsideCidr() const { return m_tunnelInsideCidr; }
68 inline bool TunnelInsideCidrHasBeenSet() const { return m_tunnelInsideCidrHasBeenSet; }
69 template<typename TunnelInsideCidrT = Aws::String>
70 void SetTunnelInsideCidr(TunnelInsideCidrT&& value) { m_tunnelInsideCidrHasBeenSet = true; m_tunnelInsideCidr = std::forward<TunnelInsideCidrT>(value); }
71 template<typename TunnelInsideCidrT = Aws::String>
72 TunnelOption& WithTunnelInsideCidr(TunnelInsideCidrT&& value) { SetTunnelInsideCidr(std::forward<TunnelInsideCidrT>(value)); return *this;}
74
76
79 inline const Aws::String& GetTunnelInsideIpv6Cidr() const { return m_tunnelInsideIpv6Cidr; }
80 inline bool TunnelInsideIpv6CidrHasBeenSet() const { return m_tunnelInsideIpv6CidrHasBeenSet; }
81 template<typename TunnelInsideIpv6CidrT = Aws::String>
82 void SetTunnelInsideIpv6Cidr(TunnelInsideIpv6CidrT&& value) { m_tunnelInsideIpv6CidrHasBeenSet = true; m_tunnelInsideIpv6Cidr = std::forward<TunnelInsideIpv6CidrT>(value); }
83 template<typename TunnelInsideIpv6CidrT = Aws::String>
84 TunnelOption& WithTunnelInsideIpv6Cidr(TunnelInsideIpv6CidrT&& value) { SetTunnelInsideIpv6Cidr(std::forward<TunnelInsideIpv6CidrT>(value)); return *this;}
86
88
92 inline const Aws::String& GetPreSharedKey() const { return m_preSharedKey; }
93 inline bool PreSharedKeyHasBeenSet() const { return m_preSharedKeyHasBeenSet; }
94 template<typename PreSharedKeyT = Aws::String>
95 void SetPreSharedKey(PreSharedKeyT&& value) { m_preSharedKeyHasBeenSet = true; m_preSharedKey = std::forward<PreSharedKeyT>(value); }
96 template<typename PreSharedKeyT = Aws::String>
97 TunnelOption& WithPreSharedKey(PreSharedKeyT&& value) { SetPreSharedKey(std::forward<PreSharedKeyT>(value)); return *this;}
99
101
104 inline int GetPhase1LifetimeSeconds() const { return m_phase1LifetimeSeconds; }
105 inline bool Phase1LifetimeSecondsHasBeenSet() const { return m_phase1LifetimeSecondsHasBeenSet; }
106 inline void SetPhase1LifetimeSeconds(int value) { m_phase1LifetimeSecondsHasBeenSet = true; m_phase1LifetimeSeconds = value; }
107 inline TunnelOption& WithPhase1LifetimeSeconds(int value) { SetPhase1LifetimeSeconds(value); return *this;}
109
111
114 inline int GetPhase2LifetimeSeconds() const { return m_phase2LifetimeSeconds; }
115 inline bool Phase2LifetimeSecondsHasBeenSet() const { return m_phase2LifetimeSecondsHasBeenSet; }
116 inline void SetPhase2LifetimeSeconds(int value) { m_phase2LifetimeSecondsHasBeenSet = true; m_phase2LifetimeSeconds = value; }
117 inline TunnelOption& WithPhase2LifetimeSeconds(int value) { SetPhase2LifetimeSeconds(value); return *this;}
119
121
126 inline int GetRekeyMarginTimeSeconds() const { return m_rekeyMarginTimeSeconds; }
127 inline bool RekeyMarginTimeSecondsHasBeenSet() const { return m_rekeyMarginTimeSecondsHasBeenSet; }
128 inline void SetRekeyMarginTimeSeconds(int value) { m_rekeyMarginTimeSecondsHasBeenSet = true; m_rekeyMarginTimeSeconds = value; }
129 inline TunnelOption& WithRekeyMarginTimeSeconds(int value) { SetRekeyMarginTimeSeconds(value); return *this;}
131
133
138 inline int GetRekeyFuzzPercentage() const { return m_rekeyFuzzPercentage; }
139 inline bool RekeyFuzzPercentageHasBeenSet() const { return m_rekeyFuzzPercentageHasBeenSet; }
140 inline void SetRekeyFuzzPercentage(int value) { m_rekeyFuzzPercentageHasBeenSet = true; m_rekeyFuzzPercentage = value; }
141 inline TunnelOption& WithRekeyFuzzPercentage(int value) { SetRekeyFuzzPercentage(value); return *this;}
143
145
148 inline int GetReplayWindowSize() const { return m_replayWindowSize; }
149 inline bool ReplayWindowSizeHasBeenSet() const { return m_replayWindowSizeHasBeenSet; }
150 inline void SetReplayWindowSize(int value) { m_replayWindowSizeHasBeenSet = true; m_replayWindowSize = value; }
151 inline TunnelOption& WithReplayWindowSize(int value) { SetReplayWindowSize(value); return *this;}
153
155
158 inline int GetDpdTimeoutSeconds() const { return m_dpdTimeoutSeconds; }
159 inline bool DpdTimeoutSecondsHasBeenSet() const { return m_dpdTimeoutSecondsHasBeenSet; }
160 inline void SetDpdTimeoutSeconds(int value) { m_dpdTimeoutSecondsHasBeenSet = true; m_dpdTimeoutSeconds = value; }
161 inline TunnelOption& WithDpdTimeoutSeconds(int value) { SetDpdTimeoutSeconds(value); return *this;}
163
165
168 inline const Aws::String& GetDpdTimeoutAction() const { return m_dpdTimeoutAction; }
169 inline bool DpdTimeoutActionHasBeenSet() const { return m_dpdTimeoutActionHasBeenSet; }
170 template<typename DpdTimeoutActionT = Aws::String>
171 void SetDpdTimeoutAction(DpdTimeoutActionT&& value) { m_dpdTimeoutActionHasBeenSet = true; m_dpdTimeoutAction = std::forward<DpdTimeoutActionT>(value); }
172 template<typename DpdTimeoutActionT = Aws::String>
173 TunnelOption& WithDpdTimeoutAction(DpdTimeoutActionT&& value) { SetDpdTimeoutAction(std::forward<DpdTimeoutActionT>(value)); return *this;}
175
177
181 inline const Aws::Vector<Phase1EncryptionAlgorithmsListValue>& GetPhase1EncryptionAlgorithms() const { return m_phase1EncryptionAlgorithms; }
182 inline bool Phase1EncryptionAlgorithmsHasBeenSet() const { return m_phase1EncryptionAlgorithmsHasBeenSet; }
183 template<typename Phase1EncryptionAlgorithmsT = Aws::Vector<Phase1EncryptionAlgorithmsListValue>>
184 void SetPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsT&& value) { m_phase1EncryptionAlgorithmsHasBeenSet = true; m_phase1EncryptionAlgorithms = std::forward<Phase1EncryptionAlgorithmsT>(value); }
185 template<typename Phase1EncryptionAlgorithmsT = Aws::Vector<Phase1EncryptionAlgorithmsListValue>>
186 TunnelOption& WithPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsT&& value) { SetPhase1EncryptionAlgorithms(std::forward<Phase1EncryptionAlgorithmsT>(value)); return *this;}
187 template<typename Phase1EncryptionAlgorithmsT = Phase1EncryptionAlgorithmsListValue>
188 TunnelOption& AddPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsT&& value) { m_phase1EncryptionAlgorithmsHasBeenSet = true; m_phase1EncryptionAlgorithms.emplace_back(std::forward<Phase1EncryptionAlgorithmsT>(value)); return *this; }
190
192
196 inline const Aws::Vector<Phase2EncryptionAlgorithmsListValue>& GetPhase2EncryptionAlgorithms() const { return m_phase2EncryptionAlgorithms; }
197 inline bool Phase2EncryptionAlgorithmsHasBeenSet() const { return m_phase2EncryptionAlgorithmsHasBeenSet; }
198 template<typename Phase2EncryptionAlgorithmsT = Aws::Vector<Phase2EncryptionAlgorithmsListValue>>
199 void SetPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsT&& value) { m_phase2EncryptionAlgorithmsHasBeenSet = true; m_phase2EncryptionAlgorithms = std::forward<Phase2EncryptionAlgorithmsT>(value); }
200 template<typename Phase2EncryptionAlgorithmsT = Aws::Vector<Phase2EncryptionAlgorithmsListValue>>
201 TunnelOption& WithPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsT&& value) { SetPhase2EncryptionAlgorithms(std::forward<Phase2EncryptionAlgorithmsT>(value)); return *this;}
202 template<typename Phase2EncryptionAlgorithmsT = Phase2EncryptionAlgorithmsListValue>
203 TunnelOption& AddPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsT&& value) { m_phase2EncryptionAlgorithmsHasBeenSet = true; m_phase2EncryptionAlgorithms.emplace_back(std::forward<Phase2EncryptionAlgorithmsT>(value)); return *this; }
205
207
211 inline const Aws::Vector<Phase1IntegrityAlgorithmsListValue>& GetPhase1IntegrityAlgorithms() const { return m_phase1IntegrityAlgorithms; }
212 inline bool Phase1IntegrityAlgorithmsHasBeenSet() const { return m_phase1IntegrityAlgorithmsHasBeenSet; }
213 template<typename Phase1IntegrityAlgorithmsT = Aws::Vector<Phase1IntegrityAlgorithmsListValue>>
214 void SetPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsT&& value) { m_phase1IntegrityAlgorithmsHasBeenSet = true; m_phase1IntegrityAlgorithms = std::forward<Phase1IntegrityAlgorithmsT>(value); }
215 template<typename Phase1IntegrityAlgorithmsT = Aws::Vector<Phase1IntegrityAlgorithmsListValue>>
216 TunnelOption& WithPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsT&& value) { SetPhase1IntegrityAlgorithms(std::forward<Phase1IntegrityAlgorithmsT>(value)); return *this;}
217 template<typename Phase1IntegrityAlgorithmsT = Phase1IntegrityAlgorithmsListValue>
218 TunnelOption& AddPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsT&& value) { m_phase1IntegrityAlgorithmsHasBeenSet = true; m_phase1IntegrityAlgorithms.emplace_back(std::forward<Phase1IntegrityAlgorithmsT>(value)); return *this; }
220
222
226 inline const Aws::Vector<Phase2IntegrityAlgorithmsListValue>& GetPhase2IntegrityAlgorithms() const { return m_phase2IntegrityAlgorithms; }
227 inline bool Phase2IntegrityAlgorithmsHasBeenSet() const { return m_phase2IntegrityAlgorithmsHasBeenSet; }
228 template<typename Phase2IntegrityAlgorithmsT = Aws::Vector<Phase2IntegrityAlgorithmsListValue>>
229 void SetPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsT&& value) { m_phase2IntegrityAlgorithmsHasBeenSet = true; m_phase2IntegrityAlgorithms = std::forward<Phase2IntegrityAlgorithmsT>(value); }
230 template<typename Phase2IntegrityAlgorithmsT = Aws::Vector<Phase2IntegrityAlgorithmsListValue>>
231 TunnelOption& WithPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsT&& value) { SetPhase2IntegrityAlgorithms(std::forward<Phase2IntegrityAlgorithmsT>(value)); return *this;}
232 template<typename Phase2IntegrityAlgorithmsT = Phase2IntegrityAlgorithmsListValue>
233 TunnelOption& AddPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsT&& value) { m_phase2IntegrityAlgorithmsHasBeenSet = true; m_phase2IntegrityAlgorithms.emplace_back(std::forward<Phase2IntegrityAlgorithmsT>(value)); return *this; }
235
237
241 inline const Aws::Vector<Phase1DHGroupNumbersListValue>& GetPhase1DHGroupNumbers() const { return m_phase1DHGroupNumbers; }
242 inline bool Phase1DHGroupNumbersHasBeenSet() const { return m_phase1DHGroupNumbersHasBeenSet; }
243 template<typename Phase1DHGroupNumbersT = Aws::Vector<Phase1DHGroupNumbersListValue>>
244 void SetPhase1DHGroupNumbers(Phase1DHGroupNumbersT&& value) { m_phase1DHGroupNumbersHasBeenSet = true; m_phase1DHGroupNumbers = std::forward<Phase1DHGroupNumbersT>(value); }
245 template<typename Phase1DHGroupNumbersT = Aws::Vector<Phase1DHGroupNumbersListValue>>
246 TunnelOption& WithPhase1DHGroupNumbers(Phase1DHGroupNumbersT&& value) { SetPhase1DHGroupNumbers(std::forward<Phase1DHGroupNumbersT>(value)); return *this;}
247 template<typename Phase1DHGroupNumbersT = Phase1DHGroupNumbersListValue>
248 TunnelOption& AddPhase1DHGroupNumbers(Phase1DHGroupNumbersT&& value) { m_phase1DHGroupNumbersHasBeenSet = true; m_phase1DHGroupNumbers.emplace_back(std::forward<Phase1DHGroupNumbersT>(value)); return *this; }
250
252
256 inline const Aws::Vector<Phase2DHGroupNumbersListValue>& GetPhase2DHGroupNumbers() const { return m_phase2DHGroupNumbers; }
257 inline bool Phase2DHGroupNumbersHasBeenSet() const { return m_phase2DHGroupNumbersHasBeenSet; }
258 template<typename Phase2DHGroupNumbersT = Aws::Vector<Phase2DHGroupNumbersListValue>>
259 void SetPhase2DHGroupNumbers(Phase2DHGroupNumbersT&& value) { m_phase2DHGroupNumbersHasBeenSet = true; m_phase2DHGroupNumbers = std::forward<Phase2DHGroupNumbersT>(value); }
260 template<typename Phase2DHGroupNumbersT = Aws::Vector<Phase2DHGroupNumbersListValue>>
261 TunnelOption& WithPhase2DHGroupNumbers(Phase2DHGroupNumbersT&& value) { SetPhase2DHGroupNumbers(std::forward<Phase2DHGroupNumbersT>(value)); return *this;}
262 template<typename Phase2DHGroupNumbersT = Phase2DHGroupNumbersListValue>
263 TunnelOption& AddPhase2DHGroupNumbers(Phase2DHGroupNumbersT&& value) { m_phase2DHGroupNumbersHasBeenSet = true; m_phase2DHGroupNumbers.emplace_back(std::forward<Phase2DHGroupNumbersT>(value)); return *this; }
265
267
270 inline const Aws::Vector<IKEVersionsListValue>& GetIkeVersions() const { return m_ikeVersions; }
271 inline bool IkeVersionsHasBeenSet() const { return m_ikeVersionsHasBeenSet; }
272 template<typename IkeVersionsT = Aws::Vector<IKEVersionsListValue>>
273 void SetIkeVersions(IkeVersionsT&& value) { m_ikeVersionsHasBeenSet = true; m_ikeVersions = std::forward<IkeVersionsT>(value); }
274 template<typename IkeVersionsT = Aws::Vector<IKEVersionsListValue>>
275 TunnelOption& WithIkeVersions(IkeVersionsT&& value) { SetIkeVersions(std::forward<IkeVersionsT>(value)); return *this;}
276 template<typename IkeVersionsT = IKEVersionsListValue>
277 TunnelOption& AddIkeVersions(IkeVersionsT&& value) { m_ikeVersionsHasBeenSet = true; m_ikeVersions.emplace_back(std::forward<IkeVersionsT>(value)); return *this; }
279
281
285 inline const Aws::String& GetStartupAction() const { return m_startupAction; }
286 inline bool StartupActionHasBeenSet() const { return m_startupActionHasBeenSet; }
287 template<typename StartupActionT = Aws::String>
288 void SetStartupAction(StartupActionT&& value) { m_startupActionHasBeenSet = true; m_startupAction = std::forward<StartupActionT>(value); }
289 template<typename StartupActionT = Aws::String>
290 TunnelOption& WithStartupAction(StartupActionT&& value) { SetStartupAction(std::forward<StartupActionT>(value)); return *this;}
292
294
297 inline const VpnTunnelLogOptions& GetLogOptions() const { return m_logOptions; }
298 inline bool LogOptionsHasBeenSet() const { return m_logOptionsHasBeenSet; }
299 template<typename LogOptionsT = VpnTunnelLogOptions>
300 void SetLogOptions(LogOptionsT&& value) { m_logOptionsHasBeenSet = true; m_logOptions = std::forward<LogOptionsT>(value); }
301 template<typename LogOptionsT = VpnTunnelLogOptions>
302 TunnelOption& WithLogOptions(LogOptionsT&& value) { SetLogOptions(std::forward<LogOptionsT>(value)); return *this;}
304
306
309 inline bool GetEnableTunnelLifecycleControl() const { return m_enableTunnelLifecycleControl; }
310 inline bool EnableTunnelLifecycleControlHasBeenSet() const { return m_enableTunnelLifecycleControlHasBeenSet; }
311 inline void SetEnableTunnelLifecycleControl(bool value) { m_enableTunnelLifecycleControlHasBeenSet = true; m_enableTunnelLifecycleControl = value; }
314 private:
315
316 Aws::String m_outsideIpAddress;
317 bool m_outsideIpAddressHasBeenSet = false;
318
319 Aws::String m_tunnelInsideCidr;
320 bool m_tunnelInsideCidrHasBeenSet = false;
321
322 Aws::String m_tunnelInsideIpv6Cidr;
323 bool m_tunnelInsideIpv6CidrHasBeenSet = false;
324
325 Aws::String m_preSharedKey;
326 bool m_preSharedKeyHasBeenSet = false;
327
328 int m_phase1LifetimeSeconds{0};
329 bool m_phase1LifetimeSecondsHasBeenSet = false;
330
331 int m_phase2LifetimeSeconds{0};
332 bool m_phase2LifetimeSecondsHasBeenSet = false;
333
334 int m_rekeyMarginTimeSeconds{0};
335 bool m_rekeyMarginTimeSecondsHasBeenSet = false;
336
337 int m_rekeyFuzzPercentage{0};
338 bool m_rekeyFuzzPercentageHasBeenSet = false;
339
340 int m_replayWindowSize{0};
341 bool m_replayWindowSizeHasBeenSet = false;
342
343 int m_dpdTimeoutSeconds{0};
344 bool m_dpdTimeoutSecondsHasBeenSet = false;
345
346 Aws::String m_dpdTimeoutAction;
347 bool m_dpdTimeoutActionHasBeenSet = false;
348
349 Aws::Vector<Phase1EncryptionAlgorithmsListValue> m_phase1EncryptionAlgorithms;
350 bool m_phase1EncryptionAlgorithmsHasBeenSet = false;
351
352 Aws::Vector<Phase2EncryptionAlgorithmsListValue> m_phase2EncryptionAlgorithms;
353 bool m_phase2EncryptionAlgorithmsHasBeenSet = false;
354
355 Aws::Vector<Phase1IntegrityAlgorithmsListValue> m_phase1IntegrityAlgorithms;
356 bool m_phase1IntegrityAlgorithmsHasBeenSet = false;
357
358 Aws::Vector<Phase2IntegrityAlgorithmsListValue> m_phase2IntegrityAlgorithms;
359 bool m_phase2IntegrityAlgorithmsHasBeenSet = false;
360
361 Aws::Vector<Phase1DHGroupNumbersListValue> m_phase1DHGroupNumbers;
362 bool m_phase1DHGroupNumbersHasBeenSet = false;
363
364 Aws::Vector<Phase2DHGroupNumbersListValue> m_phase2DHGroupNumbers;
365 bool m_phase2DHGroupNumbersHasBeenSet = false;
366
368 bool m_ikeVersionsHasBeenSet = false;
369
370 Aws::String m_startupAction;
371 bool m_startupActionHasBeenSet = false;
372
373 VpnTunnelLogOptions m_logOptions;
374 bool m_logOptionsHasBeenSet = false;
375
376 bool m_enableTunnelLifecycleControl{false};
377 bool m_enableTunnelLifecycleControlHasBeenSet = false;
378 };
379
380} // namespace Model
381} // namespace EC2
382} // namespace Aws
bool ReplayWindowSizeHasBeenSet() const
const Aws::String & GetTunnelInsideIpv6Cidr() const
void SetIkeVersions(IkeVersionsT &&value)
TunnelOption & AddPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsT &&value)
const Aws::String & GetOutsideIpAddress() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetPhase1DHGroupNumbers(Phase1DHGroupNumbersT &&value)
TunnelOption & WithDpdTimeoutSeconds(int value)
const Aws::String & GetStartupAction() const
void SetDpdTimeoutSeconds(int value)
TunnelOption & WithLogOptions(LogOptionsT &&value)
TunnelOption & WithTunnelInsideCidr(TunnelInsideCidrT &&value)
TunnelOption & AddPhase2DHGroupNumbers(Phase2DHGroupNumbersT &&value)
TunnelOption & WithPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsT &&value)
bool Phase1IntegrityAlgorithmsHasBeenSet() const
const Aws::String & GetTunnelInsideCidr() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool EnableTunnelLifecycleControlHasBeenSet() const
void SetPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsT &&value)
const Aws::Vector< Phase2DHGroupNumbersListValue > & GetPhase2DHGroupNumbers() const
void SetPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsT &&value)
bool RekeyFuzzPercentageHasBeenSet() const
TunnelOption & WithRekeyFuzzPercentage(int value)
void SetReplayWindowSize(int value)
bool OutsideIpAddressHasBeenSet() const
void SetPhase1LifetimeSeconds(int value)
const Aws::Vector< Phase2IntegrityAlgorithmsListValue > & GetPhase2IntegrityAlgorithms() const
bool DpdTimeoutActionHasBeenSet() const
TunnelOption & WithDpdTimeoutAction(DpdTimeoutActionT &&value)
bool GetEnableTunnelLifecycleControl() const
const Aws::Vector< Phase1IntegrityAlgorithmsListValue > & GetPhase1IntegrityAlgorithms() const
AWS_EC2_API TunnelOption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< IKEVersionsListValue > & GetIkeVersions() const
void SetStartupAction(StartupActionT &&value)
bool DpdTimeoutSecondsHasBeenSet() const
TunnelOption & WithPreSharedKey(PreSharedKeyT &&value)
TunnelOption & AddPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsT &&value)
void SetPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsT &&value)
TunnelOption & WithPhase1LifetimeSeconds(int value)
void SetTunnelInsideCidr(TunnelInsideCidrT &&value)
bool Phase2DHGroupNumbersHasBeenSet() const
TunnelOption & WithPhase2DHGroupNumbers(Phase2DHGroupNumbersT &&value)
bool Phase2LifetimeSecondsHasBeenSet() const
AWS_EC2_API TunnelOption()=default
TunnelOption & WithPhase1DHGroupNumbers(Phase1DHGroupNumbersT &&value)
TunnelOption & WithStartupAction(StartupActionT &&value)
TunnelOption & WithEnableTunnelLifecycleControl(bool value)
const Aws::String & GetPreSharedKey() const
const VpnTunnelLogOptions & GetLogOptions() const
TunnelOption & WithIkeVersions(IkeVersionsT &&value)
void SetPreSharedKey(PreSharedKeyT &&value)
TunnelOption & AddPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsT &&value)
void SetRekeyMarginTimeSeconds(int value)
bool RekeyMarginTimeSecondsHasBeenSet() const
bool Phase2EncryptionAlgorithmsHasBeenSet() const
bool TunnelInsideCidrHasBeenSet() const
AWS_EC2_API TunnelOption(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsT &&value)
void SetLogOptions(LogOptionsT &&value)
TunnelOption & AddIkeVersions(IkeVersionsT &&value)
TunnelOption & WithPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsT &&value)
TunnelOption & WithOutsideIpAddress(OutsideIpAddressT &&value)
const Aws::String & GetDpdTimeoutAction() const
TunnelOption & WithTunnelInsideIpv6Cidr(TunnelInsideIpv6CidrT &&value)
TunnelOption & WithPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsT &&value)
bool Phase1LifetimeSecondsHasBeenSet() const
void SetTunnelInsideIpv6Cidr(TunnelInsideIpv6CidrT &&value)
void SetPhase2LifetimeSeconds(int value)
TunnelOption & AddPhase1DHGroupNumbers(Phase1DHGroupNumbersT &&value)
bool Phase1DHGroupNumbersHasBeenSet() const
const Aws::Vector< Phase1DHGroupNumbersListValue > & GetPhase1DHGroupNumbers() const
TunnelOption & WithRekeyMarginTimeSeconds(int value)
TunnelOption & WithPhase2LifetimeSeconds(int value)
void SetOutsideIpAddress(OutsideIpAddressT &&value)
void SetEnableTunnelLifecycleControl(bool value)
const Aws::Vector< Phase2EncryptionAlgorithmsListValue > & GetPhase2EncryptionAlgorithms() const
TunnelOption & AddPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsT &&value)
TunnelOption & WithReplayWindowSize(int value)
bool TunnelInsideIpv6CidrHasBeenSet() const
bool Phase2IntegrityAlgorithmsHasBeenSet() const
void SetRekeyFuzzPercentage(int value)
void SetDpdTimeoutAction(DpdTimeoutActionT &&value)
TunnelOption & WithPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsT &&value)
bool Phase1EncryptionAlgorithmsHasBeenSet() const
void SetPhase2DHGroupNumbers(Phase2DHGroupNumbersT &&value)
const Aws::Vector< Phase1EncryptionAlgorithmsListValue > & GetPhase1EncryptionAlgorithms() 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