/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a firewall policy. A firewall policy defines the behavior of a
* network firewall.See Also:
AWS
* API Reference
The firewall policy configuration.
*/ inline const FirewallPolicyDetails& GetFirewallPolicy() const{ return m_firewallPolicy; } /** *The firewall policy configuration.
*/ inline bool FirewallPolicyHasBeenSet() const { return m_firewallPolicyHasBeenSet; } /** *The firewall policy configuration.
*/ inline void SetFirewallPolicy(const FirewallPolicyDetails& value) { m_firewallPolicyHasBeenSet = true; m_firewallPolicy = value; } /** *The firewall policy configuration.
*/ inline void SetFirewallPolicy(FirewallPolicyDetails&& value) { m_firewallPolicyHasBeenSet = true; m_firewallPolicy = std::move(value); } /** *The firewall policy configuration.
*/ inline AwsNetworkFirewallFirewallPolicyDetails& WithFirewallPolicy(const FirewallPolicyDetails& value) { SetFirewallPolicy(value); return *this;} /** *The firewall policy configuration.
*/ inline AwsNetworkFirewallFirewallPolicyDetails& WithFirewallPolicy(FirewallPolicyDetails&& value) { SetFirewallPolicy(std::move(value)); return *this;} /** *The ARN of the firewall policy.
*/ inline const Aws::String& GetFirewallPolicyArn() const{ return m_firewallPolicyArn; } /** *The ARN of the firewall policy.
*/ inline bool FirewallPolicyArnHasBeenSet() const { return m_firewallPolicyArnHasBeenSet; } /** *The ARN of the firewall policy.
*/ inline void SetFirewallPolicyArn(const Aws::String& value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn = value; } /** *The ARN of the firewall policy.
*/ inline void SetFirewallPolicyArn(Aws::String&& value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn = std::move(value); } /** *The ARN of the firewall policy.
*/ inline void SetFirewallPolicyArn(const char* value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn.assign(value); } /** *The ARN of the firewall policy.
*/ inline AwsNetworkFirewallFirewallPolicyDetails& WithFirewallPolicyArn(const Aws::String& value) { SetFirewallPolicyArn(value); return *this;} /** *The ARN of the firewall policy.
*/ inline AwsNetworkFirewallFirewallPolicyDetails& WithFirewallPolicyArn(Aws::String&& value) { SetFirewallPolicyArn(std::move(value)); return *this;} /** *The ARN of the firewall policy.
*/ inline AwsNetworkFirewallFirewallPolicyDetails& WithFirewallPolicyArn(const char* value) { SetFirewallPolicyArn(value); return *this;} /** *The identifier of the firewall policy.
*/ inline const Aws::String& GetFirewallPolicyId() const{ return m_firewallPolicyId; } /** *The identifier of the firewall policy.
*/ inline bool FirewallPolicyIdHasBeenSet() const { return m_firewallPolicyIdHasBeenSet; } /** *The identifier of the firewall policy.
*/ inline void SetFirewallPolicyId(const Aws::String& value) { m_firewallPolicyIdHasBeenSet = true; m_firewallPolicyId = value; } /** *The identifier of the firewall policy.
*/ inline void SetFirewallPolicyId(Aws::String&& value) { m_firewallPolicyIdHasBeenSet = true; m_firewallPolicyId = std::move(value); } /** *The identifier of the firewall policy.
*/ inline void SetFirewallPolicyId(const char* value) { m_firewallPolicyIdHasBeenSet = true; m_firewallPolicyId.assign(value); } /** *The identifier of the firewall policy.
*/ inline AwsNetworkFirewallFirewallPolicyDetails& WithFirewallPolicyId(const Aws::String& value) { SetFirewallPolicyId(value); return *this;} /** *The identifier of the firewall policy.
*/ inline AwsNetworkFirewallFirewallPolicyDetails& WithFirewallPolicyId(Aws::String&& value) { SetFirewallPolicyId(std::move(value)); return *this;} /** *The identifier of the firewall policy.
*/ inline AwsNetworkFirewallFirewallPolicyDetails& WithFirewallPolicyId(const char* value) { SetFirewallPolicyId(value); return *this;} /** *The name of the firewall policy.
*/ inline const Aws::String& GetFirewallPolicyName() const{ return m_firewallPolicyName; } /** *The name of the firewall policy.
*/ inline bool FirewallPolicyNameHasBeenSet() const { return m_firewallPolicyNameHasBeenSet; } /** *The name of the firewall policy.
*/ inline void SetFirewallPolicyName(const Aws::String& value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName = value; } /** *The name of the firewall policy.
*/ inline void SetFirewallPolicyName(Aws::String&& value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName = std::move(value); } /** *The name of the firewall policy.
*/ inline void SetFirewallPolicyName(const char* value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName.assign(value); } /** *The name of the firewall policy.
*/ inline AwsNetworkFirewallFirewallPolicyDetails& WithFirewallPolicyName(const Aws::String& value) { SetFirewallPolicyName(value); return *this;} /** *The name of the firewall policy.
*/ inline AwsNetworkFirewallFirewallPolicyDetails& WithFirewallPolicyName(Aws::String&& value) { SetFirewallPolicyName(std::move(value)); return *this;} /** *The name of the firewall policy.
*/ inline AwsNetworkFirewallFirewallPolicyDetails& WithFirewallPolicyName(const char* value) { SetFirewallPolicyName(value); return *this;} /** *A description of the firewall policy.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the firewall policy.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the firewall policy.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the firewall policy.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the firewall policy.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the firewall policy.
*/ inline AwsNetworkFirewallFirewallPolicyDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the firewall policy.
*/ inline AwsNetworkFirewallFirewallPolicyDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the firewall policy.
*/ inline AwsNetworkFirewallFirewallPolicyDetails& WithDescription(const char* value) { SetDescription(value); return *this;} private: FirewallPolicyDetails m_firewallPolicy; bool m_firewallPolicyHasBeenSet = false; Aws::String m_firewallPolicyArn; bool m_firewallPolicyArnHasBeenSet = false; Aws::String m_firewallPolicyId; bool m_firewallPolicyIdHasBeenSet = false; Aws::String m_firewallPolicyName; bool m_firewallPolicyNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws