Struct aws_sdk_fms::operation::list_member_accounts::builders::ListMemberAccountsInputBuilder
source · #[non_exhaustive]pub struct ListMemberAccountsInputBuilder { /* private fields */ }
Expand description
A builder for ListMemberAccountsInput
.
Implementations§
source§impl ListMemberAccountsInputBuilder
impl ListMemberAccountsInputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If you specify a value for MaxResults
and you have more account IDs than the number that you specify for MaxResults
, Firewall Manager returns a NextToken
value in the response that allows you to list another group of IDs. For the second and subsequent ListMemberAccountsRequest
requests, specify the value of NextToken
from the previous response to get information about another batch of member account IDs.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If you specify a value for MaxResults
and you have more account IDs than the number that you specify for MaxResults
, Firewall Manager returns a NextToken
value in the response that allows you to list another group of IDs. For the second and subsequent ListMemberAccountsRequest
requests, specify the value of NextToken
from the previous response to get information about another batch of member account IDs.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If you specify a value for MaxResults
and you have more account IDs than the number that you specify for MaxResults
, Firewall Manager returns a NextToken
value in the response that allows you to list another group of IDs. For the second and subsequent ListMemberAccountsRequest
requests, specify the value of NextToken
from the previous response to get information about another batch of member account IDs.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Specifies the number of member account IDs that you want Firewall Manager to return for this request. If you have more IDs than the number that you specify for MaxResults
, the response includes a NextToken
value that you can use to get another batch of member account IDs.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Specifies the number of member account IDs that you want Firewall Manager to return for this request. If you have more IDs than the number that you specify for MaxResults
, the response includes a NextToken
value that you can use to get another batch of member account IDs.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Specifies the number of member account IDs that you want Firewall Manager to return for this request. If you have more IDs than the number that you specify for MaxResults
, the response includes a NextToken
value that you can use to get another batch of member account IDs.
sourcepub fn build(self) -> Result<ListMemberAccountsInput, BuildError>
pub fn build(self) -> Result<ListMemberAccountsInput, BuildError>
Consumes the builder and constructs a ListMemberAccountsInput
.
source§impl ListMemberAccountsInputBuilder
impl ListMemberAccountsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListMemberAccountsOutput, SdkError<ListMemberAccountsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListMemberAccountsOutput, SdkError<ListMemberAccountsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListMemberAccountsInputBuilder
impl Clone for ListMemberAccountsInputBuilder
source§fn clone(&self) -> ListMemberAccountsInputBuilder
fn clone(&self) -> ListMemberAccountsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListMemberAccountsInputBuilder
impl Default for ListMemberAccountsInputBuilder
source§fn default() -> ListMemberAccountsInputBuilder
fn default() -> ListMemberAccountsInputBuilder
source§impl PartialEq for ListMemberAccountsInputBuilder
impl PartialEq for ListMemberAccountsInputBuilder
source§fn eq(&self, other: &ListMemberAccountsInputBuilder) -> bool
fn eq(&self, other: &ListMemberAccountsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListMemberAccountsInputBuilder
Auto Trait Implementations§
impl Freeze for ListMemberAccountsInputBuilder
impl RefUnwindSafe for ListMemberAccountsInputBuilder
impl Send for ListMemberAccountsInputBuilder
impl Sync for ListMemberAccountsInputBuilder
impl Unpin for ListMemberAccountsInputBuilder
impl UnwindSafe for ListMemberAccountsInputBuilder
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