Struct aws_sdk_cognitoidentityprovider::types::builders::VerificationMessageTemplateTypeBuilder
source · #[non_exhaustive]pub struct VerificationMessageTemplateTypeBuilder { /* private fields */ }
Expand description
A builder for VerificationMessageTemplateType
.
Implementations§
source§impl VerificationMessageTemplateTypeBuilder
impl VerificationMessageTemplateTypeBuilder
sourcepub fn sms_message(self, input: impl Into<String>) -> Self
pub fn sms_message(self, input: impl Into<String>) -> Self
The template for SMS messages that Amazon Cognito sends to your users.
sourcepub fn set_sms_message(self, input: Option<String>) -> Self
pub fn set_sms_message(self, input: Option<String>) -> Self
The template for SMS messages that Amazon Cognito sends to your users.
sourcepub fn get_sms_message(&self) -> &Option<String>
pub fn get_sms_message(&self) -> &Option<String>
The template for SMS messages that Amazon Cognito sends to your users.
sourcepub fn email_message(self, input: impl Into<String>) -> Self
pub fn email_message(self, input: impl Into<String>) -> Self
The template for email messages that Amazon Cognito sends to your users. You can set an EmailMessage
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn set_email_message(self, input: Option<String>) -> Self
pub fn set_email_message(self, input: Option<String>) -> Self
The template for email messages that Amazon Cognito sends to your users. You can set an EmailMessage
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn get_email_message(&self) -> &Option<String>
pub fn get_email_message(&self) -> &Option<String>
The template for email messages that Amazon Cognito sends to your users. You can set an EmailMessage
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn email_subject(self, input: impl Into<String>) -> Self
pub fn email_subject(self, input: impl Into<String>) -> Self
The subject line for the email message template. You can set an EmailSubject
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn set_email_subject(self, input: Option<String>) -> Self
pub fn set_email_subject(self, input: Option<String>) -> Self
The subject line for the email message template. You can set an EmailSubject
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn get_email_subject(&self) -> &Option<String>
pub fn get_email_subject(&self) -> &Option<String>
The subject line for the email message template. You can set an EmailSubject
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn email_message_by_link(self, input: impl Into<String>) -> Self
pub fn email_message_by_link(self, input: impl Into<String>) -> Self
The email message template for sending a confirmation link to the user. You can set an EmailMessageByLink
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn set_email_message_by_link(self, input: Option<String>) -> Self
pub fn set_email_message_by_link(self, input: Option<String>) -> Self
The email message template for sending a confirmation link to the user. You can set an EmailMessageByLink
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn get_email_message_by_link(&self) -> &Option<String>
pub fn get_email_message_by_link(&self) -> &Option<String>
The email message template for sending a confirmation link to the user. You can set an EmailMessageByLink
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn email_subject_by_link(self, input: impl Into<String>) -> Self
pub fn email_subject_by_link(self, input: impl Into<String>) -> Self
The subject line for the email message template for sending a confirmation link to the user. You can set an EmailSubjectByLink
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn set_email_subject_by_link(self, input: Option<String>) -> Self
pub fn set_email_subject_by_link(self, input: Option<String>) -> Self
The subject line for the email message template for sending a confirmation link to the user. You can set an EmailSubjectByLink
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn get_email_subject_by_link(&self) -> &Option<String>
pub fn get_email_subject_by_link(&self) -> &Option<String>
The subject line for the email message template for sending a confirmation link to the user. You can set an EmailSubjectByLink
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn default_email_option(self, input: DefaultEmailOptionType) -> Self
pub fn default_email_option(self, input: DefaultEmailOptionType) -> Self
The default email option.
sourcepub fn set_default_email_option(
self,
input: Option<DefaultEmailOptionType>,
) -> Self
pub fn set_default_email_option( self, input: Option<DefaultEmailOptionType>, ) -> Self
The default email option.
sourcepub fn get_default_email_option(&self) -> &Option<DefaultEmailOptionType>
pub fn get_default_email_option(&self) -> &Option<DefaultEmailOptionType>
The default email option.
sourcepub fn build(self) -> VerificationMessageTemplateType
pub fn build(self) -> VerificationMessageTemplateType
Consumes the builder and constructs a VerificationMessageTemplateType
.
Trait Implementations§
source§impl Clone for VerificationMessageTemplateTypeBuilder
impl Clone for VerificationMessageTemplateTypeBuilder
source§fn clone(&self) -> VerificationMessageTemplateTypeBuilder
fn clone(&self) -> VerificationMessageTemplateTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for VerificationMessageTemplateTypeBuilder
impl Default for VerificationMessageTemplateTypeBuilder
source§fn default() -> VerificationMessageTemplateTypeBuilder
fn default() -> VerificationMessageTemplateTypeBuilder
source§impl PartialEq for VerificationMessageTemplateTypeBuilder
impl PartialEq for VerificationMessageTemplateTypeBuilder
source§fn eq(&self, other: &VerificationMessageTemplateTypeBuilder) -> bool
fn eq(&self, other: &VerificationMessageTemplateTypeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VerificationMessageTemplateTypeBuilder
Auto Trait Implementations§
impl Freeze for VerificationMessageTemplateTypeBuilder
impl RefUnwindSafe for VerificationMessageTemplateTypeBuilder
impl Send for VerificationMessageTemplateTypeBuilder
impl Sync for VerificationMessageTemplateTypeBuilder
impl Unpin for VerificationMessageTemplateTypeBuilder
impl UnwindSafe for VerificationMessageTemplateTypeBuilder
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