/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains additional information about the generated finding.See
* Also:
AWS
* API Reference
Information about the activity that is described in a finding.
*/ inline const Action& GetAction() const{ return m_action; } /** *Information about the activity that is described in a finding.
*/ inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } /** *Information about the activity that is described in a finding.
*/ inline void SetAction(const Action& value) { m_actionHasBeenSet = true; m_action = value; } /** *Information about the activity that is described in a finding.
*/ inline void SetAction(Action&& value) { m_actionHasBeenSet = true; m_action = std::move(value); } /** *Information about the activity that is described in a finding.
*/ inline Service& WithAction(const Action& value) { SetAction(value); return *this;} /** *Information about the activity that is described in a finding.
*/ inline Service& WithAction(Action&& value) { SetAction(std::move(value)); return *this;} /** *An evidence object associated with the service.
*/ inline const Evidence& GetEvidence() const{ return m_evidence; } /** *An evidence object associated with the service.
*/ inline bool EvidenceHasBeenSet() const { return m_evidenceHasBeenSet; } /** *An evidence object associated with the service.
*/ inline void SetEvidence(const Evidence& value) { m_evidenceHasBeenSet = true; m_evidence = value; } /** *An evidence object associated with the service.
*/ inline void SetEvidence(Evidence&& value) { m_evidenceHasBeenSet = true; m_evidence = std::move(value); } /** *An evidence object associated with the service.
*/ inline Service& WithEvidence(const Evidence& value) { SetEvidence(value); return *this;} /** *An evidence object associated with the service.
*/ inline Service& WithEvidence(Evidence&& value) { SetEvidence(std::move(value)); return *this;} /** *Indicates whether this finding is archived.
*/ inline bool GetArchived() const{ return m_archived; } /** *Indicates whether this finding is archived.
*/ inline bool ArchivedHasBeenSet() const { return m_archivedHasBeenSet; } /** *Indicates whether this finding is archived.
*/ inline void SetArchived(bool value) { m_archivedHasBeenSet = true; m_archived = value; } /** *Indicates whether this finding is archived.
*/ inline Service& WithArchived(bool value) { SetArchived(value); return *this;} /** *The total count of the occurrences of this finding type.
*/ inline int GetCount() const{ return m_count; } /** *The total count of the occurrences of this finding type.
*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *The total count of the occurrences of this finding type.
*/ inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } /** *The total count of the occurrences of this finding type.
*/ inline Service& WithCount(int value) { SetCount(value); return *this;} /** *The detector ID for the GuardDuty service.
*/ inline const Aws::String& GetDetectorId() const{ return m_detectorId; } /** *The detector ID for the GuardDuty service.
*/ inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; } /** *The detector ID for the GuardDuty service.
*/ inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; } /** *The detector ID for the GuardDuty service.
*/ inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); } /** *The detector ID for the GuardDuty service.
*/ inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); } /** *The detector ID for the GuardDuty service.
*/ inline Service& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;} /** *The detector ID for the GuardDuty service.
*/ inline Service& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;} /** *The detector ID for the GuardDuty service.
*/ inline Service& WithDetectorId(const char* value) { SetDetectorId(value); return *this;} /** *The first-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline const Aws::String& GetEventFirstSeen() const{ return m_eventFirstSeen; } /** *The first-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline bool EventFirstSeenHasBeenSet() const { return m_eventFirstSeenHasBeenSet; } /** *The first-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline void SetEventFirstSeen(const Aws::String& value) { m_eventFirstSeenHasBeenSet = true; m_eventFirstSeen = value; } /** *The first-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline void SetEventFirstSeen(Aws::String&& value) { m_eventFirstSeenHasBeenSet = true; m_eventFirstSeen = std::move(value); } /** *The first-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline void SetEventFirstSeen(const char* value) { m_eventFirstSeenHasBeenSet = true; m_eventFirstSeen.assign(value); } /** *The first-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline Service& WithEventFirstSeen(const Aws::String& value) { SetEventFirstSeen(value); return *this;} /** *The first-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline Service& WithEventFirstSeen(Aws::String&& value) { SetEventFirstSeen(std::move(value)); return *this;} /** *The first-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline Service& WithEventFirstSeen(const char* value) { SetEventFirstSeen(value); return *this;} /** *The last-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline const Aws::String& GetEventLastSeen() const{ return m_eventLastSeen; } /** *The last-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline bool EventLastSeenHasBeenSet() const { return m_eventLastSeenHasBeenSet; } /** *The last-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline void SetEventLastSeen(const Aws::String& value) { m_eventLastSeenHasBeenSet = true; m_eventLastSeen = value; } /** *The last-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline void SetEventLastSeen(Aws::String&& value) { m_eventLastSeenHasBeenSet = true; m_eventLastSeen = std::move(value); } /** *The last-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline void SetEventLastSeen(const char* value) { m_eventLastSeenHasBeenSet = true; m_eventLastSeen.assign(value); } /** *The last-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline Service& WithEventLastSeen(const Aws::String& value) { SetEventLastSeen(value); return *this;} /** *The last-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline Service& WithEventLastSeen(Aws::String&& value) { SetEventLastSeen(std::move(value)); return *this;} /** *The last-seen timestamp of the activity that prompted GuardDuty to generate * this finding.
*/ inline Service& WithEventLastSeen(const char* value) { SetEventLastSeen(value); return *this;} /** *The resource role information for this finding.
*/ inline const Aws::String& GetResourceRole() const{ return m_resourceRole; } /** *The resource role information for this finding.
*/ inline bool ResourceRoleHasBeenSet() const { return m_resourceRoleHasBeenSet; } /** *The resource role information for this finding.
*/ inline void SetResourceRole(const Aws::String& value) { m_resourceRoleHasBeenSet = true; m_resourceRole = value; } /** *The resource role information for this finding.
*/ inline void SetResourceRole(Aws::String&& value) { m_resourceRoleHasBeenSet = true; m_resourceRole = std::move(value); } /** *The resource role information for this finding.
*/ inline void SetResourceRole(const char* value) { m_resourceRoleHasBeenSet = true; m_resourceRole.assign(value); } /** *The resource role information for this finding.
*/ inline Service& WithResourceRole(const Aws::String& value) { SetResourceRole(value); return *this;} /** *The resource role information for this finding.
*/ inline Service& WithResourceRole(Aws::String&& value) { SetResourceRole(std::move(value)); return *this;} /** *The resource role information for this finding.
*/ inline Service& WithResourceRole(const char* value) { SetResourceRole(value); return *this;} /** *The name of the Amazon Web Services service (GuardDuty) that generated a * finding.
*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *The name of the Amazon Web Services service (GuardDuty) that generated a * finding.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The name of the Amazon Web Services service (GuardDuty) that generated a * finding.
*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The name of the Amazon Web Services service (GuardDuty) that generated a * finding.
*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The name of the Amazon Web Services service (GuardDuty) that generated a * finding.
*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *The name of the Amazon Web Services service (GuardDuty) that generated a * finding.
*/ inline Service& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The name of the Amazon Web Services service (GuardDuty) that generated a * finding.
*/ inline Service& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The name of the Amazon Web Services service (GuardDuty) that generated a * finding.
*/ inline Service& WithServiceName(const char* value) { SetServiceName(value); return *this;} /** *Feedback that was submitted about the finding.
*/ inline const Aws::String& GetUserFeedback() const{ return m_userFeedback; } /** *Feedback that was submitted about the finding.
*/ inline bool UserFeedbackHasBeenSet() const { return m_userFeedbackHasBeenSet; } /** *Feedback that was submitted about the finding.
*/ inline void SetUserFeedback(const Aws::String& value) { m_userFeedbackHasBeenSet = true; m_userFeedback = value; } /** *Feedback that was submitted about the finding.
*/ inline void SetUserFeedback(Aws::String&& value) { m_userFeedbackHasBeenSet = true; m_userFeedback = std::move(value); } /** *Feedback that was submitted about the finding.
*/ inline void SetUserFeedback(const char* value) { m_userFeedbackHasBeenSet = true; m_userFeedback.assign(value); } /** *Feedback that was submitted about the finding.
*/ inline Service& WithUserFeedback(const Aws::String& value) { SetUserFeedback(value); return *this;} /** *Feedback that was submitted about the finding.
*/ inline Service& WithUserFeedback(Aws::String&& value) { SetUserFeedback(std::move(value)); return *this;} /** *Feedback that was submitted about the finding.
*/ inline Service& WithUserFeedback(const char* value) { SetUserFeedback(value); return *this;} /** *Contains additional information about the generated finding.
*/ inline const ServiceAdditionalInfo& GetAdditionalInfo() const{ return m_additionalInfo; } /** *Contains additional information about the generated finding.
*/ inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; } /** *Contains additional information about the generated finding.
*/ inline void SetAdditionalInfo(const ServiceAdditionalInfo& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; } /** *Contains additional information about the generated finding.
*/ inline void SetAdditionalInfo(ServiceAdditionalInfo&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); } /** *Contains additional information about the generated finding.
*/ inline Service& WithAdditionalInfo(const ServiceAdditionalInfo& value) { SetAdditionalInfo(value); return *this;} /** *Contains additional information about the generated finding.
*/ inline Service& WithAdditionalInfo(ServiceAdditionalInfo&& value) { SetAdditionalInfo(std::move(value)); return *this;} /** *The name of the feature that generated a finding.
*/ inline const Aws::String& GetFeatureName() const{ return m_featureName; } /** *The name of the feature that generated a finding.
*/ inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; } /** *The name of the feature that generated a finding.
*/ inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; } /** *The name of the feature that generated a finding.
*/ inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); } /** *The name of the feature that generated a finding.
*/ inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); } /** *The name of the feature that generated a finding.
*/ inline Service& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;} /** *The name of the feature that generated a finding.
*/ inline Service& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;} /** *The name of the feature that generated a finding.
*/ inline Service& WithFeatureName(const char* value) { SetFeatureName(value); return *this;} /** *Returns details from the malware scan that created a finding.
*/ inline const EbsVolumeScanDetails& GetEbsVolumeScanDetails() const{ return m_ebsVolumeScanDetails; } /** *Returns details from the malware scan that created a finding.
*/ inline bool EbsVolumeScanDetailsHasBeenSet() const { return m_ebsVolumeScanDetailsHasBeenSet; } /** *Returns details from the malware scan that created a finding.
*/ inline void SetEbsVolumeScanDetails(const EbsVolumeScanDetails& value) { m_ebsVolumeScanDetailsHasBeenSet = true; m_ebsVolumeScanDetails = value; } /** *Returns details from the malware scan that created a finding.
*/ inline void SetEbsVolumeScanDetails(EbsVolumeScanDetails&& value) { m_ebsVolumeScanDetailsHasBeenSet = true; m_ebsVolumeScanDetails = std::move(value); } /** *Returns details from the malware scan that created a finding.
*/ inline Service& WithEbsVolumeScanDetails(const EbsVolumeScanDetails& value) { SetEbsVolumeScanDetails(value); return *this;} /** *Returns details from the malware scan that created a finding.
*/ inline Service& WithEbsVolumeScanDetails(EbsVolumeScanDetails&& value) { SetEbsVolumeScanDetails(std::move(value)); return *this;} /** *Information about the process and any required context values for a specific * finding
*/ inline const RuntimeDetails& GetRuntimeDetails() const{ return m_runtimeDetails; } /** *Information about the process and any required context values for a specific * finding
*/ inline bool RuntimeDetailsHasBeenSet() const { return m_runtimeDetailsHasBeenSet; } /** *Information about the process and any required context values for a specific * finding
*/ inline void SetRuntimeDetails(const RuntimeDetails& value) { m_runtimeDetailsHasBeenSet = true; m_runtimeDetails = value; } /** *Information about the process and any required context values for a specific * finding
*/ inline void SetRuntimeDetails(RuntimeDetails&& value) { m_runtimeDetailsHasBeenSet = true; m_runtimeDetails = std::move(value); } /** *Information about the process and any required context values for a specific * finding
*/ inline Service& WithRuntimeDetails(const RuntimeDetails& value) { SetRuntimeDetails(value); return *this;} /** *Information about the process and any required context values for a specific * finding
*/ inline Service& WithRuntimeDetails(RuntimeDetails&& value) { SetRuntimeDetails(std::move(value)); return *this;} private: Action m_action; bool m_actionHasBeenSet = false; Evidence m_evidence; bool m_evidenceHasBeenSet = false; bool m_archived; bool m_archivedHasBeenSet = false; int m_count; bool m_countHasBeenSet = false; Aws::String m_detectorId; bool m_detectorIdHasBeenSet = false; Aws::String m_eventFirstSeen; bool m_eventFirstSeenHasBeenSet = false; Aws::String m_eventLastSeen; bool m_eventLastSeenHasBeenSet = false; Aws::String m_resourceRole; bool m_resourceRoleHasBeenSet = false; Aws::String m_serviceName; bool m_serviceNameHasBeenSet = false; Aws::String m_userFeedback; bool m_userFeedbackHasBeenSet = false; ServiceAdditionalInfo m_additionalInfo; bool m_additionalInfoHasBeenSet = false; Aws::String m_featureName; bool m_featureNameHasBeenSet = false; EbsVolumeScanDetails m_ebsVolumeScanDetails; bool m_ebsVolumeScanDetailsHasBeenSet = false; RuntimeDetails m_runtimeDetails; bool m_runtimeDetailsHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws