/*
* 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 guardduty-2017-11-28.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.GuardDuty.Model
{
///
/// Contains details from the malware scan that created a finding.
///
public partial class EbsVolumeScanDetails
{
private DateTime? _scanCompletedAt;
private ScanDetections _scanDetections;
private string _scanId;
private DateTime? _scanStartedAt;
private ScanType _scanType;
private List _sources = new List();
private string _triggerFindingId;
///
/// Gets and sets the property ScanCompletedAt.
///
/// Returns the completion date and time of the malware scan.
///
///
public DateTime ScanCompletedAt
{
get { return this._scanCompletedAt.GetValueOrDefault(); }
set { this._scanCompletedAt = value; }
}
// Check to see if ScanCompletedAt property is set
internal bool IsSetScanCompletedAt()
{
return this._scanCompletedAt.HasValue;
}
///
/// Gets and sets the property ScanDetections.
///
/// Contains a complete view providing malware scan result details.
///
///
public ScanDetections ScanDetections
{
get { return this._scanDetections; }
set { this._scanDetections = value; }
}
// Check to see if ScanDetections property is set
internal bool IsSetScanDetections()
{
return this._scanDetections != null;
}
///
/// Gets and sets the property ScanId.
///
/// Unique Id of the malware scan that generated the finding.
///
///
public string ScanId
{
get { return this._scanId; }
set { this._scanId = value; }
}
// Check to see if ScanId property is set
internal bool IsSetScanId()
{
return this._scanId != null;
}
///
/// Gets and sets the property ScanStartedAt.
///
/// Returns the start date and time of the malware scan.
///
///
public DateTime ScanStartedAt
{
get { return this._scanStartedAt.GetValueOrDefault(); }
set { this._scanStartedAt = value; }
}
// Check to see if ScanStartedAt property is set
internal bool IsSetScanStartedAt()
{
return this._scanStartedAt.HasValue;
}
///
/// Gets and sets the property ScanType.
///
/// Specifies the scan type that invoked the malware scan.
///
///
public ScanType ScanType
{
get { return this._scanType; }
set { this._scanType = value; }
}
// Check to see if ScanType property is set
internal bool IsSetScanType()
{
return this._scanType != null;
}
///
/// Gets and sets the property Sources.
///
/// Contains list of threat intelligence sources used to detect threats.
///
///
public List Sources
{
get { return this._sources; }
set { this._sources = value; }
}
// Check to see if Sources property is set
internal bool IsSetSources()
{
return this._sources != null && this._sources.Count > 0;
}
///
/// Gets and sets the property TriggerFindingId.
///
/// GuardDuty finding ID that triggered a malware scan.
///
///
public string TriggerFindingId
{
get { return this._triggerFindingId; }
set { this._triggerFindingId = value; }
}
// Check to see if TriggerFindingId property is set
internal bool IsSetTriggerFindingId()
{
return this._triggerFindingId != null;
}
}
}