/*
* 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 config-2014-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.ConfigService.Model
{
///
/// Container for the parameters to the DescribeConfigRuleEvaluationStatus operation.
/// Returns status information for each of your Config managed rules. The status includes
/// information such as the last time Config invoked the rule, the last time Config failed
/// to invoke the rule, and the related error for the last failure.
///
public partial class DescribeConfigRuleEvaluationStatusRequest : AmazonConfigServiceRequest
{
private List _configRuleNames = new List();
private int? _limit;
private string _nextToken;
///
/// Gets and sets the property ConfigRuleNames.
///
/// The name of the Config managed rules for which you want status information. If you
/// do not specify any names, Config returns status information for all Config managed
/// rules that you use.
///
///
[AWSProperty(Min=0, Max=25)]
public List ConfigRuleNames
{
get { return this._configRuleNames; }
set { this._configRuleNames = value; }
}
// Check to see if ConfigRuleNames property is set
internal bool IsSetConfigRuleNames()
{
return this._configRuleNames != null && this._configRuleNames.Count > 0;
}
///
/// Gets and sets the property Limit.
///
/// The number of rule evaluation results that you want returned.
///
///
///
/// This parameter is required if the rule limit for your account is more than the default
/// of 150 rules.
///
///
///
/// For information about requesting a rule limit increase, see Config
/// Limits in the Amazon Web Services General Reference Guide.
///
///
[AWSProperty(Min=0, Max=50)]
public int Limit
{
get { return this._limit.GetValueOrDefault(); }
set { this._limit = value; }
}
// Check to see if Limit property is set
internal bool IsSetLimit()
{
return this._limit.HasValue;
}
///
/// Gets and sets the property NextToken.
///
/// The nextToken
string returned on a previous page that you use to get
/// the next page of results in a paginated response.
///
///
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;
}
}
}