/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Includes counts by severity level for medium severity and higher level
* findings, plus a total for all of the findings for the specified
* filter.See Also:
AWS
* API Reference
The total number of findings across all severity levels for the specified * filter.
*/ inline long long GetAll() const{ return m_all; } /** *The total number of findings across all severity levels for the specified * filter.
*/ inline bool AllHasBeenSet() const { return m_allHasBeenSet; } /** *The total number of findings across all severity levels for the specified * filter.
*/ inline void SetAll(long long value) { m_allHasBeenSet = true; m_all = value; } /** *The total number of findings across all severity levels for the specified * filter.
*/ inline SeverityCounts& WithAll(long long value) { SetAll(value); return *this;} /** *The number of critical severity findings for the specified filter.
*/ inline long long GetCritical() const{ return m_critical; } /** *The number of critical severity findings for the specified filter.
*/ inline bool CriticalHasBeenSet() const { return m_criticalHasBeenSet; } /** *The number of critical severity findings for the specified filter.
*/ inline void SetCritical(long long value) { m_criticalHasBeenSet = true; m_critical = value; } /** *The number of critical severity findings for the specified filter.
*/ inline SeverityCounts& WithCritical(long long value) { SetCritical(value); return *this;} /** *The number of high severity findings for the specified filter.
*/ inline long long GetHigh() const{ return m_high; } /** *The number of high severity findings for the specified filter.
*/ inline bool HighHasBeenSet() const { return m_highHasBeenSet; } /** *The number of high severity findings for the specified filter.
*/ inline void SetHigh(long long value) { m_highHasBeenSet = true; m_high = value; } /** *The number of high severity findings for the specified filter.
*/ inline SeverityCounts& WithHigh(long long value) { SetHigh(value); return *this;} /** *The number of medium severity findings for the specified filter.
*/ inline long long GetMedium() const{ return m_medium; } /** *The number of medium severity findings for the specified filter.
*/ inline bool MediumHasBeenSet() const { return m_mediumHasBeenSet; } /** *The number of medium severity findings for the specified filter.
*/ inline void SetMedium(long long value) { m_mediumHasBeenSet = true; m_medium = value; } /** *The number of medium severity findings for the specified filter.
*/ inline SeverityCounts& WithMedium(long long value) { SetMedium(value); return *this;} private: long long m_all; bool m_allHasBeenSet = false; long long m_critical; bool m_criticalHasBeenSet = false; long long m_high; bool m_highHasBeenSet = false; long long m_medium; bool m_mediumHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws