AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
FindingCounts.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ACM {
17namespace Model {
18
26 public:
27 AWS_ACM_API FindingCounts() = default;
31
33
36 inline long long GetCritical() const { return m_critical; }
37 inline bool CriticalHasBeenSet() const { return m_criticalHasBeenSet; }
38 inline void SetCritical(long long value) {
39 m_criticalHasBeenSet = true;
40 m_critical = value;
41 }
42 inline FindingCounts& WithCritical(long long value) {
43 SetCritical(value);
44 return *this;
45 }
47
49
52 inline long long GetHigh() const { return m_high; }
53 inline bool HighHasBeenSet() const { return m_highHasBeenSet; }
54 inline void SetHigh(long long value) {
55 m_highHasBeenSet = true;
56 m_high = value;
57 }
58 inline FindingCounts& WithHigh(long long value) {
59 SetHigh(value);
60 return *this;
61 }
63
65
68 inline long long GetMedium() const { return m_medium; }
69 inline bool MediumHasBeenSet() const { return m_mediumHasBeenSet; }
70 inline void SetMedium(long long value) {
71 m_mediumHasBeenSet = true;
72 m_medium = value;
73 }
74 inline FindingCounts& WithMedium(long long value) {
75 SetMedium(value);
76 return *this;
77 }
79
81
84 inline long long GetLow() const { return m_low; }
85 inline bool LowHasBeenSet() const { return m_lowHasBeenSet; }
86 inline void SetLow(long long value) {
87 m_lowHasBeenSet = true;
88 m_low = value;
89 }
90 inline FindingCounts& WithLow(long long value) {
91 SetLow(value);
92 return *this;
93 }
95
97
100 inline long long GetInformational() const { return m_informational; }
101 inline bool InformationalHasBeenSet() const { return m_informationalHasBeenSet; }
102 inline void SetInformational(long long value) {
103 m_informationalHasBeenSet = true;
104 m_informational = value;
105 }
106 inline FindingCounts& WithInformational(long long value) {
107 SetInformational(value);
108 return *this;
109 }
111 private:
112 long long m_critical{0};
113
114 long long m_high{0};
115
116 long long m_medium{0};
117
118 long long m_low{0};
119
120 long long m_informational{0};
121 bool m_criticalHasBeenSet = false;
122 bool m_highHasBeenSet = false;
123 bool m_mediumHasBeenSet = false;
124 bool m_lowHasBeenSet = false;
125 bool m_informationalHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace ACM
130} // namespace Aws
void SetHigh(long long value)
FindingCounts & WithCritical(long long value)
void SetCritical(long long value)
FindingCounts & WithMedium(long long value)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetInformational() const
FindingCounts & WithLow(long long value)
AWS_ACM_API FindingCounts()=default
void SetInformational(long long value)
void SetLow(long long value)
AWS_ACM_API FindingCounts(Aws::Utils::Json::JsonView jsonValue)
void SetMedium(long long value)
FindingCounts & WithHigh(long long value)
AWS_ACM_API FindingCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
FindingCounts & WithInformational(long long value)
Aws::Utils::Json::JsonValue JsonValue