AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
TunnelOption.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/IKEVersionsListValue.h>
12#include <aws/ec2/model/Phase1DHGroupNumbersListValue.h>
13#include <aws/ec2/model/Phase1EncryptionAlgorithmsListValue.h>
14#include <aws/ec2/model/Phase1IntegrityAlgorithmsListValue.h>
15#include <aws/ec2/model/Phase2DHGroupNumbersListValue.h>
16#include <aws/ec2/model/Phase2EncryptionAlgorithmsListValue.h>
17#include <aws/ec2/model/Phase2IntegrityAlgorithmsListValue.h>
18#include <aws/ec2/model/VpnTunnelLogOptions.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Utils {
24namespace Xml {
25class XmlNode;
26} // namespace Xml
27} // namespace Utils
28namespace EC2 {
29namespace Model {
30
37 public:
38 AWS_EC2_API TunnelOption() = default;
39 AWS_EC2_API TunnelOption(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_EC2_API TunnelOption& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
46
49 inline const Aws::String& GetOutsideIpAddress() const { return m_outsideIpAddress; }
50 inline bool OutsideIpAddressHasBeenSet() const { return m_outsideIpAddressHasBeenSet; }
51 template <typename OutsideIpAddressT = Aws::String>
52 void SetOutsideIpAddress(OutsideIpAddressT&& value) {
53 m_outsideIpAddressHasBeenSet = true;
54 m_outsideIpAddress = std::forward<OutsideIpAddressT>(value);
55 }
56 template <typename OutsideIpAddressT = Aws::String>
57 TunnelOption& WithOutsideIpAddress(OutsideIpAddressT&& value) {
58 SetOutsideIpAddress(std::forward<OutsideIpAddressT>(value));
59 return *this;
60 }
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) {
71 m_tunnelInsideCidrHasBeenSet = true;
72 m_tunnelInsideCidr = std::forward<TunnelInsideCidrT>(value);
73 }
74 template <typename TunnelInsideCidrT = Aws::String>
75 TunnelOption& WithTunnelInsideCidr(TunnelInsideCidrT&& value) {
76 SetTunnelInsideCidr(std::forward<TunnelInsideCidrT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetTunnelInsideIpv6Cidr() const { return m_tunnelInsideIpv6Cidr; }
86 inline bool TunnelInsideIpv6CidrHasBeenSet() const { return m_tunnelInsideIpv6CidrHasBeenSet; }
87 template <typename TunnelInsideIpv6CidrT = Aws::String>
88 void SetTunnelInsideIpv6Cidr(TunnelInsideIpv6CidrT&& value) {
89 m_tunnelInsideIpv6CidrHasBeenSet = true;
90 m_tunnelInsideIpv6Cidr = std::forward<TunnelInsideIpv6CidrT>(value);
91 }
92 template <typename TunnelInsideIpv6CidrT = Aws::String>
93 TunnelOption& WithTunnelInsideIpv6Cidr(TunnelInsideIpv6CidrT&& value) {
94 SetTunnelInsideIpv6Cidr(std::forward<TunnelInsideIpv6CidrT>(value));
95 return *this;
96 }
98
100
104 inline const Aws::String& GetPreSharedKey() const { return m_preSharedKey; }
105 inline bool PreSharedKeyHasBeenSet() const { return m_preSharedKeyHasBeenSet; }
106 template <typename PreSharedKeyT = Aws::String>
107 void SetPreSharedKey(PreSharedKeyT&& value) {
108 m_preSharedKeyHasBeenSet = true;
109 m_preSharedKey = std::forward<PreSharedKeyT>(value);
110 }
111 template <typename PreSharedKeyT = Aws::String>
112 TunnelOption& WithPreSharedKey(PreSharedKeyT&& value) {
113 SetPreSharedKey(std::forward<PreSharedKeyT>(value));
114 return *this;
115 }
117
119
122 inline int GetPhase1LifetimeSeconds() const { return m_phase1LifetimeSeconds; }
123 inline bool Phase1LifetimeSecondsHasBeenSet() const { return m_phase1LifetimeSecondsHasBeenSet; }
124 inline void SetPhase1LifetimeSeconds(int value) {
125 m_phase1LifetimeSecondsHasBeenSet = true;
126 m_phase1LifetimeSeconds = value;
127 }
130 return *this;
131 }
133
135
138 inline int GetPhase2LifetimeSeconds() const { return m_phase2LifetimeSeconds; }
139 inline bool Phase2LifetimeSecondsHasBeenSet() const { return m_phase2LifetimeSecondsHasBeenSet; }
140 inline void SetPhase2LifetimeSeconds(int value) {
141 m_phase2LifetimeSecondsHasBeenSet = true;
142 m_phase2LifetimeSeconds = value;
143 }
146 return *this;
147 }
149
151
156 inline int GetRekeyMarginTimeSeconds() const { return m_rekeyMarginTimeSeconds; }
157 inline bool RekeyMarginTimeSecondsHasBeenSet() const { return m_rekeyMarginTimeSecondsHasBeenSet; }
158 inline void SetRekeyMarginTimeSeconds(int value) {
159 m_rekeyMarginTimeSecondsHasBeenSet = true;
160 m_rekeyMarginTimeSeconds = value;
161 }
164 return *this;
165 }
167
169
174 inline int GetRekeyFuzzPercentage() const { return m_rekeyFuzzPercentage; }
175 inline bool RekeyFuzzPercentageHasBeenSet() const { return m_rekeyFuzzPercentageHasBeenSet; }
176 inline void SetRekeyFuzzPercentage(int value) {
177 m_rekeyFuzzPercentageHasBeenSet = true;
178 m_rekeyFuzzPercentage = value;
179 }
182 return *this;
183 }
185
187
190 inline int GetReplayWindowSize() const { return m_replayWindowSize; }
191 inline bool ReplayWindowSizeHasBeenSet() const { return m_replayWindowSizeHasBeenSet; }
192 inline void SetReplayWindowSize(int value) {
193 m_replayWindowSizeHasBeenSet = true;
194 m_replayWindowSize = value;
195 }
197 SetReplayWindowSize(value);
198 return *this;
199 }
201
203
206 inline int GetDpdTimeoutSeconds() const { return m_dpdTimeoutSeconds; }
207 inline bool DpdTimeoutSecondsHasBeenSet() const { return m_dpdTimeoutSecondsHasBeenSet; }
208 inline void SetDpdTimeoutSeconds(int value) {
209 m_dpdTimeoutSecondsHasBeenSet = true;
210 m_dpdTimeoutSeconds = value;
211 }
214 return *this;
215 }
217
219
222 inline const Aws::String& GetDpdTimeoutAction() const { return m_dpdTimeoutAction; }
223 inline bool DpdTimeoutActionHasBeenSet() const { return m_dpdTimeoutActionHasBeenSet; }
224 template <typename DpdTimeoutActionT = Aws::String>
225 void SetDpdTimeoutAction(DpdTimeoutActionT&& value) {
226 m_dpdTimeoutActionHasBeenSet = true;
227 m_dpdTimeoutAction = std::forward<DpdTimeoutActionT>(value);
228 }
229 template <typename DpdTimeoutActionT = Aws::String>
230 TunnelOption& WithDpdTimeoutAction(DpdTimeoutActionT&& value) {
231 SetDpdTimeoutAction(std::forward<DpdTimeoutActionT>(value));
232 return *this;
233 }
235
237
242 return m_phase1EncryptionAlgorithms;
243 }
244 inline bool Phase1EncryptionAlgorithmsHasBeenSet() const { return m_phase1EncryptionAlgorithmsHasBeenSet; }
245 template <typename Phase1EncryptionAlgorithmsT = Aws::Vector<Phase1EncryptionAlgorithmsListValue>>
246 void SetPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsT&& value) {
247 m_phase1EncryptionAlgorithmsHasBeenSet = true;
248 m_phase1EncryptionAlgorithms = std::forward<Phase1EncryptionAlgorithmsT>(value);
249 }
250 template <typename Phase1EncryptionAlgorithmsT = Aws::Vector<Phase1EncryptionAlgorithmsListValue>>
251 TunnelOption& WithPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsT&& value) {
252 SetPhase1EncryptionAlgorithms(std::forward<Phase1EncryptionAlgorithmsT>(value));
253 return *this;
254 }
255 template <typename Phase1EncryptionAlgorithmsT = Phase1EncryptionAlgorithmsListValue>
256 TunnelOption& AddPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsT&& value) {
257 m_phase1EncryptionAlgorithmsHasBeenSet = true;
258 m_phase1EncryptionAlgorithms.emplace_back(std::forward<Phase1EncryptionAlgorithmsT>(value));
259 return *this;
260 }
262
264
269 return m_phase2EncryptionAlgorithms;
270 }
271 inline bool Phase2EncryptionAlgorithmsHasBeenSet() const { return m_phase2EncryptionAlgorithmsHasBeenSet; }
272 template <typename Phase2EncryptionAlgorithmsT = Aws::Vector<Phase2EncryptionAlgorithmsListValue>>
273 void SetPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsT&& value) {
274 m_phase2EncryptionAlgorithmsHasBeenSet = true;
275 m_phase2EncryptionAlgorithms = std::forward<Phase2EncryptionAlgorithmsT>(value);
276 }
277 template <typename Phase2EncryptionAlgorithmsT = Aws::Vector<Phase2EncryptionAlgorithmsListValue>>
278 TunnelOption& WithPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsT&& value) {
279 SetPhase2EncryptionAlgorithms(std::forward<Phase2EncryptionAlgorithmsT>(value));
280 return *this;
281 }
282 template <typename Phase2EncryptionAlgorithmsT = Phase2EncryptionAlgorithmsListValue>
283 TunnelOption& AddPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsT&& value) {
284 m_phase2EncryptionAlgorithmsHasBeenSet = true;
285 m_phase2EncryptionAlgorithms.emplace_back(std::forward<Phase2EncryptionAlgorithmsT>(value));
286 return *this;
287 }
289
291
295 inline const Aws::Vector<Phase1IntegrityAlgorithmsListValue>& GetPhase1IntegrityAlgorithms() const { return m_phase1IntegrityAlgorithms; }
296 inline bool Phase1IntegrityAlgorithmsHasBeenSet() const { return m_phase1IntegrityAlgorithmsHasBeenSet; }
297 template <typename Phase1IntegrityAlgorithmsT = Aws::Vector<Phase1IntegrityAlgorithmsListValue>>
298 void SetPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsT&& value) {
299 m_phase1IntegrityAlgorithmsHasBeenSet = true;
300 m_phase1IntegrityAlgorithms = std::forward<Phase1IntegrityAlgorithmsT>(value);
301 }
302 template <typename Phase1IntegrityAlgorithmsT = Aws::Vector<Phase1IntegrityAlgorithmsListValue>>
303 TunnelOption& WithPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsT&& value) {
304 SetPhase1IntegrityAlgorithms(std::forward<Phase1IntegrityAlgorithmsT>(value));
305 return *this;
306 }
307 template <typename Phase1IntegrityAlgorithmsT = Phase1IntegrityAlgorithmsListValue>
308 TunnelOption& AddPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsT&& value) {
309 m_phase1IntegrityAlgorithmsHasBeenSet = true;
310 m_phase1IntegrityAlgorithms.emplace_back(std::forward<Phase1IntegrityAlgorithmsT>(value));
311 return *this;
312 }
314
316
320 inline const Aws::Vector<Phase2IntegrityAlgorithmsListValue>& GetPhase2IntegrityAlgorithms() const { return m_phase2IntegrityAlgorithms; }
321 inline bool Phase2IntegrityAlgorithmsHasBeenSet() const { return m_phase2IntegrityAlgorithmsHasBeenSet; }
322 template <typename Phase2IntegrityAlgorithmsT = Aws::Vector<Phase2IntegrityAlgorithmsListValue>>
323 void SetPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsT&& value) {
324 m_phase2IntegrityAlgorithmsHasBeenSet = true;
325 m_phase2IntegrityAlgorithms = std::forward<Phase2IntegrityAlgorithmsT>(value);
326 }
327 template <typename Phase2IntegrityAlgorithmsT = Aws::Vector<Phase2IntegrityAlgorithmsListValue>>
328 TunnelOption& WithPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsT&& value) {
329 SetPhase2IntegrityAlgorithms(std::forward<Phase2IntegrityAlgorithmsT>(value));
330 return *this;
331 }
332 template <typename Phase2IntegrityAlgorithmsT = Phase2IntegrityAlgorithmsListValue>
333 TunnelOption& AddPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsT&& value) {
334 m_phase2IntegrityAlgorithmsHasBeenSet = true;
335 m_phase2IntegrityAlgorithms.emplace_back(std::forward<Phase2IntegrityAlgorithmsT>(value));
336 return *this;
337 }
339
341
345 inline const Aws::Vector<Phase1DHGroupNumbersListValue>& GetPhase1DHGroupNumbers() const { return m_phase1DHGroupNumbers; }
346 inline bool Phase1DHGroupNumbersHasBeenSet() const { return m_phase1DHGroupNumbersHasBeenSet; }
347 template <typename Phase1DHGroupNumbersT = Aws::Vector<Phase1DHGroupNumbersListValue>>
348 void SetPhase1DHGroupNumbers(Phase1DHGroupNumbersT&& value) {
349 m_phase1DHGroupNumbersHasBeenSet = true;
350 m_phase1DHGroupNumbers = std::forward<Phase1DHGroupNumbersT>(value);
351 }
352 template <typename Phase1DHGroupNumbersT = Aws::Vector<Phase1DHGroupNumbersListValue>>
353 TunnelOption& WithPhase1DHGroupNumbers(Phase1DHGroupNumbersT&& value) {
354 SetPhase1DHGroupNumbers(std::forward<Phase1DHGroupNumbersT>(value));
355 return *this;
356 }
357 template <typename Phase1DHGroupNumbersT = Phase1DHGroupNumbersListValue>
358 TunnelOption& AddPhase1DHGroupNumbers(Phase1DHGroupNumbersT&& value) {
359 m_phase1DHGroupNumbersHasBeenSet = true;
360 m_phase1DHGroupNumbers.emplace_back(std::forward<Phase1DHGroupNumbersT>(value));
361 return *this;
362 }
364
366
370 inline const Aws::Vector<Phase2DHGroupNumbersListValue>& GetPhase2DHGroupNumbers() const { return m_phase2DHGroupNumbers; }
371 inline bool Phase2DHGroupNumbersHasBeenSet() const { return m_phase2DHGroupNumbersHasBeenSet; }
372 template <typename Phase2DHGroupNumbersT = Aws::Vector<Phase2DHGroupNumbersListValue>>
373 void SetPhase2DHGroupNumbers(Phase2DHGroupNumbersT&& value) {
374 m_phase2DHGroupNumbersHasBeenSet = true;
375 m_phase2DHGroupNumbers = std::forward<Phase2DHGroupNumbersT>(value);
376 }
377 template <typename Phase2DHGroupNumbersT = Aws::Vector<Phase2DHGroupNumbersListValue>>
378 TunnelOption& WithPhase2DHGroupNumbers(Phase2DHGroupNumbersT&& value) {
379 SetPhase2DHGroupNumbers(std::forward<Phase2DHGroupNumbersT>(value));
380 return *this;
381 }
382 template <typename Phase2DHGroupNumbersT = Phase2DHGroupNumbersListValue>
383 TunnelOption& AddPhase2DHGroupNumbers(Phase2DHGroupNumbersT&& value) {
384 m_phase2DHGroupNumbersHasBeenSet = true;
385 m_phase2DHGroupNumbers.emplace_back(std::forward<Phase2DHGroupNumbersT>(value));
386 return *this;
387 }
389
391
394 inline const Aws::Vector<IKEVersionsListValue>& GetIkeVersions() const { return m_ikeVersions; }
395 inline bool IkeVersionsHasBeenSet() const { return m_ikeVersionsHasBeenSet; }
396 template <typename IkeVersionsT = Aws::Vector<IKEVersionsListValue>>
397 void SetIkeVersions(IkeVersionsT&& value) {
398 m_ikeVersionsHasBeenSet = true;
399 m_ikeVersions = std::forward<IkeVersionsT>(value);
400 }
401 template <typename IkeVersionsT = Aws::Vector<IKEVersionsListValue>>
402 TunnelOption& WithIkeVersions(IkeVersionsT&& value) {
403 SetIkeVersions(std::forward<IkeVersionsT>(value));
404 return *this;
405 }
406 template <typename IkeVersionsT = IKEVersionsListValue>
407 TunnelOption& AddIkeVersions(IkeVersionsT&& value) {
408 m_ikeVersionsHasBeenSet = true;
409 m_ikeVersions.emplace_back(std::forward<IkeVersionsT>(value));
410 return *this;
411 }
413
415
419 inline const Aws::String& GetStartupAction() const { return m_startupAction; }
420 inline bool StartupActionHasBeenSet() const { return m_startupActionHasBeenSet; }
421 template <typename StartupActionT = Aws::String>
422 void SetStartupAction(StartupActionT&& value) {
423 m_startupActionHasBeenSet = true;
424 m_startupAction = std::forward<StartupActionT>(value);
425 }
426 template <typename StartupActionT = Aws::String>
427 TunnelOption& WithStartupAction(StartupActionT&& value) {
428 SetStartupAction(std::forward<StartupActionT>(value));
429 return *this;
430 }
432
434
437 inline const VpnTunnelLogOptions& GetLogOptions() const { return m_logOptions; }
438 inline bool LogOptionsHasBeenSet() const { return m_logOptionsHasBeenSet; }
439 template <typename LogOptionsT = VpnTunnelLogOptions>
440 void SetLogOptions(LogOptionsT&& value) {
441 m_logOptionsHasBeenSet = true;
442 m_logOptions = std::forward<LogOptionsT>(value);
443 }
444 template <typename LogOptionsT = VpnTunnelLogOptions>
445 TunnelOption& WithLogOptions(LogOptionsT&& value) {
446 SetLogOptions(std::forward<LogOptionsT>(value));
447 return *this;
448 }
450
452
455 inline bool GetEnableTunnelLifecycleControl() const { return m_enableTunnelLifecycleControl; }
456 inline bool EnableTunnelLifecycleControlHasBeenSet() const { return m_enableTunnelLifecycleControlHasBeenSet; }
457 inline void SetEnableTunnelLifecycleControl(bool value) {
458 m_enableTunnelLifecycleControlHasBeenSet = true;
459 m_enableTunnelLifecycleControl = value;
460 }
463 return *this;
464 }
466 private:
467 Aws::String m_outsideIpAddress;
468
469 Aws::String m_tunnelInsideCidr;
470
471 Aws::String m_tunnelInsideIpv6Cidr;
472
473 Aws::String m_preSharedKey;
474
475 int m_phase1LifetimeSeconds{0};
476
477 int m_phase2LifetimeSeconds{0};
478
479 int m_rekeyMarginTimeSeconds{0};
480
481 int m_rekeyFuzzPercentage{0};
482
483 int m_replayWindowSize{0};
484
485 int m_dpdTimeoutSeconds{0};
486
487 Aws::String m_dpdTimeoutAction;
488
489 Aws::Vector<Phase1EncryptionAlgorithmsListValue> m_phase1EncryptionAlgorithms;
490
491 Aws::Vector<Phase2EncryptionAlgorithmsListValue> m_phase2EncryptionAlgorithms;
492
493 Aws::Vector<Phase1IntegrityAlgorithmsListValue> m_phase1IntegrityAlgorithms;
494
495 Aws::Vector<Phase2IntegrityAlgorithmsListValue> m_phase2IntegrityAlgorithms;
496
497 Aws::Vector<Phase1DHGroupNumbersListValue> m_phase1DHGroupNumbers;
498
499 Aws::Vector<Phase2DHGroupNumbersListValue> m_phase2DHGroupNumbers;
500
502
503 Aws::String m_startupAction;
504
505 VpnTunnelLogOptions m_logOptions;
506
507 bool m_enableTunnelLifecycleControl{false};
508 bool m_outsideIpAddressHasBeenSet = false;
509 bool m_tunnelInsideCidrHasBeenSet = false;
510 bool m_tunnelInsideIpv6CidrHasBeenSet = false;
511 bool m_preSharedKeyHasBeenSet = false;
512 bool m_phase1LifetimeSecondsHasBeenSet = false;
513 bool m_phase2LifetimeSecondsHasBeenSet = false;
514 bool m_rekeyMarginTimeSecondsHasBeenSet = false;
515 bool m_rekeyFuzzPercentageHasBeenSet = false;
516 bool m_replayWindowSizeHasBeenSet = false;
517 bool m_dpdTimeoutSecondsHasBeenSet = false;
518 bool m_dpdTimeoutActionHasBeenSet = false;
519 bool m_phase1EncryptionAlgorithmsHasBeenSet = false;
520 bool m_phase2EncryptionAlgorithmsHasBeenSet = false;
521 bool m_phase1IntegrityAlgorithmsHasBeenSet = false;
522 bool m_phase2IntegrityAlgorithmsHasBeenSet = false;
523 bool m_phase1DHGroupNumbersHasBeenSet = false;
524 bool m_phase2DHGroupNumbersHasBeenSet = false;
525 bool m_ikeVersionsHasBeenSet = false;
526 bool m_startupActionHasBeenSet = false;
527 bool m_logOptionsHasBeenSet = false;
528 bool m_enableTunnelLifecycleControlHasBeenSet = false;
529};
530
531} // namespace Model
532} // namespace EC2
533} // 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