AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
FindingMetricsValuePerSeverity.h
1
6#pragma once
7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace CodeGuruSecurity {
17namespace Model {
18
27 public:
28 AWS_CODEGURUSECURITY_API FindingMetricsValuePerSeverity() = default;
31 AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
37 inline double GetInfo() const { return m_info; }
38 inline bool InfoHasBeenSet() const { return m_infoHasBeenSet; }
39 inline void SetInfo(double value) {
40 m_infoHasBeenSet = true;
41 m_info = value;
42 }
44 SetInfo(value);
45 return *this;
46 }
48
50
53 inline double GetLow() const { return m_low; }
54 inline bool LowHasBeenSet() const { return m_lowHasBeenSet; }
55 inline void SetLow(double value) {
56 m_lowHasBeenSet = true;
57 m_low = value;
58 }
60 SetLow(value);
61 return *this;
62 }
64
66
69 inline double GetMedium() const { return m_medium; }
70 inline bool MediumHasBeenSet() const { return m_mediumHasBeenSet; }
71 inline void SetMedium(double value) {
72 m_mediumHasBeenSet = true;
73 m_medium = value;
74 }
76 SetMedium(value);
77 return *this;
78 }
80
82
85 inline double GetHigh() const { return m_high; }
86 inline bool HighHasBeenSet() const { return m_highHasBeenSet; }
87 inline void SetHigh(double value) {
88 m_highHasBeenSet = true;
89 m_high = value;
90 }
92 SetHigh(value);
93 return *this;
94 }
96
98
101 inline double GetCritical() const { return m_critical; }
102 inline bool CriticalHasBeenSet() const { return m_criticalHasBeenSet; }
103 inline void SetCritical(double value) {
104 m_criticalHasBeenSet = true;
105 m_critical = value;
106 }
108 SetCritical(value);
109 return *this;
110 }
112 private:
113 double m_info{0.0};
114
115 double m_low{0.0};
116
117 double m_medium{0.0};
118
119 double m_high{0.0};
120
121 double m_critical{0.0};
122 bool m_infoHasBeenSet = false;
123 bool m_lowHasBeenSet = false;
124 bool m_mediumHasBeenSet = false;
125 bool m_highHasBeenSet = false;
126 bool m_criticalHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace CodeGuruSecurity
131} // namespace Aws
AWS_CODEGURUSECURITY_API FindingMetricsValuePerSeverity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUSECURITY_API FindingMetricsValuePerSeverity()=default
AWS_CODEGURUSECURITY_API FindingMetricsValuePerSeverity(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue