7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/CodeVulnerabilityDetails.h>
10#include <aws/inspector2/model/EpssDetails.h>
11#include <aws/inspector2/model/ExploitAvailable.h>
12#include <aws/inspector2/model/ExploitabilityDetails.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/inspector2/model/FixAvailable.h>
15#include <aws/inspector2/model/InspectorScoreDetails.h>
16#include <aws/inspector2/model/NetworkReachabilityDetails.h>
17#include <aws/inspector2/model/PackageVulnerabilityDetails.h>
18#include <aws/inspector2/model/Remediation.h>
19#include <aws/core/utils/memory/stl/AWSVector.h>
20#include <aws/inspector2/model/Severity.h>
21#include <aws/inspector2/model/FindingStatus.h>
22#include <aws/inspector2/model/FindingType.h>
23#include <aws/inspector2/model/Resource.h>
63 inline void SetAwsAccountId(
const char* value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId.assign(value); }
90 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
141 inline void SetFindingArn(
const char* value) { m_findingArnHasBeenSet =
true; m_findingArn.assign(value); }
180 inline void SetInspectorScore(
double value) { m_inspectorScoreHasBeenSet =
true; m_inspectorScore = value; }
299 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
334 bool m_awsAccountIdHasBeenSet =
false;
337 bool m_codeVulnerabilityDetailsHasBeenSet =
false;
340 bool m_descriptionHasBeenSet =
false;
343 bool m_epssHasBeenSet =
false;
346 bool m_exploitAvailableHasBeenSet =
false;
349 bool m_exploitabilityDetailsHasBeenSet =
false;
352 bool m_findingArnHasBeenSet =
false;
355 bool m_firstObservedAtHasBeenSet =
false;
358 bool m_fixAvailableHasBeenSet =
false;
360 double m_inspectorScore;
361 bool m_inspectorScoreHasBeenSet =
false;
364 bool m_inspectorScoreDetailsHasBeenSet =
false;
367 bool m_lastObservedAtHasBeenSet =
false;
370 bool m_networkReachabilityDetailsHasBeenSet =
false;
373 bool m_packageVulnerabilityDetailsHasBeenSet =
false;
376 bool m_remediationHasBeenSet =
false;
379 bool m_resourcesHasBeenSet =
false;
382 bool m_severityHasBeenSet =
false;
385 bool m_statusHasBeenSet =
false;
388 bool m_titleHasBeenSet =
false;
391 bool m_typeHasBeenSet =
false;
394 bool m_updatedAtHasBeenSet =
false;
bool TypeHasBeenSet() const
void SetRemediation(Remediation &&value)
Finding & WithAwsAccountId(const char *value)
bool CodeVulnerabilityDetailsHasBeenSet() const
bool DescriptionHasBeenSet() const
const ExploitabilityDetails & GetExploitabilityDetails() const
void SetStatus(FindingStatus &&value)
const InspectorScoreDetails & GetInspectorScoreDetails() const
void SetDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetLastObservedAt() const
Finding & AddResources(const Resource &value)
void SetAwsAccountId(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetType(FindingType &&value)
Finding & WithSeverity(const Severity &value)
bool InspectorScoreDetailsHasBeenSet() const
Finding & WithFixAvailable(FixAvailable &&value)
Finding & WithRemediation(const Remediation &value)
void SetExploitabilityDetails(const ExploitabilityDetails &value)
Finding & WithStatus(FindingStatus &&value)
void SetInspectorScoreDetails(const InspectorScoreDetails &value)
Finding & WithFirstObservedAt(Aws::Utils::DateTime &&value)
Finding & WithNetworkReachabilityDetails(const NetworkReachabilityDetails &value)
void SetNetworkReachabilityDetails(NetworkReachabilityDetails &&value)
const Aws::Utils::DateTime & GetFirstObservedAt() const
const CodeVulnerabilityDetails & GetCodeVulnerabilityDetails() const
bool UpdatedAtHasBeenSet() const
Finding & WithType(const FindingType &value)
const Severity & GetSeverity() const
const ExploitAvailable & GetExploitAvailable() const
bool ResourcesHasBeenSet() const
Finding & WithExploitAvailable(const ExploitAvailable &value)
Finding & WithTitle(const char *value)
bool NetworkReachabilityDetailsHasBeenSet() const
Finding & WithTitle(Aws::String &&value)
void SetRemediation(const Remediation &value)
void SetSeverity(Severity &&value)
Finding & WithFixAvailable(const FixAvailable &value)
Finding & WithSeverity(Severity &&value)
bool ExploitabilityDetailsHasBeenSet() const
Finding & WithEpss(EpssDetails &&value)
bool EpssHasBeenSet() const
Finding & WithFirstObservedAt(const Aws::Utils::DateTime &value)
void SetEpss(EpssDetails &&value)
Finding & AddResources(Resource &&value)
void SetTitle(const Aws::String &value)
bool SeverityHasBeenSet() const
double GetInspectorScore() const
Finding & WithUpdatedAt(const Aws::Utils::DateTime &value)
Finding & WithAwsAccountId(Aws::String &&value)
Finding & WithCodeVulnerabilityDetails(const CodeVulnerabilityDetails &value)
Finding & WithEpss(const EpssDetails &value)
void SetAwsAccountId(const Aws::String &value)
bool StatusHasBeenSet() const
Finding & WithRemediation(Remediation &&value)
void SetFixAvailable(const FixAvailable &value)
void SetTitle(const char *value)
bool FirstObservedAtHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetExploitAvailable(ExploitAvailable &&value)
AWS_INSPECTOR2_API Finding(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
void SetType(const FindingType &value)
bool LastObservedAtHasBeenSet() const
Finding & WithResources(const Aws::Vector< Resource > &value)
void SetAwsAccountId(const char *value)
const FindingType & GetType() const
bool RemediationHasBeenSet() const
bool AwsAccountIdHasBeenSet() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTitle(Aws::String &&value)
Finding & WithExploitabilityDetails(ExploitabilityDetails &&value)
void SetFindingArn(Aws::String &&value)
Finding & WithInspectorScore(double value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetSeverity(const Severity &value)
void SetFindingArn(const Aws::String &value)
Finding & WithLastObservedAt(Aws::Utils::DateTime &&value)
Finding & WithStatus(const FindingStatus &value)
void SetDescription(const Aws::String &value)
Finding & WithType(FindingType &&value)
Finding & WithDescription(const Aws::String &value)
Finding & WithAwsAccountId(const Aws::String &value)
void SetFindingArn(const char *value)
Finding & WithInspectorScoreDetails(const InspectorScoreDetails &value)
Finding & WithFindingArn(const char *value)
Finding & WithPackageVulnerabilityDetails(const PackageVulnerabilityDetails &value)
void SetFixAvailable(FixAvailable &&value)
const FixAvailable & GetFixAvailable() const
void SetEpss(const EpssDetails &value)
AWS_INSPECTOR2_API Finding()
Finding & WithExploitabilityDetails(const ExploitabilityDetails &value)
Finding & WithFindingArn(Aws::String &&value)
void SetStatus(const FindingStatus &value)
void SetResources(Aws::Vector< Resource > &&value)
bool ExploitAvailableHasBeenSet() const
void SetDescription(const char *value)
AWS_INSPECTOR2_API Finding & operator=(Aws::Utils::Json::JsonView jsonValue)
const FindingStatus & GetStatus() const
Finding & WithExploitAvailable(ExploitAvailable &&value)
void SetExploitAvailable(const ExploitAvailable &value)
void SetCodeVulnerabilityDetails(CodeVulnerabilityDetails &&value)
Finding & WithLastObservedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetFindingArn() const
Finding & WithDescription(const char *value)
const Aws::String & GetAwsAccountId() const
Finding & WithInspectorScoreDetails(InspectorScoreDetails &&value)
void SetCodeVulnerabilityDetails(const CodeVulnerabilityDetails &value)
void SetNetworkReachabilityDetails(const NetworkReachabilityDetails &value)
Finding & WithDescription(Aws::String &&value)
const Remediation & GetRemediation() const
bool FixAvailableHasBeenSet() const
Finding & WithCodeVulnerabilityDetails(CodeVulnerabilityDetails &&value)
Finding & WithResources(Aws::Vector< Resource > &&value)
bool FindingArnHasBeenSet() const
void SetFirstObservedAt(Aws::Utils::DateTime &&value)
void SetLastObservedAt(Aws::Utils::DateTime &&value)
void SetExploitabilityDetails(ExploitabilityDetails &&value)
void SetInspectorScore(double value)
void SetFirstObservedAt(const Aws::Utils::DateTime &value)
bool InspectorScoreHasBeenSet() const
void SetPackageVulnerabilityDetails(const PackageVulnerabilityDetails &value)
void SetResources(const Aws::Vector< Resource > &value)
bool TitleHasBeenSet() const
Finding & WithPackageVulnerabilityDetails(PackageVulnerabilityDetails &&value)
void SetInspectorScoreDetails(InspectorScoreDetails &&value)
const Aws::Vector< Resource > & GetResources() const
const PackageVulnerabilityDetails & GetPackageVulnerabilityDetails() const
Finding & WithNetworkReachabilityDetails(NetworkReachabilityDetails &&value)
const NetworkReachabilityDetails & GetNetworkReachabilityDetails() const
Finding & WithFindingArn(const Aws::String &value)
Finding & WithTitle(const Aws::String &value)
void SetPackageVulnerabilityDetails(PackageVulnerabilityDetails &&value)
const Aws::String & GetTitle() const
bool PackageVulnerabilityDetailsHasBeenSet() const
void SetLastObservedAt(const Aws::Utils::DateTime &value)
Finding & WithUpdatedAt(Aws::Utils::DateTime &&value)
const EpssDetails & GetEpss() 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