7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 inline void SetBaseScore(
double value) { m_baseScoreHasBeenSet =
true; m_baseScore = value; }
58 inline void SetScoringVector(
const char* value) { m_scoringVectorHasBeenSet =
true; m_scoringVector.assign(value); }
72 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
86 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
94 bool m_baseScoreHasBeenSet =
false;
97 bool m_scoringVectorHasBeenSet =
false;
100 bool m_sourceHasBeenSet =
false;
103 bool m_versionHasBeenSet =
false;
const Aws::String & GetSource() const
CvssScore & WithSource(const char *value)
void SetVersion(const Aws::String &value)
CvssScore & WithBaseScore(double value)
CvssScore & WithScoringVector(const Aws::String &value)
double GetBaseScore() const
void SetSource(const Aws::String &value)
CvssScore & WithSource(const Aws::String &value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
CvssScore & WithVersion(const Aws::String &value)
CvssScore & WithSource(Aws::String &&value)
bool VersionHasBeenSet() const
void SetBaseScore(double value)
void SetScoringVector(const Aws::String &value)
void SetVersion(const char *value)
void SetSource(const char *value)
CvssScore & WithVersion(const char *value)
bool BaseScoreHasBeenSet() const
AWS_ECR_API CvssScore & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSource(Aws::String &&value)
CvssScore & WithScoringVector(const char *value)
bool SourceHasBeenSet() const
AWS_ECR_API CvssScore(Aws::Utils::Json::JsonView jsonValue)
CvssScore & WithScoringVector(Aws::String &&value)
void SetVersion(Aws::String &&value)
void SetScoringVector(Aws::String &&value)
CvssScore & WithVersion(Aws::String &&value)
bool ScoringVectorHasBeenSet() const
void SetScoringVector(const char *value)
const Aws::String & GetScoringVector() const
const Aws::String & GetVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue