// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssociateResourceToProfile`](crate::operation::associate_resource_to_profile::builders::AssociateResourceToProfileFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`profile_id(impl Into<String>)`](crate::operation::associate_resource_to_profile::builders::AssociateResourceToProfileFluentBuilder::profile_id) / [`set_profile_id(Option<String>)`](crate::operation::associate_resource_to_profile::builders::AssociateResourceToProfileFluentBuilder::set_profile_id):<br>required: **true**<br><p>ID of the Profile.</p><br>
/// - [`resource_arn(impl Into<String>)`](crate::operation::associate_resource_to_profile::builders::AssociateResourceToProfileFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::associate_resource_to_profile::builders::AssociateResourceToProfileFluentBuilder::set_resource_arn):<br>required: **true**<br><p>Amazon resource number, ARN, of the DNS resource.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::associate_resource_to_profile::builders::AssociateResourceToProfileFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::associate_resource_to_profile::builders::AssociateResourceToProfileFluentBuilder::set_name):<br>required: **true**<br><p>Name for the resource association.</p><br>
/// - [`resource_properties(impl Into<String>)`](crate::operation::associate_resource_to_profile::builders::AssociateResourceToProfileFluentBuilder::resource_properties) / [`set_resource_properties(Option<String>)`](crate::operation::associate_resource_to_profile::builders::AssociateResourceToProfileFluentBuilder::set_resource_properties):<br>required: **false**<br><p>If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value.</p> <p>The allowed values for priority are between 100 and 9900.</p><br>
/// - On success, responds with [`AssociateResourceToProfileOutput`](crate::operation::associate_resource_to_profile::AssociateResourceToProfileOutput) with field(s):
/// - [`profile_resource_association(Option<ProfileResourceAssociation>)`](crate::operation::associate_resource_to_profile::AssociateResourceToProfileOutput::profile_resource_association): <p>Infromation about the <code>AssociateResourceToProfile</code>, including a status message.</p>
/// - On failure, responds with [`SdkError<AssociateResourceToProfileError>`](crate::operation::associate_resource_to_profile::AssociateResourceToProfileError)
pub fn associate_resource_to_profile(
&self,
) -> crate::operation::associate_resource_to_profile::builders::AssociateResourceToProfileFluentBuilder {
crate::operation::associate_resource_to_profile::builders::AssociateResourceToProfileFluentBuilder::new(self.handle.clone())
}
}