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>
49 template<
typename AccountIdT = Aws::String>
50 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
51 template<
typename AccountIdT = Aws::String>
61 template<
typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
63 template<
typename ArnT = Aws::String>
73 inline void SetConfidence(
double value) { m_confidenceHasBeenSet =
true; m_confidence = value; }
83 template<
typename CreatedAtT = Aws::String>
84 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
85 template<
typename CreatedAtT = Aws::String>
95 template<
typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
97 template<
typename DescriptionT = Aws::String>
107 template<
typename IdT = Aws::String>
108 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
109 template<
typename IdT = Aws::String>
119 template<
typename PartitionT = Aws::String>
120 void SetPartition(PartitionT&& value) { m_partitionHasBeenSet =
true; m_partition = std::forward<PartitionT>(value); }
121 template<
typename PartitionT = Aws::String>
137 template<
typename RegionT = Aws::String>
138 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
139 template<
typename RegionT = Aws::String>
147 template<
typename ResourceT = Resource>
148 void SetResource(ResourceT&& value) { m_resourceHasBeenSet =
true; m_resource = std::forward<ResourceT>(value); }
149 template<
typename ResourceT = Resource>
159 template<
typename SchemaVersionT = Aws::String>
160 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
161 template<
typename SchemaVersionT = Aws::String>
169 template<
typename ServiceT = Service>
170 void SetService(ServiceT&& value) { m_serviceHasBeenSet =
true; m_service = std::forward<ServiceT>(value); }
171 template<
typename ServiceT = Service>
181 inline void SetSeverity(
double value) { m_severityHasBeenSet =
true; m_severity = value; }
191 template<
typename TitleT = Aws::String>
192 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
193 template<
typename TitleT = Aws::String>
203 template<
typename TypeT = Aws::String>
204 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
205 template<
typename TypeT = Aws::String>
215 template<
typename UpdatedAtT = Aws::String>
216 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
217 template<
typename UpdatedAtT = Aws::String>
227 template<
typename AssociatedAttackSequenceArnT = Aws::String>
228 void SetAssociatedAttackSequenceArn(AssociatedAttackSequenceArnT&& value) { m_associatedAttackSequenceArnHasBeenSet =
true; m_associatedAttackSequenceArn = std::forward<AssociatedAttackSequenceArnT>(value); }
229 template<
typename AssociatedAttackSequenceArnT = Aws::String>
235 bool m_accountIdHasBeenSet =
false;
238 bool m_arnHasBeenSet =
false;
240 double m_confidence{0.0};
241 bool m_confidenceHasBeenSet =
false;
244 bool m_createdAtHasBeenSet =
false;
247 bool m_descriptionHasBeenSet =
false;
250 bool m_idHasBeenSet =
false;
253 bool m_partitionHasBeenSet =
false;
256 bool m_regionHasBeenSet =
false;
259 bool m_resourceHasBeenSet =
false;
262 bool m_schemaVersionHasBeenSet =
false;
265 bool m_serviceHasBeenSet =
false;
267 double m_severity{0.0};
268 bool m_severityHasBeenSet =
false;
271 bool m_titleHasBeenSet =
false;
274 bool m_typeHasBeenSet =
false;
277 bool m_updatedAtHasBeenSet =
false;
280 bool m_associatedAttackSequenceArnHasBeenSet =
false;
const Aws::String & GetRegion() const
AWS_GUARDDUTY_API Finding & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAssociatedAttackSequenceArn() const
AWS_GUARDDUTY_API Finding()=default
Finding & WithSchemaVersion(SchemaVersionT &&value)
void SetSeverity(double value)
double GetConfidence() const
Finding & WithPartition(PartitionT &&value)
double GetSeverity() const
AWS_GUARDDUTY_API Finding(Aws::Utils::Json::JsonView jsonValue)
Finding & WithDescription(DescriptionT &&value)
void SetResource(ResourceT &&value)
bool ArnHasBeenSet() const
void SetAccountId(AccountIdT &&value)
bool TitleHasBeenSet() const
const Aws::String & GetUpdatedAt() const
const Aws::String & GetTitle() const
Finding & WithArn(ArnT &&value)
bool AssociatedAttackSequenceArnHasBeenSet() const
bool IdHasBeenSet() const
Finding & WithUpdatedAt(UpdatedAtT &&value)
Finding & WithAccountId(AccountIdT &&value)
bool DescriptionHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetConfidence(double value)
bool PartitionHasBeenSet() const
bool AccountIdHasBeenSet() const
bool SeverityHasBeenSet() const
void SetService(ServiceT &&value)
bool RegionHasBeenSet() const
Finding & WithRegion(RegionT &&value)
bool UpdatedAtHasBeenSet() const
void SetTitle(TitleT &&value)
void SetSchemaVersion(SchemaVersionT &&value)
const Service & GetService() const
const Aws::String & GetType() const
bool ConfidenceHasBeenSet() const
const Aws::String & GetId() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetCreatedAt() const
const Resource & GetResource() const
Finding & WithTitle(TitleT &&value)
void SetCreatedAt(CreatedAtT &&value)
Finding & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetPartition() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServiceHasBeenSet() const
const Aws::String & GetSchemaVersion() const
bool TypeHasBeenSet() const
void SetAssociatedAttackSequenceArn(AssociatedAttackSequenceArnT &&value)
Finding & WithConfidence(double value)
void SetType(TypeT &&value)
void SetPartition(PartitionT &&value)
bool ResourceHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetRegion(RegionT &&value)
void SetArn(ArnT &&value)
Finding & WithResource(ResourceT &&value)
const Aws::String & GetArn() const
const Aws::String & GetDescription() const
Finding & WithType(TypeT &&value)
Finding & WithId(IdT &&value)
Finding & WithAssociatedAttackSequenceArn(AssociatedAttackSequenceArnT &&value)
Finding & WithService(ServiceT &&value)
Finding & WithSeverity(double value)
const Aws::String & GetAccountId() const
bool SchemaVersionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue