AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AggregateConformancePackCompliance.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ConformancePackComplianceType.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 ConfigService
22{
23namespace Model
24{
25
42 {
43 public:
44 AWS_CONFIGSERVICE_API AggregateConformancePackCompliance() = default;
47 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline ConformancePackComplianceType GetComplianceType() const { return m_complianceType; }
55 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
56 inline void SetComplianceType(ConformancePackComplianceType value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
59
61
64 inline int GetCompliantRuleCount() const { return m_compliantRuleCount; }
65 inline bool CompliantRuleCountHasBeenSet() const { return m_compliantRuleCountHasBeenSet; }
66 inline void SetCompliantRuleCount(int value) { m_compliantRuleCountHasBeenSet = true; m_compliantRuleCount = value; }
69
71
74 inline int GetNonCompliantRuleCount() const { return m_nonCompliantRuleCount; }
75 inline bool NonCompliantRuleCountHasBeenSet() const { return m_nonCompliantRuleCountHasBeenSet; }
76 inline void SetNonCompliantRuleCount(int value) { m_nonCompliantRuleCountHasBeenSet = true; m_nonCompliantRuleCount = value; }
79
81
86 inline int GetTotalRuleCount() const { return m_totalRuleCount; }
87 inline bool TotalRuleCountHasBeenSet() const { return m_totalRuleCountHasBeenSet; }
88 inline void SetTotalRuleCount(int value) { m_totalRuleCountHasBeenSet = true; m_totalRuleCount = value; }
91 private:
92
94 bool m_complianceTypeHasBeenSet = false;
95
96 int m_compliantRuleCount{0};
97 bool m_compliantRuleCountHasBeenSet = false;
98
99 int m_nonCompliantRuleCount{0};
100 bool m_nonCompliantRuleCountHasBeenSet = false;
101
102 int m_totalRuleCount{0};
103 bool m_totalRuleCountHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace ConfigService
108} // namespace Aws
AWS_CONFIGSERVICE_API AggregateConformancePackCompliance()=default
AggregateConformancePackCompliance & WithComplianceType(ConformancePackComplianceType value)
AWS_CONFIGSERVICE_API AggregateConformancePackCompliance(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API AggregateConformancePackCompliance & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue