Struct aws_sdk_lexmodelsv2::types::IntentSummary
source · #[non_exhaustive]pub struct IntentSummary {
pub intent_id: Option<String>,
pub intent_name: Option<String>,
pub description: Option<String>,
pub parent_intent_signature: Option<String>,
pub input_contexts: Option<Vec<InputContext>>,
pub output_contexts: Option<Vec<OutputContext>>,
pub last_updated_date_time: Option<DateTime>,
}
Expand description
Summary information about an intent returned by the ListIntents
operation.
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.intent_id: Option<String>
The unique identifier assigned to the intent. Use this ID to get detailed information about the intent with the DescribeIntent
operation.
intent_name: Option<String>
The name of the intent.
description: Option<String>
The description of the intent.
parent_intent_signature: Option<String>
If this intent is derived from a built-in intent, the name of the parent intent.
input_contexts: Option<Vec<InputContext>>
The input contexts that must be active for this intent to be considered for recognition.
output_contexts: Option<Vec<OutputContext>>
The output contexts that are activated when this intent is fulfilled.
last_updated_date_time: Option<DateTime>
The timestamp of the date and time that the intent was last updated.
Implementations§
source§impl IntentSummary
impl IntentSummary
sourcepub fn intent_id(&self) -> Option<&str>
pub fn intent_id(&self) -> Option<&str>
The unique identifier assigned to the intent. Use this ID to get detailed information about the intent with the DescribeIntent
operation.
sourcepub fn intent_name(&self) -> Option<&str>
pub fn intent_name(&self) -> Option<&str>
The name of the intent.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the intent.
sourcepub fn parent_intent_signature(&self) -> Option<&str>
pub fn parent_intent_signature(&self) -> Option<&str>
If this intent is derived from a built-in intent, the name of the parent intent.
sourcepub fn input_contexts(&self) -> &[InputContext]
pub fn input_contexts(&self) -> &[InputContext]
The input contexts that must be active for this intent to be considered for recognition.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .input_contexts.is_none()
.
sourcepub fn output_contexts(&self) -> &[OutputContext]
pub fn output_contexts(&self) -> &[OutputContext]
The output contexts that are activated when this intent is fulfilled.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .output_contexts.is_none()
.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
The timestamp of the date and time that the intent was last updated.
source§impl IntentSummary
impl IntentSummary
sourcepub fn builder() -> IntentSummaryBuilder
pub fn builder() -> IntentSummaryBuilder
Creates a new builder-style object to manufacture IntentSummary
.
Trait Implementations§
source§impl Clone for IntentSummary
impl Clone for IntentSummary
source§fn clone(&self) -> IntentSummary
fn clone(&self) -> IntentSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IntentSummary
impl Debug for IntentSummary
source§impl PartialEq for IntentSummary
impl PartialEq for IntentSummary
source§fn eq(&self, other: &IntentSummary) -> bool
fn eq(&self, other: &IntentSummary) -> bool
self
and other
values to be equal, and is used
by ==
.