7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/imagebuilder/model/VulnerablePackage.h>
12#include <aws/imagebuilder/model/CvssScore.h>
53 inline void SetVulnerabilityId(
const char* value) { m_vulnerabilityIdHasBeenSet =
true; m_vulnerabilityId.assign(value); }
81 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
125 inline void SetSourceUrl(
const char* value) { m_sourceUrlHasBeenSet =
true; m_sourceUrl.assign(value); }
139 inline void SetVendorSeverity(
const char* value) { m_vendorSeverityHasBeenSet =
true; m_vendorSeverity.assign(value); }
189 bool m_vulnerabilityIdHasBeenSet =
false;
192 bool m_vulnerablePackagesHasBeenSet =
false;
195 bool m_sourceHasBeenSet =
false;
198 bool m_cvssHasBeenSet =
false;
201 bool m_relatedVulnerabilitiesHasBeenSet =
false;
204 bool m_sourceUrlHasBeenSet =
false;
207 bool m_vendorSeverityHasBeenSet =
false;
210 bool m_vendorCreatedAtHasBeenSet =
false;
213 bool m_vendorUpdatedAtHasBeenSet =
false;
216 bool m_referenceUrlsHasBeenSet =
false;
const Aws::Utils::DateTime & GetVendorCreatedAt() const
AWS_IMAGEBUILDER_API PackageVulnerabilityDetails()
PackageVulnerabilityDetails & WithReferenceUrls(Aws::Vector< Aws::String > &&value)
PackageVulnerabilityDetails & AddRelatedVulnerabilities(Aws::String &&value)
const Aws::String & GetVendorSeverity() const
void SetVendorUpdatedAt(const Aws::Utils::DateTime &value)
void SetSource(Aws::String &&value)
void SetVendorSeverity(Aws::String &&value)
bool CvssHasBeenSet() const
void SetVendorCreatedAt(Aws::Utils::DateTime &&value)
PackageVulnerabilityDetails & AddReferenceUrls(const char *value)
PackageVulnerabilityDetails & WithVendorCreatedAt(const Aws::Utils::DateTime &value)
void SetVendorSeverity(const Aws::String &value)
AWS_IMAGEBUILDER_API PackageVulnerabilityDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
PackageVulnerabilityDetails & WithSourceUrl(const Aws::String &value)
const Aws::Utils::DateTime & GetVendorUpdatedAt() const
void SetVulnerabilityId(Aws::String &&value)
PackageVulnerabilityDetails & WithVendorUpdatedAt(Aws::Utils::DateTime &&value)
void SetRelatedVulnerabilities(Aws::Vector< Aws::String > &&value)
PackageVulnerabilityDetails & AddReferenceUrls(const Aws::String &value)
PackageVulnerabilityDetails & WithSource(const char *value)
void SetVulnerabilityId(const Aws::String &value)
void SetSourceUrl(const char *value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSource(const char *value)
void SetCvss(Aws::Vector< CvssScore > &&value)
bool VulnerablePackagesHasBeenSet() const
PackageVulnerabilityDetails & WithVulnerablePackages(Aws::Vector< VulnerablePackage > &&value)
bool SourceUrlHasBeenSet() const
PackageVulnerabilityDetails & AddCvss(CvssScore &&value)
PackageVulnerabilityDetails & WithRelatedVulnerabilities(Aws::Vector< Aws::String > &&value)
const Aws::Vector< CvssScore > & GetCvss() const
PackageVulnerabilityDetails & WithVulnerabilityId(Aws::String &&value)
void SetSourceUrl(Aws::String &&value)
bool VendorCreatedAtHasBeenSet() const
bool VendorSeverityHasBeenSet() const
bool RelatedVulnerabilitiesHasBeenSet() const
PackageVulnerabilityDetails & WithVendorCreatedAt(Aws::Utils::DateTime &&value)
PackageVulnerabilityDetails & AddRelatedVulnerabilities(const char *value)
bool SourceHasBeenSet() const
PackageVulnerabilityDetails & WithVulnerablePackages(const Aws::Vector< VulnerablePackage > &value)
void SetVendorCreatedAt(const Aws::Utils::DateTime &value)
bool VulnerabilityIdHasBeenSet() const
PackageVulnerabilityDetails & WithVendorSeverity(const Aws::String &value)
PackageVulnerabilityDetails & WithSourceUrl(const char *value)
const Aws::String & GetSourceUrl() const
PackageVulnerabilityDetails & WithCvss(Aws::Vector< CvssScore > &&value)
PackageVulnerabilityDetails & WithCvss(const Aws::Vector< CvssScore > &value)
PackageVulnerabilityDetails & WithVulnerabilityId(const char *value)
const Aws::Vector< VulnerablePackage > & GetVulnerablePackages() const
AWS_IMAGEBUILDER_API PackageVulnerabilityDetails(Aws::Utils::Json::JsonView jsonValue)
void SetVulnerabilityId(const char *value)
const Aws::String & GetVulnerabilityId() const
PackageVulnerabilityDetails & WithSource(Aws::String &&value)
PackageVulnerabilityDetails & WithReferenceUrls(const Aws::Vector< Aws::String > &value)
void SetRelatedVulnerabilities(const Aws::Vector< Aws::String > &value)
void SetSource(const Aws::String &value)
const Aws::Vector< Aws::String > & GetRelatedVulnerabilities() const
void SetVulnerablePackages(const Aws::Vector< VulnerablePackage > &value)
PackageVulnerabilityDetails & AddRelatedVulnerabilities(const Aws::String &value)
PackageVulnerabilityDetails & WithVendorSeverity(const char *value)
PackageVulnerabilityDetails & AddVulnerablePackages(const VulnerablePackage &value)
void SetVendorSeverity(const char *value)
void SetVulnerablePackages(Aws::Vector< VulnerablePackage > &&value)
void SetReferenceUrls(Aws::Vector< Aws::String > &&value)
PackageVulnerabilityDetails & WithSourceUrl(Aws::String &&value)
void SetCvss(const Aws::Vector< CvssScore > &value)
PackageVulnerabilityDetails & WithRelatedVulnerabilities(const Aws::Vector< Aws::String > &value)
PackageVulnerabilityDetails & AddReferenceUrls(Aws::String &&value)
bool ReferenceUrlsHasBeenSet() const
PackageVulnerabilityDetails & WithVendorUpdatedAt(const Aws::Utils::DateTime &value)
PackageVulnerabilityDetails & WithSource(const Aws::String &value)
void SetReferenceUrls(const Aws::Vector< Aws::String > &value)
void SetSourceUrl(const Aws::String &value)
PackageVulnerabilityDetails & AddCvss(const CvssScore &value)
void SetVendorUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetReferenceUrls() const
const Aws::String & GetSource() const
PackageVulnerabilityDetails & WithVulnerabilityId(const Aws::String &value)
PackageVulnerabilityDetails & WithVendorSeverity(Aws::String &&value)
PackageVulnerabilityDetails & AddVulnerablePackages(VulnerablePackage &&value)
bool VendorUpdatedAtHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue