/* * 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 { /// /// Status information for your Config Managed rules and Config Custom Policy rules. The /// status includes information such as the last time the rule ran, the last time it failed, /// and the related error for the last failure. /// /// /// /// This action does not return status information about Config Custom Lambda rules. /// /// public partial class ConfigRuleEvaluationStatus { private string _configRuleArn; private string _configRuleId; private string _configRuleName; private DateTime? _firstActivatedTime; private bool? _firstEvaluationStarted; private DateTime? _lastDeactivatedTime; private string _lastDebugLogDeliveryStatus; private string _lastDebugLogDeliveryStatusReason; private DateTime? _lastDebugLogDeliveryTime; private string _lastErrorCode; private string _lastErrorMessage; private DateTime? _lastFailedEvaluationTime; private DateTime? _lastFailedInvocationTime; private DateTime? _lastSuccessfulEvaluationTime; private DateTime? _lastSuccessfulInvocationTime; /// /// Gets and sets the property ConfigRuleArn. /// /// The Amazon Resource Name (ARN) of the Config rule. /// /// public string ConfigRuleArn { get { return this._configRuleArn; } set { this._configRuleArn = value; } } // Check to see if ConfigRuleArn property is set internal bool IsSetConfigRuleArn() { return this._configRuleArn != null; } /// /// Gets and sets the property ConfigRuleId. /// /// The ID of the Config rule. /// /// public string ConfigRuleId { get { return this._configRuleId; } set { this._configRuleId = value; } } // Check to see if ConfigRuleId property is set internal bool IsSetConfigRuleId() { return this._configRuleId != null; } /// /// Gets and sets the property ConfigRuleName. /// /// The name of the Config rule. /// /// [AWSProperty(Min=1, Max=128)] 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 FirstActivatedTime. /// /// The time that you first activated the Config rule. /// /// public DateTime FirstActivatedTime { get { return this._firstActivatedTime.GetValueOrDefault(); } set { this._firstActivatedTime = value; } } // Check to see if FirstActivatedTime property is set internal bool IsSetFirstActivatedTime() { return this._firstActivatedTime.HasValue; } /// /// Gets and sets the property FirstEvaluationStarted. /// /// Indicates whether Config has evaluated your resources against the rule at least once. /// /// /// public bool FirstEvaluationStarted { get { return this._firstEvaluationStarted.GetValueOrDefault(); } set { this._firstEvaluationStarted = value; } } // Check to see if FirstEvaluationStarted property is set internal bool IsSetFirstEvaluationStarted() { return this._firstEvaluationStarted.HasValue; } /// /// Gets and sets the property LastDeactivatedTime. /// /// The time that you last turned off the Config rule. /// /// public DateTime LastDeactivatedTime { get { return this._lastDeactivatedTime.GetValueOrDefault(); } set { this._lastDeactivatedTime = value; } } // Check to see if LastDeactivatedTime property is set internal bool IsSetLastDeactivatedTime() { return this._lastDeactivatedTime.HasValue; } /// /// Gets and sets the property LastDebugLogDeliveryStatus. /// /// The status of the last attempted delivery of a debug log for your Config Custom Policy /// rules. Either Successful or Failed. /// /// public string LastDebugLogDeliveryStatus { get { return this._lastDebugLogDeliveryStatus; } set { this._lastDebugLogDeliveryStatus = value; } } // Check to see if LastDebugLogDeliveryStatus property is set internal bool IsSetLastDebugLogDeliveryStatus() { return this._lastDebugLogDeliveryStatus != null; } /// /// Gets and sets the property LastDebugLogDeliveryStatusReason. /// /// The reason Config was not able to deliver a debug log. This is for the last failed /// attempt to retrieve a debug log for your Config Custom Policy rules. /// /// public string LastDebugLogDeliveryStatusReason { get { return this._lastDebugLogDeliveryStatusReason; } set { this._lastDebugLogDeliveryStatusReason = value; } } // Check to see if LastDebugLogDeliveryStatusReason property is set internal bool IsSetLastDebugLogDeliveryStatusReason() { return this._lastDebugLogDeliveryStatusReason != null; } /// /// Gets and sets the property LastDebugLogDeliveryTime. /// /// The time Config last attempted to deliver a debug log for your Config Custom Policy /// rules. /// /// public DateTime LastDebugLogDeliveryTime { get { return this._lastDebugLogDeliveryTime.GetValueOrDefault(); } set { this._lastDebugLogDeliveryTime = value; } } // Check to see if LastDebugLogDeliveryTime property is set internal bool IsSetLastDebugLogDeliveryTime() { return this._lastDebugLogDeliveryTime.HasValue; } /// /// Gets and sets the property LastErrorCode. /// /// The error code that Config returned when the rule last failed. /// /// public string LastErrorCode { get { return this._lastErrorCode; } set { this._lastErrorCode = value; } } // Check to see if LastErrorCode property is set internal bool IsSetLastErrorCode() { return this._lastErrorCode != null; } /// /// Gets and sets the property LastErrorMessage. /// /// The error message that Config returned when the rule last failed. /// /// public string LastErrorMessage { get { return this._lastErrorMessage; } set { this._lastErrorMessage = value; } } // Check to see if LastErrorMessage property is set internal bool IsSetLastErrorMessage() { return this._lastErrorMessage != null; } /// /// Gets and sets the property LastFailedEvaluationTime. /// /// The time that Config last failed to evaluate your Amazon Web Services resources against /// the rule. /// /// public DateTime LastFailedEvaluationTime { get { return this._lastFailedEvaluationTime.GetValueOrDefault(); } set { this._lastFailedEvaluationTime = value; } } // Check to see if LastFailedEvaluationTime property is set internal bool IsSetLastFailedEvaluationTime() { return this._lastFailedEvaluationTime.HasValue; } /// /// Gets and sets the property LastFailedInvocationTime. /// /// The time that Config last failed to invoke the Config rule to evaluate your Amazon /// Web Services resources. /// /// public DateTime LastFailedInvocationTime { get { return this._lastFailedInvocationTime.GetValueOrDefault(); } set { this._lastFailedInvocationTime = value; } } // Check to see if LastFailedInvocationTime property is set internal bool IsSetLastFailedInvocationTime() { return this._lastFailedInvocationTime.HasValue; } /// /// Gets and sets the property LastSuccessfulEvaluationTime. /// /// The time that Config last successfully evaluated your Amazon Web Services resources /// against the rule. /// /// public DateTime LastSuccessfulEvaluationTime { get { return this._lastSuccessfulEvaluationTime.GetValueOrDefault(); } set { this._lastSuccessfulEvaluationTime = value; } } // Check to see if LastSuccessfulEvaluationTime property is set internal bool IsSetLastSuccessfulEvaluationTime() { return this._lastSuccessfulEvaluationTime.HasValue; } /// /// Gets and sets the property LastSuccessfulInvocationTime. /// /// The time that Config last successfully invoked the Config rule to evaluate your Amazon /// Web Services resources. /// /// public DateTime LastSuccessfulInvocationTime { get { return this._lastSuccessfulInvocationTime.GetValueOrDefault(); } set { this._lastSuccessfulInvocationTime = value; } } // Check to see if LastSuccessfulInvocationTime property is set internal bool IsSetLastSuccessfulInvocationTime() { return this._lastSuccessfulInvocationTime.HasValue; } } }