7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/network-firewall/model/EncryptionConfiguration.h>
11#include <aws/network-firewall/model/SubnetMapping.h>
12#include <aws/network-firewall/model/Tag.h>
25namespace NetworkFirewall
59 inline void SetFirewallName(
const char* value) { m_firewallNameHasBeenSet =
true; m_firewallName.assign(value); }
73 inline void SetFirewallArn(
const char* value) { m_firewallArnHasBeenSet =
true; m_firewallArn.assign(value); }
90 inline void SetFirewallPolicyArn(
const char* value) { m_firewallPolicyArnHasBeenSet =
true; m_firewallPolicyArn.assign(value); }
104 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
135 inline void SetDeleteProtection(
bool value) { m_deleteProtectionHasBeenSet =
true; m_deleteProtection = value; }
174 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
188 inline void SetFirewallId(
const char* value) { m_firewallIdHasBeenSet =
true; m_firewallId.assign(value); }
204 inline Firewall&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
205 inline Firewall&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
223 bool m_firewallNameHasBeenSet =
false;
226 bool m_firewallArnHasBeenSet =
false;
229 bool m_firewallPolicyArnHasBeenSet =
false;
232 bool m_vpcIdHasBeenSet =
false;
235 bool m_subnetMappingsHasBeenSet =
false;
237 bool m_deleteProtection;
238 bool m_deleteProtectionHasBeenSet =
false;
240 bool m_subnetChangeProtection;
241 bool m_subnetChangeProtectionHasBeenSet =
false;
243 bool m_firewallPolicyChangeProtection;
244 bool m_firewallPolicyChangeProtectionHasBeenSet =
false;
247 bool m_descriptionHasBeenSet =
false;
250 bool m_firewallIdHasBeenSet =
false;
253 bool m_tagsHasBeenSet =
false;
256 bool m_encryptionConfigurationHasBeenSet =
false;
const EncryptionConfiguration & GetEncryptionConfiguration() const
const Aws::String & GetFirewallPolicyArn() const
bool DeleteProtectionHasBeenSet() const
Firewall & WithVpcId(const Aws::String &value)
void SetVpcId(Aws::String &&value)
AWS_NETWORKFIREWALL_API Firewall & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeleteProtection(bool value)
bool EncryptionConfigurationHasBeenSet() const
Firewall & AddTags(Tag &&value)
Firewall & WithDescription(Aws::String &&value)
const Aws::Vector< SubnetMapping > & GetSubnetMappings() const
void SetFirewallPolicyChangeProtection(bool value)
void SetFirewallPolicyArn(Aws::String &&value)
AWS_NETWORKFIREWALL_API Firewall()
void SetFirewallArn(Aws::String &&value)
bool SubnetMappingsHasBeenSet() const
void SetFirewallName(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
Firewall & WithFirewallName(Aws::String &&value)
Firewall & AddTags(const Tag &value)
bool FirewallPolicyArnHasBeenSet() const
Firewall & WithTags(const Aws::Vector< Tag > &value)
Firewall & WithDeleteProtection(bool value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_NETWORKFIREWALL_API Firewall(Aws::Utils::Json::JsonView jsonValue)
Firewall & WithSubnetMappings(Aws::Vector< SubnetMapping > &&value)
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
const Aws::String & GetFirewallArn() const
void SetFirewallId(Aws::String &&value)
Firewall & WithEncryptionConfiguration(EncryptionConfiguration &&value)
Firewall & AddSubnetMappings(const SubnetMapping &value)
void SetFirewallPolicyArn(const Aws::String &value)
Firewall & WithDescription(const Aws::String &value)
Firewall & WithTags(Aws::Vector< Tag > &&value)
void SetDescription(const char *value)
Firewall & WithFirewallArn(const Aws::String &value)
Firewall & WithSubnetMappings(const Aws::Vector< SubnetMapping > &value)
bool GetFirewallPolicyChangeProtection() const
Firewall & WithSubnetChangeProtection(bool value)
bool DescriptionHasBeenSet() const
Firewall & WithDescription(const char *value)
Firewall & WithEncryptionConfiguration(const EncryptionConfiguration &value)
Firewall & WithFirewallName(const Aws::String &value)
Firewall & WithVpcId(Aws::String &&value)
const Aws::String & GetFirewallId() const
void SetFirewallName(Aws::String &&value)
bool FirewallNameHasBeenSet() const
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
bool TagsHasBeenSet() const
void SetFirewallArn(const Aws::String &value)
bool VpcIdHasBeenSet() const
void SetFirewallName(const char *value)
const Aws::Vector< Tag > & GetTags() const
void SetSubnetChangeProtection(bool value)
Firewall & WithFirewallPolicyArn(const char *value)
Firewall & WithFirewallName(const char *value)
const Aws::String & GetFirewallName() const
void SetVpcId(const char *value)
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
Firewall & WithFirewallArn(Aws::String &&value)
bool GetSubnetChangeProtection() const
Firewall & WithFirewallId(const char *value)
Firewall & WithFirewallPolicyArn(const Aws::String &value)
bool FirewallIdHasBeenSet() const
void SetFirewallArn(const char *value)
void SetFirewallPolicyArn(const char *value)
void SetSubnetMappings(Aws::Vector< SubnetMapping > &&value)
Firewall & WithFirewallPolicyArn(Aws::String &&value)
Firewall & WithVpcId(const char *value)
const Aws::String & GetVpcId() const
void SetFirewallId(const Aws::String &value)
Firewall & WithFirewallId(const Aws::String &value)
bool FirewallPolicyChangeProtectionHasBeenSet() const
bool FirewallArnHasBeenSet() const
Firewall & AddSubnetMappings(SubnetMapping &&value)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetDeleteProtection() const
Firewall & WithFirewallArn(const char *value)
Firewall & WithFirewallPolicyChangeProtection(bool value)
void SetFirewallId(const char *value)
void SetVpcId(const Aws::String &value)
Firewall & WithFirewallId(Aws::String &&value)
void SetDescription(const Aws::String &value)
bool SubnetChangeProtectionHasBeenSet() const
void SetSubnetMappings(const Aws::Vector< SubnetMapping > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue