AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFindingsFeedbackRequest.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/guardduty/model/Feedback.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GuardDuty
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GUARDDUTY_API UpdateFindingsFeedbackRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateFindingsFeedback"; }
33
34 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
43 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
44 inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
45 inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
46 inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
47 inline UpdateFindingsFeedbackRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
48 inline UpdateFindingsFeedbackRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
49 inline UpdateFindingsFeedbackRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
51
53
56 inline const Aws::Vector<Aws::String>& GetFindingIds() const{ return m_findingIds; }
57 inline bool FindingIdsHasBeenSet() const { return m_findingIdsHasBeenSet; }
58 inline void SetFindingIds(const Aws::Vector<Aws::String>& value) { m_findingIdsHasBeenSet = true; m_findingIds = value; }
59 inline void SetFindingIds(Aws::Vector<Aws::String>&& value) { m_findingIdsHasBeenSet = true; m_findingIds = std::move(value); }
61 inline UpdateFindingsFeedbackRequest& WithFindingIds(Aws::Vector<Aws::String>&& value) { SetFindingIds(std::move(value)); return *this;}
62 inline UpdateFindingsFeedbackRequest& AddFindingIds(const Aws::String& value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(value); return *this; }
63 inline UpdateFindingsFeedbackRequest& AddFindingIds(Aws::String&& value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(std::move(value)); return *this; }
64 inline UpdateFindingsFeedbackRequest& AddFindingIds(const char* value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(value); return *this; }
66
68
71 inline const Feedback& GetFeedback() const{ return m_feedback; }
72 inline bool FeedbackHasBeenSet() const { return m_feedbackHasBeenSet; }
73 inline void SetFeedback(const Feedback& value) { m_feedbackHasBeenSet = true; m_feedback = value; }
74 inline void SetFeedback(Feedback&& value) { m_feedbackHasBeenSet = true; m_feedback = std::move(value); }
75 inline UpdateFindingsFeedbackRequest& WithFeedback(const Feedback& value) { SetFeedback(value); return *this;}
76 inline UpdateFindingsFeedbackRequest& WithFeedback(Feedback&& value) { SetFeedback(std::move(value)); return *this;}
78
80
83 inline const Aws::String& GetComments() const{ return m_comments; }
84 inline bool CommentsHasBeenSet() const { return m_commentsHasBeenSet; }
85 inline void SetComments(const Aws::String& value) { m_commentsHasBeenSet = true; m_comments = value; }
86 inline void SetComments(Aws::String&& value) { m_commentsHasBeenSet = true; m_comments = std::move(value); }
87 inline void SetComments(const char* value) { m_commentsHasBeenSet = true; m_comments.assign(value); }
88 inline UpdateFindingsFeedbackRequest& WithComments(const Aws::String& value) { SetComments(value); return *this;}
89 inline UpdateFindingsFeedbackRequest& WithComments(Aws::String&& value) { SetComments(std::move(value)); return *this;}
90 inline UpdateFindingsFeedbackRequest& WithComments(const char* value) { SetComments(value); return *this;}
92 private:
93
94 Aws::String m_detectorId;
95 bool m_detectorIdHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_findingIds;
98 bool m_findingIdsHasBeenSet = false;
99
100 Feedback m_feedback;
101 bool m_feedbackHasBeenSet = false;
102
103 Aws::String m_comments;
104 bool m_commentsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace GuardDuty
109} // namespace Aws
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
UpdateFindingsFeedbackRequest & AddFindingIds(Aws::String &&value)
UpdateFindingsFeedbackRequest & WithDetectorId(const Aws::String &value)
UpdateFindingsFeedbackRequest & AddFindingIds(const Aws::String &value)
UpdateFindingsFeedbackRequest & WithFindingIds(const Aws::Vector< Aws::String > &value)
UpdateFindingsFeedbackRequest & WithComments(const char *value)
UpdateFindingsFeedbackRequest & WithComments(const Aws::String &value)
UpdateFindingsFeedbackRequest & WithFeedback(Feedback &&value)
UpdateFindingsFeedbackRequest & WithDetectorId(const char *value)
UpdateFindingsFeedbackRequest & WithFeedback(const Feedback &value)
UpdateFindingsFeedbackRequest & WithDetectorId(Aws::String &&value)
UpdateFindingsFeedbackRequest & WithComments(Aws::String &&value)
void SetFindingIds(const Aws::Vector< Aws::String > &value)
UpdateFindingsFeedbackRequest & AddFindingIds(const char *value)
UpdateFindingsFeedbackRequest & WithFindingIds(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector