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; }
56 template<
typename ScoringVectorT = Aws::String>
57 void SetScoringVector(ScoringVectorT&& value) { m_scoringVectorHasBeenSet =
true; m_scoringVector = std::forward<ScoringVectorT>(value); }
58 template<
typename ScoringVectorT = Aws::String>
68 template<
typename SourceT = Aws::String>
69 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
70 template<
typename SourceT = Aws::String>
80 template<
typename VersionT = Aws::String>
81 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
82 template<
typename VersionT = Aws::String>
87 double m_baseScore{0.0};
88 bool m_baseScoreHasBeenSet =
false;
91 bool m_scoringVectorHasBeenSet =
false;
94 bool m_sourceHasBeenSet =
false;
97 bool m_versionHasBeenSet =
false;
CvssScore & WithScoringVector(ScoringVectorT &&value)
CvssScore & WithVersion(VersionT &&value)
void SetVersion(VersionT &&value)
CvssScore & WithSource(SourceT &&value)
const Aws::String & GetScoringVector() const
bool SourceHasBeenSet() const
void SetBaseScore(double value)
bool BaseScoreHasBeenSet() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API CvssScore & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VersionHasBeenSet() const
AWS_INSPECTOR2_API CvssScore(Aws::Utils::Json::JsonView jsonValue)
bool ScoringVectorHasBeenSet() const
CvssScore & WithBaseScore(double value)
void SetScoringVector(ScoringVectorT &&value)
AWS_INSPECTOR2_API CvssScore()=default
void SetSource(SourceT &&value)
const Aws::String & GetSource() 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