AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FindingMetricsValuePerSeverity.h
1
6#pragma once
7#include <aws/codeguru-security/CodeGuruSecurity_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 CodeGuruSecurity
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_CODEGURUSECURITY_API FindingMetricsValuePerSeverity();
37 AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline double GetCritical() const{ return m_critical; }
45 inline bool CriticalHasBeenSet() const { return m_criticalHasBeenSet; }
46 inline void SetCritical(double value) { m_criticalHasBeenSet = true; m_critical = value; }
47 inline FindingMetricsValuePerSeverity& WithCritical(double value) { SetCritical(value); return *this;}
49
51
54 inline double GetHigh() const{ return m_high; }
55 inline bool HighHasBeenSet() const { return m_highHasBeenSet; }
56 inline void SetHigh(double value) { m_highHasBeenSet = true; m_high = value; }
57 inline FindingMetricsValuePerSeverity& WithHigh(double value) { SetHigh(value); return *this;}
59
61
64 inline double GetInfo() const{ return m_info; }
65 inline bool InfoHasBeenSet() const { return m_infoHasBeenSet; }
66 inline void SetInfo(double value) { m_infoHasBeenSet = true; m_info = value; }
67 inline FindingMetricsValuePerSeverity& WithInfo(double value) { SetInfo(value); return *this;}
69
71
74 inline double GetLow() const{ return m_low; }
75 inline bool LowHasBeenSet() const { return m_lowHasBeenSet; }
76 inline void SetLow(double value) { m_lowHasBeenSet = true; m_low = value; }
77 inline FindingMetricsValuePerSeverity& WithLow(double value) { SetLow(value); return *this;}
79
81
84 inline double GetMedium() const{ return m_medium; }
85 inline bool MediumHasBeenSet() const { return m_mediumHasBeenSet; }
86 inline void SetMedium(double value) { m_mediumHasBeenSet = true; m_medium = value; }
87 inline FindingMetricsValuePerSeverity& WithMedium(double value) { SetMedium(value); return *this;}
89 private:
90
91 double m_critical;
92 bool m_criticalHasBeenSet = false;
93
94 double m_high;
95 bool m_highHasBeenSet = false;
96
97 double m_info;
98 bool m_infoHasBeenSet = false;
99
100 double m_low;
101 bool m_lowHasBeenSet = false;
102
103 double m_medium;
104 bool m_mediumHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace CodeGuruSecurity
109} // namespace Aws
AWS_CODEGURUSECURITY_API FindingMetricsValuePerSeverity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUSECURITY_API FindingMetricsValuePerSeverity(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue