/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the CVSS score.See Also:
AWS
* API Reference
An object that contains details about adjustment Amazon Inspector made to the * CVSS score.
*/ inline const Aws::VectorAn object that contains details about adjustment Amazon Inspector made to the * CVSS score.
*/ inline bool AdjustmentsHasBeenSet() const { return m_adjustmentsHasBeenSet; } /** *An object that contains details about adjustment Amazon Inspector made to the * CVSS score.
*/ inline void SetAdjustments(const Aws::VectorAn object that contains details about adjustment Amazon Inspector made to the * CVSS score.
*/ inline void SetAdjustments(Aws::VectorAn object that contains details about adjustment Amazon Inspector made to the * CVSS score.
*/ inline CvssScoreDetails& WithAdjustments(const Aws::VectorAn object that contains details about adjustment Amazon Inspector made to the * CVSS score.
*/ inline CvssScoreDetails& WithAdjustments(Aws::VectorAn object that contains details about adjustment Amazon Inspector made to the * CVSS score.
*/ inline CvssScoreDetails& AddAdjustments(const CvssScoreAdjustment& value) { m_adjustmentsHasBeenSet = true; m_adjustments.push_back(value); return *this; } /** *An object that contains details about adjustment Amazon Inspector made to the * CVSS score.
*/ inline CvssScoreDetails& AddAdjustments(CvssScoreAdjustment&& value) { m_adjustmentsHasBeenSet = true; m_adjustments.push_back(std::move(value)); return *this; } /** *The CVSS score.
*/ inline double GetScore() const{ return m_score; } /** *The CVSS score.
*/ inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; } /** *The CVSS score.
*/ inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; } /** *The CVSS score.
*/ inline CvssScoreDetails& WithScore(double value) { SetScore(value); return *this;} /** *The source for the CVSS score.
*/ inline const Aws::String& GetScoreSource() const{ return m_scoreSource; } /** *The source for the CVSS score.
*/ inline bool ScoreSourceHasBeenSet() const { return m_scoreSourceHasBeenSet; } /** *The source for the CVSS score.
*/ inline void SetScoreSource(const Aws::String& value) { m_scoreSourceHasBeenSet = true; m_scoreSource = value; } /** *The source for the CVSS score.
*/ inline void SetScoreSource(Aws::String&& value) { m_scoreSourceHasBeenSet = true; m_scoreSource = std::move(value); } /** *The source for the CVSS score.
*/ inline void SetScoreSource(const char* value) { m_scoreSourceHasBeenSet = true; m_scoreSource.assign(value); } /** *The source for the CVSS score.
*/ inline CvssScoreDetails& WithScoreSource(const Aws::String& value) { SetScoreSource(value); return *this;} /** *The source for the CVSS score.
*/ inline CvssScoreDetails& WithScoreSource(Aws::String&& value) { SetScoreSource(std::move(value)); return *this;} /** *The source for the CVSS score.
*/ inline CvssScoreDetails& WithScoreSource(const char* value) { SetScoreSource(value); return *this;} /** *The vector for the CVSS score.
*/ inline const Aws::String& GetScoringVector() const{ return m_scoringVector; } /** *The vector for the CVSS score.
*/ inline bool ScoringVectorHasBeenSet() const { return m_scoringVectorHasBeenSet; } /** *The vector for the CVSS score.
*/ inline void SetScoringVector(const Aws::String& value) { m_scoringVectorHasBeenSet = true; m_scoringVector = value; } /** *The vector for the CVSS score.
*/ inline void SetScoringVector(Aws::String&& value) { m_scoringVectorHasBeenSet = true; m_scoringVector = std::move(value); } /** *The vector for the CVSS score.
*/ inline void SetScoringVector(const char* value) { m_scoringVectorHasBeenSet = true; m_scoringVector.assign(value); } /** *The vector for the CVSS score.
*/ inline CvssScoreDetails& WithScoringVector(const Aws::String& value) { SetScoringVector(value); return *this;} /** *The vector for the CVSS score.
*/ inline CvssScoreDetails& WithScoringVector(Aws::String&& value) { SetScoringVector(std::move(value)); return *this;} /** *The vector for the CVSS score.
*/ inline CvssScoreDetails& WithScoringVector(const char* value) { SetScoringVector(value); return *this;} /** *The CVSS version used in scoring.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The CVSS version used in scoring.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The CVSS version used in scoring.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The CVSS version used in scoring.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The CVSS version used in scoring.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The CVSS version used in scoring.
*/ inline CvssScoreDetails& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The CVSS version used in scoring.
*/ inline CvssScoreDetails& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The CVSS version used in scoring.
*/ inline CvssScoreDetails& WithVersion(const char* value) { SetVersion(value); return *this;} private: Aws::Vector