#[non_exhaustive]pub struct SearchUsersOutputBuilder { /* private fields */ }
Expand description
A builder for SearchUsersOutput
.
Implementations§
source§impl SearchUsersOutputBuilder
impl SearchUsersOutputBuilder
sourcepub fn users(self, input: UserSearchSummary) -> Self
pub fn users(self, input: UserSearchSummary) -> Self
Appends an item to users
.
To override the contents of this collection use set_users
.
Information about the users.
sourcepub fn set_users(self, input: Option<Vec<UserSearchSummary>>) -> Self
pub fn set_users(self, input: Option<Vec<UserSearchSummary>>) -> Self
Information about the users.
sourcepub fn get_users(&self) -> &Option<Vec<UserSearchSummary>>
pub fn get_users(&self) -> &Option<Vec<UserSearchSummary>>
Information about the users.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If there are additional results, this is the token for the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If there are additional results, this is the token for the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If there are additional results, this is the token for the next set of results.
sourcepub fn approximate_total_count(self, input: i64) -> Self
pub fn approximate_total_count(self, input: i64) -> Self
The total number of users who matched your search query.
sourcepub fn set_approximate_total_count(self, input: Option<i64>) -> Self
pub fn set_approximate_total_count(self, input: Option<i64>) -> Self
The total number of users who matched your search query.
sourcepub fn get_approximate_total_count(&self) -> &Option<i64>
pub fn get_approximate_total_count(&self) -> &Option<i64>
The total number of users who matched your search query.
sourcepub fn build(self) -> SearchUsersOutput
pub fn build(self) -> SearchUsersOutput
Consumes the builder and constructs a SearchUsersOutput
.
Trait Implementations§
source§impl Clone for SearchUsersOutputBuilder
impl Clone for SearchUsersOutputBuilder
source§fn clone(&self) -> SearchUsersOutputBuilder
fn clone(&self) -> SearchUsersOutputBuilder
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 SearchUsersOutputBuilder
impl Debug for SearchUsersOutputBuilder
source§impl Default for SearchUsersOutputBuilder
impl Default for SearchUsersOutputBuilder
source§fn default() -> SearchUsersOutputBuilder
fn default() -> SearchUsersOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SearchUsersOutputBuilder
impl PartialEq for SearchUsersOutputBuilder
source§fn eq(&self, other: &SearchUsersOutputBuilder) -> bool
fn eq(&self, other: &SearchUsersOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchUsersOutputBuilder
Auto Trait Implementations§
impl Freeze for SearchUsersOutputBuilder
impl RefUnwindSafe for SearchUsersOutputBuilder
impl Send for SearchUsersOutputBuilder
impl Sync for SearchUsersOutputBuilder
impl Unpin for SearchUsersOutputBuilder
impl UnwindSafe for SearchUsersOutputBuilder
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>
Creates a shared type from an unshared type.