7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 inline void SetBaseScore(
double value) { m_baseScoreHasBeenSet =
true; m_baseScore = value; }
58 inline void SetScoringVector(
const char* value) { m_scoringVectorHasBeenSet =
true; m_scoringVector.assign(value); }
72 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
86 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
94 bool m_baseScoreHasBeenSet =
false;
97 bool m_scoringVectorHasBeenSet =
false;
100 bool m_sourceHasBeenSet =
false;
103 bool m_versionHasBeenSet =
false;
CvssScore & WithSource(const char *value)
void SetVersion(const char *value)
const Aws::String & GetScoringVector() const
void SetScoringVector(const Aws::String &value)
void SetVersion(Aws::String &&value)
CvssScore & WithSource(Aws::String &&value)
bool SourceHasBeenSet() const
void SetBaseScore(double value)
bool BaseScoreHasBeenSet() const
void SetScoringVector(const char *value)
void SetSource(Aws::String &&value)
AWS_INSPECTOR2_API CvssScore()
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
CvssScore & WithScoringVector(const char *value)
CvssScore & WithVersion(const char *value)
AWS_INSPECTOR2_API CvssScore & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VersionHasBeenSet() const
AWS_INSPECTOR2_API CvssScore(Aws::Utils::Json::JsonView jsonValue)
void SetSource(const char *value)
CvssScore & WithVersion(Aws::String &&value)
bool ScoringVectorHasBeenSet() const
void SetVersion(const Aws::String &value)
CvssScore & WithBaseScore(double value)
CvssScore & WithVersion(const Aws::String &value)
CvssScore & WithScoringVector(const Aws::String &value)
void SetSource(const Aws::String &value)
CvssScore & WithSource(const Aws::String &value)
const Aws::String & GetSource() const
const Aws::String & GetVersion() const
double GetBaseScore() const
CvssScore & WithScoringVector(Aws::String &&value)
void SetScoringVector(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue