// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListIndices`](crate::operation::list_indices::builders::ListIndicesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_indices::builders::ListIndicesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`application_id(impl Into<String>)`](crate::operation::list_indices::builders::ListIndicesFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::list_indices::builders::ListIndicesFluentBuilder::set_application_id):<br>required: **true**<br><p>The identifier of the Amazon Q Business application connected to the index.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_indices::builders::ListIndicesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_indices::builders::ListIndicesFluentBuilder::set_next_token):<br>required: **false**<br><p>If the maxResults response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q Business indices.</p><br>
/// - [`max_results(i32)`](crate::operation::list_indices::builders::ListIndicesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_indices::builders::ListIndicesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of indices to return.</p><br>
/// - On success, responds with [`ListIndicesOutput`](crate::operation::list_indices::ListIndicesOutput) with field(s):
/// - [`next_token(Option<String>)`](crate::operation::list_indices::ListIndicesOutput::next_token): <p>If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of indexes.</p>
/// - [`indices(Option<Vec::<Index>>)`](crate::operation::list_indices::ListIndicesOutput::indices): <p>An array of information on the items in one or more indexes.</p>
/// - On failure, responds with [`SdkError<ListIndicesError>`](crate::operation::list_indices::ListIndicesError)
pub fn list_indices(&self) -> crate::operation::list_indices::builders::ListIndicesFluentBuilder {
crate::operation::list_indices::builders::ListIndicesFluentBuilder::new(self.handle.clone())
}
}