// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListScheduleGroups`](crate::operation::list_schedule_groups::builders::ListScheduleGroupsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_schedule_groups::builders::ListScheduleGroupsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`name_prefix(impl Into<String>)`](crate::operation::list_schedule_groups::builders::ListScheduleGroupsFluentBuilder::name_prefix) / [`set_name_prefix(Option<String>)`](crate::operation::list_schedule_groups::builders::ListScheduleGroupsFluentBuilder::set_name_prefix): <p>The name prefix that you can use to return a filtered list of your schedule groups.</p>
/// - [`next_token(impl Into<String>)`](crate::operation::list_schedule_groups::builders::ListScheduleGroupsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_schedule_groups::builders::ListScheduleGroupsFluentBuilder::set_next_token): <p>The token returned by a previous call to retrieve the next set of results.</p>
/// - [`max_results(i32)`](crate::operation::list_schedule_groups::builders::ListScheduleGroupsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_schedule_groups::builders::ListScheduleGroupsFluentBuilder::set_max_results): <p>If specified, limits the number of results returned by this operation. The operation also returns a <code>NextToken</code> which you can use in a subsequent operation to retrieve the next set of results.</p>
/// - On success, responds with [`ListScheduleGroupsOutput`](crate::operation::list_schedule_groups::ListScheduleGroupsOutput) with field(s):
/// - [`next_token(Option<String>)`](crate::operation::list_schedule_groups::ListScheduleGroupsOutput::next_token): <p>Indicates whether there are additional results to retrieve. If the value is null, there are no more results.</p>
/// - [`schedule_groups(Option<Vec<ScheduleGroupSummary>>)`](crate::operation::list_schedule_groups::ListScheduleGroupsOutput::schedule_groups): <p>The schedule groups that match the specified criteria.</p>
/// - On failure, responds with [`SdkError<ListScheduleGroupsError>`](crate::operation::list_schedule_groups::ListScheduleGroupsError)
pub fn list_schedule_groups(&self) -> crate::operation::list_schedule_groups::builders::ListScheduleGroupsFluentBuilder {
crate::operation::list_schedule_groups::builders::ListScheduleGroupsFluentBuilder::new(self.handle.clone())
}
}