/*
* 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 ListRuleGroups operation.
/// Retrieves the metadata for the rule groups that you have defined. Depending on your
/// setting for max results and the number of rule groups, a single call might not return
/// the full list.
///
public partial class ListRuleGroupsRequest : AmazonNetworkFirewallRequest
{
private ResourceManagedType _managedType;
private int? _maxResults;
private string _nextToken;
private ResourceManagedStatus _scope;
private RuleGroupType _type;
///
/// Gets and sets the property ManagedType.
///
/// Indicates the general category of the Amazon Web Services managed rule group.
///
///
public ResourceManagedType ManagedType
{
get { return this._managedType; }
set { this._managedType = value; }
}
// Check to see if ManagedType property is set
internal bool IsSetManagedType()
{
return this._managedType != null;
}
///
/// Gets and sets the property MaxResults.
///
/// The maximum number of objects that you want Network Firewall to return for this request.
/// If more objects are available, in the response, Network Firewall provides a NextToken
/// value that you can use in a subsequent call to get the next batch of objects.
///
///
[AWSProperty(Min=1, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
///
/// Gets and sets the property NextToken.
///
/// When you request a list of objects with a MaxResults
setting, if the
/// number of objects that are still available for retrieval exceeds the maximum you requested,
/// Network Firewall returns a NextToken
value in the response. To retrieve
/// the next batch of objects, use the token returned from the prior request in your next
/// request.
///
///
[AWSProperty(Min=1, Max=2048)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
///
/// Gets and sets the property Scope.
///
/// The scope of the request. The default setting of ACCOUNT
or a setting
/// of NULL
returns all of the rule groups in your account. A setting of
/// MANAGED
returns all available managed rule groups.
///
///
public ResourceManagedStatus Scope
{
get { return this._scope; }
set { this._scope = value; }
}
// Check to see if Scope property is set
internal bool IsSetScope()
{
return this._scope != 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.
///
///
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;
}
}
}