AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsSsmComplianceSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
29 public:
30 AWS_SECURITYHUB_API AwsSsmComplianceSummary() = default;
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetStatus() const { return m_status; }
42 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
43 template <typename StatusT = Aws::String>
44 void SetStatus(StatusT&& value) {
45 m_statusHasBeenSet = true;
46 m_status = std::forward<StatusT>(value);
47 }
48 template <typename StatusT = Aws::String>
50 SetStatus(std::forward<StatusT>(value));
51 return *this;
52 }
54
56
60 inline int GetCompliantCriticalCount() const { return m_compliantCriticalCount; }
61 inline bool CompliantCriticalCountHasBeenSet() const { return m_compliantCriticalCountHasBeenSet; }
62 inline void SetCompliantCriticalCount(int value) {
63 m_compliantCriticalCountHasBeenSet = true;
64 m_compliantCriticalCount = value;
65 }
68 return *this;
69 }
71
73
77 inline int GetCompliantHighCount() const { return m_compliantHighCount; }
78 inline bool CompliantHighCountHasBeenSet() const { return m_compliantHighCountHasBeenSet; }
79 inline void SetCompliantHighCount(int value) {
80 m_compliantHighCountHasBeenSet = true;
81 m_compliantHighCount = value;
82 }
85 return *this;
86 }
88
90
94 inline int GetCompliantMediumCount() const { return m_compliantMediumCount; }
95 inline bool CompliantMediumCountHasBeenSet() const { return m_compliantMediumCountHasBeenSet; }
96 inline void SetCompliantMediumCount(int value) {
97 m_compliantMediumCountHasBeenSet = true;
98 m_compliantMediumCount = value;
99 }
102 return *this;
103 }
105
107
110 inline const Aws::String& GetExecutionType() const { return m_executionType; }
111 inline bool ExecutionTypeHasBeenSet() const { return m_executionTypeHasBeenSet; }
112 template <typename ExecutionTypeT = Aws::String>
113 void SetExecutionType(ExecutionTypeT&& value) {
114 m_executionTypeHasBeenSet = true;
115 m_executionType = std::forward<ExecutionTypeT>(value);
116 }
117 template <typename ExecutionTypeT = Aws::String>
119 SetExecutionType(std::forward<ExecutionTypeT>(value));
120 return *this;
121 }
123
125
129 inline int GetNonCompliantCriticalCount() const { return m_nonCompliantCriticalCount; }
130 inline bool NonCompliantCriticalCountHasBeenSet() const { return m_nonCompliantCriticalCountHasBeenSet; }
131 inline void SetNonCompliantCriticalCount(int value) {
132 m_nonCompliantCriticalCountHasBeenSet = true;
133 m_nonCompliantCriticalCount = value;
134 }
137 return *this;
138 }
140
142
146 inline int GetCompliantInformationalCount() const { return m_compliantInformationalCount; }
147 inline bool CompliantInformationalCountHasBeenSet() const { return m_compliantInformationalCountHasBeenSet; }
148 inline void SetCompliantInformationalCount(int value) {
149 m_compliantInformationalCountHasBeenSet = true;
150 m_compliantInformationalCount = value;
151 }
154 return *this;
155 }
157
159
163 inline int GetNonCompliantInformationalCount() const { return m_nonCompliantInformationalCount; }
164 inline bool NonCompliantInformationalCountHasBeenSet() const { return m_nonCompliantInformationalCountHasBeenSet; }
165 inline void SetNonCompliantInformationalCount(int value) {
166 m_nonCompliantInformationalCountHasBeenSet = true;
167 m_nonCompliantInformationalCount = value;
168 }
171 return *this;
172 }
174
176
180 inline int GetCompliantUnspecifiedCount() const { return m_compliantUnspecifiedCount; }
181 inline bool CompliantUnspecifiedCountHasBeenSet() const { return m_compliantUnspecifiedCountHasBeenSet; }
182 inline void SetCompliantUnspecifiedCount(int value) {
183 m_compliantUnspecifiedCountHasBeenSet = true;
184 m_compliantUnspecifiedCount = value;
185 }
188 return *this;
189 }
191
193
197 inline int GetNonCompliantLowCount() const { return m_nonCompliantLowCount; }
198 inline bool NonCompliantLowCountHasBeenSet() const { return m_nonCompliantLowCountHasBeenSet; }
199 inline void SetNonCompliantLowCount(int value) {
200 m_nonCompliantLowCountHasBeenSet = true;
201 m_nonCompliantLowCount = value;
202 }
205 return *this;
206 }
208
210
214 inline int GetNonCompliantHighCount() const { return m_nonCompliantHighCount; }
215 inline bool NonCompliantHighCountHasBeenSet() const { return m_nonCompliantHighCountHasBeenSet; }
216 inline void SetNonCompliantHighCount(int value) {
217 m_nonCompliantHighCountHasBeenSet = true;
218 m_nonCompliantHighCount = value;
219 }
222 return *this;
223 }
225
227
231 inline int GetCompliantLowCount() const { return m_compliantLowCount; }
232 inline bool CompliantLowCountHasBeenSet() const { return m_compliantLowCountHasBeenSet; }
233 inline void SetCompliantLowCount(int value) {
234 m_compliantLowCountHasBeenSet = true;
235 m_compliantLowCount = value;
236 }
239 return *this;
240 }
242
244
249 inline const Aws::String& GetComplianceType() const { return m_complianceType; }
250 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
251 template <typename ComplianceTypeT = Aws::String>
252 void SetComplianceType(ComplianceTypeT&& value) {
253 m_complianceTypeHasBeenSet = true;
254 m_complianceType = std::forward<ComplianceTypeT>(value);
255 }
256 template <typename ComplianceTypeT = Aws::String>
257 AwsSsmComplianceSummary& WithComplianceType(ComplianceTypeT&& value) {
258 SetComplianceType(std::forward<ComplianceTypeT>(value));
259 return *this;
260 }
262
264
268 inline const Aws::String& GetPatchBaselineId() const { return m_patchBaselineId; }
269 inline bool PatchBaselineIdHasBeenSet() const { return m_patchBaselineIdHasBeenSet; }
270 template <typename PatchBaselineIdT = Aws::String>
271 void SetPatchBaselineId(PatchBaselineIdT&& value) {
272 m_patchBaselineIdHasBeenSet = true;
273 m_patchBaselineId = std::forward<PatchBaselineIdT>(value);
274 }
275 template <typename PatchBaselineIdT = Aws::String>
276 AwsSsmComplianceSummary& WithPatchBaselineId(PatchBaselineIdT&& value) {
277 SetPatchBaselineId(std::forward<PatchBaselineIdT>(value));
278 return *this;
279 }
281
283
290 inline const Aws::String& GetOverallSeverity() const { return m_overallSeverity; }
291 inline bool OverallSeverityHasBeenSet() const { return m_overallSeverityHasBeenSet; }
292 template <typename OverallSeverityT = Aws::String>
293 void SetOverallSeverity(OverallSeverityT&& value) {
294 m_overallSeverityHasBeenSet = true;
295 m_overallSeverity = std::forward<OverallSeverityT>(value);
296 }
297 template <typename OverallSeverityT = Aws::String>
298 AwsSsmComplianceSummary& WithOverallSeverity(OverallSeverityT&& value) {
299 SetOverallSeverity(std::forward<OverallSeverityT>(value));
300 return *this;
301 }
303
305
309 inline int GetNonCompliantMediumCount() const { return m_nonCompliantMediumCount; }
310 inline bool NonCompliantMediumCountHasBeenSet() const { return m_nonCompliantMediumCountHasBeenSet; }
311 inline void SetNonCompliantMediumCount(int value) {
312 m_nonCompliantMediumCountHasBeenSet = true;
313 m_nonCompliantMediumCount = value;
314 }
317 return *this;
318 }
320
322
326 inline int GetNonCompliantUnspecifiedCount() const { return m_nonCompliantUnspecifiedCount; }
327 inline bool NonCompliantUnspecifiedCountHasBeenSet() const { return m_nonCompliantUnspecifiedCountHasBeenSet; }
328 inline void SetNonCompliantUnspecifiedCount(int value) {
329 m_nonCompliantUnspecifiedCountHasBeenSet = true;
330 m_nonCompliantUnspecifiedCount = value;
331 }
334 return *this;
335 }
337
339
344 inline const Aws::String& GetPatchGroup() const { return m_patchGroup; }
345 inline bool PatchGroupHasBeenSet() const { return m_patchGroupHasBeenSet; }
346 template <typename PatchGroupT = Aws::String>
347 void SetPatchGroup(PatchGroupT&& value) {
348 m_patchGroupHasBeenSet = true;
349 m_patchGroup = std::forward<PatchGroupT>(value);
350 }
351 template <typename PatchGroupT = Aws::String>
353 SetPatchGroup(std::forward<PatchGroupT>(value));
354 return *this;
355 }
357 private:
358 Aws::String m_status;
359
360 int m_compliantCriticalCount{0};
361
362 int m_compliantHighCount{0};
363
364 int m_compliantMediumCount{0};
365
366 Aws::String m_executionType;
367
368 int m_nonCompliantCriticalCount{0};
369
370 int m_compliantInformationalCount{0};
371
372 int m_nonCompliantInformationalCount{0};
373
374 int m_compliantUnspecifiedCount{0};
375
376 int m_nonCompliantLowCount{0};
377
378 int m_nonCompliantHighCount{0};
379
380 int m_compliantLowCount{0};
381
382 Aws::String m_complianceType;
383
384 Aws::String m_patchBaselineId;
385
386 Aws::String m_overallSeverity;
387
388 int m_nonCompliantMediumCount{0};
389
390 int m_nonCompliantUnspecifiedCount{0};
391
392 Aws::String m_patchGroup;
393 bool m_statusHasBeenSet = false;
394 bool m_compliantCriticalCountHasBeenSet = false;
395 bool m_compliantHighCountHasBeenSet = false;
396 bool m_compliantMediumCountHasBeenSet = false;
397 bool m_executionTypeHasBeenSet = false;
398 bool m_nonCompliantCriticalCountHasBeenSet = false;
399 bool m_compliantInformationalCountHasBeenSet = false;
400 bool m_nonCompliantInformationalCountHasBeenSet = false;
401 bool m_compliantUnspecifiedCountHasBeenSet = false;
402 bool m_nonCompliantLowCountHasBeenSet = false;
403 bool m_nonCompliantHighCountHasBeenSet = false;
404 bool m_compliantLowCountHasBeenSet = false;
405 bool m_complianceTypeHasBeenSet = false;
406 bool m_patchBaselineIdHasBeenSet = false;
407 bool m_overallSeverityHasBeenSet = false;
408 bool m_nonCompliantMediumCountHasBeenSet = false;
409 bool m_nonCompliantUnspecifiedCountHasBeenSet = false;
410 bool m_patchGroupHasBeenSet = false;
411};
412
413} // namespace Model
414} // namespace SecurityHub
415} // namespace Aws
AwsSsmComplianceSummary & WithCompliantHighCount(int value)
AWS_SECURITYHUB_API AwsSsmComplianceSummary()=default
AwsSsmComplianceSummary & WithPatchGroup(PatchGroupT &&value)
AwsSsmComplianceSummary & WithNonCompliantInformationalCount(int value)
AwsSsmComplianceSummary & WithPatchBaselineId(PatchBaselineIdT &&value)
AWS_SECURITYHUB_API AwsSsmComplianceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsSsmComplianceSummary & WithCompliantInformationalCount(int value)
AwsSsmComplianceSummary & WithComplianceType(ComplianceTypeT &&value)
AwsSsmComplianceSummary & WithNonCompliantLowCount(int value)
AwsSsmComplianceSummary & WithCompliantMediumCount(int value)
AwsSsmComplianceSummary & WithCompliantUnspecifiedCount(int value)
AwsSsmComplianceSummary & WithOverallSeverity(OverallSeverityT &&value)
AwsSsmComplianceSummary & WithStatus(StatusT &&value)
AwsSsmComplianceSummary & WithCompliantCriticalCount(int value)
AwsSsmComplianceSummary & WithNonCompliantHighCount(int value)
AWS_SECURITYHUB_API AwsSsmComplianceSummary(Aws::Utils::Json::JsonView jsonValue)
AwsSsmComplianceSummary & WithCompliantLowCount(int value)
AwsSsmComplianceSummary & WithExecutionType(ExecutionTypeT &&value)
AwsSsmComplianceSummary & WithNonCompliantUnspecifiedCount(int value)
AwsSsmComplianceSummary & WithNonCompliantMediumCount(int value)
AwsSsmComplianceSummary & WithNonCompliantCriticalCount(int value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue