7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/NetworkFirewallRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/network-firewall/model/EncryptionConfiguration.h>
12#include <aws/network-firewall/model/SubnetMapping.h>
13#include <aws/network-firewall/model/Tag.h>
14#include <aws/network-firewall/model/EnabledAnalysisType.h>
15#include <aws/network-firewall/model/AvailabilityZoneMapping.h>
20namespace NetworkFirewall
50 template<
typename FirewallNameT = Aws::String>
51 void SetFirewallName(FirewallNameT&& value) { m_firewallNameHasBeenSet =
true; m_firewallName = std::forward<FirewallNameT>(value); }
52 template<
typename FirewallNameT = Aws::String>
63 template<
typename FirewallPolicyArnT = Aws::String>
64 void SetFirewallPolicyArn(FirewallPolicyArnT&& value) { m_firewallPolicyArnHasBeenSet =
true; m_firewallPolicyArn = std::forward<FirewallPolicyArnT>(value); }
65 template<
typename FirewallPolicyArnT = Aws::String>
77 template<
typename VpcIdT = Aws::String>
78 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
79 template<
typename VpcIdT = Aws::String>
91 template<
typename SubnetMappingsT = Aws::Vector<SubnetMapping>>
92 void SetSubnetMappings(SubnetMappingsT&& value) { m_subnetMappingsHasBeenSet =
true; m_subnetMappings = std::forward<SubnetMappingsT>(value); }
93 template<
typename SubnetMappingsT = Aws::Vector<SubnetMapping>>
95 template<
typename SubnetMappingsT = SubnetMapping>
109 inline void SetDeleteProtection(
bool value) { m_deleteProtectionHasBeenSet =
true; m_deleteProtection = value; }
146 template<
typename DescriptionT = Aws::String>
147 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
148 template<
typename DescriptionT = Aws::String>
158 template<
typename TagsT = Aws::Vector<Tag>>
159 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
160 template<
typename TagsT = Aws::Vector<Tag>>
162 template<
typename TagsT = Tag>
173 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
174 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet =
true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
175 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
186 template<
typename EnabledAnalysisTypesT = Aws::Vector<EnabledAnalysisType>>
187 void SetEnabledAnalysisTypes(EnabledAnalysisTypesT&& value) { m_enabledAnalysisTypesHasBeenSet =
true; m_enabledAnalysisTypes = std::forward<EnabledAnalysisTypesT>(value); }
188 template<
typename EnabledAnalysisTypesT = Aws::Vector<EnabledAnalysisType>>
209 template<
typename TransitGatewayIdT = Aws::String>
210 void SetTransitGatewayId(TransitGatewayIdT&& value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId = std::forward<TransitGatewayIdT>(value); }
211 template<
typename TransitGatewayIdT = Aws::String>
228 template<
typename AvailabilityZoneMappingsT = Aws::Vector<AvailabilityZoneMapping>>
229 void SetAvailabilityZoneMappings(AvailabilityZoneMappingsT&& value) { m_availabilityZoneMappingsHasBeenSet =
true; m_availabilityZoneMappings = std::forward<AvailabilityZoneMappingsT>(value); }
230 template<
typename AvailabilityZoneMappingsT = Aws::Vector<AvailabilityZoneMapping>>
232 template<
typename AvailabilityZoneMappingsT = AvailabilityZoneMapping>
252 bool m_firewallNameHasBeenSet =
false;
255 bool m_firewallPolicyArnHasBeenSet =
false;
258 bool m_vpcIdHasBeenSet =
false;
261 bool m_subnetMappingsHasBeenSet =
false;
263 bool m_deleteProtection{
false};
264 bool m_deleteProtectionHasBeenSet =
false;
266 bool m_subnetChangeProtection{
false};
267 bool m_subnetChangeProtectionHasBeenSet =
false;
269 bool m_firewallPolicyChangeProtection{
false};
270 bool m_firewallPolicyChangeProtectionHasBeenSet =
false;
273 bool m_descriptionHasBeenSet =
false;
276 bool m_tagsHasBeenSet =
false;
278 EncryptionConfiguration m_encryptionConfiguration;
279 bool m_encryptionConfigurationHasBeenSet =
false;
282 bool m_enabledAnalysisTypesHasBeenSet =
false;
285 bool m_transitGatewayIdHasBeenSet =
false;
288 bool m_availabilityZoneMappingsHasBeenSet =
false;
290 bool m_availabilityZoneChangeProtection{
false};
291 bool m_availabilityZoneChangeProtectionHasBeenSet =
false;
CreateFirewallRequest & AddAvailabilityZoneMappings(AvailabilityZoneMappingsT &&value)
bool GetSubnetChangeProtection() const
CreateFirewallRequest & WithTags(TagsT &&value)
const Aws::Vector< SubnetMapping > & GetSubnetMappings() const
CreateFirewallRequest & WithDescription(DescriptionT &&value)
bool GetFirewallPolicyChangeProtection() const
CreateFirewallRequest & WithFirewallPolicyChangeProtection(bool value)
CreateFirewallRequest & WithEnabledAnalysisTypes(EnabledAnalysisTypesT &&value)
CreateFirewallRequest & WithAvailabilityZoneMappings(AvailabilityZoneMappingsT &&value)
const Aws::String & GetDescription() const
CreateFirewallRequest & WithDeleteProtection(bool value)
bool AvailabilityZoneMappingsHasBeenSet() const
bool EnabledAnalysisTypesHasBeenSet() const
AWS_NETWORKFIREWALL_API CreateFirewallRequest()=default
bool VpcIdHasBeenSet() const
CreateFirewallRequest & AddEnabledAnalysisTypes(EnabledAnalysisType value)
CreateFirewallRequest & WithTransitGatewayId(TransitGatewayIdT &&value)
void SetTransitGatewayId(TransitGatewayIdT &&value)
void SetDescription(DescriptionT &&value)
CreateFirewallRequest & WithSubnetChangeProtection(bool value)
CreateFirewallRequest & AddSubnetMappings(SubnetMappingsT &&value)
void SetFirewallName(FirewallNameT &&value)
CreateFirewallRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
void SetAvailabilityZoneChangeProtection(bool value)
void SetAvailabilityZoneMappings(AvailabilityZoneMappingsT &&value)
void SetEnabledAnalysisTypes(EnabledAnalysisTypesT &&value)
bool TagsHasBeenSet() const
void SetSubnetMappings(SubnetMappingsT &&value)
bool AvailabilityZoneChangeProtectionHasBeenSet() const
bool FirewallPolicyArnHasBeenSet() const
const Aws::Vector< EnabledAnalysisType > & GetEnabledAnalysisTypes() const
CreateFirewallRequest & WithSubnetMappings(SubnetMappingsT &&value)
bool SubnetMappingsHasBeenSet() const
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetFirewallPolicyArn(FirewallPolicyArnT &&value)
bool EncryptionConfigurationHasBeenSet() const
void SetVpcId(VpcIdT &&value)
const Aws::String & GetTransitGatewayId() const
virtual const char * GetServiceRequestName() const override
const EncryptionConfiguration & GetEncryptionConfiguration() const
bool FirewallNameHasBeenSet() const
CreateFirewallRequest & WithFirewallPolicyArn(FirewallPolicyArnT &&value)
CreateFirewallRequest & WithAvailabilityZoneChangeProtection(bool value)
bool SubnetChangeProtectionHasBeenSet() const
const Aws::Vector< AvailabilityZoneMapping > & GetAvailabilityZoneMappings() const
bool DeleteProtectionHasBeenSet() const
bool TransitGatewayIdHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetFirewallName() const
CreateFirewallRequest & WithVpcId(VpcIdT &&value)
bool GetDeleteProtection() const
CreateFirewallRequest & AddTags(TagsT &&value)
const Aws::String & GetFirewallPolicyArn() const
void SetSubnetChangeProtection(bool value)
CreateFirewallRequest & WithFirewallName(FirewallNameT &&value)
void SetTags(TagsT &&value)
bool FirewallPolicyChangeProtectionHasBeenSet() const
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
const Aws::String & GetVpcId() const
bool GetAvailabilityZoneChangeProtection() const
void SetDeleteProtection(bool value)
void SetFirewallPolicyChangeProtection(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector