/* * 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 rule group. Rule groups are used to inspect and /// control network traffic. Stateless rule groups apply to individual packets. Stateful /// rule groups apply to packets in the context of their traffic flow. /// /// /// /// Rule groups are referenced in firewall policies. /// /// public partial class AwsNetworkFirewallRuleGroupDetails { private int? _capacity; private string _description; private RuleGroupDetails _ruleGroup; private string _ruleGroupArn; private string _ruleGroupId; private string _ruleGroupName; private string _type; /// /// Gets and sets the property Capacity. /// /// The maximum number of operating resources that this rule group can use. /// /// public int Capacity { get { return this._capacity.GetValueOrDefault(); } set { this._capacity = value; } } // Check to see if Capacity property is set internal bool IsSetCapacity() { return this._capacity.HasValue; } /// /// Gets and sets the property Description. /// /// A description of the rule group. /// /// 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 RuleGroup. /// /// Details about the rule group. /// /// public RuleGroupDetails RuleGroup { get { return this._ruleGroup; } set { this._ruleGroup = value; } } // Check to see if RuleGroup property is set internal bool IsSetRuleGroup() { return this._ruleGroup != null; } /// /// Gets and sets the property RuleGroupArn. /// /// The ARN of the rule group. /// /// 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 RuleGroupId. /// /// The identifier of the rule group. /// /// public string RuleGroupId { get { return this._ruleGroupId; } set { this._ruleGroupId = value; } } // Check to see if RuleGroupId property is set internal bool IsSetRuleGroupId() { return this._ruleGroupId != null; } /// /// Gets and sets the property RuleGroupName. /// /// The descriptive name of the rule group. /// /// 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. /// /// The type of rule group. A rule group can be stateful or stateless. /// /// public string Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }