/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Shield { namespace Model { /** *

Limits settings on protection groups with arbitrary pattern type. *

See Also:

AWS * API Reference

*/ class ProtectionGroupArbitraryPatternLimits { public: AWS_SHIELD_API ProtectionGroupArbitraryPatternLimits(); AWS_SHIELD_API ProtectionGroupArbitraryPatternLimits(Aws::Utils::Json::JsonView jsonValue); AWS_SHIELD_API ProtectionGroupArbitraryPatternLimits& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The maximum number of resources you can specify for a single arbitrary * pattern in a protection group.

*/ inline long long GetMaxMembers() const{ return m_maxMembers; } /** *

The maximum number of resources you can specify for a single arbitrary * pattern in a protection group.

*/ inline bool MaxMembersHasBeenSet() const { return m_maxMembersHasBeenSet; } /** *

The maximum number of resources you can specify for a single arbitrary * pattern in a protection group.

*/ inline void SetMaxMembers(long long value) { m_maxMembersHasBeenSet = true; m_maxMembers = value; } /** *

The maximum number of resources you can specify for a single arbitrary * pattern in a protection group.

*/ inline ProtectionGroupArbitraryPatternLimits& WithMaxMembers(long long value) { SetMaxMembers(value); return *this;} private: long long m_maxMembers; bool m_maxMembersHasBeenSet = false; }; } // namespace Model } // namespace Shield } // namespace Aws