Struct aws_sdk_sesv2::operation::update_email_template::builders::UpdateEmailTemplateInputBuilder
source · #[non_exhaustive]pub struct UpdateEmailTemplateInputBuilder { /* private fields */ }Expand description
A builder for UpdateEmailTemplateInput.
Implementations§
source§impl UpdateEmailTemplateInputBuilder
impl UpdateEmailTemplateInputBuilder
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.
This field is required.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 get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
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.
This field is required.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 get_template_content(&self) -> &Option<EmailTemplateContent>
pub fn get_template_content(&self) -> &Option<EmailTemplateContent>
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
sourcepub fn build(self) -> Result<UpdateEmailTemplateInput, BuildError>
pub fn build(self) -> Result<UpdateEmailTemplateInput, BuildError>
Consumes the builder and constructs a UpdateEmailTemplateInput.
source§impl UpdateEmailTemplateInputBuilder
impl UpdateEmailTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateEmailTemplateOutput, SdkError<UpdateEmailTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateEmailTemplateOutput, SdkError<UpdateEmailTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateEmailTemplateInputBuilder
impl Clone for UpdateEmailTemplateInputBuilder
source§fn clone(&self) -> UpdateEmailTemplateInputBuilder
fn clone(&self) -> UpdateEmailTemplateInputBuilder
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 UpdateEmailTemplateInputBuilder
impl Default for UpdateEmailTemplateInputBuilder
source§fn default() -> UpdateEmailTemplateInputBuilder
fn default() -> UpdateEmailTemplateInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateEmailTemplateInputBuilder
impl PartialEq for UpdateEmailTemplateInputBuilder
source§fn eq(&self, other: &UpdateEmailTemplateInputBuilder) -> bool
fn eq(&self, other: &UpdateEmailTemplateInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateEmailTemplateInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateEmailTemplateInputBuilder
impl Send for UpdateEmailTemplateInputBuilder
impl Sync for UpdateEmailTemplateInputBuilder
impl Unpin for UpdateEmailTemplateInputBuilder
impl UnwindSafe for UpdateEmailTemplateInputBuilder
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.