7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
54 inline void SetBaseScore(
double value) { m_baseScoreHasBeenSet =
true; m_baseScore = value; }
66 inline void SetScoringVector(
const char* value) { m_scoringVectorHasBeenSet =
true; m_scoringVector.assign(value); }
80 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
94 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
102 bool m_baseScoreHasBeenSet =
false;
105 bool m_scoringVectorHasBeenSet =
false;
108 bool m_versionHasBeenSet =
false;
111 bool m_sourceHasBeenSet =
false;
CvssScore & WithScoringVector(Aws::String &&value)
CvssScore & WithVersion(Aws::String &&value)
CvssScore & WithScoringVector(const Aws::String &value)
AWS_IMAGEBUILDER_API CvssScore & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ScoringVectorHasBeenSet() const
void SetScoringVector(const char *value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSource() const
void SetSource(const Aws::String &value)
const Aws::String & GetScoringVector() const
void SetScoringVector(Aws::String &&value)
CvssScore & WithVersion(const Aws::String &value)
CvssScore & WithVersion(const char *value)
AWS_IMAGEBUILDER_API CvssScore()
void SetVersion(Aws::String &&value)
void SetBaseScore(double value)
CvssScore & WithScoringVector(const char *value)
bool SourceHasBeenSet() const
CvssScore & WithSource(const char *value)
void SetSource(Aws::String &&value)
void SetScoringVector(const Aws::String &value)
CvssScore & WithSource(const Aws::String &value)
void SetSource(const char *value)
CvssScore & WithSource(Aws::String &&value)
CvssScore & WithBaseScore(double value)
bool BaseScoreHasBeenSet() const
AWS_IMAGEBUILDER_API CvssScore(Aws::Utils::Json::JsonView jsonValue)
bool VersionHasBeenSet() const
const Aws::String & GetVersion() const
void SetVersion(const char *value)
void SetVersion(const Aws::String &value)
double GetBaseScore() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue