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 inline void SetAction(
const Action& value) { m_actionHasBeenSet =
true; m_action = value; }
55 inline void SetAction(
Action&& value) { m_actionHasBeenSet =
true; m_action = std::move(value); }
67 inline void SetEvidence(
Evidence&& value) { m_evidenceHasBeenSet =
true; m_evidence = std::move(value); }
78 inline void SetArchived(
bool value) { m_archivedHasBeenSet =
true; m_archived = value; }
88 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
100 inline void SetDetectorId(
const char* value) { m_detectorIdHasBeenSet =
true; m_detectorId.assign(value); }
115 inline void SetEventFirstSeen(
const char* value) { m_eventFirstSeenHasBeenSet =
true; m_eventFirstSeen.assign(value); }
130 inline void SetEventLastSeen(
const char* value) { m_eventLastSeenHasBeenSet =
true; m_eventLastSeen.assign(value); }
144 inline void SetResourceRole(
const char* value) { m_resourceRoleHasBeenSet =
true; m_resourceRole.assign(value); }
159 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
173 inline void SetUserFeedback(
const char* value) { m_userFeedbackHasBeenSet =
true; m_userFeedback.assign(value); }
199 inline void SetFeatureName(
const char* value) { m_featureNameHasBeenSet =
true; m_featureName.assign(value); }
256 bool m_actionHasBeenSet =
false;
259 bool m_evidenceHasBeenSet =
false;
262 bool m_archivedHasBeenSet =
false;
265 bool m_countHasBeenSet =
false;
268 bool m_detectorIdHasBeenSet =
false;
271 bool m_eventFirstSeenHasBeenSet =
false;
274 bool m_eventLastSeenHasBeenSet =
false;
277 bool m_resourceRoleHasBeenSet =
false;
280 bool m_serviceNameHasBeenSet =
false;
283 bool m_userFeedbackHasBeenSet =
false;
286 bool m_additionalInfoHasBeenSet =
false;
289 bool m_featureNameHasBeenSet =
false;
292 bool m_ebsVolumeScanDetailsHasBeenSet =
false;
295 bool m_runtimeDetailsHasBeenSet =
false;
298 bool m_detectionHasBeenSet =
false;
301 bool m_malwareScanDetailsHasBeenSet =
false;
void SetEbsVolumeScanDetails(EbsVolumeScanDetails &&value)
bool ServiceNameHasBeenSet() const
Service & WithDetection(Detection &&value)
const Detection & GetDetection() const
Service & WithResourceRole(Aws::String &&value)
void SetDetectorId(Aws::String &&value)
void SetDetectorId(const char *value)
void SetUserFeedback(Aws::String &&value)
bool EventFirstSeenHasBeenSet() const
void SetEventLastSeen(const Aws::String &value)
AWS_GUARDDUTY_API Service(Aws::Utils::Json::JsonView jsonValue)
Service & WithUserFeedback(const char *value)
bool DetectorIdHasBeenSet() const
bool ArchivedHasBeenSet() const
bool DetectionHasBeenSet() const
AWS_GUARDDUTY_API Service & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDetection(const Detection &value)
Service & WithArchived(bool value)
bool RuntimeDetailsHasBeenSet() const
Service & WithEventFirstSeen(Aws::String &&value)
void SetRuntimeDetails(const RuntimeDetails &value)
bool EventLastSeenHasBeenSet() const
void SetEbsVolumeScanDetails(const EbsVolumeScanDetails &value)
void SetEventFirstSeen(const char *value)
void SetResourceRole(const char *value)
void SetArchived(bool value)
Service & WithEvidence(const Evidence &value)
void SetFeatureName(Aws::String &&value)
Service & WithUserFeedback(const Aws::String &value)
Service & WithServiceName(Aws::String &&value)
const Aws::String & GetEventLastSeen() const
Service & WithAdditionalInfo(const ServiceAdditionalInfo &value)
Service & WithRuntimeDetails(RuntimeDetails &&value)
const Action & GetAction() const
Service & WithResourceRole(const Aws::String &value)
bool FeatureNameHasBeenSet() const
void SetFeatureName(const char *value)
const MalwareScanDetails & GetMalwareScanDetails() const
void SetEventFirstSeen(Aws::String &&value)
AWS_GUARDDUTY_API Service()
Service & WithEventLastSeen(const Aws::String &value)
bool EbsVolumeScanDetailsHasBeenSet() const
void SetDetection(Detection &&value)
Service & WithRuntimeDetails(const RuntimeDetails &value)
Service & WithResourceRole(const char *value)
Service & WithAction(Action &&value)
Service & WithEbsVolumeScanDetails(EbsVolumeScanDetails &&value)
bool MalwareScanDetailsHasBeenSet() const
Service & WithDetectorId(const Aws::String &value)
Service & WithAction(const Action &value)
const Aws::String & GetUserFeedback() const
const EbsVolumeScanDetails & GetEbsVolumeScanDetails() const
void SetMalwareScanDetails(const MalwareScanDetails &value)
const Aws::String & GetEventFirstSeen() const
void SetEventLastSeen(Aws::String &&value)
void SetEvidence(const Evidence &value)
Service & WithDetectorId(Aws::String &&value)
bool ActionHasBeenSet() const
Service & WithServiceName(const Aws::String &value)
Service & WithAdditionalInfo(ServiceAdditionalInfo &&value)
Service & WithEventLastSeen(Aws::String &&value)
void SetUserFeedback(const Aws::String &value)
const ServiceAdditionalInfo & GetAdditionalInfo() const
void SetAdditionalInfo(ServiceAdditionalInfo &&value)
Service & WithEventFirstSeen(const Aws::String &value)
void SetResourceRole(const Aws::String &value)
void SetEvidence(Evidence &&value)
Service & WithMalwareScanDetails(MalwareScanDetails &&value)
Service & WithFeatureName(Aws::String &&value)
const Aws::String & GetServiceName() const
void SetUserFeedback(const char *value)
void SetAction(Action &&value)
const Evidence & GetEvidence() const
void SetServiceName(const char *value)
bool EvidenceHasBeenSet() const
const RuntimeDetails & GetRuntimeDetails() const
Service & WithUserFeedback(Aws::String &&value)
Service & WithDetectorId(const char *value)
void SetAdditionalInfo(const ServiceAdditionalInfo &value)
Service & WithServiceName(const char *value)
const Aws::String & GetDetectorId() const
Service & WithMalwareScanDetails(const MalwareScanDetails &value)
void SetFeatureName(const Aws::String &value)
Service & WithEvidence(Evidence &&value)
Service & WithDetection(const Detection &value)
bool ResourceRoleHasBeenSet() const
Service & WithFeatureName(const char *value)
Service & WithFeatureName(const Aws::String &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEventFirstSeen(const Aws::String &value)
Service & WithEventLastSeen(const char *value)
void SetRuntimeDetails(RuntimeDetails &&value)
void SetDetectorId(const Aws::String &value)
void SetMalwareScanDetails(MalwareScanDetails &&value)
void SetResourceRole(Aws::String &&value)
void SetServiceName(const Aws::String &value)
bool UserFeedbackHasBeenSet() const
Service & WithEbsVolumeScanDetails(const EbsVolumeScanDetails &value)
void SetServiceName(Aws::String &&value)
const Aws::String & GetResourceRole() const
bool AdditionalInfoHasBeenSet() const
Service & WithEventFirstSeen(const char *value)
void SetAction(const Action &value)
bool CountHasBeenSet() const
const Aws::String & GetFeatureName() const
Service & WithCount(int value)
void SetEventLastSeen(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue