Struct aws_sdk_ses::types::builders::TemplateBuilder
source · #[non_exhaustive]pub struct TemplateBuilder { /* private fields */ }Expand description
A builder for Template.
Implementations§
source§impl TemplateBuilder
impl TemplateBuilder
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the template. You use this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the template. You use this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the template. You use this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.
sourcepub fn subject_part(self, input: impl Into<String>) -> Self
pub fn subject_part(self, input: impl Into<String>) -> Self
The subject line of the email.
sourcepub fn set_subject_part(self, input: Option<String>) -> Self
pub fn set_subject_part(self, input: Option<String>) -> Self
The subject line of the email.
sourcepub fn get_subject_part(&self) -> &Option<String>
pub fn get_subject_part(&self) -> &Option<String>
The subject line of the email.
sourcepub fn text_part(self, input: impl Into<String>) -> Self
pub fn text_part(self, input: impl Into<String>) -> Self
The email body that is visible to recipients whose email clients do not display HTML content.
sourcepub fn set_text_part(self, input: Option<String>) -> Self
pub fn set_text_part(self, input: Option<String>) -> Self
The email body that is visible to recipients whose email clients do not display HTML content.
sourcepub fn get_text_part(&self) -> &Option<String>
pub fn get_text_part(&self) -> &Option<String>
The email body that is visible to recipients whose email clients do not display HTML content.
sourcepub fn set_html_part(self, input: Option<String>) -> Self
pub fn set_html_part(self, input: Option<String>) -> Self
The HTML body of the email.
sourcepub fn get_html_part(&self) -> &Option<String>
pub fn get_html_part(&self) -> &Option<String>
The HTML body of the email.
Trait Implementations§
source§impl Clone for TemplateBuilder
impl Clone for TemplateBuilder
source§fn clone(&self) -> TemplateBuilder
fn clone(&self) -> TemplateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TemplateBuilder
impl Debug for TemplateBuilder
source§impl Default for TemplateBuilder
impl Default for TemplateBuilder
source§fn default() -> TemplateBuilder
fn default() -> TemplateBuilder
source§impl PartialEq for TemplateBuilder
impl PartialEq for TemplateBuilder
source§fn eq(&self, other: &TemplateBuilder) -> bool
fn eq(&self, other: &TemplateBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TemplateBuilder
Auto Trait Implementations§
impl Freeze for TemplateBuilder
impl RefUnwindSafe for TemplateBuilder
impl Send for TemplateBuilder
impl Sync for TemplateBuilder
impl Unpin for TemplateBuilder
impl UnwindSafe for TemplateBuilder
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