AWS SDK for C++  1.9.104
AWS SDK for C++
FirewallManagerStatement.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace WAFV2
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
52  inline const ManagedRuleGroupStatement& GetManagedRuleGroupStatement() const{ return m_managedRuleGroupStatement; }
53 
63  inline bool ManagedRuleGroupStatementHasBeenSet() const { return m_managedRuleGroupStatementHasBeenSet; }
64 
74  inline void SetManagedRuleGroupStatement(const ManagedRuleGroupStatement& value) { m_managedRuleGroupStatementHasBeenSet = true; m_managedRuleGroupStatement = value; }
75 
85  inline void SetManagedRuleGroupStatement(ManagedRuleGroupStatement&& value) { m_managedRuleGroupStatementHasBeenSet = true; m_managedRuleGroupStatement = std::move(value); }
86 
96  inline FirewallManagerStatement& WithManagedRuleGroupStatement(const ManagedRuleGroupStatement& value) { SetManagedRuleGroupStatement(value); return *this;}
97 
107  inline FirewallManagerStatement& WithManagedRuleGroupStatement(ManagedRuleGroupStatement&& value) { SetManagedRuleGroupStatement(std::move(value)); return *this;}
108 
109 
118  inline const RuleGroupReferenceStatement& GetRuleGroupReferenceStatement() const{ return m_ruleGroupReferenceStatement; }
119 
128  inline bool RuleGroupReferenceStatementHasBeenSet() const { return m_ruleGroupReferenceStatementHasBeenSet; }
129 
138  inline void SetRuleGroupReferenceStatement(const RuleGroupReferenceStatement& value) { m_ruleGroupReferenceStatementHasBeenSet = true; m_ruleGroupReferenceStatement = value; }
139 
148  inline void SetRuleGroupReferenceStatement(RuleGroupReferenceStatement&& value) { m_ruleGroupReferenceStatementHasBeenSet = true; m_ruleGroupReferenceStatement = std::move(value); }
149 
158  inline FirewallManagerStatement& WithRuleGroupReferenceStatement(const RuleGroupReferenceStatement& value) { SetRuleGroupReferenceStatement(value); return *this;}
159 
168  inline FirewallManagerStatement& WithRuleGroupReferenceStatement(RuleGroupReferenceStatement&& value) { SetRuleGroupReferenceStatement(std::move(value)); return *this;}
169 
170  private:
171 
172  ManagedRuleGroupStatement m_managedRuleGroupStatement;
173  bool m_managedRuleGroupStatementHasBeenSet;
174 
175  RuleGroupReferenceStatement m_ruleGroupReferenceStatement;
176  bool m_ruleGroupReferenceStatementHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace WAFV2
181 } // namespace Aws
Aws::WAFV2::Model::FirewallManagerStatement::WithManagedRuleGroupStatement
FirewallManagerStatement & WithManagedRuleGroupStatement(ManagedRuleGroupStatement &&value)
Definition: FirewallManagerStatement.h:107
Aws::WAFV2::Model::ManagedRuleGroupStatement
Definition: ManagedRuleGroupStatement.h:42
Aws::WAFV2::Model::FirewallManagerStatement::ManagedRuleGroupStatementHasBeenSet
bool ManagedRuleGroupStatementHasBeenSet() const
Definition: FirewallManagerStatement.h:63
Aws::WAFV2::Model::FirewallManagerStatement::FirewallManagerStatement
FirewallManagerStatement(Aws::Utils::Json::JsonView jsonValue)
Aws::WAFV2::Model::FirewallManagerStatement::GetManagedRuleGroupStatement
const ManagedRuleGroupStatement & GetManagedRuleGroupStatement() const
Definition: FirewallManagerStatement.h:52
Aws::WAFV2::Model::FirewallManagerStatement::RuleGroupReferenceStatementHasBeenSet
bool RuleGroupReferenceStatementHasBeenSet() const
Definition: FirewallManagerStatement.h:128
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::FirewallManagerStatement::SetRuleGroupReferenceStatement
void SetRuleGroupReferenceStatement(const RuleGroupReferenceStatement &value)
Definition: FirewallManagerStatement.h:138
WAFV2_EXPORTS.h
Aws::WAFV2::Model::FirewallManagerStatement::operator=
FirewallManagerStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedRuleGroupStatement.h
Aws::WAFV2::Model::FirewallManagerStatement::GetRuleGroupReferenceStatement
const RuleGroupReferenceStatement & GetRuleGroupReferenceStatement() const
Definition: FirewallManagerStatement.h:118
RuleGroupReferenceStatement.h
Aws::WAFV2::Model::FirewallManagerStatement::FirewallManagerStatement
FirewallManagerStatement()
Aws::WAFV2::Model::FirewallManagerStatement::WithRuleGroupReferenceStatement
FirewallManagerStatement & WithRuleGroupReferenceStatement(const RuleGroupReferenceStatement &value)
Definition: FirewallManagerStatement.h:158
Aws::WAFV2::Model::FirewallManagerStatement::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::FirewallManagerStatement::SetManagedRuleGroupStatement
void SetManagedRuleGroupStatement(const ManagedRuleGroupStatement &value)
Definition: FirewallManagerStatement.h:74
Aws::WAFV2::Model::FirewallManagerStatement
Definition: FirewallManagerStatement.h:35
Aws::WAFV2::Model::FirewallManagerStatement::SetManagedRuleGroupStatement
void SetManagedRuleGroupStatement(ManagedRuleGroupStatement &&value)
Definition: FirewallManagerStatement.h:85
Aws::WAFV2::Model::FirewallManagerStatement::WithManagedRuleGroupStatement
FirewallManagerStatement & WithManagedRuleGroupStatement(const ManagedRuleGroupStatement &value)
Definition: FirewallManagerStatement.h:96
Aws::WAFV2::Model::RuleGroupReferenceStatement
Definition: RuleGroupReferenceStatement.h:40
Aws::WAFV2::Model::FirewallManagerStatement::SetRuleGroupReferenceStatement
void SetRuleGroupReferenceStatement(RuleGroupReferenceStatement &&value)
Definition: FirewallManagerStatement.h:148
Aws::WAFV2::Model::FirewallManagerStatement::WithRuleGroupReferenceStatement
FirewallManagerStatement & WithRuleGroupReferenceStatement(RuleGroupReferenceStatement &&value)
Definition: FirewallManagerStatement.h:168