AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ManagedRuleGroupConfig.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/AWSManagedRulesBotControlRuleSet.h>
9#include <aws/wafv2/model/AWSManagedRulesATPRuleSet.h>
10#include <aws/wafv2/model/AWSManagedRulesACFPRuleSet.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace WAFV2
24{
25namespace Model
26{
27
49 {
50 public:
51 AWS_WAFV2_API ManagedRuleGroupConfig();
54 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
55
56
58
67 inline const AWSManagedRulesBotControlRuleSet& GetAWSManagedRulesBotControlRuleSet() const{ return m_aWSManagedRulesBotControlRuleSet; }
68 inline bool AWSManagedRulesBotControlRuleSetHasBeenSet() const { return m_aWSManagedRulesBotControlRuleSetHasBeenSet; }
69 inline void SetAWSManagedRulesBotControlRuleSet(const AWSManagedRulesBotControlRuleSet& value) { m_aWSManagedRulesBotControlRuleSetHasBeenSet = true; m_aWSManagedRulesBotControlRuleSet = value; }
70 inline void SetAWSManagedRulesBotControlRuleSet(AWSManagedRulesBotControlRuleSet&& value) { m_aWSManagedRulesBotControlRuleSetHasBeenSet = true; m_aWSManagedRulesBotControlRuleSet = std::move(value); }
74
76
92 inline const AWSManagedRulesATPRuleSet& GetAWSManagedRulesATPRuleSet() const{ return m_aWSManagedRulesATPRuleSet; }
93 inline bool AWSManagedRulesATPRuleSetHasBeenSet() const { return m_aWSManagedRulesATPRuleSetHasBeenSet; }
94 inline void SetAWSManagedRulesATPRuleSet(const AWSManagedRulesATPRuleSet& value) { m_aWSManagedRulesATPRuleSetHasBeenSet = true; m_aWSManagedRulesATPRuleSet = value; }
95 inline void SetAWSManagedRulesATPRuleSet(AWSManagedRulesATPRuleSet&& value) { m_aWSManagedRulesATPRuleSetHasBeenSet = true; m_aWSManagedRulesATPRuleSet = std::move(value); }
99
101
114 inline const AWSManagedRulesACFPRuleSet& GetAWSManagedRulesACFPRuleSet() const{ return m_aWSManagedRulesACFPRuleSet; }
115 inline bool AWSManagedRulesACFPRuleSetHasBeenSet() const { return m_aWSManagedRulesACFPRuleSetHasBeenSet; }
116 inline void SetAWSManagedRulesACFPRuleSet(const AWSManagedRulesACFPRuleSet& value) { m_aWSManagedRulesACFPRuleSetHasBeenSet = true; m_aWSManagedRulesACFPRuleSet = value; }
117 inline void SetAWSManagedRulesACFPRuleSet(AWSManagedRulesACFPRuleSet&& value) { m_aWSManagedRulesACFPRuleSetHasBeenSet = true; m_aWSManagedRulesACFPRuleSet = std::move(value); }
121 private:
122
123 AWSManagedRulesBotControlRuleSet m_aWSManagedRulesBotControlRuleSet;
124 bool m_aWSManagedRulesBotControlRuleSetHasBeenSet = false;
125
126 AWSManagedRulesATPRuleSet m_aWSManagedRulesATPRuleSet;
127 bool m_aWSManagedRulesATPRuleSetHasBeenSet = false;
128
129 AWSManagedRulesACFPRuleSet m_aWSManagedRulesACFPRuleSet;
130 bool m_aWSManagedRulesACFPRuleSetHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace WAFV2
135} // namespace Aws
ManagedRuleGroupConfig & WithAWSManagedRulesACFPRuleSet(const AWSManagedRulesACFPRuleSet &value)
void SetAWSManagedRulesACFPRuleSet(const AWSManagedRulesACFPRuleSet &value)
void SetAWSManagedRulesBotControlRuleSet(const AWSManagedRulesBotControlRuleSet &value)
void SetAWSManagedRulesBotControlRuleSet(AWSManagedRulesBotControlRuleSet &&value)
void SetAWSManagedRulesATPRuleSet(const AWSManagedRulesATPRuleSet &value)
ManagedRuleGroupConfig & WithAWSManagedRulesACFPRuleSet(AWSManagedRulesACFPRuleSet &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API ManagedRuleGroupConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAWSManagedRulesATPRuleSet(AWSManagedRulesATPRuleSet &&value)
ManagedRuleGroupConfig & WithAWSManagedRulesATPRuleSet(const AWSManagedRulesATPRuleSet &value)
void SetAWSManagedRulesACFPRuleSet(AWSManagedRulesACFPRuleSet &&value)
const AWSManagedRulesATPRuleSet & GetAWSManagedRulesATPRuleSet() const
ManagedRuleGroupConfig & WithAWSManagedRulesATPRuleSet(AWSManagedRulesATPRuleSet &&value)
ManagedRuleGroupConfig & WithAWSManagedRulesBotControlRuleSet(const AWSManagedRulesBotControlRuleSet &value)
const AWSManagedRulesACFPRuleSet & GetAWSManagedRulesACFPRuleSet() const
const AWSManagedRulesBotControlRuleSet & GetAWSManagedRulesBotControlRuleSet() const
AWS_WAFV2_API ManagedRuleGroupConfig(Aws::Utils::Json::JsonView jsonValue)
ManagedRuleGroupConfig & WithAWSManagedRulesBotControlRuleSet(AWSManagedRulesBotControlRuleSet &&value)
Aws::Utils::Json::JsonValue JsonValue