AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SeveritySummary.h
1
6#pragma once
7#include <aws/ssm/SSM_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 SSM
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_SSM_API SeveritySummary();
37
38
40
45 inline int GetCriticalCount() const{ return m_criticalCount; }
46 inline bool CriticalCountHasBeenSet() const { return m_criticalCountHasBeenSet; }
47 inline void SetCriticalCount(int value) { m_criticalCountHasBeenSet = true; m_criticalCount = value; }
48 inline SeveritySummary& WithCriticalCount(int value) { SetCriticalCount(value); return *this;}
50
52
57 inline int GetHighCount() const{ return m_highCount; }
58 inline bool HighCountHasBeenSet() const { return m_highCountHasBeenSet; }
59 inline void SetHighCount(int value) { m_highCountHasBeenSet = true; m_highCount = value; }
60 inline SeveritySummary& WithHighCount(int value) { SetHighCount(value); return *this;}
62
64
69 inline int GetMediumCount() const{ return m_mediumCount; }
70 inline bool MediumCountHasBeenSet() const { return m_mediumCountHasBeenSet; }
71 inline void SetMediumCount(int value) { m_mediumCountHasBeenSet = true; m_mediumCount = value; }
72 inline SeveritySummary& WithMediumCount(int value) { SetMediumCount(value); return *this;}
74
76
81 inline int GetLowCount() const{ return m_lowCount; }
82 inline bool LowCountHasBeenSet() const { return m_lowCountHasBeenSet; }
83 inline void SetLowCount(int value) { m_lowCountHasBeenSet = true; m_lowCount = value; }
84 inline SeveritySummary& WithLowCount(int value) { SetLowCount(value); return *this;}
86
88
93 inline int GetInformationalCount() const{ return m_informationalCount; }
94 inline bool InformationalCountHasBeenSet() const { return m_informationalCountHasBeenSet; }
95 inline void SetInformationalCount(int value) { m_informationalCountHasBeenSet = true; m_informationalCount = value; }
96 inline SeveritySummary& WithInformationalCount(int value) { SetInformationalCount(value); return *this;}
98
100
105 inline int GetUnspecifiedCount() const{ return m_unspecifiedCount; }
106 inline bool UnspecifiedCountHasBeenSet() const { return m_unspecifiedCountHasBeenSet; }
107 inline void SetUnspecifiedCount(int value) { m_unspecifiedCountHasBeenSet = true; m_unspecifiedCount = value; }
108 inline SeveritySummary& WithUnspecifiedCount(int value) { SetUnspecifiedCount(value); return *this;}
110 private:
111
112 int m_criticalCount;
113 bool m_criticalCountHasBeenSet = false;
114
115 int m_highCount;
116 bool m_highCountHasBeenSet = false;
117
118 int m_mediumCount;
119 bool m_mediumCountHasBeenSet = false;
120
121 int m_lowCount;
122 bool m_lowCountHasBeenSet = false;
123
124 int m_informationalCount;
125 bool m_informationalCountHasBeenSet = false;
126
127 int m_unspecifiedCount;
128 bool m_unspecifiedCountHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace SSM
133} // namespace Aws
SeveritySummary & WithLowCount(int value)
SeveritySummary & WithHighCount(int value)
SeveritySummary & WithCriticalCount(int value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
SeveritySummary & WithInformationalCount(int value)
AWS_SSM_API SeveritySummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API SeveritySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SeveritySummary & WithUnspecifiedCount(int value)
SeveritySummary & WithMediumCount(int value)
Aws::Utils::Json::JsonValue JsonValue