/*
* 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 auditmanager-2017-07-25.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.AuditManager.Model
{
///
/// A summary of the latest analytics data for a specific control in a specific active
/// assessment.
///
///
///
/// Control insights are grouped by control domain, and ranked by the highest total count
/// of non-compliant evidence.
///
///
public partial class ControlInsightsMetadataByAssessmentItem
{
private string _controlSetName;
private EvidenceInsights _evidenceInsights;
private string _id;
private DateTime? _lastUpdated;
private string _name;
///
/// Gets and sets the property ControlSetName.
///
/// The name of the control set that the assessment control belongs to.
///
///
[AWSProperty(Min=1, Max=2048)]
public string ControlSetName
{
get { return this._controlSetName; }
set { this._controlSetName = value; }
}
// Check to see if ControlSetName property is set
internal bool IsSetControlSetName()
{
return this._controlSetName != null;
}
///
/// Gets and sets the property EvidenceInsights.
///
/// A breakdown of the compliance check status for the evidence that’s associated with
/// the assessment control.
///
///
public EvidenceInsights EvidenceInsights
{
get { return this._evidenceInsights; }
set { this._evidenceInsights = value; }
}
// Check to see if EvidenceInsights property is set
internal bool IsSetEvidenceInsights()
{
return this._evidenceInsights != null;
}
///
/// Gets and sets the property Id.
///
/// The unique identifier for the assessment control.
///
///
[AWSProperty(Min=36, Max=36)]
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 LastUpdated.
///
/// The time when the assessment control insights were last updated.
///
///
public DateTime LastUpdated
{
get { return this._lastUpdated.GetValueOrDefault(); }
set { this._lastUpdated = value; }
}
// Check to see if LastUpdated property is set
internal bool IsSetLastUpdated()
{
return this._lastUpdated.HasValue;
}
///
/// Gets and sets the property Name.
///
/// The name of the assessment control.
///
///
[AWSProperty(Min=1, Max=2048)]
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;
}
}
}