/* * 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 { /// /// Container for the parameters to the DescribeRuleGroup operation. /// Returns the data objects for the specified rule group. /// public partial class DescribeRuleGroupRequest : AmazonNetworkFirewallRequest { private string _ruleGroupArn; private string _ruleGroupName; private RuleGroupType _type; /// /// Gets and sets the property RuleGroupArn. /// /// The Amazon Resource Name (ARN) of the rule group. /// /// /// /// You must specify the ARN or the name, and you can specify both. /// /// [AWSProperty(Min=1, Max=256)] public string RuleGroupArn { get { return this._ruleGroupArn; } set { this._ruleGroupArn = value; } } // Check to see if RuleGroupArn property is set internal bool IsSetRuleGroupArn() { return this._ruleGroupArn != null; } /// /// Gets and sets the property RuleGroupName. /// /// The descriptive name of the rule group. You can't change the name of a rule group /// after you create it. /// /// /// /// You must specify the ARN or the name, and you can specify both. /// /// [AWSProperty(Min=1, Max=128)] public string RuleGroupName { get { return this._ruleGroupName; } set { this._ruleGroupName = value; } } // Check to see if RuleGroupName property is set internal bool IsSetRuleGroupName() { return this._ruleGroupName != null; } /// /// Gets and sets the property Type. /// /// Indicates whether the rule group is stateless or stateful. If the rule group is stateless, /// it contains stateless rules. If it is stateful, it contains stateful rules. /// /// /// /// This setting is required for requests that do not include the RuleGroupARN. /// /// /// public RuleGroupType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }