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