AWS SDK for C++  1.9.155
AWS SDK for C++
Finding.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24  class JsonView;
25 } // namespace Json
26 } // namespace Utils
27 namespace AccessAnalyzer
28 {
29 namespace Model
30 {
31 
38  {
39  public:
44 
45 
50  inline const Aws::Vector<Aws::String>& GetAction() const{ return m_action; }
51 
56  inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
57 
62  inline void SetAction(const Aws::Vector<Aws::String>& value) { m_actionHasBeenSet = true; m_action = value; }
63 
68  inline void SetAction(Aws::Vector<Aws::String>&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
69 
74  inline Finding& WithAction(const Aws::Vector<Aws::String>& value) { SetAction(value); return *this;}
75 
80  inline Finding& WithAction(Aws::Vector<Aws::String>&& value) { SetAction(std::move(value)); return *this;}
81 
86  inline Finding& AddAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action.push_back(value); return *this; }
87 
92  inline Finding& AddAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action.push_back(std::move(value)); return *this; }
93 
98  inline Finding& AddAction(const char* value) { m_actionHasBeenSet = true; m_action.push_back(value); return *this; }
99 
100 
104  inline const Aws::Utils::DateTime& GetAnalyzedAt() const{ return m_analyzedAt; }
105 
109  inline bool AnalyzedAtHasBeenSet() const { return m_analyzedAtHasBeenSet; }
110 
114  inline void SetAnalyzedAt(const Aws::Utils::DateTime& value) { m_analyzedAtHasBeenSet = true; m_analyzedAt = value; }
115 
119  inline void SetAnalyzedAt(Aws::Utils::DateTime&& value) { m_analyzedAtHasBeenSet = true; m_analyzedAt = std::move(value); }
120 
124  inline Finding& WithAnalyzedAt(const Aws::Utils::DateTime& value) { SetAnalyzedAt(value); return *this;}
125 
129  inline Finding& WithAnalyzedAt(Aws::Utils::DateTime&& value) { SetAnalyzedAt(std::move(value)); return *this;}
130 
131 
136  inline const Aws::Map<Aws::String, Aws::String>& GetCondition() const{ return m_condition; }
137 
142  inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
143 
148  inline void SetCondition(const Aws::Map<Aws::String, Aws::String>& value) { m_conditionHasBeenSet = true; m_condition = value; }
149 
154  inline void SetCondition(Aws::Map<Aws::String, Aws::String>&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
155 
160  inline Finding& WithCondition(const Aws::Map<Aws::String, Aws::String>& value) { SetCondition(value); return *this;}
161 
166  inline Finding& WithCondition(Aws::Map<Aws::String, Aws::String>&& value) { SetCondition(std::move(value)); return *this;}
167 
172  inline Finding& AddCondition(const Aws::String& key, const Aws::String& value) { m_conditionHasBeenSet = true; m_condition.emplace(key, value); return *this; }
173 
178  inline Finding& AddCondition(Aws::String&& key, const Aws::String& value) { m_conditionHasBeenSet = true; m_condition.emplace(std::move(key), value); return *this; }
179 
184  inline Finding& AddCondition(const Aws::String& key, Aws::String&& value) { m_conditionHasBeenSet = true; m_condition.emplace(key, std::move(value)); return *this; }
185 
190  inline Finding& AddCondition(Aws::String&& key, Aws::String&& value) { m_conditionHasBeenSet = true; m_condition.emplace(std::move(key), std::move(value)); return *this; }
191 
196  inline Finding& AddCondition(const char* key, Aws::String&& value) { m_conditionHasBeenSet = true; m_condition.emplace(key, std::move(value)); return *this; }
197 
202  inline Finding& AddCondition(Aws::String&& key, const char* value) { m_conditionHasBeenSet = true; m_condition.emplace(std::move(key), value); return *this; }
203 
208  inline Finding& AddCondition(const char* key, const char* value) { m_conditionHasBeenSet = true; m_condition.emplace(key, value); return *this; }
209 
210 
214  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
215 
219  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
220 
224  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
225 
229  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
230 
234  inline Finding& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
235 
239  inline Finding& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
240 
241 
245  inline const Aws::String& GetError() const{ return m_error; }
246 
250  inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
251 
255  inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; }
256 
260  inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
261 
265  inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); }
266 
270  inline Finding& WithError(const Aws::String& value) { SetError(value); return *this;}
271 
275  inline Finding& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
276 
280  inline Finding& WithError(const char* value) { SetError(value); return *this;}
281 
282 
286  inline const Aws::String& GetId() const{ return m_id; }
287 
291  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
292 
296  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
297 
301  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
302 
306  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
307 
311  inline Finding& WithId(const Aws::String& value) { SetId(value); return *this;}
312 
316  inline Finding& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
317 
321  inline Finding& WithId(const char* value) { SetId(value); return *this;}
322 
323 
328  inline bool GetIsPublic() const{ return m_isPublic; }
329 
334  inline bool IsPublicHasBeenSet() const { return m_isPublicHasBeenSet; }
335 
340  inline void SetIsPublic(bool value) { m_isPublicHasBeenSet = true; m_isPublic = value; }
341 
346  inline Finding& WithIsPublic(bool value) { SetIsPublic(value); return *this;}
347 
348 
353  inline const Aws::Map<Aws::String, Aws::String>& GetPrincipal() const{ return m_principal; }
354 
359  inline bool PrincipalHasBeenSet() const { return m_principalHasBeenSet; }
360 
365  inline void SetPrincipal(const Aws::Map<Aws::String, Aws::String>& value) { m_principalHasBeenSet = true; m_principal = value; }
366 
371  inline void SetPrincipal(Aws::Map<Aws::String, Aws::String>&& value) { m_principalHasBeenSet = true; m_principal = std::move(value); }
372 
377  inline Finding& WithPrincipal(const Aws::Map<Aws::String, Aws::String>& value) { SetPrincipal(value); return *this;}
378 
383  inline Finding& WithPrincipal(Aws::Map<Aws::String, Aws::String>&& value) { SetPrincipal(std::move(value)); return *this;}
384 
389  inline Finding& AddPrincipal(const Aws::String& key, const Aws::String& value) { m_principalHasBeenSet = true; m_principal.emplace(key, value); return *this; }
390 
395  inline Finding& AddPrincipal(Aws::String&& key, const Aws::String& value) { m_principalHasBeenSet = true; m_principal.emplace(std::move(key), value); return *this; }
396 
401  inline Finding& AddPrincipal(const Aws::String& key, Aws::String&& value) { m_principalHasBeenSet = true; m_principal.emplace(key, std::move(value)); return *this; }
402 
407  inline Finding& AddPrincipal(Aws::String&& key, Aws::String&& value) { m_principalHasBeenSet = true; m_principal.emplace(std::move(key), std::move(value)); return *this; }
408 
413  inline Finding& AddPrincipal(const char* key, Aws::String&& value) { m_principalHasBeenSet = true; m_principal.emplace(key, std::move(value)); return *this; }
414 
419  inline Finding& AddPrincipal(Aws::String&& key, const char* value) { m_principalHasBeenSet = true; m_principal.emplace(std::move(key), value); return *this; }
420 
425  inline Finding& AddPrincipal(const char* key, const char* value) { m_principalHasBeenSet = true; m_principal.emplace(key, value); return *this; }
426 
427 
431  inline const Aws::String& GetResource() const{ return m_resource; }
432 
436  inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
437 
441  inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
442 
446  inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
447 
451  inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
452 
456  inline Finding& WithResource(const Aws::String& value) { SetResource(value); return *this;}
457 
461  inline Finding& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
462 
466  inline Finding& WithResource(const char* value) { SetResource(value); return *this;}
467 
468 
472  inline const Aws::String& GetResourceOwnerAccount() const{ return m_resourceOwnerAccount; }
473 
477  inline bool ResourceOwnerAccountHasBeenSet() const { return m_resourceOwnerAccountHasBeenSet; }
478 
482  inline void SetResourceOwnerAccount(const Aws::String& value) { m_resourceOwnerAccountHasBeenSet = true; m_resourceOwnerAccount = value; }
483 
487  inline void SetResourceOwnerAccount(Aws::String&& value) { m_resourceOwnerAccountHasBeenSet = true; m_resourceOwnerAccount = std::move(value); }
488 
492  inline void SetResourceOwnerAccount(const char* value) { m_resourceOwnerAccountHasBeenSet = true; m_resourceOwnerAccount.assign(value); }
493 
497  inline Finding& WithResourceOwnerAccount(const Aws::String& value) { SetResourceOwnerAccount(value); return *this;}
498 
502  inline Finding& WithResourceOwnerAccount(Aws::String&& value) { SetResourceOwnerAccount(std::move(value)); return *this;}
503 
507  inline Finding& WithResourceOwnerAccount(const char* value) { SetResourceOwnerAccount(value); return *this;}
508 
509 
513  inline const ResourceType& GetResourceType() const{ return m_resourceType; }
514 
518  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
519 
523  inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
524 
528  inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
529 
533  inline Finding& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
534 
538  inline Finding& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
539 
540 
545  inline const Aws::Vector<FindingSource>& GetSources() const{ return m_sources; }
546 
551  inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
552 
557  inline void SetSources(const Aws::Vector<FindingSource>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
558 
563  inline void SetSources(Aws::Vector<FindingSource>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
564 
569  inline Finding& WithSources(const Aws::Vector<FindingSource>& value) { SetSources(value); return *this;}
570 
575  inline Finding& WithSources(Aws::Vector<FindingSource>&& value) { SetSources(std::move(value)); return *this;}
576 
581  inline Finding& AddSources(const FindingSource& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
582 
587  inline Finding& AddSources(FindingSource&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
588 
589 
593  inline const FindingStatus& GetStatus() const{ return m_status; }
594 
598  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
599 
603  inline void SetStatus(const FindingStatus& value) { m_statusHasBeenSet = true; m_status = value; }
604 
608  inline void SetStatus(FindingStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
609 
613  inline Finding& WithStatus(const FindingStatus& value) { SetStatus(value); return *this;}
614 
618  inline Finding& WithStatus(FindingStatus&& value) { SetStatus(std::move(value)); return *this;}
619 
620 
624  inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
625 
629  inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
630 
634  inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
635 
639  inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
640 
644  inline Finding& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
645 
649  inline Finding& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
650 
651  private:
652 
653  Aws::Vector<Aws::String> m_action;
654  bool m_actionHasBeenSet;
655 
656  Aws::Utils::DateTime m_analyzedAt;
657  bool m_analyzedAtHasBeenSet;
658 
660  bool m_conditionHasBeenSet;
661 
662  Aws::Utils::DateTime m_createdAt;
663  bool m_createdAtHasBeenSet;
664 
665  Aws::String m_error;
666  bool m_errorHasBeenSet;
667 
668  Aws::String m_id;
669  bool m_idHasBeenSet;
670 
671  bool m_isPublic;
672  bool m_isPublicHasBeenSet;
673 
675  bool m_principalHasBeenSet;
676 
677  Aws::String m_resource;
678  bool m_resourceHasBeenSet;
679 
680  Aws::String m_resourceOwnerAccount;
681  bool m_resourceOwnerAccountHasBeenSet;
682 
683  ResourceType m_resourceType;
684  bool m_resourceTypeHasBeenSet;
685 
686  Aws::Vector<FindingSource> m_sources;
687  bool m_sourcesHasBeenSet;
688 
689  FindingStatus m_status;
690  bool m_statusHasBeenSet;
691 
692  Aws::Utils::DateTime m_updatedAt;
693  bool m_updatedAtHasBeenSet;
694  };
695 
696 } // namespace Model
697 } // namespace AccessAnalyzer
698 } // namespace Aws
Aws::AccessAnalyzer::Model::Finding::WithAction
Finding & WithAction(Aws::Vector< Aws::String > &&value)
Definition: Finding.h:80
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AccessAnalyzer::Model::Finding::SetError
void SetError(Aws::String &&value)
Definition: Finding.h:260
Aws::AccessAnalyzer::Model::Finding::WithSources
Finding & WithSources(const Aws::Vector< FindingSource > &value)
Definition: Finding.h:569
Aws::AccessAnalyzer::Model::Finding::AddPrincipal
Finding & AddPrincipal(Aws::String &&key, const char *value)
Definition: Finding.h:419
Aws::AccessAnalyzer::Model::Finding::WithResource
Finding & WithResource(Aws::String &&value)
Definition: Finding.h:461
Aws::AccessAnalyzer::Model::Finding::GetStatus
const FindingStatus & GetStatus() const
Definition: Finding.h:593
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::Finding::AddPrincipal
Finding & AddPrincipal(const Aws::String &key, Aws::String &&value)
Definition: Finding.h:401
Aws::AccessAnalyzer::Model::Finding::ConditionHasBeenSet
bool ConditionHasBeenSet() const
Definition: Finding.h:142
Aws::AccessAnalyzer::Model::Finding::Finding
Finding(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::Finding::WithPrincipal
Finding & WithPrincipal(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Finding.h:377
Aws::AccessAnalyzer::Model::Finding::WithResourceOwnerAccount
Finding & WithResourceOwnerAccount(Aws::String &&value)
Definition: Finding.h:502
Aws::AccessAnalyzer::Model::Finding::WithId
Finding & WithId(const Aws::String &value)
Definition: Finding.h:311
Aws::AccessAnalyzer::Model::Finding::WithCondition
Finding & WithCondition(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Finding.h:166
Aws::AccessAnalyzer::Model::Finding::SetPrincipal
void SetPrincipal(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Finding.h:371
Aws::AccessAnalyzer::Model::Finding::SetResourceType
void SetResourceType(const ResourceType &value)
Definition: Finding.h:523
Aws::AccessAnalyzer::Model::Finding::WithAction
Finding & WithAction(const Aws::Vector< Aws::String > &value)
Definition: Finding.h:74
Aws::AccessAnalyzer::Model::Finding::SetId
void SetId(const char *value)
Definition: Finding.h:306
Aws::AccessAnalyzer::Model::Finding::GetCondition
const Aws::Map< Aws::String, Aws::String > & GetCondition() const
Definition: Finding.h:136
Aws::AccessAnalyzer::Model::Finding::AddPrincipal
Finding & AddPrincipal(const char *key, Aws::String &&value)
Definition: Finding.h:413
Aws::AccessAnalyzer::Model::Finding::SetAnalyzedAt
void SetAnalyzedAt(const Aws::Utils::DateTime &value)
Definition: Finding.h:114
Aws::AccessAnalyzer::Model::Finding::SetResourceOwnerAccount
void SetResourceOwnerAccount(const char *value)
Definition: Finding.h:492
DateTime.h
Aws::AccessAnalyzer::Model::Finding::WithResourceOwnerAccount
Finding & WithResourceOwnerAccount(const Aws::String &value)
Definition: Finding.h:497
Aws::AccessAnalyzer::Model::Finding::GetAction
const Aws::Vector< Aws::String > & GetAction() const
Definition: Finding.h:50
Aws::AccessAnalyzer::Model::Finding::WithCreatedAt
Finding & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: Finding.h:234
Aws::AccessAnalyzer::Model::Finding::GetIsPublic
bool GetIsPublic() const
Definition: Finding.h:328
Aws::AccessAnalyzer::Model::Finding::GetId
const Aws::String & GetId() const
Definition: Finding.h:286
Aws::AccessAnalyzer::Model::Finding::WithCondition
Finding & WithCondition(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Finding.h:160
Aws::AccessAnalyzer::Model::Finding::AddPrincipal
Finding & AddPrincipal(const Aws::String &key, const Aws::String &value)
Definition: Finding.h:389
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AccessAnalyzer::Model::Finding::UpdatedAtHasBeenSet
bool UpdatedAtHasBeenSet() const
Definition: Finding.h:629
Aws::AccessAnalyzer::Model::Finding::SetCondition
void SetCondition(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Finding.h:148
Aws::AccessAnalyzer::Model::Finding::GetSources
const Aws::Vector< FindingSource > & GetSources() const
Definition: Finding.h:545
Aws::AccessAnalyzer::Model::Finding::WithAnalyzedAt
Finding & WithAnalyzedAt(Aws::Utils::DateTime &&value)
Definition: Finding.h:129
Aws::AccessAnalyzer::Model::Finding::AddCondition
Finding & AddCondition(Aws::String &&key, Aws::String &&value)
Definition: Finding.h:190
Aws::AccessAnalyzer::Model::Finding::IdHasBeenSet
bool IdHasBeenSet() const
Definition: Finding.h:291
Aws::AccessAnalyzer::Model::Finding::AnalyzedAtHasBeenSet
bool AnalyzedAtHasBeenSet() const
Definition: Finding.h:109
Aws::AccessAnalyzer::Model::Finding::WithAnalyzedAt
Finding & WithAnalyzedAt(const Aws::Utils::DateTime &value)
Definition: Finding.h:124
Aws::AccessAnalyzer::Model::Finding::SetUpdatedAt
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition: Finding.h:634
AWSVector.h
Aws::AccessAnalyzer::Model::Finding::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: Finding.h:518
Aws::AccessAnalyzer::Model::Finding::GetAnalyzedAt
const Aws::Utils::DateTime & GetAnalyzedAt() const
Definition: Finding.h:104
Aws::AccessAnalyzer::Model::Finding::WithPrincipal
Finding & WithPrincipal(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Finding.h:383
Aws::AccessAnalyzer::Model::Finding::GetResourceType
const ResourceType & GetResourceType() const
Definition: Finding.h:513
Aws::AccessAnalyzer::Model::Finding::WithId
Finding & WithId(Aws::String &&value)
Definition: Finding.h:316
Aws::AccessAnalyzer::Model::Finding::AddCondition
Finding & AddCondition(const Aws::String &key, const Aws::String &value)
Definition: Finding.h:172
Aws::AccessAnalyzer::Model::Finding::SetAction
void SetAction(const Aws::Vector< Aws::String > &value)
Definition: Finding.h:62
Aws::AccessAnalyzer::Model::Finding::WithUpdatedAt
Finding & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition: Finding.h:649
Aws::AccessAnalyzer::Model::Finding
Definition: Finding.h:38
Aws::AccessAnalyzer::Model::Finding::SetResourceOwnerAccount
void SetResourceOwnerAccount(Aws::String &&value)
Definition: Finding.h:487
Aws::AccessAnalyzer::Model::Finding::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: Finding.h:229
Aws::AccessAnalyzer::Model::Finding::AddSources
Finding & AddSources(const FindingSource &value)
Definition: Finding.h:581
Aws::AccessAnalyzer::Model::Finding::WithResourceOwnerAccount
Finding & WithResourceOwnerAccount(const char *value)
Definition: Finding.h:507
Aws::AccessAnalyzer::Model::Finding::AddAction
Finding & AddAction(const Aws::String &value)
Definition: Finding.h:86
Aws::AccessAnalyzer::Model::Finding::WithResourceType
Finding & WithResourceType(ResourceType &&value)
Definition: Finding.h:538
Aws::AccessAnalyzer::Model::Finding::SetUpdatedAt
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition: Finding.h:639
Aws::AccessAnalyzer::Model::Finding::SetResourceType
void SetResourceType(ResourceType &&value)
Definition: Finding.h:528
Aws::AccessAnalyzer::Model::Finding::SetSources
void SetSources(Aws::Vector< FindingSource > &&value)
Definition: Finding.h:563
Aws::AccessAnalyzer::Model::Finding::AddAction
Finding & AddAction(Aws::String &&value)
Definition: Finding.h:92
Aws::AccessAnalyzer::Model::Finding::WithId
Finding & WithId(const char *value)
Definition: Finding.h:321
Aws::AccessAnalyzer::Model::Finding::SetCondition
void SetCondition(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Finding.h:154
Aws::AccessAnalyzer::Model::Finding::SetError
void SetError(const char *value)
Definition: Finding.h:265
Aws::AccessAnalyzer::Model::Finding::SetStatus
void SetStatus(const FindingStatus &value)
Definition: Finding.h:603
Aws::AccessAnalyzer::Model::Finding::WithResourceType
Finding & WithResourceType(const ResourceType &value)
Definition: Finding.h:533
Aws::AccessAnalyzer::Model::Finding::SetResourceOwnerAccount
void SetResourceOwnerAccount(const Aws::String &value)
Definition: Finding.h:482
Aws::AccessAnalyzer::Model::Finding::SetResource
void SetResource(const char *value)
Definition: Finding.h:451
Aws::AccessAnalyzer::Model::Finding::WithSources
Finding & WithSources(Aws::Vector< FindingSource > &&value)
Definition: Finding.h:575
Aws::AccessAnalyzer::Model::Finding::PrincipalHasBeenSet
bool PrincipalHasBeenSet() const
Definition: Finding.h:359
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::AccessAnalyzer::Model::Finding::AddPrincipal
Finding & AddPrincipal(Aws::String &&key, Aws::String &&value)
Definition: Finding.h:407
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AccessAnalyzer::Model::Finding::SetAction
void SetAction(Aws::Vector< Aws::String > &&value)
Definition: Finding.h:68
Aws::AccessAnalyzer::Model::Finding::AddCondition
Finding & AddCondition(const char *key, const char *value)
Definition: Finding.h:208
Aws::AccessAnalyzer::Model::Finding::ActionHasBeenSet
bool ActionHasBeenSet() const
Definition: Finding.h:56
Aws::AccessAnalyzer::Model::Finding::GetResourceOwnerAccount
const Aws::String & GetResourceOwnerAccount() const
Definition: Finding.h:472
Aws::AccessAnalyzer::Model::Finding::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: Finding.h:214
Aws::AccessAnalyzer::Model::Finding::AddCondition
Finding & AddCondition(const char *key, Aws::String &&value)
Definition: Finding.h:196
Aws::AccessAnalyzer::Model::Finding::operator=
Finding & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::Finding::ResourceOwnerAccountHasBeenSet
bool ResourceOwnerAccountHasBeenSet() const
Definition: Finding.h:477
Aws::AccessAnalyzer::Model::Finding::Finding
Finding()
Aws::AccessAnalyzer::Model::Finding::SetResource
void SetResource(Aws::String &&value)
Definition: Finding.h:446
Aws::AccessAnalyzer::Model::Finding::WithError
Finding & WithError(Aws::String &&value)
Definition: Finding.h:275
Aws::AccessAnalyzer::Model::Finding::SetId
void SetId(const Aws::String &value)
Definition: Finding.h:296
Aws::AccessAnalyzer::Model::Finding::SetStatus
void SetStatus(FindingStatus &&value)
Definition: Finding.h:608
Aws::AccessAnalyzer::Model::Finding::AddPrincipal
Finding & AddPrincipal(const char *key, const char *value)
Definition: Finding.h:425
FindingSource.h
Aws::AccessAnalyzer::Model::Finding::WithUpdatedAt
Finding & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition: Finding.h:644
Aws::AccessAnalyzer::Model::Finding::AddSources
Finding & AddSources(FindingSource &&value)
Definition: Finding.h:587
Aws::AccessAnalyzer::Model::Finding::WithStatus
Finding & WithStatus(FindingStatus &&value)
Definition: Finding.h:618
Aws::AccessAnalyzer::Model::Finding::WithError
Finding & WithError(const Aws::String &value)
Definition: Finding.h:270
Aws::AccessAnalyzer::Model::Finding::WithIsPublic
Finding & WithIsPublic(bool value)
Definition: Finding.h:346
Aws::AccessAnalyzer::Model::Finding::ErrorHasBeenSet
bool ErrorHasBeenSet() const
Definition: Finding.h:250
Aws::AccessAnalyzer::Model::Finding::GetUpdatedAt
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition: Finding.h:624
Aws::AccessAnalyzer::Model::FindingStatus
FindingStatus
Definition: FindingStatus.h:17
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::AccessAnalyzer::Model::Finding::WithResource
Finding & WithResource(const Aws::String &value)
Definition: Finding.h:456
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::Finding::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: Finding.h:219
Aws::AccessAnalyzer::Model::Finding::WithError
Finding & WithError(const char *value)
Definition: Finding.h:280
Aws::AccessAnalyzer::Model::Finding::SetError
void SetError(const Aws::String &value)
Definition: Finding.h:255
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::Finding::IsPublicHasBeenSet
bool IsPublicHasBeenSet() const
Definition: Finding.h:334
Aws::AccessAnalyzer::Model::Finding::AddCondition
Finding & AddCondition(Aws::String &&key, const Aws::String &value)
Definition: Finding.h:178
Aws::AccessAnalyzer::Model::Finding::AddAction
Finding & AddAction(const char *value)
Definition: Finding.h:98
Aws::AccessAnalyzer::Model::Finding::GetError
const Aws::String & GetError() const
Definition: Finding.h:245
Aws::AccessAnalyzer::Model::Finding::SetSources
void SetSources(const Aws::Vector< FindingSource > &value)
Definition: Finding.h:557
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::Finding::WithStatus
Finding & WithStatus(const FindingStatus &value)
Definition: Finding.h:613
Aws::AccessAnalyzer::Model::FindingSource
Definition: FindingSource.h:35
Aws::AccessAnalyzer::Model::Finding::GetPrincipal
const Aws::Map< Aws::String, Aws::String > & GetPrincipal() const
Definition: Finding.h:353
Aws::AccessAnalyzer::Model::Finding::SetId
void SetId(Aws::String &&value)
Definition: Finding.h:301
Aws::AccessAnalyzer::Model::ResourceType
ResourceType
Definition: ResourceType.h:17
FindingStatus.h
Aws::AccessAnalyzer::Model::Finding::SetIsPublic
void SetIsPublic(bool value)
Definition: Finding.h:340
Aws::AccessAnalyzer::Model::Finding::GetResource
const Aws::String & GetResource() const
Definition: Finding.h:431
Aws::AccessAnalyzer::Model::Finding::ResourceHasBeenSet
bool ResourceHasBeenSet() const
Definition: Finding.h:436
Aws::AccessAnalyzer::Model::Finding::SetPrincipal
void SetPrincipal(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Finding.h:365
Aws::AccessAnalyzer::Model::Finding::WithCreatedAt
Finding & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: Finding.h:239
Aws::AccessAnalyzer::Model::Finding::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Finding.h:598
Aws::AccessAnalyzer::Model::Finding::SetAnalyzedAt
void SetAnalyzedAt(Aws::Utils::DateTime &&value)
Definition: Finding.h:119
Aws::AccessAnalyzer::Model::Finding::AddCondition
Finding & AddCondition(const Aws::String &key, Aws::String &&value)
Definition: Finding.h:184
Aws::AccessAnalyzer::Model::Finding::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: Finding.h:224
Aws::AccessAnalyzer::Model::Finding::SourcesHasBeenSet
bool SourcesHasBeenSet() const
Definition: Finding.h:551
AWSMap.h
Aws::AccessAnalyzer::Model::Finding::WithResource
Finding & WithResource(const char *value)
Definition: Finding.h:466
Aws::AccessAnalyzer::Model::Finding::AddCondition
Finding & AddCondition(Aws::String &&key, const char *value)
Definition: Finding.h:202
ResourceType.h
Aws::AccessAnalyzer::Model::Finding::SetResource
void SetResource(const Aws::String &value)
Definition: Finding.h:441
Aws::AccessAnalyzer::Model::Finding::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::AccessAnalyzer::Model::Finding::AddPrincipal
Finding & AddPrincipal(Aws::String &&key, const Aws::String &value)
Definition: Finding.h:395