Struct aws_sdk_ses::operation::test_render_template::builders::TestRenderTemplateInputBuilder
source · #[non_exhaustive]pub struct TestRenderTemplateInputBuilder { /* private fields */ }Expand description
A builder for TestRenderTemplateInput.
Implementations§
source§impl TestRenderTemplateInputBuilder
impl TestRenderTemplateInputBuilder
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 to render.
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 to render.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the template to render.
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<TestRenderTemplateInput, BuildError>
pub fn build(self) -> Result<TestRenderTemplateInput, BuildError>
Consumes the builder and constructs a TestRenderTemplateInput.
source§impl TestRenderTemplateInputBuilder
impl TestRenderTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<TestRenderTemplateOutput, SdkError<TestRenderTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<TestRenderTemplateOutput, SdkError<TestRenderTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for TestRenderTemplateInputBuilder
impl Clone for TestRenderTemplateInputBuilder
source§fn clone(&self) -> TestRenderTemplateInputBuilder
fn clone(&self) -> TestRenderTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for TestRenderTemplateInputBuilder
impl Default for TestRenderTemplateInputBuilder
source§fn default() -> TestRenderTemplateInputBuilder
fn default() -> TestRenderTemplateInputBuilder
source§impl PartialEq for TestRenderTemplateInputBuilder
impl PartialEq for TestRenderTemplateInputBuilder
source§fn eq(&self, other: &TestRenderTemplateInputBuilder) -> bool
fn eq(&self, other: &TestRenderTemplateInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TestRenderTemplateInputBuilder
Auto Trait Implementations§
impl Freeze for TestRenderTemplateInputBuilder
impl RefUnwindSafe for TestRenderTemplateInputBuilder
impl Send for TestRenderTemplateInputBuilder
impl Sync for TestRenderTemplateInputBuilder
impl Unpin for TestRenderTemplateInputBuilder
impl UnwindSafe for TestRenderTemplateInputBuilder
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