7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ecr/model/PackageVulnerabilityDetails.h>
11#include <aws/ecr/model/Remediation.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ecr/model/ScoreDetails.h>
14#include <aws/ecr/model/Resource.h>
55 inline void SetAwsAccountId(
const char* value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId.assign(value); }
69 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
83 inline void SetFindingArn(
const char* value) { m_findingArnHasBeenSet =
true; m_findingArn.assign(value); }
157 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
181 inline void SetSeverity(
const char* value) { m_severityHasBeenSet =
true; m_severity.assign(value); }
195 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
209 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
223 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
252 inline void SetFixAvailable(
const char* value) { m_fixAvailableHasBeenSet =
true; m_fixAvailable.assign(value); }
266 inline void SetExploitAvailable(
const char* value) { m_exploitAvailableHasBeenSet =
true; m_exploitAvailable.assign(value); }
274 bool m_awsAccountIdHasBeenSet =
false;
277 bool m_descriptionHasBeenSet =
false;
280 bool m_findingArnHasBeenSet =
false;
283 bool m_firstObservedAtHasBeenSet =
false;
286 bool m_lastObservedAtHasBeenSet =
false;
289 bool m_packageVulnerabilityDetailsHasBeenSet =
false;
292 bool m_remediationHasBeenSet =
false;
295 bool m_resourcesHasBeenSet =
false;
298 bool m_scoreHasBeenSet =
false;
301 bool m_scoreDetailsHasBeenSet =
false;
304 bool m_severityHasBeenSet =
false;
307 bool m_statusHasBeenSet =
false;
310 bool m_titleHasBeenSet =
false;
313 bool m_typeHasBeenSet =
false;
316 bool m_updatedAtHasBeenSet =
false;
319 bool m_fixAvailableHasBeenSet =
false;
322 bool m_exploitAvailableHasBeenSet =
false;
void SetDescription(const Aws::String &value)
EnhancedImageScanFinding & WithTitle(const Aws::String &value)
EnhancedImageScanFinding & WithSeverity(Aws::String &&value)
EnhancedImageScanFinding & WithType(const char *value)
EnhancedImageScanFinding & WithFindingArn(Aws::String &&value)
void SetTitle(Aws::String &&value)
EnhancedImageScanFinding & WithPackageVulnerabilityDetails(PackageVulnerabilityDetails &&value)
void SetLastObservedAt(const Aws::Utils::DateTime &value)
EnhancedImageScanFinding & WithScoreDetails(ScoreDetails &&value)
bool SeverityHasBeenSet() const
EnhancedImageScanFinding & WithSeverity(const char *value)
bool PackageVulnerabilityDetailsHasBeenSet() const
void SetType(Aws::String &&value)
const Aws::String & GetDescription() const
void SetScore(double value)
EnhancedImageScanFinding & AddResources(const Resource &value)
void SetAwsAccountId(const char *value)
void SetFirstObservedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetSeverity() const
void SetExploitAvailable(const char *value)
EnhancedImageScanFinding & WithAwsAccountId(const char *value)
void SetStatus(Aws::String &&value)
AWS_ECR_API EnhancedImageScanFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
EnhancedImageScanFinding & WithDescription(Aws::String &&value)
EnhancedImageScanFinding & WithLastObservedAt(Aws::Utils::DateTime &&value)
EnhancedImageScanFinding & WithTitle(const char *value)
void SetResources(const Aws::Vector< Resource > &value)
EnhancedImageScanFinding & WithStatus(Aws::String &&value)
bool StatusHasBeenSet() const
const ScoreDetails & GetScoreDetails() const
void SetScoreDetails(const ScoreDetails &value)
void SetFirstObservedAt(const Aws::Utils::DateTime &value)
void SetAwsAccountId(const Aws::String &value)
EnhancedImageScanFinding & WithFixAvailable(const Aws::String &value)
void SetExploitAvailable(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
EnhancedImageScanFinding & WithUpdatedAt(Aws::Utils::DateTime &&value)
EnhancedImageScanFinding & WithAwsAccountId(const Aws::String &value)
void SetTitle(const char *value)
bool FindingArnHasBeenSet() const
bool FirstObservedAtHasBeenSet() const
const Aws::String & GetAwsAccountId() const
void SetType(const Aws::String &value)
bool ScoreHasBeenSet() const
void SetSeverity(const char *value)
EnhancedImageScanFinding & WithResources(const Aws::Vector< Resource > &value)
void SetAwsAccountId(Aws::String &&value)
bool ResourcesHasBeenSet() const
EnhancedImageScanFinding & WithTitle(Aws::String &&value)
EnhancedImageScanFinding & WithRemediation(Remediation &&value)
EnhancedImageScanFinding & WithFindingArn(const Aws::String &value)
const Aws::Utils::DateTime & GetFirstObservedAt() const
EnhancedImageScanFinding & WithFindingArn(const char *value)
EnhancedImageScanFinding & WithFirstObservedAt(Aws::Utils::DateTime &&value)
void SetPackageVulnerabilityDetails(PackageVulnerabilityDetails &&value)
EnhancedImageScanFinding & WithLastObservedAt(const Aws::Utils::DateTime &value)
bool FixAvailableHasBeenSet() const
const Aws::Vector< Resource > & GetResources() const
bool ExploitAvailableHasBeenSet() const
const Aws::String & GetFindingArn() const
void SetFixAvailable(const Aws::String &value)
const PackageVulnerabilityDetails & GetPackageVulnerabilityDetails() const
bool UpdatedAtHasBeenSet() const
void SetFixAvailable(Aws::String &&value)
EnhancedImageScanFinding & WithScore(double value)
EnhancedImageScanFinding & WithStatus(const Aws::String &value)
void SetDescription(const char *value)
void SetFindingArn(const Aws::String &value)
void SetFindingArn(const char *value)
EnhancedImageScanFinding & WithType(const Aws::String &value)
EnhancedImageScanFinding & WithExploitAvailable(const Aws::String &value)
const Aws::String & GetType() const
EnhancedImageScanFinding & WithSeverity(const Aws::String &value)
EnhancedImageScanFinding & WithDescription(const char *value)
bool TitleHasBeenSet() const
bool RemediationHasBeenSet() const
EnhancedImageScanFinding & WithType(Aws::String &&value)
void SetExploitAvailable(const Aws::String &value)
void SetDescription(Aws::String &&value)
EnhancedImageScanFinding & WithScoreDetails(const ScoreDetails &value)
const Aws::String & GetExploitAvailable() const
EnhancedImageScanFinding & WithExploitAvailable(Aws::String &&value)
const Aws::String & GetFixAvailable() const
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStatus() const
bool LastObservedAtHasBeenSet() const
EnhancedImageScanFinding & WithPackageVulnerabilityDetails(const PackageVulnerabilityDetails &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
EnhancedImageScanFinding & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetSeverity(const Aws::String &value)
EnhancedImageScanFinding & WithFixAvailable(const char *value)
void SetScoreDetails(ScoreDetails &&value)
void SetPackageVulnerabilityDetails(const PackageVulnerabilityDetails &value)
const Aws::String & GetTitle() const
void SetRemediation(Remediation &&value)
void SetFixAvailable(const char *value)
bool ScoreDetailsHasBeenSet() const
const Remediation & GetRemediation() const
const Aws::Utils::DateTime & GetLastObservedAt() const
EnhancedImageScanFinding & WithAwsAccountId(Aws::String &&value)
EnhancedImageScanFinding & WithExploitAvailable(const char *value)
bool AwsAccountIdHasBeenSet() const
EnhancedImageScanFinding & WithResources(Aws::Vector< Resource > &&value)
EnhancedImageScanFinding & AddResources(Resource &&value)
void SetStatus(const Aws::String &value)
EnhancedImageScanFinding & WithStatus(const char *value)
void SetStatus(const char *value)
void SetFindingArn(Aws::String &&value)
void SetSeverity(Aws::String &&value)
EnhancedImageScanFinding & WithDescription(const Aws::String &value)
AWS_ECR_API EnhancedImageScanFinding()
void SetLastObservedAt(Aws::Utils::DateTime &&value)
void SetTitle(const Aws::String &value)
void SetType(const char *value)
void SetResources(Aws::Vector< Resource > &&value)
bool DescriptionHasBeenSet() const
EnhancedImageScanFinding & WithFixAvailable(Aws::String &&value)
AWS_ECR_API EnhancedImageScanFinding(Aws::Utils::Json::JsonView jsonValue)
EnhancedImageScanFinding & WithFirstObservedAt(const Aws::Utils::DateTime &value)
bool TypeHasBeenSet() const
void SetRemediation(const Remediation &value)
EnhancedImageScanFinding & WithRemediation(const Remediation &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue