#[non_exhaustive]pub struct CreateTemplateMessageBodyBuilder { /* private fields */ }
Expand description
A builder for CreateTemplateMessageBody
.
Implementations§
source§impl CreateTemplateMessageBodyBuilder
impl CreateTemplateMessageBodyBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the message template that was created.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the message template that was created.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the message template that was created.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
The message that's returned from the API for the request to create the message template.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The message that's returned from the API for the request to create the message template.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
The message that's returned from the API for the request to create the message template.
sourcepub fn request_id(self, input: impl Into<String>) -> Self
pub fn request_id(self, input: impl Into<String>) -> Self
The unique identifier for the request to create the message template.
sourcepub fn set_request_id(self, input: Option<String>) -> Self
pub fn set_request_id(self, input: Option<String>) -> Self
The unique identifier for the request to create the message template.
sourcepub fn get_request_id(&self) -> &Option<String>
pub fn get_request_id(&self) -> &Option<String>
The unique identifier for the request to create the message template.
sourcepub fn build(self) -> CreateTemplateMessageBody
pub fn build(self) -> CreateTemplateMessageBody
Consumes the builder and constructs a CreateTemplateMessageBody
.
Trait Implementations§
source§impl Clone for CreateTemplateMessageBodyBuilder
impl Clone for CreateTemplateMessageBodyBuilder
source§fn clone(&self) -> CreateTemplateMessageBodyBuilder
fn clone(&self) -> CreateTemplateMessageBodyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateTemplateMessageBodyBuilder
impl Default for CreateTemplateMessageBodyBuilder
source§fn default() -> CreateTemplateMessageBodyBuilder
fn default() -> CreateTemplateMessageBodyBuilder
source§impl PartialEq for CreateTemplateMessageBodyBuilder
impl PartialEq for CreateTemplateMessageBodyBuilder
source§fn eq(&self, other: &CreateTemplateMessageBodyBuilder) -> bool
fn eq(&self, other: &CreateTemplateMessageBodyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTemplateMessageBodyBuilder
Auto Trait Implementations§
impl Freeze for CreateTemplateMessageBodyBuilder
impl RefUnwindSafe for CreateTemplateMessageBodyBuilder
impl Send for CreateTemplateMessageBodyBuilder
impl Sync for CreateTemplateMessageBodyBuilder
impl Unpin for CreateTemplateMessageBodyBuilder
impl UnwindSafe for CreateTemplateMessageBodyBuilder
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