Struct aws_sdk_chime::operation::list_channel_messages::builders::ListChannelMessagesOutputBuilder
source · #[non_exhaustive]pub struct ListChannelMessagesOutputBuilder { /* private fields */ }
Expand description
A builder for ListChannelMessagesOutput
.
Implementations§
source§impl ListChannelMessagesOutputBuilder
impl ListChannelMessagesOutputBuilder
sourcepub fn channel_arn(self, input: impl Into<String>) -> Self
pub fn channel_arn(self, input: impl Into<String>) -> Self
The ARN of the channel containing the requested messages.
sourcepub fn set_channel_arn(self, input: Option<String>) -> Self
pub fn set_channel_arn(self, input: Option<String>) -> Self
The ARN of the channel containing the requested messages.
sourcepub fn get_channel_arn(&self) -> &Option<String>
pub fn get_channel_arn(&self) -> &Option<String>
The ARN of the channel containing the requested messages.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token passed by previous API calls until all requested messages are returned.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token passed by previous API calls until all requested messages are returned.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token passed by previous API calls until all requested messages are returned.
sourcepub fn channel_messages(self, input: ChannelMessageSummary) -> Self
pub fn channel_messages(self, input: ChannelMessageSummary) -> Self
Appends an item to channel_messages
.
To override the contents of this collection use set_channel_messages
.
The information about, and content of, each requested message.
sourcepub fn set_channel_messages(
self,
input: Option<Vec<ChannelMessageSummary>>
) -> Self
pub fn set_channel_messages( self, input: Option<Vec<ChannelMessageSummary>> ) -> Self
The information about, and content of, each requested message.
sourcepub fn get_channel_messages(&self) -> &Option<Vec<ChannelMessageSummary>>
pub fn get_channel_messages(&self) -> &Option<Vec<ChannelMessageSummary>>
The information about, and content of, each requested message.
sourcepub fn build(self) -> ListChannelMessagesOutput
pub fn build(self) -> ListChannelMessagesOutput
Consumes the builder and constructs a ListChannelMessagesOutput
.
Trait Implementations§
source§impl Clone for ListChannelMessagesOutputBuilder
impl Clone for ListChannelMessagesOutputBuilder
source§fn clone(&self) -> ListChannelMessagesOutputBuilder
fn clone(&self) -> ListChannelMessagesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListChannelMessagesOutputBuilder
impl Default for ListChannelMessagesOutputBuilder
source§fn default() -> ListChannelMessagesOutputBuilder
fn default() -> ListChannelMessagesOutputBuilder
source§impl PartialEq for ListChannelMessagesOutputBuilder
impl PartialEq for ListChannelMessagesOutputBuilder
source§fn eq(&self, other: &ListChannelMessagesOutputBuilder) -> bool
fn eq(&self, other: &ListChannelMessagesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.