AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComplianceSummary.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ComplianceContributorCount.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConfigService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONFIGSERVICE_API ComplianceSummary();
37 AWS_CONFIGSERVICE_API ComplianceSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONFIGSERVICE_API ComplianceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const ComplianceContributorCount& GetCompliantResourceCount() const{ return m_compliantResourceCount; }
48 inline bool CompliantResourceCountHasBeenSet() const { return m_compliantResourceCountHasBeenSet; }
49 inline void SetCompliantResourceCount(const ComplianceContributorCount& value) { m_compliantResourceCountHasBeenSet = true; m_compliantResourceCount = value; }
50 inline void SetCompliantResourceCount(ComplianceContributorCount&& value) { m_compliantResourceCountHasBeenSet = true; m_compliantResourceCount = std::move(value); }
54
56
60 inline const ComplianceContributorCount& GetNonCompliantResourceCount() const{ return m_nonCompliantResourceCount; }
61 inline bool NonCompliantResourceCountHasBeenSet() const { return m_nonCompliantResourceCountHasBeenSet; }
62 inline void SetNonCompliantResourceCount(const ComplianceContributorCount& value) { m_nonCompliantResourceCountHasBeenSet = true; m_nonCompliantResourceCount = value; }
63 inline void SetNonCompliantResourceCount(ComplianceContributorCount&& value) { m_nonCompliantResourceCountHasBeenSet = true; m_nonCompliantResourceCount = std::move(value); }
67
69
72 inline const Aws::Utils::DateTime& GetComplianceSummaryTimestamp() const{ return m_complianceSummaryTimestamp; }
73 inline bool ComplianceSummaryTimestampHasBeenSet() const { return m_complianceSummaryTimestampHasBeenSet; }
74 inline void SetComplianceSummaryTimestamp(const Aws::Utils::DateTime& value) { m_complianceSummaryTimestampHasBeenSet = true; m_complianceSummaryTimestamp = value; }
75 inline void SetComplianceSummaryTimestamp(Aws::Utils::DateTime&& value) { m_complianceSummaryTimestampHasBeenSet = true; m_complianceSummaryTimestamp = std::move(value); }
79 private:
80
81 ComplianceContributorCount m_compliantResourceCount;
82 bool m_compliantResourceCountHasBeenSet = false;
83
84 ComplianceContributorCount m_nonCompliantResourceCount;
85 bool m_nonCompliantResourceCountHasBeenSet = false;
86
87 Aws::Utils::DateTime m_complianceSummaryTimestamp;
88 bool m_complianceSummaryTimestampHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ConfigService
93} // namespace Aws
ComplianceSummary & WithComplianceSummaryTimestamp(const Aws::Utils::DateTime &value)
ComplianceSummary & WithNonCompliantResourceCount(ComplianceContributorCount &&value)
ComplianceSummary & WithCompliantResourceCount(const ComplianceContributorCount &value)
const Aws::Utils::DateTime & GetComplianceSummaryTimestamp() const
void SetNonCompliantResourceCount(const ComplianceContributorCount &value)
void SetCompliantResourceCount(ComplianceContributorCount &&value)
void SetComplianceSummaryTimestamp(const Aws::Utils::DateTime &value)
AWS_CONFIGSERVICE_API ComplianceSummary(Aws::Utils::Json::JsonView jsonValue)
const ComplianceContributorCount & GetNonCompliantResourceCount() const
void SetCompliantResourceCount(const ComplianceContributorCount &value)
ComplianceSummary & WithCompliantResourceCount(ComplianceContributorCount &&value)
ComplianceSummary & WithComplianceSummaryTimestamp(Aws::Utils::DateTime &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API ComplianceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComplianceSummaryTimestamp(Aws::Utils::DateTime &&value)
const ComplianceContributorCount & GetCompliantResourceCount() const
void SetNonCompliantResourceCount(ComplianceContributorCount &&value)
ComplianceSummary & WithNonCompliantResourceCount(const ComplianceContributorCount &value)
Aws::Utils::Json::JsonValue JsonValue