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/ResourceDetails.h>
12#include <aws/guardduty/model/ScanResultDetails.h>
13#include <aws/guardduty/model/ScanStatus.h>
14#include <aws/guardduty/model/ScanType.h>
15#include <aws/guardduty/model/TriggerDetails.h>
16#include <aws/guardduty/model/VolumeDetail.h>
38 AWS_GUARDDUTY_API
Scan() =
default;
53 template <
typename DetectorIdT = Aws::String>
55 m_detectorIdHasBeenSet =
true;
56 m_detectorId = std::forward<DetectorIdT>(value);
58 template <
typename DetectorIdT = Aws::String>
77 template <
typename AdminDetectorIdT = Aws::String>
79 m_adminDetectorIdHasBeenSet =
true;
80 m_adminDetectorId = std::forward<AdminDetectorIdT>(value);
82 template <
typename AdminDetectorIdT = Aws::String>
95 template <
typename ScanIdT = Aws::String>
97 m_scanIdHasBeenSet =
true;
98 m_scanId = std::forward<ScanIdT>(value);
100 template <
typename ScanIdT = Aws::String>
114 m_scanStatusHasBeenSet =
true;
115 m_scanStatus = value;
129 template <
typename FailureReasonT = Aws::String>
131 m_failureReasonHasBeenSet =
true;
132 m_failureReason = std::forward<FailureReasonT>(value);
134 template <
typename FailureReasonT = Aws::String>
147 template <
typename ScanStartTimeT = Aws::Utils::DateTime>
149 m_scanStartTimeHasBeenSet =
true;
150 m_scanStartTime = std::forward<ScanStartTimeT>(value);
152 template <
typename ScanStartTimeT = Aws::Utils::DateTime>
165 template <
typename ScanEndTimeT = Aws::Utils::DateTime>
167 m_scanEndTimeHasBeenSet =
true;
168 m_scanEndTime = std::forward<ScanEndTimeT>(value);
170 template <
typename ScanEndTimeT = Aws::Utils::DateTime>
183 template <
typename TriggerDetailsT = TriggerDetails>
185 m_triggerDetailsHasBeenSet =
true;
186 m_triggerDetails = std::forward<TriggerDetailsT>(value);
188 template <
typename TriggerDetailsT = TriggerDetails>
201 template <
typename ResourceDetailsT = ResourceDetails>
203 m_resourceDetailsHasBeenSet =
true;
204 m_resourceDetails = std::forward<ResourceDetailsT>(value);
206 template <
typename ResourceDetailsT = ResourceDetails>
219 template <
typename ScanResultDetailsT = ScanResultDetails>
221 m_scanResultDetailsHasBeenSet =
true;
222 m_scanResultDetails = std::forward<ScanResultDetailsT>(value);
224 template <
typename ScanResultDetailsT = ScanResultDetails>
237 template <
typename AccountIdT = Aws::String>
239 m_accountIdHasBeenSet =
true;
240 m_accountId = std::forward<AccountIdT>(value);
242 template <
typename AccountIdT = Aws::String>
256 m_totalBytesHasBeenSet =
true;
257 m_totalBytes = value;
272 m_fileCountHasBeenSet =
true;
288 template <
typename AttachedVolumesT = Aws::Vector<VolumeDetail>>
290 m_attachedVolumesHasBeenSet =
true;
291 m_attachedVolumes = std::forward<AttachedVolumesT>(value);
293 template <
typename AttachedVolumesT = Aws::Vector<VolumeDetail>>
298 template <
typename AttachedVolumesT = VolumeDetail>
300 m_attachedVolumesHasBeenSet =
true;
301 m_attachedVolumes.emplace_back(std::forward<AttachedVolumesT>(value));
313 m_scanTypeHasBeenSet =
true;
336 TriggerDetails m_triggerDetails;
338 ResourceDetails m_resourceDetails;
340 ScanResultDetails m_scanResultDetails;
344 long long m_totalBytes{0};
346 long long m_fileCount{0};
351 bool m_detectorIdHasBeenSet =
false;
352 bool m_adminDetectorIdHasBeenSet =
false;
353 bool m_scanIdHasBeenSet =
false;
354 bool m_scanStatusHasBeenSet =
false;
355 bool m_failureReasonHasBeenSet =
false;
356 bool m_scanStartTimeHasBeenSet =
false;
357 bool m_scanEndTimeHasBeenSet =
false;
358 bool m_triggerDetailsHasBeenSet =
false;
359 bool m_resourceDetailsHasBeenSet =
false;
360 bool m_scanResultDetailsHasBeenSet =
false;
361 bool m_accountIdHasBeenSet =
false;
362 bool m_totalBytesHasBeenSet =
false;
363 bool m_fileCountHasBeenSet =
false;
364 bool m_attachedVolumesHasBeenSet =
false;
365 bool m_scanTypeHasBeenSet =
false;
bool DetectorIdHasBeenSet() const
bool ScanResultDetailsHasBeenSet() const
bool TriggerDetailsHasBeenSet() const
Scan & WithScanEndTime(ScanEndTimeT &&value)
const Aws::Vector< VolumeDetail > & GetAttachedVolumes() const
Scan & WithFailureReason(FailureReasonT &&value)
void SetFailureReason(FailureReasonT &&value)
bool AdminDetectorIdHasBeenSet() const
Scan & WithScanType(ScanType value)
bool ScanEndTimeHasBeenSet() const
bool ResourceDetailsHasBeenSet() const
Scan & AddAttachedVolumes(AttachedVolumesT &&value)
void SetScanStatus(ScanStatus value)
const Aws::String & GetDetectorId() const
void SetResourceDetails(ResourceDetailsT &&value)
void SetScanId(ScanIdT &&value)
ScanStatus GetScanStatus() const
AWS_GUARDDUTY_API Scan & operator=(Aws::Utils::Json::JsonView jsonValue)
Scan & WithScanStatus(ScanStatus value)
bool ScanStartTimeHasBeenSet() const
const Aws::Utils::DateTime & GetScanEndTime() const
Scan & WithResourceDetails(ResourceDetailsT &&value)
void SetTotalBytes(long long value)
bool FileCountHasBeenSet() const
long long GetFileCount() const
bool AccountIdHasBeenSet() const
const Aws::String & GetScanId() const
Scan & WithAccountId(AccountIdT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetScanType(ScanType value)
bool ScanIdHasBeenSet() const
bool ScanStatusHasBeenSet() const
void SetFileCount(long long value)
long long GetTotalBytes() const
void SetAttachedVolumes(AttachedVolumesT &&value)
ScanType GetScanType() const
Scan & WithAttachedVolumes(AttachedVolumesT &&value)
bool TotalBytesHasBeenSet() const
const Aws::Utils::DateTime & GetScanStartTime() const
const Aws::String & GetFailureReason() const
bool FailureReasonHasBeenSet() const
AWS_GUARDDUTY_API Scan()=default
const ScanResultDetails & GetScanResultDetails() const
void SetScanEndTime(ScanEndTimeT &&value)
Scan & WithTotalBytes(long long value)
Scan & WithAdminDetectorId(AdminDetectorIdT &&value)
Scan & WithScanId(ScanIdT &&value)
Scan & WithTriggerDetails(TriggerDetailsT &&value)
const TriggerDetails & GetTriggerDetails() const
Scan & WithFileCount(long long value)
Scan & WithScanStartTime(ScanStartTimeT &&value)
void SetDetectorId(DetectorIdT &&value)
bool AttachedVolumesHasBeenSet() const
void SetTriggerDetails(TriggerDetailsT &&value)
const ResourceDetails & GetResourceDetails() const
void SetAccountId(AccountIdT &&value)
bool ScanTypeHasBeenSet() const
void SetScanResultDetails(ScanResultDetailsT &&value)
void SetScanStartTime(ScanStartTimeT &&value)
const Aws::String & GetAccountId() const
const Aws::String & GetAdminDetectorId() const
Scan & WithScanResultDetails(ScanResultDetailsT &&value)
void SetAdminDetectorId(AdminDetectorIdT &&value)
AWS_GUARDDUTY_API Scan(Aws::Utils::Json::JsonView jsonValue)
Scan & WithDetectorId(DetectorIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue