7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/FindingCategory.h>
10#include <aws/macie2/model/ClassificationDetails.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/macie2/model/PolicyDetails.h>
13#include <aws/macie2/model/ResourcesAffected.h>
14#include <aws/macie2/model/Severity.h>
15#include <aws/macie2/model/FindingType.h>
56 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
68 inline void SetArchived(
bool value) { m_archivedHasBeenSet =
true; m_archived = value; }
103 inline long long GetCount()
const{
return m_count; }
105 inline void SetCount(
long long value) { m_countHasBeenSet =
true; m_count = value; }
130 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
145 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
160 inline void SetPartition(
const char* value) { m_partitionHasBeenSet =
true; m_partition.assign(value); }
187 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
213 inline void SetSample(
bool value) { m_sampleHasBeenSet =
true; m_sample = value; }
226 inline void SetSchemaVersion(
const char* value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion.assign(value); }
252 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
287 bool m_accountIdHasBeenSet =
false;
290 bool m_archivedHasBeenSet =
false;
293 bool m_categoryHasBeenSet =
false;
296 bool m_classificationDetailsHasBeenSet =
false;
299 bool m_countHasBeenSet =
false;
302 bool m_createdAtHasBeenSet =
false;
305 bool m_descriptionHasBeenSet =
false;
308 bool m_idHasBeenSet =
false;
311 bool m_partitionHasBeenSet =
false;
314 bool m_policyDetailsHasBeenSet =
false;
317 bool m_regionHasBeenSet =
false;
320 bool m_resourcesAffectedHasBeenSet =
false;
323 bool m_sampleHasBeenSet =
false;
326 bool m_schemaVersionHasBeenSet =
false;
329 bool m_severityHasBeenSet =
false;
332 bool m_titleHasBeenSet =
false;
335 bool m_typeHasBeenSet =
false;
338 bool m_updatedAtHasBeenSet =
false;
void SetId(const char *value)
void SetTitle(Aws::String &&value)
void SetResourcesAffected(const ResourcesAffected &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
bool ClassificationDetailsHasBeenSet() const
bool SampleHasBeenSet() const
const PolicyDetails & GetPolicyDetails() const
Finding & WithDescription(const char *value)
Finding & WithPartition(Aws::String &&value)
void SetSchemaVersion(const Aws::String &value)
Finding & WithAccountId(Aws::String &&value)
const ClassificationDetails & GetClassificationDetails() const
Finding & WithDescription(const Aws::String &value)
bool CreatedAtHasBeenSet() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
bool SeverityHasBeenSet() const
Finding & WithResourcesAffected(ResourcesAffected &&value)
void SetRegion(Aws::String &&value)
const Severity & GetSeverity() const
Finding & WithSchemaVersion(Aws::String &&value)
Finding & WithCount(long long value)
bool RegionHasBeenSet() const
Finding & WithCategory(const FindingCategory &value)
bool PolicyDetailsHasBeenSet() const
Finding & WithType(FindingType &&value)
Finding & WithId(const char *value)
void SetCategory(FindingCategory &&value)
bool SchemaVersionHasBeenSet() const
Finding & WithCategory(FindingCategory &&value)
Finding & WithCreatedAt(Aws::Utils::DateTime &&value)
Finding & WithClassificationDetails(const ClassificationDetails &value)
Finding & WithRegion(Aws::String &&value)
const ResourcesAffected & GetResourcesAffected() const
void SetDescription(Aws::String &&value)
Finding & WithTitle(const Aws::String &value)
AWS_MACIE2_API Finding & operator=(Aws::Utils::Json::JsonView jsonValue)
const FindingType & GetType() const
void SetCount(long long value)
Finding & WithRegion(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetClassificationDetails(const ClassificationDetails &value)
Finding & WithId(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetTitle(const Aws::String &value)
void SetDescription(const char *value)
Finding & WithResourcesAffected(const ResourcesAffected &value)
bool CountHasBeenSet() const
bool CategoryHasBeenSet() const
const Aws::String & GetAccountId() const
bool TypeHasBeenSet() const
void SetType(FindingType &&value)
void SetClassificationDetails(ClassificationDetails &&value)
bool IdHasBeenSet() const
Finding & WithTitle(const char *value)
Finding & WithRegion(const char *value)
void SetPartition(const Aws::String &value)
bool UpdatedAtHasBeenSet() const
Finding & WithSchemaVersion(const Aws::String &value)
Finding & WithAccountId(const char *value)
Finding & WithPolicyDetails(PolicyDetails &&value)
void SetAccountId(const Aws::String &value)
Finding & WithPartition(const Aws::String &value)
Finding & WithId(Aws::String &&value)
void SetSeverity(Severity &&value)
bool AccountIdHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetTitle() const
Finding & WithSeverity(const Severity &value)
Finding & WithClassificationDetails(ClassificationDetails &&value)
Finding & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetPolicyDetails(PolicyDetails &&value)
void SetType(const FindingType &value)
void SetCategory(const FindingCategory &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetRegion(const char *value)
const Aws::String & GetId() const
void SetAccountId(Aws::String &&value)
void SetPolicyDetails(const PolicyDetails &value)
const Aws::String & GetDescription() const
void SetPartition(const char *value)
const Aws::String & GetRegion() const
Finding & WithAccountId(const Aws::String &value)
void SetAccountId(const char *value)
const Aws::String & GetPartition() const
void SetDescription(const Aws::String &value)
bool ResourcesAffectedHasBeenSet() const
Finding & WithType(const FindingType &value)
void SetResourcesAffected(ResourcesAffected &&value)
void SetSchemaVersion(Aws::String &&value)
AWS_MACIE2_API Finding(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(const Aws::Utils::DateTime &value)
Finding & WithTitle(Aws::String &&value)
void SetPartition(Aws::String &&value)
Finding & WithUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool TitleHasBeenSet() const
const FindingCategory & GetCategory() const
Finding & WithArchived(bool value)
void SetSample(bool value)
Finding & WithDescription(Aws::String &&value)
void SetRegion(const Aws::String &value)
void SetSchemaVersion(const char *value)
void SetArchived(bool value)
Finding & WithSeverity(Severity &&value)
Finding & WithPartition(const char *value)
long long GetCount() const
void SetId(const Aws::String &value)
bool PartitionHasBeenSet() const
bool ArchivedHasBeenSet() const
void SetTitle(const char *value)
void SetId(Aws::String &&value)
Finding & WithUpdatedAt(const Aws::Utils::DateTime &value)
Finding & WithSample(bool value)
void SetSeverity(const Severity &value)
const Aws::String & GetSchemaVersion() const
Finding & WithPolicyDetails(const PolicyDetails &value)
Finding & WithSchemaVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue