AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
StopCisMessageProgress.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Inspector2 {
17namespace Model {
18
25 public:
26 AWS_INSPECTOR2_API StopCisMessageProgress() = default;
29 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetTotalChecks() const { return m_totalChecks; }
36 inline bool TotalChecksHasBeenSet() const { return m_totalChecksHasBeenSet; }
37 inline void SetTotalChecks(int value) {
38 m_totalChecksHasBeenSet = true;
39 m_totalChecks = value;
40 }
42 SetTotalChecks(value);
43 return *this;
44 }
46
48
51 inline int GetSuccessfulChecks() const { return m_successfulChecks; }
52 inline bool SuccessfulChecksHasBeenSet() const { return m_successfulChecksHasBeenSet; }
53 inline void SetSuccessfulChecks(int value) {
54 m_successfulChecksHasBeenSet = true;
55 m_successfulChecks = value;
56 }
59 return *this;
60 }
62
64
67 inline int GetFailedChecks() const { return m_failedChecks; }
68 inline bool FailedChecksHasBeenSet() const { return m_failedChecksHasBeenSet; }
69 inline void SetFailedChecks(int value) {
70 m_failedChecksHasBeenSet = true;
71 m_failedChecks = value;
72 }
74 SetFailedChecks(value);
75 return *this;
76 }
78
80
83 inline int GetNotEvaluatedChecks() const { return m_notEvaluatedChecks; }
84 inline bool NotEvaluatedChecksHasBeenSet() const { return m_notEvaluatedChecksHasBeenSet; }
85 inline void SetNotEvaluatedChecks(int value) {
86 m_notEvaluatedChecksHasBeenSet = true;
87 m_notEvaluatedChecks = value;
88 }
91 return *this;
92 }
94
96
99 inline int GetUnknownChecks() const { return m_unknownChecks; }
100 inline bool UnknownChecksHasBeenSet() const { return m_unknownChecksHasBeenSet; }
101 inline void SetUnknownChecks(int value) {
102 m_unknownChecksHasBeenSet = true;
103 m_unknownChecks = value;
104 }
106 SetUnknownChecks(value);
107 return *this;
108 }
110
112
115 inline int GetNotApplicableChecks() const { return m_notApplicableChecks; }
116 inline bool NotApplicableChecksHasBeenSet() const { return m_notApplicableChecksHasBeenSet; }
117 inline void SetNotApplicableChecks(int value) {
118 m_notApplicableChecksHasBeenSet = true;
119 m_notApplicableChecks = value;
120 }
123 return *this;
124 }
126
128
131 inline int GetInformationalChecks() const { return m_informationalChecks; }
132 inline bool InformationalChecksHasBeenSet() const { return m_informationalChecksHasBeenSet; }
133 inline void SetInformationalChecks(int value) {
134 m_informationalChecksHasBeenSet = true;
135 m_informationalChecks = value;
136 }
139 return *this;
140 }
142
144
147 inline int GetErrorChecks() const { return m_errorChecks; }
148 inline bool ErrorChecksHasBeenSet() const { return m_errorChecksHasBeenSet; }
149 inline void SetErrorChecks(int value) {
150 m_errorChecksHasBeenSet = true;
151 m_errorChecks = value;
152 }
154 SetErrorChecks(value);
155 return *this;
156 }
158 private:
159 int m_totalChecks{0};
160
161 int m_successfulChecks{0};
162
163 int m_failedChecks{0};
164
165 int m_notEvaluatedChecks{0};
166
167 int m_unknownChecks{0};
168
169 int m_notApplicableChecks{0};
170
171 int m_informationalChecks{0};
172
173 int m_errorChecks{0};
174 bool m_totalChecksHasBeenSet = false;
175 bool m_successfulChecksHasBeenSet = false;
176 bool m_failedChecksHasBeenSet = false;
177 bool m_notEvaluatedChecksHasBeenSet = false;
178 bool m_unknownChecksHasBeenSet = false;
179 bool m_notApplicableChecksHasBeenSet = false;
180 bool m_informationalChecksHasBeenSet = false;
181 bool m_errorChecksHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace Inspector2
186} // namespace Aws
AWS_INSPECTOR2_API StopCisMessageProgress()=default
StopCisMessageProgress & WithErrorChecks(int value)
StopCisMessageProgress & WithNotApplicableChecks(int value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API StopCisMessageProgress(Aws::Utils::Json::JsonView jsonValue)
StopCisMessageProgress & WithFailedChecks(int value)
StopCisMessageProgress & WithTotalChecks(int value)
StopCisMessageProgress & WithInformationalChecks(int value)
StopCisMessageProgress & WithUnknownChecks(int value)
AWS_INSPECTOR2_API StopCisMessageProgress & operator=(Aws::Utils::Json::JsonView jsonValue)
StopCisMessageProgress & WithNotEvaluatedChecks(int value)
StopCisMessageProgress & WithSuccessfulChecks(int value)
Aws::Utils::Json::JsonValue JsonValue