/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the numerical and qualitative representations of a finding's
* severity.See Also:
AWS API
* Reference
The qualitative representation of the finding's severity, ranging from Low * (least severe) to High (most severe).
*/ inline const SeverityDescription& GetDescription() const{ return m_description; } /** *The qualitative representation of the finding's severity, ranging from Low * (least severe) to High (most severe).
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The qualitative representation of the finding's severity, ranging from Low * (least severe) to High (most severe).
*/ inline void SetDescription(const SeverityDescription& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The qualitative representation of the finding's severity, ranging from Low * (least severe) to High (most severe).
*/ inline void SetDescription(SeverityDescription&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The qualitative representation of the finding's severity, ranging from Low * (least severe) to High (most severe).
*/ inline Severity& WithDescription(const SeverityDescription& value) { SetDescription(value); return *this;} /** *The qualitative representation of the finding's severity, ranging from Low * (least severe) to High (most severe).
*/ inline Severity& WithDescription(SeverityDescription&& value) { SetDescription(std::move(value)); return *this;} /** *The numerical representation of the finding's severity, ranging from 1 (least * severe) to 3 (most severe).
*/ inline long long GetScore() const{ return m_score; } /** *The numerical representation of the finding's severity, ranging from 1 (least * severe) to 3 (most severe).
*/ inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; } /** *The numerical representation of the finding's severity, ranging from 1 (least * severe) to 3 (most severe).
*/ inline void SetScore(long long value) { m_scoreHasBeenSet = true; m_score = value; } /** *The numerical representation of the finding's severity, ranging from 1 (least * severe) to 3 (most severe).
*/ inline Severity& WithScore(long long value) { SetScore(value); return *this;} private: SeverityDescription m_description; bool m_descriptionHasBeenSet = false; long long m_score; bool m_scoreHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws