#[non_exhaustive]pub struct ListTopicsOutputBuilder { /* private fields */ }Expand description
A builder for ListTopicsOutput.
Implementations§
source§impl ListTopicsOutputBuilder
impl ListTopicsOutputBuilder
sourcepub fn topics_summaries(self, input: TopicSummary) -> Self
pub fn topics_summaries(self, input: TopicSummary) -> Self
Appends an item to topics_summaries.
To override the contents of this collection use set_topics_summaries.
A list of topic summaries.
sourcepub fn set_topics_summaries(self, input: Option<Vec<TopicSummary>>) -> Self
pub fn set_topics_summaries(self, input: Option<Vec<TopicSummary>>) -> Self
A list of topic summaries.
sourcepub fn get_topics_summaries(&self) -> &Option<Vec<TopicSummary>>
pub fn get_topics_summaries(&self) -> &Option<Vec<TopicSummary>>
A list of topic summaries.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results, or null if there are no more results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results, or null if there are no more results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results, or null if there are no more results.
sourcepub fn request_id(self, input: impl Into<String>) -> Self
pub fn request_id(self, input: impl Into<String>) -> Self
The Amazon Web Services request ID for this operation.
sourcepub fn set_request_id(self, input: Option<String>) -> Self
pub fn set_request_id(self, input: Option<String>) -> Self
The Amazon Web Services request ID for this operation.
sourcepub fn get_request_id(&self) -> &Option<String>
pub fn get_request_id(&self) -> &Option<String>
The Amazon Web Services request ID for this operation.
sourcepub fn set_status(self, input: Option<i32>) -> Self
pub fn set_status(self, input: Option<i32>) -> Self
The HTTP status of the request.
sourcepub fn get_status(&self) -> &Option<i32>
pub fn get_status(&self) -> &Option<i32>
The HTTP status of the request.
sourcepub fn build(self) -> ListTopicsOutput
pub fn build(self) -> ListTopicsOutput
Consumes the builder and constructs a ListTopicsOutput.
Trait Implementations§
source§impl Clone for ListTopicsOutputBuilder
impl Clone for ListTopicsOutputBuilder
source§fn clone(&self) -> ListTopicsOutputBuilder
fn clone(&self) -> ListTopicsOutputBuilder
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 ListTopicsOutputBuilder
impl Debug for ListTopicsOutputBuilder
source§impl Default for ListTopicsOutputBuilder
impl Default for ListTopicsOutputBuilder
source§fn default() -> ListTopicsOutputBuilder
fn default() -> ListTopicsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListTopicsOutputBuilder
impl PartialEq for ListTopicsOutputBuilder
source§fn eq(&self, other: &ListTopicsOutputBuilder) -> bool
fn eq(&self, other: &ListTopicsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListTopicsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListTopicsOutputBuilder
impl RefUnwindSafe for ListTopicsOutputBuilder
impl Send for ListTopicsOutputBuilder
impl Sync for ListTopicsOutputBuilder
impl Unpin for ListTopicsOutputBuilder
impl UnwindSafe for ListTopicsOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.