/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the securityhub-2018-10-26.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SecurityHub.Model { /// /// Details about an Network Firewall firewall. /// public partial class AwsNetworkFirewallFirewallDetails { private bool? _deleteProtection; private string _description; private string _firewallArn; private string _firewallId; private string _firewallName; private string _firewallPolicyArn; private bool? _firewallPolicyChangeProtection; private bool? _subnetChangeProtection; private List _subnetMappings = new List(); private string _vpcId; /// /// Gets and sets the property DeleteProtection. /// /// Whether the firewall is protected from deletion. If set to true, then /// the firewall cannot be deleted. /// /// public bool DeleteProtection { get { return this._deleteProtection.GetValueOrDefault(); } set { this._deleteProtection = value; } } // Check to see if DeleteProtection property is set internal bool IsSetDeleteProtection() { return this._deleteProtection.HasValue; } /// /// Gets and sets the property Description. /// /// A description of the firewall. /// /// public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property FirewallArn. /// /// The ARN of the firewall. /// /// public string FirewallArn { get { return this._firewallArn; } set { this._firewallArn = value; } } // Check to see if FirewallArn property is set internal bool IsSetFirewallArn() { return this._firewallArn != null; } /// /// Gets and sets the property FirewallId. /// /// The identifier of the firewall. /// /// public string FirewallId { get { return this._firewallId; } set { this._firewallId = value; } } // Check to see if FirewallId property is set internal bool IsSetFirewallId() { return this._firewallId != null; } /// /// Gets and sets the property FirewallName. /// /// A descriptive name of the firewall. /// /// public string FirewallName { get { return this._firewallName; } set { this._firewallName = value; } } // Check to see if FirewallName property is set internal bool IsSetFirewallName() { return this._firewallName != null; } /// /// Gets and sets the property FirewallPolicyArn. /// /// The ARN of the firewall policy. /// /// public string FirewallPolicyArn { get { return this._firewallPolicyArn; } set { this._firewallPolicyArn = value; } } // Check to see if FirewallPolicyArn property is set internal bool IsSetFirewallPolicyArn() { return this._firewallPolicyArn != null; } /// /// Gets and sets the property FirewallPolicyChangeProtection. /// /// Whether the firewall is protected from a change to the firewall policy. If set to /// true, you cannot associate a different policy with the firewall. /// /// public bool FirewallPolicyChangeProtection { get { return this._firewallPolicyChangeProtection.GetValueOrDefault(); } set { this._firewallPolicyChangeProtection = value; } } // Check to see if FirewallPolicyChangeProtection property is set internal bool IsSetFirewallPolicyChangeProtection() { return this._firewallPolicyChangeProtection.HasValue; } /// /// Gets and sets the property SubnetChangeProtection. /// /// Whether the firewall is protected from a change to the subnet associations. If set /// to true, you cannot map different subnets to the firewall. /// /// public bool SubnetChangeProtection { get { return this._subnetChangeProtection.GetValueOrDefault(); } set { this._subnetChangeProtection = value; } } // Check to see if SubnetChangeProtection property is set internal bool IsSetSubnetChangeProtection() { return this._subnetChangeProtection.HasValue; } /// /// Gets and sets the property SubnetMappings. /// /// The public subnets that Network Firewall uses for the firewall. Each subnet must belong /// to a different Availability Zone. /// /// public List SubnetMappings { get { return this._subnetMappings; } set { this._subnetMappings = value; } } // Check to see if SubnetMappings property is set internal bool IsSetSubnetMappings() { return this._subnetMappings != null && this._subnetMappings.Count > 0; } /// /// Gets and sets the property VpcId. /// /// The identifier of the VPC where the firewall is used. /// /// public string VpcId { get { return this._vpcId; } set { this._vpcId = value; } } // Check to see if VpcId property is set internal bool IsSetVpcId() { return this._vpcId != null; } } }