/*
* 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 results of a Trusted Advisor check returned by DescribeTrustedAdvisorCheckResult.
///
public partial class TrustedAdvisorCheckResult
{
private TrustedAdvisorCategorySpecificSummary _categorySpecificSummary;
private string _checkId;
private List _flaggedResources = new List();
private TrustedAdvisorResourcesSummary _resourcesSummary;
private string _status;
private string _timestamp;
///
/// Gets and sets the property CategorySpecificSummary.
///
/// Summary information that relates to the category of the check. Cost Optimizing is
/// the only category that is currently supported.
///
///
[AWSProperty(Required=true)]
public TrustedAdvisorCategorySpecificSummary CategorySpecificSummary
{
get { return this._categorySpecificSummary; }
set { this._categorySpecificSummary = value; }
}
// Check to see if CategorySpecificSummary property is set
internal bool IsSetCategorySpecificSummary()
{
return this._categorySpecificSummary != null;
}
///
/// 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 FlaggedResources.
///
/// The details about each resource listed in the check result.
///
///
[AWSProperty(Required=true)]
public List FlaggedResources
{
get { return this._flaggedResources; }
set { this._flaggedResources = value; }
}
// Check to see if FlaggedResources property is set
internal bool IsSetFlaggedResources()
{
return this._flaggedResources != null && this._flaggedResources.Count > 0;
}
///
/// Gets and sets the property ResourcesSummary.
///
[AWSProperty(Required=true)]
public TrustedAdvisorResourcesSummary ResourcesSummary
{
get { return this._resourcesSummary; }
set { this._resourcesSummary = value; }
}
// Check to see if ResourcesSummary property is set
internal bool IsSetResourcesSummary()
{
return this._resourcesSummary != null;
}
///
/// Gets and sets the property Status.
///
/// The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or
/// "not_available".
///
///
[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;
}
///
/// Gets and sets the property Timestamp.
///
/// The time of the last refresh of the check.
///
///
[AWSProperty(Required=true)]
public string Timestamp
{
get { return this._timestamp; }
set { this._timestamp = value; }
}
// Check to see if Timestamp property is set
internal bool IsSetTimestamp()
{
return this._timestamp != null;
}
}
}