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 ==
.impl StructuralPartialEq for ListChannelMessagesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListChannelMessagesOutputBuilder
impl RefUnwindSafe for ListChannelMessagesOutputBuilder
impl Send for ListChannelMessagesOutputBuilder
impl Sync for ListChannelMessagesOutputBuilder
impl Unpin for ListChannelMessagesOutputBuilder
impl UnwindSafe for ListChannelMessagesOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more