/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include CVSS scores from the advisory related to the vulnerability.See
* Also:
AWS
* API Reference
The version of CVSS for the CVSS score.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version of CVSS for the CVSS score.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version of CVSS for the CVSS score.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version of CVSS for the CVSS score.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version of CVSS for the CVSS score.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version of CVSS for the CVSS score.
*/ inline Cvss& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version of CVSS for the CVSS score.
*/ inline Cvss& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version of CVSS for the CVSS score.
*/ inline Cvss& WithVersion(const char* value) { SetVersion(value); return *this;} /** *The base CVSS score.
*/ inline double GetBaseScore() const{ return m_baseScore; } /** *The base CVSS score.
*/ inline bool BaseScoreHasBeenSet() const { return m_baseScoreHasBeenSet; } /** *The base CVSS score.
*/ inline void SetBaseScore(double value) { m_baseScoreHasBeenSet = true; m_baseScore = value; } /** *The base CVSS score.
*/ inline Cvss& WithBaseScore(double value) { SetBaseScore(value); return *this;} /** *The base scoring vector for the CVSS score.
*/ inline const Aws::String& GetBaseVector() const{ return m_baseVector; } /** *The base scoring vector for the CVSS score.
*/ inline bool BaseVectorHasBeenSet() const { return m_baseVectorHasBeenSet; } /** *The base scoring vector for the CVSS score.
*/ inline void SetBaseVector(const Aws::String& value) { m_baseVectorHasBeenSet = true; m_baseVector = value; } /** *The base scoring vector for the CVSS score.
*/ inline void SetBaseVector(Aws::String&& value) { m_baseVectorHasBeenSet = true; m_baseVector = std::move(value); } /** *The base scoring vector for the CVSS score.
*/ inline void SetBaseVector(const char* value) { m_baseVectorHasBeenSet = true; m_baseVector.assign(value); } /** *The base scoring vector for the CVSS score.
*/ inline Cvss& WithBaseVector(const Aws::String& value) { SetBaseVector(value); return *this;} /** *The base scoring vector for the CVSS score.
*/ inline Cvss& WithBaseVector(Aws::String&& value) { SetBaseVector(std::move(value)); return *this;} /** *The base scoring vector for the CVSS score.
*/ inline Cvss& WithBaseVector(const char* value) { SetBaseVector(value); return *this;} private: Aws::String m_version; bool m_versionHasBeenSet; double m_baseScore; bool m_baseScoreHasBeenSet; Aws::String m_baseVector; bool m_baseVectorHasBeenSet; }; } // namespace Model } // namespace SecurityHub } // namespace Aws