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 ==
.