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>
70 inline void SetDetectorId(
const char* value) { m_detectorIdHasBeenSet =
true; m_detectorId.assign(value); }
87 inline void SetDetectorName(
const char* value) { m_detectorNameHasBeenSet =
true; m_detectorName.assign(value); }
151 inline void SetRuleId(
const char* value) { m_ruleIdHasBeenSet =
true; m_ruleId.assign(value); }
166 inline void SetSourceLambdaLayerArn(
const char* value) { m_sourceLambdaLayerArnHasBeenSet =
true; m_sourceLambdaLayerArn.assign(value); }
174 bool m_cwesHasBeenSet =
false;
177 bool m_detectorIdHasBeenSet =
false;
180 bool m_detectorNameHasBeenSet =
false;
183 bool m_detectorTagsHasBeenSet =
false;
186 bool m_filePathHasBeenSet =
false;
189 bool m_referenceUrlsHasBeenSet =
false;
192 bool m_ruleIdHasBeenSet =
false;
195 bool m_sourceLambdaLayerArnHasBeenSet =
false;
void SetRuleId(Aws::String &&value)
bool DetectorNameHasBeenSet() const
void SetDetectorTags(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetCwes() const
void SetFilePath(CodeFilePath &&value)
CodeVulnerabilityDetails & AddReferenceUrls(const char *value)
void SetCwes(const Aws::Vector< Aws::String > &value)
CodeVulnerabilityDetails & WithCwes(const Aws::Vector< Aws::String > &value)
CodeVulnerabilityDetails & WithDetectorId(Aws::String &&value)
AWS_INSPECTOR2_API CodeVulnerabilityDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DetectorIdHasBeenSet() const
AWS_INSPECTOR2_API CodeVulnerabilityDetails(Aws::Utils::Json::JsonView jsonValue)
void SetDetectorName(const Aws::String &value)
CodeVulnerabilityDetails & AddDetectorTags(const char *value)
void SetReferenceUrls(const Aws::Vector< Aws::String > &value)
CodeVulnerabilityDetails & WithDetectorTags(const Aws::Vector< Aws::String > &value)
CodeVulnerabilityDetails & WithCwes(Aws::Vector< Aws::String > &&value)
void SetDetectorName(const char *value)
CodeVulnerabilityDetails & WithDetectorName(const Aws::String &value)
CodeVulnerabilityDetails & WithDetectorName(Aws::String &&value)
CodeVulnerabilityDetails & AddDetectorTags(Aws::String &&value)
bool FilePathHasBeenSet() const
CodeVulnerabilityDetails & WithFilePath(const CodeFilePath &value)
CodeVulnerabilityDetails & WithRuleId(const Aws::String &value)
CodeVulnerabilityDetails & WithDetectorName(const char *value)
CodeVulnerabilityDetails & AddCwes(const char *value)
void SetDetectorId(Aws::String &&value)
void SetFilePath(const CodeFilePath &value)
bool ReferenceUrlsHasBeenSet() const
bool RuleIdHasBeenSet() const
CodeVulnerabilityDetails & WithDetectorId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetReferenceUrls() const
CodeVulnerabilityDetails & WithReferenceUrls(Aws::Vector< Aws::String > &&value)
CodeVulnerabilityDetails & WithDetectorTags(Aws::Vector< Aws::String > &&value)
AWS_INSPECTOR2_API CodeVulnerabilityDetails()
CodeVulnerabilityDetails & WithReferenceUrls(const Aws::Vector< Aws::String > &value)
CodeVulnerabilityDetails & WithRuleId(Aws::String &&value)
bool CwesHasBeenSet() const
void SetSourceLambdaLayerArn(Aws::String &&value)
void SetRuleId(const char *value)
const CodeFilePath & GetFilePath() const
void SetSourceLambdaLayerArn(const Aws::String &value)
const Aws::String & GetDetectorName() const
CodeVulnerabilityDetails & AddReferenceUrls(const Aws::String &value)
const Aws::String & GetRuleId() const
const Aws::Vector< Aws::String > & GetDetectorTags() const
void SetCwes(Aws::Vector< Aws::String > &&value)
void SetDetectorTags(const Aws::Vector< Aws::String > &value)
const Aws::String & GetDetectorId() const
CodeVulnerabilityDetails & WithSourceLambdaLayerArn(const char *value)
CodeVulnerabilityDetails & WithSourceLambdaLayerArn(Aws::String &&value)
CodeVulnerabilityDetails & WithFilePath(CodeFilePath &&value)
CodeVulnerabilityDetails & AddDetectorTags(const Aws::String &value)
bool SourceLambdaLayerArnHasBeenSet() const
const Aws::String & GetSourceLambdaLayerArn() const
void SetDetectorId(const char *value)
CodeVulnerabilityDetails & WithDetectorId(const char *value)
bool DetectorTagsHasBeenSet() const
void SetRuleId(const Aws::String &value)
CodeVulnerabilityDetails & WithSourceLambdaLayerArn(const Aws::String &value)
void SetSourceLambdaLayerArn(const char *value)
void SetDetectorName(Aws::String &&value)
void SetDetectorId(const Aws::String &value)
CodeVulnerabilityDetails & AddReferenceUrls(Aws::String &&value)
CodeVulnerabilityDetails & AddCwes(Aws::String &&value)
void SetReferenceUrls(Aws::Vector< Aws::String > &&value)
CodeVulnerabilityDetails & AddCwes(const Aws::String &value)
CodeVulnerabilityDetails & WithRuleId(const char *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