/* * 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 GetComplianceDetailsByConfigRule operation. /// Returns the evaluation results for the specified Config rule. The results indicate /// which Amazon Web Services resources were evaluated by the rule, when each resource /// was last evaluated, and whether each resource complies with the rule. /// public partial class GetComplianceDetailsByConfigRuleRequest : AmazonConfigServiceRequest { private List _complianceTypes = new List(); private string _configRuleName; private int? _limit; private string _nextToken; /// /// Gets and sets the property ComplianceTypes. /// /// Filters the results by compliance. /// /// /// /// INSUFFICIENT_DATA is a valid ComplianceType that is returned /// when an Config rule cannot be evaluated. However, INSUFFICIENT_DATA cannot /// be used as a ComplianceType for filtering results. /// /// [AWSProperty(Min=0, Max=3)] public List ComplianceTypes { get { return this._complianceTypes; } set { this._complianceTypes = value; } } // Check to see if ComplianceTypes property is set internal bool IsSetComplianceTypes() { return this._complianceTypes != null && this._complianceTypes.Count > 0; } /// /// Gets and sets the property ConfigRuleName. /// /// The name of the Config rule for which you want compliance information. /// /// [AWSProperty(Required=true, Min=1, Max=64)] public string ConfigRuleName { get { return this._configRuleName; } set { this._configRuleName = value; } } // Check to see if ConfigRuleName property is set internal bool IsSetConfigRuleName() { return this._configRuleName != null; } /// /// Gets and sets the property Limit. /// /// The maximum number of evaluation results returned on each page. The default is 10. /// You cannot specify a number greater than 100. If you specify 0, Config uses the default. /// /// [AWSProperty(Min=0, Max=100)] 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; } } }