aws_sdk_costoptimizationhub/client/list_enrollment_statuses.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListEnrollmentStatuses`](crate::operation::list_enrollment_statuses::builders::ListEnrollmentStatusesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_enrollment_statuses::builders::ListEnrollmentStatusesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`include_organization_info(bool)`](crate::operation::list_enrollment_statuses::builders::ListEnrollmentStatusesFluentBuilder::include_organization_info) / [`set_include_organization_info(Option<bool>)`](crate::operation::list_enrollment_statuses::builders::ListEnrollmentStatusesFluentBuilder::set_include_organization_info):<br>required: **false**<br><p>Indicates whether to return the enrollment status for the organization.</p><br>
/// - [`account_id(impl Into<String>)`](crate::operation::list_enrollment_statuses::builders::ListEnrollmentStatusesFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::list_enrollment_statuses::builders::ListEnrollmentStatusesFluentBuilder::set_account_id):<br>required: **false**<br><p>The account ID of a member account in the organization.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_enrollment_statuses::builders::ListEnrollmentStatusesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_enrollment_statuses::builders::ListEnrollmentStatusesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to retrieve the next set of results.</p><br>
/// - [`max_results(i32)`](crate::operation::list_enrollment_statuses::builders::ListEnrollmentStatusesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_enrollment_statuses::builders::ListEnrollmentStatusesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of objects that are returned for the request.</p><br>
/// - On success, responds with [`ListEnrollmentStatusesOutput`](crate::operation::list_enrollment_statuses::ListEnrollmentStatusesOutput) with field(s):
/// - [`items(Option<Vec::<AccountEnrollmentStatus>>)`](crate::operation::list_enrollment_statuses::ListEnrollmentStatusesOutput::items): <p>The enrollment status of a specific account ID, including creation and last updated timestamps.</p>
/// - [`include_member_accounts(Option<bool>)`](crate::operation::list_enrollment_statuses::ListEnrollmentStatusesOutput::include_member_accounts): <p>The enrollment status of all member accounts in the organization if the account is the management account or delegated administrator.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_enrollment_statuses::ListEnrollmentStatusesOutput::next_token): <p>The token to retrieve the next set of results.</p>
/// - On failure, responds with [`SdkError<ListEnrollmentStatusesError>`](crate::operation::list_enrollment_statuses::ListEnrollmentStatusesError)
pub fn list_enrollment_statuses(&self) -> crate::operation::list_enrollment_statuses::builders::ListEnrollmentStatusesFluentBuilder {
crate::operation::list_enrollment_statuses::builders::ListEnrollmentStatusesFluentBuilder::new(self.handle.clone())
}
}