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/imagebuilder/Imagebuilder_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 imagebuilder
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_IMAGEBUILDER_API SeverityCounts();
35 AWS_IMAGEBUILDER_API SeverityCounts(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IMAGEBUILDER_API SeverityCounts& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline long long GetAll() const{ return m_all; }
46 inline bool AllHasBeenSet() const { return m_allHasBeenSet; }
47 inline void SetAll(long long value) { m_allHasBeenSet = true; m_all = value; }
48 inline SeverityCounts& WithAll(long long value) { SetAll(value); return *this;}
50
52
55 inline long long GetCritical() const{ return m_critical; }
56 inline bool CriticalHasBeenSet() const { return m_criticalHasBeenSet; }
57 inline void SetCritical(long long value) { m_criticalHasBeenSet = true; m_critical = value; }
58 inline SeverityCounts& WithCritical(long long value) { SetCritical(value); return *this;}
60
62
65 inline long long GetHigh() const{ return m_high; }
66 inline bool HighHasBeenSet() const { return m_highHasBeenSet; }
67 inline void SetHigh(long long value) { m_highHasBeenSet = true; m_high = value; }
68 inline SeverityCounts& WithHigh(long long value) { SetHigh(value); return *this;}
70
72
75 inline long long GetMedium() const{ return m_medium; }
76 inline bool MediumHasBeenSet() const { return m_mediumHasBeenSet; }
77 inline void SetMedium(long long value) { m_mediumHasBeenSet = true; m_medium = value; }
78 inline SeverityCounts& WithMedium(long long value) { SetMedium(value); return *this;}
80 private:
81
82 long long m_all;
83 bool m_allHasBeenSet = false;
84
85 long long m_critical;
86 bool m_criticalHasBeenSet = false;
87
88 long long m_high;
89 bool m_highHasBeenSet = false;
90
91 long long m_medium;
92 bool m_mediumHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace imagebuilder
97} // namespace Aws
SeverityCounts & WithHigh(long long value)
SeverityCounts & WithMedium(long long value)
AWS_IMAGEBUILDER_API SeverityCounts(Aws::Utils::Json::JsonView jsonValue)
SeverityCounts & WithAll(long long value)
AWS_IMAGEBUILDER_API SeverityCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
SeverityCounts & WithCritical(long long value)
Aws::Utils::Json::JsonValue JsonValue