AWS SDK for C++  1.8.126
AWS SDK for C++
UpdateFindingsFeedbackRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace GuardDuty
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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::String SerializePayload() const override;
35 
36 
41  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
42 
47  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
48 
53  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
54 
59  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
60 
65  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
66 
71  inline UpdateFindingsFeedbackRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
72 
77  inline UpdateFindingsFeedbackRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
78 
83  inline UpdateFindingsFeedbackRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
84 
85 
89  inline const Aws::Vector<Aws::String>& GetFindingIds() const{ return m_findingIds; }
90 
94  inline bool FindingIdsHasBeenSet() const { return m_findingIdsHasBeenSet; }
95 
99  inline void SetFindingIds(const Aws::Vector<Aws::String>& value) { m_findingIdsHasBeenSet = true; m_findingIds = value; }
100 
104  inline void SetFindingIds(Aws::Vector<Aws::String>&& value) { m_findingIdsHasBeenSet = true; m_findingIds = std::move(value); }
105 
109  inline UpdateFindingsFeedbackRequest& WithFindingIds(const Aws::Vector<Aws::String>& value) { SetFindingIds(value); return *this;}
110 
114  inline UpdateFindingsFeedbackRequest& WithFindingIds(Aws::Vector<Aws::String>&& value) { SetFindingIds(std::move(value)); return *this;}
115 
119  inline UpdateFindingsFeedbackRequest& AddFindingIds(const Aws::String& value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(value); return *this; }
120 
124  inline UpdateFindingsFeedbackRequest& AddFindingIds(Aws::String&& value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(std::move(value)); return *this; }
125 
129  inline UpdateFindingsFeedbackRequest& AddFindingIds(const char* value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(value); return *this; }
130 
131 
135  inline const Feedback& GetFeedback() const{ return m_feedback; }
136 
140  inline bool FeedbackHasBeenSet() const { return m_feedbackHasBeenSet; }
141 
145  inline void SetFeedback(const Feedback& value) { m_feedbackHasBeenSet = true; m_feedback = value; }
146 
150  inline void SetFeedback(Feedback&& value) { m_feedbackHasBeenSet = true; m_feedback = std::move(value); }
151 
155  inline UpdateFindingsFeedbackRequest& WithFeedback(const Feedback& value) { SetFeedback(value); return *this;}
156 
160  inline UpdateFindingsFeedbackRequest& WithFeedback(Feedback&& value) { SetFeedback(std::move(value)); return *this;}
161 
162 
166  inline const Aws::String& GetComments() const{ return m_comments; }
167 
171  inline bool CommentsHasBeenSet() const { return m_commentsHasBeenSet; }
172 
176  inline void SetComments(const Aws::String& value) { m_commentsHasBeenSet = true; m_comments = value; }
177 
181  inline void SetComments(Aws::String&& value) { m_commentsHasBeenSet = true; m_comments = std::move(value); }
182 
186  inline void SetComments(const char* value) { m_commentsHasBeenSet = true; m_comments.assign(value); }
187 
191  inline UpdateFindingsFeedbackRequest& WithComments(const Aws::String& value) { SetComments(value); return *this;}
192 
196  inline UpdateFindingsFeedbackRequest& WithComments(Aws::String&& value) { SetComments(std::move(value)); return *this;}
197 
201  inline UpdateFindingsFeedbackRequest& WithComments(const char* value) { SetComments(value); return *this;}
202 
203  private:
204 
205  Aws::String m_detectorId;
206  bool m_detectorIdHasBeenSet;
207 
208  Aws::Vector<Aws::String> m_findingIds;
209  bool m_findingIdsHasBeenSet;
210 
211  Feedback m_feedback;
212  bool m_feedbackHasBeenSet;
213 
214  Aws::String m_comments;
215  bool m_commentsHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace GuardDuty
220 } // namespace Aws
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::GetFeedback
const Feedback & GetFeedback() const
Definition: UpdateFindingsFeedbackRequest.h:135
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::WithDetectorId
UpdateFindingsFeedbackRequest & WithDetectorId(Aws::String &&value)
Definition: UpdateFindingsFeedbackRequest.h:77
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::WithDetectorId
UpdateFindingsFeedbackRequest & WithDetectorId(const Aws::String &value)
Definition: UpdateFindingsFeedbackRequest.h:71
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::CommentsHasBeenSet
bool CommentsHasBeenSet() const
Definition: UpdateFindingsFeedbackRequest.h:171
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::WithComments
UpdateFindingsFeedbackRequest & WithComments(const char *value)
Definition: UpdateFindingsFeedbackRequest.h:201
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::WithDetectorId
UpdateFindingsFeedbackRequest & WithDetectorId(const char *value)
Definition: UpdateFindingsFeedbackRequest.h:83
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::AddFindingIds
UpdateFindingsFeedbackRequest & AddFindingIds(const Aws::String &value)
Definition: UpdateFindingsFeedbackRequest.h:119
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: UpdateFindingsFeedbackRequest.h:59
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::SetFindingIds
void SetFindingIds(Aws::Vector< Aws::String > &&value)
Definition: UpdateFindingsFeedbackRequest.h:104
Feedback.h
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::FindingIdsHasBeenSet
bool FindingIdsHasBeenSet() const
Definition: UpdateFindingsFeedbackRequest.h:94
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::SetComments
void SetComments(Aws::String &&value)
Definition: UpdateFindingsFeedbackRequest.h:181
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: UpdateFindingsFeedbackRequest.h:65
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateFindingsFeedbackRequest.h:32
AWSVector.h
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::WithFindingIds
UpdateFindingsFeedbackRequest & WithFindingIds(Aws::Vector< Aws::String > &&value)
Definition: UpdateFindingsFeedbackRequest.h:114
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::SetFeedback
void SetFeedback(Feedback &&value)
Definition: UpdateFindingsFeedbackRequest.h:150
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest
Definition: UpdateFindingsFeedbackRequest.h:24
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::WithFindingIds
UpdateFindingsFeedbackRequest & WithFindingIds(const Aws::Vector< Aws::String > &value)
Definition: UpdateFindingsFeedbackRequest.h:109
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::SetComments
void SetComments(const char *value)
Definition: UpdateFindingsFeedbackRequest.h:186
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: UpdateFindingsFeedbackRequest.h:47
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::AddFindingIds
UpdateFindingsFeedbackRequest & AddFindingIds(Aws::String &&value)
Definition: UpdateFindingsFeedbackRequest.h:124
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::WithFeedback
UpdateFindingsFeedbackRequest & WithFeedback(Feedback &&value)
Definition: UpdateFindingsFeedbackRequest.h:160
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::WithComments
UpdateFindingsFeedbackRequest & WithComments(Aws::String &&value)
Definition: UpdateFindingsFeedbackRequest.h:196
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::WithComments
UpdateFindingsFeedbackRequest & WithComments(const Aws::String &value)
Definition: UpdateFindingsFeedbackRequest.h:191
AWSString.h
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::FeedbackHasBeenSet
bool FeedbackHasBeenSet() const
Definition: UpdateFindingsFeedbackRequest.h:140
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::GetComments
const Aws::String & GetComments() const
Definition: UpdateFindingsFeedbackRequest.h:166
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: UpdateFindingsFeedbackRequest.h:53
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::AddFindingIds
UpdateFindingsFeedbackRequest & AddFindingIds(const char *value)
Definition: UpdateFindingsFeedbackRequest.h:129
Aws::GuardDuty::Model::Feedback
Feedback
Definition: Feedback.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::SetFindingIds
void SetFindingIds(const Aws::Vector< Aws::String > &value)
Definition: UpdateFindingsFeedbackRequest.h:99
GuardDutyRequest.h
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::WithFeedback
UpdateFindingsFeedbackRequest & WithFeedback(const Feedback &value)
Definition: UpdateFindingsFeedbackRequest.h:155
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::SetComments
void SetComments(const Aws::String &value)
Definition: UpdateFindingsFeedbackRequest.h:176
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::GetFindingIds
const Aws::Vector< Aws::String > & GetFindingIds() const
Definition: UpdateFindingsFeedbackRequest.h:89
Aws::GuardDuty::GuardDutyRequest
Definition: GuardDutyRequest.h:17
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::UpdateFindingsFeedbackRequest
UpdateFindingsFeedbackRequest()
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: UpdateFindingsFeedbackRequest.h:41
Aws::GuardDuty::Model::UpdateFindingsFeedbackRequest::SetFeedback
void SetFeedback(const Feedback &value)
Definition: UpdateFindingsFeedbackRequest.h:145