7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/ScanResultStatus.h>
10#include <aws/guardduty/model/ScanResultThreat.h>
44 m_scanResultStatusHasBeenSet =
true;
45 m_scanResultStatus = value;
60 m_skippedFileCountHasBeenSet =
true;
61 m_skippedFileCount = value;
76 m_failedFileCountHasBeenSet =
true;
77 m_failedFileCount = value;
92 m_threatFoundFileCountHasBeenSet =
true;
93 m_threatFoundFileCount = value;
108 m_totalFileCountHasBeenSet =
true;
109 m_totalFileCount = value;
124 m_totalBytesHasBeenSet =
true;
125 m_totalBytes = value;
140 m_uniqueThreatCountHasBeenSet =
true;
141 m_uniqueThreatCount = value;
155 template <
typename ThreatsT = Aws::Vector<ScanResultThreat>>
157 m_threatsHasBeenSet =
true;
158 m_threats = std::forward<ThreatsT>(value);
160 template <
typename ThreatsT = Aws::Vector<ScanResultThreat>>
165 template <
typename ThreatsT = ScanResultThreat>
167 m_threatsHasBeenSet =
true;
168 m_threats.emplace_back(std::forward<ThreatsT>(value));
175 long long m_skippedFileCount{0};
177 long long m_failedFileCount{0};
179 long long m_threatFoundFileCount{0};
181 long long m_totalFileCount{0};
183 long long m_totalBytes{0};
185 long long m_uniqueThreatCount{0};
188 bool m_scanResultStatusHasBeenSet =
false;
189 bool m_skippedFileCountHasBeenSet =
false;
190 bool m_failedFileCountHasBeenSet =
false;
191 bool m_threatFoundFileCountHasBeenSet =
false;
192 bool m_totalFileCountHasBeenSet =
false;
193 bool m_totalBytesHasBeenSet =
false;
194 bool m_uniqueThreatCountHasBeenSet =
false;
195 bool m_threatsHasBeenSet =
false;
bool ScanResultStatusHasBeenSet() const
bool TotalBytesHasBeenSet() const
AWS_GUARDDUTY_API GetMalwareScanResultDetails()=default
GetMalwareScanResultDetails & WithTotalBytes(long long value)
GetMalwareScanResultDetails & WithSkippedFileCount(long long value)
ScanResultStatus GetScanResultStatus() const
long long GetTotalFileCount() const
void SetFailedFileCount(long long value)
bool TotalFileCountHasBeenSet() const
void SetThreats(ThreatsT &&value)
bool ThreatsHasBeenSet() const
GetMalwareScanResultDetails & WithTotalFileCount(long long value)
long long GetFailedFileCount() const
bool ThreatFoundFileCountHasBeenSet() const
AWS_GUARDDUTY_API GetMalwareScanResultDetails(Aws::Utils::Json::JsonView jsonValue)
bool UniqueThreatCountHasBeenSet() const
void SetTotalBytes(long long value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool SkippedFileCountHasBeenSet() const
bool FailedFileCountHasBeenSet() const
GetMalwareScanResultDetails & WithFailedFileCount(long long value)
long long GetSkippedFileCount() const
void SetUniqueThreatCount(long long value)
GetMalwareScanResultDetails & WithThreats(ThreatsT &&value)
GetMalwareScanResultDetails & WithUniqueThreatCount(long long value)
void SetScanResultStatus(ScanResultStatus value)
void SetThreatFoundFileCount(long long value)
const Aws::Vector< ScanResultThreat > & GetThreats() const
GetMalwareScanResultDetails & WithScanResultStatus(ScanResultStatus value)
void SetTotalFileCount(long long value)
GetMalwareScanResultDetails & WithThreatFoundFileCount(long long value)
GetMalwareScanResultDetails & AddThreats(ThreatsT &&value)
AWS_GUARDDUTY_API GetMalwareScanResultDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetThreatFoundFileCount() const
long long GetTotalBytes() const
long long GetUniqueThreatCount() const
void SetSkippedFileCount(long long value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue