// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListIngestionJobs`](crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`knowledge_base_id(impl Into<String>)`](crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder::set_knowledge_base_id):<br>required: **true**<br><p>The unique identifier of the knowledge base for which to return ingestion jobs.</p><br>
/// - [`data_source_id(impl Into<String>)`](crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder::data_source_id) / [`set_data_source_id(Option<String>)`](crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder::set_data_source_id):<br>required: **true**<br><p>The unique identifier of the data source for which to return ingestion jobs.</p><br>
/// - [`filters(IngestionJobFilter)`](crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder::filters) / [`set_filters(Option<Vec::<IngestionJobFilter>>)`](crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder::set_filters):<br>required: **false**<br><p>Contains a definition of a filter for which to filter the results.</p><br>
/// - [`sort_by(IngestionJobSortBy)`](crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder::sort_by) / [`set_sort_by(Option<IngestionJobSortBy>)`](crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder::set_sort_by):<br>required: **false**<br><p>Contains details about how to sort the results.</p><br>
/// - [`max_results(i32)`](crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p><br>
/// - On success, responds with [`ListIngestionJobsOutput`](crate::operation::list_ingestion_jobs::ListIngestionJobsOutput) with field(s):
/// - [`ingestion_job_summaries(Vec::<IngestionJobSummary>)`](crate::operation::list_ingestion_jobs::ListIngestionJobsOutput::ingestion_job_summaries): <p>A list of objects, each of which contains information about an ingestion job.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_ingestion_jobs::ListIngestionJobsOutput::next_token): <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
/// - On failure, responds with [`SdkError<ListIngestionJobsError>`](crate::operation::list_ingestion_jobs::ListIngestionJobsError)
pub fn list_ingestion_jobs(&self) -> crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder {
crate::operation::list_ingestion_jobs::builders::ListIngestionJobsFluentBuilder::new(self.handle.clone())
}
}