7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/ScanStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/guardduty/model/TriggerDetails.h>
12#include <aws/guardduty/model/ResourceDetails.h>
13#include <aws/guardduty/model/ScanResultDetails.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/guardduty/model/ScanType.h>
16#include <aws/guardduty/model/VolumeDetail.h>
56 inline void SetDetectorId(
const char* value) { m_detectorIdHasBeenSet =
true; m_detectorId.assign(value); }
73 inline void SetAdminDetectorId(
const char* value) { m_adminDetectorIdHasBeenSet =
true; m_adminDetectorId.assign(value); }
87 inline void SetScanId(
const char* value) { m_scanIdHasBeenSet =
true; m_scanId.assign(value); }
113 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
187 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
199 inline void SetTotalBytes(
long long value) { m_totalBytesHasBeenSet =
true; m_totalBytes = value; }
209 inline void SetFileCount(
long long value) { m_fileCountHasBeenSet =
true; m_fileCount = value; }
242 bool m_detectorIdHasBeenSet =
false;
245 bool m_adminDetectorIdHasBeenSet =
false;
248 bool m_scanIdHasBeenSet =
false;
251 bool m_scanStatusHasBeenSet =
false;
254 bool m_failureReasonHasBeenSet =
false;
257 bool m_scanStartTimeHasBeenSet =
false;
260 bool m_scanEndTimeHasBeenSet =
false;
263 bool m_triggerDetailsHasBeenSet =
false;
266 bool m_resourceDetailsHasBeenSet =
false;
269 bool m_scanResultDetailsHasBeenSet =
false;
272 bool m_accountIdHasBeenSet =
false;
274 long long m_totalBytes;
275 bool m_totalBytesHasBeenSet =
false;
277 long long m_fileCount;
278 bool m_fileCountHasBeenSet =
false;
281 bool m_attachedVolumesHasBeenSet =
false;
284 bool m_scanTypeHasBeenSet =
false;
Scan & WithAccountId(const Aws::String &value)
bool DetectorIdHasBeenSet() const
Scan & WithAdminDetectorId(const Aws::String &value)
Scan & WithDetectorId(const Aws::String &value)
void SetAccountId(const Aws::String &value)
Scan & WithAttachedVolumes(const Aws::Vector< VolumeDetail > &value)
bool ScanResultDetailsHasBeenSet() const
bool TriggerDetailsHasBeenSet() const
Scan & WithAdminDetectorId(const char *value)
Scan & WithScanEndTime(const Aws::Utils::DateTime &value)
Scan & AddAttachedVolumes(VolumeDetail &&value)
void SetAdminDetectorId(const Aws::String &value)
Scan & WithScanResultDetails(const ScanResultDetails &value)
const Aws::Vector< VolumeDetail > & GetAttachedVolumes() const
Scan & WithDetectorId(const char *value)
void SetTriggerDetails(const TriggerDetails &value)
void SetResourceDetails(ResourceDetails &&value)
Scan & WithScanEndTime(Aws::Utils::DateTime &&value)
void SetScanId(const Aws::String &value)
Scan & WithScanId(const char *value)
void SetFailureReason(const char *value)
bool AdminDetectorIdHasBeenSet() const
Scan & WithScanType(ScanType &&value)
Scan & WithDetectorId(Aws::String &&value)
void SetScanStatus(const ScanStatus &value)
void SetScanStartTime(Aws::Utils::DateTime &&value)
bool ScanEndTimeHasBeenSet() const
Scan & WithScanType(const ScanType &value)
bool ResourceDetailsHasBeenSet() const
Scan & AddAttachedVolumes(const VolumeDetail &value)
Scan & WithAttachedVolumes(Aws::Vector< VolumeDetail > &&value)
const Aws::String & GetDetectorId() const
Scan & WithScanId(Aws::String &&value)
void SetScanResultDetails(const ScanResultDetails &value)
void SetDetectorId(const Aws::String &value)
void SetResourceDetails(const ResourceDetails &value)
Scan & WithTriggerDetails(TriggerDetails &&value)
AWS_GUARDDUTY_API Scan & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDetectorId(Aws::String &&value)
bool ScanStartTimeHasBeenSet() const
const Aws::Utils::DateTime & GetScanEndTime() const
void SetTotalBytes(long long value)
bool FileCountHasBeenSet() const
long long GetFileCount() const
bool AccountIdHasBeenSet() const
const Aws::String & GetScanId() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
Scan & WithTriggerDetails(const TriggerDetails &value)
Scan & WithAccountId(Aws::String &&value)
bool ScanIdHasBeenSet() const
bool ScanStatusHasBeenSet() const
void SetFileCount(long long value)
void SetScanId(Aws::String &&value)
long long GetTotalBytes() const
Scan & WithScanResultDetails(ScanResultDetails &&value)
void SetScanStartTime(const Aws::Utils::DateTime &value)
bool TotalBytesHasBeenSet() const
const Aws::Utils::DateTime & GetScanStartTime() const
const Aws::String & GetFailureReason() const
bool FailureReasonHasBeenSet() const
void SetAdminDetectorId(Aws::String &&value)
const ScanResultDetails & GetScanResultDetails() const
Scan & WithFailureReason(const Aws::String &value)
Scan & WithTotalBytes(long long value)
const ScanType & GetScanType() const
Scan & WithResourceDetails(ResourceDetails &&value)
void SetFailureReason(const Aws::String &value)
void SetFailureReason(Aws::String &&value)
Scan & WithFailureReason(Aws::String &&value)
Scan & WithAccountId(const char *value)
Scan & WithScanStartTime(Aws::Utils::DateTime &&value)
Scan & WithScanStartTime(const Aws::Utils::DateTime &value)
void SetAccountId(Aws::String &&value)
void SetScanType(const ScanType &value)
Scan & WithScanStatus(ScanStatus &&value)
Scan & WithAdminDetectorId(Aws::String &&value)
const TriggerDetails & GetTriggerDetails() const
void SetAccountId(const char *value)
Scan & WithFailureReason(const char *value)
void SetAttachedVolumes(const Aws::Vector< VolumeDetail > &value)
Scan & WithFileCount(long long value)
void SetScanType(ScanType &&value)
void SetTriggerDetails(TriggerDetails &&value)
bool AttachedVolumesHasBeenSet() const
const ResourceDetails & GetResourceDetails() const
bool ScanTypeHasBeenSet() const
Scan & WithScanStatus(const ScanStatus &value)
Scan & WithScanId(const Aws::String &value)
void SetAdminDetectorId(const char *value)
const Aws::String & GetAccountId() const
void SetScanEndTime(const Aws::Utils::DateTime &value)
Scan & WithResourceDetails(const ResourceDetails &value)
const Aws::String & GetAdminDetectorId() const
void SetScanStatus(ScanStatus &&value)
void SetAttachedVolumes(Aws::Vector< VolumeDetail > &&value)
void SetScanResultDetails(ScanResultDetails &&value)
void SetScanEndTime(Aws::Utils::DateTime &&value)
const ScanStatus & GetScanStatus() const
AWS_GUARDDUTY_API Scan(Aws::Utils::Json::JsonView jsonValue)
void SetDetectorId(const char *value)
void SetScanId(const char *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