AWS SDK for C++  1.9.155
AWS SDK for C++
GetFindingsFilterResult.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 Macie2
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
43  inline const FindingsFilterAction& GetAction() const{ return m_action; }
44 
50  inline void SetAction(const FindingsFilterAction& value) { m_action = value; }
51 
57  inline void SetAction(FindingsFilterAction&& value) { m_action = std::move(value); }
58 
64  inline GetFindingsFilterResult& WithAction(const FindingsFilterAction& value) { SetAction(value); return *this;}
65 
71  inline GetFindingsFilterResult& WithAction(FindingsFilterAction&& value) { SetAction(std::move(value)); return *this;}
72 
73 
77  inline const Aws::String& GetArn() const{ return m_arn; }
78 
82  inline void SetArn(const Aws::String& value) { m_arn = value; }
83 
87  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
88 
92  inline void SetArn(const char* value) { m_arn.assign(value); }
93 
97  inline GetFindingsFilterResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
98 
102  inline GetFindingsFilterResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
103 
107  inline GetFindingsFilterResult& WithArn(const char* value) { SetArn(value); return *this;}
108 
109 
113  inline const Aws::String& GetDescription() const{ return m_description; }
114 
118  inline void SetDescription(const Aws::String& value) { m_description = value; }
119 
123  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
124 
128  inline void SetDescription(const char* value) { m_description.assign(value); }
129 
133  inline GetFindingsFilterResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
134 
138  inline GetFindingsFilterResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
139 
143  inline GetFindingsFilterResult& WithDescription(const char* value) { SetDescription(value); return *this;}
144 
145 
149  inline const FindingCriteria& GetFindingCriteria() const{ return m_findingCriteria; }
150 
154  inline void SetFindingCriteria(const FindingCriteria& value) { m_findingCriteria = value; }
155 
159  inline void SetFindingCriteria(FindingCriteria&& value) { m_findingCriteria = std::move(value); }
160 
164  inline GetFindingsFilterResult& WithFindingCriteria(const FindingCriteria& value) { SetFindingCriteria(value); return *this;}
165 
169  inline GetFindingsFilterResult& WithFindingCriteria(FindingCriteria&& value) { SetFindingCriteria(std::move(value)); return *this;}
170 
171 
175  inline const Aws::String& GetId() const{ return m_id; }
176 
180  inline void SetId(const Aws::String& value) { m_id = value; }
181 
185  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
186 
190  inline void SetId(const char* value) { m_id.assign(value); }
191 
195  inline GetFindingsFilterResult& WithId(const Aws::String& value) { SetId(value); return *this;}
196 
200  inline GetFindingsFilterResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
201 
205  inline GetFindingsFilterResult& WithId(const char* value) { SetId(value); return *this;}
206 
207 
211  inline const Aws::String& GetName() const{ return m_name; }
212 
216  inline void SetName(const Aws::String& value) { m_name = value; }
217 
221  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
222 
226  inline void SetName(const char* value) { m_name.assign(value); }
227 
231  inline GetFindingsFilterResult& WithName(const Aws::String& value) { SetName(value); return *this;}
232 
236  inline GetFindingsFilterResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
237 
241  inline GetFindingsFilterResult& WithName(const char* value) { SetName(value); return *this;}
242 
243 
249  inline int GetPosition() const{ return m_position; }
250 
256  inline void SetPosition(int value) { m_position = value; }
257 
263  inline GetFindingsFilterResult& WithPosition(int value) { SetPosition(value); return *this;}
264 
265 
270  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
271 
276  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
277 
282  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
283 
288  inline GetFindingsFilterResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
289 
294  inline GetFindingsFilterResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
295 
300  inline GetFindingsFilterResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
301 
306  inline GetFindingsFilterResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
307 
312  inline GetFindingsFilterResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
313 
318  inline GetFindingsFilterResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
319 
324  inline GetFindingsFilterResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
325 
330  inline GetFindingsFilterResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
331 
336  inline GetFindingsFilterResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
337 
338  private:
339 
340  FindingsFilterAction m_action;
341 
342  Aws::String m_arn;
343 
344  Aws::String m_description;
345 
346  FindingCriteria m_findingCriteria;
347 
348  Aws::String m_id;
349 
350  Aws::String m_name;
351 
352  int m_position;
353 
355  };
356 
357 } // namespace Model
358 } // namespace Macie2
359 } // namespace Aws
Aws::Macie2::Model::FindingsFilterAction
FindingsFilterAction
Definition: FindingsFilterAction.h:17
FindingsFilterAction.h
Aws::Macie2::Model::GetFindingsFilterResult::SetArn
void SetArn(const Aws::String &value)
Definition: GetFindingsFilterResult.h:82
Aws::Macie2::Model::GetFindingsFilterResult::AddTags
GetFindingsFilterResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: GetFindingsFilterResult.h:318
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::GetFindingsFilterResult::SetFindingCriteria
void SetFindingCriteria(const FindingCriteria &value)
Definition: GetFindingsFilterResult.h:154
Aws::Macie2::Model::GetFindingsFilterResult::WithTags
GetFindingsFilterResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetFindingsFilterResult.h:294
Aws::Macie2::Model::GetFindingsFilterResult::SetDescription
void SetDescription(const char *value)
Definition: GetFindingsFilterResult.h:128
Aws::Macie2::Model::GetFindingsFilterResult::WithPosition
GetFindingsFilterResult & WithPosition(int value)
Definition: GetFindingsFilterResult.h:263
Macie2_EXPORTS.h
Aws::Macie2::Model::GetFindingsFilterResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetFindingsFilterResult.h:282
Aws::Macie2::Model::FindingCriteria
Definition: FindingCriteria.h:35
Aws::Macie2::Model::GetFindingsFilterResult::GetAction
const FindingsFilterAction & GetAction() const
Definition: GetFindingsFilterResult.h:43
Aws::Macie2::Model::GetFindingsFilterResult::WithDescription
GetFindingsFilterResult & WithDescription(const Aws::String &value)
Definition: GetFindingsFilterResult.h:133
Aws::Macie2::Model::GetFindingsFilterResult::SetArn
void SetArn(const char *value)
Definition: GetFindingsFilterResult.h:92
Aws::Macie2::Model::GetFindingsFilterResult::AddTags
GetFindingsFilterResult & AddTags(const char *key, Aws::String &&value)
Definition: GetFindingsFilterResult.h:324
Aws::Macie2::Model::GetFindingsFilterResult::GetArn
const Aws::String & GetArn() const
Definition: GetFindingsFilterResult.h:77
Aws::Macie2::Model::GetFindingsFilterResult
Definition: GetFindingsFilterResult.h:31
FindingCriteria.h
Aws::Macie2::Model::GetFindingsFilterResult::SetPosition
void SetPosition(int value)
Definition: GetFindingsFilterResult.h:256
Aws::Macie2::Model::GetFindingsFilterResult::AddTags
GetFindingsFilterResult & AddTags(Aws::String &&key, const char *value)
Definition: GetFindingsFilterResult.h:330
Aws::Macie2::Model::GetFindingsFilterResult::GetFindingsFilterResult
GetFindingsFilterResult()
Aws::Macie2::Model::GetFindingsFilterResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetFindingsFilterResult.h:276
Aws::Macie2::Model::GetFindingsFilterResult::WithId
GetFindingsFilterResult & WithId(const Aws::String &value)
Definition: GetFindingsFilterResult.h:195
Aws::Macie2::Model::GetFindingsFilterResult::AddTags
GetFindingsFilterResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: GetFindingsFilterResult.h:306
Aws::Macie2::Model::GetFindingsFilterResult::SetAction
void SetAction(FindingsFilterAction &&value)
Definition: GetFindingsFilterResult.h:57
Aws::Macie2::Model::GetFindingsFilterResult::SetName
void SetName(Aws::String &&value)
Definition: GetFindingsFilterResult.h:221
Aws::Macie2::Model::GetFindingsFilterResult::WithTags
GetFindingsFilterResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetFindingsFilterResult.h:288
Aws::Macie2::Model::GetFindingsFilterResult::SetArn
void SetArn(Aws::String &&value)
Definition: GetFindingsFilterResult.h:87
Aws::Macie2::Model::GetFindingsFilterResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetFindingsFilterResult.h:123
Aws::Macie2::Model::GetFindingsFilterResult::SetFindingCriteria
void SetFindingCriteria(FindingCriteria &&value)
Definition: GetFindingsFilterResult.h:159
Aws::Macie2::Model::GetFindingsFilterResult::AddTags
GetFindingsFilterResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: GetFindingsFilterResult.h:312
Aws::Macie2::Model::GetFindingsFilterResult::SetName
void SetName(const Aws::String &value)
Definition: GetFindingsFilterResult.h:216
Aws::Macie2::Model::GetFindingsFilterResult::WithName
GetFindingsFilterResult & WithName(const char *value)
Definition: GetFindingsFilterResult.h:241
Aws::Macie2::Model::GetFindingsFilterResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetFindingsFilterResult.h:118
Aws::Macie2::Model::GetFindingsFilterResult::operator=
GetFindingsFilterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::GetFindingsFilterResult::WithFindingCriteria
GetFindingsFilterResult & WithFindingCriteria(FindingCriteria &&value)
Definition: GetFindingsFilterResult.h:169
Aws::Macie2::Model::GetFindingsFilterResult::WithFindingCriteria
GetFindingsFilterResult & WithFindingCriteria(const FindingCriteria &value)
Definition: GetFindingsFilterResult.h:164
AWSString.h
Aws::Macie2::Model::GetFindingsFilterResult::GetName
const Aws::String & GetName() const
Definition: GetFindingsFilterResult.h:211
Aws::Macie2::Model::GetFindingsFilterResult::SetName
void SetName(const char *value)
Definition: GetFindingsFilterResult.h:226
Aws::Macie2::Model::GetFindingsFilterResult::GetId
const Aws::String & GetId() const
Definition: GetFindingsFilterResult.h:175
Aws::Macie2::Model::GetFindingsFilterResult::AddTags
GetFindingsFilterResult & AddTags(const char *key, const char *value)
Definition: GetFindingsFilterResult.h:336
Aws::Macie2::Model::GetFindingsFilterResult::SetId
void SetId(Aws::String &&value)
Definition: GetFindingsFilterResult.h:185
Aws::Macie2::Model::GetFindingsFilterResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetFindingsFilterResult.h:113
Aws::Macie2::Model::GetFindingsFilterResult::GetFindingsFilterResult
GetFindingsFilterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::GetFindingsFilterResult::SetId
void SetId(const char *value)
Definition: GetFindingsFilterResult.h:190
Aws::Macie2::Model::GetFindingsFilterResult::WithAction
GetFindingsFilterResult & WithAction(const FindingsFilterAction &value)
Definition: GetFindingsFilterResult.h:64
Aws::Macie2::Model::GetFindingsFilterResult::WithArn
GetFindingsFilterResult & WithArn(const Aws::String &value)
Definition: GetFindingsFilterResult.h:97
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::GetFindingsFilterResult::SetId
void SetId(const Aws::String &value)
Definition: GetFindingsFilterResult.h:180
Aws::Macie2::Model::GetFindingsFilterResult::WithDescription
GetFindingsFilterResult & WithDescription(const char *value)
Definition: GetFindingsFilterResult.h:143
Aws::Macie2::Model::GetFindingsFilterResult::WithDescription
GetFindingsFilterResult & WithDescription(Aws::String &&value)
Definition: GetFindingsFilterResult.h:138
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Macie2::Model::GetFindingsFilterResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: GetFindingsFilterResult.h:270
Aws::Macie2::Model::GetFindingsFilterResult::WithName
GetFindingsFilterResult & WithName(Aws::String &&value)
Definition: GetFindingsFilterResult.h:236
Aws::Macie2::Model::GetFindingsFilterResult::SetAction
void SetAction(const FindingsFilterAction &value)
Definition: GetFindingsFilterResult.h:50
Aws::Macie2::Model::GetFindingsFilterResult::WithArn
GetFindingsFilterResult & WithArn(Aws::String &&value)
Definition: GetFindingsFilterResult.h:102
Aws::Macie2::Model::GetFindingsFilterResult::WithId
GetFindingsFilterResult & WithId(Aws::String &&value)
Definition: GetFindingsFilterResult.h:200
Aws::Macie2::Model::GetFindingsFilterResult::GetFindingCriteria
const FindingCriteria & GetFindingCriteria() const
Definition: GetFindingsFilterResult.h:149
Aws::Macie2::Model::GetFindingsFilterResult::WithName
GetFindingsFilterResult & WithName(const Aws::String &value)
Definition: GetFindingsFilterResult.h:231
Aws::Macie2::Model::GetFindingsFilterResult::WithArn
GetFindingsFilterResult & WithArn(const char *value)
Definition: GetFindingsFilterResult.h:107
AWSMap.h
Aws::Macie2::Model::GetFindingsFilterResult::WithAction
GetFindingsFilterResult & WithAction(FindingsFilterAction &&value)
Definition: GetFindingsFilterResult.h:71
Aws::Macie2::Model::GetFindingsFilterResult::WithId
GetFindingsFilterResult & WithId(const char *value)
Definition: GetFindingsFilterResult.h:205
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Macie2::Model::GetFindingsFilterResult::AddTags
GetFindingsFilterResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: GetFindingsFilterResult.h:300
Aws::Macie2::Model::GetFindingsFilterResult::GetPosition
int GetPosition() const
Definition: GetFindingsFilterResult.h:249