aws_sdk_costoptimizationhub/client/update_enrollment_status.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateEnrollmentStatus`](crate::operation::update_enrollment_status::builders::UpdateEnrollmentStatusFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`status(EnrollmentStatus)`](crate::operation::update_enrollment_status::builders::UpdateEnrollmentStatusFluentBuilder::status) / [`set_status(Option<EnrollmentStatus>)`](crate::operation::update_enrollment_status::builders::UpdateEnrollmentStatusFluentBuilder::set_status):<br>required: **true**<br><p>Sets the account status.</p><br>
/// - [`include_member_accounts(bool)`](crate::operation::update_enrollment_status::builders::UpdateEnrollmentStatusFluentBuilder::include_member_accounts) / [`set_include_member_accounts(Option<bool>)`](crate::operation::update_enrollment_status::builders::UpdateEnrollmentStatusFluentBuilder::set_include_member_accounts):<br>required: **false**<br><p>Indicates whether to enroll member accounts of the organization if the account is the management account or delegated administrator.</p><br>
/// - On success, responds with [`UpdateEnrollmentStatusOutput`](crate::operation::update_enrollment_status::UpdateEnrollmentStatusOutput) with field(s):
/// - [`status(Option<String>)`](crate::operation::update_enrollment_status::UpdateEnrollmentStatusOutput::status): <p>The enrollment status of the account.</p>
/// - On failure, responds with [`SdkError<UpdateEnrollmentStatusError>`](crate::operation::update_enrollment_status::UpdateEnrollmentStatusError)
pub fn update_enrollment_status(&self) -> crate::operation::update_enrollment_status::builders::UpdateEnrollmentStatusFluentBuilder {
crate::operation::update_enrollment_status::builders::UpdateEnrollmentStatusFluentBuilder::new(self.handle.clone())
}
}