AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FirewallManagerStatement.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/ManagedRuleGroupStatement.h>
9#include <aws/wafv2/model/RuleGroupReferenceStatement.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 WAFV2
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_WAFV2_API FirewallManagerStatement();
40 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const ManagedRuleGroupStatement& GetManagedRuleGroupStatement() const{ return m_managedRuleGroupStatement; }
50 inline bool ManagedRuleGroupStatementHasBeenSet() const { return m_managedRuleGroupStatementHasBeenSet; }
51 inline void SetManagedRuleGroupStatement(const ManagedRuleGroupStatement& value) { m_managedRuleGroupStatementHasBeenSet = true; m_managedRuleGroupStatement = value; }
52 inline void SetManagedRuleGroupStatement(ManagedRuleGroupStatement&& value) { m_managedRuleGroupStatementHasBeenSet = true; m_managedRuleGroupStatement = std::move(value); }
56
58
63 inline const RuleGroupReferenceStatement& GetRuleGroupReferenceStatement() const{ return m_ruleGroupReferenceStatement; }
64 inline bool RuleGroupReferenceStatementHasBeenSet() const { return m_ruleGroupReferenceStatementHasBeenSet; }
65 inline void SetRuleGroupReferenceStatement(const RuleGroupReferenceStatement& value) { m_ruleGroupReferenceStatementHasBeenSet = true; m_ruleGroupReferenceStatement = value; }
66 inline void SetRuleGroupReferenceStatement(RuleGroupReferenceStatement&& value) { m_ruleGroupReferenceStatementHasBeenSet = true; m_ruleGroupReferenceStatement = std::move(value); }
70 private:
71
72 ManagedRuleGroupStatement m_managedRuleGroupStatement;
73 bool m_managedRuleGroupStatementHasBeenSet = false;
74
75 RuleGroupReferenceStatement m_ruleGroupReferenceStatement;
76 bool m_ruleGroupReferenceStatementHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace WAFV2
81} // namespace Aws
const ManagedRuleGroupStatement & GetManagedRuleGroupStatement() const
FirewallManagerStatement & WithManagedRuleGroupStatement(const ManagedRuleGroupStatement &value)
FirewallManagerStatement & WithRuleGroupReferenceStatement(const RuleGroupReferenceStatement &value)
void SetRuleGroupReferenceStatement(RuleGroupReferenceStatement &&value)
void SetManagedRuleGroupStatement(ManagedRuleGroupStatement &&value)
FirewallManagerStatement & WithRuleGroupReferenceStatement(RuleGroupReferenceStatement &&value)
const RuleGroupReferenceStatement & GetRuleGroupReferenceStatement() const
void SetRuleGroupReferenceStatement(const RuleGroupReferenceStatement &value)
AWS_WAFV2_API FirewallManagerStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API FirewallManagerStatement(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetManagedRuleGroupStatement(const ManagedRuleGroupStatement &value)
FirewallManagerStatement & WithManagedRuleGroupStatement(ManagedRuleGroupStatement &&value)
Aws::Utils::Json::JsonValue JsonValue