/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Common Vulnerability Scoring System (CVSS) version 2 details for the
* vulnerability.See Also:
AWS
* API Reference
The CVSS v2 base score for the vulnerability.
*/ inline double GetBaseScore() const{ return m_baseScore; } /** *The CVSS v2 base score for the vulnerability.
*/ inline bool BaseScoreHasBeenSet() const { return m_baseScoreHasBeenSet; } /** *The CVSS v2 base score for the vulnerability.
*/ inline void SetBaseScore(double value) { m_baseScoreHasBeenSet = true; m_baseScore = value; } /** *The CVSS v2 base score for the vulnerability.
*/ inline Cvss2& WithBaseScore(double value) { SetBaseScore(value); return *this;} /** *The scoring vector associated with the CVSS v2 score.
*/ inline const Aws::String& GetScoringVector() const{ return m_scoringVector; } /** *The scoring vector associated with the CVSS v2 score.
*/ inline bool ScoringVectorHasBeenSet() const { return m_scoringVectorHasBeenSet; } /** *The scoring vector associated with the CVSS v2 score.
*/ inline void SetScoringVector(const Aws::String& value) { m_scoringVectorHasBeenSet = true; m_scoringVector = value; } /** *The scoring vector associated with the CVSS v2 score.
*/ inline void SetScoringVector(Aws::String&& value) { m_scoringVectorHasBeenSet = true; m_scoringVector = std::move(value); } /** *The scoring vector associated with the CVSS v2 score.
*/ inline void SetScoringVector(const char* value) { m_scoringVectorHasBeenSet = true; m_scoringVector.assign(value); } /** *The scoring vector associated with the CVSS v2 score.
*/ inline Cvss2& WithScoringVector(const Aws::String& value) { SetScoringVector(value); return *this;} /** *The scoring vector associated with the CVSS v2 score.
*/ inline Cvss2& WithScoringVector(Aws::String&& value) { SetScoringVector(std::move(value)); return *this;} /** *The scoring vector associated with the CVSS v2 score.
*/ inline Cvss2& WithScoringVector(const char* value) { SetScoringVector(value); return *this;} private: double m_baseScore; bool m_baseScoreHasBeenSet = false; Aws::String m_scoringVector; bool m_scoringVectorHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws