Struct aws_sdk_connect::types::builders::ChatEventBuilder
source · #[non_exhaustive]pub struct ChatEventBuilder { /* private fields */ }
Expand description
A builder for ChatEvent
.
Implementations§
source§impl ChatEventBuilder
impl ChatEventBuilder
sourcepub fn type(self, input: ChatEventType) -> Self
pub fn type(self, input: ChatEventType) -> Self
Type of chat integration event.
This field is required.sourcepub fn set_type(self, input: Option<ChatEventType>) -> Self
pub fn set_type(self, input: Option<ChatEventType>) -> Self
Type of chat integration event.
sourcepub fn get_type(&self) -> &Option<ChatEventType>
pub fn get_type(&self) -> &Option<ChatEventType>
Type of chat integration event.
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
Type of content. This is required when Type
is MESSAGE
or EVENT
.
-
For allowed message content types, see the
ContentType
parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference. -
For allowed event content types, see the
ContentType
parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
Type of content. This is required when Type
is MESSAGE
or EVENT
.
-
For allowed message content types, see the
ContentType
parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference. -
For allowed event content types, see the
ContentType
parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.
sourcepub fn get_content_type(&self) -> &Option<String>
pub fn get_content_type(&self) -> &Option<String>
Type of content. This is required when Type
is MESSAGE
or EVENT
.
-
For allowed message content types, see the
ContentType
parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference. -
For allowed event content types, see the
ContentType
parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
Content of the message or event. This is required when Type
is MESSAGE
and for certain ContentTypes
when Type
is EVENT
.
-
For allowed message content, see the
Content
parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference. -
For allowed event content, see the
Content
parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.
sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
Content of the message or event. This is required when Type
is MESSAGE
and for certain ContentTypes
when Type
is EVENT
.
-
For allowed message content, see the
Content
parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference. -
For allowed event content, see the
Content
parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.
sourcepub fn get_content(&self) -> &Option<String>
pub fn get_content(&self) -> &Option<String>
Content of the message or event. This is required when Type
is MESSAGE
and for certain ContentTypes
when Type
is EVENT
.
-
For allowed message content, see the
Content
parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference. -
For allowed event content, see the
Content
parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.
Trait Implementations§
source§impl Clone for ChatEventBuilder
impl Clone for ChatEventBuilder
source§fn clone(&self) -> ChatEventBuilder
fn clone(&self) -> ChatEventBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChatEventBuilder
impl Debug for ChatEventBuilder
source§impl Default for ChatEventBuilder
impl Default for ChatEventBuilder
source§fn default() -> ChatEventBuilder
fn default() -> ChatEventBuilder
source§impl PartialEq for ChatEventBuilder
impl PartialEq for ChatEventBuilder
source§fn eq(&self, other: &ChatEventBuilder) -> bool
fn eq(&self, other: &ChatEventBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.