/*
* 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 support-2013-04-15.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.AWSSupport.Model
{
///
/// The refresh status of a Trusted Advisor check.
///
public partial class TrustedAdvisorCheckRefreshStatus
{
private string _checkId;
private long? _millisUntilNextRefreshable;
private string _status;
///
/// Gets and sets the property CheckId.
///
/// The unique identifier for the Trusted Advisor check.
///
///
[AWSProperty(Required=true)]
public string CheckId
{
get { return this._checkId; }
set { this._checkId = value; }
}
// Check to see if CheckId property is set
internal bool IsSetCheckId()
{
return this._checkId != null;
}
///
/// Gets and sets the property MillisUntilNextRefreshable.
///
/// The amount of time, in milliseconds, until the Trusted Advisor check is eligible for
/// refresh.
///
///
[AWSProperty(Required=true)]
public long MillisUntilNextRefreshable
{
get { return this._millisUntilNextRefreshable.GetValueOrDefault(); }
set { this._millisUntilNextRefreshable = value; }
}
// Check to see if MillisUntilNextRefreshable property is set
internal bool IsSetMillisUntilNextRefreshable()
{
return this._millisUntilNextRefreshable.HasValue;
}
///
/// Gets and sets the property Status.
///
/// The status of the Trusted Advisor check for which a refresh has been requested:
///
/// -
///
///
none
- The check is not refreshed or the non-success status exceeds
/// the timeout
///
/// -
///
///
enqueued
- The check refresh requests has entered the refresh queue
///
/// -
///
///
processing
- The check refresh request is picked up by the rule processing
/// engine
///
/// -
///
///
success
- The check is successfully refreshed
///
/// -
///
///
abandoned
- The check refresh has failed
///
///
///
[AWSProperty(Required=true)]
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}