/*
* 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 wellarchitected-2020-03-31.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.WellArchitected.Model
{
///
/// Trusted Advisor check summary.
///
public partial class CheckSummary
{
private Dictionary _accountSummary = new Dictionary();
private string _choiceId;
private string _description;
private string _id;
private string _lensArn;
private string _name;
private string _pillarId;
private CheckProvider _provider;
private string _questionId;
private CheckStatus _status;
private DateTime? _updatedAt;
///
/// Gets and sets the property AccountSummary.
///
/// Account summary associated to the check.
///
///
public Dictionary AccountSummary
{
get { return this._accountSummary; }
set { this._accountSummary = value; }
}
// Check to see if AccountSummary property is set
internal bool IsSetAccountSummary()
{
return this._accountSummary != null && this._accountSummary.Count > 0;
}
///
/// Gets and sets the property ChoiceId.
///
[AWSProperty(Min=1, Max=64)]
public string ChoiceId
{
get { return this._choiceId; }
set { this._choiceId = value; }
}
// Check to see if ChoiceId property is set
internal bool IsSetChoiceId()
{
return this._choiceId != null;
}
///
/// Gets and sets the property Description.
///
/// Trusted Advisor check description.
///
///
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property Id.
///
/// Trusted Advisor check ID.
///
///
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property LensArn.
///
/// Well-Architected Lens ARN associated to the check.
///
///
public string LensArn
{
get { return this._lensArn; }
set { this._lensArn = value; }
}
// Check to see if LensArn property is set
internal bool IsSetLensArn()
{
return this._lensArn != null;
}
///
/// Gets and sets the property Name.
///
/// Trusted Advisor check name.
///
///
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property PillarId.
///
[AWSProperty(Min=1, Max=64)]
public string PillarId
{
get { return this._pillarId; }
set { this._pillarId = value; }
}
// Check to see if PillarId property is set
internal bool IsSetPillarId()
{
return this._pillarId != null;
}
///
/// Gets and sets the property Provider.
///
/// Provider of the check related to the best practice.
///
///
public CheckProvider Provider
{
get { return this._provider; }
set { this._provider = value; }
}
// Check to see if Provider property is set
internal bool IsSetProvider()
{
return this._provider != null;
}
///
/// Gets and sets the property QuestionId.
///
[AWSProperty(Min=1, Max=128)]
public string QuestionId
{
get { return this._questionId; }
set { this._questionId = value; }
}
// Check to see if QuestionId property is set
internal bool IsSetQuestionId()
{
return this._questionId != null;
}
///
/// Gets and sets the property Status.
///
/// Status associated to the check.
///
///
public CheckStatus 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 UpdatedAt.
///
public DateTime UpdatedAt
{
get { return this._updatedAt.GetValueOrDefault(); }
set { this._updatedAt = value; }
}
// Check to see if UpdatedAt property is set
internal bool IsSetUpdatedAt()
{
return this._updatedAt.HasValue;
}
}
}