7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/guardduty/GuardDuty_EXPORTS.h>
11#include <aws/guardduty/model/MalwareProtectionScanType.h>
12#include <aws/guardduty/model/MalwareThreat.h>
13#include <aws/guardduty/model/ScanCategory.h>
45 template <
typename ScanIdT = Aws::String>
47 m_scanIdHasBeenSet =
true;
48 m_scanId = std::forward<ScanIdT>(value);
50 template <
typename ScanIdT = Aws::String>
65 m_scanTypeHasBeenSet =
true;
82 m_scanCategoryHasBeenSet =
true;
83 m_scanCategory = value;
97 template <
typename TriggerFindingIdT = Aws::String>
99 m_triggerFindingIdHasBeenSet =
true;
100 m_triggerFindingId = std::forward<TriggerFindingIdT>(value);
102 template <
typename TriggerFindingIdT = Aws::String>
115 template <
typename EngineSourcesT = Aws::String>
117 m_engineSourcesHasBeenSet =
true;
118 m_engineSources = std::forward<EngineSourcesT>(value);
120 template <
typename EngineSourcesT = Aws::String>
133 template <
typename ScanStartedAtT = Aws::Utils::DateTime>
135 m_scanStartedAtHasBeenSet =
true;
136 m_scanStartedAt = std::forward<ScanStartedAtT>(value);
138 template <
typename ScanStartedAtT = Aws::Utils::DateTime>
151 template <
typename ScanCompletedAtT = Aws::Utils::DateTime>
153 m_scanCompletedAtHasBeenSet =
true;
154 m_scanCompletedAt = std::forward<ScanCompletedAtT>(value);
156 template <
typename ScanCompletedAtT = Aws::Utils::DateTime>
170 m_filesScannedHasBeenSet =
true;
171 m_filesScanned = value;
186 m_gigabytesScannedHasBeenSet =
true;
187 m_gigabytesScanned = value;
202 m_volumesScannedHasBeenSet =
true;
203 m_volumesScanned = value;
218 m_infectedFileCountHasBeenSet =
true;
219 m_infectedFileCount = value;
233 template <
typename ResourceTypeT = Aws::String>
235 m_resourceTypeHasBeenSet =
true;
236 m_resourceType = std::forward<ResourceTypeT>(value);
238 template <
typename ResourceTypeT = Aws::String>
251 template <
typename ResourceIdentifierT = Aws::String>
253 m_resourceIdentifierHasBeenSet =
true;
254 m_resourceIdentifier = std::forward<ResourceIdentifierT>(value);
256 template <
typename ResourceIdentifierT = Aws::String>
269 template <
typename HighestSeverityT = Aws::String>
271 m_highestSeverityHasBeenSet =
true;
272 m_highestSeverity = std::forward<HighestSeverityT>(value);
274 template <
typename HighestSeverityT = Aws::String>
287 template <
typename HighestSeverityThreatNameT = Aws::String>
289 m_highestSeverityThreatNameHasBeenSet =
true;
290 m_highestSeverityThreatName = std::forward<HighestSeverityThreatNameT>(value);
292 template <
typename HighestSeverityThreatNameT = Aws::String>
306 m_uniqueThreatCountHasBeenSet =
true;
307 m_uniqueThreatCount = value;
322 m_totalInfectedItemsHasBeenSet =
true;
323 m_totalInfectedItems = value;
337 template <
typename ThreatsT = Aws::Vector<MalwareThreat>>
339 m_threatsHasBeenSet =
true;
340 m_threats = std::forward<ThreatsT>(value);
342 template <
typename ThreatsT = Aws::Vector<MalwareThreat>>
347 template <
typename ThreatsT = MalwareThreat>
349 m_threatsHasBeenSet =
true;
350 m_threats.emplace_back(std::forward<ThreatsT>(value));
369 long long m_filesScanned{0};
371 double m_gigabytesScanned{0.0};
373 long long m_volumesScanned{0};
375 long long m_infectedFileCount{0};
385 long long m_uniqueThreatCount{0};
387 long long m_totalInfectedItems{0};
390 bool m_scanIdHasBeenSet =
false;
391 bool m_scanTypeHasBeenSet =
false;
392 bool m_scanCategoryHasBeenSet =
false;
393 bool m_triggerFindingIdHasBeenSet =
false;
394 bool m_engineSourcesHasBeenSet =
false;
395 bool m_scanStartedAtHasBeenSet =
false;
396 bool m_scanCompletedAtHasBeenSet =
false;
397 bool m_filesScannedHasBeenSet =
false;
398 bool m_gigabytesScannedHasBeenSet =
false;
399 bool m_volumesScannedHasBeenSet =
false;
400 bool m_infectedFileCountHasBeenSet =
false;
401 bool m_resourceTypeHasBeenSet =
false;
402 bool m_resourceIdentifierHasBeenSet =
false;
403 bool m_highestSeverityHasBeenSet =
false;
404 bool m_highestSeverityThreatNameHasBeenSet =
false;
405 bool m_uniqueThreatCountHasBeenSet =
false;
406 bool m_totalInfectedItemsHasBeenSet =
false;
407 bool m_threatsHasBeenSet =
false;
bool ResourceTypeHasBeenSet() const
AWS_GUARDDUTY_API InvestigationMalwareScan & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ScanCategoryHasBeenSet() const
bool ResourceIdentifierHasBeenSet() const
void SetTotalInfectedItems(long long value)
void SetScanType(MalwareProtectionScanType value)
long long GetUniqueThreatCount() const
long long GetVolumesScanned() const
InvestigationMalwareScan & WithUniqueThreatCount(long long value)
void SetScanCategory(ScanCategory value)
const Aws::String & GetHighestSeverity() const
bool ScanCompletedAtHasBeenSet() const
const Aws::String & GetResourceType() const
long long GetTotalInfectedItems() const
InvestigationMalwareScan & WithThreats(ThreatsT &&value)
void SetScanCompletedAt(ScanCompletedAtT &&value)
MalwareProtectionScanType GetScanType() const
bool InfectedFileCountHasBeenSet() const
bool ScanStartedAtHasBeenSet() const
const Aws::String & GetResourceIdentifier() const
const Aws::String & GetHighestSeverityThreatName() const
void SetScanId(ScanIdT &&value)
void SetEngineSources(EngineSourcesT &&value)
bool HighestSeverityHasBeenSet() const
bool ThreatsHasBeenSet() const
void SetResourceType(ResourceTypeT &&value)
InvestigationMalwareScan & WithTriggerFindingId(TriggerFindingIdT &&value)
void SetResourceIdentifier(ResourceIdentifierT &&value)
ScanCategory GetScanCategory() const
InvestigationMalwareScan & AddThreats(ThreatsT &&value)
InvestigationMalwareScan & WithScanCategory(ScanCategory value)
InvestigationMalwareScan & WithHighestSeverityThreatName(HighestSeverityThreatNameT &&value)
InvestigationMalwareScan & WithResourceIdentifier(ResourceIdentifierT &&value)
bool HighestSeverityThreatNameHasBeenSet() const
void SetVolumesScanned(long long value)
void SetScanStartedAt(ScanStartedAtT &&value)
void SetTriggerFindingId(TriggerFindingIdT &&value)
void SetHighestSeverityThreatName(HighestSeverityThreatNameT &&value)
AWS_GUARDDUTY_API InvestigationMalwareScan(Aws::Utils::Json::JsonView jsonValue)
InvestigationMalwareScan & WithFilesScanned(long long value)
InvestigationMalwareScan & WithScanId(ScanIdT &&value)
bool FilesScannedHasBeenSet() const
const Aws::Utils::DateTime & GetScanCompletedAt() const
double GetGigabytesScanned() const
InvestigationMalwareScan & WithHighestSeverity(HighestSeverityT &&value)
void SetUniqueThreatCount(long long value)
bool ScanTypeHasBeenSet() const
const Aws::String & GetEngineSources() const
void SetHighestSeverity(HighestSeverityT &&value)
InvestigationMalwareScan & WithEngineSources(EngineSourcesT &&value)
void SetFilesScanned(long long value)
void SetInfectedFileCount(long long value)
long long GetInfectedFileCount() const
InvestigationMalwareScan & WithGigabytesScanned(double value)
InvestigationMalwareScan & WithVolumesScanned(long long value)
const Aws::String & GetTriggerFindingId() const
void SetGigabytesScanned(double value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool ScanIdHasBeenSet() const
const Aws::Utils::DateTime & GetScanStartedAt() const
bool GigabytesScannedHasBeenSet() const
InvestigationMalwareScan & WithScanCompletedAt(ScanCompletedAtT &&value)
long long GetFilesScanned() const
InvestigationMalwareScan & WithTotalInfectedItems(long long value)
const Aws::String & GetScanId() const
InvestigationMalwareScan & WithScanType(MalwareProtectionScanType value)
InvestigationMalwareScan & WithResourceType(ResourceTypeT &&value)
bool TriggerFindingIdHasBeenSet() const
bool VolumesScannedHasBeenSet() const
const Aws::Vector< MalwareThreat > & GetThreats() const
InvestigationMalwareScan & WithInfectedFileCount(long long value)
InvestigationMalwareScan & WithScanStartedAt(ScanStartedAtT &&value)
void SetThreats(ThreatsT &&value)
bool TotalInfectedItemsHasBeenSet() const
AWS_GUARDDUTY_API InvestigationMalwareScan()=default
bool EngineSourcesHasBeenSet() const
bool UniqueThreatCountHasBeenSet() const
MalwareProtectionScanType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue