/*
* 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
{
///
/// Container for the parameters to the DescribeTrustedAdvisorCheckResult operation.
/// Returns the results of the Trusted Advisor check that has the specified check ID.
/// You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.
///
///
///
/// The response contains a TrustedAdvisorCheckResult object, which contains these
/// three objects:
///
///
///
/// In addition, the response contains these fields:
///
/// -
///
/// status - The alert status of the check can be
ok
(green), warning
/// (yellow), error
(red), or not_available
.
///
/// -
///
/// timestamp - The time of the last refresh of the check.
///
///
-
///
/// checkId - The unique identifier for the check.
///
///
-
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// To call the Trusted Advisor operations in the Amazon Web Services Support API, you
/// must use the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe
/// (Ireland) endpoints don't support the Trusted Advisor operations. For more information,
/// see About
/// the Amazon Web Services Support API in the Amazon Web Services Support User
/// Guide.
///
///
public partial class DescribeTrustedAdvisorCheckResultRequest : AmazonAWSSupportRequest
{
private string _checkId;
private string _language;
///
/// 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 Language.
///
/// The ISO 639-1 code for the language that you want your check results to appear in.
///
///
///
/// The Amazon Web Services Support API currently supports the following languages for
/// Trusted Advisor:
///
/// -
///
/// Chinese, Simplified -
zh
///
/// -
///
/// Chinese, Traditional -
zh_TW
///
/// -
///
/// English -
en
///
/// -
///
/// French -
fr
///
/// -
///
/// German -
de
///
/// -
///
/// Indonesian -
id
///
/// -
///
/// Italian -
it
///
/// -
///
/// Japanese -
ja
///
/// -
///
/// Korean -
ko
///
/// -
///
/// Portuguese, Brazilian -
pt_BR
///
/// -
///
/// Spanish -
es
///
///
///
public string Language
{
get { return this._language; }
set { this._language = value; }
}
// Check to see if Language property is set
internal bool IsSetLanguage()
{
return this._language != null;
}
}
}