AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
50 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
51 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
52 inline AwsSsmComplianceSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
53 inline AwsSsmComplianceSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
54 inline AwsSsmComplianceSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
56
58
62 inline int GetCompliantCriticalCount() const{ return m_compliantCriticalCount; }
63 inline bool CompliantCriticalCountHasBeenSet() const { return m_compliantCriticalCountHasBeenSet; }
64 inline void SetCompliantCriticalCount(int value) { m_compliantCriticalCountHasBeenSet = true; m_compliantCriticalCount = value; }
67
69
73 inline int GetCompliantHighCount() const{ return m_compliantHighCount; }
74 inline bool CompliantHighCountHasBeenSet() const { return m_compliantHighCountHasBeenSet; }
75 inline void SetCompliantHighCount(int value) { m_compliantHighCountHasBeenSet = true; m_compliantHighCount = value; }
76 inline AwsSsmComplianceSummary& WithCompliantHighCount(int value) { SetCompliantHighCount(value); return *this;}
78
80
84 inline int GetCompliantMediumCount() const{ return m_compliantMediumCount; }
85 inline bool CompliantMediumCountHasBeenSet() const { return m_compliantMediumCountHasBeenSet; }
86 inline void SetCompliantMediumCount(int value) { m_compliantMediumCountHasBeenSet = true; m_compliantMediumCount = value; }
89
91
94 inline const Aws::String& GetExecutionType() const{ return m_executionType; }
95 inline bool ExecutionTypeHasBeenSet() const { return m_executionTypeHasBeenSet; }
96 inline void SetExecutionType(const Aws::String& value) { m_executionTypeHasBeenSet = true; m_executionType = value; }
97 inline void SetExecutionType(Aws::String&& value) { m_executionTypeHasBeenSet = true; m_executionType = std::move(value); }
98 inline void SetExecutionType(const char* value) { m_executionTypeHasBeenSet = true; m_executionType.assign(value); }
99 inline AwsSsmComplianceSummary& WithExecutionType(const Aws::String& value) { SetExecutionType(value); return *this;}
100 inline AwsSsmComplianceSummary& WithExecutionType(Aws::String&& value) { SetExecutionType(std::move(value)); return *this;}
101 inline AwsSsmComplianceSummary& WithExecutionType(const char* value) { SetExecutionType(value); return *this;}
103
105
109 inline int GetNonCompliantCriticalCount() const{ return m_nonCompliantCriticalCount; }
110 inline bool NonCompliantCriticalCountHasBeenSet() const { return m_nonCompliantCriticalCountHasBeenSet; }
111 inline void SetNonCompliantCriticalCount(int value) { m_nonCompliantCriticalCountHasBeenSet = true; m_nonCompliantCriticalCount = value; }
114
116
120 inline int GetCompliantInformationalCount() const{ return m_compliantInformationalCount; }
121 inline bool CompliantInformationalCountHasBeenSet() const { return m_compliantInformationalCountHasBeenSet; }
122 inline void SetCompliantInformationalCount(int value) { m_compliantInformationalCountHasBeenSet = true; m_compliantInformationalCount = value; }
125
127
131 inline int GetNonCompliantInformationalCount() const{ return m_nonCompliantInformationalCount; }
132 inline bool NonCompliantInformationalCountHasBeenSet() const { return m_nonCompliantInformationalCountHasBeenSet; }
133 inline void SetNonCompliantInformationalCount(int value) { m_nonCompliantInformationalCountHasBeenSet = true; m_nonCompliantInformationalCount = value; }
136
138
142 inline int GetCompliantUnspecifiedCount() const{ return m_compliantUnspecifiedCount; }
143 inline bool CompliantUnspecifiedCountHasBeenSet() const { return m_compliantUnspecifiedCountHasBeenSet; }
144 inline void SetCompliantUnspecifiedCount(int value) { m_compliantUnspecifiedCountHasBeenSet = true; m_compliantUnspecifiedCount = value; }
147
149
153 inline int GetNonCompliantLowCount() const{ return m_nonCompliantLowCount; }
154 inline bool NonCompliantLowCountHasBeenSet() const { return m_nonCompliantLowCountHasBeenSet; }
155 inline void SetNonCompliantLowCount(int value) { m_nonCompliantLowCountHasBeenSet = true; m_nonCompliantLowCount = value; }
158
160
164 inline int GetNonCompliantHighCount() const{ return m_nonCompliantHighCount; }
165 inline bool NonCompliantHighCountHasBeenSet() const { return m_nonCompliantHighCountHasBeenSet; }
166 inline void SetNonCompliantHighCount(int value) { m_nonCompliantHighCountHasBeenSet = true; m_nonCompliantHighCount = value; }
169
171
175 inline int GetCompliantLowCount() const{ return m_compliantLowCount; }
176 inline bool CompliantLowCountHasBeenSet() const { return m_compliantLowCountHasBeenSet; }
177 inline void SetCompliantLowCount(int value) { m_compliantLowCountHasBeenSet = true; m_compliantLowCount = value; }
178 inline AwsSsmComplianceSummary& WithCompliantLowCount(int value) { SetCompliantLowCount(value); return *this;}
180
182
187 inline const Aws::String& GetComplianceType() const{ return m_complianceType; }
188 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
189 inline void SetComplianceType(const Aws::String& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
190 inline void SetComplianceType(Aws::String&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); }
191 inline void SetComplianceType(const char* value) { m_complianceTypeHasBeenSet = true; m_complianceType.assign(value); }
192 inline AwsSsmComplianceSummary& WithComplianceType(const Aws::String& value) { SetComplianceType(value); return *this;}
193 inline AwsSsmComplianceSummary& WithComplianceType(Aws::String&& value) { SetComplianceType(std::move(value)); return *this;}
194 inline AwsSsmComplianceSummary& WithComplianceType(const char* value) { SetComplianceType(value); return *this;}
196
198
202 inline const Aws::String& GetPatchBaselineId() const{ return m_patchBaselineId; }
203 inline bool PatchBaselineIdHasBeenSet() const { return m_patchBaselineIdHasBeenSet; }
204 inline void SetPatchBaselineId(const Aws::String& value) { m_patchBaselineIdHasBeenSet = true; m_patchBaselineId = value; }
205 inline void SetPatchBaselineId(Aws::String&& value) { m_patchBaselineIdHasBeenSet = true; m_patchBaselineId = std::move(value); }
206 inline void SetPatchBaselineId(const char* value) { m_patchBaselineIdHasBeenSet = true; m_patchBaselineId.assign(value); }
207 inline AwsSsmComplianceSummary& WithPatchBaselineId(const Aws::String& value) { SetPatchBaselineId(value); return *this;}
208 inline AwsSsmComplianceSummary& WithPatchBaselineId(Aws::String&& value) { SetPatchBaselineId(std::move(value)); return *this;}
209 inline AwsSsmComplianceSummary& WithPatchBaselineId(const char* value) { SetPatchBaselineId(value); return *this;}
211
213
220 inline const Aws::String& GetOverallSeverity() const{ return m_overallSeverity; }
221 inline bool OverallSeverityHasBeenSet() const { return m_overallSeverityHasBeenSet; }
222 inline void SetOverallSeverity(const Aws::String& value) { m_overallSeverityHasBeenSet = true; m_overallSeverity = value; }
223 inline void SetOverallSeverity(Aws::String&& value) { m_overallSeverityHasBeenSet = true; m_overallSeverity = std::move(value); }
224 inline void SetOverallSeverity(const char* value) { m_overallSeverityHasBeenSet = true; m_overallSeverity.assign(value); }
225 inline AwsSsmComplianceSummary& WithOverallSeverity(const Aws::String& value) { SetOverallSeverity(value); return *this;}
226 inline AwsSsmComplianceSummary& WithOverallSeverity(Aws::String&& value) { SetOverallSeverity(std::move(value)); return *this;}
227 inline AwsSsmComplianceSummary& WithOverallSeverity(const char* value) { SetOverallSeverity(value); return *this;}
229
231
235 inline int GetNonCompliantMediumCount() const{ return m_nonCompliantMediumCount; }
236 inline bool NonCompliantMediumCountHasBeenSet() const { return m_nonCompliantMediumCountHasBeenSet; }
237 inline void SetNonCompliantMediumCount(int value) { m_nonCompliantMediumCountHasBeenSet = true; m_nonCompliantMediumCount = value; }
240
242
246 inline int GetNonCompliantUnspecifiedCount() const{ return m_nonCompliantUnspecifiedCount; }
247 inline bool NonCompliantUnspecifiedCountHasBeenSet() const { return m_nonCompliantUnspecifiedCountHasBeenSet; }
248 inline void SetNonCompliantUnspecifiedCount(int value) { m_nonCompliantUnspecifiedCountHasBeenSet = true; m_nonCompliantUnspecifiedCount = value; }
251
253
258 inline const Aws::String& GetPatchGroup() const{ return m_patchGroup; }
259 inline bool PatchGroupHasBeenSet() const { return m_patchGroupHasBeenSet; }
260 inline void SetPatchGroup(const Aws::String& value) { m_patchGroupHasBeenSet = true; m_patchGroup = value; }
261 inline void SetPatchGroup(Aws::String&& value) { m_patchGroupHasBeenSet = true; m_patchGroup = std::move(value); }
262 inline void SetPatchGroup(const char* value) { m_patchGroupHasBeenSet = true; m_patchGroup.assign(value); }
263 inline AwsSsmComplianceSummary& WithPatchGroup(const Aws::String& value) { SetPatchGroup(value); return *this;}
264 inline AwsSsmComplianceSummary& WithPatchGroup(Aws::String&& value) { SetPatchGroup(std::move(value)); return *this;}
265 inline AwsSsmComplianceSummary& WithPatchGroup(const char* value) { SetPatchGroup(value); return *this;}
267 private:
268
269 Aws::String m_status;
270 bool m_statusHasBeenSet = false;
271
272 int m_compliantCriticalCount;
273 bool m_compliantCriticalCountHasBeenSet = false;
274
275 int m_compliantHighCount;
276 bool m_compliantHighCountHasBeenSet = false;
277
278 int m_compliantMediumCount;
279 bool m_compliantMediumCountHasBeenSet = false;
280
281 Aws::String m_executionType;
282 bool m_executionTypeHasBeenSet = false;
283
284 int m_nonCompliantCriticalCount;
285 bool m_nonCompliantCriticalCountHasBeenSet = false;
286
287 int m_compliantInformationalCount;
288 bool m_compliantInformationalCountHasBeenSet = false;
289
290 int m_nonCompliantInformationalCount;
291 bool m_nonCompliantInformationalCountHasBeenSet = false;
292
293 int m_compliantUnspecifiedCount;
294 bool m_compliantUnspecifiedCountHasBeenSet = false;
295
296 int m_nonCompliantLowCount;
297 bool m_nonCompliantLowCountHasBeenSet = false;
298
299 int m_nonCompliantHighCount;
300 bool m_nonCompliantHighCountHasBeenSet = false;
301
302 int m_compliantLowCount;
303 bool m_compliantLowCountHasBeenSet = false;
304
305 Aws::String m_complianceType;
306 bool m_complianceTypeHasBeenSet = false;
307
308 Aws::String m_patchBaselineId;
309 bool m_patchBaselineIdHasBeenSet = false;
310
311 Aws::String m_overallSeverity;
312 bool m_overallSeverityHasBeenSet = false;
313
314 int m_nonCompliantMediumCount;
315 bool m_nonCompliantMediumCountHasBeenSet = false;
316
317 int m_nonCompliantUnspecifiedCount;
318 bool m_nonCompliantUnspecifiedCountHasBeenSet = false;
319
320 Aws::String m_patchGroup;
321 bool m_patchGroupHasBeenSet = false;
322 };
323
324} // namespace Model
325} // namespace SecurityHub
326} // namespace Aws
AwsSsmComplianceSummary & WithCompliantHighCount(int value)
AwsSsmComplianceSummary & WithNonCompliantInformationalCount(int value)
AwsSsmComplianceSummary & WithExecutionType(Aws::String &&value)
AwsSsmComplianceSummary & WithStatus(const char *value)
AWS_SECURITYHUB_API AwsSsmComplianceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsSsmComplianceSummary & WithOverallSeverity(Aws::String &&value)
AwsSsmComplianceSummary & WithCompliantInformationalCount(int value)
AwsSsmComplianceSummary & WithPatchGroup(const char *value)
AwsSsmComplianceSummary & WithComplianceType(const char *value)
AwsSsmComplianceSummary & WithPatchGroup(const Aws::String &value)
AwsSsmComplianceSummary & WithPatchBaselineId(const Aws::String &value)
AwsSsmComplianceSummary & WithOverallSeverity(const char *value)
AwsSsmComplianceSummary & WithNonCompliantLowCount(int value)
AwsSsmComplianceSummary & WithPatchBaselineId(Aws::String &&value)
AwsSsmComplianceSummary & WithCompliantMediumCount(int value)
AwsSsmComplianceSummary & WithCompliantUnspecifiedCount(int value)
AwsSsmComplianceSummary & WithStatus(const Aws::String &value)
AwsSsmComplianceSummary & WithCompliantCriticalCount(int value)
AwsSsmComplianceSummary & WithOverallSeverity(const Aws::String &value)
AwsSsmComplianceSummary & WithStatus(Aws::String &&value)
AwsSsmComplianceSummary & WithNonCompliantHighCount(int value)
AwsSsmComplianceSummary & WithPatchBaselineId(const char *value)
AWS_SECURITYHUB_API AwsSsmComplianceSummary(Aws::Utils::Json::JsonView jsonValue)
AwsSsmComplianceSummary & WithExecutionType(const char *value)
AwsSsmComplianceSummary & WithCompliantLowCount(int value)
AwsSsmComplianceSummary & WithNonCompliantUnspecifiedCount(int value)
AwsSsmComplianceSummary & WithComplianceType(Aws::String &&value)
AwsSsmComplianceSummary & WithComplianceType(const Aws::String &value)
AwsSsmComplianceSummary & WithNonCompliantMediumCount(int value)
AwsSsmComplianceSummary & WithPatchGroup(Aws::String &&value)
AwsSsmComplianceSummary & WithNonCompliantCriticalCount(int value)
AwsSsmComplianceSummary & WithExecutionType(const Aws::String &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