1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateBudgetWithResource`](crate::operation::associate_budget_with_resource::builders::AssociateBudgetWithResourceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`budget_name(impl Into<String>)`](crate::operation::associate_budget_with_resource::builders::AssociateBudgetWithResourceFluentBuilder::budget_name) / [`set_budget_name(Option<String>)`](crate::operation::associate_budget_with_resource::builders::AssociateBudgetWithResourceFluentBuilder::set_budget_name): <p>The name of the budget you want to associate.</p>
    ///   - [`resource_id(impl Into<String>)`](crate::operation::associate_budget_with_resource::builders::AssociateBudgetWithResourceFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::associate_budget_with_resource::builders::AssociateBudgetWithResourceFluentBuilder::set_resource_id): <p> The resource identifier. Either a portfolio-id or a product-id.</p>
    /// - On success, responds with [`AssociateBudgetWithResourceOutput`](crate::operation::associate_budget_with_resource::AssociateBudgetWithResourceOutput)
    /// - On failure, responds with [`SdkError<AssociateBudgetWithResourceError>`](crate::operation::associate_budget_with_resource::AssociateBudgetWithResourceError)
    pub fn associate_budget_with_resource(
        &self,
    ) -> crate::operation::associate_budget_with_resource::builders::AssociateBudgetWithResourceFluentBuilder {
        crate::operation::associate_budget_with_resource::builders::AssociateBudgetWithResourceFluentBuilder::new(self.handle.clone())
    }
}