AWS SDK for C++  1.9.21
AWS SDK for C++
GetFilterResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace GuardDuty
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetName() const{ return m_name; }
42 
46  inline void SetName(const Aws::String& value) { m_name = value; }
47 
51  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
52 
56  inline void SetName(const char* value) { m_name.assign(value); }
57 
61  inline GetFilterResult& WithName(const Aws::String& value) { SetName(value); return *this;}
62 
66  inline GetFilterResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 
71  inline GetFilterResult& WithName(const char* value) { SetName(value); return *this;}
72 
73 
77  inline const Aws::String& GetDescription() const{ return m_description; }
78 
82  inline void SetDescription(const Aws::String& value) { m_description = value; }
83 
87  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
88 
92  inline void SetDescription(const char* value) { m_description.assign(value); }
93 
97  inline GetFilterResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
98 
102  inline GetFilterResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
103 
107  inline GetFilterResult& WithDescription(const char* value) { SetDescription(value); return *this;}
108 
109 
114  inline const FilterAction& GetAction() const{ return m_action; }
115 
120  inline void SetAction(const FilterAction& value) { m_action = value; }
121 
126  inline void SetAction(FilterAction&& value) { m_action = std::move(value); }
127 
132  inline GetFilterResult& WithAction(const FilterAction& value) { SetAction(value); return *this;}
133 
138  inline GetFilterResult& WithAction(FilterAction&& value) { SetAction(std::move(value)); return *this;}
139 
140 
145  inline int GetRank() const{ return m_rank; }
146 
151  inline void SetRank(int value) { m_rank = value; }
152 
157  inline GetFilterResult& WithRank(int value) { SetRank(value); return *this;}
158 
159 
163  inline const FindingCriteria& GetFindingCriteria() const{ return m_findingCriteria; }
164 
168  inline void SetFindingCriteria(const FindingCriteria& value) { m_findingCriteria = value; }
169 
173  inline void SetFindingCriteria(FindingCriteria&& value) { m_findingCriteria = std::move(value); }
174 
178  inline GetFilterResult& WithFindingCriteria(const FindingCriteria& value) { SetFindingCriteria(value); return *this;}
179 
183  inline GetFilterResult& WithFindingCriteria(FindingCriteria&& value) { SetFindingCriteria(std::move(value)); return *this;}
184 
185 
189  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
190 
194  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
195 
199  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
200 
204  inline GetFilterResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
205 
209  inline GetFilterResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
210 
214  inline GetFilterResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
215 
219  inline GetFilterResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
220 
224  inline GetFilterResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
225 
229  inline GetFilterResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
230 
234  inline GetFilterResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
235 
239  inline GetFilterResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
240 
244  inline GetFilterResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
245 
246  private:
247 
248  Aws::String m_name;
249 
250  Aws::String m_description;
251 
252  FilterAction m_action;
253 
254  int m_rank;
255 
256  FindingCriteria m_findingCriteria;
257 
259  };
260 
261 } // namespace Model
262 } // namespace GuardDuty
263 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::GetFilterResult::AddTags
GetFilterResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: GetFilterResult.h:229
Aws::GuardDuty::Model::GetFilterResult::WithRank
GetFilterResult & WithRank(int value)
Definition: GetFilterResult.h:157
Aws::GuardDuty::Model::GetFilterResult::SetAction
void SetAction(FilterAction &&value)
Definition: GetFilterResult.h:126
Aws::GuardDuty::Model::GetFilterResult::SetFindingCriteria
void SetFindingCriteria(const FindingCriteria &value)
Definition: GetFilterResult.h:168
Aws::GuardDuty::Model::GetFilterResult::WithName
GetFilterResult & WithName(const char *value)
Definition: GetFilterResult.h:71
Aws::GuardDuty::Model::GetFilterResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetFilterResult.h:194
Aws::GuardDuty::Model::GetFilterResult::GetFilterResult
GetFilterResult()
Aws::GuardDuty::Model::GetFilterResult::AddTags
GetFilterResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: GetFilterResult.h:219
Aws::GuardDuty::Model::GetFilterResult::WithDescription
GetFilterResult & WithDescription(const char *value)
Definition: GetFilterResult.h:107
Aws::GuardDuty::Model::GetFilterResult::AddTags
GetFilterResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: GetFilterResult.h:224
Aws::GuardDuty::Model::FindingCriteria
Definition: FindingCriteria.h:35
Aws::GuardDuty::Model::GetFilterResult::SetName
void SetName(const Aws::String &value)
Definition: GetFilterResult.h:46
Aws::GuardDuty::Model::FilterAction
FilterAction
Definition: FilterAction.h:17
Aws::GuardDuty::Model::GetFilterResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetFilterResult.h:77
Aws::GuardDuty::Model::GetFilterResult::WithDescription
GetFilterResult & WithDescription(const Aws::String &value)
Definition: GetFilterResult.h:97
Aws::GuardDuty::Model::GetFilterResult::SetFindingCriteria
void SetFindingCriteria(FindingCriteria &&value)
Definition: GetFilterResult.h:173
Aws::GuardDuty::Model::GetFilterResult::AddTags
GetFilterResult & AddTags(const char *key, const char *value)
Definition: GetFilterResult.h:244
Aws::GuardDuty::Model::GetFilterResult::WithDescription
GetFilterResult & WithDescription(Aws::String &&value)
Definition: GetFilterResult.h:102
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::GetFilterResult::SetRank
void SetRank(int value)
Definition: GetFilterResult.h:151
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::GetFilterResult::SetName
void SetName(Aws::String &&value)
Definition: GetFilterResult.h:51
Aws::GuardDuty::Model::GetFilterResult::WithFindingCriteria
GetFilterResult & WithFindingCriteria(const FindingCriteria &value)
Definition: GetFilterResult.h:178
AWSString.h
Aws::GuardDuty::Model::GetFilterResult::GetName
const Aws::String & GetName() const
Definition: GetFilterResult.h:41
Aws::GuardDuty::Model::GetFilterResult::GetRank
int GetRank() const
Definition: GetFilterResult.h:145
Aws::GuardDuty::Model::GetFilterResult::WithTags
GetFilterResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetFilterResult.h:204
Aws::GuardDuty::Model::GetFilterResult::SetAction
void SetAction(const FilterAction &value)
Definition: GetFilterResult.h:120
Aws::GuardDuty::Model::GetFilterResult::WithFindingCriteria
GetFilterResult & WithFindingCriteria(FindingCriteria &&value)
Definition: GetFilterResult.h:183
Aws::GuardDuty::Model::GetFilterResult::WithAction
GetFilterResult & WithAction(const FilterAction &value)
Definition: GetFilterResult.h:132
FilterAction.h
Aws::GuardDuty::Model::GetFilterResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetFilterResult.h:199
Aws::GuardDuty::Model::GetFilterResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetFilterResult.h:82
Aws::GuardDuty::Model::GetFilterResult::AddTags
GetFilterResult & AddTags(Aws::String &&key, const char *value)
Definition: GetFilterResult.h:239
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::GetFilterResult::WithAction
GetFilterResult & WithAction(FilterAction &&value)
Definition: GetFilterResult.h:138
Aws::GuardDuty::Model::GetFilterResult::GetFilterResult
GetFilterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::GetFilterResult::AddTags
GetFilterResult & AddTags(const char *key, Aws::String &&value)
Definition: GetFilterResult.h:234
Aws::GuardDuty::Model::GetFilterResult::WithName
GetFilterResult & WithName(const Aws::String &value)
Definition: GetFilterResult.h:61
Aws::GuardDuty::Model::GetFilterResult
Definition: GetFilterResult.h:31
Aws::GuardDuty::Model::GetFilterResult::GetAction
const FilterAction & GetAction() const
Definition: GetFilterResult.h:114
Aws::GuardDuty::Model::GetFilterResult::SetName
void SetName(const char *value)
Definition: GetFilterResult.h:56
Aws::GuardDuty::Model::GetFilterResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetFilterResult.h:87
Aws::GuardDuty::Model::GetFilterResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: GetFilterResult.h:189
AWSMap.h
Aws::GuardDuty::Model::GetFilterResult::operator=
GetFilterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::GetFilterResult::SetDescription
void SetDescription(const char *value)
Definition: GetFilterResult.h:92
Aws::GuardDuty::Model::GetFilterResult::GetFindingCriteria
const FindingCriteria & GetFindingCriteria() const
Definition: GetFilterResult.h:163
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
FindingCriteria.h
Aws::GuardDuty::Model::GetFilterResult::WithName
GetFilterResult & WithName(Aws::String &&value)
Definition: GetFilterResult.h:66
Aws::GuardDuty::Model::GetFilterResult::AddTags
GetFilterResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: GetFilterResult.h:214
Aws::GuardDuty::Model::GetFilterResult::WithTags
GetFilterResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetFilterResult.h:209