AWS SDK for C++

AWS SDK for C++ Version 1.11.751

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConfigService {
20namespace Model {
21
38 public:
39 AWS_CONFIGSERVICE_API AggregateConformancePackCompliance() = default;
42 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline ConformancePackComplianceType GetComplianceType() const { return m_complianceType; }
49 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
51 m_complianceTypeHasBeenSet = true;
52 m_complianceType = value;
53 }
55 SetComplianceType(value);
56 return *this;
57 }
59
61
64 inline int GetCompliantRuleCount() const { return m_compliantRuleCount; }
65 inline bool CompliantRuleCountHasBeenSet() const { return m_compliantRuleCountHasBeenSet; }
66 inline void SetCompliantRuleCount(int value) {
67 m_compliantRuleCountHasBeenSet = true;
68 m_compliantRuleCount = value;
69 }
72 return *this;
73 }
75
77
80 inline int GetNonCompliantRuleCount() const { return m_nonCompliantRuleCount; }
81 inline bool NonCompliantRuleCountHasBeenSet() const { return m_nonCompliantRuleCountHasBeenSet; }
82 inline void SetNonCompliantRuleCount(int value) {
83 m_nonCompliantRuleCountHasBeenSet = true;
84 m_nonCompliantRuleCount = value;
85 }
88 return *this;
89 }
91
93
98 inline int GetTotalRuleCount() const { return m_totalRuleCount; }
99 inline bool TotalRuleCountHasBeenSet() const { return m_totalRuleCountHasBeenSet; }
100 inline void SetTotalRuleCount(int value) {
101 m_totalRuleCountHasBeenSet = true;
102 m_totalRuleCount = value;
103 }
105 SetTotalRuleCount(value);
106 return *this;
107 }
109 private:
111
112 int m_compliantRuleCount{0};
113
114 int m_nonCompliantRuleCount{0};
115
116 int m_totalRuleCount{0};
117 bool m_complianceTypeHasBeenSet = false;
118 bool m_compliantRuleCountHasBeenSet = false;
119 bool m_nonCompliantRuleCountHasBeenSet = false;
120 bool m_totalRuleCountHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace ConfigService
125} // 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