/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace GuardDuty { namespace Model { /** */ class UpdateFindingsFeedbackRequest : public GuardDutyRequest { public: AWS_GUARDDUTY_API UpdateFindingsFeedbackRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateFindingsFeedback"; } AWS_GUARDDUTY_API Aws::String SerializePayload() const override; /** *

The ID of the detector associated with the findings to update feedback * for.

*/ inline const Aws::String& GetDetectorId() const{ return m_detectorId; } /** *

The ID of the detector associated with the findings to update feedback * for.

*/ inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; } /** *

The ID of the detector associated with the findings to update feedback * for.

*/ inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; } /** *

The ID of the detector associated with the findings to update feedback * for.

*/ inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); } /** *

The ID of the detector associated with the findings to update feedback * for.

*/ inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); } /** *

The ID of the detector associated with the findings to update feedback * for.

*/ inline UpdateFindingsFeedbackRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;} /** *

The ID of the detector associated with the findings to update feedback * for.

*/ inline UpdateFindingsFeedbackRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;} /** *

The ID of the detector associated with the findings to update feedback * for.

*/ inline UpdateFindingsFeedbackRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;} /** *

The IDs of the findings that you want to mark as useful or not useful.

*/ inline const Aws::Vector& GetFindingIds() const{ return m_findingIds; } /** *

The IDs of the findings that you want to mark as useful or not useful.

*/ inline bool FindingIdsHasBeenSet() const { return m_findingIdsHasBeenSet; } /** *

The IDs of the findings that you want to mark as useful or not useful.

*/ inline void SetFindingIds(const Aws::Vector& value) { m_findingIdsHasBeenSet = true; m_findingIds = value; } /** *

The IDs of the findings that you want to mark as useful or not useful.

*/ inline void SetFindingIds(Aws::Vector&& value) { m_findingIdsHasBeenSet = true; m_findingIds = std::move(value); } /** *

The IDs of the findings that you want to mark as useful or not useful.

*/ inline UpdateFindingsFeedbackRequest& WithFindingIds(const Aws::Vector& value) { SetFindingIds(value); return *this;} /** *

The IDs of the findings that you want to mark as useful or not useful.

*/ inline UpdateFindingsFeedbackRequest& WithFindingIds(Aws::Vector&& value) { SetFindingIds(std::move(value)); return *this;} /** *

The IDs of the findings that you want to mark as useful or not useful.

*/ inline UpdateFindingsFeedbackRequest& AddFindingIds(const Aws::String& value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(value); return *this; } /** *

The IDs of the findings that you want to mark as useful or not useful.

*/ inline UpdateFindingsFeedbackRequest& AddFindingIds(Aws::String&& value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(std::move(value)); return *this; } /** *

The IDs of the findings that you want to mark as useful or not useful.

*/ inline UpdateFindingsFeedbackRequest& AddFindingIds(const char* value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(value); return *this; } /** *

The feedback for the finding.

*/ inline const Feedback& GetFeedback() const{ return m_feedback; } /** *

The feedback for the finding.

*/ inline bool FeedbackHasBeenSet() const { return m_feedbackHasBeenSet; } /** *

The feedback for the finding.

*/ inline void SetFeedback(const Feedback& value) { m_feedbackHasBeenSet = true; m_feedback = value; } /** *

The feedback for the finding.

*/ inline void SetFeedback(Feedback&& value) { m_feedbackHasBeenSet = true; m_feedback = std::move(value); } /** *

The feedback for the finding.

*/ inline UpdateFindingsFeedbackRequest& WithFeedback(const Feedback& value) { SetFeedback(value); return *this;} /** *

The feedback for the finding.

*/ inline UpdateFindingsFeedbackRequest& WithFeedback(Feedback&& value) { SetFeedback(std::move(value)); return *this;} /** *

Additional feedback about the GuardDuty findings.

*/ inline const Aws::String& GetComments() const{ return m_comments; } /** *

Additional feedback about the GuardDuty findings.

*/ inline bool CommentsHasBeenSet() const { return m_commentsHasBeenSet; } /** *

Additional feedback about the GuardDuty findings.

*/ inline void SetComments(const Aws::String& value) { m_commentsHasBeenSet = true; m_comments = value; } /** *

Additional feedback about the GuardDuty findings.

*/ inline void SetComments(Aws::String&& value) { m_commentsHasBeenSet = true; m_comments = std::move(value); } /** *

Additional feedback about the GuardDuty findings.

*/ inline void SetComments(const char* value) { m_commentsHasBeenSet = true; m_comments.assign(value); } /** *

Additional feedback about the GuardDuty findings.

*/ inline UpdateFindingsFeedbackRequest& WithComments(const Aws::String& value) { SetComments(value); return *this;} /** *

Additional feedback about the GuardDuty findings.

*/ inline UpdateFindingsFeedbackRequest& WithComments(Aws::String&& value) { SetComments(std::move(value)); return *this;} /** *

Additional feedback about the GuardDuty findings.

*/ inline UpdateFindingsFeedbackRequest& WithComments(const char* value) { SetComments(value); return *this;} private: Aws::String m_detectorId; bool m_detectorIdHasBeenSet = false; Aws::Vector m_findingIds; bool m_findingIdsHasBeenSet = false; Feedback m_feedback; bool m_feedbackHasBeenSet = false; Aws::String m_comments; bool m_commentsHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws