/*
* 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
{
///
/// Settings that are available for use in the rules in the RuleGroup where this
/// is defined.
///
public partial class RuleVariables
{
private Dictionary _ipSets = new Dictionary();
private Dictionary _portSets = new Dictionary();
///
/// Gets and sets the property IPSets.
///
/// A list of IP addresses and address ranges, in CIDR notation.
///
///
public Dictionary IPSets
{
get { return this._ipSets; }
set { this._ipSets = value; }
}
// Check to see if IPSets property is set
internal bool IsSetIPSets()
{
return this._ipSets != null && this._ipSets.Count > 0;
}
///
/// Gets and sets the property PortSets.
///
/// A list of port ranges.
///
///
public Dictionary PortSets
{
get { return this._portSets; }
set { this._portSets = value; }
}
// Check to see if PortSets property is set
internal bool IsSetPortSets()
{
return this._portSets != null && this._portSets.Count > 0;
}
}
}