/* * 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 { /// /// A summary of a Trusted Advisor check result, including the alert status, last refresh, /// and number of resources examined. /// public partial class TrustedAdvisorCheckSummary { private TrustedAdvisorCategorySpecificSummary _categorySpecificSummary; private string _checkId; private bool? _hasFlaggedResources; 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 HasFlaggedResources. /// /// Specifies whether the Trusted Advisor check has flagged resources. /// /// public bool HasFlaggedResources { get { return this._hasFlaggedResources.GetValueOrDefault(); } set { this._hasFlaggedResources = value; } } // Check to see if HasFlaggedResources property is set internal bool IsSetHasFlaggedResources() { return this._hasFlaggedResources.HasValue; } /// /// 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; } } }