#[non_exhaustive]pub struct ListUsageProfilesInputBuilder { /* private fields */ }Expand description
A builder for ListUsageProfilesInput.
Implementations§
Source§impl ListUsageProfilesInputBuilder
impl ListUsageProfilesInputBuilder
Sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A continuation token, included if this is a continuation call.
Sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A continuation token, included if this is a continuation call.
Sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A continuation token, included if this is a continuation call.
Sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of usage profiles to return in a single 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 usage profiles to return in a single response.
Sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of usage profiles to return in a single response.
Sourcepub fn build(self) -> Result<ListUsageProfilesInput, BuildError>
pub fn build(self) -> Result<ListUsageProfilesInput, BuildError>
Consumes the builder and constructs a ListUsageProfilesInput.
Source§impl ListUsageProfilesInputBuilder
impl ListUsageProfilesInputBuilder
Sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListUsageProfilesOutput, SdkError<ListUsageProfilesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListUsageProfilesOutput, SdkError<ListUsageProfilesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
Source§impl Clone for ListUsageProfilesInputBuilder
impl Clone for ListUsageProfilesInputBuilder
Source§fn clone(&self) -> ListUsageProfilesInputBuilder
fn clone(&self) -> ListUsageProfilesInputBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ListUsageProfilesInputBuilder
impl Default for ListUsageProfilesInputBuilder
Source§fn default() -> ListUsageProfilesInputBuilder
fn default() -> ListUsageProfilesInputBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListUsageProfilesInputBuilder
impl PartialEq for ListUsageProfilesInputBuilder
Source§fn eq(&self, other: &ListUsageProfilesInputBuilder) -> bool
fn eq(&self, other: &ListUsageProfilesInputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListUsageProfilesInputBuilder
Auto Trait Implementations§
impl Freeze for ListUsageProfilesInputBuilder
impl RefUnwindSafe for ListUsageProfilesInputBuilder
impl Send for ListUsageProfilesInputBuilder
impl Sync for ListUsageProfilesInputBuilder
impl Unpin for ListUsageProfilesInputBuilder
impl UnsafeUnpin for ListUsageProfilesInputBuilder
impl UnwindSafe for ListUsageProfilesInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.