/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about an adjustment that Amazon Inspector made to the CVSS score for
* a finding.See Also:
AWS
* API Reference
The metric that Amazon Inspector used to adjust the CVSS score.
*/ inline const Aws::String& GetMetric() const{ return m_metric; } /** *The metric that Amazon Inspector used to adjust the CVSS score.
*/ inline bool MetricHasBeenSet() const { return m_metricHasBeenSet; } /** *The metric that Amazon Inspector used to adjust the CVSS score.
*/ inline void SetMetric(const Aws::String& value) { m_metricHasBeenSet = true; m_metric = value; } /** *The metric that Amazon Inspector used to adjust the CVSS score.
*/ inline void SetMetric(Aws::String&& value) { m_metricHasBeenSet = true; m_metric = std::move(value); } /** *The metric that Amazon Inspector used to adjust the CVSS score.
*/ inline void SetMetric(const char* value) { m_metricHasBeenSet = true; m_metric.assign(value); } /** *The metric that Amazon Inspector used to adjust the CVSS score.
*/ inline CvssScoreAdjustment& WithMetric(const Aws::String& value) { SetMetric(value); return *this;} /** *The metric that Amazon Inspector used to adjust the CVSS score.
*/ inline CvssScoreAdjustment& WithMetric(Aws::String&& value) { SetMetric(std::move(value)); return *this;} /** *The metric that Amazon Inspector used to adjust the CVSS score.
*/ inline CvssScoreAdjustment& WithMetric(const char* value) { SetMetric(value); return *this;} /** *The reason for the CVSS score adjustment.
*/ inline const Aws::String& GetReason() const{ return m_reason; } /** *The reason for the CVSS score adjustment.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason for the CVSS score adjustment.
*/ inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason for the CVSS score adjustment.
*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason for the CVSS score adjustment.
*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *The reason for the CVSS score adjustment.
*/ inline CvssScoreAdjustment& WithReason(const Aws::String& value) { SetReason(value); return *this;} /** *The reason for the CVSS score adjustment.
*/ inline CvssScoreAdjustment& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} /** *The reason for the CVSS score adjustment.
*/ inline CvssScoreAdjustment& WithReason(const char* value) { SetReason(value); return *this;} private: Aws::String m_metric; bool m_metricHasBeenSet = false; Aws::String m_reason; bool m_reasonHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws