// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListTemplates`](crate::operation::list_templates::builders::ListTemplatesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`next_token(impl Into<String>)`](crate::operation::list_templates::builders::ListTemplatesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_templates::builders::ListTemplatesFluentBuilder::set_next_token):<br>required: **false**<br><p>A token returned from a previous call to <code>ListTemplates</code> to indicate the position in the list of email templates.</p><br>
/// - [`max_items(i32)`](crate::operation::list_templates::builders::ListTemplatesFluentBuilder::max_items) / [`set_max_items(Option<i32>)`](crate::operation::list_templates::builders::ListTemplatesFluentBuilder::set_max_items):<br>required: **false**<br><p>The maximum number of templates to return. This value must be at least 1 and less than or equal to 100. If more than 100 items are requested, the page size will automatically set to 100. If you do not specify a value, 10 is the default page size.</p><br>
/// - On success, responds with [`ListTemplatesOutput`](crate::operation::list_templates::ListTemplatesOutput) with field(s):
/// - [`templates_metadata(Option<Vec::<TemplateMetadata>>)`](crate::operation::list_templates::ListTemplatesOutput::templates_metadata): <p>An array the contains the name and creation time stamp for each template in your Amazon SES account.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_templates::ListTemplatesOutput::next_token): <p>A token indicating that there are additional email templates available to be listed. Pass this token to a subsequent call to <code>ListTemplates</code> to retrieve the next set of email templates within your page size.</p>
/// - On failure, responds with [`SdkError<ListTemplatesError>`](crate::operation::list_templates::ListTemplatesError)
pub fn list_templates(&self) -> crate::operation::list_templates::builders::ListTemplatesFluentBuilder {
crate::operation::list_templates::builders::ListTemplatesFluentBuilder::new(self.handle.clone())
}
}