7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/Remediation.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/imagebuilder/model/InspectorScoreDetails.h>
12#include <aws/imagebuilder/model/PackageVulnerabilityDetails.h>
53 inline void SetAwsAccountId(
const char* value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId.assign(value); }
68 inline void SetImageBuildVersionArn(
const char* value) { m_imageBuildVersionArnHasBeenSet =
true; m_imageBuildVersionArn.assign(value); }
83 inline void SetImagePipelineArn(
const char* value) { m_imagePipelineArnHasBeenSet =
true; m_imagePipelineArn.assign(value); }
99 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
113 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
127 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
153 inline void SetSeverity(
const char* value) { m_severityHasBeenSet =
true; m_severity.assign(value); }
189 inline void SetInspectorScore(
double value) { m_inspectorScoreHasBeenSet =
true; m_inspectorScore = value; }
226 inline void SetFixAvailable(
const char* value) { m_fixAvailableHasBeenSet =
true; m_fixAvailable.assign(value); }
234 bool m_awsAccountIdHasBeenSet =
false;
237 bool m_imageBuildVersionArnHasBeenSet =
false;
240 bool m_imagePipelineArnHasBeenSet =
false;
243 bool m_typeHasBeenSet =
false;
246 bool m_descriptionHasBeenSet =
false;
249 bool m_titleHasBeenSet =
false;
252 bool m_remediationHasBeenSet =
false;
255 bool m_severityHasBeenSet =
false;
258 bool m_firstObservedAtHasBeenSet =
false;
261 bool m_updatedAtHasBeenSet =
false;
263 double m_inspectorScore;
264 bool m_inspectorScoreHasBeenSet =
false;
267 bool m_inspectorScoreDetailsHasBeenSet =
false;
270 bool m_packageVulnerabilityDetailsHasBeenSet =
false;
273 bool m_fixAvailableHasBeenSet =
false;
void SetInspectorScoreDetails(const InspectorScoreDetails &value)
void SetTitle(const char *value)
void SetFirstObservedAt(const Aws::Utils::DateTime &value)
void SetFixAvailable(const Aws::String &value)
void SetImagePipelineArn(const char *value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
ImageScanFinding & WithAwsAccountId(Aws::String &&value)
const Aws::String & GetType() const
const Aws::String & GetImageBuildVersionArn() const
const PackageVulnerabilityDetails & GetPackageVulnerabilityDetails() const
void SetFixAvailable(const char *value)
bool AwsAccountIdHasBeenSet() const
const Aws::String & GetFixAvailable() const
ImageScanFinding & WithTitle(Aws::String &&value)
void SetImageBuildVersionArn(const char *value)
ImageScanFinding & WithImageBuildVersionArn(Aws::String &&value)
bool RemediationHasBeenSet() const
ImageScanFinding & WithImagePipelineArn(const Aws::String &value)
ImageScanFinding & WithType(Aws::String &&value)
ImageScanFinding & WithInspectorScoreDetails(const InspectorScoreDetails &value)
ImageScanFinding & WithImageBuildVersionArn(const Aws::String &value)
void SetPackageVulnerabilityDetails(const PackageVulnerabilityDetails &value)
void SetFirstObservedAt(Aws::Utils::DateTime &&value)
void SetSeverity(const char *value)
void SetAwsAccountId(Aws::String &&value)
ImageScanFinding & WithImagePipelineArn(Aws::String &&value)
void SetImageBuildVersionArn(Aws::String &&value)
void SetType(Aws::String &&value)
ImageScanFinding & WithFirstObservedAt(Aws::Utils::DateTime &&value)
AWS_IMAGEBUILDER_API ImageScanFinding(Aws::Utils::Json::JsonView jsonValue)
bool UpdatedAtHasBeenSet() const
void SetTitle(const Aws::String &value)
ImageScanFinding & WithType(const char *value)
void SetType(const char *value)
ImageScanFinding & WithImageBuildVersionArn(const char *value)
bool SeverityHasBeenSet() const
ImageScanFinding & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetFixAvailable(Aws::String &&value)
void SetRemediation(Remediation &&value)
bool PackageVulnerabilityDetailsHasBeenSet() const
bool FirstObservedAtHasBeenSet() const
ImageScanFinding & WithTitle(const char *value)
ImageScanFinding & WithInspectorScoreDetails(InspectorScoreDetails &&value)
const Aws::String & GetDescription() const
void SetInspectorScoreDetails(InspectorScoreDetails &&value)
void SetImageBuildVersionArn(const Aws::String &value)
const Aws::String & GetTitle() const
bool TypeHasBeenSet() const
void SetAwsAccountId(const char *value)
ImageScanFinding & WithFixAvailable(Aws::String &&value)
void SetDescription(const char *value)
void SetImagePipelineArn(Aws::String &&value)
void SetSeverity(const Aws::String &value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ImageScanFinding & WithPackageVulnerabilityDetails(PackageVulnerabilityDetails &&value)
bool DescriptionHasBeenSet() const
ImageScanFinding & WithSeverity(const char *value)
AWS_IMAGEBUILDER_API ImageScanFinding()
const InspectorScoreDetails & GetInspectorScoreDetails() const
ImageScanFinding & WithDescription(Aws::String &&value)
bool TitleHasBeenSet() const
ImageScanFinding & WithInspectorScore(double value)
bool ImagePipelineArnHasBeenSet() const
const Aws::String & GetImagePipelineArn() const
ImageScanFinding & WithSeverity(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetRemediation(const Remediation &value)
ImageScanFinding & WithAwsAccountId(const char *value)
bool FixAvailableHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Remediation & GetRemediation() const
ImageScanFinding & WithDescription(const Aws::String &value)
AWS_IMAGEBUILDER_API ImageScanFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetFirstObservedAt() const
void SetInspectorScore(double value)
bool ImageBuildVersionArnHasBeenSet() const
ImageScanFinding & WithFixAvailable(const Aws::String &value)
ImageScanFinding & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetTitle(Aws::String &&value)
ImageScanFinding & WithSeverity(const Aws::String &value)
ImageScanFinding & WithFixAvailable(const char *value)
const Aws::String & GetSeverity() const
bool InspectorScoreDetailsHasBeenSet() const
ImageScanFinding & WithType(const Aws::String &value)
void SetDescription(Aws::String &&value)
ImageScanFinding & WithDescription(const char *value)
ImageScanFinding & WithPackageVulnerabilityDetails(const PackageVulnerabilityDetails &value)
void SetImagePipelineArn(const Aws::String &value)
ImageScanFinding & WithTitle(const Aws::String &value)
void SetType(const Aws::String &value)
void SetPackageVulnerabilityDetails(PackageVulnerabilityDetails &&value)
const Aws::String & GetAwsAccountId() const
ImageScanFinding & WithRemediation(const Remediation &value)
ImageScanFinding & WithImagePipelineArn(const char *value)
double GetInspectorScore() const
void SetSeverity(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetAwsAccountId(const Aws::String &value)
ImageScanFinding & WithFirstObservedAt(const Aws::Utils::DateTime &value)
bool InspectorScoreHasBeenSet() const
ImageScanFinding & WithAwsAccountId(const Aws::String &value)
ImageScanFinding & WithRemediation(Remediation &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue