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>
18namespace NetworkFirewall
50 inline void SetFirewallName(
const char* value) { m_firewallNameHasBeenSet =
true; m_firewallName.assign(value); }
65 inline void SetFirewallPolicyArn(
const char* value) { m_firewallPolicyArnHasBeenSet =
true; m_firewallPolicyArn.assign(value); }
81 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
113 inline void SetDeleteProtection(
bool value) { m_deleteProtectionHasBeenSet =
true; m_deleteProtection = value; }
152 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
187 bool m_firewallNameHasBeenSet =
false;
190 bool m_firewallPolicyArnHasBeenSet =
false;
193 bool m_vpcIdHasBeenSet =
false;
196 bool m_subnetMappingsHasBeenSet =
false;
198 bool m_deleteProtection;
199 bool m_deleteProtectionHasBeenSet =
false;
201 bool m_subnetChangeProtection;
202 bool m_subnetChangeProtectionHasBeenSet =
false;
204 bool m_firewallPolicyChangeProtection;
205 bool m_firewallPolicyChangeProtectionHasBeenSet =
false;
208 bool m_descriptionHasBeenSet =
false;
211 bool m_tagsHasBeenSet =
false;
214 bool m_encryptionConfigurationHasBeenSet =
false;
CreateFirewallRequest & WithEncryptionConfiguration(EncryptionConfiguration &&value)
bool GetSubnetChangeProtection() const
CreateFirewallRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::Vector< SubnetMapping > & GetSubnetMappings() const
CreateFirewallRequest & AddSubnetMappings(const SubnetMapping &value)
CreateFirewallRequest & WithEncryptionConfiguration(const EncryptionConfiguration &value)
CreateFirewallRequest & WithFirewallName(const char *value)
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
bool GetFirewallPolicyChangeProtection() const
CreateFirewallRequest & WithFirewallPolicyChangeProtection(bool value)
const Aws::String & GetDescription() const
void SetFirewallName(const Aws::String &value)
CreateFirewallRequest & WithDeleteProtection(bool value)
bool VpcIdHasBeenSet() const
CreateFirewallRequest & WithDescription(Aws::String &&value)
CreateFirewallRequest & WithVpcId(const char *value)
void SetVpcId(Aws::String &&value)
CreateFirewallRequest & WithSubnetChangeProtection(bool value)
CreateFirewallRequest & WithFirewallPolicyArn(const Aws::String &value)
void SetFirewallPolicyArn(const char *value)
CreateFirewallRequest & WithVpcId(const Aws::String &value)
CreateFirewallRequest & AddTags(Tag &&value)
CreateFirewallRequest & WithFirewallName(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
void SetDescription(const char *value)
CreateFirewallRequest & WithFirewallName(Aws::String &&value)
CreateFirewallRequest & WithSubnetMappings(Aws::Vector< SubnetMapping > &&value)
bool TagsHasBeenSet() const
void SetFirewallName(Aws::String &&value)
void SetFirewallName(const char *value)
CreateFirewallRequest & WithSubnetMappings(const Aws::Vector< SubnetMapping > &value)
CreateFirewallRequest & AddSubnetMappings(SubnetMapping &&value)
void SetSubnetMappings(Aws::Vector< SubnetMapping > &&value)
bool FirewallPolicyArnHasBeenSet() const
CreateFirewallRequest & WithTags(const Aws::Vector< Tag > &value)
bool SubnetMappingsHasBeenSet() const
void SetVpcId(const char *value)
CreateFirewallRequest & WithVpcId(Aws::String &&value)
void SetVpcId(const Aws::String &value)
CreateFirewallRequest & WithDescription(const char *value)
CreateFirewallRequest & WithDescription(const Aws::String &value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
void SetDescription(const Aws::String &value)
void SetFirewallPolicyArn(const Aws::String &value)
bool EncryptionConfigurationHasBeenSet() const
CreateFirewallRequest & WithFirewallPolicyArn(Aws::String &&value)
CreateFirewallRequest & AddTags(const Tag &value)
void SetDescription(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const EncryptionConfiguration & GetEncryptionConfiguration() const
bool FirewallNameHasBeenSet() const
AWS_NETWORKFIREWALL_API CreateFirewallRequest()
void SetFirewallPolicyArn(Aws::String &&value)
bool SubnetChangeProtectionHasBeenSet() const
bool DeleteProtectionHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetFirewallName() const
bool GetDeleteProtection() const
const Aws::String & GetFirewallPolicyArn() const
CreateFirewallRequest & WithFirewallPolicyArn(const char *value)
void SetSubnetMappings(const Aws::Vector< SubnetMapping > &value)
void SetSubnetChangeProtection(bool value)
void SetTags(Aws::Vector< Tag > &&value)
bool FirewallPolicyChangeProtectionHasBeenSet() const
const Aws::String & GetVpcId() const
void SetDeleteProtection(bool value)
void SetFirewallPolicyChangeProtection(bool value)
void SetTags(const Aws::Vector< Tag > &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