/*
* 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 ssm-2014-11-06.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.SimpleSystemsManagement.Model
{
///
/// Information about an Automation failure.
///
public partial class FailureDetails
{
private Dictionary> _details = new Dictionary>();
private string _failureStage;
private string _failureType;
///
/// Gets and sets the property Details.
///
/// Detailed information about the Automation step failure.
///
///
[AWSProperty(Min=1, Max=200)]
public Dictionary> Details
{
get { return this._details; }
set { this._details = value; }
}
// Check to see if Details property is set
internal bool IsSetDetails()
{
return this._details != null && this._details.Count > 0;
}
///
/// Gets and sets the property FailureStage.
///
/// The stage of the Automation execution when the failure occurred. The stages include
/// the following: InputValidation, PreVerification, Invocation, PostVerification.
///
///
public string FailureStage
{
get { return this._failureStage; }
set { this._failureStage = value; }
}
// Check to see if FailureStage property is set
internal bool IsSetFailureStage()
{
return this._failureStage != null;
}
///
/// Gets and sets the property FailureType.
///
/// The type of Automation failure. Failure types include the following: Action, Permission,
/// Throttling, Verification, Internal.
///
///
public string FailureType
{
get { return this._failureType; }
set { this._failureType = value; }
}
// Check to see if FailureType property is set
internal bool IsSetFailureType()
{
return this._failureType != null;
}
}
}