7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/Resource.h>
10#include <aws/guardduty/model/Service.h>
51 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
64 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
65 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
77 inline void SetConfidence(
double value) { m_confidenceHasBeenSet =
true; m_confidence = value; }
89 inline void SetCreatedAt(
const char* value) { m_createdAtHasBeenSet =
true; m_createdAt.assign(value); }
103 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
117 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
131 inline void SetPartition(
const char* value) { m_partitionHasBeenSet =
true; m_partition.assign(value); }
145 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
169 inline void SetSchemaVersion(
const char* value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion.assign(value); }
180 inline void SetService(
Service&& value) { m_serviceHasBeenSet =
true; m_service = std::move(value); }
191 inline void SetSeverity(
double value) { m_severityHasBeenSet =
true; m_severity = value; }
203 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
217 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
231 inline void SetUpdatedAt(
const char* value) { m_updatedAtHasBeenSet =
true; m_updatedAt.assign(value); }
239 bool m_accountIdHasBeenSet =
false;
242 bool m_arnHasBeenSet =
false;
245 bool m_confidenceHasBeenSet =
false;
248 bool m_createdAtHasBeenSet =
false;
251 bool m_descriptionHasBeenSet =
false;
254 bool m_idHasBeenSet =
false;
257 bool m_partitionHasBeenSet =
false;
260 bool m_regionHasBeenSet =
false;
263 bool m_resourceHasBeenSet =
false;
266 bool m_schemaVersionHasBeenSet =
false;
269 bool m_serviceHasBeenSet =
false;
272 bool m_severityHasBeenSet =
false;
275 bool m_titleHasBeenSet =
false;
278 bool m_typeHasBeenSet =
false;
281 bool m_updatedAtHasBeenSet =
false;
AWS_GUARDDUTY_API Finding()
void SetPartition(const char *value)
Finding & WithRegion(const Aws::String &value)
const Aws::String & GetRegion() const
void SetService(const Service &value)
AWS_GUARDDUTY_API Finding & operator=(Aws::Utils::Json::JsonView jsonValue)
Finding & WithId(const Aws::String &value)
void SetArn(const Aws::String &value)
void SetTitle(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetRegion(const char *value)
void SetSchemaVersion(Aws::String &&value)
void SetSeverity(double value)
double GetConfidence() const
void SetSchemaVersion(const char *value)
Finding & WithTitle(const Aws::String &value)
Finding & WithTitle(Aws::String &&value)
void SetPartition(Aws::String &&value)
void SetAccountId(Aws::String &&value)
void SetId(Aws::String &&value)
double GetSeverity() const
AWS_GUARDDUTY_API Finding(Aws::Utils::Json::JsonView jsonValue)
Finding & WithDescription(const char *value)
bool ArnHasBeenSet() const
Finding & WithPartition(const char *value)
bool TitleHasBeenSet() const
Finding & WithCreatedAt(const Aws::String &value)
Finding & WithUpdatedAt(Aws::String &&value)
Finding & WithResource(const Resource &value)
Finding & WithId(Aws::String &&value)
const Aws::String & GetUpdatedAt() const
const Aws::String & GetTitle() const
Finding & WithSchemaVersion(const char *value)
bool IdHasBeenSet() const
void SetAccountId(const Aws::String &value)
Finding & WithDescription(const Aws::String &value)
bool DescriptionHasBeenSet() const
Finding & WithAccountId(const char *value)
void SetUpdatedAt(const Aws::String &value)
void SetConfidence(double value)
void SetPartition(const Aws::String &value)
void SetResource(Resource &&value)
bool PartitionHasBeenSet() const
void SetCreatedAt(const char *value)
bool AccountIdHasBeenSet() const
bool SeverityHasBeenSet() const
void SetArn(const char *value)
Finding & WithAccountId(Aws::String &&value)
bool RegionHasBeenSet() const
void SetArn(Aws::String &&value)
void SetUpdatedAt(Aws::String &&value)
bool UpdatedAtHasBeenSet() const
Finding & WithRegion(const char *value)
void SetUpdatedAt(const char *value)
Finding & WithSchemaVersion(Aws::String &&value)
Finding & WithType(const Aws::String &value)
const Service & GetService() const
void SetRegion(const Aws::String &value)
Finding & WithCreatedAt(Aws::String &&value)
void SetCreatedAt(Aws::String &&value)
const Aws::String & GetType() const
bool ConfidenceHasBeenSet() const
Finding & WithId(const char *value)
void SetDescription(Aws::String &&value)
Finding & WithCreatedAt(const char *value)
void SetType(const char *value)
void SetId(const char *value)
void SetTitle(const char *value)
void SetAccountId(const char *value)
const Aws::String & GetId() const
void SetCreatedAt(const Aws::String &value)
Finding & WithRegion(Aws::String &&value)
Finding & WithAccountId(const Aws::String &value)
Finding & WithService(Service &&value)
bool CreatedAtHasBeenSet() const
void SetSchemaVersion(const Aws::String &value)
const Aws::String & GetCreatedAt() const
Finding & WithPartition(const Aws::String &value)
void SetService(Service &&value)
void SetRegion(Aws::String &&value)
const Resource & GetResource() const
Finding & WithUpdatedAt(const Aws::String &value)
Finding & WithUpdatedAt(const char *value)
Finding & WithSchemaVersion(const Aws::String &value)
const Aws::String & GetPartition() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResource(const Resource &value)
bool ServiceHasBeenSet() const
const Aws::String & GetSchemaVersion() const
bool TypeHasBeenSet() const
void SetId(const Aws::String &value)
void SetTitle(const Aws::String &value)
Finding & WithConfidence(double value)
Finding & WithTitle(const char *value)
Finding & WithService(const Service &value)
Finding & WithType(Aws::String &&value)
Finding & WithType(const char *value)
void SetType(const Aws::String &value)
bool ResourceHasBeenSet() const
Finding & WithPartition(Aws::String &&value)
Finding & WithArn(Aws::String &&value)
const Aws::String & GetArn() const
Finding & WithDescription(Aws::String &&value)
const Aws::String & GetDescription() const
void SetType(Aws::String &&value)
Finding & WithResource(Resource &&value)
void SetDescription(const char *value)
Finding & WithSeverity(double value)
Finding & WithArn(const char *value)
const Aws::String & GetAccountId() const
bool SchemaVersionHasBeenSet() const
Finding & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue