1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>Additional information that's used by a managed rule group. Many managed rule groups don't require this.</p>
/// <p>The rule groups used for intelligent threat mitigation require additional configuration:</p>
/// <ul>
/// <li>
/// <p>Use the <code>AWSManagedRulesACFPRuleSet</code> configuration object to configure the account creation fraud prevention managed rule group. The configuration includes the registration and sign-up pages of your application and the locations in the account creation request payload of data, such as the user email and phone number fields.</p></li>
/// <li>
/// <p>Use the <code>AWSManagedRulesATPRuleSet</code> configuration object to configure the account takeover prevention managed rule group. The configuration includes the sign-in page of your application and the locations in the login request payload of data such as the username and password.</p></li>
/// <li>
/// <p>Use the <code>AWSManagedRulesBotControlRuleSet</code> configuration object to configure the protection level that you want the Bot Control rule group to use.</p></li>
/// </ul>
/// <p>For example specifications, see the examples section of <code>CreateWebACL</code>.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct ManagedRuleGroupConfig {
    /// <note>
    /// <p>Instead of this setting, provide your configuration under <code>AWSManagedRulesATPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet LoginPath")]
    pub login_path: ::std::option::Option<::std::string::String>,
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection PayloadType")]
    pub payload_type: ::std::option::Option<crate::types::PayloadType>,
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection UsernameField")]
    pub username_field: ::std::option::Option<crate::types::UsernameField>,
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection PasswordField")]
    pub password_field: ::std::option::Option<crate::types::PasswordField>,
    /// <p>Additional configuration for using the Bot Control managed rule group. Use this to specify the inspection level that you want to use. For information about using the Bot Control managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html">WAF Bot Control rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-bot-control.html">WAF Bot Control</a> in the <i>WAF Developer Guide</i>.</p>
    pub aws_managed_rules_bot_control_rule_set: ::std::option::Option<crate::types::AwsManagedRulesBotControlRuleSet>,
    /// <p>Additional configuration for using the account takeover prevention (ATP) managed rule group, <code>AWSManagedRulesATPRuleSet</code>. Use this to provide login request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to login requests.</p>
    /// <p>This configuration replaces the individual configuration fields in <code>ManagedRuleGroupConfig</code> and provides additional feature configuration.</p>
    /// <p>For information about using the ATP managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-atp.html">WAF Fraud Control account takeover prevention (ATP) rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-atp.html">WAF Fraud Control account takeover prevention (ATP)</a> in the <i>WAF Developer Guide</i>.</p>
    pub aws_managed_rules_atp_rule_set: ::std::option::Option<crate::types::AwsManagedRulesAtpRuleSet>,
    /// <p>Additional configuration for using the account creation fraud prevention (ACFP) managed rule group, <code>AWSManagedRulesACFPRuleSet</code>. Use this to provide account creation request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to account creation requests.</p>
    /// <p>For information about using the ACFP managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-acfp.html">WAF Fraud Control account creation fraud prevention (ACFP) rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-acfp.html">WAF Fraud Control account creation fraud prevention (ACFP)</a> in the <i>WAF Developer Guide</i>.</p>
    pub aws_managed_rules_acfp_rule_set: ::std::option::Option<crate::types::AwsManagedRulesAcfpRuleSet>,
}
impl ManagedRuleGroupConfig {
    /// <note>
    /// <p>Instead of this setting, provide your configuration under <code>AWSManagedRulesATPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet LoginPath")]
    pub fn login_path(&self) -> ::std::option::Option<&str> {
        self.login_path.as_deref()
    }
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection PayloadType")]
    pub fn payload_type(&self) -> ::std::option::Option<&crate::types::PayloadType> {
        self.payload_type.as_ref()
    }
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection UsernameField")]
    pub fn username_field(&self) -> ::std::option::Option<&crate::types::UsernameField> {
        self.username_field.as_ref()
    }
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection PasswordField")]
    pub fn password_field(&self) -> ::std::option::Option<&crate::types::PasswordField> {
        self.password_field.as_ref()
    }
    /// <p>Additional configuration for using the Bot Control managed rule group. Use this to specify the inspection level that you want to use. For information about using the Bot Control managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html">WAF Bot Control rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-bot-control.html">WAF Bot Control</a> in the <i>WAF Developer Guide</i>.</p>
    pub fn aws_managed_rules_bot_control_rule_set(&self) -> ::std::option::Option<&crate::types::AwsManagedRulesBotControlRuleSet> {
        self.aws_managed_rules_bot_control_rule_set.as_ref()
    }
    /// <p>Additional configuration for using the account takeover prevention (ATP) managed rule group, <code>AWSManagedRulesATPRuleSet</code>. Use this to provide login request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to login requests.</p>
    /// <p>This configuration replaces the individual configuration fields in <code>ManagedRuleGroupConfig</code> and provides additional feature configuration.</p>
    /// <p>For information about using the ATP managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-atp.html">WAF Fraud Control account takeover prevention (ATP) rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-atp.html">WAF Fraud Control account takeover prevention (ATP)</a> in the <i>WAF Developer Guide</i>.</p>
    pub fn aws_managed_rules_atp_rule_set(&self) -> ::std::option::Option<&crate::types::AwsManagedRulesAtpRuleSet> {
        self.aws_managed_rules_atp_rule_set.as_ref()
    }
    /// <p>Additional configuration for using the account creation fraud prevention (ACFP) managed rule group, <code>AWSManagedRulesACFPRuleSet</code>. Use this to provide account creation request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to account creation requests.</p>
    /// <p>For information about using the ACFP managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-acfp.html">WAF Fraud Control account creation fraud prevention (ACFP) rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-acfp.html">WAF Fraud Control account creation fraud prevention (ACFP)</a> in the <i>WAF Developer Guide</i>.</p>
    pub fn aws_managed_rules_acfp_rule_set(&self) -> ::std::option::Option<&crate::types::AwsManagedRulesAcfpRuleSet> {
        self.aws_managed_rules_acfp_rule_set.as_ref()
    }
}
impl ManagedRuleGroupConfig {
    /// Creates a new builder-style object to manufacture [`ManagedRuleGroupConfig`](crate::types::ManagedRuleGroupConfig).
    pub fn builder() -> crate::types::builders::ManagedRuleGroupConfigBuilder {
        crate::types::builders::ManagedRuleGroupConfigBuilder::default()
    }
}

/// A builder for [`ManagedRuleGroupConfig`](crate::types::ManagedRuleGroupConfig).
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct ManagedRuleGroupConfigBuilder {
    pub(crate) login_path: ::std::option::Option<::std::string::String>,
    pub(crate) payload_type: ::std::option::Option<crate::types::PayloadType>,
    pub(crate) username_field: ::std::option::Option<crate::types::UsernameField>,
    pub(crate) password_field: ::std::option::Option<crate::types::PasswordField>,
    pub(crate) aws_managed_rules_bot_control_rule_set: ::std::option::Option<crate::types::AwsManagedRulesBotControlRuleSet>,
    pub(crate) aws_managed_rules_atp_rule_set: ::std::option::Option<crate::types::AwsManagedRulesAtpRuleSet>,
    pub(crate) aws_managed_rules_acfp_rule_set: ::std::option::Option<crate::types::AwsManagedRulesAcfpRuleSet>,
}
impl ManagedRuleGroupConfigBuilder {
    /// <note>
    /// <p>Instead of this setting, provide your configuration under <code>AWSManagedRulesATPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet LoginPath")]
    pub fn login_path(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.login_path = ::std::option::Option::Some(input.into());
        self
    }
    /// <note>
    /// <p>Instead of this setting, provide your configuration under <code>AWSManagedRulesATPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet LoginPath")]
    pub fn set_login_path(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.login_path = input;
        self
    }
    /// <note>
    /// <p>Instead of this setting, provide your configuration under <code>AWSManagedRulesATPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet LoginPath")]
    pub fn get_login_path(&self) -> &::std::option::Option<::std::string::String> {
        &self.login_path
    }
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection PayloadType")]
    pub fn payload_type(mut self, input: crate::types::PayloadType) -> Self {
        self.payload_type = ::std::option::Option::Some(input);
        self
    }
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection PayloadType")]
    pub fn set_payload_type(mut self, input: ::std::option::Option<crate::types::PayloadType>) -> Self {
        self.payload_type = input;
        self
    }
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection PayloadType")]
    pub fn get_payload_type(&self) -> &::std::option::Option<crate::types::PayloadType> {
        &self.payload_type
    }
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection UsernameField")]
    pub fn username_field(mut self, input: crate::types::UsernameField) -> Self {
        self.username_field = ::std::option::Option::Some(input);
        self
    }
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection UsernameField")]
    pub fn set_username_field(mut self, input: ::std::option::Option<crate::types::UsernameField>) -> Self {
        self.username_field = input;
        self
    }
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection UsernameField")]
    pub fn get_username_field(&self) -> &::std::option::Option<crate::types::UsernameField> {
        &self.username_field
    }
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection PasswordField")]
    pub fn password_field(mut self, input: crate::types::PasswordField) -> Self {
        self.password_field = ::std::option::Option::Some(input);
        self
    }
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection PasswordField")]
    pub fn set_password_field(mut self, input: ::std::option::Option<crate::types::PasswordField>) -> Self {
        self.password_field = input;
        self
    }
    /// <note>
    /// <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>.</p>
    /// </note>
    #[deprecated(note = "Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection PasswordField")]
    pub fn get_password_field(&self) -> &::std::option::Option<crate::types::PasswordField> {
        &self.password_field
    }
    /// <p>Additional configuration for using the Bot Control managed rule group. Use this to specify the inspection level that you want to use. For information about using the Bot Control managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html">WAF Bot Control rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-bot-control.html">WAF Bot Control</a> in the <i>WAF Developer Guide</i>.</p>
    pub fn aws_managed_rules_bot_control_rule_set(mut self, input: crate::types::AwsManagedRulesBotControlRuleSet) -> Self {
        self.aws_managed_rules_bot_control_rule_set = ::std::option::Option::Some(input);
        self
    }
    /// <p>Additional configuration for using the Bot Control managed rule group. Use this to specify the inspection level that you want to use. For information about using the Bot Control managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html">WAF Bot Control rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-bot-control.html">WAF Bot Control</a> in the <i>WAF Developer Guide</i>.</p>
    pub fn set_aws_managed_rules_bot_control_rule_set(
        mut self,
        input: ::std::option::Option<crate::types::AwsManagedRulesBotControlRuleSet>,
    ) -> Self {
        self.aws_managed_rules_bot_control_rule_set = input;
        self
    }
    /// <p>Additional configuration for using the Bot Control managed rule group. Use this to specify the inspection level that you want to use. For information about using the Bot Control managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html">WAF Bot Control rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-bot-control.html">WAF Bot Control</a> in the <i>WAF Developer Guide</i>.</p>
    pub fn get_aws_managed_rules_bot_control_rule_set(&self) -> &::std::option::Option<crate::types::AwsManagedRulesBotControlRuleSet> {
        &self.aws_managed_rules_bot_control_rule_set
    }
    /// <p>Additional configuration for using the account takeover prevention (ATP) managed rule group, <code>AWSManagedRulesATPRuleSet</code>. Use this to provide login request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to login requests.</p>
    /// <p>This configuration replaces the individual configuration fields in <code>ManagedRuleGroupConfig</code> and provides additional feature configuration.</p>
    /// <p>For information about using the ATP managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-atp.html">WAF Fraud Control account takeover prevention (ATP) rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-atp.html">WAF Fraud Control account takeover prevention (ATP)</a> in the <i>WAF Developer Guide</i>.</p>
    pub fn aws_managed_rules_atp_rule_set(mut self, input: crate::types::AwsManagedRulesAtpRuleSet) -> Self {
        self.aws_managed_rules_atp_rule_set = ::std::option::Option::Some(input);
        self
    }
    /// <p>Additional configuration for using the account takeover prevention (ATP) managed rule group, <code>AWSManagedRulesATPRuleSet</code>. Use this to provide login request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to login requests.</p>
    /// <p>This configuration replaces the individual configuration fields in <code>ManagedRuleGroupConfig</code> and provides additional feature configuration.</p>
    /// <p>For information about using the ATP managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-atp.html">WAF Fraud Control account takeover prevention (ATP) rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-atp.html">WAF Fraud Control account takeover prevention (ATP)</a> in the <i>WAF Developer Guide</i>.</p>
    pub fn set_aws_managed_rules_atp_rule_set(mut self, input: ::std::option::Option<crate::types::AwsManagedRulesAtpRuleSet>) -> Self {
        self.aws_managed_rules_atp_rule_set = input;
        self
    }
    /// <p>Additional configuration for using the account takeover prevention (ATP) managed rule group, <code>AWSManagedRulesATPRuleSet</code>. Use this to provide login request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to login requests.</p>
    /// <p>This configuration replaces the individual configuration fields in <code>ManagedRuleGroupConfig</code> and provides additional feature configuration.</p>
    /// <p>For information about using the ATP managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-atp.html">WAF Fraud Control account takeover prevention (ATP) rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-atp.html">WAF Fraud Control account takeover prevention (ATP)</a> in the <i>WAF Developer Guide</i>.</p>
    pub fn get_aws_managed_rules_atp_rule_set(&self) -> &::std::option::Option<crate::types::AwsManagedRulesAtpRuleSet> {
        &self.aws_managed_rules_atp_rule_set
    }
    /// <p>Additional configuration for using the account creation fraud prevention (ACFP) managed rule group, <code>AWSManagedRulesACFPRuleSet</code>. Use this to provide account creation request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to account creation requests.</p>
    /// <p>For information about using the ACFP managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-acfp.html">WAF Fraud Control account creation fraud prevention (ACFP) rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-acfp.html">WAF Fraud Control account creation fraud prevention (ACFP)</a> in the <i>WAF Developer Guide</i>.</p>
    pub fn aws_managed_rules_acfp_rule_set(mut self, input: crate::types::AwsManagedRulesAcfpRuleSet) -> Self {
        self.aws_managed_rules_acfp_rule_set = ::std::option::Option::Some(input);
        self
    }
    /// <p>Additional configuration for using the account creation fraud prevention (ACFP) managed rule group, <code>AWSManagedRulesACFPRuleSet</code>. Use this to provide account creation request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to account creation requests.</p>
    /// <p>For information about using the ACFP managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-acfp.html">WAF Fraud Control account creation fraud prevention (ACFP) rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-acfp.html">WAF Fraud Control account creation fraud prevention (ACFP)</a> in the <i>WAF Developer Guide</i>.</p>
    pub fn set_aws_managed_rules_acfp_rule_set(mut self, input: ::std::option::Option<crate::types::AwsManagedRulesAcfpRuleSet>) -> Self {
        self.aws_managed_rules_acfp_rule_set = input;
        self
    }
    /// <p>Additional configuration for using the account creation fraud prevention (ACFP) managed rule group, <code>AWSManagedRulesACFPRuleSet</code>. Use this to provide account creation request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to account creation requests.</p>
    /// <p>For information about using the ACFP managed rule group, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-acfp.html">WAF Fraud Control account creation fraud prevention (ACFP) rule group</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-acfp.html">WAF Fraud Control account creation fraud prevention (ACFP)</a> in the <i>WAF Developer Guide</i>.</p>
    pub fn get_aws_managed_rules_acfp_rule_set(&self) -> &::std::option::Option<crate::types::AwsManagedRulesAcfpRuleSet> {
        &self.aws_managed_rules_acfp_rule_set
    }
    /// Consumes the builder and constructs a [`ManagedRuleGroupConfig`](crate::types::ManagedRuleGroupConfig).
    pub fn build(self) -> crate::types::ManagedRuleGroupConfig {
        crate::types::ManagedRuleGroupConfig {
            login_path: self.login_path,
            payload_type: self.payload_type,
            username_field: self.username_field,
            password_field: self.password_field,
            aws_managed_rules_bot_control_rule_set: self.aws_managed_rules_bot_control_rule_set,
            aws_managed_rules_atp_rule_set: self.aws_managed_rules_atp_rule_set,
            aws_managed_rules_acfp_rule_set: self.aws_managed_rules_acfp_rule_set,
        }
    }
}