Struct aws_sdk_sesv2::types::builders::TemplateBuilder
source · #[non_exhaustive]pub struct TemplateBuilder { /* private fields */ }Expand description
A builder for Template.
Implementations§
source§impl TemplateBuilder
impl TemplateBuilder
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. You will refer to this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.
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. You will refer to this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the template. You will refer to this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.
sourcepub fn template_arn(self, input: impl Into<String>) -> Self
pub fn template_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the template.
sourcepub fn set_template_arn(self, input: Option<String>) -> Self
pub fn set_template_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the template.
sourcepub fn get_template_arn(&self) -> &Option<String>
pub fn get_template_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the template.
sourcepub fn template_data(self, input: impl Into<String>) -> Self
pub fn template_data(self, input: impl Into<String>) -> Self
An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable.
sourcepub fn set_template_data(self, input: Option<String>) -> Self
pub fn set_template_data(self, input: Option<String>) -> Self
An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable.
sourcepub fn get_template_data(&self) -> &Option<String>
pub fn get_template_data(&self) -> &Option<String>
An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable.
Trait Implementations§
source§impl Clone for TemplateBuilder
impl Clone for TemplateBuilder
source§fn clone(&self) -> TemplateBuilder
fn clone(&self) -> TemplateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TemplateBuilder
impl Debug for TemplateBuilder
source§impl Default for TemplateBuilder
impl Default for TemplateBuilder
source§fn default() -> TemplateBuilder
fn default() -> TemplateBuilder
source§impl PartialEq for TemplateBuilder
impl PartialEq for TemplateBuilder
source§fn eq(&self, other: &TemplateBuilder) -> bool
fn eq(&self, other: &TemplateBuilder) -> bool
self and other values to be equal, and is used
by ==.