AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CurrentPerformanceRiskRatings.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ComputeOptimizer
20{
21namespace Model
22{
23
34 {
35 public:
36 AWS_COMPUTEOPTIMIZER_API CurrentPerformanceRiskRatings();
37 AWS_COMPUTEOPTIMIZER_API CurrentPerformanceRiskRatings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline long long GetHigh() const{ return m_high; }
48 inline bool HighHasBeenSet() const { return m_highHasBeenSet; }
49 inline void SetHigh(long long value) { m_highHasBeenSet = true; m_high = value; }
50 inline CurrentPerformanceRiskRatings& WithHigh(long long value) { SetHigh(value); return *this;}
52
54
58 inline long long GetMedium() const{ return m_medium; }
59 inline bool MediumHasBeenSet() const { return m_mediumHasBeenSet; }
60 inline void SetMedium(long long value) { m_mediumHasBeenSet = true; m_medium = value; }
61 inline CurrentPerformanceRiskRatings& WithMedium(long long value) { SetMedium(value); return *this;}
63
65
69 inline long long GetLow() const{ return m_low; }
70 inline bool LowHasBeenSet() const { return m_lowHasBeenSet; }
71 inline void SetLow(long long value) { m_lowHasBeenSet = true; m_low = value; }
72 inline CurrentPerformanceRiskRatings& WithLow(long long value) { SetLow(value); return *this;}
74
76
80 inline long long GetVeryLow() const{ return m_veryLow; }
81 inline bool VeryLowHasBeenSet() const { return m_veryLowHasBeenSet; }
82 inline void SetVeryLow(long long value) { m_veryLowHasBeenSet = true; m_veryLow = value; }
83 inline CurrentPerformanceRiskRatings& WithVeryLow(long long value) { SetVeryLow(value); return *this;}
85 private:
86
87 long long m_high;
88 bool m_highHasBeenSet = false;
89
90 long long m_medium;
91 bool m_mediumHasBeenSet = false;
92
93 long long m_low;
94 bool m_lowHasBeenSet = false;
95
96 long long m_veryLow;
97 bool m_veryLowHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace ComputeOptimizer
102} // namespace Aws
AWS_COMPUTEOPTIMIZER_API CurrentPerformanceRiskRatings & operator=(Aws::Utils::Json::JsonView jsonValue)
CurrentPerformanceRiskRatings & WithMedium(long long value)
AWS_COMPUTEOPTIMIZER_API CurrentPerformanceRiskRatings(Aws::Utils::Json::JsonView jsonValue)
CurrentPerformanceRiskRatings & WithVeryLow(long long value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue