7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
19namespace imagebuilder {
49 m_baseScoreHasBeenSet =
true;
64 template <
typename ScoringVectorT = Aws::String>
66 m_scoringVectorHasBeenSet =
true;
67 m_scoringVector = std::forward<ScoringVectorT>(value);
69 template <
typename ScoringVectorT = Aws::String>
82 template <
typename VersionT = Aws::String>
84 m_versionHasBeenSet =
true;
85 m_version = std::forward<VersionT>(value);
87 template <
typename VersionT = Aws::String>
100 template <
typename SourceT = Aws::String>
102 m_sourceHasBeenSet =
true;
103 m_source = std::forward<SourceT>(value);
105 template <
typename SourceT = Aws::String>
112 double m_baseScore{0.0};
119 bool m_baseScoreHasBeenSet =
false;
120 bool m_scoringVectorHasBeenSet =
false;
121 bool m_versionHasBeenSet =
false;
122 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