7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/Macie2_EXPORTS.h>
10#include <aws/macie2/model/ClassificationDetails.h>
11#include <aws/macie2/model/FindingCategory.h>
12#include <aws/macie2/model/FindingType.h>
13#include <aws/macie2/model/PolicyDetails.h>
14#include <aws/macie2/model/ResourcesAffected.h>
15#include <aws/macie2/model/Severity.h>
48 template <
typename AccountIdT = Aws::String>
50 m_accountIdHasBeenSet =
true;
51 m_accountId = std::forward<AccountIdT>(value);
53 template <
typename AccountIdT = Aws::String>
67 m_archivedHasBeenSet =
true;
84 m_categoryHasBeenSet =
true;
100 template <
typename ClassificationDetailsT = ClassificationDetails>
102 m_classificationDetailsHasBeenSet =
true;
103 m_classificationDetails = std::forward<ClassificationDetailsT>(value);
105 template <
typename ClassificationDetailsT = ClassificationDetails>
117 inline long long GetCount()
const {
return m_count; }
120 m_countHasBeenSet =
true;
136 template <
typename CreatedAtT = Aws::Utils::DateTime>
138 m_createdAtHasBeenSet =
true;
139 m_createdAt = std::forward<CreatedAtT>(value);
141 template <
typename CreatedAtT = Aws::Utils::DateTime>
154 template <
typename DescriptionT = Aws::String>
156 m_descriptionHasBeenSet =
true;
157 m_description = std::forward<DescriptionT>(value);
159 template <
typename DescriptionT = Aws::String>
173 template <
typename IdT = Aws::String>
175 m_idHasBeenSet =
true;
176 m_id = std::forward<IdT>(value);
178 template <
typename IdT = Aws::String>
180 SetId(std::forward<IdT>(value));
192 template <
typename PartitionT = Aws::String>
194 m_partitionHasBeenSet =
true;
195 m_partition = std::forward<PartitionT>(value);
197 template <
typename PartitionT = Aws::String>
211 template <
typename PolicyDetailsT = PolicyDetails>
213 m_policyDetailsHasBeenSet =
true;
214 m_policyDetails = std::forward<PolicyDetailsT>(value);
216 template <
typename PolicyDetailsT = PolicyDetails>
229 template <
typename RegionT = Aws::String>
231 m_regionHasBeenSet =
true;
232 m_region = std::forward<RegionT>(value);
234 template <
typename RegionT = Aws::String>
247 template <
typename ResourcesAffectedT = ResourcesAffected>
249 m_resourcesAffectedHasBeenSet =
true;
250 m_resourcesAffected = std::forward<ResourcesAffectedT>(value);
252 template <
typename ResourcesAffectedT = ResourcesAffected>
268 m_sampleHasBeenSet =
true;
284 template <
typename SchemaVersionT = Aws::String>
286 m_schemaVersionHasBeenSet =
true;
287 m_schemaVersion = std::forward<SchemaVersionT>(value);
289 template <
typename SchemaVersionT = Aws::String>
302 template <
typename SeverityT = Severity>
304 m_severityHasBeenSet =
true;
305 m_severity = std::forward<SeverityT>(value);
307 template <
typename SeverityT = Severity>
320 template <
typename TitleT = Aws::String>
322 m_titleHasBeenSet =
true;
323 m_title = std::forward<TitleT>(value);
325 template <
typename TitleT = Aws::String>
327 SetTitle(std::forward<TitleT>(value));
339 m_typeHasBeenSet =
true;
357 template <
typename UpdatedAtT = Aws::Utils::DateTime>
359 m_updatedAtHasBeenSet =
true;
360 m_updatedAt = std::forward<UpdatedAtT>(value);
362 template <
typename UpdatedAtT = Aws::Utils::DateTime>
371 bool m_archived{
false};
375 ClassificationDetails m_classificationDetails;
377 long long m_count{0};
387 PolicyDetails m_policyDetails;
391 ResourcesAffected m_resourcesAffected;
393 bool m_sample{
false};
404 bool m_accountIdHasBeenSet =
false;
405 bool m_archivedHasBeenSet =
false;
406 bool m_categoryHasBeenSet =
false;
407 bool m_classificationDetailsHasBeenSet =
false;
408 bool m_countHasBeenSet =
false;
409 bool m_createdAtHasBeenSet =
false;
410 bool m_descriptionHasBeenSet =
false;
411 bool m_idHasBeenSet =
false;
412 bool m_partitionHasBeenSet =
false;
413 bool m_policyDetailsHasBeenSet =
false;
414 bool m_regionHasBeenSet =
false;
415 bool m_resourcesAffectedHasBeenSet =
false;
416 bool m_sampleHasBeenSet =
false;
417 bool m_schemaVersionHasBeenSet =
false;
418 bool m_severityHasBeenSet =
false;
419 bool m_titleHasBeenSet =
false;
420 bool m_typeHasBeenSet =
false;
421 bool m_updatedAtHasBeenSet =
false;
void SetAccountId(AccountIdT &&value)
void SetCategory(FindingCategory value)
Finding & WithClassificationDetails(ClassificationDetailsT &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
bool ClassificationDetailsHasBeenSet() const
bool SampleHasBeenSet() const
const PolicyDetails & GetPolicyDetails() const
const ClassificationDetails & GetClassificationDetails() const
Finding & WithPartition(PartitionT &&value)
Finding & WithResourcesAffected(ResourcesAffectedT &&value)
AWS_MACIE2_API Finding()=default
bool CreatedAtHasBeenSet() const
Finding & WithPolicyDetails(PolicyDetailsT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool SeverityHasBeenSet() const
const Severity & GetSeverity() const
void SetPolicyDetails(PolicyDetailsT &&value)
Finding & WithSeverity(SeverityT &&value)
FindingCategory GetCategory() const
Finding & WithCount(long long value)
bool RegionHasBeenSet() const
Finding & WithSchemaVersion(SchemaVersionT &&value)
Finding & WithDescription(DescriptionT &&value)
bool PolicyDetailsHasBeenSet() const
bool SchemaVersionHasBeenSet() const
const ResourcesAffected & GetResourcesAffected() const
AWS_MACIE2_API Finding & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCount(long long value)
bool CountHasBeenSet() const
bool CategoryHasBeenSet() const
const Aws::String & GetAccountId() const
FindingType GetType() const
bool TypeHasBeenSet() const
bool IdHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool UpdatedAtHasBeenSet() const
void SetType(FindingType value)
bool AccountIdHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetTitle() const
void SetPartition(PartitionT &&value)
Finding & WithId(IdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetId() const
Finding & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetRegion() const
Finding & WithType(FindingType value)
void SetSeverity(SeverityT &&value)
const Aws::String & GetPartition() const
void SetClassificationDetails(ClassificationDetailsT &&value)
Finding & WithUpdatedAt(UpdatedAtT &&value)
bool ResourcesAffectedHasBeenSet() const
Finding & WithCategory(FindingCategory value)
Finding & WithRegion(RegionT &&value)
AWS_MACIE2_API Finding(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetResourcesAffected(ResourcesAffectedT &&value)
bool TitleHasBeenSet() const
Finding & WithAccountId(AccountIdT &&value)
Finding & WithArchived(bool value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetSample(bool value)
Finding & WithTitle(TitleT &&value)
void SetArchived(bool value)
void SetRegion(RegionT &&value)
void SetTitle(TitleT &&value)
long long GetCount() const
bool PartitionHasBeenSet() const
bool ArchivedHasBeenSet() const
void SetSchemaVersion(SchemaVersionT &&value)
Finding & WithSample(bool value)
const Aws::String & GetSchemaVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue