Struct aws_sdk_sesv2::types::builders::EmailTemplateContentBuilder
source · #[non_exhaustive]pub struct EmailTemplateContentBuilder { /* private fields */ }Expand description
A builder for EmailTemplateContent.
Implementations§
source§impl EmailTemplateContentBuilder
impl EmailTemplateContentBuilder
sourcepub fn set_subject(self, input: Option<String>) -> Self
pub fn set_subject(self, input: Option<String>) -> Self
The subject line of the email.
sourcepub fn get_subject(&self) -> &Option<String>
pub fn get_subject(&self) -> &Option<String>
The subject line of the email.
sourcepub fn text(self, input: impl Into<String>) -> Self
pub fn text(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(self, input: Option<String>) -> Self
pub fn set_text(self, input: Option<String>) -> Self
The email body that will be visible to recipients whose email clients do not display HTML.
sourcepub fn get_text(&self) -> &Option<String>
pub fn get_text(&self) -> &Option<String>
The email body that will be visible to recipients whose email clients do not display HTML.
sourcepub fn build(self) -> EmailTemplateContent
pub fn build(self) -> EmailTemplateContent
Consumes the builder and constructs a EmailTemplateContent.
Trait Implementations§
source§impl Clone for EmailTemplateContentBuilder
impl Clone for EmailTemplateContentBuilder
source§fn clone(&self) -> EmailTemplateContentBuilder
fn clone(&self) -> EmailTemplateContentBuilder
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 EmailTemplateContentBuilder
impl Debug for EmailTemplateContentBuilder
source§impl Default for EmailTemplateContentBuilder
impl Default for EmailTemplateContentBuilder
source§fn default() -> EmailTemplateContentBuilder
fn default() -> EmailTemplateContentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EmailTemplateContentBuilder
impl PartialEq for EmailTemplateContentBuilder
source§fn eq(&self, other: &EmailTemplateContentBuilder) -> bool
fn eq(&self, other: &EmailTemplateContentBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EmailTemplateContentBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EmailTemplateContentBuilder
impl Send for EmailTemplateContentBuilder
impl Sync for EmailTemplateContentBuilder
impl Unpin for EmailTemplateContentBuilder
impl UnwindSafe for EmailTemplateContentBuilder
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
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>
Creates a shared type from an unshared type.