7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/AtigData.h>
9#include <aws/inspector2/model/CisaData.h>
10#include <aws/inspector2/model/Cvss2.h>
11#include <aws/inspector2/model/Cvss3.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/inspector2/model/Epss.h>
15#include <aws/inspector2/model/ExploitObserved.h>
16#include <aws/inspector2/model/VulnerabilitySource.h>
17#include <aws/core/utils/DateTime.h>
58 inline void SetAtigData(
AtigData&& value) { m_atigDataHasBeenSet =
true; m_atigData = std::move(value); }
71 inline void SetCisaData(
CisaData&& value) { m_cisaDataHasBeenSet =
true; m_cisaData = std::move(value); }
83 inline void SetCvss2(
const Cvss2& value) { m_cvss2HasBeenSet =
true; m_cvss2 = value; }
84 inline void SetCvss2(
Cvss2&& value) { m_cvss2HasBeenSet =
true; m_cvss2 = std::move(value); }
96 inline void SetCvss3(
const Cvss3& value) { m_cvss3HasBeenSet =
true; m_cvss3 = value; }
97 inline void SetCvss3(
Cvss3&& value) { m_cvss3HasBeenSet =
true; m_cvss3 = std::move(value); }
114 inline Vulnerability&
AddCwes(
const char* value) { m_cwesHasBeenSet =
true; m_cwes.push_back(value);
return *
this; }
125 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
153 inline void SetEpss(
const Epss& value) { m_epssHasBeenSet =
true; m_epss = value; }
154 inline void SetEpss(
Epss&& value) { m_epssHasBeenSet =
true; m_epss = std::move(value); }
179 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
237 inline void SetSourceUrl(
const char* value) { m_sourceUrlHasBeenSet =
true; m_sourceUrl.assign(value); }
263 inline void SetVendorSeverity(
const char* value) { m_vendorSeverityHasBeenSet =
true; m_vendorSeverity.assign(value); }
283 bool m_atigDataHasBeenSet =
false;
286 bool m_cisaDataHasBeenSet =
false;
289 bool m_cvss2HasBeenSet =
false;
292 bool m_cvss3HasBeenSet =
false;
295 bool m_cwesHasBeenSet =
false;
298 bool m_descriptionHasBeenSet =
false;
301 bool m_detectionPlatformsHasBeenSet =
false;
304 bool m_epssHasBeenSet =
false;
307 bool m_exploitObservedHasBeenSet =
false;
310 bool m_idHasBeenSet =
false;
313 bool m_referenceUrlsHasBeenSet =
false;
316 bool m_relatedVulnerabilitiesHasBeenSet =
false;
319 bool m_sourceHasBeenSet =
false;
322 bool m_sourceUrlHasBeenSet =
false;
325 bool m_vendorCreatedAtHasBeenSet =
false;
328 bool m_vendorSeverityHasBeenSet =
false;
331 bool m_vendorUpdatedAtHasBeenSet =
false;
bool Cvss3HasBeenSet() const
Vulnerability & WithCisaData(CisaData &&value)
Vulnerability & WithSourceUrl(const Aws::String &value)
bool EpssHasBeenSet() const
Vulnerability & WithCvss3(Cvss3 &&value)
const Aws::Vector< Aws::String > & GetCwes() const
bool ExploitObservedHasBeenSet() const
Vulnerability & WithSourceUrl(Aws::String &&value)
Vulnerability & WithSourceUrl(const char *value)
Vulnerability & WithEpss(Epss &&value)
AWS_INSPECTOR2_API Vulnerability & operator=(Aws::Utils::Json::JsonView jsonValue)
const AtigData & GetAtigData() const
Vulnerability & AddReferenceUrls(Aws::String &&value)
Vulnerability & AddDetectionPlatforms(const char *value)
Vulnerability & WithAtigData(AtigData &&value)
void SetSourceUrl(const char *value)
Vulnerability & WithAtigData(const AtigData &value)
bool AtigDataHasBeenSet() const
Vulnerability & WithExploitObserved(const ExploitObserved &value)
Vulnerability & WithDescription(Aws::String &&value)
bool VendorUpdatedAtHasBeenSet() const
bool RelatedVulnerabilitiesHasBeenSet() const
bool Cvss2HasBeenSet() const
Vulnerability & AddRelatedVulnerabilities(Aws::String &&value)
bool DetectionPlatformsHasBeenSet() const
Vulnerability & WithVendorSeverity(Aws::String &&value)
const VulnerabilitySource & GetSource() const
void SetEpss(Epss &&value)
void SetSourceUrl(Aws::String &&value)
void SetId(const Aws::String &value)
void SetSource(VulnerabilitySource &&value)
void SetCvss3(Cvss3 &&value)
void SetDetectionPlatforms(const Aws::Vector< Aws::String > &value)
void SetReferenceUrls(Aws::Vector< Aws::String > &&value)
void SetDetectionPlatforms(Aws::Vector< Aws::String > &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
Vulnerability & WithVendorSeverity(const char *value)
Vulnerability & WithDetectionPlatforms(const Aws::Vector< Aws::String > &value)
bool CwesHasBeenSet() const
Vulnerability & WithSource(const VulnerabilitySource &value)
bool IdHasBeenSet() const
Vulnerability & WithDescription(const Aws::String &value)
Vulnerability & AddDetectionPlatforms(Aws::String &&value)
bool VendorSeverityHasBeenSet() const
AWS_INSPECTOR2_API Vulnerability()
Vulnerability & WithVendorCreatedAt(const Aws::Utils::DateTime &value)
Vulnerability & AddReferenceUrls(const char *value)
Vulnerability & WithId(const char *value)
void SetSourceUrl(const Aws::String &value)
Vulnerability & AddCwes(const Aws::String &value)
void SetExploitObserved(const ExploitObserved &value)
void SetCwes(Aws::Vector< Aws::String > &&value)
Vulnerability & WithDescription(const char *value)
void SetCvss2(Cvss2 &&value)
Vulnerability & WithReferenceUrls(const Aws::Vector< Aws::String > &value)
void SetDescription(const char *value)
void SetVendorSeverity(const char *value)
void SetVendorCreatedAt(const Aws::Utils::DateTime &value)
void SetCvss3(const Cvss3 &value)
void SetAtigData(AtigData &&value)
void SetRelatedVulnerabilities(Aws::Vector< Aws::String > &&value)
AWS_INSPECTOR2_API Vulnerability(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetVendorUpdatedAt() const
const Aws::String & GetId() const
void SetVendorSeverity(const Aws::String &value)
void SetCisaData(const CisaData &value)
void SetAtigData(const AtigData &value)
bool ReferenceUrlsHasBeenSet() const
void SetVendorUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetVendorSeverity() const
Vulnerability & WithDetectionPlatforms(Aws::Vector< Aws::String > &&value)
Vulnerability & AddCwes(Aws::String &&value)
Vulnerability & WithId(const Aws::String &value)
bool CisaDataHasBeenSet() const
bool SourceHasBeenSet() const
void SetCisaData(CisaData &&value)
void SetId(Aws::String &&value)
void SetRelatedVulnerabilities(const Aws::Vector< Aws::String > &value)
Vulnerability & WithCvss3(const Cvss3 &value)
Vulnerability & WithReferenceUrls(Aws::Vector< Aws::String > &&value)
void SetEpss(const Epss &value)
const Aws::Vector< Aws::String > & GetDetectionPlatforms() const
const Aws::Vector< Aws::String > & GetReferenceUrls() const
Vulnerability & WithVendorUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetSourceUrl() const
void SetVendorCreatedAt(Aws::Utils::DateTime &&value)
void SetCwes(const Aws::Vector< Aws::String > &value)
void SetDescription(const Aws::String &value)
Vulnerability & WithCvss2(const Cvss2 &value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
Vulnerability & AddReferenceUrls(const Aws::String &value)
Vulnerability & WithVendorSeverity(const Aws::String &value)
Vulnerability & WithCwes(const Aws::Vector< Aws::String > &value)
Vulnerability & WithVendorCreatedAt(Aws::Utils::DateTime &&value)
void SetCvss2(const Cvss2 &value)
Vulnerability & AddRelatedVulnerabilities(const Aws::String &value)
Vulnerability & AddRelatedVulnerabilities(const char *value)
bool SourceUrlHasBeenSet() const
Vulnerability & WithRelatedVulnerabilities(const Aws::Vector< Aws::String > &value)
Vulnerability & WithCwes(Aws::Vector< Aws::String > &&value)
void SetReferenceUrls(const Aws::Vector< Aws::String > &value)
Vulnerability & WithExploitObserved(ExploitObserved &&value)
void SetVendorUpdatedAt(const Aws::Utils::DateTime &value)
Vulnerability & AddCwes(const char *value)
void SetSource(const VulnerabilitySource &value)
void SetVendorSeverity(Aws::String &&value)
const ExploitObserved & GetExploitObserved() const
const Cvss3 & GetCvss3() const
Vulnerability & WithEpss(const Epss &value)
bool VendorCreatedAtHasBeenSet() const
Vulnerability & WithSource(VulnerabilitySource &&value)
void SetDescription(Aws::String &&value)
void SetId(const char *value)
Vulnerability & WithId(Aws::String &&value)
const Epss & GetEpss() const
const Cvss2 & GetCvss2() const
Vulnerability & WithCvss2(Cvss2 &&value)
const CisaData & GetCisaData() const
Vulnerability & WithRelatedVulnerabilities(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetRelatedVulnerabilities() const
Vulnerability & WithCisaData(const CisaData &value)
void SetExploitObserved(ExploitObserved &&value)
Vulnerability & WithVendorUpdatedAt(Aws::Utils::DateTime &&value)
Vulnerability & AddDetectionPlatforms(const Aws::String &value)
const Aws::Utils::DateTime & GetVendorCreatedAt() 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