Struct aws_sdk_sesv2::operation::test_render_email_template::builders::TestRenderEmailTemplateInputBuilder
source · #[non_exhaustive]pub struct TestRenderEmailTemplateInputBuilder { /* private fields */ }
Expand description
A builder for TestRenderEmailTemplateInput
.
Implementations§
source§impl TestRenderEmailTemplateInputBuilder
impl TestRenderEmailTemplateInputBuilder
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_data(self, input: impl Into<String>) -> Self
pub fn template_data(self, input: impl Into<String>) -> Self
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
This field is required.sourcepub fn set_template_data(self, input: Option<String>) -> Self
pub fn set_template_data(self, input: Option<String>) -> Self
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
sourcepub fn get_template_data(&self) -> &Option<String>
pub fn get_template_data(&self) -> &Option<String>
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
sourcepub fn build(self) -> Result<TestRenderEmailTemplateInput, BuildError>
pub fn build(self) -> Result<TestRenderEmailTemplateInput, BuildError>
Consumes the builder and constructs a TestRenderEmailTemplateInput
.
source§impl TestRenderEmailTemplateInputBuilder
impl TestRenderEmailTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<TestRenderEmailTemplateOutput, SdkError<TestRenderEmailTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<TestRenderEmailTemplateOutput, SdkError<TestRenderEmailTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for TestRenderEmailTemplateInputBuilder
impl Clone for TestRenderEmailTemplateInputBuilder
source§fn clone(&self) -> TestRenderEmailTemplateInputBuilder
fn clone(&self) -> TestRenderEmailTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TestRenderEmailTemplateInputBuilder
impl Default for TestRenderEmailTemplateInputBuilder
source§fn default() -> TestRenderEmailTemplateInputBuilder
fn default() -> TestRenderEmailTemplateInputBuilder
source§impl PartialEq for TestRenderEmailTemplateInputBuilder
impl PartialEq for TestRenderEmailTemplateInputBuilder
source§fn eq(&self, other: &TestRenderEmailTemplateInputBuilder) -> bool
fn eq(&self, other: &TestRenderEmailTemplateInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestRenderEmailTemplateInputBuilder
Auto Trait Implementations§
impl Freeze for TestRenderEmailTemplateInputBuilder
impl RefUnwindSafe for TestRenderEmailTemplateInputBuilder
impl Send for TestRenderEmailTemplateInputBuilder
impl Sync for TestRenderEmailTemplateInputBuilder
impl Unpin for TestRenderEmailTemplateInputBuilder
impl UnwindSafe for TestRenderEmailTemplateInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more