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 ==.