7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/Action.h>
9#include <aws/guardduty/model/Evidence.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/guardduty/model/ServiceAdditionalInfo.h>
12#include <aws/guardduty/model/EbsVolumeScanDetails.h>
13#include <aws/guardduty/model/RuntimeDetails.h>
14#include <aws/guardduty/model/Detection.h>
15#include <aws/guardduty/model/MalwareScanDetails.h>
54 template<
typename ActionT = Action>
55 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
56 template<
typename ActionT = Action>
66 template<
typename Ev
idenceT = Ev
idence>
67 void SetEvidence(EvidenceT&& value) { m_evidenceHasBeenSet =
true; m_evidence = std::forward<EvidenceT>(value); }
68 template<
typename Ev
idenceT = Ev
idence>
78 inline void SetArchived(
bool value) { m_archivedHasBeenSet =
true; m_archived = value; }
86 inline int GetCount()
const {
return m_count; }
88 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
98 template<
typename DetectorIdT = Aws::String>
99 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet =
true; m_detectorId = std::forward<DetectorIdT>(value); }
100 template<
typename DetectorIdT = Aws::String>
111 template<
typename EventFirstSeenT = Aws::String>
112 void SetEventFirstSeen(EventFirstSeenT&& value) { m_eventFirstSeenHasBeenSet =
true; m_eventFirstSeen = std::forward<EventFirstSeenT>(value); }
113 template<
typename EventFirstSeenT = Aws::String>
124 template<
typename EventLastSeenT = Aws::String>
125 void SetEventLastSeen(EventLastSeenT&& value) { m_eventLastSeenHasBeenSet =
true; m_eventLastSeen = std::forward<EventLastSeenT>(value); }
126 template<
typename EventLastSeenT = Aws::String>
136 template<
typename ResourceRoleT = Aws::String>
137 void SetResourceRole(ResourceRoleT&& value) { m_resourceRoleHasBeenSet =
true; m_resourceRole = std::forward<ResourceRoleT>(value); }
138 template<
typename ResourceRoleT = Aws::String>
149 template<
typename ServiceNameT = Aws::String>
150 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
151 template<
typename ServiceNameT = Aws::String>
161 template<
typename UserFeedbackT = Aws::String>
162 void SetUserFeedback(UserFeedbackT&& value) { m_userFeedbackHasBeenSet =
true; m_userFeedback = std::forward<UserFeedbackT>(value); }
163 template<
typename UserFeedbackT = Aws::String>
173 template<
typename AdditionalInfoT = ServiceAdditionalInfo>
174 void SetAdditionalInfo(AdditionalInfoT&& value) { m_additionalInfoHasBeenSet =
true; m_additionalInfo = std::forward<AdditionalInfoT>(value); }
175 template<
typename AdditionalInfoT = ServiceAdditionalInfo>
185 template<
typename FeatureNameT = Aws::String>
186 void SetFeatureName(FeatureNameT&& value) { m_featureNameHasBeenSet =
true; m_featureName = std::forward<FeatureNameT>(value); }
187 template<
typename FeatureNameT = Aws::String>
197 template<
typename EbsVolumeScanDetailsT = EbsVolumeScanDetails>
198 void SetEbsVolumeScanDetails(EbsVolumeScanDetailsT&& value) { m_ebsVolumeScanDetailsHasBeenSet =
true; m_ebsVolumeScanDetails = std::forward<EbsVolumeScanDetailsT>(value); }
199 template<
typename EbsVolumeScanDetailsT = EbsVolumeScanDetails>
210 template<
typename RuntimeDetailsT = RuntimeDetails>
211 void SetRuntimeDetails(RuntimeDetailsT&& value) { m_runtimeDetailsHasBeenSet =
true; m_runtimeDetails = std::forward<RuntimeDetailsT>(value); }
212 template<
typename RuntimeDetailsT = RuntimeDetails>
222 template<
typename DetectionT = Detection>
223 void SetDetection(DetectionT&& value) { m_detectionHasBeenSet =
true; m_detection = std::forward<DetectionT>(value); }
224 template<
typename DetectionT = Detection>
234 template<
typename MalwareScanDetailsT = MalwareScanDetails>
235 void SetMalwareScanDetails(MalwareScanDetailsT&& value) { m_malwareScanDetailsHasBeenSet =
true; m_malwareScanDetails = std::forward<MalwareScanDetailsT>(value); }
236 template<
typename MalwareScanDetailsT = MalwareScanDetails>
242 bool m_actionHasBeenSet =
false;
245 bool m_evidenceHasBeenSet =
false;
247 bool m_archived{
false};
248 bool m_archivedHasBeenSet =
false;
251 bool m_countHasBeenSet =
false;
254 bool m_detectorIdHasBeenSet =
false;
257 bool m_eventFirstSeenHasBeenSet =
false;
260 bool m_eventLastSeenHasBeenSet =
false;
263 bool m_resourceRoleHasBeenSet =
false;
266 bool m_serviceNameHasBeenSet =
false;
269 bool m_userFeedbackHasBeenSet =
false;
271 ServiceAdditionalInfo m_additionalInfo;
272 bool m_additionalInfoHasBeenSet =
false;
275 bool m_featureNameHasBeenSet =
false;
277 EbsVolumeScanDetails m_ebsVolumeScanDetails;
278 bool m_ebsVolumeScanDetailsHasBeenSet =
false;
280 RuntimeDetails m_runtimeDetails;
281 bool m_runtimeDetailsHasBeenSet =
false;
283 Detection m_detection;
284 bool m_detectionHasBeenSet =
false;
286 MalwareScanDetails m_malwareScanDetails;
287 bool m_malwareScanDetailsHasBeenSet =
false;
Service & WithDetectorId(DetectorIdT &&value)
bool ServiceNameHasBeenSet() const
const Detection & GetDetection() const
bool EventFirstSeenHasBeenSet() const
AWS_GUARDDUTY_API Service(Aws::Utils::Json::JsonView jsonValue)
void SetAdditionalInfo(AdditionalInfoT &&value)
void SetResourceRole(ResourceRoleT &&value)
bool DetectorIdHasBeenSet() const
bool ArchivedHasBeenSet() const
bool DetectionHasBeenSet() const
void SetUserFeedback(UserFeedbackT &&value)
void SetEventLastSeen(EventLastSeenT &&value)
AWS_GUARDDUTY_API Service & operator=(Aws::Utils::Json::JsonView jsonValue)
Service & WithMalwareScanDetails(MalwareScanDetailsT &&value)
Service & WithArchived(bool value)
bool RuntimeDetailsHasBeenSet() const
void SetMalwareScanDetails(MalwareScanDetailsT &&value)
bool EventLastSeenHasBeenSet() const
Service & WithResourceRole(ResourceRoleT &&value)
Service & WithEventLastSeen(EventLastSeenT &&value)
void SetArchived(bool value)
void SetRuntimeDetails(RuntimeDetailsT &&value)
const Aws::String & GetEventLastSeen() const
const Action & GetAction() const
Service & WithEventFirstSeen(EventFirstSeenT &&value)
bool FeatureNameHasBeenSet() const
Service & WithFeatureName(FeatureNameT &&value)
const MalwareScanDetails & GetMalwareScanDetails() const
bool EbsVolumeScanDetailsHasBeenSet() const
AWS_GUARDDUTY_API Service()=default
void SetAction(ActionT &&value)
bool MalwareScanDetailsHasBeenSet() const
const Aws::String & GetUserFeedback() const
const EbsVolumeScanDetails & GetEbsVolumeScanDetails() const
const Aws::String & GetEventFirstSeen() const
bool ActionHasBeenSet() const
void SetServiceName(ServiceNameT &&value)
const ServiceAdditionalInfo & GetAdditionalInfo() const
void SetEbsVolumeScanDetails(EbsVolumeScanDetailsT &&value)
Service & WithDetection(DetectionT &&value)
const Aws::String & GetServiceName() const
Service & WithEvidence(EvidenceT &&value)
const Evidence & GetEvidence() const
Service & WithUserFeedback(UserFeedbackT &&value)
Service & WithAdditionalInfo(AdditionalInfoT &&value)
Service & WithRuntimeDetails(RuntimeDetailsT &&value)
bool EvidenceHasBeenSet() const
const RuntimeDetails & GetRuntimeDetails() const
void SetDetectorId(DetectorIdT &&value)
const Aws::String & GetDetectorId() const
void SetEvidence(EvidenceT &&value)
Service & WithServiceName(ServiceNameT &&value)
bool ResourceRoleHasBeenSet() const
void SetDetection(DetectionT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
Service & WithAction(ActionT &&value)
void SetFeatureName(FeatureNameT &&value)
bool UserFeedbackHasBeenSet() const
const Aws::String & GetResourceRole() const
bool AdditionalInfoHasBeenSet() const
Service & WithEbsVolumeScanDetails(EbsVolumeScanDetailsT &&value)
bool CountHasBeenSet() const
const Aws::String & GetFeatureName() const
Service & WithCount(int value)
void SetEventFirstSeen(EventFirstSeenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue