/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the performance risk ratings for a given resource type. Resources with a high
or medium
rating are at risk
* of not meeting the performance needs of their workloads, while resources with a
* low
rating are performing well in their workloads.See
* Also:
AWS
* API Reference
A count of the applicable resource types with a high performance risk * rating.
*/ inline long long GetHigh() const{ return m_high; } /** *A count of the applicable resource types with a high performance risk * rating.
*/ inline bool HighHasBeenSet() const { return m_highHasBeenSet; } /** *A count of the applicable resource types with a high performance risk * rating.
*/ inline void SetHigh(long long value) { m_highHasBeenSet = true; m_high = value; } /** *A count of the applicable resource types with a high performance risk * rating.
*/ inline CurrentPerformanceRiskRatings& WithHigh(long long value) { SetHigh(value); return *this;} /** *A count of the applicable resource types with a medium performance risk * rating.
*/ inline long long GetMedium() const{ return m_medium; } /** *A count of the applicable resource types with a medium performance risk * rating.
*/ inline bool MediumHasBeenSet() const { return m_mediumHasBeenSet; } /** *A count of the applicable resource types with a medium performance risk * rating.
*/ inline void SetMedium(long long value) { m_mediumHasBeenSet = true; m_medium = value; } /** *A count of the applicable resource types with a medium performance risk * rating.
*/ inline CurrentPerformanceRiskRatings& WithMedium(long long value) { SetMedium(value); return *this;} /** *A count of the applicable resource types with a low performance risk * rating.
*/ inline long long GetLow() const{ return m_low; } /** *A count of the applicable resource types with a low performance risk * rating.
*/ inline bool LowHasBeenSet() const { return m_lowHasBeenSet; } /** *A count of the applicable resource types with a low performance risk * rating.
*/ inline void SetLow(long long value) { m_lowHasBeenSet = true; m_low = value; } /** *A count of the applicable resource types with a low performance risk * rating.
*/ inline CurrentPerformanceRiskRatings& WithLow(long long value) { SetLow(value); return *this;} /** *A count of the applicable resource types with a very low performance risk * rating.
*/ inline long long GetVeryLow() const{ return m_veryLow; } /** *A count of the applicable resource types with a very low performance risk * rating.
*/ inline bool VeryLowHasBeenSet() const { return m_veryLowHasBeenSet; } /** *A count of the applicable resource types with a very low performance risk * rating.
*/ inline void SetVeryLow(long long value) { m_veryLowHasBeenSet = true; m_veryLow = value; } /** *A count of the applicable resource types with a very low performance risk * rating.
*/ inline CurrentPerformanceRiskRatings& WithVeryLow(long long value) { SetVeryLow(value); return *this;} private: long long m_high; bool m_highHasBeenSet = false; long long m_medium; bool m_mediumHasBeenSet = false; long long m_low; bool m_lowHasBeenSet = false; long long m_veryLow; bool m_veryLowHasBeenSet = false; }; } // namespace Model } // namespace ComputeOptimizer } // namespace Aws