Struct aws_sdk_cognitoidentityprovider::operation::verify_user_attribute::builders::VerifyUserAttributeInputBuilder
source · #[non_exhaustive]pub struct VerifyUserAttributeInputBuilder { /* private fields */ }
Expand description
A builder for VerifyUserAttributeInput
.
Implementations§
source§impl VerifyUserAttributeInputBuilder
impl VerifyUserAttributeInputBuilder
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 attributes you want to verify.
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 attributes you want to verify.
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 attributes you want to verify.
sourcepub fn attribute_name(self, input: impl Into<String>) -> Self
pub fn attribute_name(self, input: impl Into<String>) -> Self
The attribute name in the request to verify user attributes.
This field is required.sourcepub fn set_attribute_name(self, input: Option<String>) -> Self
pub fn set_attribute_name(self, input: Option<String>) -> Self
The attribute name in the request to verify user attributes.
sourcepub fn get_attribute_name(&self) -> &Option<String>
pub fn get_attribute_name(&self) -> &Option<String>
The attribute name in the request to verify user attributes.
sourcepub fn code(self, input: impl Into<String>) -> Self
pub fn code(self, input: impl Into<String>) -> Self
The verification code in the request to verify user attributes.
This field is required.sourcepub fn set_code(self, input: Option<String>) -> Self
pub fn set_code(self, input: Option<String>) -> Self
The verification code in the request to verify user attributes.
sourcepub fn get_code(&self) -> &Option<String>
pub fn get_code(&self) -> &Option<String>
The verification code in the request to verify user attributes.
sourcepub fn build(self) -> Result<VerifyUserAttributeInput, BuildError>
pub fn build(self) -> Result<VerifyUserAttributeInput, BuildError>
Consumes the builder and constructs a VerifyUserAttributeInput
.
source§impl VerifyUserAttributeInputBuilder
impl VerifyUserAttributeInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<VerifyUserAttributeOutput, SdkError<VerifyUserAttributeError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<VerifyUserAttributeOutput, SdkError<VerifyUserAttributeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for VerifyUserAttributeInputBuilder
impl Clone for VerifyUserAttributeInputBuilder
source§fn clone(&self) -> VerifyUserAttributeInputBuilder
fn clone(&self) -> VerifyUserAttributeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for VerifyUserAttributeInputBuilder
impl Default for VerifyUserAttributeInputBuilder
source§fn default() -> VerifyUserAttributeInputBuilder
fn default() -> VerifyUserAttributeInputBuilder
source§impl PartialEq for VerifyUserAttributeInputBuilder
impl PartialEq for VerifyUserAttributeInputBuilder
source§fn eq(&self, other: &VerifyUserAttributeInputBuilder) -> bool
fn eq(&self, other: &VerifyUserAttributeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VerifyUserAttributeInputBuilder
Auto Trait Implementations§
impl Freeze for VerifyUserAttributeInputBuilder
impl RefUnwindSafe for VerifyUserAttributeInputBuilder
impl Send for VerifyUserAttributeInputBuilder
impl Sync for VerifyUserAttributeInputBuilder
impl Unpin for VerifyUserAttributeInputBuilder
impl UnwindSafe for VerifyUserAttributeInputBuilder
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