AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
RemediationOutcome.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SecurityHub {
17namespace Model {
18
26 public:
27 AWS_SECURITYHUB_API RemediationOutcome() = default;
28 AWS_SECURITYHUB_API RemediationOutcome(Aws::Utils::Json::JsonView jsonValue);
30 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetResolvedFindingsCount() const { return m_resolvedFindingsCount; }
38 inline bool ResolvedFindingsCountHasBeenSet() const { return m_resolvedFindingsCountHasBeenSet; }
39 inline void SetResolvedFindingsCount(int value) {
40 m_resolvedFindingsCountHasBeenSet = true;
41 m_resolvedFindingsCount = value;
42 }
45 return *this;
46 }
48
50
54 inline int GetSeverityReductionFindingsCount() const { return m_severityReductionFindingsCount; }
55 inline bool SeverityReductionFindingsCountHasBeenSet() const { return m_severityReductionFindingsCountHasBeenSet; }
56 inline void SetSeverityReductionFindingsCount(int value) {
57 m_severityReductionFindingsCountHasBeenSet = true;
58 m_severityReductionFindingsCount = value;
59 }
62 return *this;
63 }
65
67
71 inline int GetSeverityUnchangedCount() const { return m_severityUnchangedCount; }
72 inline bool SeverityUnchangedCountHasBeenSet() const { return m_severityUnchangedCountHasBeenSet; }
73 inline void SetSeverityUnchangedCount(int value) {
74 m_severityUnchangedCountHasBeenSet = true;
75 m_severityUnchangedCount = value;
76 }
79 return *this;
80 }
82 private:
83 int m_resolvedFindingsCount{0};
84
85 int m_severityReductionFindingsCount{0};
86
87 int m_severityUnchangedCount{0};
88 bool m_resolvedFindingsCountHasBeenSet = false;
89 bool m_severityReductionFindingsCountHasBeenSet = false;
90 bool m_severityUnchangedCountHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace SecurityHub
95} // namespace Aws
AWS_SECURITYHUB_API RemediationOutcome()=default
AWS_SECURITYHUB_API RemediationOutcome(Aws::Utils::Json::JsonView jsonValue)
RemediationOutcome & WithResolvedFindingsCount(int value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
RemediationOutcome & WithSeverityReductionFindingsCount(int value)
AWS_SECURITYHUB_API RemediationOutcome & operator=(Aws::Utils::Json::JsonView jsonValue)
RemediationOutcome & WithSeverityUnchangedCount(int value)
Aws::Utils::Json::JsonValue JsonValue