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/ScanDetections.h>
12#include <aws/guardduty/model/ScanType.h>
45 template <
typename ScanIdT = Aws::String>
47 m_scanIdHasBeenSet =
true;
48 m_scanId = std::forward<ScanIdT>(value);
50 template <
typename ScanIdT = Aws::String>
63 template <
typename ScanStartedAtT = Aws::Utils::DateTime>
65 m_scanStartedAtHasBeenSet =
true;
66 m_scanStartedAt = std::forward<ScanStartedAtT>(value);
68 template <
typename ScanStartedAtT = Aws::Utils::DateTime>
81 template <
typename ScanCompletedAtT = Aws::Utils::DateTime>
83 m_scanCompletedAtHasBeenSet =
true;
84 m_scanCompletedAt = std::forward<ScanCompletedAtT>(value);
86 template <
typename ScanCompletedAtT = Aws::Utils::DateTime>
99 template <
typename TriggerFindingIdT = Aws::String>
101 m_triggerFindingIdHasBeenSet =
true;
102 m_triggerFindingId = std::forward<TriggerFindingIdT>(value);
104 template <
typename TriggerFindingIdT = Aws::String>
117 template <
typename SourcesT = Aws::Vector<Aws::String>>
119 m_sourcesHasBeenSet =
true;
120 m_sources = std::forward<SourcesT>(value);
122 template <
typename SourcesT = Aws::Vector<Aws::String>>
127 template <
typename SourcesT = Aws::String>
129 m_sourcesHasBeenSet =
true;
130 m_sources.emplace_back(std::forward<SourcesT>(value));
141 template <
typename ScanDetectionsT = ScanDetections>
143 m_scanDetectionsHasBeenSet =
true;
144 m_scanDetections = std::forward<ScanDetectionsT>(value);
146 template <
typename ScanDetectionsT = ScanDetections>
160 m_scanTypeHasBeenSet =
true;
179 ScanDetections m_scanDetections;
182 bool m_scanIdHasBeenSet =
false;
183 bool m_scanStartedAtHasBeenSet =
false;
184 bool m_scanCompletedAtHasBeenSet =
false;
185 bool m_triggerFindingIdHasBeenSet =
false;
186 bool m_sourcesHasBeenSet =
false;
187 bool m_scanDetectionsHasBeenSet =
false;
188 bool m_scanTypeHasBeenSet =
false;
AWS_GUARDDUTY_API EbsVolumeScanDetails()=default
bool ScanStartedAtHasBeenSet() const
void SetTriggerFindingId(TriggerFindingIdT &&value)
EbsVolumeScanDetails & WithSources(SourcesT &&value)
bool ScanDetectionsHasBeenSet() const
const ScanDetections & GetScanDetections() const
const Aws::Utils::DateTime & GetScanStartedAt() const
bool ScanTypeHasBeenSet() const
EbsVolumeScanDetails & WithTriggerFindingId(TriggerFindingIdT &&value)
const Aws::String & GetTriggerFindingId() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
ScanType GetScanType() const
bool ScanIdHasBeenSet() const
bool SourcesHasBeenSet() const
const Aws::String & GetScanId() const
void SetScanDetections(ScanDetectionsT &&value)
void SetScanId(ScanIdT &&value)
EbsVolumeScanDetails & WithScanType(ScanType value)
bool TriggerFindingIdHasBeenSet() const
void SetScanCompletedAt(ScanCompletedAtT &&value)
const Aws::Vector< Aws::String > & GetSources() const
void SetScanType(ScanType value)
EbsVolumeScanDetails & WithScanId(ScanIdT &&value)
AWS_GUARDDUTY_API EbsVolumeScanDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
EbsVolumeScanDetails & WithScanCompletedAt(ScanCompletedAtT &&value)
void SetSources(SourcesT &&value)
const Aws::Utils::DateTime & GetScanCompletedAt() const
AWS_GUARDDUTY_API EbsVolumeScanDetails(Aws::Utils::Json::JsonView jsonValue)
EbsVolumeScanDetails & WithScanDetections(ScanDetectionsT &&value)
void SetScanStartedAt(ScanStartedAtT &&value)
EbsVolumeScanDetails & WithScanStartedAt(ScanStartedAtT &&value)
EbsVolumeScanDetails & AddSources(SourcesT &&value)
bool ScanCompletedAtHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue