AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CurrentPerformanceRiskRatings.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ComputeOptimizer {
17namespace Model {
18
29 public:
30 AWS_COMPUTEOPTIMIZER_API CurrentPerformanceRiskRatings() = default;
31 AWS_COMPUTEOPTIMIZER_API CurrentPerformanceRiskRatings(Aws::Utils::Json::JsonView jsonValue);
33 AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline long long GetHigh() const { return m_high; }
41 inline bool HighHasBeenSet() const { return m_highHasBeenSet; }
42 inline void SetHigh(long long value) {
43 m_highHasBeenSet = true;
44 m_high = value;
45 }
46 inline CurrentPerformanceRiskRatings& WithHigh(long long value) {
47 SetHigh(value);
48 return *this;
49 }
51
53
57 inline long long GetMedium() const { return m_medium; }
58 inline bool MediumHasBeenSet() const { return m_mediumHasBeenSet; }
59 inline void SetMedium(long long value) {
60 m_mediumHasBeenSet = true;
61 m_medium = value;
62 }
63 inline CurrentPerformanceRiskRatings& WithMedium(long long value) {
64 SetMedium(value);
65 return *this;
66 }
68
70
74 inline long long GetLow() const { return m_low; }
75 inline bool LowHasBeenSet() const { return m_lowHasBeenSet; }
76 inline void SetLow(long long value) {
77 m_lowHasBeenSet = true;
78 m_low = value;
79 }
80 inline CurrentPerformanceRiskRatings& WithLow(long long value) {
81 SetLow(value);
82 return *this;
83 }
85
87
91 inline long long GetVeryLow() const { return m_veryLow; }
92 inline bool VeryLowHasBeenSet() const { return m_veryLowHasBeenSet; }
93 inline void SetVeryLow(long long value) {
94 m_veryLowHasBeenSet = true;
95 m_veryLow = value;
96 }
97 inline CurrentPerformanceRiskRatings& WithVeryLow(long long value) {
98 SetVeryLow(value);
99 return *this;
100 }
102 private:
103 long long m_high{0};
104
105 long long m_medium{0};
106
107 long long m_low{0};
108
109 long long m_veryLow{0};
110 bool m_highHasBeenSet = false;
111 bool m_mediumHasBeenSet = false;
112 bool m_lowHasBeenSet = false;
113 bool m_veryLowHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace ComputeOptimizer
118} // namespace Aws
AWS_COMPUTEOPTIMIZER_API CurrentPerformanceRiskRatings()=default
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