7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/inspector2/model/CodeFilePath.h>
50 template<
typename CwesT = Aws::Vector<Aws::String>>
51 void SetCwes(CwesT&& value) { m_cwesHasBeenSet =
true; m_cwes = std::forward<CwesT>(value); }
52 template<
typename CwesT = Aws::Vector<Aws::String>>
54 template<
typename CwesT = Aws::String>
67 template<
typename DetectorIdT = Aws::String>
68 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet =
true; m_detectorId = std::forward<DetectorIdT>(value); }
69 template<
typename DetectorIdT = Aws::String>
82 template<
typename DetectorNameT = Aws::String>
83 void SetDetectorName(DetectorNameT&& value) { m_detectorNameHasBeenSet =
true; m_detectorName = std::forward<DetectorNameT>(value); }
84 template<
typename DetectorNameT = Aws::String>
100 template<
typename DetectorTagsT = Aws::Vector<Aws::String>>
101 void SetDetectorTags(DetectorTagsT&& value) { m_detectorTagsHasBeenSet =
true; m_detectorTags = std::forward<DetectorTagsT>(value); }
102 template<
typename DetectorTagsT = Aws::Vector<Aws::String>>
104 template<
typename DetectorTagsT = Aws::String>
115 template<
typename FilePathT = CodeFilePath>
116 void SetFilePath(FilePathT&& value) { m_filePathHasBeenSet =
true; m_filePath = std::forward<FilePathT>(value); }
117 template<
typename FilePathT = CodeFilePath>
128 template<
typename ReferenceUrlsT = Aws::Vector<Aws::String>>
129 void SetReferenceUrls(ReferenceUrlsT&& value) { m_referenceUrlsHasBeenSet =
true; m_referenceUrls = std::forward<ReferenceUrlsT>(value); }
130 template<
typename ReferenceUrlsT = Aws::Vector<Aws::String>>
132 template<
typename ReferenceUrlsT = Aws::String>
142 template<
typename RuleIdT = Aws::String>
143 void SetRuleId(RuleIdT&& value) { m_ruleIdHasBeenSet =
true; m_ruleId = std::forward<RuleIdT>(value); }
144 template<
typename RuleIdT = Aws::String>
155 template<
typename SourceLambdaLayerArnT = Aws::String>
156 void SetSourceLambdaLayerArn(SourceLambdaLayerArnT&& value) { m_sourceLambdaLayerArnHasBeenSet =
true; m_sourceLambdaLayerArn = std::forward<SourceLambdaLayerArnT>(value); }
157 template<
typename SourceLambdaLayerArnT = Aws::String>
163 bool m_cwesHasBeenSet =
false;
166 bool m_detectorIdHasBeenSet =
false;
169 bool m_detectorNameHasBeenSet =
false;
172 bool m_detectorTagsHasBeenSet =
false;
175 bool m_filePathHasBeenSet =
false;
178 bool m_referenceUrlsHasBeenSet =
false;
181 bool m_ruleIdHasBeenSet =
false;
184 bool m_sourceLambdaLayerArnHasBeenSet =
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