/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the compliance status for the account. An account is considered
* noncompliant if it includes resources that are not protected by the specified
* policy or that don't comply with the policy.See Also:
AWS
* API Reference
Describes an Amazon Web Services account's compliance with the Firewall * Manager policy.
*/ inline const PolicyComplianceStatusType& GetComplianceStatus() const{ return m_complianceStatus; } /** *Describes an Amazon Web Services account's compliance with the Firewall * Manager policy.
*/ inline bool ComplianceStatusHasBeenSet() const { return m_complianceStatusHasBeenSet; } /** *Describes an Amazon Web Services account's compliance with the Firewall * Manager policy.
*/ inline void SetComplianceStatus(const PolicyComplianceStatusType& value) { m_complianceStatusHasBeenSet = true; m_complianceStatus = value; } /** *Describes an Amazon Web Services account's compliance with the Firewall * Manager policy.
*/ inline void SetComplianceStatus(PolicyComplianceStatusType&& value) { m_complianceStatusHasBeenSet = true; m_complianceStatus = std::move(value); } /** *Describes an Amazon Web Services account's compliance with the Firewall * Manager policy.
*/ inline EvaluationResult& WithComplianceStatus(const PolicyComplianceStatusType& value) { SetComplianceStatus(value); return *this;} /** *Describes an Amazon Web Services account's compliance with the Firewall * Manager policy.
*/ inline EvaluationResult& WithComplianceStatus(PolicyComplianceStatusType&& value) { SetComplianceStatus(std::move(value)); return *this;} /** *The number of resources that are noncompliant with the specified policy. For * WAF and Shield Advanced policies, a resource is considered noncompliant if it is * not associated with the policy. For security group policies, a resource is * considered noncompliant if it doesn't comply with the rules of the policy and * remediation is disabled or not possible.
*/ inline long long GetViolatorCount() const{ return m_violatorCount; } /** *The number of resources that are noncompliant with the specified policy. For * WAF and Shield Advanced policies, a resource is considered noncompliant if it is * not associated with the policy. For security group policies, a resource is * considered noncompliant if it doesn't comply with the rules of the policy and * remediation is disabled or not possible.
*/ inline bool ViolatorCountHasBeenSet() const { return m_violatorCountHasBeenSet; } /** *The number of resources that are noncompliant with the specified policy. For * WAF and Shield Advanced policies, a resource is considered noncompliant if it is * not associated with the policy. For security group policies, a resource is * considered noncompliant if it doesn't comply with the rules of the policy and * remediation is disabled or not possible.
*/ inline void SetViolatorCount(long long value) { m_violatorCountHasBeenSet = true; m_violatorCount = value; } /** *The number of resources that are noncompliant with the specified policy. For * WAF and Shield Advanced policies, a resource is considered noncompliant if it is * not associated with the policy. For security group policies, a resource is * considered noncompliant if it doesn't comply with the rules of the policy and * remediation is disabled or not possible.
*/ inline EvaluationResult& WithViolatorCount(long long value) { SetViolatorCount(value); return *this;} /** *Indicates that over 100 resources are noncompliant with the Firewall Manager * policy.
*/ inline bool GetEvaluationLimitExceeded() const{ return m_evaluationLimitExceeded; } /** *Indicates that over 100 resources are noncompliant with the Firewall Manager * policy.
*/ inline bool EvaluationLimitExceededHasBeenSet() const { return m_evaluationLimitExceededHasBeenSet; } /** *Indicates that over 100 resources are noncompliant with the Firewall Manager * policy.
*/ inline void SetEvaluationLimitExceeded(bool value) { m_evaluationLimitExceededHasBeenSet = true; m_evaluationLimitExceeded = value; } /** *Indicates that over 100 resources are noncompliant with the Firewall Manager * policy.
*/ inline EvaluationResult& WithEvaluationLimitExceeded(bool value) { SetEvaluationLimitExceeded(value); return *this;} private: PolicyComplianceStatusType m_complianceStatus; bool m_complianceStatusHasBeenSet = false; long long m_violatorCount; bool m_violatorCountHasBeenSet = false; bool m_evaluationLimitExceeded; bool m_evaluationLimitExceededHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws