// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`SearchCases`](crate::operation::search_cases::builders::SearchCasesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`domain_id(impl ::std::convert::Into<String>)`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::set_domain_id): <p>The unique identifier of the Cases domain. </p>
/// - [`max_results(i32)`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::set_max_results): <p>The maximum number of cases to return. The current maximum supported value is 25. This is also the default value when no other value is provided.</p>
/// - [`next_token(impl ::std::convert::Into<String>)`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::set_next_token): <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
/// - [`search_term(impl ::std::convert::Into<String>)`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::search_term) / [`set_search_term(Option<String>)`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::set_search_term): <p>A word or phrase used to perform a quick search.</p>
/// - [`filter(CaseFilter)`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::filter) / [`set_filter(Option<CaseFilter>)`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::set_filter): <p>A list of filter objects.</p>
/// - [`sorts(Vec<Sort>)`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::sorts) / [`set_sorts(Option<Vec<Sort>>)`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::set_sorts): <p>A list of sorts where each sort specifies a field and their sort order to be applied to the results. </p>
/// - [`fields(Vec<FieldIdentifier>)`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::fields) / [`set_fields(Option<Vec<FieldIdentifier>>)`](crate::operation::search_cases::builders::SearchCasesFluentBuilder::set_fields): <p>The list of field identifiers to be returned as part of the response.</p>
/// - On success, responds with [`SearchCasesOutput`](crate::operation::search_cases::SearchCasesOutput) with field(s):
/// - [`next_token(Option<String>)`](crate::operation::search_cases::SearchCasesOutput::next_token): <p>The token for the next set of results. This is null if there are no more results to return.</p>
/// - [`cases(Option<Vec<Option<SearchCasesResponseItem>>>)`](crate::operation::search_cases::SearchCasesOutput::cases): <p>A list of case documents where each case contains the properties <code>CaseId</code> and <code>Fields</code> where each field is a complex union structure. </p>
/// - On failure, responds with [`SdkError<SearchCasesError>`](crate::operation::search_cases::SearchCasesError)
pub fn search_cases(&self) -> crate::operation::search_cases::builders::SearchCasesFluentBuilder {
crate::operation::search_cases::builders::SearchCasesFluentBuilder::new(self.handle.clone())
}
}