/*
* 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
{
///
/// The folder where Audit Manager stores evidence for an assessment.
///
public partial class AssessmentEvidenceFolder
{
private string _assessmentId;
private int? _assessmentReportSelectionCount;
private string _author;
private string _controlId;
private string _controlName;
private string _controlSetId;
private string _dataSource;
private DateTime? _date;
private int? _evidenceAwsServiceSourceCount;
private int? _evidenceByTypeComplianceCheckCount;
private int? _evidenceByTypeComplianceCheckIssuesCount;
private int? _evidenceByTypeConfigurationDataCount;
private int? _evidenceByTypeManualCount;
private int? _evidenceByTypeUserActivityCount;
private int? _evidenceResourcesIncludedCount;
private string _id;
private string _name;
private int? _totalEvidence;
///
/// Gets and sets the property AssessmentId.
///
/// The identifier for the assessment.
///
///
[AWSProperty(Min=36, Max=36)]
public string AssessmentId
{
get { return this._assessmentId; }
set { this._assessmentId = value; }
}
// Check to see if AssessmentId property is set
internal bool IsSetAssessmentId()
{
return this._assessmentId != null;
}
///
/// Gets and sets the property AssessmentReportSelectionCount.
///
/// The total count of evidence that's included in the assessment report.
///
///
public int AssessmentReportSelectionCount
{
get { return this._assessmentReportSelectionCount.GetValueOrDefault(); }
set { this._assessmentReportSelectionCount = value; }
}
// Check to see if AssessmentReportSelectionCount property is set
internal bool IsSetAssessmentReportSelectionCount()
{
return this._assessmentReportSelectionCount.HasValue;
}
///
/// Gets and sets the property Author.
///
/// The name of the user who created the evidence folder.
///
///
[AWSProperty(Min=0, Max=2048)]
public string Author
{
get { return this._author; }
set { this._author = value; }
}
// Check to see if Author property is set
internal bool IsSetAuthor()
{
return this._author != null;
}
///
/// Gets and sets the property ControlId.
///
/// The unique identifier for the control.
///
///
[AWSProperty(Min=36, Max=36)]
public string ControlId
{
get { return this._controlId; }
set { this._controlId = value; }
}
// Check to see if ControlId property is set
internal bool IsSetControlId()
{
return this._controlId != null;
}
///
/// Gets and sets the property ControlName.
///
/// The name of the control.
///
///
[AWSProperty(Min=1, Max=300)]
public string ControlName
{
get { return this._controlName; }
set { this._controlName = value; }
}
// Check to see if ControlName property is set
internal bool IsSetControlName()
{
return this._controlName != null;
}
///
/// Gets and sets the property ControlSetId.
///
/// The identifier for the control set.
///
///
[AWSProperty(Min=1, Max=300)]
public string ControlSetId
{
get { return this._controlSetId; }
set { this._controlSetId = value; }
}
// Check to see if ControlSetId property is set
internal bool IsSetControlSetId()
{
return this._controlSetId != null;
}
///
/// Gets and sets the property DataSource.
///
/// The Amazon Web Service that the evidence was collected from.
///
///
[AWSProperty(Min=0, Max=2048)]
public string DataSource
{
get { return this._dataSource; }
set { this._dataSource = value; }
}
// Check to see if DataSource property is set
internal bool IsSetDataSource()
{
return this._dataSource != null;
}
///
/// Gets and sets the property Date.
///
/// The date when the first evidence was added to the evidence folder.
///
///
public DateTime Date
{
get { return this._date.GetValueOrDefault(); }
set { this._date = value; }
}
// Check to see if Date property is set
internal bool IsSetDate()
{
return this._date.HasValue;
}
///
/// Gets and sets the property EvidenceAwsServiceSourceCount.
///
/// The total number of Amazon Web Services resources that were assessed to generate
/// the evidence.
///
///
public int EvidenceAwsServiceSourceCount
{
get { return this._evidenceAwsServiceSourceCount.GetValueOrDefault(); }
set { this._evidenceAwsServiceSourceCount = value; }
}
// Check to see if EvidenceAwsServiceSourceCount property is set
internal bool IsSetEvidenceAwsServiceSourceCount()
{
return this._evidenceAwsServiceSourceCount.HasValue;
}
///
/// Gets and sets the property EvidenceByTypeComplianceCheckCount.
///
/// The number of evidence that falls under the compliance check category. This evidence
/// is collected from Config or Security Hub.
///
///
public int EvidenceByTypeComplianceCheckCount
{
get { return this._evidenceByTypeComplianceCheckCount.GetValueOrDefault(); }
set { this._evidenceByTypeComplianceCheckCount = value; }
}
// Check to see if EvidenceByTypeComplianceCheckCount property is set
internal bool IsSetEvidenceByTypeComplianceCheckCount()
{
return this._evidenceByTypeComplianceCheckCount.HasValue;
}
///
/// Gets and sets the property EvidenceByTypeComplianceCheckIssuesCount.
///
/// The total number of issues that were reported directly from Security Hub, Config,
/// or both.
///
///
public int EvidenceByTypeComplianceCheckIssuesCount
{
get { return this._evidenceByTypeComplianceCheckIssuesCount.GetValueOrDefault(); }
set { this._evidenceByTypeComplianceCheckIssuesCount = value; }
}
// Check to see if EvidenceByTypeComplianceCheckIssuesCount property is set
internal bool IsSetEvidenceByTypeComplianceCheckIssuesCount()
{
return this._evidenceByTypeComplianceCheckIssuesCount.HasValue;
}
///
/// Gets and sets the property EvidenceByTypeConfigurationDataCount.
///
/// The number of evidence that falls under the configuration data category. This evidence
/// is collected from configuration snapshots of other Amazon Web Services such as Amazon
/// EC2, Amazon S3, or IAM.
///
///
public int EvidenceByTypeConfigurationDataCount
{
get { return this._evidenceByTypeConfigurationDataCount.GetValueOrDefault(); }
set { this._evidenceByTypeConfigurationDataCount = value; }
}
// Check to see if EvidenceByTypeConfigurationDataCount property is set
internal bool IsSetEvidenceByTypeConfigurationDataCount()
{
return this._evidenceByTypeConfigurationDataCount.HasValue;
}
///
/// Gets and sets the property EvidenceByTypeManualCount.
///
/// The number of evidence that falls under the manual category. This evidence is imported
/// manually.
///
///
public int EvidenceByTypeManualCount
{
get { return this._evidenceByTypeManualCount.GetValueOrDefault(); }
set { this._evidenceByTypeManualCount = value; }
}
// Check to see if EvidenceByTypeManualCount property is set
internal bool IsSetEvidenceByTypeManualCount()
{
return this._evidenceByTypeManualCount.HasValue;
}
///
/// Gets and sets the property EvidenceByTypeUserActivityCount.
///
/// The number of evidence that falls under the user activity category. This evidence
/// is collected from CloudTrail logs.
///
///
public int EvidenceByTypeUserActivityCount
{
get { return this._evidenceByTypeUserActivityCount.GetValueOrDefault(); }
set { this._evidenceByTypeUserActivityCount = value; }
}
// Check to see if EvidenceByTypeUserActivityCount property is set
internal bool IsSetEvidenceByTypeUserActivityCount()
{
return this._evidenceByTypeUserActivityCount.HasValue;
}
///
/// Gets and sets the property EvidenceResourcesIncludedCount.
///
/// The amount of evidence that's included in the evidence folder.
///
///
public int EvidenceResourcesIncludedCount
{
get { return this._evidenceResourcesIncludedCount.GetValueOrDefault(); }
set { this._evidenceResourcesIncludedCount = value; }
}
// Check to see if EvidenceResourcesIncludedCount property is set
internal bool IsSetEvidenceResourcesIncludedCount()
{
return this._evidenceResourcesIncludedCount.HasValue;
}
///
/// Gets and sets the property Id.
///
/// The identifier for the folder that the evidence is stored in.
///
///
[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 Name.
///
/// The name of the evidence folder.
///
///
[AWSProperty(Min=1, Max=300)]
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 TotalEvidence.
///
/// The total amount of evidence in the evidence folder.
///
///
public int TotalEvidence
{
get { return this._totalEvidence.GetValueOrDefault(); }
set { this._totalEvidence = value; }
}
// Check to see if TotalEvidence property is set
internal bool IsSetTotalEvidence()
{
return this._totalEvidence.HasValue;
}
}
}