/**
* 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 AWS service (GuardDuty) that generated a finding.
*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *The name of the AWS service (GuardDuty) that generated a finding.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The name of the AWS service (GuardDuty) that generated a finding.
*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The name of the AWS service (GuardDuty) that generated a finding.
*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The name of the AWS service (GuardDuty) that generated a finding.
*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *The name of the AWS service (GuardDuty) that generated a finding.
*/ inline Service& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The name of the AWS service (GuardDuty) that generated a finding.
*/ inline Service& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The name of the AWS 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;} private: Action m_action; bool m_actionHasBeenSet; Evidence m_evidence; bool m_evidenceHasBeenSet; bool m_archived; bool m_archivedHasBeenSet; int m_count; bool m_countHasBeenSet; Aws::String m_detectorId; bool m_detectorIdHasBeenSet; Aws::String m_eventFirstSeen; bool m_eventFirstSeenHasBeenSet; Aws::String m_eventLastSeen; bool m_eventLastSeenHasBeenSet; Aws::String m_resourceRole; bool m_resourceRoleHasBeenSet; Aws::String m_serviceName; bool m_serviceNameHasBeenSet; Aws::String m_userFeedback; bool m_userFeedbackHasBeenSet; }; } // namespace Model } // namespace GuardDuty } // namespace Aws