AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
47 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const ConformancePackComplianceType& GetComplianceType() const{ return m_complianceType; }
55 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
56 inline void SetComplianceType(const ConformancePackComplianceType& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
57 inline void SetComplianceType(ConformancePackComplianceType&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); }
61
63
66 inline int GetCompliantRuleCount() const{ return m_compliantRuleCount; }
67 inline bool CompliantRuleCountHasBeenSet() const { return m_compliantRuleCountHasBeenSet; }
68 inline void SetCompliantRuleCount(int value) { m_compliantRuleCountHasBeenSet = true; m_compliantRuleCount = value; }
71
73
76 inline int GetNonCompliantRuleCount() const{ return m_nonCompliantRuleCount; }
77 inline bool NonCompliantRuleCountHasBeenSet() const { return m_nonCompliantRuleCountHasBeenSet; }
78 inline void SetNonCompliantRuleCount(int value) { m_nonCompliantRuleCountHasBeenSet = true; m_nonCompliantRuleCount = value; }
81
83
88 inline int GetTotalRuleCount() const{ return m_totalRuleCount; }
89 inline bool TotalRuleCountHasBeenSet() const { return m_totalRuleCountHasBeenSet; }
90 inline void SetTotalRuleCount(int value) { m_totalRuleCountHasBeenSet = true; m_totalRuleCount = value; }
93 private:
94
95 ConformancePackComplianceType m_complianceType;
96 bool m_complianceTypeHasBeenSet = false;
97
98 int m_compliantRuleCount;
99 bool m_compliantRuleCountHasBeenSet = false;
100
101 int m_nonCompliantRuleCount;
102 bool m_nonCompliantRuleCountHasBeenSet = false;
103
104 int m_totalRuleCount;
105 bool m_totalRuleCountHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace ConfigService
110} // namespace Aws
AggregateConformancePackCompliance & WithComplianceType(const 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)
AggregateConformancePackCompliance & WithComplianceType(ConformancePackComplianceType &&value)
Aws::Utils::Json::JsonValue JsonValue