1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociatePhoneNumberWithUser`](crate::operation::associate_phone_number_with_user::builders::AssociatePhoneNumberWithUserFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::associate_phone_number_with_user::builders::AssociatePhoneNumberWithUserFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::associate_phone_number_with_user::builders::AssociatePhoneNumberWithUserFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Chime account ID.</p><br>
    ///   - [`user_id(impl Into<String>)`](crate::operation::associate_phone_number_with_user::builders::AssociatePhoneNumberWithUserFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::associate_phone_number_with_user::builders::AssociatePhoneNumberWithUserFluentBuilder::set_user_id):<br>required: **true**<br><p>The user ID.</p><br>
    ///   - [`e164_phone_number(impl Into<String>)`](crate::operation::associate_phone_number_with_user::builders::AssociatePhoneNumberWithUserFluentBuilder::e164_phone_number) / [`set_e164_phone_number(Option<String>)`](crate::operation::associate_phone_number_with_user::builders::AssociatePhoneNumberWithUserFluentBuilder::set_e164_phone_number):<br>required: **true**<br><p>The phone number, in E.164 format.</p><br>
    /// - On success, responds with [`AssociatePhoneNumberWithUserOutput`](crate::operation::associate_phone_number_with_user::AssociatePhoneNumberWithUserOutput)
    /// - On failure, responds with [`SdkError<AssociatePhoneNumberWithUserError>`](crate::operation::associate_phone_number_with_user::AssociatePhoneNumberWithUserError)
    pub fn associate_phone_number_with_user(
        &self,
    ) -> crate::operation::associate_phone_number_with_user::builders::AssociatePhoneNumberWithUserFluentBuilder {
        crate::operation::associate_phone_number_with_user::builders::AssociatePhoneNumberWithUserFluentBuilder::new(self.handle.clone())
    }
}