Struct aws_sdk_sesv2::operation::get_email_template::builders::GetEmailTemplateOutputBuilder
source · #[non_exhaustive]pub struct GetEmailTemplateOutputBuilder { /* private fields */ }Expand description
A builder for GetEmailTemplateOutput.
Implementations§
source§impl GetEmailTemplateOutputBuilder
impl GetEmailTemplateOutputBuilder
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.
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.
sourcepub fn template_content(self, input: EmailTemplateContent) -> Self
pub fn template_content(self, input: EmailTemplateContent) -> Self
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
sourcepub fn set_template_content(self, input: Option<EmailTemplateContent>) -> Self
pub fn set_template_content(self, input: Option<EmailTemplateContent>) -> Self
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
sourcepub fn build(self) -> GetEmailTemplateOutput
pub fn build(self) -> GetEmailTemplateOutput
Consumes the builder and constructs a GetEmailTemplateOutput.
Trait Implementations§
source§impl Clone for GetEmailTemplateOutputBuilder
impl Clone for GetEmailTemplateOutputBuilder
source§fn clone(&self) -> GetEmailTemplateOutputBuilder
fn clone(&self) -> GetEmailTemplateOutputBuilder
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 Default for GetEmailTemplateOutputBuilder
impl Default for GetEmailTemplateOutputBuilder
source§fn default() -> GetEmailTemplateOutputBuilder
fn default() -> GetEmailTemplateOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetEmailTemplateOutputBuilder> for GetEmailTemplateOutputBuilder
impl PartialEq<GetEmailTemplateOutputBuilder> for GetEmailTemplateOutputBuilder
source§fn eq(&self, other: &GetEmailTemplateOutputBuilder) -> bool
fn eq(&self, other: &GetEmailTemplateOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.