7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/inspector2/model/CvssScore.h>
12#include <aws/inspector2/model/VulnerablePackage.h>
98 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
112 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); }
166 inline void SetVulnerabilityId(
const char* value) { m_vulnerabilityIdHasBeenSet =
true; m_vulnerabilityId.assign(value); }
188 bool m_cvssHasBeenSet =
false;
191 bool m_referenceUrlsHasBeenSet =
false;
194 bool m_relatedVulnerabilitiesHasBeenSet =
false;
197 bool m_sourceHasBeenSet =
false;
200 bool m_sourceUrlHasBeenSet =
false;
203 bool m_vendorCreatedAtHasBeenSet =
false;
206 bool m_vendorSeverityHasBeenSet =
false;
209 bool m_vendorUpdatedAtHasBeenSet =
false;
212 bool m_vulnerabilityIdHasBeenSet =
false;
215 bool m_vulnerablePackagesHasBeenSet =
false;
PackageVulnerabilityDetails & WithVendorSeverity(Aws::String &&value)
void SetVendorUpdatedAt(const Aws::Utils::DateTime &value)
void SetSourceUrl(const Aws::String &value)
PackageVulnerabilityDetails & WithCvss(const Aws::Vector< CvssScore > &value)
void SetSourceUrl(Aws::String &&value)
PackageVulnerabilityDetails & WithVulnerabilityId(Aws::String &&value)
void SetVendorSeverity(const char *value)
PackageVulnerabilityDetails & WithVendorCreatedAt(Aws::Utils::DateTime &&value)
PackageVulnerabilityDetails & WithRelatedVulnerabilities(const Aws::Vector< Aws::String > &value)
PackageVulnerabilityDetails & WithVulnerabilityId(const char *value)
void SetCvss(Aws::Vector< CvssScore > &&value)
void SetVulnerablePackages(const Aws::Vector< VulnerablePackage > &value)
PackageVulnerabilityDetails & WithCvss(Aws::Vector< CvssScore > &&value)
const Aws::Utils::DateTime & GetVendorUpdatedAt() const
PackageVulnerabilityDetails & WithVulnerablePackages(const Aws::Vector< VulnerablePackage > &value)
PackageVulnerabilityDetails & WithVulnerabilityId(const Aws::String &value)
void SetReferenceUrls(const Aws::Vector< Aws::String > &value)
void SetSourceUrl(const char *value)
bool ReferenceUrlsHasBeenSet() const
const Aws::String & GetVulnerabilityId() const
void SetVulnerabilityId(const char *value)
void SetSource(Aws::String &&value)
void SetSource(const char *value)
void SetRelatedVulnerabilities(Aws::Vector< Aws::String > &&value)
void SetVulnerabilityId(Aws::String &&value)
PackageVulnerabilityDetails & AddVulnerablePackages(VulnerablePackage &&value)
PackageVulnerabilityDetails & WithSourceUrl(const char *value)
bool RelatedVulnerabilitiesHasBeenSet() const
PackageVulnerabilityDetails & WithSourceUrl(const Aws::String &value)
PackageVulnerabilityDetails & AddReferenceUrls(const char *value)
bool VendorUpdatedAtHasBeenSet() const
AWS_INSPECTOR2_API PackageVulnerabilityDetails()
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
PackageVulnerabilityDetails & AddCvss(CvssScore &&value)
AWS_INSPECTOR2_API PackageVulnerabilityDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVendorSeverity() const
PackageVulnerabilityDetails & WithSource(const Aws::String &value)
PackageVulnerabilityDetails & WithVulnerablePackages(Aws::Vector< VulnerablePackage > &&value)
void SetSource(const Aws::String &value)
void SetRelatedVulnerabilities(const Aws::Vector< Aws::String > &value)
void SetVulnerabilityId(const Aws::String &value)
PackageVulnerabilityDetails & AddReferenceUrls(const Aws::String &value)
PackageVulnerabilityDetails & AddVulnerablePackages(const VulnerablePackage &value)
PackageVulnerabilityDetails & AddRelatedVulnerabilities(Aws::String &&value)
const Aws::Vector< CvssScore > & GetCvss() const
void SetCvss(const Aws::Vector< CvssScore > &value)
PackageVulnerabilityDetails & AddRelatedVulnerabilities(const Aws::String &value)
bool CvssHasBeenSet() const
PackageVulnerabilityDetails & AddReferenceUrls(Aws::String &&value)
PackageVulnerabilityDetails & WithReferenceUrls(const Aws::Vector< Aws::String > &value)
PackageVulnerabilityDetails & WithVendorCreatedAt(const Aws::Utils::DateTime &value)
void SetVulnerablePackages(Aws::Vector< VulnerablePackage > &&value)
void SetVendorCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetVendorCreatedAt() const
const Aws::String & GetSource() const
const Aws::Vector< Aws::String > & GetReferenceUrls() const
void SetVendorCreatedAt(Aws::Utils::DateTime &&value)
bool VendorCreatedAtHasBeenSet() const
PackageVulnerabilityDetails & AddRelatedVulnerabilities(const char *value)
bool SourceHasBeenSet() const
PackageVulnerabilityDetails & WithVendorUpdatedAt(const Aws::Utils::DateTime &value)
void SetVendorUpdatedAt(Aws::Utils::DateTime &&value)
AWS_INSPECTOR2_API PackageVulnerabilityDetails(Aws::Utils::Json::JsonView jsonValue)
PackageVulnerabilityDetails & WithRelatedVulnerabilities(Aws::Vector< Aws::String > &&value)
const Aws::String & GetSourceUrl() const
PackageVulnerabilityDetails & WithSource(Aws::String &&value)
bool VendorSeverityHasBeenSet() const
void SetVendorSeverity(const Aws::String &value)
bool SourceUrlHasBeenSet() const
PackageVulnerabilityDetails & WithReferenceUrls(Aws::Vector< Aws::String > &&value)
const Aws::Vector< VulnerablePackage > & GetVulnerablePackages() const
PackageVulnerabilityDetails & WithSourceUrl(Aws::String &&value)
PackageVulnerabilityDetails & WithVendorUpdatedAt(Aws::Utils::DateTime &&value)
void SetReferenceUrls(Aws::Vector< Aws::String > &&value)
PackageVulnerabilityDetails & WithVendorSeverity(const char *value)
bool VulnerablePackagesHasBeenSet() const
bool VulnerabilityIdHasBeenSet() const
PackageVulnerabilityDetails & WithSource(const char *value)
PackageVulnerabilityDetails & WithVendorSeverity(const Aws::String &value)
const Aws::Vector< Aws::String > & GetRelatedVulnerabilities() const
void SetVendorSeverity(Aws::String &&value)
PackageVulnerabilityDetails & AddCvss(const CvssScore &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