#[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 ==
.