AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetOutsideIpAddress(const Aws::String& value) { m_outsideIpAddressHasBeenSet = true; m_outsideIpAddress = value; }
58 inline void SetOutsideIpAddress(Aws::String&& value) { m_outsideIpAddressHasBeenSet = true; m_outsideIpAddress = std::move(value); }
59 inline void SetOutsideIpAddress(const char* value) { m_outsideIpAddressHasBeenSet = true; m_outsideIpAddress.assign(value); }
60 inline TunnelOption& WithOutsideIpAddress(const Aws::String& value) { SetOutsideIpAddress(value); return *this;}
61 inline TunnelOption& WithOutsideIpAddress(Aws::String&& value) { SetOutsideIpAddress(std::move(value)); return *this;}
62 inline TunnelOption& WithOutsideIpAddress(const char* value) { SetOutsideIpAddress(value); return *this;}
64
66
69 inline const Aws::String& GetTunnelInsideCidr() const{ return m_tunnelInsideCidr; }
70 inline bool TunnelInsideCidrHasBeenSet() const { return m_tunnelInsideCidrHasBeenSet; }
71 inline void SetTunnelInsideCidr(const Aws::String& value) { m_tunnelInsideCidrHasBeenSet = true; m_tunnelInsideCidr = value; }
72 inline void SetTunnelInsideCidr(Aws::String&& value) { m_tunnelInsideCidrHasBeenSet = true; m_tunnelInsideCidr = std::move(value); }
73 inline void SetTunnelInsideCidr(const char* value) { m_tunnelInsideCidrHasBeenSet = true; m_tunnelInsideCidr.assign(value); }
74 inline TunnelOption& WithTunnelInsideCidr(const Aws::String& value) { SetTunnelInsideCidr(value); return *this;}
75 inline TunnelOption& WithTunnelInsideCidr(Aws::String&& value) { SetTunnelInsideCidr(std::move(value)); return *this;}
76 inline TunnelOption& WithTunnelInsideCidr(const char* value) { SetTunnelInsideCidr(value); return *this;}
78
80
83 inline const Aws::String& GetTunnelInsideIpv6Cidr() const{ return m_tunnelInsideIpv6Cidr; }
84 inline bool TunnelInsideIpv6CidrHasBeenSet() const { return m_tunnelInsideIpv6CidrHasBeenSet; }
85 inline void SetTunnelInsideIpv6Cidr(const Aws::String& value) { m_tunnelInsideIpv6CidrHasBeenSet = true; m_tunnelInsideIpv6Cidr = value; }
86 inline void SetTunnelInsideIpv6Cidr(Aws::String&& value) { m_tunnelInsideIpv6CidrHasBeenSet = true; m_tunnelInsideIpv6Cidr = std::move(value); }
87 inline void SetTunnelInsideIpv6Cidr(const char* value) { m_tunnelInsideIpv6CidrHasBeenSet = true; m_tunnelInsideIpv6Cidr.assign(value); }
88 inline TunnelOption& WithTunnelInsideIpv6Cidr(const Aws::String& value) { SetTunnelInsideIpv6Cidr(value); return *this;}
89 inline TunnelOption& WithTunnelInsideIpv6Cidr(Aws::String&& value) { SetTunnelInsideIpv6Cidr(std::move(value)); return *this;}
90 inline TunnelOption& WithTunnelInsideIpv6Cidr(const char* value) { SetTunnelInsideIpv6Cidr(value); return *this;}
92
94
98 inline const Aws::String& GetPreSharedKey() const{ return m_preSharedKey; }
99 inline bool PreSharedKeyHasBeenSet() const { return m_preSharedKeyHasBeenSet; }
100 inline void SetPreSharedKey(const Aws::String& value) { m_preSharedKeyHasBeenSet = true; m_preSharedKey = value; }
101 inline void SetPreSharedKey(Aws::String&& value) { m_preSharedKeyHasBeenSet = true; m_preSharedKey = std::move(value); }
102 inline void SetPreSharedKey(const char* value) { m_preSharedKeyHasBeenSet = true; m_preSharedKey.assign(value); }
103 inline TunnelOption& WithPreSharedKey(const Aws::String& value) { SetPreSharedKey(value); return *this;}
104 inline TunnelOption& WithPreSharedKey(Aws::String&& value) { SetPreSharedKey(std::move(value)); return *this;}
105 inline TunnelOption& WithPreSharedKey(const char* value) { SetPreSharedKey(value); return *this;}
107
109
112 inline int GetPhase1LifetimeSeconds() const{ return m_phase1LifetimeSeconds; }
113 inline bool Phase1LifetimeSecondsHasBeenSet() const { return m_phase1LifetimeSecondsHasBeenSet; }
114 inline void SetPhase1LifetimeSeconds(int value) { m_phase1LifetimeSecondsHasBeenSet = true; m_phase1LifetimeSeconds = value; }
115 inline TunnelOption& WithPhase1LifetimeSeconds(int value) { SetPhase1LifetimeSeconds(value); return *this;}
117
119
122 inline int GetPhase2LifetimeSeconds() const{ return m_phase2LifetimeSeconds; }
123 inline bool Phase2LifetimeSecondsHasBeenSet() const { return m_phase2LifetimeSecondsHasBeenSet; }
124 inline void SetPhase2LifetimeSeconds(int value) { m_phase2LifetimeSecondsHasBeenSet = true; m_phase2LifetimeSeconds = value; }
125 inline TunnelOption& WithPhase2LifetimeSeconds(int value) { SetPhase2LifetimeSeconds(value); return *this;}
127
129
134 inline int GetRekeyMarginTimeSeconds() const{ return m_rekeyMarginTimeSeconds; }
135 inline bool RekeyMarginTimeSecondsHasBeenSet() const { return m_rekeyMarginTimeSecondsHasBeenSet; }
136 inline void SetRekeyMarginTimeSeconds(int value) { m_rekeyMarginTimeSecondsHasBeenSet = true; m_rekeyMarginTimeSeconds = value; }
137 inline TunnelOption& WithRekeyMarginTimeSeconds(int value) { SetRekeyMarginTimeSeconds(value); return *this;}
139
141
146 inline int GetRekeyFuzzPercentage() const{ return m_rekeyFuzzPercentage; }
147 inline bool RekeyFuzzPercentageHasBeenSet() const { return m_rekeyFuzzPercentageHasBeenSet; }
148 inline void SetRekeyFuzzPercentage(int value) { m_rekeyFuzzPercentageHasBeenSet = true; m_rekeyFuzzPercentage = value; }
149 inline TunnelOption& WithRekeyFuzzPercentage(int value) { SetRekeyFuzzPercentage(value); return *this;}
151
153
156 inline int GetReplayWindowSize() const{ return m_replayWindowSize; }
157 inline bool ReplayWindowSizeHasBeenSet() const { return m_replayWindowSizeHasBeenSet; }
158 inline void SetReplayWindowSize(int value) { m_replayWindowSizeHasBeenSet = true; m_replayWindowSize = value; }
159 inline TunnelOption& WithReplayWindowSize(int value) { SetReplayWindowSize(value); return *this;}
161
163
166 inline int GetDpdTimeoutSeconds() const{ return m_dpdTimeoutSeconds; }
167 inline bool DpdTimeoutSecondsHasBeenSet() const { return m_dpdTimeoutSecondsHasBeenSet; }
168 inline void SetDpdTimeoutSeconds(int value) { m_dpdTimeoutSecondsHasBeenSet = true; m_dpdTimeoutSeconds = value; }
169 inline TunnelOption& WithDpdTimeoutSeconds(int value) { SetDpdTimeoutSeconds(value); return *this;}
171
173
176 inline const Aws::String& GetDpdTimeoutAction() const{ return m_dpdTimeoutAction; }
177 inline bool DpdTimeoutActionHasBeenSet() const { return m_dpdTimeoutActionHasBeenSet; }
178 inline void SetDpdTimeoutAction(const Aws::String& value) { m_dpdTimeoutActionHasBeenSet = true; m_dpdTimeoutAction = value; }
179 inline void SetDpdTimeoutAction(Aws::String&& value) { m_dpdTimeoutActionHasBeenSet = true; m_dpdTimeoutAction = std::move(value); }
180 inline void SetDpdTimeoutAction(const char* value) { m_dpdTimeoutActionHasBeenSet = true; m_dpdTimeoutAction.assign(value); }
181 inline TunnelOption& WithDpdTimeoutAction(const Aws::String& value) { SetDpdTimeoutAction(value); return *this;}
182 inline TunnelOption& WithDpdTimeoutAction(Aws::String&& value) { SetDpdTimeoutAction(std::move(value)); return *this;}
183 inline TunnelOption& WithDpdTimeoutAction(const char* value) { SetDpdTimeoutAction(value); return *this;}
185
187
191 inline const Aws::Vector<Phase1EncryptionAlgorithmsListValue>& GetPhase1EncryptionAlgorithms() const{ return m_phase1EncryptionAlgorithms; }
192 inline bool Phase1EncryptionAlgorithmsHasBeenSet() const { return m_phase1EncryptionAlgorithmsHasBeenSet; }
193 inline void SetPhase1EncryptionAlgorithms(const Aws::Vector<Phase1EncryptionAlgorithmsListValue>& value) { m_phase1EncryptionAlgorithmsHasBeenSet = true; m_phase1EncryptionAlgorithms = value; }
194 inline void SetPhase1EncryptionAlgorithms(Aws::Vector<Phase1EncryptionAlgorithmsListValue>&& value) { m_phase1EncryptionAlgorithmsHasBeenSet = true; m_phase1EncryptionAlgorithms = std::move(value); }
197 inline TunnelOption& AddPhase1EncryptionAlgorithms(const Phase1EncryptionAlgorithmsListValue& value) { m_phase1EncryptionAlgorithmsHasBeenSet = true; m_phase1EncryptionAlgorithms.push_back(value); return *this; }
198 inline TunnelOption& AddPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsListValue&& value) { m_phase1EncryptionAlgorithmsHasBeenSet = true; m_phase1EncryptionAlgorithms.push_back(std::move(value)); return *this; }
200
202
206 inline const Aws::Vector<Phase2EncryptionAlgorithmsListValue>& GetPhase2EncryptionAlgorithms() const{ return m_phase2EncryptionAlgorithms; }
207 inline bool Phase2EncryptionAlgorithmsHasBeenSet() const { return m_phase2EncryptionAlgorithmsHasBeenSet; }
208 inline void SetPhase2EncryptionAlgorithms(const Aws::Vector<Phase2EncryptionAlgorithmsListValue>& value) { m_phase2EncryptionAlgorithmsHasBeenSet = true; m_phase2EncryptionAlgorithms = value; }
209 inline void SetPhase2EncryptionAlgorithms(Aws::Vector<Phase2EncryptionAlgorithmsListValue>&& value) { m_phase2EncryptionAlgorithmsHasBeenSet = true; m_phase2EncryptionAlgorithms = std::move(value); }
212 inline TunnelOption& AddPhase2EncryptionAlgorithms(const Phase2EncryptionAlgorithmsListValue& value) { m_phase2EncryptionAlgorithmsHasBeenSet = true; m_phase2EncryptionAlgorithms.push_back(value); return *this; }
213 inline TunnelOption& AddPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsListValue&& value) { m_phase2EncryptionAlgorithmsHasBeenSet = true; m_phase2EncryptionAlgorithms.push_back(std::move(value)); return *this; }
215
217
221 inline const Aws::Vector<Phase1IntegrityAlgorithmsListValue>& GetPhase1IntegrityAlgorithms() const{ return m_phase1IntegrityAlgorithms; }
222 inline bool Phase1IntegrityAlgorithmsHasBeenSet() const { return m_phase1IntegrityAlgorithmsHasBeenSet; }
223 inline void SetPhase1IntegrityAlgorithms(const Aws::Vector<Phase1IntegrityAlgorithmsListValue>& value) { m_phase1IntegrityAlgorithmsHasBeenSet = true; m_phase1IntegrityAlgorithms = value; }
224 inline void SetPhase1IntegrityAlgorithms(Aws::Vector<Phase1IntegrityAlgorithmsListValue>&& value) { m_phase1IntegrityAlgorithmsHasBeenSet = true; m_phase1IntegrityAlgorithms = std::move(value); }
227 inline TunnelOption& AddPhase1IntegrityAlgorithms(const Phase1IntegrityAlgorithmsListValue& value) { m_phase1IntegrityAlgorithmsHasBeenSet = true; m_phase1IntegrityAlgorithms.push_back(value); return *this; }
228 inline TunnelOption& AddPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsListValue&& value) { m_phase1IntegrityAlgorithmsHasBeenSet = true; m_phase1IntegrityAlgorithms.push_back(std::move(value)); return *this; }
230
232
236 inline const Aws::Vector<Phase2IntegrityAlgorithmsListValue>& GetPhase2IntegrityAlgorithms() const{ return m_phase2IntegrityAlgorithms; }
237 inline bool Phase2IntegrityAlgorithmsHasBeenSet() const { return m_phase2IntegrityAlgorithmsHasBeenSet; }
238 inline void SetPhase2IntegrityAlgorithms(const Aws::Vector<Phase2IntegrityAlgorithmsListValue>& value) { m_phase2IntegrityAlgorithmsHasBeenSet = true; m_phase2IntegrityAlgorithms = value; }
239 inline void SetPhase2IntegrityAlgorithms(Aws::Vector<Phase2IntegrityAlgorithmsListValue>&& value) { m_phase2IntegrityAlgorithmsHasBeenSet = true; m_phase2IntegrityAlgorithms = std::move(value); }
242 inline TunnelOption& AddPhase2IntegrityAlgorithms(const Phase2IntegrityAlgorithmsListValue& value) { m_phase2IntegrityAlgorithmsHasBeenSet = true; m_phase2IntegrityAlgorithms.push_back(value); return *this; }
243 inline TunnelOption& AddPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsListValue&& value) { m_phase2IntegrityAlgorithmsHasBeenSet = true; m_phase2IntegrityAlgorithms.push_back(std::move(value)); return *this; }
245
247
251 inline const Aws::Vector<Phase1DHGroupNumbersListValue>& GetPhase1DHGroupNumbers() const{ return m_phase1DHGroupNumbers; }
252 inline bool Phase1DHGroupNumbersHasBeenSet() const { return m_phase1DHGroupNumbersHasBeenSet; }
253 inline void SetPhase1DHGroupNumbers(const Aws::Vector<Phase1DHGroupNumbersListValue>& value) { m_phase1DHGroupNumbersHasBeenSet = true; m_phase1DHGroupNumbers = value; }
254 inline void SetPhase1DHGroupNumbers(Aws::Vector<Phase1DHGroupNumbersListValue>&& value) { m_phase1DHGroupNumbersHasBeenSet = true; m_phase1DHGroupNumbers = std::move(value); }
257 inline TunnelOption& AddPhase1DHGroupNumbers(const Phase1DHGroupNumbersListValue& value) { m_phase1DHGroupNumbersHasBeenSet = true; m_phase1DHGroupNumbers.push_back(value); return *this; }
258 inline TunnelOption& AddPhase1DHGroupNumbers(Phase1DHGroupNumbersListValue&& value) { m_phase1DHGroupNumbersHasBeenSet = true; m_phase1DHGroupNumbers.push_back(std::move(value)); return *this; }
260
262
266 inline const Aws::Vector<Phase2DHGroupNumbersListValue>& GetPhase2DHGroupNumbers() const{ return m_phase2DHGroupNumbers; }
267 inline bool Phase2DHGroupNumbersHasBeenSet() const { return m_phase2DHGroupNumbersHasBeenSet; }
268 inline void SetPhase2DHGroupNumbers(const Aws::Vector<Phase2DHGroupNumbersListValue>& value) { m_phase2DHGroupNumbersHasBeenSet = true; m_phase2DHGroupNumbers = value; }
269 inline void SetPhase2DHGroupNumbers(Aws::Vector<Phase2DHGroupNumbersListValue>&& value) { m_phase2DHGroupNumbersHasBeenSet = true; m_phase2DHGroupNumbers = std::move(value); }
272 inline TunnelOption& AddPhase2DHGroupNumbers(const Phase2DHGroupNumbersListValue& value) { m_phase2DHGroupNumbersHasBeenSet = true; m_phase2DHGroupNumbers.push_back(value); return *this; }
273 inline TunnelOption& AddPhase2DHGroupNumbers(Phase2DHGroupNumbersListValue&& value) { m_phase2DHGroupNumbersHasBeenSet = true; m_phase2DHGroupNumbers.push_back(std::move(value)); return *this; }
275
277
280 inline const Aws::Vector<IKEVersionsListValue>& GetIkeVersions() const{ return m_ikeVersions; }
281 inline bool IkeVersionsHasBeenSet() const { return m_ikeVersionsHasBeenSet; }
282 inline void SetIkeVersions(const Aws::Vector<IKEVersionsListValue>& value) { m_ikeVersionsHasBeenSet = true; m_ikeVersions = value; }
283 inline void SetIkeVersions(Aws::Vector<IKEVersionsListValue>&& value) { m_ikeVersionsHasBeenSet = true; m_ikeVersions = std::move(value); }
285 inline TunnelOption& WithIkeVersions(Aws::Vector<IKEVersionsListValue>&& value) { SetIkeVersions(std::move(value)); return *this;}
286 inline TunnelOption& AddIkeVersions(const IKEVersionsListValue& value) { m_ikeVersionsHasBeenSet = true; m_ikeVersions.push_back(value); return *this; }
287 inline TunnelOption& AddIkeVersions(IKEVersionsListValue&& value) { m_ikeVersionsHasBeenSet = true; m_ikeVersions.push_back(std::move(value)); return *this; }
289
291
295 inline const Aws::String& GetStartupAction() const{ return m_startupAction; }
296 inline bool StartupActionHasBeenSet() const { return m_startupActionHasBeenSet; }
297 inline void SetStartupAction(const Aws::String& value) { m_startupActionHasBeenSet = true; m_startupAction = value; }
298 inline void SetStartupAction(Aws::String&& value) { m_startupActionHasBeenSet = true; m_startupAction = std::move(value); }
299 inline void SetStartupAction(const char* value) { m_startupActionHasBeenSet = true; m_startupAction.assign(value); }
300 inline TunnelOption& WithStartupAction(const Aws::String& value) { SetStartupAction(value); return *this;}
301 inline TunnelOption& WithStartupAction(Aws::String&& value) { SetStartupAction(std::move(value)); return *this;}
302 inline TunnelOption& WithStartupAction(const char* value) { SetStartupAction(value); return *this;}
304
306
309 inline const VpnTunnelLogOptions& GetLogOptions() const{ return m_logOptions; }
310 inline bool LogOptionsHasBeenSet() const { return m_logOptionsHasBeenSet; }
311 inline void SetLogOptions(const VpnTunnelLogOptions& value) { m_logOptionsHasBeenSet = true; m_logOptions = value; }
312 inline void SetLogOptions(VpnTunnelLogOptions&& value) { m_logOptionsHasBeenSet = true; m_logOptions = std::move(value); }
313 inline TunnelOption& WithLogOptions(const VpnTunnelLogOptions& value) { SetLogOptions(value); return *this;}
314 inline TunnelOption& WithLogOptions(VpnTunnelLogOptions&& value) { SetLogOptions(std::move(value)); return *this;}
316
318
321 inline bool GetEnableTunnelLifecycleControl() const{ return m_enableTunnelLifecycleControl; }
322 inline bool EnableTunnelLifecycleControlHasBeenSet() const { return m_enableTunnelLifecycleControlHasBeenSet; }
323 inline void SetEnableTunnelLifecycleControl(bool value) { m_enableTunnelLifecycleControlHasBeenSet = true; m_enableTunnelLifecycleControl = value; }
326 private:
327
328 Aws::String m_outsideIpAddress;
329 bool m_outsideIpAddressHasBeenSet = false;
330
331 Aws::String m_tunnelInsideCidr;
332 bool m_tunnelInsideCidrHasBeenSet = false;
333
334 Aws::String m_tunnelInsideIpv6Cidr;
335 bool m_tunnelInsideIpv6CidrHasBeenSet = false;
336
337 Aws::String m_preSharedKey;
338 bool m_preSharedKeyHasBeenSet = false;
339
340 int m_phase1LifetimeSeconds;
341 bool m_phase1LifetimeSecondsHasBeenSet = false;
342
343 int m_phase2LifetimeSeconds;
344 bool m_phase2LifetimeSecondsHasBeenSet = false;
345
346 int m_rekeyMarginTimeSeconds;
347 bool m_rekeyMarginTimeSecondsHasBeenSet = false;
348
349 int m_rekeyFuzzPercentage;
350 bool m_rekeyFuzzPercentageHasBeenSet = false;
351
352 int m_replayWindowSize;
353 bool m_replayWindowSizeHasBeenSet = false;
354
355 int m_dpdTimeoutSeconds;
356 bool m_dpdTimeoutSecondsHasBeenSet = false;
357
358 Aws::String m_dpdTimeoutAction;
359 bool m_dpdTimeoutActionHasBeenSet = false;
360
361 Aws::Vector<Phase1EncryptionAlgorithmsListValue> m_phase1EncryptionAlgorithms;
362 bool m_phase1EncryptionAlgorithmsHasBeenSet = false;
363
364 Aws::Vector<Phase2EncryptionAlgorithmsListValue> m_phase2EncryptionAlgorithms;
365 bool m_phase2EncryptionAlgorithmsHasBeenSet = false;
366
367 Aws::Vector<Phase1IntegrityAlgorithmsListValue> m_phase1IntegrityAlgorithms;
368 bool m_phase1IntegrityAlgorithmsHasBeenSet = false;
369
370 Aws::Vector<Phase2IntegrityAlgorithmsListValue> m_phase2IntegrityAlgorithms;
371 bool m_phase2IntegrityAlgorithmsHasBeenSet = false;
372
373 Aws::Vector<Phase1DHGroupNumbersListValue> m_phase1DHGroupNumbers;
374 bool m_phase1DHGroupNumbersHasBeenSet = false;
375
376 Aws::Vector<Phase2DHGroupNumbersListValue> m_phase2DHGroupNumbers;
377 bool m_phase2DHGroupNumbersHasBeenSet = false;
378
380 bool m_ikeVersionsHasBeenSet = false;
381
382 Aws::String m_startupAction;
383 bool m_startupActionHasBeenSet = false;
384
385 VpnTunnelLogOptions m_logOptions;
386 bool m_logOptionsHasBeenSet = false;
387
388 bool m_enableTunnelLifecycleControl;
389 bool m_enableTunnelLifecycleControlHasBeenSet = false;
390 };
391
392} // namespace Model
393} // namespace EC2
394} // namespace Aws
TunnelOption & WithPreSharedKey(const char *value)
bool ReplayWindowSizeHasBeenSet() const
void SetTunnelInsideIpv6Cidr(const char *value)
const Aws::String & GetTunnelInsideIpv6Cidr() const
void SetPreSharedKey(const char *value)
void SetDpdTimeoutAction(const char *value)
void SetPhase1EncryptionAlgorithms(Aws::Vector< Phase1EncryptionAlgorithmsListValue > &&value)
void SetPhase1DHGroupNumbers(Aws::Vector< Phase1DHGroupNumbersListValue > &&value)
const Aws::String & GetOutsideIpAddress() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TunnelOption & WithTunnelInsideCidr(const Aws::String &value)
TunnelOption & WithDpdTimeoutSeconds(int value)
TunnelOption & AddPhase2IntegrityAlgorithms(const Phase2IntegrityAlgorithmsListValue &value)
TunnelOption & WithTunnelInsideIpv6Cidr(Aws::String &&value)
TunnelOption & AddPhase1EncryptionAlgorithms(const Phase1EncryptionAlgorithmsListValue &value)
const Aws::String & GetStartupAction() const
void SetDpdTimeoutSeconds(int value)
void SetTunnelInsideIpv6Cidr(const Aws::String &value)
void SetDpdTimeoutAction(Aws::String &&value)
TunnelOption & WithTunnelInsideIpv6Cidr(const Aws::String &value)
TunnelOption & WithPhase1IntegrityAlgorithms(Aws::Vector< Phase1IntegrityAlgorithmsListValue > &&value)
TunnelOption & AddPhase2DHGroupNumbers(const Phase2DHGroupNumbersListValue &value)
TunnelOption & WithDpdTimeoutAction(const Aws::String &value)
TunnelOption & WithOutsideIpAddress(Aws::String &&value)
void SetPhase2IntegrityAlgorithms(const Aws::Vector< Phase2IntegrityAlgorithmsListValue > &value)
void SetStartupAction(const Aws::String &value)
TunnelOption & AddPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsListValue &&value)
TunnelOption & WithDpdTimeoutAction(const char *value)
TunnelOption & WithDpdTimeoutAction(Aws::String &&value)
TunnelOption & WithPhase2DHGroupNumbers(const Aws::Vector< Phase2DHGroupNumbersListValue > &value)
TunnelOption & WithPreSharedKey(const Aws::String &value)
void SetPhase1EncryptionAlgorithms(const Aws::Vector< Phase1EncryptionAlgorithmsListValue > &value)
TunnelOption & WithPhase2IntegrityAlgorithms(const Aws::Vector< Phase2IntegrityAlgorithmsListValue > &value)
void SetTunnelInsideCidr(Aws::String &&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 SetDpdTimeoutAction(const Aws::String &value)
const Aws::Vector< Phase2DHGroupNumbersListValue > & GetPhase2DHGroupNumbers() const
TunnelOption & WithIkeVersions(Aws::Vector< IKEVersionsListValue > &&value)
void SetPhase1IntegrityAlgorithms(const Aws::Vector< Phase1IntegrityAlgorithmsListValue > &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
bool GetEnableTunnelLifecycleControl() const
TunnelOption & AddPhase2EncryptionAlgorithms(const Phase2EncryptionAlgorithmsListValue &value)
TunnelOption & AddPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsListValue &&value)
TunnelOption & AddPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsListValue &&value)
const Aws::Vector< Phase1IntegrityAlgorithmsListValue > & GetPhase1IntegrityAlgorithms() const
TunnelOption & WithLogOptions(VpnTunnelLogOptions &&value)
AWS_EC2_API TunnelOption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TunnelOption & AddPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsListValue &&value)
const Aws::Vector< IKEVersionsListValue > & GetIkeVersions() const
TunnelOption & AddPhase1DHGroupNumbers(Phase1DHGroupNumbersListValue &&value)
void SetPhase2IntegrityAlgorithms(Aws::Vector< Phase2IntegrityAlgorithmsListValue > &&value)
bool DpdTimeoutSecondsHasBeenSet() const
TunnelOption & WithPhase1DHGroupNumbers(Aws::Vector< Phase1DHGroupNumbersListValue > &&value)
void SetPreSharedKey(Aws::String &&value)
TunnelOption & WithPreSharedKey(Aws::String &&value)
TunnelOption & WithTunnelInsideCidr(const char *value)
TunnelOption & WithTunnelInsideIpv6Cidr(const char *value)
TunnelOption & WithIkeVersions(const Aws::Vector< IKEVersionsListValue > &value)
TunnelOption & WithPhase1EncryptionAlgorithms(Aws::Vector< Phase1EncryptionAlgorithmsListValue > &&value)
TunnelOption & WithPhase1LifetimeSeconds(int value)
bool Phase2DHGroupNumbersHasBeenSet() const
TunnelOption & WithPhase1IntegrityAlgorithms(const Aws::Vector< Phase1IntegrityAlgorithmsListValue > &value)
TunnelOption & WithPhase2DHGroupNumbers(Aws::Vector< Phase2DHGroupNumbersListValue > &&value)
TunnelOption & WithLogOptions(const VpnTunnelLogOptions &value)
TunnelOption & WithOutsideIpAddress(const Aws::String &value)
TunnelOption & AddIkeVersions(IKEVersionsListValue &&value)
TunnelOption & WithPhase1DHGroupNumbers(const Aws::Vector< Phase1DHGroupNumbersListValue > &value)
bool Phase2LifetimeSecondsHasBeenSet() const
void SetPhase2DHGroupNumbers(const Aws::Vector< Phase2DHGroupNumbersListValue > &value)
TunnelOption & WithEnableTunnelLifecycleControl(bool value)
void SetLogOptions(VpnTunnelLogOptions &&value)
void SetLogOptions(const VpnTunnelLogOptions &value)
void SetTunnelInsideCidr(const char *value)
const Aws::String & GetPreSharedKey() const
const VpnTunnelLogOptions & GetLogOptions() const
void SetOutsideIpAddress(const Aws::String &value)
TunnelOption & WithPhase2IntegrityAlgorithms(Aws::Vector< Phase2IntegrityAlgorithmsListValue > &&value)
TunnelOption & WithPhase1EncryptionAlgorithms(const Aws::Vector< Phase1EncryptionAlgorithmsListValue > &value)
TunnelOption & AddIkeVersions(const IKEVersionsListValue &value)
void SetStartupAction(const char *value)
void SetRekeyMarginTimeSeconds(int value)
void SetTunnelInsideCidr(const Aws::String &value)
TunnelOption & WithOutsideIpAddress(const char *value)
void SetTunnelInsideIpv6Cidr(Aws::String &&value)
void SetPhase1IntegrityAlgorithms(Aws::Vector< Phase1IntegrityAlgorithmsListValue > &&value)
bool RekeyMarginTimeSecondsHasBeenSet() const
bool Phase2EncryptionAlgorithmsHasBeenSet() const
bool TunnelInsideCidrHasBeenSet() const
AWS_EC2_API TunnelOption(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetIkeVersions(const Aws::Vector< IKEVersionsListValue > &value)
void SetOutsideIpAddress(const char *value)
TunnelOption & WithPhase2EncryptionAlgorithms(const Aws::Vector< Phase2EncryptionAlgorithmsListValue > &value)
TunnelOption & AddPhase2DHGroupNumbers(Phase2DHGroupNumbersListValue &&value)
const Aws::String & GetDpdTimeoutAction() const
bool Phase1LifetimeSecondsHasBeenSet() const
TunnelOption & AddPhase1DHGroupNumbers(const Phase1DHGroupNumbersListValue &value)
TunnelOption & WithPhase2EncryptionAlgorithms(Aws::Vector< Phase2EncryptionAlgorithmsListValue > &&value)
TunnelOption & WithTunnelInsideCidr(Aws::String &&value)
void SetPhase2EncryptionAlgorithms(const Aws::Vector< Phase2EncryptionAlgorithmsListValue > &value)
void SetPhase2LifetimeSeconds(int value)
TunnelOption & WithStartupAction(const Aws::String &value)
bool Phase1DHGroupNumbersHasBeenSet() const
TunnelOption & AddPhase1IntegrityAlgorithms(const Phase1IntegrityAlgorithmsListValue &value)
const Aws::Vector< Phase1DHGroupNumbersListValue > & GetPhase1DHGroupNumbers() const
void SetPreSharedKey(const Aws::String &value)
TunnelOption & WithRekeyMarginTimeSeconds(int value)
void SetOutsideIpAddress(Aws::String &&value)
TunnelOption & WithPhase2LifetimeSeconds(int value)
void SetEnableTunnelLifecycleControl(bool value)
const Aws::Vector< Phase2EncryptionAlgorithmsListValue > & GetPhase2EncryptionAlgorithms() const
TunnelOption & WithReplayWindowSize(int value)
bool TunnelInsideIpv6CidrHasBeenSet() const
bool Phase2IntegrityAlgorithmsHasBeenSet() const
void SetPhase2EncryptionAlgorithms(Aws::Vector< Phase2EncryptionAlgorithmsListValue > &&value)
TunnelOption & WithStartupAction(Aws::String &&value)
void SetRekeyFuzzPercentage(int value)
void SetStartupAction(Aws::String &&value)
TunnelOption & WithStartupAction(const char *value)
void SetPhase1DHGroupNumbers(const Aws::Vector< Phase1DHGroupNumbersListValue > &value)
bool Phase1EncryptionAlgorithmsHasBeenSet() const
void SetIkeVersions(Aws::Vector< IKEVersionsListValue > &&value)
void SetPhase2DHGroupNumbers(Aws::Vector< Phase2DHGroupNumbersListValue > &&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