7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/VulnerabilityVendor.h>
11#include <aws/securityhub/model/VulnerabilityFixAvailable.h>
12#include <aws/securityhub/model/VulnerabilityExploitAvailable.h>
13#include <aws/securityhub/model/SoftwarePackage.h>
14#include <aws/securityhub/model/Cvss.h>
15#include <aws/securityhub/model/VulnerabilityCodeVulnerabilities.h>
54 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
55 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
159 inline void SetEpssScore(
double value) { m_epssScoreHasBeenSet =
true; m_epssScore = value; }
184 inline void SetLastKnownExploitAt(
const char* value) { m_lastKnownExploitAtHasBeenSet =
true; m_lastKnownExploitAt.assign(value); }
207 bool m_idHasBeenSet =
false;
210 bool m_vulnerablePackagesHasBeenSet =
false;
213 bool m_cvssHasBeenSet =
false;
216 bool m_relatedVulnerabilitiesHasBeenSet =
false;
219 bool m_vendorHasBeenSet =
false;
222 bool m_referenceUrlsHasBeenSet =
false;
225 bool m_fixAvailableHasBeenSet =
false;
228 bool m_epssScoreHasBeenSet =
false;
231 bool m_exploitAvailableHasBeenSet =
false;
234 bool m_lastKnownExploitAtHasBeenSet =
false;
237 bool m_codeVulnerabilitiesHasBeenSet =
false;
AWS_SECURITYHUB_API Vulnerability(Aws::Utils::Json::JsonView jsonValue)
Vulnerability & WithId(const char *value)
Vulnerability & WithCodeVulnerabilities(const Aws::Vector< VulnerabilityCodeVulnerabilities > &value)
void SetFixAvailable(const VulnerabilityFixAvailable &value)
bool VulnerablePackagesHasBeenSet() const
Vulnerability & AddRelatedVulnerabilities(const char *value)
Vulnerability & AddRelatedVulnerabilities(const Aws::String &value)
Vulnerability & AddCvss(const Cvss &value)
Vulnerability & WithVulnerablePackages(const Aws::Vector< SoftwarePackage > &value)
Vulnerability & WithId(Aws::String &&value)
bool FixAvailableHasBeenSet() const
void SetLastKnownExploitAt(const Aws::String &value)
Vulnerability & AddCodeVulnerabilities(VulnerabilityCodeVulnerabilities &&value)
Vulnerability & WithCvss(const Aws::Vector< Cvss > &value)
Vulnerability & WithLastKnownExploitAt(const char *value)
void SetVulnerablePackages(Aws::Vector< SoftwarePackage > &&value)
Vulnerability & AddReferenceUrls(Aws::String &&value)
const Aws::String & GetLastKnownExploitAt() const
Vulnerability & WithLastKnownExploitAt(Aws::String &&value)
bool LastKnownExploitAtHasBeenSet() const
const Aws::Vector< Aws::String > & GetReferenceUrls() const
const Aws::Vector< VulnerabilityCodeVulnerabilities > & GetCodeVulnerabilities() const
void SetReferenceUrls(Aws::Vector< Aws::String > &&value)
Vulnerability & WithId(const Aws::String &value)
Vulnerability & AddReferenceUrls(const Aws::String &value)
bool IdHasBeenSet() const
const Aws::String & GetId() const
void SetCvss(Aws::Vector< Cvss > &&value)
Vulnerability & WithEpssScore(double value)
Vulnerability & WithFixAvailable(VulnerabilityFixAvailable &&value)
void SetFixAvailable(VulnerabilityFixAvailable &&value)
AWS_SECURITYHUB_API Vulnerability()
void SetLastKnownExploitAt(const char *value)
Vulnerability & WithRelatedVulnerabilities(Aws::Vector< Aws::String > &&value)
Vulnerability & WithVulnerablePackages(Aws::Vector< SoftwarePackage > &&value)
Vulnerability & AddVulnerablePackages(SoftwarePackage &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API Vulnerability & operator=(Aws::Utils::Json::JsonView jsonValue)
double GetEpssScore() const
bool CvssHasBeenSet() const
const VulnerabilityFixAvailable & GetFixAvailable() const
void SetVendor(const VulnerabilityVendor &value)
void SetLastKnownExploitAt(Aws::String &&value)
void SetRelatedVulnerabilities(const Aws::Vector< Aws::String > &value)
void SetExploitAvailable(const VulnerabilityExploitAvailable &value)
Vulnerability & WithFixAvailable(const VulnerabilityFixAvailable &value)
const VulnerabilityExploitAvailable & GetExploitAvailable() const
Vulnerability & AddRelatedVulnerabilities(Aws::String &&value)
void SetVendor(VulnerabilityVendor &&value)
Vulnerability & AddVulnerablePackages(const SoftwarePackage &value)
void SetCodeVulnerabilities(Aws::Vector< VulnerabilityCodeVulnerabilities > &&value)
bool VendorHasBeenSet() const
void SetReferenceUrls(const Aws::Vector< Aws::String > &value)
Vulnerability & WithLastKnownExploitAt(const Aws::String &value)
void SetVulnerablePackages(const Aws::Vector< SoftwarePackage > &value)
const Aws::Vector< SoftwarePackage > & GetVulnerablePackages() const
void SetCvss(const Aws::Vector< Cvss > &value)
Vulnerability & WithCodeVulnerabilities(Aws::Vector< VulnerabilityCodeVulnerabilities > &&value)
const Aws::Vector< Cvss > & GetCvss() const
void SetId(const Aws::String &value)
void SetId(const char *value)
Vulnerability & WithExploitAvailable(VulnerabilityExploitAvailable &&value)
void SetId(Aws::String &&value)
Vulnerability & AddCodeVulnerabilities(const VulnerabilityCodeVulnerabilities &value)
Vulnerability & WithReferenceUrls(const Aws::Vector< Aws::String > &value)
Vulnerability & WithReferenceUrls(Aws::Vector< Aws::String > &&value)
Vulnerability & WithCvss(Aws::Vector< Cvss > &&value)
Vulnerability & WithExploitAvailable(const VulnerabilityExploitAvailable &value)
bool ReferenceUrlsHasBeenSet() const
bool ExploitAvailableHasBeenSet() const
Vulnerability & WithVendor(const VulnerabilityVendor &value)
void SetCodeVulnerabilities(const Aws::Vector< VulnerabilityCodeVulnerabilities > &value)
Vulnerability & AddCvss(Cvss &&value)
void SetExploitAvailable(VulnerabilityExploitAvailable &&value)
bool EpssScoreHasBeenSet() const
void SetEpssScore(double value)
bool RelatedVulnerabilitiesHasBeenSet() const
const VulnerabilityVendor & GetVendor() const
Vulnerability & WithRelatedVulnerabilities(const Aws::Vector< Aws::String > &value)
bool CodeVulnerabilitiesHasBeenSet() const
void SetRelatedVulnerabilities(Aws::Vector< Aws::String > &&value)
Vulnerability & AddReferenceUrls(const char *value)
const Aws::Vector< Aws::String > & GetRelatedVulnerabilities() const
Vulnerability & WithVendor(VulnerabilityVendor &&value)
VulnerabilityFixAvailable
VulnerabilityExploitAvailable
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue