/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Limits settings on protection groups for your subscription. See
* Also:
AWS
* API Reference
The maximum number of protection groups that you can have at one time.
*/ inline long long GetMaxProtectionGroups() const{ return m_maxProtectionGroups; } /** *The maximum number of protection groups that you can have at one time.
*/ inline bool MaxProtectionGroupsHasBeenSet() const { return m_maxProtectionGroupsHasBeenSet; } /** *The maximum number of protection groups that you can have at one time.
*/ inline void SetMaxProtectionGroups(long long value) { m_maxProtectionGroupsHasBeenSet = true; m_maxProtectionGroups = value; } /** *The maximum number of protection groups that you can have at one time.
*/ inline ProtectionGroupLimits& WithMaxProtectionGroups(long long value) { SetMaxProtectionGroups(value); return *this;} /** *Limits settings by pattern type in the protection groups for your * subscription.
*/ inline const ProtectionGroupPatternTypeLimits& GetPatternTypeLimits() const{ return m_patternTypeLimits; } /** *Limits settings by pattern type in the protection groups for your * subscription.
*/ inline bool PatternTypeLimitsHasBeenSet() const { return m_patternTypeLimitsHasBeenSet; } /** *Limits settings by pattern type in the protection groups for your * subscription.
*/ inline void SetPatternTypeLimits(const ProtectionGroupPatternTypeLimits& value) { m_patternTypeLimitsHasBeenSet = true; m_patternTypeLimits = value; } /** *Limits settings by pattern type in the protection groups for your * subscription.
*/ inline void SetPatternTypeLimits(ProtectionGroupPatternTypeLimits&& value) { m_patternTypeLimitsHasBeenSet = true; m_patternTypeLimits = std::move(value); } /** *Limits settings by pattern type in the protection groups for your * subscription.
*/ inline ProtectionGroupLimits& WithPatternTypeLimits(const ProtectionGroupPatternTypeLimits& value) { SetPatternTypeLimits(value); return *this;} /** *Limits settings by pattern type in the protection groups for your * subscription.
*/ inline ProtectionGroupLimits& WithPatternTypeLimits(ProtectionGroupPatternTypeLimits&& value) { SetPatternTypeLimits(std::move(value)); return *this;} private: long long m_maxProtectionGroups; bool m_maxProtectionGroupsHasBeenSet = false; ProtectionGroupPatternTypeLimits m_patternTypeLimits; bool m_patternTypeLimitsHasBeenSet = false; }; } // namespace Model } // namespace Shield } // namespace Aws