/* * 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 network-firewall-2020-11-12.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.NetworkFirewall.Model { /// /// The ID for a subnet that you want to associate with the firewall. This is used with /// CreateFirewall and AssociateSubnets. Network Firewall creates an instance /// of the associated firewall in each subnet that you specify, to filter traffic in the /// subnet's Availability Zone. /// public partial class SubnetMapping { private IPAddressType _ipAddressType; private string _subnetId; /// /// Gets and sets the property IPAddressType. /// /// The subnet's IP address type. You can't change the IP address type after you create /// the subnet. /// /// public IPAddressType IPAddressType { get { return this._ipAddressType; } set { this._ipAddressType = value; } } // Check to see if IPAddressType property is set internal bool IsSetIPAddressType() { return this._ipAddressType != null; } /// /// Gets and sets the property SubnetId. /// /// The unique identifier for the subnet. /// /// [AWSProperty(Required=true)] public string SubnetId { get { return this._subnetId; } set { this._subnetId = value; } } // Check to see if SubnetId property is set internal bool IsSetSubnetId() { return this._subnetId != null; } } }