Struct aws_sdk_lexmodelsv2::model::MessageGroup
source · #[non_exhaustive]pub struct MessageGroup { /* private fields */ }Expand description
Provides one or more messages that Amazon Lex should send to the user.
Implementations§
source§impl MessageGroup
impl MessageGroup
sourcepub fn message(&self) -> Option<&Message>
pub fn message(&self) -> Option<&Message>
The primary message that Amazon Lex should send to the user.
sourcepub fn variations(&self) -> Option<&[Message]>
pub fn variations(&self) -> Option<&[Message]>
Message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.
source§impl MessageGroup
impl MessageGroup
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MessageGroup.
Trait Implementations§
source§impl Clone for MessageGroup
impl Clone for MessageGroup
source§fn clone(&self) -> MessageGroup
fn clone(&self) -> MessageGroup
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MessageGroup
impl Debug for MessageGroup
source§impl PartialEq<MessageGroup> for MessageGroup
impl PartialEq<MessageGroup> for MessageGroup
source§fn eq(&self, other: &MessageGroup) -> bool
fn eq(&self, other: &MessageGroup) -> bool
This method tests for
self and other values to be equal, and is used
by ==.