#[non_exhaustive]pub struct ListNamespacesInputBuilder { /* private fields */ }Expand description
A builder for ListNamespacesInput.
Implementations§
source§impl ListNamespacesInputBuilder
impl ListNamespacesInputBuilder
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID for the Amazon Web Services account that contains the Amazon QuickSight namespaces that you want to list.
This field is required.sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The ID for the Amazon Web Services account that contains the Amazon QuickSight namespaces that you want to list.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The ID for the Amazon Web Services account that contains the Amazon QuickSight namespaces that you want to list.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A unique pagination token that can be used in a subsequent request. You will receive a pagination token in the response body of a previous ListNameSpaces API call if there is more data that can be returned. To receive the data, make another ListNamespaces API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A unique pagination token that can be used in a subsequent request. You will receive a pagination token in the response body of a previous ListNameSpaces API call if there is more data that can be returned. To receive the data, make another ListNamespaces API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A unique pagination token that can be used in a subsequent request. You will receive a pagination token in the response body of a previous ListNameSpaces API call if there is more data that can be returned. To receive the data, make another ListNamespaces API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return.
sourcepub fn build(self) -> Result<ListNamespacesInput, BuildError>
pub fn build(self) -> Result<ListNamespacesInput, BuildError>
Consumes the builder and constructs a ListNamespacesInput.
source§impl ListNamespacesInputBuilder
impl ListNamespacesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListNamespacesOutput, SdkError<ListNamespacesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListNamespacesOutput, SdkError<ListNamespacesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListNamespacesInputBuilder
impl Clone for ListNamespacesInputBuilder
source§fn clone(&self) -> ListNamespacesInputBuilder
fn clone(&self) -> ListNamespacesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListNamespacesInputBuilder
impl Debug for ListNamespacesInputBuilder
source§impl Default for ListNamespacesInputBuilder
impl Default for ListNamespacesInputBuilder
source§fn default() -> ListNamespacesInputBuilder
fn default() -> ListNamespacesInputBuilder
source§impl PartialEq for ListNamespacesInputBuilder
impl PartialEq for ListNamespacesInputBuilder
source§fn eq(&self, other: &ListNamespacesInputBuilder) -> bool
fn eq(&self, other: &ListNamespacesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.