/*
 * 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 monitoring-2010-08-01.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.CloudWatch.Model
{
    /// 
    /// This array is empty if the API operation was successful for all the rules specified
    /// in the request. If the operation could not process one of the rules, the following
    /// data is returned for each of those rules.
    /// 
    public partial class PartialFailure
    {
        private string _exceptionType;
        private string _failureCode;
        private string _failureDescription;
        private string _failureResource;
        /// 
        /// Gets and sets the property ExceptionType. 
        /// 
        /// The type of error.
        /// 
        /// 
        public string ExceptionType
        {
            get { return this._exceptionType; }
            set { this._exceptionType = value; }
        }
        // Check to see if ExceptionType property is set
        internal bool IsSetExceptionType()
        {
            return this._exceptionType != null;
        }
        /// 
        /// Gets and sets the property FailureCode. 
        /// 
        /// The code of the error.
        /// 
        /// 
        public string FailureCode
        {
            get { return this._failureCode; }
            set { this._failureCode = value; }
        }
        // Check to see if FailureCode property is set
        internal bool IsSetFailureCode()
        {
            return this._failureCode != null;
        }
        /// 
        /// Gets and sets the property FailureDescription. 
        /// 
        /// A description of the error.
        /// 
        /// 
        public string FailureDescription
        {
            get { return this._failureDescription; }
            set { this._failureDescription = value; }
        }
        // Check to see if FailureDescription property is set
        internal bool IsSetFailureDescription()
        {
            return this._failureDescription != null;
        }
        /// 
        /// Gets and sets the property FailureResource. 
        /// 
        /// The specified rule that could not be deleted.
        /// 
        /// 
        public string FailureResource
        {
            get { return this._failureResource; }
            set { this._failureResource = value; }
        }
        // Check to see if FailureResource property is set
        internal bool IsSetFailureResource()
        {
            return this._failureResource != null;
        }
    }
}