AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProtectionGroupLimits.h
1
6#pragma once
7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/model/ProtectionGroupPatternTypeLimits.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Shield
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SHIELD_API ProtectionGroupLimits();
38 AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline long long GetMaxProtectionGroups() const{ return m_maxProtectionGroups; }
46 inline bool MaxProtectionGroupsHasBeenSet() const { return m_maxProtectionGroupsHasBeenSet; }
47 inline void SetMaxProtectionGroups(long long value) { m_maxProtectionGroupsHasBeenSet = true; m_maxProtectionGroups = value; }
48 inline ProtectionGroupLimits& WithMaxProtectionGroups(long long value) { SetMaxProtectionGroups(value); return *this;}
50
52
56 inline const ProtectionGroupPatternTypeLimits& GetPatternTypeLimits() const{ return m_patternTypeLimits; }
57 inline bool PatternTypeLimitsHasBeenSet() const { return m_patternTypeLimitsHasBeenSet; }
58 inline void SetPatternTypeLimits(const ProtectionGroupPatternTypeLimits& value) { m_patternTypeLimitsHasBeenSet = true; m_patternTypeLimits = value; }
59 inline void SetPatternTypeLimits(ProtectionGroupPatternTypeLimits&& value) { m_patternTypeLimitsHasBeenSet = true; m_patternTypeLimits = std::move(value); }
63 private:
64
65 long long m_maxProtectionGroups;
66 bool m_maxProtectionGroupsHasBeenSet = false;
67
68 ProtectionGroupPatternTypeLimits m_patternTypeLimits;
69 bool m_patternTypeLimitsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Shield
74} // namespace Aws
void SetPatternTypeLimits(const ProtectionGroupPatternTypeLimits &value)
AWS_SHIELD_API ProtectionGroupLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
ProtectionGroupLimits & WithPatternTypeLimits(const ProtectionGroupPatternTypeLimits &value)
AWS_SHIELD_API ProtectionGroupLimits(Aws::Utils::Json::JsonView jsonValue)
const ProtectionGroupPatternTypeLimits & GetPatternTypeLimits() const
ProtectionGroupLimits & WithMaxProtectionGroups(long long value)
ProtectionGroupLimits & WithPatternTypeLimits(ProtectionGroupPatternTypeLimits &&value)
void SetPatternTypeLimits(ProtectionGroupPatternTypeLimits &&value)
Aws::Utils::Json::JsonValue JsonValue