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 will refer to 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 will refer to 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 text_part(self, input: impl Into<String>) -> Self
pub fn text_part(self, input: impl Into<String>) -> Self
The email body that will be visible to recipients whose email clients do not display HTML.
sourcepub fn set_text_part(self, input: Option<String>) -> Self
pub fn set_text_part(self, input: Option<String>) -> Self
The email body that will be visible to recipients whose email clients do not display HTML.
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.
Trait Implementations§
source§impl Clone for TemplateBuilder
impl Clone for TemplateBuilder
source§fn clone(&self) -> TemplateBuilder
fn clone(&self) -> TemplateBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<TemplateBuilder> for TemplateBuilder
impl PartialEq<TemplateBuilder> for TemplateBuilder
source§fn eq(&self, other: &TemplateBuilder) -> bool
fn eq(&self, other: &TemplateBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TemplateBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more