AWS SDK for C++  1.9.102
AWS SDK for C++
FindingsFilterListItem.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Macie2
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
47  inline const FindingsFilterAction& GetAction() const{ return m_action; }
48 
54  inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
55 
61  inline void SetAction(const FindingsFilterAction& value) { m_actionHasBeenSet = true; m_action = value; }
62 
68  inline void SetAction(FindingsFilterAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
69 
75  inline FindingsFilterListItem& WithAction(const FindingsFilterAction& value) { SetAction(value); return *this;}
76 
82  inline FindingsFilterListItem& WithAction(FindingsFilterAction&& value) { SetAction(std::move(value)); return *this;}
83 
84 
88  inline const Aws::String& GetArn() const{ return m_arn; }
89 
93  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
94 
98  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
99 
103  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
104 
108  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
109 
113  inline FindingsFilterListItem& WithArn(const Aws::String& value) { SetArn(value); return *this;}
114 
118  inline FindingsFilterListItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
119 
123  inline FindingsFilterListItem& WithArn(const char* value) { SetArn(value); return *this;}
124 
125 
129  inline const Aws::String& GetId() const{ return m_id; }
130 
134  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
135 
139  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
140 
144  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
145 
149  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
150 
154  inline FindingsFilterListItem& WithId(const Aws::String& value) { SetId(value); return *this;}
155 
159  inline FindingsFilterListItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
160 
164  inline FindingsFilterListItem& WithId(const char* value) { SetId(value); return *this;}
165 
166 
170  inline const Aws::String& GetName() const{ return m_name; }
171 
175  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
176 
180  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
181 
185  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
186 
190  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
191 
195  inline FindingsFilterListItem& WithName(const Aws::String& value) { SetName(value); return *this;}
196 
200  inline FindingsFilterListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
201 
205  inline FindingsFilterListItem& WithName(const char* value) { SetName(value); return *this;}
206 
207 
212  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
213 
218  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
219 
224  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
225 
230  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
231 
236  inline FindingsFilterListItem& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
237 
242  inline FindingsFilterListItem& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
243 
248  inline FindingsFilterListItem& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
249 
254  inline FindingsFilterListItem& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
255 
260  inline FindingsFilterListItem& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
261 
266  inline FindingsFilterListItem& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
267 
272  inline FindingsFilterListItem& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
273 
278  inline FindingsFilterListItem& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
279 
284  inline FindingsFilterListItem& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
285 
286  private:
287 
288  FindingsFilterAction m_action;
289  bool m_actionHasBeenSet;
290 
291  Aws::String m_arn;
292  bool m_arnHasBeenSet;
293 
294  Aws::String m_id;
295  bool m_idHasBeenSet;
296 
297  Aws::String m_name;
298  bool m_nameHasBeenSet;
299 
301  bool m_tagsHasBeenSet;
302  };
303 
304 } // namespace Model
305 } // namespace Macie2
306 } // namespace Aws
Aws::Macie2::Model::FindingsFilterAction
FindingsFilterAction
Definition: FindingsFilterAction.h:17
FindingsFilterAction.h
Aws::Macie2::Model::FindingsFilterListItem::SetAction
void SetAction(const FindingsFilterAction &value)
Definition: FindingsFilterListItem.h:61
Aws::Macie2::Model::FindingsFilterListItem::WithId
FindingsFilterListItem & WithId(Aws::String &&value)
Definition: FindingsFilterListItem.h:159
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::FindingsFilterListItem::GetId
const Aws::String & GetId() const
Definition: FindingsFilterListItem.h:129
Aws::Macie2::Model::FindingsFilterListItem::WithId
FindingsFilterListItem & WithId(const Aws::String &value)
Definition: FindingsFilterListItem.h:154
Aws::Macie2::Model::FindingsFilterListItem::NameHasBeenSet
bool NameHasBeenSet() const
Definition: FindingsFilterListItem.h:175
Aws::Macie2::Model::FindingsFilterListItem::operator=
FindingsFilterListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::FindingsFilterListItem::GetName
const Aws::String & GetName() const
Definition: FindingsFilterListItem.h:170
Aws::Macie2::Model::FindingsFilterListItem::GetArn
const Aws::String & GetArn() const
Definition: FindingsFilterListItem.h:88
Aws::Macie2::Model::FindingsFilterListItem::WithName
FindingsFilterListItem & WithName(Aws::String &&value)
Definition: FindingsFilterListItem.h:200
Aws::Macie2::Model::FindingsFilterListItem::WithTags
FindingsFilterListItem & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: FindingsFilterListItem.h:236
Aws::Macie2::Model::FindingsFilterListItem::IdHasBeenSet
bool IdHasBeenSet() const
Definition: FindingsFilterListItem.h:134
Aws::Macie2::Model::FindingsFilterListItem::AddTags
FindingsFilterListItem & AddTags(const char *key, Aws::String &&value)
Definition: FindingsFilterListItem.h:272
Aws::Macie2::Model::FindingsFilterListItem::WithName
FindingsFilterListItem & WithName(const char *value)
Definition: FindingsFilterListItem.h:205
Macie2_EXPORTS.h
Aws::Macie2::Model::FindingsFilterListItem::WithId
FindingsFilterListItem & WithId(const char *value)
Definition: FindingsFilterListItem.h:164
Aws::Macie2::Model::FindingsFilterListItem::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: FindingsFilterListItem.h:224
Aws::Macie2::Model::FindingsFilterListItem::WithTags
FindingsFilterListItem & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: FindingsFilterListItem.h:242
Aws::Macie2::Model::FindingsFilterListItem::WithName
FindingsFilterListItem & WithName(const Aws::String &value)
Definition: FindingsFilterListItem.h:195
Aws::Macie2::Model::FindingsFilterListItem::SetArn
void SetArn(Aws::String &&value)
Definition: FindingsFilterListItem.h:103
Aws::Macie2::Model::FindingsFilterListItem::AddTags
FindingsFilterListItem & AddTags(Aws::String &&key, const char *value)
Definition: FindingsFilterListItem.h:278
Aws::Macie2::Model::FindingsFilterListItem::SetId
void SetId(const char *value)
Definition: FindingsFilterListItem.h:149
Aws::Macie2::Model::FindingsFilterListItem::SetArn
void SetArn(const char *value)
Definition: FindingsFilterListItem.h:108
Aws::Macie2::Model::FindingsFilterListItem::SetArn
void SetArn(const Aws::String &value)
Definition: FindingsFilterListItem.h:98
Aws::Macie2::Model::FindingsFilterListItem::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: FindingsFilterListItem.h:93
Aws::Macie2::Model::FindingsFilterListItem::SetId
void SetId(Aws::String &&value)
Definition: FindingsFilterListItem.h:144
Aws::Macie2::Model::FindingsFilterListItem::SetName
void SetName(const Aws::String &value)
Definition: FindingsFilterListItem.h:180
Aws::Macie2::Model::FindingsFilterListItem::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: FindingsFilterListItem.h:218
Aws::Macie2::Model::FindingsFilterListItem::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Macie2::Model::FindingsFilterListItem::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: FindingsFilterListItem.h:230
Aws::Macie2::Model::FindingsFilterListItem::FindingsFilterListItem
FindingsFilterListItem()
Aws::Macie2::Model::FindingsFilterListItem::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: FindingsFilterListItem.h:212
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Macie2::Model::FindingsFilterListItem::WithAction
FindingsFilterListItem & WithAction(const FindingsFilterAction &value)
Definition: FindingsFilterListItem.h:75
Aws::Macie2::Model::FindingsFilterListItem
Definition: FindingsFilterListItem.h:34
Aws::Macie2::Model::FindingsFilterListItem::WithArn
FindingsFilterListItem & WithArn(const Aws::String &value)
Definition: FindingsFilterListItem.h:113
Aws::Macie2::Model::FindingsFilterListItem::WithArn
FindingsFilterListItem & WithArn(const char *value)
Definition: FindingsFilterListItem.h:123
Aws::Macie2::Model::FindingsFilterListItem::SetAction
void SetAction(FindingsFilterAction &&value)
Definition: FindingsFilterListItem.h:68
Aws::Macie2::Model::FindingsFilterListItem::WithAction
FindingsFilterListItem & WithAction(FindingsFilterAction &&value)
Definition: FindingsFilterListItem.h:82
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::FindingsFilterListItem::FindingsFilterListItem
FindingsFilterListItem(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::FindingsFilterListItem::AddTags
FindingsFilterListItem & AddTags(Aws::String &&key, const Aws::String &value)
Definition: FindingsFilterListItem.h:254
Aws::Macie2::Model::FindingsFilterListItem::AddTags
FindingsFilterListItem & AddTags(const Aws::String &key, const Aws::String &value)
Definition: FindingsFilterListItem.h:248
Aws::Macie2::Model::FindingsFilterListItem::AddTags
FindingsFilterListItem & AddTags(const char *key, const char *value)
Definition: FindingsFilterListItem.h:284
Aws::Macie2::Model::FindingsFilterListItem::AddTags
FindingsFilterListItem & AddTags(Aws::String &&key, Aws::String &&value)
Definition: FindingsFilterListItem.h:266
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Macie2::Model::FindingsFilterListItem::SetName
void SetName(const char *value)
Definition: FindingsFilterListItem.h:190
Aws::Macie2::Model::FindingsFilterListItem::ActionHasBeenSet
bool ActionHasBeenSet() const
Definition: FindingsFilterListItem.h:54
Aws::Macie2::Model::FindingsFilterListItem::WithArn
FindingsFilterListItem & WithArn(Aws::String &&value)
Definition: FindingsFilterListItem.h:118
AWSMap.h
Aws::Macie2::Model::FindingsFilterListItem::SetName
void SetName(Aws::String &&value)
Definition: FindingsFilterListItem.h:185
Aws::Macie2::Model::FindingsFilterListItem::GetAction
const FindingsFilterAction & GetAction() const
Definition: FindingsFilterListItem.h:47
Aws::Macie2::Model::FindingsFilterListItem::SetId
void SetId(const Aws::String &value)
Definition: FindingsFilterListItem.h:139
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Macie2::Model::FindingsFilterListItem::AddTags
FindingsFilterListItem & AddTags(const Aws::String &key, Aws::String &&value)
Definition: FindingsFilterListItem.h:260