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