#[non_exhaustive]pub struct ListTaskTemplatesInput {
pub instance_id: Option<String>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub status: Option<TaskTemplateStatus>,
pub name: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_id: Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
next_token: Option<String>
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.
It is not expected that you set this because the value returned in the previous response is always null.
max_results: Option<i32>
The maximum number of results to return per page.
It is not expected that you set this.
status: Option<TaskTemplateStatus>
Marks a template as ACTIVE
or INACTIVE
for a task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE
, then a task that refers to this template cannot be created.
name: Option<String>
The name of the task template.
Implementations§
source§impl ListTaskTemplatesInput
impl ListTaskTemplatesInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
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.
It is not expected that you set this because the value returned in the previous response is always null.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return per page.
It is not expected that you set this.
sourcepub fn status(&self) -> Option<&TaskTemplateStatus>
pub fn status(&self) -> Option<&TaskTemplateStatus>
Marks a template as ACTIVE
or INACTIVE
for a task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE
, then a task that refers to this template cannot be created.
source§impl ListTaskTemplatesInput
impl ListTaskTemplatesInput
sourcepub fn builder() -> ListTaskTemplatesInputBuilder
pub fn builder() -> ListTaskTemplatesInputBuilder
Creates a new builder-style object to manufacture ListTaskTemplatesInput
.
Trait Implementations§
source§impl Clone for ListTaskTemplatesInput
impl Clone for ListTaskTemplatesInput
source§fn clone(&self) -> ListTaskTemplatesInput
fn clone(&self) -> ListTaskTemplatesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListTaskTemplatesInput
impl Debug for ListTaskTemplatesInput
source§impl PartialEq for ListTaskTemplatesInput
impl PartialEq for ListTaskTemplatesInput
source§fn eq(&self, other: &ListTaskTemplatesInput) -> bool
fn eq(&self, other: &ListTaskTemplatesInput) -> bool
self
and other
values to be equal, and is used
by ==
.