AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
Firewall.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
11#include <aws/network-firewall/model/AvailabilityZoneMapping.h>
12#include <aws/network-firewall/model/EnabledAnalysisType.h>
13#include <aws/network-firewall/model/EncryptionConfiguration.h>
14#include <aws/network-firewall/model/IgwFirewallConfiguration.h>
15#include <aws/network-firewall/model/NatGatewayCreateMapping.h>
16#include <aws/network-firewall/model/ProxySettings.h>
17#include <aws/network-firewall/model/SubnetMapping.h>
18#include <aws/network-firewall/model/Tag.h>
19#include <aws/network-firewall/model/TransparentFilteringNatScope.h>
20#include <aws/network-firewall/model/VpcEndpoint.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Utils {
26namespace Cbor {
27class CborValue;
28} // namespace Cbor
29} // namespace Utils
30namespace NetworkFirewall {
31namespace Model {
32
49class Firewall {
50 public:
51 AWS_NETWORKFIREWALL_API Firewall() = default;
52 AWS_NETWORKFIREWALL_API Firewall(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
53 AWS_NETWORKFIREWALL_API Firewall& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
54 AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
55
57
61 inline const Aws::String& GetFirewallName() const { return m_firewallName; }
62 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
63 template <typename FirewallNameT = Aws::String>
64 void SetFirewallName(FirewallNameT&& value) {
65 m_firewallNameHasBeenSet = true;
66 m_firewallName = std::forward<FirewallNameT>(value);
67 }
68 template <typename FirewallNameT = Aws::String>
69 Firewall& WithFirewallName(FirewallNameT&& value) {
70 SetFirewallName(std::forward<FirewallNameT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
80 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
81 template <typename FirewallArnT = Aws::String>
82 void SetFirewallArn(FirewallArnT&& value) {
83 m_firewallArnHasBeenSet = true;
84 m_firewallArn = std::forward<FirewallArnT>(value);
85 }
86 template <typename FirewallArnT = Aws::String>
87 Firewall& WithFirewallArn(FirewallArnT&& value) {
88 SetFirewallArn(std::forward<FirewallArnT>(value));
89 return *this;
90 }
92
94
100 inline const Aws::String& GetFirewallPolicyArn() const { return m_firewallPolicyArn; }
101 inline bool FirewallPolicyArnHasBeenSet() const { return m_firewallPolicyArnHasBeenSet; }
102 template <typename FirewallPolicyArnT = Aws::String>
103 void SetFirewallPolicyArn(FirewallPolicyArnT&& value) {
104 m_firewallPolicyArnHasBeenSet = true;
105 m_firewallPolicyArn = std::forward<FirewallPolicyArnT>(value);
106 }
107 template <typename FirewallPolicyArnT = Aws::String>
108 Firewall& WithFirewallPolicyArn(FirewallPolicyArnT&& value) {
109 SetFirewallPolicyArn(std::forward<FirewallPolicyArnT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetVpcId() const { return m_vpcId; }
119 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
120 template <typename VpcIdT = Aws::String>
121 void SetVpcId(VpcIdT&& value) {
122 m_vpcIdHasBeenSet = true;
123 m_vpcId = std::forward<VpcIdT>(value);
124 }
125 template <typename VpcIdT = Aws::String>
126 Firewall& WithVpcId(VpcIdT&& value) {
127 SetVpcId(std::forward<VpcIdT>(value));
128 return *this;
129 }
131
133
147 inline const Aws::Vector<SubnetMapping>& GetSubnetMappings() const { return m_subnetMappings; }
148 inline bool SubnetMappingsHasBeenSet() const { return m_subnetMappingsHasBeenSet; }
149 template <typename SubnetMappingsT = Aws::Vector<SubnetMapping>>
150 void SetSubnetMappings(SubnetMappingsT&& value) {
151 m_subnetMappingsHasBeenSet = true;
152 m_subnetMappings = std::forward<SubnetMappingsT>(value);
153 }
154 template <typename SubnetMappingsT = Aws::Vector<SubnetMapping>>
155 Firewall& WithSubnetMappings(SubnetMappingsT&& value) {
156 SetSubnetMappings(std::forward<SubnetMappingsT>(value));
157 return *this;
158 }
159 template <typename SubnetMappingsT = SubnetMapping>
160 Firewall& AddSubnetMappings(SubnetMappingsT&& value) {
161 m_subnetMappingsHasBeenSet = true;
162 m_subnetMappings.emplace_back(std::forward<SubnetMappingsT>(value));
163 return *this;
164 }
166
168
175 inline bool GetDeleteProtection() const { return m_deleteProtection; }
176 inline bool DeleteProtectionHasBeenSet() const { return m_deleteProtectionHasBeenSet; }
177 inline void SetDeleteProtection(bool value) {
178 m_deleteProtectionHasBeenSet = true;
179 m_deleteProtection = value;
180 }
181 inline Firewall& WithDeleteProtection(bool value) {
182 SetDeleteProtection(value);
183 return *this;
184 }
186
188
194 inline bool GetSubnetChangeProtection() const { return m_subnetChangeProtection; }
195 inline bool SubnetChangeProtectionHasBeenSet() const { return m_subnetChangeProtectionHasBeenSet; }
196 inline void SetSubnetChangeProtection(bool value) {
197 m_subnetChangeProtectionHasBeenSet = true;
198 m_subnetChangeProtection = value;
199 }
202 return *this;
203 }
205
207
214 inline bool GetFirewallPolicyChangeProtection() const { return m_firewallPolicyChangeProtection; }
215 inline bool FirewallPolicyChangeProtectionHasBeenSet() const { return m_firewallPolicyChangeProtectionHasBeenSet; }
216 inline void SetFirewallPolicyChangeProtection(bool value) {
217 m_firewallPolicyChangeProtectionHasBeenSet = true;
218 m_firewallPolicyChangeProtection = value;
219 }
222 return *this;
223 }
225
227
230 inline const Aws::String& GetDescription() const { return m_description; }
231 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
232 template <typename DescriptionT = Aws::String>
233 void SetDescription(DescriptionT&& value) {
234 m_descriptionHasBeenSet = true;
235 m_description = std::forward<DescriptionT>(value);
236 }
237 template <typename DescriptionT = Aws::String>
238 Firewall& WithDescription(DescriptionT&& value) {
239 SetDescription(std::forward<DescriptionT>(value));
240 return *this;
241 }
243
245
248 inline const Aws::String& GetFirewallId() const { return m_firewallId; }
249 inline bool FirewallIdHasBeenSet() const { return m_firewallIdHasBeenSet; }
250 template <typename FirewallIdT = Aws::String>
251 void SetFirewallId(FirewallIdT&& value) {
252 m_firewallIdHasBeenSet = true;
253 m_firewallId = std::forward<FirewallIdT>(value);
254 }
255 template <typename FirewallIdT = Aws::String>
256 Firewall& WithFirewallId(FirewallIdT&& value) {
257 SetFirewallId(std::forward<FirewallIdT>(value));
258 return *this;
259 }
261
263
266 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
267 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
268 template <typename TagsT = Aws::Vector<Tag>>
269 void SetTags(TagsT&& value) {
270 m_tagsHasBeenSet = true;
271 m_tags = std::forward<TagsT>(value);
272 }
273 template <typename TagsT = Aws::Vector<Tag>>
274 Firewall& WithTags(TagsT&& value) {
275 SetTags(std::forward<TagsT>(value));
276 return *this;
277 }
278 template <typename TagsT = Tag>
279 Firewall& AddTags(TagsT&& value) {
280 m_tagsHasBeenSet = true;
281 m_tags.emplace_back(std::forward<TagsT>(value));
282 return *this;
283 }
285
287
291 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
292 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
293 template <typename EncryptionConfigurationT = EncryptionConfiguration>
294 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
295 m_encryptionConfigurationHasBeenSet = true;
296 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
297 }
298 template <typename EncryptionConfigurationT = EncryptionConfiguration>
299 Firewall& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
300 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
301 return *this;
302 }
304
306
310 inline int64_t GetNumberOfAssociations() const { return m_numberOfAssociations; }
311 inline bool NumberOfAssociationsHasBeenSet() const { return m_numberOfAssociationsHasBeenSet; }
312 inline void SetNumberOfAssociations(int64_t value) {
313 m_numberOfAssociationsHasBeenSet = true;
314 m_numberOfAssociations = value;
315 }
316 inline Firewall& WithNumberOfAssociations(int64_t value) {
318 return *this;
319 }
321
323
327 inline const Aws::Vector<EnabledAnalysisType>& GetEnabledAnalysisTypes() const { return m_enabledAnalysisTypes; }
328 inline bool EnabledAnalysisTypesHasBeenSet() const { return m_enabledAnalysisTypesHasBeenSet; }
329 template <typename EnabledAnalysisTypesT = Aws::Vector<EnabledAnalysisType>>
330 void SetEnabledAnalysisTypes(EnabledAnalysisTypesT&& value) {
331 m_enabledAnalysisTypesHasBeenSet = true;
332 m_enabledAnalysisTypes = std::forward<EnabledAnalysisTypesT>(value);
333 }
334 template <typename EnabledAnalysisTypesT = Aws::Vector<EnabledAnalysisType>>
335 Firewall& WithEnabledAnalysisTypes(EnabledAnalysisTypesT&& value) {
336 SetEnabledAnalysisTypes(std::forward<EnabledAnalysisTypesT>(value));
337 return *this;
338 }
340 m_enabledAnalysisTypesHasBeenSet = true;
341 m_enabledAnalysisTypes.push_back(value);
342 return *this;
343 }
345
347
351 inline const Aws::String& GetTransitGatewayId() const { return m_transitGatewayId; }
352 inline bool TransitGatewayIdHasBeenSet() const { return m_transitGatewayIdHasBeenSet; }
353 template <typename TransitGatewayIdT = Aws::String>
354 void SetTransitGatewayId(TransitGatewayIdT&& value) {
355 m_transitGatewayIdHasBeenSet = true;
356 m_transitGatewayId = std::forward<TransitGatewayIdT>(value);
357 }
358 template <typename TransitGatewayIdT = Aws::String>
359 Firewall& WithTransitGatewayId(TransitGatewayIdT&& value) {
360 SetTransitGatewayId(std::forward<TransitGatewayIdT>(value));
361 return *this;
362 }
364
366
371 inline const Aws::String& GetTransitGatewayOwnerAccountId() const { return m_transitGatewayOwnerAccountId; }
372 inline bool TransitGatewayOwnerAccountIdHasBeenSet() const { return m_transitGatewayOwnerAccountIdHasBeenSet; }
373 template <typename TransitGatewayOwnerAccountIdT = Aws::String>
374 void SetTransitGatewayOwnerAccountId(TransitGatewayOwnerAccountIdT&& value) {
375 m_transitGatewayOwnerAccountIdHasBeenSet = true;
376 m_transitGatewayOwnerAccountId = std::forward<TransitGatewayOwnerAccountIdT>(value);
377 }
378 template <typename TransitGatewayOwnerAccountIdT = Aws::String>
379 Firewall& WithTransitGatewayOwnerAccountId(TransitGatewayOwnerAccountIdT&& value) {
380 SetTransitGatewayOwnerAccountId(std::forward<TransitGatewayOwnerAccountIdT>(value));
381 return *this;
382 }
384
386
391 inline const Aws::Vector<AvailabilityZoneMapping>& GetAvailabilityZoneMappings() const { return m_availabilityZoneMappings; }
392 inline bool AvailabilityZoneMappingsHasBeenSet() const { return m_availabilityZoneMappingsHasBeenSet; }
393 template <typename AvailabilityZoneMappingsT = Aws::Vector<AvailabilityZoneMapping>>
394 void SetAvailabilityZoneMappings(AvailabilityZoneMappingsT&& value) {
395 m_availabilityZoneMappingsHasBeenSet = true;
396 m_availabilityZoneMappings = std::forward<AvailabilityZoneMappingsT>(value);
397 }
398 template <typename AvailabilityZoneMappingsT = Aws::Vector<AvailabilityZoneMapping>>
399 Firewall& WithAvailabilityZoneMappings(AvailabilityZoneMappingsT&& value) {
400 SetAvailabilityZoneMappings(std::forward<AvailabilityZoneMappingsT>(value));
401 return *this;
402 }
403 template <typename AvailabilityZoneMappingsT = AvailabilityZoneMapping>
404 Firewall& AddAvailabilityZoneMappings(AvailabilityZoneMappingsT&& value) {
405 m_availabilityZoneMappingsHasBeenSet = true;
406 m_availabilityZoneMappings.emplace_back(std::forward<AvailabilityZoneMappingsT>(value));
407 return *this;
408 }
410
412
417 inline bool GetAvailabilityZoneChangeProtection() const { return m_availabilityZoneChangeProtection; }
418 inline bool AvailabilityZoneChangeProtectionHasBeenSet() const { return m_availabilityZoneChangeProtectionHasBeenSet; }
419 inline void SetAvailabilityZoneChangeProtection(bool value) {
420 m_availabilityZoneChangeProtectionHasBeenSet = true;
421 m_availabilityZoneChangeProtection = value;
422 }
425 return *this;
426 }
428
430
436 inline const IgwFirewallConfiguration& GetIgwFirewallConfiguration() const { return m_igwFirewallConfiguration; }
437 inline bool IgwFirewallConfigurationHasBeenSet() const { return m_igwFirewallConfigurationHasBeenSet; }
438 template <typename IgwFirewallConfigurationT = IgwFirewallConfiguration>
439 void SetIgwFirewallConfiguration(IgwFirewallConfigurationT&& value) {
440 m_igwFirewallConfigurationHasBeenSet = true;
441 m_igwFirewallConfiguration = std::forward<IgwFirewallConfigurationT>(value);
442 }
443 template <typename IgwFirewallConfigurationT = IgwFirewallConfiguration>
444 Firewall& WithIgwFirewallConfiguration(IgwFirewallConfigurationT&& value) {
445 SetIgwFirewallConfiguration(std::forward<IgwFirewallConfigurationT>(value));
446 return *this;
447 }
449
451
457 inline const Aws::Vector<NatGatewayCreateMapping>& GetNatGatewayCreateMappings() const { return m_natGatewayCreateMappings; }
458 inline bool NatGatewayCreateMappingsHasBeenSet() const { return m_natGatewayCreateMappingsHasBeenSet; }
459 template <typename NatGatewayCreateMappingsT = Aws::Vector<NatGatewayCreateMapping>>
460 void SetNatGatewayCreateMappings(NatGatewayCreateMappingsT&& value) {
461 m_natGatewayCreateMappingsHasBeenSet = true;
462 m_natGatewayCreateMappings = std::forward<NatGatewayCreateMappingsT>(value);
463 }
464 template <typename NatGatewayCreateMappingsT = Aws::Vector<NatGatewayCreateMapping>>
465 Firewall& WithNatGatewayCreateMappings(NatGatewayCreateMappingsT&& value) {
466 SetNatGatewayCreateMappings(std::forward<NatGatewayCreateMappingsT>(value));
467 return *this;
468 }
469 template <typename NatGatewayCreateMappingsT = NatGatewayCreateMapping>
470 Firewall& AddNatGatewayCreateMappings(NatGatewayCreateMappingsT&& value) {
471 m_natGatewayCreateMappingsHasBeenSet = true;
472 m_natGatewayCreateMappings.emplace_back(std::forward<NatGatewayCreateMappingsT>(value));
473 return *this;
474 }
476
478
483 inline const ProxySettings& GetProxySettings() const { return m_proxySettings; }
484 inline bool ProxySettingsHasBeenSet() const { return m_proxySettingsHasBeenSet; }
485 template <typename ProxySettingsT = ProxySettings>
486 void SetProxySettings(ProxySettingsT&& value) {
487 m_proxySettingsHasBeenSet = true;
488 m_proxySettings = std::forward<ProxySettingsT>(value);
489 }
490 template <typename ProxySettingsT = ProxySettings>
491 Firewall& WithProxySettings(ProxySettingsT&& value) {
492 SetProxySettings(std::forward<ProxySettingsT>(value));
493 return *this;
494 }
496
498
501 inline const VpcEndpoint& GetVpcEndpoint() const { return m_vpcEndpoint; }
502 inline bool VpcEndpointHasBeenSet() const { return m_vpcEndpointHasBeenSet; }
503 template <typename VpcEndpointT = VpcEndpoint>
504 void SetVpcEndpoint(VpcEndpointT&& value) {
505 m_vpcEndpointHasBeenSet = true;
506 m_vpcEndpoint = std::forward<VpcEndpointT>(value);
507 }
508 template <typename VpcEndpointT = VpcEndpoint>
509 Firewall& WithVpcEndpoint(VpcEndpointT&& value) {
510 SetVpcEndpoint(std::forward<VpcEndpointT>(value));
511 return *this;
512 }
514
516
523 inline const Aws::String& GetContextStoreId() const { return m_contextStoreId; }
524 inline bool ContextStoreIdHasBeenSet() const { return m_contextStoreIdHasBeenSet; }
525 template <typename ContextStoreIdT = Aws::String>
526 void SetContextStoreId(ContextStoreIdT&& value) {
527 m_contextStoreIdHasBeenSet = true;
528 m_contextStoreId = std::forward<ContextStoreIdT>(value);
529 }
530 template <typename ContextStoreIdT = Aws::String>
531 Firewall& WithContextStoreId(ContextStoreIdT&& value) {
532 SetContextStoreId(std::forward<ContextStoreIdT>(value));
533 return *this;
534 }
536
538
542 inline const Aws::String& GetContextStoreOwnerAccountId() const { return m_contextStoreOwnerAccountId; }
543 inline bool ContextStoreOwnerAccountIdHasBeenSet() const { return m_contextStoreOwnerAccountIdHasBeenSet; }
544 template <typename ContextStoreOwnerAccountIdT = Aws::String>
545 void SetContextStoreOwnerAccountId(ContextStoreOwnerAccountIdT&& value) {
546 m_contextStoreOwnerAccountIdHasBeenSet = true;
547 m_contextStoreOwnerAccountId = std::forward<ContextStoreOwnerAccountIdT>(value);
548 }
549 template <typename ContextStoreOwnerAccountIdT = Aws::String>
550 Firewall& WithContextStoreOwnerAccountId(ContextStoreOwnerAccountIdT&& value) {
551 SetContextStoreOwnerAccountId(std::forward<ContextStoreOwnerAccountIdT>(value));
552 return *this;
553 }
555
557
563 inline TransparentFilteringNatScope GetTransparentFilteringNatScope() const { return m_transparentFilteringNatScope; }
564 inline bool TransparentFilteringNatScopeHasBeenSet() const { return m_transparentFilteringNatScopeHasBeenSet; }
566 m_transparentFilteringNatScopeHasBeenSet = true;
567 m_transparentFilteringNatScope = value;
568 }
574 private:
575 Aws::String m_firewallName;
576
577 Aws::String m_firewallArn;
578
579 Aws::String m_firewallPolicyArn;
580
581 Aws::String m_vpcId;
582
583 Aws::Vector<SubnetMapping> m_subnetMappings;
584
585 bool m_deleteProtection{false};
586
587 bool m_subnetChangeProtection{false};
588
589 bool m_firewallPolicyChangeProtection{false};
590
591 Aws::String m_description;
592
593 Aws::String m_firewallId;
594
595 Aws::Vector<Tag> m_tags;
596
597 EncryptionConfiguration m_encryptionConfiguration;
598
599 int64_t m_numberOfAssociations{0};
600
601 Aws::Vector<EnabledAnalysisType> m_enabledAnalysisTypes;
602
603 Aws::String m_transitGatewayId;
604
605 Aws::String m_transitGatewayOwnerAccountId;
606
607 Aws::Vector<AvailabilityZoneMapping> m_availabilityZoneMappings;
608
609 bool m_availabilityZoneChangeProtection{false};
610
611 IgwFirewallConfiguration m_igwFirewallConfiguration;
612
613 Aws::Vector<NatGatewayCreateMapping> m_natGatewayCreateMappings;
614
615 ProxySettings m_proxySettings;
616
617 VpcEndpoint m_vpcEndpoint;
618
619 Aws::String m_contextStoreId;
620
621 Aws::String m_contextStoreOwnerAccountId;
622
624 bool m_firewallNameHasBeenSet = false;
625 bool m_firewallArnHasBeenSet = false;
626 bool m_firewallPolicyArnHasBeenSet = false;
627 bool m_vpcIdHasBeenSet = false;
628 bool m_subnetMappingsHasBeenSet = false;
629 bool m_deleteProtectionHasBeenSet = false;
630 bool m_subnetChangeProtectionHasBeenSet = false;
631 bool m_firewallPolicyChangeProtectionHasBeenSet = false;
632 bool m_descriptionHasBeenSet = false;
633 bool m_firewallIdHasBeenSet = false;
634 bool m_tagsHasBeenSet = false;
635 bool m_encryptionConfigurationHasBeenSet = false;
636 bool m_numberOfAssociationsHasBeenSet = false;
637 bool m_enabledAnalysisTypesHasBeenSet = false;
638 bool m_transitGatewayIdHasBeenSet = false;
639 bool m_transitGatewayOwnerAccountIdHasBeenSet = false;
640 bool m_availabilityZoneMappingsHasBeenSet = false;
641 bool m_availabilityZoneChangeProtectionHasBeenSet = false;
642 bool m_igwFirewallConfigurationHasBeenSet = false;
643 bool m_natGatewayCreateMappingsHasBeenSet = false;
644 bool m_proxySettingsHasBeenSet = false;
645 bool m_vpcEndpointHasBeenSet = false;
646 bool m_contextStoreIdHasBeenSet = false;
647 bool m_contextStoreOwnerAccountIdHasBeenSet = false;
648 bool m_transparentFilteringNatScopeHasBeenSet = false;
649};
650
651} // namespace Model
652} // namespace NetworkFirewall
653} // namespace Aws
const EncryptionConfiguration & GetEncryptionConfiguration() const
Definition Firewall.h:291
const Aws::String & GetFirewallPolicyArn() const
Definition Firewall.h:100
void SetFirewallPolicyArn(FirewallPolicyArnT &&value)
Definition Firewall.h:103
Firewall & AddTags(TagsT &&value)
Definition Firewall.h:279
Firewall & WithSubnetMappings(SubnetMappingsT &&value)
Definition Firewall.h:155
Firewall & WithTransitGatewayOwnerAccountId(TransitGatewayOwnerAccountIdT &&value)
Definition Firewall.h:379
void SetEnabledAnalysisTypes(EnabledAnalysisTypesT &&value)
Definition Firewall.h:330
const Aws::Vector< SubnetMapping > & GetSubnetMappings() const
Definition Firewall.h:147
void SetFirewallPolicyChangeProtection(bool value)
Definition Firewall.h:216
AWS_NETWORKFIREWALL_API Firewall & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Firewall & WithIgwFirewallConfiguration(IgwFirewallConfigurationT &&value)
Definition Firewall.h:444
Firewall & WithNatGatewayCreateMappings(NatGatewayCreateMappingsT &&value)
Definition Firewall.h:465
void SetContextStoreId(ContextStoreIdT &&value)
Definition Firewall.h:526
AWS_NETWORKFIREWALL_API Firewall()=default
Firewall & WithAvailabilityZoneMappings(AvailabilityZoneMappingsT &&value)
Definition Firewall.h:399
Firewall & WithTransitGatewayId(TransitGatewayIdT &&value)
Definition Firewall.h:359
Firewall & WithAvailabilityZoneChangeProtection(bool value)
Definition Firewall.h:423
void SetSubnetMappings(SubnetMappingsT &&value)
Definition Firewall.h:150
void SetFirewallId(FirewallIdT &&value)
Definition Firewall.h:251
bool TransitGatewayOwnerAccountIdHasBeenSet() const
Definition Firewall.h:372
const Aws::String & GetTransitGatewayId() const
Definition Firewall.h:351
Firewall & WithDeleteProtection(bool value)
Definition Firewall.h:181
void SetIgwFirewallConfiguration(IgwFirewallConfigurationT &&value)
Definition Firewall.h:439
Firewall & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
Definition Firewall.h:299
const Aws::String & GetDescription() const
Definition Firewall.h:230
Firewall & AddAvailabilityZoneMappings(AvailabilityZoneMappingsT &&value)
Definition Firewall.h:404
const Aws::String & GetFirewallArn() const
Definition Firewall.h:79
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
Definition Firewall.h:294
void SetAvailabilityZoneChangeProtection(bool value)
Definition Firewall.h:419
const VpcEndpoint & GetVpcEndpoint() const
Definition Firewall.h:501
const ProxySettings & GetProxySettings() const
Definition Firewall.h:483
void SetNumberOfAssociations(int64_t value)
Definition Firewall.h:312
Firewall & AddNatGatewayCreateMappings(NatGatewayCreateMappingsT &&value)
Definition Firewall.h:470
bool AvailabilityZoneChangeProtectionHasBeenSet() const
Definition Firewall.h:418
void SetProxySettings(ProxySettingsT &&value)
Definition Firewall.h:486
void SetVpcEndpoint(VpcEndpointT &&value)
Definition Firewall.h:504
Firewall & WithSubnetChangeProtection(bool value)
Definition Firewall.h:200
Firewall & WithEnabledAnalysisTypes(EnabledAnalysisTypesT &&value)
Definition Firewall.h:335
Firewall & WithFirewallArn(FirewallArnT &&value)
Definition Firewall.h:87
bool ContextStoreOwnerAccountIdHasBeenSet() const
Definition Firewall.h:543
const IgwFirewallConfiguration & GetIgwFirewallConfiguration() const
Definition Firewall.h:436
Firewall & WithContextStoreOwnerAccountId(ContextStoreOwnerAccountIdT &&value)
Definition Firewall.h:550
const Aws::Vector< AvailabilityZoneMapping > & GetAvailabilityZoneMappings() const
Definition Firewall.h:391
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetFirewallId() const
Definition Firewall.h:248
const Aws::String & GetContextStoreOwnerAccountId() const
Definition Firewall.h:542
bool GetAvailabilityZoneChangeProtection() const
Definition Firewall.h:417
void SetDescription(DescriptionT &&value)
Definition Firewall.h:233
bool NatGatewayCreateMappingsHasBeenSet() const
Definition Firewall.h:458
void SetFirewallArn(FirewallArnT &&value)
Definition Firewall.h:82
void SetAvailabilityZoneMappings(AvailabilityZoneMappingsT &&value)
Definition Firewall.h:394
Firewall & WithFirewallId(FirewallIdT &&value)
Definition Firewall.h:256
bool IgwFirewallConfigurationHasBeenSet() const
Definition Firewall.h:437
Firewall & AddSubnetMappings(SubnetMappingsT &&value)
Definition Firewall.h:160
const Aws::Vector< Tag > & GetTags() const
Definition Firewall.h:266
void SetSubnetChangeProtection(bool value)
Definition Firewall.h:196
Firewall & WithNumberOfAssociations(int64_t value)
Definition Firewall.h:316
void SetTransitGatewayOwnerAccountId(TransitGatewayOwnerAccountIdT &&value)
Definition Firewall.h:374
Firewall & AddEnabledAnalysisTypes(EnabledAnalysisType value)
Definition Firewall.h:339
bool TransparentFilteringNatScopeHasBeenSet() const
Definition Firewall.h:564
const Aws::Vector< NatGatewayCreateMapping > & GetNatGatewayCreateMappings() const
Definition Firewall.h:457
Firewall & WithDescription(DescriptionT &&value)
Definition Firewall.h:238
Firewall & WithTransparentFilteringNatScope(TransparentFilteringNatScope value)
Definition Firewall.h:569
Firewall & WithFirewallPolicyArn(FirewallPolicyArnT &&value)
Definition Firewall.h:108
const Aws::String & GetFirewallName() const
Definition Firewall.h:61
const Aws::String & GetTransitGatewayOwnerAccountId() const
Definition Firewall.h:371
void SetNatGatewayCreateMappings(NatGatewayCreateMappingsT &&value)
Definition Firewall.h:460
void SetTransitGatewayId(TransitGatewayIdT &&value)
Definition Firewall.h:354
Firewall & WithVpcId(VpcIdT &&value)
Definition Firewall.h:126
Firewall & WithTags(TagsT &&value)
Definition Firewall.h:274
AWS_NETWORKFIREWALL_API Firewall(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetContextStoreId() const
Definition Firewall.h:523
const Aws::String & GetVpcId() const
Definition Firewall.h:118
Firewall & WithProxySettings(ProxySettingsT &&value)
Definition Firewall.h:491
void SetTransparentFilteringNatScope(TransparentFilteringNatScope value)
Definition Firewall.h:565
const Aws::Vector< EnabledAnalysisType > & GetEnabledAnalysisTypes() const
Definition Firewall.h:327
TransparentFilteringNatScope GetTransparentFilteringNatScope() const
Definition Firewall.h:563
bool FirewallPolicyChangeProtectionHasBeenSet() const
Definition Firewall.h:215
Firewall & WithVpcEndpoint(VpcEndpointT &&value)
Definition Firewall.h:509
bool AvailabilityZoneMappingsHasBeenSet() const
Definition Firewall.h:392
Firewall & WithFirewallPolicyChangeProtection(bool value)
Definition Firewall.h:220
void SetContextStoreOwnerAccountId(ContextStoreOwnerAccountIdT &&value)
Definition Firewall.h:545
void SetFirewallName(FirewallNameT &&value)
Definition Firewall.h:64
Firewall & WithContextStoreId(ContextStoreIdT &&value)
Definition Firewall.h:531
Firewall & WithFirewallName(FirewallNameT &&value)
Definition Firewall.h:69
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector