AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SeverityCounts.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_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 Inspector2
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_INSPECTOR2_API SeverityCounts();
34 AWS_INSPECTOR2_API SeverityCounts(Aws::Utils::Json::JsonView jsonValue);
35 AWS_INSPECTOR2_API SeverityCounts& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline long long GetAll() const{ return m_all; }
44 inline bool AllHasBeenSet() const { return m_allHasBeenSet; }
45 inline void SetAll(long long value) { m_allHasBeenSet = true; m_all = value; }
46 inline SeverityCounts& WithAll(long long value) { SetAll(value); return *this;}
48
50
53 inline long long GetCritical() const{ return m_critical; }
54 inline bool CriticalHasBeenSet() const { return m_criticalHasBeenSet; }
55 inline void SetCritical(long long value) { m_criticalHasBeenSet = true; m_critical = value; }
56 inline SeverityCounts& WithCritical(long long value) { SetCritical(value); return *this;}
58
60
63 inline long long GetHigh() const{ return m_high; }
64 inline bool HighHasBeenSet() const { return m_highHasBeenSet; }
65 inline void SetHigh(long long value) { m_highHasBeenSet = true; m_high = value; }
66 inline SeverityCounts& WithHigh(long long value) { SetHigh(value); return *this;}
68
70
73 inline long long GetMedium() const{ return m_medium; }
74 inline bool MediumHasBeenSet() const { return m_mediumHasBeenSet; }
75 inline void SetMedium(long long value) { m_mediumHasBeenSet = true; m_medium = value; }
76 inline SeverityCounts& WithMedium(long long value) { SetMedium(value); return *this;}
78 private:
79
80 long long m_all;
81 bool m_allHasBeenSet = false;
82
83 long long m_critical;
84 bool m_criticalHasBeenSet = false;
85
86 long long m_high;
87 bool m_highHasBeenSet = false;
88
89 long long m_medium;
90 bool m_mediumHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Inspector2
95} // namespace Aws
SeverityCounts & WithMedium(long long value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
SeverityCounts & WithHigh(long long value)
AWS_INSPECTOR2_API SeverityCounts(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API SeverityCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
SeverityCounts & WithCritical(long long value)
SeverityCounts & WithAll(long long value)
Aws::Utils::Json::JsonValue JsonValue