7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/imagebuilder/model/CvssScoreAdjustment.h>
51 inline void SetScoreSource(
const char* value) { m_scoreSourceHasBeenSet =
true; m_scoreSource.assign(value); }
65 inline void SetCvssSource(
const char* value) { m_cvssSourceHasBeenSet =
true; m_cvssSource.assign(value); }
79 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
89 inline double GetScore()
const{
return m_score; }
91 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
103 inline void SetScoringVector(
const char* value) { m_scoringVectorHasBeenSet =
true; m_scoringVector.assign(value); }
126 bool m_scoreSourceHasBeenSet =
false;
129 bool m_cvssSourceHasBeenSet =
false;
132 bool m_versionHasBeenSet =
false;
135 bool m_scoreHasBeenSet =
false;
138 bool m_scoringVectorHasBeenSet =
false;
141 bool m_adjustmentsHasBeenSet =
false;
void SetCvssSource(const char *value)
bool ScoreHasBeenSet() const
void SetCvssSource(Aws::String &&value)
void SetAdjustments(Aws::Vector< CvssScoreAdjustment > &&value)
bool CvssSourceHasBeenSet() const
CvssScoreDetails & WithCvssSource(Aws::String &&value)
CvssScoreDetails & WithVersion(const char *value)
CvssScoreDetails & WithCvssSource(const Aws::String &value)
CvssScoreDetails & WithScoringVector(const char *value)
CvssScoreDetails & WithCvssSource(const char *value)
CvssScoreDetails & WithVersion(Aws::String &&value)
CvssScoreDetails & AddAdjustments(CvssScoreAdjustment &&value)
bool VersionHasBeenSet() const
void SetScoreSource(const Aws::String &value)
AWS_IMAGEBUILDER_API CvssScoreDetails()
const Aws::String & GetCvssSource() const
CvssScoreDetails & WithAdjustments(Aws::Vector< CvssScoreAdjustment > &&value)
void SetScoreSource(const char *value)
const Aws::String & GetScoreSource() const
bool AdjustmentsHasBeenSet() const
void SetVersion(const Aws::String &value)
CvssScoreDetails & WithAdjustments(const Aws::Vector< CvssScoreAdjustment > &value)
CvssScoreDetails & WithScoreSource(const Aws::String &value)
void SetScoringVector(const char *value)
bool ScoringVectorHasBeenSet() const
void SetScoreSource(Aws::String &&value)
bool ScoreSourceHasBeenSet() const
AWS_IMAGEBUILDER_API CvssScoreDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVersion(Aws::String &&value)
CvssScoreDetails & WithScore(double value)
const Aws::Vector< CvssScoreAdjustment > & GetAdjustments() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
CvssScoreDetails & AddAdjustments(const CvssScoreAdjustment &value)
CvssScoreDetails & WithScoreSource(const char *value)
CvssScoreDetails & WithVersion(const Aws::String &value)
void SetScoringVector(Aws::String &&value)
CvssScoreDetails & WithScoreSource(Aws::String &&value)
CvssScoreDetails & WithScoringVector(Aws::String &&value)
CvssScoreDetails & WithScoringVector(const Aws::String &value)
void SetAdjustments(const Aws::Vector< CvssScoreAdjustment > &value)
const Aws::String & GetVersion() const
const Aws::String & GetScoringVector() const
void SetVersion(const char *value)
AWS_IMAGEBUILDER_API CvssScoreDetails(Aws::Utils::Json::JsonView jsonValue)
void SetScore(double value)
void SetScoringVector(const Aws::String &value)
void SetCvssSource(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue