AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpnTunnelOptionsSpecification.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/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>
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:
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
63 inline const Aws::String& GetTunnelInsideCidr() const{ return m_tunnelInsideCidr; }
64 inline bool TunnelInsideCidrHasBeenSet() const { return m_tunnelInsideCidrHasBeenSet; }
65 inline void SetTunnelInsideCidr(const Aws::String& value) { m_tunnelInsideCidrHasBeenSet = true; m_tunnelInsideCidr = value; }
66 inline void SetTunnelInsideCidr(Aws::String&& value) { m_tunnelInsideCidrHasBeenSet = true; m_tunnelInsideCidr = std::move(value); }
67 inline void SetTunnelInsideCidr(const char* value) { m_tunnelInsideCidrHasBeenSet = true; m_tunnelInsideCidr.assign(value); }
69 inline VpnTunnelOptionsSpecification& WithTunnelInsideCidr(Aws::String&& value) { SetTunnelInsideCidr(std::move(value)); return *this;}
70 inline VpnTunnelOptionsSpecification& WithTunnelInsideCidr(const char* value) { SetTunnelInsideCidr(value); return *this;}
72
74
80 inline const Aws::String& GetTunnelInsideIpv6Cidr() const{ return m_tunnelInsideIpv6Cidr; }
81 inline bool TunnelInsideIpv6CidrHasBeenSet() const { return m_tunnelInsideIpv6CidrHasBeenSet; }
82 inline void SetTunnelInsideIpv6Cidr(const Aws::String& value) { m_tunnelInsideIpv6CidrHasBeenSet = true; m_tunnelInsideIpv6Cidr = value; }
83 inline void SetTunnelInsideIpv6Cidr(Aws::String&& value) { m_tunnelInsideIpv6CidrHasBeenSet = true; m_tunnelInsideIpv6Cidr = std::move(value); }
84 inline void SetTunnelInsideIpv6Cidr(const char* value) { m_tunnelInsideIpv6CidrHasBeenSet = true; m_tunnelInsideIpv6Cidr.assign(value); }
87 inline VpnTunnelOptionsSpecification& WithTunnelInsideIpv6Cidr(const char* value) { SetTunnelInsideIpv6Cidr(value); return *this;}
89
91
97 inline const Aws::String& GetPreSharedKey() const{ return m_preSharedKey; }
98 inline bool PreSharedKeyHasBeenSet() const { return m_preSharedKeyHasBeenSet; }
99 inline void SetPreSharedKey(const Aws::String& value) { m_preSharedKeyHasBeenSet = true; m_preSharedKey = value; }
100 inline void SetPreSharedKey(Aws::String&& value) { m_preSharedKeyHasBeenSet = true; m_preSharedKey = std::move(value); }
101 inline void SetPreSharedKey(const char* value) { m_preSharedKeyHasBeenSet = true; m_preSharedKey.assign(value); }
102 inline VpnTunnelOptionsSpecification& WithPreSharedKey(const Aws::String& value) { SetPreSharedKey(value); return *this;}
103 inline VpnTunnelOptionsSpecification& WithPreSharedKey(Aws::String&& value) { SetPreSharedKey(std::move(value)); return *this;}
104 inline VpnTunnelOptionsSpecification& WithPreSharedKey(const char* value) { SetPreSharedKey(value); return *this;}
106
108
113 inline int GetPhase1LifetimeSeconds() const{ return m_phase1LifetimeSeconds; }
114 inline bool Phase1LifetimeSecondsHasBeenSet() const { return m_phase1LifetimeSecondsHasBeenSet; }
115 inline void SetPhase1LifetimeSeconds(int value) { m_phase1LifetimeSecondsHasBeenSet = true; m_phase1LifetimeSeconds = value; }
118
120
126 inline int GetPhase2LifetimeSeconds() const{ return m_phase2LifetimeSeconds; }
127 inline bool Phase2LifetimeSecondsHasBeenSet() const { return m_phase2LifetimeSecondsHasBeenSet; }
128 inline void SetPhase2LifetimeSeconds(int value) { m_phase2LifetimeSecondsHasBeenSet = true; m_phase2LifetimeSeconds = value; }
131
133
141 inline int GetRekeyMarginTimeSeconds() const{ return m_rekeyMarginTimeSeconds; }
142 inline bool RekeyMarginTimeSecondsHasBeenSet() const { return m_rekeyMarginTimeSecondsHasBeenSet; }
143 inline void SetRekeyMarginTimeSeconds(int value) { m_rekeyMarginTimeSecondsHasBeenSet = true; m_rekeyMarginTimeSeconds = value; }
146
148
154 inline int GetRekeyFuzzPercentage() const{ return m_rekeyFuzzPercentage; }
155 inline bool RekeyFuzzPercentageHasBeenSet() const { return m_rekeyFuzzPercentageHasBeenSet; }
156 inline void SetRekeyFuzzPercentage(int value) { m_rekeyFuzzPercentageHasBeenSet = true; m_rekeyFuzzPercentage = value; }
159
161
165 inline int GetReplayWindowSize() const{ return m_replayWindowSize; }
166 inline bool ReplayWindowSizeHasBeenSet() const { return m_replayWindowSizeHasBeenSet; }
167 inline void SetReplayWindowSize(int value) { m_replayWindowSizeHasBeenSet = true; m_replayWindowSize = value; }
170
172
176 inline int GetDPDTimeoutSeconds() const{ return m_dPDTimeoutSeconds; }
177 inline bool DPDTimeoutSecondsHasBeenSet() const { return m_dPDTimeoutSecondsHasBeenSet; }
178 inline void SetDPDTimeoutSeconds(int value) { m_dPDTimeoutSecondsHasBeenSet = true; m_dPDTimeoutSeconds = value; }
181
183
189 inline const Aws::String& GetDPDTimeoutAction() const{ return m_dPDTimeoutAction; }
190 inline bool DPDTimeoutActionHasBeenSet() const { return m_dPDTimeoutActionHasBeenSet; }
191 inline void SetDPDTimeoutAction(const Aws::String& value) { m_dPDTimeoutActionHasBeenSet = true; m_dPDTimeoutAction = value; }
192 inline void SetDPDTimeoutAction(Aws::String&& value) { m_dPDTimeoutActionHasBeenSet = true; m_dPDTimeoutAction = std::move(value); }
193 inline void SetDPDTimeoutAction(const char* value) { m_dPDTimeoutActionHasBeenSet = true; m_dPDTimeoutAction.assign(value); }
195 inline VpnTunnelOptionsSpecification& WithDPDTimeoutAction(Aws::String&& value) { SetDPDTimeoutAction(std::move(value)); return *this;}
196 inline VpnTunnelOptionsSpecification& WithDPDTimeoutAction(const char* value) { SetDPDTimeoutAction(value); return *this;}
198
200
206 inline const Aws::Vector<Phase1EncryptionAlgorithmsRequestListValue>& GetPhase1EncryptionAlgorithms() const{ return m_phase1EncryptionAlgorithms; }
207 inline bool Phase1EncryptionAlgorithmsHasBeenSet() const { return m_phase1EncryptionAlgorithmsHasBeenSet; }
208 inline void SetPhase1EncryptionAlgorithms(const Aws::Vector<Phase1EncryptionAlgorithmsRequestListValue>& value) { m_phase1EncryptionAlgorithmsHasBeenSet = true; m_phase1EncryptionAlgorithms = value; }
209 inline void SetPhase1EncryptionAlgorithms(Aws::Vector<Phase1EncryptionAlgorithmsRequestListValue>&& value) { m_phase1EncryptionAlgorithmsHasBeenSet = true; m_phase1EncryptionAlgorithms = std::move(value); }
212 inline VpnTunnelOptionsSpecification& AddPhase1EncryptionAlgorithms(const Phase1EncryptionAlgorithmsRequestListValue& value) { m_phase1EncryptionAlgorithmsHasBeenSet = true; m_phase1EncryptionAlgorithms.push_back(value); return *this; }
213 inline VpnTunnelOptionsSpecification& AddPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsRequestListValue&& value) { m_phase1EncryptionAlgorithmsHasBeenSet = true; m_phase1EncryptionAlgorithms.push_back(std::move(value)); return *this; }
215
217
223 inline const Aws::Vector<Phase2EncryptionAlgorithmsRequestListValue>& GetPhase2EncryptionAlgorithms() const{ return m_phase2EncryptionAlgorithms; }
224 inline bool Phase2EncryptionAlgorithmsHasBeenSet() const { return m_phase2EncryptionAlgorithmsHasBeenSet; }
225 inline void SetPhase2EncryptionAlgorithms(const Aws::Vector<Phase2EncryptionAlgorithmsRequestListValue>& value) { m_phase2EncryptionAlgorithmsHasBeenSet = true; m_phase2EncryptionAlgorithms = value; }
226 inline void SetPhase2EncryptionAlgorithms(Aws::Vector<Phase2EncryptionAlgorithmsRequestListValue>&& value) { m_phase2EncryptionAlgorithmsHasBeenSet = true; m_phase2EncryptionAlgorithms = std::move(value); }
229 inline VpnTunnelOptionsSpecification& AddPhase2EncryptionAlgorithms(const Phase2EncryptionAlgorithmsRequestListValue& value) { m_phase2EncryptionAlgorithmsHasBeenSet = true; m_phase2EncryptionAlgorithms.push_back(value); return *this; }
230 inline VpnTunnelOptionsSpecification& AddPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsRequestListValue&& value) { m_phase2EncryptionAlgorithmsHasBeenSet = true; m_phase2EncryptionAlgorithms.push_back(std::move(value)); return *this; }
232
234
239 inline const Aws::Vector<Phase1IntegrityAlgorithmsRequestListValue>& GetPhase1IntegrityAlgorithms() const{ return m_phase1IntegrityAlgorithms; }
240 inline bool Phase1IntegrityAlgorithmsHasBeenSet() const { return m_phase1IntegrityAlgorithmsHasBeenSet; }
241 inline void SetPhase1IntegrityAlgorithms(const Aws::Vector<Phase1IntegrityAlgorithmsRequestListValue>& value) { m_phase1IntegrityAlgorithmsHasBeenSet = true; m_phase1IntegrityAlgorithms = value; }
242 inline void SetPhase1IntegrityAlgorithms(Aws::Vector<Phase1IntegrityAlgorithmsRequestListValue>&& value) { m_phase1IntegrityAlgorithmsHasBeenSet = true; m_phase1IntegrityAlgorithms = std::move(value); }
245 inline VpnTunnelOptionsSpecification& AddPhase1IntegrityAlgorithms(const Phase1IntegrityAlgorithmsRequestListValue& value) { m_phase1IntegrityAlgorithmsHasBeenSet = true; m_phase1IntegrityAlgorithms.push_back(value); return *this; }
246 inline VpnTunnelOptionsSpecification& AddPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsRequestListValue&& value) { m_phase1IntegrityAlgorithmsHasBeenSet = true; m_phase1IntegrityAlgorithms.push_back(std::move(value)); return *this; }
248
250
255 inline const Aws::Vector<Phase2IntegrityAlgorithmsRequestListValue>& GetPhase2IntegrityAlgorithms() const{ return m_phase2IntegrityAlgorithms; }
256 inline bool Phase2IntegrityAlgorithmsHasBeenSet() const { return m_phase2IntegrityAlgorithmsHasBeenSet; }
257 inline void SetPhase2IntegrityAlgorithms(const Aws::Vector<Phase2IntegrityAlgorithmsRequestListValue>& value) { m_phase2IntegrityAlgorithmsHasBeenSet = true; m_phase2IntegrityAlgorithms = value; }
258 inline void SetPhase2IntegrityAlgorithms(Aws::Vector<Phase2IntegrityAlgorithmsRequestListValue>&& value) { m_phase2IntegrityAlgorithmsHasBeenSet = true; m_phase2IntegrityAlgorithms = std::move(value); }
261 inline VpnTunnelOptionsSpecification& AddPhase2IntegrityAlgorithms(const Phase2IntegrityAlgorithmsRequestListValue& value) { m_phase2IntegrityAlgorithmsHasBeenSet = true; m_phase2IntegrityAlgorithms.push_back(value); return *this; }
262 inline VpnTunnelOptionsSpecification& AddPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsRequestListValue&& value) { m_phase2IntegrityAlgorithmsHasBeenSet = true; m_phase2IntegrityAlgorithms.push_back(std::move(value)); return *this; }
264
266
273 inline const Aws::Vector<Phase1DHGroupNumbersRequestListValue>& GetPhase1DHGroupNumbers() const{ return m_phase1DHGroupNumbers; }
274 inline bool Phase1DHGroupNumbersHasBeenSet() const { return m_phase1DHGroupNumbersHasBeenSet; }
275 inline void SetPhase1DHGroupNumbers(const Aws::Vector<Phase1DHGroupNumbersRequestListValue>& value) { m_phase1DHGroupNumbersHasBeenSet = true; m_phase1DHGroupNumbers = value; }
276 inline void SetPhase1DHGroupNumbers(Aws::Vector<Phase1DHGroupNumbersRequestListValue>&& value) { m_phase1DHGroupNumbersHasBeenSet = true; m_phase1DHGroupNumbers = std::move(value); }
279 inline VpnTunnelOptionsSpecification& AddPhase1DHGroupNumbers(const Phase1DHGroupNumbersRequestListValue& value) { m_phase1DHGroupNumbersHasBeenSet = true; m_phase1DHGroupNumbers.push_back(value); return *this; }
280 inline VpnTunnelOptionsSpecification& AddPhase1DHGroupNumbers(Phase1DHGroupNumbersRequestListValue&& value) { m_phase1DHGroupNumbersHasBeenSet = true; m_phase1DHGroupNumbers.push_back(std::move(value)); return *this; }
282
284
291 inline const Aws::Vector<Phase2DHGroupNumbersRequestListValue>& GetPhase2DHGroupNumbers() const{ return m_phase2DHGroupNumbers; }
292 inline bool Phase2DHGroupNumbersHasBeenSet() const { return m_phase2DHGroupNumbersHasBeenSet; }
293 inline void SetPhase2DHGroupNumbers(const Aws::Vector<Phase2DHGroupNumbersRequestListValue>& value) { m_phase2DHGroupNumbersHasBeenSet = true; m_phase2DHGroupNumbers = value; }
294 inline void SetPhase2DHGroupNumbers(Aws::Vector<Phase2DHGroupNumbersRequestListValue>&& value) { m_phase2DHGroupNumbersHasBeenSet = true; m_phase2DHGroupNumbers = std::move(value); }
297 inline VpnTunnelOptionsSpecification& AddPhase2DHGroupNumbers(const Phase2DHGroupNumbersRequestListValue& value) { m_phase2DHGroupNumbersHasBeenSet = true; m_phase2DHGroupNumbers.push_back(value); return *this; }
298 inline VpnTunnelOptionsSpecification& AddPhase2DHGroupNumbers(Phase2DHGroupNumbersRequestListValue&& value) { m_phase2DHGroupNumbersHasBeenSet = true; m_phase2DHGroupNumbers.push_back(std::move(value)); return *this; }
300
302
306 inline const Aws::Vector<IKEVersionsRequestListValue>& GetIKEVersions() const{ return m_iKEVersions; }
307 inline bool IKEVersionsHasBeenSet() const { return m_iKEVersionsHasBeenSet; }
308 inline void SetIKEVersions(const Aws::Vector<IKEVersionsRequestListValue>& value) { m_iKEVersionsHasBeenSet = true; m_iKEVersions = value; }
309 inline void SetIKEVersions(Aws::Vector<IKEVersionsRequestListValue>&& value) { m_iKEVersionsHasBeenSet = true; m_iKEVersions = std::move(value); }
312 inline VpnTunnelOptionsSpecification& AddIKEVersions(const IKEVersionsRequestListValue& value) { m_iKEVersionsHasBeenSet = true; m_iKEVersions.push_back(value); return *this; }
313 inline VpnTunnelOptionsSpecification& AddIKEVersions(IKEVersionsRequestListValue&& value) { m_iKEVersionsHasBeenSet = true; m_iKEVersions.push_back(std::move(value)); return *this; }
315
317
324 inline const Aws::String& GetStartupAction() const{ return m_startupAction; }
325 inline bool StartupActionHasBeenSet() const { return m_startupActionHasBeenSet; }
326 inline void SetStartupAction(const Aws::String& value) { m_startupActionHasBeenSet = true; m_startupAction = value; }
327 inline void SetStartupAction(Aws::String&& value) { m_startupActionHasBeenSet = true; m_startupAction = std::move(value); }
328 inline void SetStartupAction(const char* value) { m_startupActionHasBeenSet = true; m_startupAction.assign(value); }
330 inline VpnTunnelOptionsSpecification& WithStartupAction(Aws::String&& value) { SetStartupAction(std::move(value)); return *this;}
331 inline VpnTunnelOptionsSpecification& WithStartupAction(const char* value) { SetStartupAction(value); return *this;}
333
335
338 inline const VpnTunnelLogOptionsSpecification& GetLogOptions() const{ return m_logOptions; }
339 inline bool LogOptionsHasBeenSet() const { return m_logOptionsHasBeenSet; }
340 inline void SetLogOptions(const VpnTunnelLogOptionsSpecification& value) { m_logOptionsHasBeenSet = true; m_logOptions = value; }
341 inline void SetLogOptions(VpnTunnelLogOptionsSpecification&& value) { m_logOptionsHasBeenSet = true; m_logOptions = std::move(value); }
345
347
350 inline bool GetEnableTunnelLifecycleControl() const{ return m_enableTunnelLifecycleControl; }
351 inline bool EnableTunnelLifecycleControlHasBeenSet() const { return m_enableTunnelLifecycleControlHasBeenSet; }
352 inline void SetEnableTunnelLifecycleControl(bool value) { m_enableTunnelLifecycleControlHasBeenSet = true; m_enableTunnelLifecycleControl = value; }
355 private:
356
357 Aws::String m_tunnelInsideCidr;
358 bool m_tunnelInsideCidrHasBeenSet = false;
359
360 Aws::String m_tunnelInsideIpv6Cidr;
361 bool m_tunnelInsideIpv6CidrHasBeenSet = false;
362
363 Aws::String m_preSharedKey;
364 bool m_preSharedKeyHasBeenSet = false;
365
366 int m_phase1LifetimeSeconds;
367 bool m_phase1LifetimeSecondsHasBeenSet = false;
368
369 int m_phase2LifetimeSeconds;
370 bool m_phase2LifetimeSecondsHasBeenSet = false;
371
372 int m_rekeyMarginTimeSeconds;
373 bool m_rekeyMarginTimeSecondsHasBeenSet = false;
374
375 int m_rekeyFuzzPercentage;
376 bool m_rekeyFuzzPercentageHasBeenSet = false;
377
378 int m_replayWindowSize;
379 bool m_replayWindowSizeHasBeenSet = false;
380
381 int m_dPDTimeoutSeconds;
382 bool m_dPDTimeoutSecondsHasBeenSet = false;
383
384 Aws::String m_dPDTimeoutAction;
385 bool m_dPDTimeoutActionHasBeenSet = false;
386
388 bool m_phase1EncryptionAlgorithmsHasBeenSet = false;
389
391 bool m_phase2EncryptionAlgorithmsHasBeenSet = false;
392
394 bool m_phase1IntegrityAlgorithmsHasBeenSet = false;
395
397 bool m_phase2IntegrityAlgorithmsHasBeenSet = false;
398
400 bool m_phase1DHGroupNumbersHasBeenSet = false;
401
403 bool m_phase2DHGroupNumbersHasBeenSet = false;
404
406 bool m_iKEVersionsHasBeenSet = false;
407
408 Aws::String m_startupAction;
409 bool m_startupActionHasBeenSet = false;
410
412 bool m_logOptionsHasBeenSet = false;
413
414 bool m_enableTunnelLifecycleControl;
415 bool m_enableTunnelLifecycleControlHasBeenSet = false;
416 };
417
418} // namespace Model
419} // namespace EC2
420} // namespace Aws
VpnTunnelOptionsSpecification & WithPhase2EncryptionAlgorithms(const Aws::Vector< Phase2EncryptionAlgorithmsRequestListValue > &value)
VpnTunnelOptionsSpecification & WithStartupAction(const Aws::String &value)
void SetPhase2DHGroupNumbers(Aws::Vector< Phase2DHGroupNumbersRequestListValue > &&value)
void SetPhase2IntegrityAlgorithms(const Aws::Vector< Phase2IntegrityAlgorithmsRequestListValue > &value)
VpnTunnelOptionsSpecification & WithPhase1IntegrityAlgorithms(Aws::Vector< Phase1IntegrityAlgorithmsRequestListValue > &&value)
VpnTunnelOptionsSpecification & WithPhase2IntegrityAlgorithms(const Aws::Vector< Phase2IntegrityAlgorithmsRequestListValue > &value)
VpnTunnelOptionsSpecification & WithPhase2DHGroupNumbers(const Aws::Vector< Phase2DHGroupNumbersRequestListValue > &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)
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)
const Aws::Vector< Phase2DHGroupNumbersRequestListValue > & GetPhase2DHGroupNumbers() const
VpnTunnelOptionsSpecification & WithPhase1DHGroupNumbers(const Aws::Vector< Phase1DHGroupNumbersRequestListValue > &value)
VpnTunnelOptionsSpecification & WithTunnelInsideCidr(const char *value)
VpnTunnelOptionsSpecification & WithDPDTimeoutAction(const char *value)
void SetPhase1IntegrityAlgorithms(const Aws::Vector< Phase1IntegrityAlgorithmsRequestListValue > &value)
void SetPhase2EncryptionAlgorithms(const Aws::Vector< Phase2EncryptionAlgorithmsRequestListValue > &value)
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)
VpnTunnelOptionsSpecification & AddPhase1EncryptionAlgorithms(const Phase1EncryptionAlgorithmsRequestListValue &value)
VpnTunnelOptionsSpecification & WithPhase1LifetimeSeconds(int value)
AWS_EC2_API VpnTunnelOptionsSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VpnTunnelOptionsSpecification & WithDPDTimeoutAction(const Aws::String &value)
void SetIKEVersions(const Aws::Vector< IKEVersionsRequestListValue > &value)
VpnTunnelOptionsSpecification & WithStartupAction(const char *value)
VpnTunnelOptionsSpecification & WithPhase1DHGroupNumbers(Aws::Vector< Phase1DHGroupNumbersRequestListValue > &&value)
const Aws::Vector< Phase1IntegrityAlgorithmsRequestListValue > & GetPhase1IntegrityAlgorithms() const
VpnTunnelOptionsSpecification & WithRekeyMarginTimeSeconds(int value)
const Aws::Vector< Phase2EncryptionAlgorithmsRequestListValue > & GetPhase2EncryptionAlgorithms() const
VpnTunnelOptionsSpecification & WithPhase2DHGroupNumbers(Aws::Vector< Phase2DHGroupNumbersRequestListValue > &&value)
VpnTunnelOptionsSpecification & AddPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsRequestListValue &&value)
VpnTunnelOptionsSpecification & WithDPDTimeoutSeconds(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VpnTunnelOptionsSpecification & AddPhase2DHGroupNumbers(const Phase2DHGroupNumbersRequestListValue &value)
VpnTunnelOptionsSpecification & WithStartupAction(Aws::String &&value)
AWS_EC2_API VpnTunnelOptionsSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
VpnTunnelOptionsSpecification & WithPhase2LifetimeSeconds(int value)
VpnTunnelOptionsSpecification & WithTunnelInsideIpv6Cidr(const char *value)
const Aws::Vector< IKEVersionsRequestListValue > & GetIKEVersions() const
void SetPhase1IntegrityAlgorithms(Aws::Vector< Phase1IntegrityAlgorithmsRequestListValue > &&value)
void SetPhase1DHGroupNumbers(Aws::Vector< Phase1DHGroupNumbersRequestListValue > &&value)
const Aws::Vector< Phase1DHGroupNumbersRequestListValue > & GetPhase1DHGroupNumbers() const
VpnTunnelOptionsSpecification & WithPhase1IntegrityAlgorithms(const Aws::Vector< Phase1IntegrityAlgorithmsRequestListValue > &value)
void SetIKEVersions(Aws::Vector< IKEVersionsRequestListValue > &&value)
VpnTunnelOptionsSpecification & AddPhase1DHGroupNumbers(Phase1DHGroupNumbersRequestListValue &&value)
VpnTunnelOptionsSpecification & AddPhase1DHGroupNumbers(const Phase1DHGroupNumbersRequestListValue &value)
void SetPhase1EncryptionAlgorithms(Aws::Vector< Phase1EncryptionAlgorithmsRequestListValue > &&value)
VpnTunnelOptionsSpecification & WithIKEVersions(Aws::Vector< IKEVersionsRequestListValue > &&value)
VpnTunnelOptionsSpecification & WithDPDTimeoutAction(Aws::String &&value)
VpnTunnelOptionsSpecification & WithReplayWindowSize(int value)
VpnTunnelOptionsSpecification & AddIKEVersions(const IKEVersionsRequestListValue &value)
VpnTunnelOptionsSpecification & AddPhase1IntegrityAlgorithms(const Phase1IntegrityAlgorithmsRequestListValue &value)
VpnTunnelOptionsSpecification & WithLogOptions(VpnTunnelLogOptionsSpecification &&value)
VpnTunnelOptionsSpecification & WithIKEVersions(const Aws::Vector< IKEVersionsRequestListValue > &value)
VpnTunnelOptionsSpecification & WithLogOptions(const VpnTunnelLogOptionsSpecification &value)
VpnTunnelOptionsSpecification & WithTunnelInsideCidr(Aws::String &&value)
const Aws::Vector< Phase2IntegrityAlgorithmsRequestListValue > & GetPhase2IntegrityAlgorithms() const
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)
VpnTunnelOptionsSpecification & WithPhase1EncryptionAlgorithms(Aws::Vector< Phase1EncryptionAlgorithmsRequestListValue > &&value)
VpnTunnelOptionsSpecification & AddPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsRequestListValue &&value)
const Aws::Vector< Phase1EncryptionAlgorithmsRequestListValue > & GetPhase1EncryptionAlgorithms() const
void SetPhase2IntegrityAlgorithms(Aws::Vector< Phase2IntegrityAlgorithmsRequestListValue > &&value)
VpnTunnelOptionsSpecification & WithTunnelInsideIpv6Cidr(const Aws::String &value)
VpnTunnelOptionsSpecification & WithEnableTunnelLifecycleControl(bool value)
VpnTunnelOptionsSpecification & WithPreSharedKey(const char *value)
VpnTunnelOptionsSpecification & AddPhase2EncryptionAlgorithms(const Phase2EncryptionAlgorithmsRequestListValue &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