7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/MalwareProtectionResourceType.h>
11#include <aws/guardduty/model/MalwareProtectionScanStatus.h>
12#include <aws/guardduty/model/MalwareProtectionScanType.h>
13#include <aws/guardduty/model/ScanResultStatus.h>
46 template <
typename ResourceArnT = Aws::String>
48 m_resourceArnHasBeenSet =
true;
49 m_resourceArn = std::forward<ResourceArnT>(value);
51 template <
typename ResourceArnT = Aws::String>
65 m_resourceTypeHasBeenSet =
true;
66 m_resourceType = value;
82 template <
typename ScanIdT = Aws::String>
84 m_scanIdHasBeenSet =
true;
85 m_scanId = std::forward<ScanIdT>(value);
87 template <
typename ScanIdT = Aws::String>
101 m_scanStatusHasBeenSet =
true;
102 m_scanStatus = value;
117 m_scanResultStatusHasBeenSet =
true;
118 m_scanResultStatus = value;
133 m_scanTypeHasBeenSet =
true;
148 template <
typename ScanStartedAtT = Aws::Utils::DateTime>
150 m_scanStartedAtHasBeenSet =
true;
151 m_scanStartedAt = std::forward<ScanStartedAtT>(value);
153 template <
typename ScanStartedAtT = Aws::Utils::DateTime>
166 template <
typename ScanCompletedAtT = Aws::Utils::DateTime>
168 m_scanCompletedAtHasBeenSet =
true;
169 m_scanCompletedAt = std::forward<ScanCompletedAtT>(value);
171 template <
typename ScanCompletedAtT = Aws::Utils::DateTime>
193 bool m_resourceArnHasBeenSet =
false;
194 bool m_resourceTypeHasBeenSet =
false;
195 bool m_scanIdHasBeenSet =
false;
196 bool m_scanStatusHasBeenSet =
false;
197 bool m_scanResultStatusHasBeenSet =
false;
198 bool m_scanTypeHasBeenSet =
false;
199 bool m_scanStartedAtHasBeenSet =
false;
200 bool m_scanCompletedAtHasBeenSet =
false;
MalwareProtectionScanStatus GetScanStatus() const
bool ScanStatusHasBeenSet() const
bool ScanTypeHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
MalwareProtectionScanType GetScanType() const
void SetScanStartedAt(ScanStartedAtT &&value)
bool ResourceTypeHasBeenSet() const
bool ScanResultStatusHasBeenSet() const
const Aws::String & GetResourceArn() const
AWS_GUARDDUTY_API MalwareScan(Aws::Utils::Json::JsonView jsonValue)
MalwareScan & WithScanId(ScanIdT &&value)
MalwareScan & WithScanResultStatus(ScanResultStatus value)
void SetScanType(MalwareProtectionScanType value)
void SetScanId(ScanIdT &&value)
AWS_GUARDDUTY_API MalwareScan()=default
MalwareScan & WithScanStatus(MalwareProtectionScanStatus value)
const Aws::String & GetScanId() const
MalwareScan & WithResourceArn(ResourceArnT &&value)
MalwareScan & WithScanStartedAt(ScanStartedAtT &&value)
bool ScanCompletedAtHasBeenSet() const
bool ResourceArnHasBeenSet() const
void SetResourceType(MalwareProtectionResourceType value)
bool ScanIdHasBeenSet() const
void SetScanResultStatus(ScanResultStatus value)
MalwareScan & WithScanCompletedAt(ScanCompletedAtT &&value)
bool ScanStartedAtHasBeenSet() const
MalwareScan & WithResourceType(MalwareProtectionResourceType value)
AWS_GUARDDUTY_API MalwareScan & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceArn(ResourceArnT &&value)
const Aws::Utils::DateTime & GetScanStartedAt() const
void SetScanCompletedAt(ScanCompletedAtT &&value)
MalwareScan & WithScanType(MalwareProtectionScanType value)
void SetScanStatus(MalwareProtectionScanStatus value)
MalwareProtectionResourceType GetResourceType() const
ScanResultStatus GetScanResultStatus() const
const Aws::Utils::DateTime & GetScanCompletedAt() const
MalwareProtectionScanStatus
MalwareProtectionResourceType
MalwareProtectionScanType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue