#[non_exhaustive]pub struct ListMembersInputBuilder { /* private fields */ }
Expand description
A builder for ListMembersInput
.
Implementations§
source§impl ListMembersInputBuilder
impl ListMembersInputBuilder
sourcepub fn only_associated(self, input: bool) -> Self
pub fn only_associated(self, input: bool) -> Self
Specifies which member accounts to include in the response based on their relationship status with the administrator account. The default value is TRUE
.
If OnlyAssociated
is set to TRUE
, the response includes member accounts whose relationship status with the administrator account is set to ENABLED
.
If OnlyAssociated
is set to FALSE
, the response includes all existing member accounts.
sourcepub fn set_only_associated(self, input: Option<bool>) -> Self
pub fn set_only_associated(self, input: Option<bool>) -> Self
Specifies which member accounts to include in the response based on their relationship status with the administrator account. The default value is TRUE
.
If OnlyAssociated
is set to TRUE
, the response includes member accounts whose relationship status with the administrator account is set to ENABLED
.
If OnlyAssociated
is set to FALSE
, the response includes all existing member accounts.
sourcepub fn get_only_associated(&self) -> &Option<bool>
pub fn get_only_associated(&self) -> &Option<bool>
Specifies which member accounts to include in the response based on their relationship status with the administrator account. The default value is TRUE
.
If OnlyAssociated
is set to TRUE
, the response includes member accounts whose relationship status with the administrator account is set to ENABLED
.
If OnlyAssociated
is set to FALSE
, the response includes all existing member accounts.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to return in the response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to return in the response.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of items to return in the response.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token that is required for pagination. On your first call to the ListMembers
operation, set the value of this parameter to NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token that is required for pagination. On your first call to the ListMembers
operation, set the value of this parameter to NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token that is required for pagination. On your first call to the ListMembers
operation, set the value of this parameter to NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
sourcepub fn build(self) -> Result<ListMembersInput, BuildError>
pub fn build(self) -> Result<ListMembersInput, BuildError>
Consumes the builder and constructs a ListMembersInput
.
source§impl ListMembersInputBuilder
impl ListMembersInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListMembersOutput, SdkError<ListMembersError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListMembersOutput, SdkError<ListMembersError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListMembersInputBuilder
impl Clone for ListMembersInputBuilder
source§fn clone(&self) -> ListMembersInputBuilder
fn clone(&self) -> ListMembersInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListMembersInputBuilder
impl Debug for ListMembersInputBuilder
source§impl Default for ListMembersInputBuilder
impl Default for ListMembersInputBuilder
source§fn default() -> ListMembersInputBuilder
fn default() -> ListMembersInputBuilder
source§impl PartialEq for ListMembersInputBuilder
impl PartialEq for ListMembersInputBuilder
source§fn eq(&self, other: &ListMembersInputBuilder) -> bool
fn eq(&self, other: &ListMembersInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListMembersInputBuilder
Auto Trait Implementations§
impl Freeze for ListMembersInputBuilder
impl RefUnwindSafe for ListMembersInputBuilder
impl Send for ListMembersInputBuilder
impl Sync for ListMembersInputBuilder
impl Unpin for ListMembersInputBuilder
impl UnwindSafe for ListMembersInputBuilder
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