AWS SDK for C++  1.8.184
AWS SDK for C++
UpdateFilterRequest.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 "UpdateFilter"; }
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 UpdateFilterRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
72 
77  inline UpdateFilterRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
78 
83  inline UpdateFilterRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
84 
85 
89  inline const Aws::String& GetFilterName() const{ return m_filterName; }
90 
94  inline bool FilterNameHasBeenSet() const { return m_filterNameHasBeenSet; }
95 
99  inline void SetFilterName(const Aws::String& value) { m_filterNameHasBeenSet = true; m_filterName = value; }
100 
104  inline void SetFilterName(Aws::String&& value) { m_filterNameHasBeenSet = true; m_filterName = std::move(value); }
105 
109  inline void SetFilterName(const char* value) { m_filterNameHasBeenSet = true; m_filterName.assign(value); }
110 
114  inline UpdateFilterRequest& WithFilterName(const Aws::String& value) { SetFilterName(value); return *this;}
115 
119  inline UpdateFilterRequest& WithFilterName(Aws::String&& value) { SetFilterName(std::move(value)); return *this;}
120 
124  inline UpdateFilterRequest& WithFilterName(const char* value) { SetFilterName(value); return *this;}
125 
126 
130  inline const Aws::String& GetDescription() const{ return m_description; }
131 
135  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
136 
140  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
141 
145  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
146 
150  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
151 
155  inline UpdateFilterRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
156 
160  inline UpdateFilterRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
161 
165  inline UpdateFilterRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
166 
167 
172  inline const FilterAction& GetAction() const{ return m_action; }
173 
178  inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
179 
184  inline void SetAction(const FilterAction& value) { m_actionHasBeenSet = true; m_action = value; }
185 
190  inline void SetAction(FilterAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
191 
196  inline UpdateFilterRequest& WithAction(const FilterAction& value) { SetAction(value); return *this;}
197 
202  inline UpdateFilterRequest& WithAction(FilterAction&& value) { SetAction(std::move(value)); return *this;}
203 
204 
209  inline int GetRank() const{ return m_rank; }
210 
215  inline bool RankHasBeenSet() const { return m_rankHasBeenSet; }
216 
221  inline void SetRank(int value) { m_rankHasBeenSet = true; m_rank = value; }
222 
227  inline UpdateFilterRequest& WithRank(int value) { SetRank(value); return *this;}
228 
229 
233  inline const FindingCriteria& GetFindingCriteria() const{ return m_findingCriteria; }
234 
238  inline bool FindingCriteriaHasBeenSet() const { return m_findingCriteriaHasBeenSet; }
239 
243  inline void SetFindingCriteria(const FindingCriteria& value) { m_findingCriteriaHasBeenSet = true; m_findingCriteria = value; }
244 
248  inline void SetFindingCriteria(FindingCriteria&& value) { m_findingCriteriaHasBeenSet = true; m_findingCriteria = std::move(value); }
249 
253  inline UpdateFilterRequest& WithFindingCriteria(const FindingCriteria& value) { SetFindingCriteria(value); return *this;}
254 
258  inline UpdateFilterRequest& WithFindingCriteria(FindingCriteria&& value) { SetFindingCriteria(std::move(value)); return *this;}
259 
260  private:
261 
262  Aws::String m_detectorId;
263  bool m_detectorIdHasBeenSet;
264 
265  Aws::String m_filterName;
266  bool m_filterNameHasBeenSet;
267 
268  Aws::String m_description;
269  bool m_descriptionHasBeenSet;
270 
271  FilterAction m_action;
272  bool m_actionHasBeenSet;
273 
274  int m_rank;
275  bool m_rankHasBeenSet;
276 
277  FindingCriteria m_findingCriteria;
278  bool m_findingCriteriaHasBeenSet;
279  };
280 
281 } // namespace Model
282 } // namespace GuardDuty
283 } // namespace Aws
Aws::GuardDuty::Model::UpdateFilterRequest::WithDescription
UpdateFilterRequest & WithDescription(const Aws::String &value)
Definition: UpdateFilterRequest.h:155
Aws::GuardDuty::Model::UpdateFilterRequest::SetAction
void SetAction(FilterAction &&value)
Definition: UpdateFilterRequest.h:190
Aws::GuardDuty::Model::UpdateFilterRequest::SetFindingCriteria
void SetFindingCriteria(const FindingCriteria &value)
Definition: UpdateFilterRequest.h:243
Aws::GuardDuty::Model::UpdateFilterRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateFilterRequest.h:150
Aws::GuardDuty::Model::UpdateFilterRequest
Definition: UpdateFilterRequest.h:24
Aws::GuardDuty::Model::UpdateFilterRequest::WithFindingCriteria
UpdateFilterRequest & WithFindingCriteria(const FindingCriteria &value)
Definition: UpdateFilterRequest.h:253
Aws::GuardDuty::Model::UpdateFilterRequest::WithDescription
UpdateFilterRequest & WithDescription(Aws::String &&value)
Definition: UpdateFilterRequest.h:160
Aws::GuardDuty::Model::UpdateFilterRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: UpdateFilterRequest.h:59
Aws::GuardDuty::Model::UpdateFilterRequest::SetFindingCriteria
void SetFindingCriteria(FindingCriteria &&value)
Definition: UpdateFilterRequest.h:248
Aws::GuardDuty::Model::FindingCriteria
Definition: FindingCriteria.h:35
Aws::GuardDuty::Model::UpdateFilterRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: UpdateFilterRequest.h:41
Aws::GuardDuty::Model::UpdateFilterRequest::WithDescription
UpdateFilterRequest & WithDescription(const char *value)
Definition: UpdateFilterRequest.h:165
Aws::GuardDuty::Model::FilterAction
FilterAction
Definition: FilterAction.h:17
Aws::GuardDuty::Model::UpdateFilterRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: UpdateFilterRequest.h:47
Aws::GuardDuty::Model::UpdateFilterRequest::SetAction
void SetAction(const FilterAction &value)
Definition: UpdateFilterRequest.h:184
Aws::GuardDuty::Model::UpdateFilterRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateFilterRequest.h:130
Aws::GuardDuty::Model::UpdateFilterRequest::SetFilterName
void SetFilterName(const Aws::String &value)
Definition: UpdateFilterRequest.h:99
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::UpdateFilterRequest::WithAction
UpdateFilterRequest & WithAction(const FilterAction &value)
Definition: UpdateFilterRequest.h:196
Aws::GuardDuty::Model::UpdateFilterRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GuardDuty::Model::UpdateFilterRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: UpdateFilterRequest.h:65
Aws::GuardDuty::Model::UpdateFilterRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateFilterRequest.h:135
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::UpdateFilterRequest::WithDetectorId
UpdateFilterRequest & WithDetectorId(const char *value)
Definition: UpdateFilterRequest.h:83
Aws::GuardDuty::Model::UpdateFilterRequest::RankHasBeenSet
bool RankHasBeenSet() const
Definition: UpdateFilterRequest.h:215
Aws::GuardDuty::Model::UpdateFilterRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: UpdateFilterRequest.h:53
Aws::GuardDuty::Model::UpdateFilterRequest::GetFilterName
const Aws::String & GetFilterName() const
Definition: UpdateFilterRequest.h:89
Aws::GuardDuty::Model::UpdateFilterRequest::WithDetectorId
UpdateFilterRequest & WithDetectorId(Aws::String &&value)
Definition: UpdateFilterRequest.h:77
AWSString.h
Aws::GuardDuty::Model::UpdateFilterRequest::WithDetectorId
UpdateFilterRequest & WithDetectorId(const Aws::String &value)
Definition: UpdateFilterRequest.h:71
Aws::GuardDuty::Model::UpdateFilterRequest::WithFilterName
UpdateFilterRequest & WithFilterName(Aws::String &&value)
Definition: UpdateFilterRequest.h:119
Aws::GuardDuty::Model::UpdateFilterRequest::GetAction
const FilterAction & GetAction() const
Definition: UpdateFilterRequest.h:172
Aws::GuardDuty::Model::UpdateFilterRequest::WithAction
UpdateFilterRequest & WithAction(FilterAction &&value)
Definition: UpdateFilterRequest.h:202
Aws::GuardDuty::Model::UpdateFilterRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateFilterRequest.h:145
FilterAction.h
Aws::GuardDuty::Model::UpdateFilterRequest::UpdateFilterRequest
UpdateFilterRequest()
Aws::GuardDuty::Model::UpdateFilterRequest::WithFilterName
UpdateFilterRequest & WithFilterName(const Aws::String &value)
Definition: UpdateFilterRequest.h:114
Aws::GuardDuty::Model::UpdateFilterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateFilterRequest.h:32
Aws::GuardDuty::Model::UpdateFilterRequest::SetFilterName
void SetFilterName(Aws::String &&value)
Definition: UpdateFilterRequest.h:104
Aws
Definition: AccessManagementClient.h:15
GuardDutyRequest.h
Aws::GuardDuty::Model::UpdateFilterRequest::GetRank
int GetRank() const
Definition: UpdateFilterRequest.h:209
Aws::GuardDuty::Model::UpdateFilterRequest::SetRank
void SetRank(int value)
Definition: UpdateFilterRequest.h:221
Aws::GuardDuty::Model::UpdateFilterRequest::SetFilterName
void SetFilterName(const char *value)
Definition: UpdateFilterRequest.h:109
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::UpdateFilterRequest::WithRank
UpdateFilterRequest & WithRank(int value)
Definition: UpdateFilterRequest.h:227
Aws::GuardDuty::Model::UpdateFilterRequest::ActionHasBeenSet
bool ActionHasBeenSet() const
Definition: UpdateFilterRequest.h:178
Aws::GuardDuty::GuardDutyRequest
Definition: GuardDutyRequest.h:17
Aws::GuardDuty::Model::UpdateFilterRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateFilterRequest.h:140
Aws::GuardDuty::Model::UpdateFilterRequest::FindingCriteriaHasBeenSet
bool FindingCriteriaHasBeenSet() const
Definition: UpdateFilterRequest.h:238
FindingCriteria.h
Aws::GuardDuty::Model::UpdateFilterRequest::WithFindingCriteria
UpdateFilterRequest & WithFindingCriteria(FindingCriteria &&value)
Definition: UpdateFilterRequest.h:258
Aws::GuardDuty::Model::UpdateFilterRequest::WithFilterName
UpdateFilterRequest & WithFilterName(const char *value)
Definition: UpdateFilterRequest.h:124
Aws::GuardDuty::Model::UpdateFilterRequest::GetFindingCriteria
const FindingCriteria & GetFindingCriteria() const
Definition: UpdateFilterRequest.h:233
Aws::GuardDuty::Model::UpdateFilterRequest::FilterNameHasBeenSet
bool FilterNameHasBeenSet() const
Definition: UpdateFilterRequest.h:94