/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The number of Amazon Web Services resources or Config rules responsible for
* the current compliance of the item, up to a maximum number.See
* Also:
AWS
* API Reference
The number of Amazon Web Services resources or Config rules responsible for * the current compliance of the item.
*/ inline int GetCappedCount() const{ return m_cappedCount; } /** *The number of Amazon Web Services resources or Config rules responsible for * the current compliance of the item.
*/ inline bool CappedCountHasBeenSet() const { return m_cappedCountHasBeenSet; } /** *The number of Amazon Web Services resources or Config rules responsible for * the current compliance of the item.
*/ inline void SetCappedCount(int value) { m_cappedCountHasBeenSet = true; m_cappedCount = value; } /** *The number of Amazon Web Services resources or Config rules responsible for * the current compliance of the item.
*/ inline ComplianceContributorCount& WithCappedCount(int value) { SetCappedCount(value); return *this;} /** *Indicates whether the maximum count is reached.
*/ inline bool GetCapExceeded() const{ return m_capExceeded; } /** *Indicates whether the maximum count is reached.
*/ inline bool CapExceededHasBeenSet() const { return m_capExceededHasBeenSet; } /** *Indicates whether the maximum count is reached.
*/ inline void SetCapExceeded(bool value) { m_capExceededHasBeenSet = true; m_capExceeded = value; } /** *Indicates whether the maximum count is reached.
*/ inline ComplianceContributorCount& WithCapExceeded(bool value) { SetCapExceeded(value); return *this;} private: int m_cappedCount; bool m_cappedCountHasBeenSet = false; bool m_capExceeded; bool m_capExceededHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws