AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SubscriptionLimits.h
1
6#pragma once
7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/model/ProtectionLimits.h>
9#include <aws/shield/model/ProtectionGroupLimits.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Shield
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SHIELD_API SubscriptionLimits();
38 AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const ProtectionLimits& GetProtectionLimits() const{ return m_protectionLimits; }
46 inline bool ProtectionLimitsHasBeenSet() const { return m_protectionLimitsHasBeenSet; }
47 inline void SetProtectionLimits(const ProtectionLimits& value) { m_protectionLimitsHasBeenSet = true; m_protectionLimits = value; }
48 inline void SetProtectionLimits(ProtectionLimits&& value) { m_protectionLimitsHasBeenSet = true; m_protectionLimits = std::move(value); }
49 inline SubscriptionLimits& WithProtectionLimits(const ProtectionLimits& value) { SetProtectionLimits(value); return *this;}
50 inline SubscriptionLimits& WithProtectionLimits(ProtectionLimits&& value) { SetProtectionLimits(std::move(value)); return *this;}
52
54
57 inline const ProtectionGroupLimits& GetProtectionGroupLimits() const{ return m_protectionGroupLimits; }
58 inline bool ProtectionGroupLimitsHasBeenSet() const { return m_protectionGroupLimitsHasBeenSet; }
59 inline void SetProtectionGroupLimits(const ProtectionGroupLimits& value) { m_protectionGroupLimitsHasBeenSet = true; m_protectionGroupLimits = value; }
60 inline void SetProtectionGroupLimits(ProtectionGroupLimits&& value) { m_protectionGroupLimitsHasBeenSet = true; m_protectionGroupLimits = std::move(value); }
64 private:
65
66 ProtectionLimits m_protectionLimits;
67 bool m_protectionLimitsHasBeenSet = false;
68
69 ProtectionGroupLimits m_protectionGroupLimits;
70 bool m_protectionGroupLimitsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Shield
75} // namespace Aws
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProtectionGroupLimits(const ProtectionGroupLimits &value)
SubscriptionLimits & WithProtectionGroupLimits(const ProtectionGroupLimits &value)
void SetProtectionLimits(const ProtectionLimits &value)
SubscriptionLimits & WithProtectionLimits(ProtectionLimits &&value)
const ProtectionGroupLimits & GetProtectionGroupLimits() const
void SetProtectionLimits(ProtectionLimits &&value)
AWS_SHIELD_API SubscriptionLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
SubscriptionLimits & WithProtectionLimits(const ProtectionLimits &value)
SubscriptionLimits & WithProtectionGroupLimits(ProtectionGroupLimits &&value)
void SetProtectionGroupLimits(ProtectionGroupLimits &&value)
const ProtectionLimits & GetProtectionLimits() const
AWS_SHIELD_API SubscriptionLimits(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue