7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/inspector2/Inspector2_EXPORTS.h>
10#include <aws/inspector2/model/CodeFilePath.h>
44 template <
typename FilePathT = CodeFilePath>
46 m_filePathHasBeenSet =
true;
47 m_filePath = std::forward<FilePathT>(value);
49 template <
typename FilePathT = CodeFilePath>
68 template <
typename DetectorTagsT = Aws::Vector<Aws::String>>
70 m_detectorTagsHasBeenSet =
true;
71 m_detectorTags = std::forward<DetectorTagsT>(value);
73 template <
typename DetectorTagsT = Aws::Vector<Aws::String>>
78 template <
typename DetectorTagsT = Aws::String>
80 m_detectorTagsHasBeenSet =
true;
81 m_detectorTags.emplace_back(std::forward<DetectorTagsT>(value));
93 template <
typename ReferenceUrlsT = Aws::Vector<Aws::String>>
95 m_referenceUrlsHasBeenSet =
true;
96 m_referenceUrls = std::forward<ReferenceUrlsT>(value);
98 template <
typename ReferenceUrlsT = Aws::Vector<Aws::String>>
103 template <
typename ReferenceUrlsT = Aws::String>
105 m_referenceUrlsHasBeenSet =
true;
106 m_referenceUrls.emplace_back(std::forward<ReferenceUrlsT>(value));
117 template <
typename RuleIdT = Aws::String>
119 m_ruleIdHasBeenSet =
true;
120 m_ruleId = std::forward<RuleIdT>(value);
122 template <
typename RuleIdT = Aws::String>
136 template <
typename SourceLambdaLayerArnT = Aws::String>
138 m_sourceLambdaLayerArnHasBeenSet =
true;
139 m_sourceLambdaLayerArn = std::forward<SourceLambdaLayerArnT>(value);
141 template <
typename SourceLambdaLayerArnT = Aws::String>
157 template <
typename DetectorIdT = Aws::String>
159 m_detectorIdHasBeenSet =
true;
160 m_detectorId = std::forward<DetectorIdT>(value);
162 template <
typename DetectorIdT = Aws::String>
178 template <
typename DetectorNameT = Aws::String>
180 m_detectorNameHasBeenSet =
true;
181 m_detectorName = std::forward<DetectorNameT>(value);
183 template <
typename DetectorNameT = Aws::String>
197 template <
typename CwesT = Aws::Vector<Aws::String>>
199 m_cwesHasBeenSet =
true;
200 m_cwes = std::forward<CwesT>(value);
202 template <
typename CwesT = Aws::Vector<Aws::String>>
204 SetCwes(std::forward<CwesT>(value));
207 template <
typename CwesT = Aws::String>
209 m_cwesHasBeenSet =
true;
210 m_cwes.emplace_back(std::forward<CwesT>(value));
230 bool m_filePathHasBeenSet =
false;
231 bool m_detectorTagsHasBeenSet =
false;
232 bool m_referenceUrlsHasBeenSet =
false;
233 bool m_ruleIdHasBeenSet =
false;
234 bool m_sourceLambdaLayerArnHasBeenSet =
false;
235 bool m_detectorIdHasBeenSet =
false;
236 bool m_detectorNameHasBeenSet =
false;
237 bool m_cwesHasBeenSet =
false;
CodeVulnerabilityDetails & WithReferenceUrls(ReferenceUrlsT &&value)
bool DetectorNameHasBeenSet() const
const Aws::Vector< Aws::String > & GetCwes() const
AWS_INSPECTOR2_API CodeVulnerabilityDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DetectorIdHasBeenSet() const
AWS_INSPECTOR2_API CodeVulnerabilityDetails(Aws::Utils::Json::JsonView jsonValue)
CodeVulnerabilityDetails & WithDetectorId(DetectorIdT &&value)
CodeVulnerabilityDetails & WithSourceLambdaLayerArn(SourceLambdaLayerArnT &&value)
CodeVulnerabilityDetails & AddCwes(CwesT &&value)
void SetDetectorName(DetectorNameT &&value)
bool FilePathHasBeenSet() const
CodeVulnerabilityDetails & WithDetectorTags(DetectorTagsT &&value)
CodeVulnerabilityDetails & WithCwes(CwesT &&value)
void SetRuleId(RuleIdT &&value)
CodeVulnerabilityDetails & AddReferenceUrls(ReferenceUrlsT &&value)
bool ReferenceUrlsHasBeenSet() const
bool RuleIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetReferenceUrls() const
void SetDetectorId(DetectorIdT &&value)
CodeVulnerabilityDetails & AddDetectorTags(DetectorTagsT &&value)
void SetReferenceUrls(ReferenceUrlsT &&value)
void SetDetectorTags(DetectorTagsT &&value)
CodeVulnerabilityDetails & WithRuleId(RuleIdT &&value)
CodeVulnerabilityDetails & WithDetectorName(DetectorNameT &&value)
bool CwesHasBeenSet() const
const CodeFilePath & GetFilePath() const
const Aws::String & GetDetectorName() const
const Aws::String & GetRuleId() const
const Aws::Vector< Aws::String > & GetDetectorTags() const
CodeVulnerabilityDetails & WithFilePath(FilePathT &&value)
const Aws::String & GetDetectorId() const
AWS_INSPECTOR2_API CodeVulnerabilityDetails()=default
void SetSourceLambdaLayerArn(SourceLambdaLayerArnT &&value)
bool SourceLambdaLayerArnHasBeenSet() const
void SetCwes(CwesT &&value)
const Aws::String & GetSourceLambdaLayerArn() const
bool DetectorTagsHasBeenSet() const
void SetFilePath(FilePathT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() 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