7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/CisaData.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/inspector2/model/ExploitObserved.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/inspector2/model/Evidence.h>
50 inline void SetCisaData(
CisaData&& value) { m_cisaDataHasBeenSet =
true; m_cisaData = std::move(value); }
68 inline FindingDetail&
AddCwes(
const char* value) { m_cwesHasBeenSet =
true; m_cwes.push_back(value);
return *
this; }
77 inline void SetEpssScore(
double value) { m_epssScoreHasBeenSet =
true; m_epssScore = value; }
113 inline void SetFindingArn(
const char* value) { m_findingArnHasBeenSet =
true; m_findingArn.assign(value); }
140 inline void SetRiskScore(
int value) { m_riskScoreHasBeenSet =
true; m_riskScore = value; }
156 inline FindingDetail&
AddTools(
const char* value) { m_toolsHasBeenSet =
true; m_tools.push_back(value);
return *
this; }
172 inline FindingDetail&
AddTtps(
const char* value) { m_ttpsHasBeenSet =
true; m_ttps.push_back(value);
return *
this; }
177 bool m_cisaDataHasBeenSet =
false;
180 bool m_cwesHasBeenSet =
false;
183 bool m_epssScoreHasBeenSet =
false;
186 bool m_evidencesHasBeenSet =
false;
189 bool m_exploitObservedHasBeenSet =
false;
192 bool m_findingArnHasBeenSet =
false;
195 bool m_referenceUrlsHasBeenSet =
false;
198 bool m_riskScoreHasBeenSet =
false;
201 bool m_toolsHasBeenSet =
false;
204 bool m_ttpsHasBeenSet =
false;
const Aws::Vector< Evidence > & GetEvidences() const
void SetTools(Aws::Vector< Aws::String > &&value)
FindingDetail & WithFindingArn(Aws::String &&value)
FindingDetail & WithCwes(const Aws::Vector< Aws::String > &value)
bool ReferenceUrlsHasBeenSet() const
FindingDetail & WithEvidences(Aws::Vector< Evidence > &&value)
const Aws::Vector< Aws::String > & GetTtps() const
void SetFindingArn(const char *value)
void SetEvidences(Aws::Vector< Evidence > &&value)
void SetEpssScore(double value)
void SetExploitObserved(ExploitObserved &&value)
void SetTools(const Aws::Vector< Aws::String > &value)
FindingDetail & AddCwes(Aws::String &&value)
bool EvidencesHasBeenSet() const
AWS_INSPECTOR2_API FindingDetail(Aws::Utils::Json::JsonView jsonValue)
FindingDetail & WithReferenceUrls(Aws::Vector< Aws::String > &&value)
FindingDetail & WithTtps(const Aws::Vector< Aws::String > &value)
FindingDetail & WithCwes(Aws::Vector< Aws::String > &&value)
FindingDetail & AddTools(Aws::String &&value)
void SetEvidences(const Aws::Vector< Evidence > &value)
FindingDetail & WithFindingArn(const Aws::String &value)
bool TtpsHasBeenSet() const
FindingDetail & WithEpssScore(double value)
void SetCisaData(CisaData &&value)
AWS_INSPECTOR2_API FindingDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
FindingDetail & AddCwes(const Aws::String &value)
bool CwesHasBeenSet() const
FindingDetail & AddTools(const char *value)
bool EpssScoreHasBeenSet() const
bool CisaDataHasBeenSet() const
bool ToolsHasBeenSet() const
AWS_INSPECTOR2_API FindingDetail()
void SetCisaData(const CisaData &value)
void SetCwes(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetTools() const
FindingDetail & WithTtps(Aws::Vector< Aws::String > &&value)
void SetFindingArn(Aws::String &&value)
FindingDetail & WithTools(const Aws::Vector< Aws::String > &value)
void SetTtps(Aws::Vector< Aws::String > &&value)
FindingDetail & WithEvidences(const Aws::Vector< Evidence > &value)
FindingDetail & WithCisaData(CisaData &&value)
const Aws::String & GetFindingArn() const
const Aws::Vector< Aws::String > & GetCwes() const
FindingDetail & AddReferenceUrls(Aws::String &&value)
FindingDetail & AddTtps(const Aws::String &value)
FindingDetail & AddTools(const Aws::String &value)
void SetReferenceUrls(Aws::Vector< Aws::String > &&value)
FindingDetail & WithReferenceUrls(const Aws::Vector< Aws::String > &value)
FindingDetail & WithTools(Aws::Vector< Aws::String > &&value)
FindingDetail & WithExploitObserved(const ExploitObserved &value)
FindingDetail & AddReferenceUrls(const char *value)
const ExploitObserved & GetExploitObserved() const
bool ExploitObservedHasBeenSet() const
FindingDetail & WithExploitObserved(ExploitObserved &&value)
FindingDetail & AddEvidences(Evidence &&value)
FindingDetail & AddEvidences(const Evidence &value)
FindingDetail & AddReferenceUrls(const Aws::String &value)
bool FindingArnHasBeenSet() const
double GetEpssScore() const
void SetRiskScore(int value)
FindingDetail & WithFindingArn(const char *value)
FindingDetail & WithCisaData(const CisaData &value)
FindingDetail & WithRiskScore(int value)
void SetCwes(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetReferenceUrls() const
void SetExploitObserved(const ExploitObserved &value)
FindingDetail & AddCwes(const char *value)
FindingDetail & AddTtps(const char *value)
FindingDetail & AddTtps(Aws::String &&value)
void SetFindingArn(const Aws::String &value)
bool RiskScoreHasBeenSet() const
void SetTtps(const Aws::Vector< Aws::String > &value)
void SetReferenceUrls(const Aws::Vector< Aws::String > &value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
const CisaData & GetCisaData() 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