/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The number of Config rules or Amazon Web Services resources that are
* compliant and noncompliant.See Also:
AWS
* API Reference
The number of Config rules or Amazon Web Services resources that are * compliant, up to a maximum of 25 for rules and 100 for resources.
*/ inline const ComplianceContributorCount& GetCompliantResourceCount() const{ return m_compliantResourceCount; } /** *The number of Config rules or Amazon Web Services resources that are * compliant, up to a maximum of 25 for rules and 100 for resources.
*/ inline bool CompliantResourceCountHasBeenSet() const { return m_compliantResourceCountHasBeenSet; } /** *The number of Config rules or Amazon Web Services resources that are * compliant, up to a maximum of 25 for rules and 100 for resources.
*/ inline void SetCompliantResourceCount(const ComplianceContributorCount& value) { m_compliantResourceCountHasBeenSet = true; m_compliantResourceCount = value; } /** *The number of Config rules or Amazon Web Services resources that are * compliant, up to a maximum of 25 for rules and 100 for resources.
*/ inline void SetCompliantResourceCount(ComplianceContributorCount&& value) { m_compliantResourceCountHasBeenSet = true; m_compliantResourceCount = std::move(value); } /** *The number of Config rules or Amazon Web Services resources that are * compliant, up to a maximum of 25 for rules and 100 for resources.
*/ inline ComplianceSummary& WithCompliantResourceCount(const ComplianceContributorCount& value) { SetCompliantResourceCount(value); return *this;} /** *The number of Config rules or Amazon Web Services resources that are * compliant, up to a maximum of 25 for rules and 100 for resources.
*/ inline ComplianceSummary& WithCompliantResourceCount(ComplianceContributorCount&& value) { SetCompliantResourceCount(std::move(value)); return *this;} /** *The number of Config rules or Amazon Web Services resources that are * noncompliant, up to a maximum of 25 for rules and 100 for resources.
*/ inline const ComplianceContributorCount& GetNonCompliantResourceCount() const{ return m_nonCompliantResourceCount; } /** *The number of Config rules or Amazon Web Services resources that are * noncompliant, up to a maximum of 25 for rules and 100 for resources.
*/ inline bool NonCompliantResourceCountHasBeenSet() const { return m_nonCompliantResourceCountHasBeenSet; } /** *The number of Config rules or Amazon Web Services resources that are * noncompliant, up to a maximum of 25 for rules and 100 for resources.
*/ inline void SetNonCompliantResourceCount(const ComplianceContributorCount& value) { m_nonCompliantResourceCountHasBeenSet = true; m_nonCompliantResourceCount = value; } /** *The number of Config rules or Amazon Web Services resources that are * noncompliant, up to a maximum of 25 for rules and 100 for resources.
*/ inline void SetNonCompliantResourceCount(ComplianceContributorCount&& value) { m_nonCompliantResourceCountHasBeenSet = true; m_nonCompliantResourceCount = std::move(value); } /** *The number of Config rules or Amazon Web Services resources that are * noncompliant, up to a maximum of 25 for rules and 100 for resources.
*/ inline ComplianceSummary& WithNonCompliantResourceCount(const ComplianceContributorCount& value) { SetNonCompliantResourceCount(value); return *this;} /** *The number of Config rules or Amazon Web Services resources that are * noncompliant, up to a maximum of 25 for rules and 100 for resources.
*/ inline ComplianceSummary& WithNonCompliantResourceCount(ComplianceContributorCount&& value) { SetNonCompliantResourceCount(std::move(value)); return *this;} /** *The time that Config created the compliance summary.
*/ inline const Aws::Utils::DateTime& GetComplianceSummaryTimestamp() const{ return m_complianceSummaryTimestamp; } /** *The time that Config created the compliance summary.
*/ inline bool ComplianceSummaryTimestampHasBeenSet() const { return m_complianceSummaryTimestampHasBeenSet; } /** *The time that Config created the compliance summary.
*/ inline void SetComplianceSummaryTimestamp(const Aws::Utils::DateTime& value) { m_complianceSummaryTimestampHasBeenSet = true; m_complianceSummaryTimestamp = value; } /** *The time that Config created the compliance summary.
*/ inline void SetComplianceSummaryTimestamp(Aws::Utils::DateTime&& value) { m_complianceSummaryTimestampHasBeenSet = true; m_complianceSummaryTimestamp = std::move(value); } /** *The time that Config created the compliance summary.
*/ inline ComplianceSummary& WithComplianceSummaryTimestamp(const Aws::Utils::DateTime& value) { SetComplianceSummaryTimestamp(value); return *this;} /** *The time that Config created the compliance summary.
*/ inline ComplianceSummary& WithComplianceSummaryTimestamp(Aws::Utils::DateTime&& value) { SetComplianceSummaryTimestamp(std::move(value)); return *this;} private: ComplianceContributorCount m_compliantResourceCount; bool m_compliantResourceCountHasBeenSet = false; ComplianceContributorCount m_nonCompliantResourceCount; bool m_nonCompliantResourceCountHasBeenSet = false; Aws::Utils::DateTime m_complianceSummaryTimestamp; bool m_complianceSummaryTimestampHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws