7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ecr/model/CvssScoreAdjustment.h>
61 inline double GetScore()
const{
return m_score; }
63 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
75 inline void SetScoreSource(
const char* value) { m_scoreSourceHasBeenSet =
true; m_scoreSource.assign(value); }
89 inline void SetScoringVector(
const char* value) { m_scoringVectorHasBeenSet =
true; m_scoringVector.assign(value); }
103 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
111 bool m_adjustmentsHasBeenSet =
false;
114 bool m_scoreHasBeenSet =
false;
117 bool m_scoreSourceHasBeenSet =
false;
120 bool m_scoringVectorHasBeenSet =
false;
123 bool m_versionHasBeenSet =
false;
bool ScoringVectorHasBeenSet() const
AWS_ECR_API CvssScoreDetails(Aws::Utils::Json::JsonView jsonValue)
void SetScore(double value)
const Aws::String & GetScoreSource() const
bool ScoreHasBeenSet() const
void SetVersion(const char *value)
CvssScoreDetails & WithScoreSource(const Aws::String &value)
CvssScoreDetails & AddAdjustments(const CvssScoreAdjustment &value)
CvssScoreDetails & WithScoreSource(Aws::String &&value)
const Aws::String & GetVersion() const
CvssScoreDetails & WithScore(double value)
void SetVersion(Aws::String &&value)
CvssScoreDetails & WithScoringVector(const Aws::String &value)
void SetAdjustments(Aws::Vector< CvssScoreAdjustment > &&value)
void SetScoreSource(const char *value)
CvssScoreDetails & WithScoringVector(const char *value)
bool ScoreSourceHasBeenSet() const
void SetAdjustments(const Aws::Vector< CvssScoreAdjustment > &value)
bool VersionHasBeenSet() const
CvssScoreDetails & AddAdjustments(CvssScoreAdjustment &&value)
CvssScoreDetails & WithVersion(Aws::String &&value)
bool AdjustmentsHasBeenSet() const
CvssScoreDetails & WithAdjustments(Aws::Vector< CvssScoreAdjustment > &&value)
CvssScoreDetails & WithAdjustments(const Aws::Vector< CvssScoreAdjustment > &value)
CvssScoreDetails & WithVersion(const char *value)
void SetScoringVector(Aws::String &&value)
CvssScoreDetails & WithVersion(const Aws::String &value)
CvssScoreDetails & WithScoringVector(Aws::String &&value)
AWS_ECR_API CvssScoreDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetScoreSource(const Aws::String &value)
const Aws::String & GetScoringVector() const
void SetScoringVector(const Aws::String &value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetScoreSource(Aws::String &&value)
CvssScoreDetails & WithScoreSource(const char *value)
void SetScoringVector(const char *value)
AWS_ECR_API CvssScoreDetails()
void SetVersion(const Aws::String &value)
const Aws::Vector< CvssScoreAdjustment > & GetAdjustments() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue