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