Struct aws_sdk_appsync::operation::evaluate_mapping_template::builders::EvaluateMappingTemplateInputBuilder
source · #[non_exhaustive]pub struct EvaluateMappingTemplateInputBuilder { /* private fields */ }
Expand description
A builder for EvaluateMappingTemplateInput
.
Implementations§
source§impl EvaluateMappingTemplateInputBuilder
impl EvaluateMappingTemplateInputBuilder
sourcepub fn template(self, input: impl Into<String>) -> Self
pub fn template(self, input: impl Into<String>) -> Self
The mapping template; this can be a request or response template. A template
is required for this action.
sourcepub fn set_template(self, input: Option<String>) -> Self
pub fn set_template(self, input: Option<String>) -> Self
The mapping template; this can be a request or response template. A template
is required for this action.
sourcepub fn get_template(&self) -> &Option<String>
pub fn get_template(&self) -> &Option<String>
The mapping template; this can be a request or response template. A template
is required for this action.
sourcepub fn context(self, input: impl Into<String>) -> Self
pub fn context(self, input: impl Into<String>) -> Self
The map that holds all of the contextual information for your resolver invocation. A context
is required for this action.
sourcepub fn set_context(self, input: Option<String>) -> Self
pub fn set_context(self, input: Option<String>) -> Self
The map that holds all of the contextual information for your resolver invocation. A context
is required for this action.
sourcepub fn get_context(&self) -> &Option<String>
pub fn get_context(&self) -> &Option<String>
The map that holds all of the contextual information for your resolver invocation. A context
is required for this action.
sourcepub fn build(self) -> Result<EvaluateMappingTemplateInput, BuildError>
pub fn build(self) -> Result<EvaluateMappingTemplateInput, BuildError>
Consumes the builder and constructs a EvaluateMappingTemplateInput
.
source§impl EvaluateMappingTemplateInputBuilder
impl EvaluateMappingTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<EvaluateMappingTemplateOutput, SdkError<EvaluateMappingTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<EvaluateMappingTemplateOutput, SdkError<EvaluateMappingTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for EvaluateMappingTemplateInputBuilder
impl Clone for EvaluateMappingTemplateInputBuilder
source§fn clone(&self) -> EvaluateMappingTemplateInputBuilder
fn clone(&self) -> EvaluateMappingTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EvaluateMappingTemplateInputBuilder
impl Default for EvaluateMappingTemplateInputBuilder
source§fn default() -> EvaluateMappingTemplateInputBuilder
fn default() -> EvaluateMappingTemplateInputBuilder
source§impl PartialEq for EvaluateMappingTemplateInputBuilder
impl PartialEq for EvaluateMappingTemplateInputBuilder
source§fn eq(&self, other: &EvaluateMappingTemplateInputBuilder) -> bool
fn eq(&self, other: &EvaluateMappingTemplateInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluateMappingTemplateInputBuilder
Auto Trait Implementations§
impl Freeze for EvaluateMappingTemplateInputBuilder
impl RefUnwindSafe for EvaluateMappingTemplateInputBuilder
impl Send for EvaluateMappingTemplateInputBuilder
impl Sync for EvaluateMappingTemplateInputBuilder
impl Unpin for EvaluateMappingTemplateInputBuilder
impl UnwindSafe for EvaluateMappingTemplateInputBuilder
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