Struct aws_sdk_cognitoidentityprovider::operation::set_user_settings::builders::SetUserSettingsInputBuilder
source · #[non_exhaustive]pub struct SetUserSettingsInputBuilder { /* private fields */ }
Expand description
A builder for SetUserSettingsInput
.
Implementations§
source§impl SetUserSettingsInputBuilder
impl SetUserSettingsInputBuilder
sourcepub fn access_token(self, input: impl Into<String>) -> Self
pub fn access_token(self, input: impl Into<String>) -> Self
A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.
This field is required.sourcepub fn set_access_token(self, input: Option<String>) -> Self
pub fn set_access_token(self, input: Option<String>) -> Self
A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.
sourcepub fn get_access_token(&self) -> &Option<String>
pub fn get_access_token(&self) -> &Option<String>
A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.
sourcepub fn mfa_options(self, input: MfaOptionType) -> Self
pub fn mfa_options(self, input: MfaOptionType) -> Self
Appends an item to mfa_options
.
To override the contents of this collection use set_mfa_options
.
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
sourcepub fn set_mfa_options(self, input: Option<Vec<MfaOptionType>>) -> Self
pub fn set_mfa_options(self, input: Option<Vec<MfaOptionType>>) -> Self
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
sourcepub fn get_mfa_options(&self) -> &Option<Vec<MfaOptionType>>
pub fn get_mfa_options(&self) -> &Option<Vec<MfaOptionType>>
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
sourcepub fn build(self) -> Result<SetUserSettingsInput, BuildError>
pub fn build(self) -> Result<SetUserSettingsInput, BuildError>
Consumes the builder and constructs a SetUserSettingsInput
.
source§impl SetUserSettingsInputBuilder
impl SetUserSettingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<SetUserSettingsOutput, SdkError<SetUserSettingsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<SetUserSettingsOutput, SdkError<SetUserSettingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SetUserSettingsInputBuilder
impl Clone for SetUserSettingsInputBuilder
source§fn clone(&self) -> SetUserSettingsInputBuilder
fn clone(&self) -> SetUserSettingsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SetUserSettingsInputBuilder
impl Debug for SetUserSettingsInputBuilder
source§impl Default for SetUserSettingsInputBuilder
impl Default for SetUserSettingsInputBuilder
source§fn default() -> SetUserSettingsInputBuilder
fn default() -> SetUserSettingsInputBuilder
source§impl PartialEq for SetUserSettingsInputBuilder
impl PartialEq for SetUserSettingsInputBuilder
source§fn eq(&self, other: &SetUserSettingsInputBuilder) -> bool
fn eq(&self, other: &SetUserSettingsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetUserSettingsInputBuilder
Auto Trait Implementations§
impl Freeze for SetUserSettingsInputBuilder
impl RefUnwindSafe for SetUserSettingsInputBuilder
impl Send for SetUserSettingsInputBuilder
impl Sync for SetUserSettingsInputBuilder
impl Unpin for SetUserSettingsInputBuilder
impl UnwindSafe for SetUserSettingsInputBuilder
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