Struct aws_sdk_appsync::operation::evaluate_mapping_template::builders::EvaluateMappingTemplateOutputBuilder
source · #[non_exhaustive]pub struct EvaluateMappingTemplateOutputBuilder { /* private fields */ }
Expand description
A builder for EvaluateMappingTemplateOutput
.
Implementations§
source§impl EvaluateMappingTemplateOutputBuilder
impl EvaluateMappingTemplateOutputBuilder
sourcepub fn evaluation_result(self, input: impl Into<String>) -> Self
pub fn evaluation_result(self, input: impl Into<String>) -> Self
The mapping template; this can be a request or response template.
sourcepub fn set_evaluation_result(self, input: Option<String>) -> Self
pub fn set_evaluation_result(self, input: Option<String>) -> Self
The mapping template; this can be a request or response template.
sourcepub fn get_evaluation_result(&self) -> &Option<String>
pub fn get_evaluation_result(&self) -> &Option<String>
The mapping template; this can be a request or response template.
sourcepub fn error(self, input: ErrorDetail) -> Self
pub fn error(self, input: ErrorDetail) -> Self
The ErrorDetail
object.
sourcepub fn set_error(self, input: Option<ErrorDetail>) -> Self
pub fn set_error(self, input: Option<ErrorDetail>) -> Self
The ErrorDetail
object.
sourcepub fn get_error(&self) -> &Option<ErrorDetail>
pub fn get_error(&self) -> &Option<ErrorDetail>
The ErrorDetail
object.
sourcepub fn logs(self, input: impl Into<String>) -> Self
pub fn logs(self, input: impl Into<String>) -> Self
Appends an item to logs
.
To override the contents of this collection use set_logs
.
A list of logs that were generated by calls to util.log.info
and util.log.error
in the evaluated code.
sourcepub fn set_logs(self, input: Option<Vec<String>>) -> Self
pub fn set_logs(self, input: Option<Vec<String>>) -> Self
A list of logs that were generated by calls to util.log.info
and util.log.error
in the evaluated code.
sourcepub fn get_logs(&self) -> &Option<Vec<String>>
pub fn get_logs(&self) -> &Option<Vec<String>>
A list of logs that were generated by calls to util.log.info
and util.log.error
in the evaluated code.
sourcepub fn build(self) -> EvaluateMappingTemplateOutput
pub fn build(self) -> EvaluateMappingTemplateOutput
Consumes the builder and constructs a EvaluateMappingTemplateOutput
.
Trait Implementations§
source§impl Clone for EvaluateMappingTemplateOutputBuilder
impl Clone for EvaluateMappingTemplateOutputBuilder
source§fn clone(&self) -> EvaluateMappingTemplateOutputBuilder
fn clone(&self) -> EvaluateMappingTemplateOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EvaluateMappingTemplateOutputBuilder
impl Default for EvaluateMappingTemplateOutputBuilder
source§fn default() -> EvaluateMappingTemplateOutputBuilder
fn default() -> EvaluateMappingTemplateOutputBuilder
source§impl PartialEq for EvaluateMappingTemplateOutputBuilder
impl PartialEq for EvaluateMappingTemplateOutputBuilder
source§fn eq(&self, other: &EvaluateMappingTemplateOutputBuilder) -> bool
fn eq(&self, other: &EvaluateMappingTemplateOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EvaluateMappingTemplateOutputBuilder
Auto Trait Implementations§
impl Freeze for EvaluateMappingTemplateOutputBuilder
impl RefUnwindSafe for EvaluateMappingTemplateOutputBuilder
impl Send for EvaluateMappingTemplateOutputBuilder
impl Sync for EvaluateMappingTemplateOutputBuilder
impl Unpin for EvaluateMappingTemplateOutputBuilder
impl UnwindSafe for EvaluateMappingTemplateOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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