aws_sdk_connectcases/client/get_template.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetTemplate`](crate::operation::get_template::builders::GetTemplateFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_id(impl Into<String>)`](crate::operation::get_template::builders::GetTemplateFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::get_template::builders::GetTemplateFluentBuilder::set_domain_id):<br>required: **true**<br><p>The unique identifier of the Cases domain.</p><br>
/// - [`template_id(impl Into<String>)`](crate::operation::get_template::builders::GetTemplateFluentBuilder::template_id) / [`set_template_id(Option<String>)`](crate::operation::get_template::builders::GetTemplateFluentBuilder::set_template_id):<br>required: **true**<br><p>A unique identifier of a template.</p><br>
/// - On success, responds with [`GetTemplateOutput`](crate::operation::get_template::GetTemplateOutput) with field(s):
/// - [`template_id(String)`](crate::operation::get_template::GetTemplateOutput::template_id): <p>A unique identifier of a template.</p>
/// - [`template_arn(String)`](crate::operation::get_template::GetTemplateOutput::template_arn): <p>The Amazon Resource Name (ARN) of the template.</p>
/// - [`name(String)`](crate::operation::get_template::GetTemplateOutput::name): <p>The name of the template.</p>
/// - [`description(Option<String>)`](crate::operation::get_template::GetTemplateOutput::description): <p>A brief description of the template.</p>
/// - [`layout_configuration(Option<LayoutConfiguration>)`](crate::operation::get_template::GetTemplateOutput::layout_configuration): <p>Configuration of layouts associated to the template.</p>
/// - [`required_fields(Option<Vec::<RequiredField>>)`](crate::operation::get_template::GetTemplateOutput::required_fields): <p>A list of fields that must contain a value for a case to be successfully created with this template.</p>
/// - [`tags(Option<HashMap::<String, Option<String>>>)`](crate::operation::get_template::GetTemplateOutput::tags): <p>A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.</p>
/// - [`status(TemplateStatus)`](crate::operation::get_template::GetTemplateOutput::status): <p>The status of the template.</p>
/// - [`deleted(bool)`](crate::operation::get_template::GetTemplateOutput::deleted): <p>Denotes whether or not the resource has been deleted.</p>
/// - [`created_time(Option<DateTime>)`](crate::operation::get_template::GetTemplateOutput::created_time): <p>Timestamp at which the resource was created.</p>
/// - [`last_modified_time(Option<DateTime>)`](crate::operation::get_template::GetTemplateOutput::last_modified_time): <p>Timestamp at which the resource was created or last modified.</p>
/// - On failure, responds with [`SdkError<GetTemplateError>`](crate::operation::get_template::GetTemplateError)
pub fn get_template(&self) -> crate::operation::get_template::builders::GetTemplateFluentBuilder {
crate::operation::get_template::builders::GetTemplateFluentBuilder::new(self.handle.clone())
}
}