AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsSsmComplianceSummary.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsSsmComplianceSummary() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetStatus() const { return m_status; }
48 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
49 template<typename StatusT = Aws::String>
50 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
51 template<typename StatusT = Aws::String>
52 AwsSsmComplianceSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
54
56
60 inline int GetCompliantCriticalCount() const { return m_compliantCriticalCount; }
61 inline bool CompliantCriticalCountHasBeenSet() const { return m_compliantCriticalCountHasBeenSet; }
62 inline void SetCompliantCriticalCount(int value) { m_compliantCriticalCountHasBeenSet = true; m_compliantCriticalCount = value; }
65
67
71 inline int GetCompliantHighCount() const { return m_compliantHighCount; }
72 inline bool CompliantHighCountHasBeenSet() const { return m_compliantHighCountHasBeenSet; }
73 inline void SetCompliantHighCount(int value) { m_compliantHighCountHasBeenSet = true; m_compliantHighCount = value; }
74 inline AwsSsmComplianceSummary& WithCompliantHighCount(int value) { SetCompliantHighCount(value); return *this;}
76
78
82 inline int GetCompliantMediumCount() const { return m_compliantMediumCount; }
83 inline bool CompliantMediumCountHasBeenSet() const { return m_compliantMediumCountHasBeenSet; }
84 inline void SetCompliantMediumCount(int value) { m_compliantMediumCountHasBeenSet = true; m_compliantMediumCount = value; }
87
89
92 inline const Aws::String& GetExecutionType() const { return m_executionType; }
93 inline bool ExecutionTypeHasBeenSet() const { return m_executionTypeHasBeenSet; }
94 template<typename ExecutionTypeT = Aws::String>
95 void SetExecutionType(ExecutionTypeT&& value) { m_executionTypeHasBeenSet = true; m_executionType = std::forward<ExecutionTypeT>(value); }
96 template<typename ExecutionTypeT = Aws::String>
97 AwsSsmComplianceSummary& WithExecutionType(ExecutionTypeT&& value) { SetExecutionType(std::forward<ExecutionTypeT>(value)); return *this;}
99
101
105 inline int GetNonCompliantCriticalCount() const { return m_nonCompliantCriticalCount; }
106 inline bool NonCompliantCriticalCountHasBeenSet() const { return m_nonCompliantCriticalCountHasBeenSet; }
107 inline void SetNonCompliantCriticalCount(int value) { m_nonCompliantCriticalCountHasBeenSet = true; m_nonCompliantCriticalCount = value; }
110
112
116 inline int GetCompliantInformationalCount() const { return m_compliantInformationalCount; }
117 inline bool CompliantInformationalCountHasBeenSet() const { return m_compliantInformationalCountHasBeenSet; }
118 inline void SetCompliantInformationalCount(int value) { m_compliantInformationalCountHasBeenSet = true; m_compliantInformationalCount = value; }
121
123
127 inline int GetNonCompliantInformationalCount() const { return m_nonCompliantInformationalCount; }
128 inline bool NonCompliantInformationalCountHasBeenSet() const { return m_nonCompliantInformationalCountHasBeenSet; }
129 inline void SetNonCompliantInformationalCount(int value) { m_nonCompliantInformationalCountHasBeenSet = true; m_nonCompliantInformationalCount = value; }
132
134
138 inline int GetCompliantUnspecifiedCount() const { return m_compliantUnspecifiedCount; }
139 inline bool CompliantUnspecifiedCountHasBeenSet() const { return m_compliantUnspecifiedCountHasBeenSet; }
140 inline void SetCompliantUnspecifiedCount(int value) { m_compliantUnspecifiedCountHasBeenSet = true; m_compliantUnspecifiedCount = value; }
143
145
149 inline int GetNonCompliantLowCount() const { return m_nonCompliantLowCount; }
150 inline bool NonCompliantLowCountHasBeenSet() const { return m_nonCompliantLowCountHasBeenSet; }
151 inline void SetNonCompliantLowCount(int value) { m_nonCompliantLowCountHasBeenSet = true; m_nonCompliantLowCount = value; }
154
156
160 inline int GetNonCompliantHighCount() const { return m_nonCompliantHighCount; }
161 inline bool NonCompliantHighCountHasBeenSet() const { return m_nonCompliantHighCountHasBeenSet; }
162 inline void SetNonCompliantHighCount(int value) { m_nonCompliantHighCountHasBeenSet = true; m_nonCompliantHighCount = value; }
165
167
171 inline int GetCompliantLowCount() const { return m_compliantLowCount; }
172 inline bool CompliantLowCountHasBeenSet() const { return m_compliantLowCountHasBeenSet; }
173 inline void SetCompliantLowCount(int value) { m_compliantLowCountHasBeenSet = true; m_compliantLowCount = value; }
174 inline AwsSsmComplianceSummary& WithCompliantLowCount(int value) { SetCompliantLowCount(value); return *this;}
176
178
183 inline const Aws::String& GetComplianceType() const { return m_complianceType; }
184 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
185 template<typename ComplianceTypeT = Aws::String>
186 void SetComplianceType(ComplianceTypeT&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::forward<ComplianceTypeT>(value); }
187 template<typename ComplianceTypeT = Aws::String>
188 AwsSsmComplianceSummary& WithComplianceType(ComplianceTypeT&& value) { SetComplianceType(std::forward<ComplianceTypeT>(value)); return *this;}
190
192
196 inline const Aws::String& GetPatchBaselineId() const { return m_patchBaselineId; }
197 inline bool PatchBaselineIdHasBeenSet() const { return m_patchBaselineIdHasBeenSet; }
198 template<typename PatchBaselineIdT = Aws::String>
199 void SetPatchBaselineId(PatchBaselineIdT&& value) { m_patchBaselineIdHasBeenSet = true; m_patchBaselineId = std::forward<PatchBaselineIdT>(value); }
200 template<typename PatchBaselineIdT = Aws::String>
201 AwsSsmComplianceSummary& WithPatchBaselineId(PatchBaselineIdT&& value) { SetPatchBaselineId(std::forward<PatchBaselineIdT>(value)); return *this;}
203
205
212 inline const Aws::String& GetOverallSeverity() const { return m_overallSeverity; }
213 inline bool OverallSeverityHasBeenSet() const { return m_overallSeverityHasBeenSet; }
214 template<typename OverallSeverityT = Aws::String>
215 void SetOverallSeverity(OverallSeverityT&& value) { m_overallSeverityHasBeenSet = true; m_overallSeverity = std::forward<OverallSeverityT>(value); }
216 template<typename OverallSeverityT = Aws::String>
217 AwsSsmComplianceSummary& WithOverallSeverity(OverallSeverityT&& value) { SetOverallSeverity(std::forward<OverallSeverityT>(value)); return *this;}
219
221
225 inline int GetNonCompliantMediumCount() const { return m_nonCompliantMediumCount; }
226 inline bool NonCompliantMediumCountHasBeenSet() const { return m_nonCompliantMediumCountHasBeenSet; }
227 inline void SetNonCompliantMediumCount(int value) { m_nonCompliantMediumCountHasBeenSet = true; m_nonCompliantMediumCount = value; }
230
232
236 inline int GetNonCompliantUnspecifiedCount() const { return m_nonCompliantUnspecifiedCount; }
237 inline bool NonCompliantUnspecifiedCountHasBeenSet() const { return m_nonCompliantUnspecifiedCountHasBeenSet; }
238 inline void SetNonCompliantUnspecifiedCount(int value) { m_nonCompliantUnspecifiedCountHasBeenSet = true; m_nonCompliantUnspecifiedCount = value; }
241
243
248 inline const Aws::String& GetPatchGroup() const { return m_patchGroup; }
249 inline bool PatchGroupHasBeenSet() const { return m_patchGroupHasBeenSet; }
250 template<typename PatchGroupT = Aws::String>
251 void SetPatchGroup(PatchGroupT&& value) { m_patchGroupHasBeenSet = true; m_patchGroup = std::forward<PatchGroupT>(value); }
252 template<typename PatchGroupT = Aws::String>
253 AwsSsmComplianceSummary& WithPatchGroup(PatchGroupT&& value) { SetPatchGroup(std::forward<PatchGroupT>(value)); return *this;}
255 private:
256
257 Aws::String m_status;
258 bool m_statusHasBeenSet = false;
259
260 int m_compliantCriticalCount{0};
261 bool m_compliantCriticalCountHasBeenSet = false;
262
263 int m_compliantHighCount{0};
264 bool m_compliantHighCountHasBeenSet = false;
265
266 int m_compliantMediumCount{0};
267 bool m_compliantMediumCountHasBeenSet = false;
268
269 Aws::String m_executionType;
270 bool m_executionTypeHasBeenSet = false;
271
272 int m_nonCompliantCriticalCount{0};
273 bool m_nonCompliantCriticalCountHasBeenSet = false;
274
275 int m_compliantInformationalCount{0};
276 bool m_compliantInformationalCountHasBeenSet = false;
277
278 int m_nonCompliantInformationalCount{0};
279 bool m_nonCompliantInformationalCountHasBeenSet = false;
280
281 int m_compliantUnspecifiedCount{0};
282 bool m_compliantUnspecifiedCountHasBeenSet = false;
283
284 int m_nonCompliantLowCount{0};
285 bool m_nonCompliantLowCountHasBeenSet = false;
286
287 int m_nonCompliantHighCount{0};
288 bool m_nonCompliantHighCountHasBeenSet = false;
289
290 int m_compliantLowCount{0};
291 bool m_compliantLowCountHasBeenSet = false;
292
293 Aws::String m_complianceType;
294 bool m_complianceTypeHasBeenSet = false;
295
296 Aws::String m_patchBaselineId;
297 bool m_patchBaselineIdHasBeenSet = false;
298
299 Aws::String m_overallSeverity;
300 bool m_overallSeverityHasBeenSet = false;
301
302 int m_nonCompliantMediumCount{0};
303 bool m_nonCompliantMediumCountHasBeenSet = false;
304
305 int m_nonCompliantUnspecifiedCount{0};
306 bool m_nonCompliantUnspecifiedCountHasBeenSet = false;
307
308 Aws::String m_patchGroup;
309 bool m_patchGroupHasBeenSet = false;
310 };
311
312} // namespace Model
313} // namespace SecurityHub
314} // 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