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; }
64 template<
typename ScoringVectorT = Aws::String>
65 void SetScoringVector(ScoringVectorT&& value) { m_scoringVectorHasBeenSet =
true; m_scoringVector = std::forward<ScoringVectorT>(value); }
66 template<
typename ScoringVectorT = Aws::String>
76 template<
typename VersionT = Aws::String>
77 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
78 template<
typename VersionT = Aws::String>
88 template<
typename SourceT = Aws::String>
89 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
90 template<
typename SourceT = Aws::String>
95 double m_baseScore{0.0};
96 bool m_baseScoreHasBeenSet =
false;
99 bool m_scoringVectorHasBeenSet =
false;
102 bool m_versionHasBeenSet =
false;
105 bool m_sourceHasBeenSet =
false;
void SetVersion(VersionT &&value)
AWS_IMAGEBUILDER_API CvssScore & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ScoringVectorHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSource() const
const Aws::String & GetScoringVector() const
CvssScore & WithSource(SourceT &&value)
void SetScoringVector(ScoringVectorT &&value)
AWS_IMAGEBUILDER_API CvssScore()=default
void SetBaseScore(double value)
bool SourceHasBeenSet() const
CvssScore & WithBaseScore(double value)
bool BaseScoreHasBeenSet() const
AWS_IMAGEBUILDER_API CvssScore(Aws::Utils::Json::JsonView jsonValue)
CvssScore & WithScoringVector(ScoringVectorT &&value)
CvssScore & WithVersion(VersionT &&value)
void SetSource(SourceT &&value)
bool VersionHasBeenSet() const
const Aws::String & GetVersion() const
double GetBaseScore() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue