Struct aws_sdk_connect::operation::submit_contact_evaluation::builders::SubmitContactEvaluationInputBuilder
source · #[non_exhaustive]pub struct SubmitContactEvaluationInputBuilder { /* private fields */ }
Expand description
A builder for SubmitContactEvaluationInput
.
Implementations§
source§impl SubmitContactEvaluationInputBuilder
impl SubmitContactEvaluationInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
This field is required.sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn evaluation_id(self, input: impl Into<String>) -> Self
pub fn evaluation_id(self, input: impl Into<String>) -> Self
A unique identifier for the contact evaluation.
This field is required.sourcepub fn set_evaluation_id(self, input: Option<String>) -> Self
pub fn set_evaluation_id(self, input: Option<String>) -> Self
A unique identifier for the contact evaluation.
sourcepub fn get_evaluation_id(&self) -> &Option<String>
pub fn get_evaluation_id(&self) -> &Option<String>
A unique identifier for the contact evaluation.
sourcepub fn answers(self, k: impl Into<String>, v: EvaluationAnswerInput) -> Self
pub fn answers(self, k: impl Into<String>, v: EvaluationAnswerInput) -> Self
Adds a key-value pair to answers
.
To override the contents of this collection use set_answers
.
A map of question identifiers to answer value.
sourcepub fn set_answers(
self,
input: Option<HashMap<String, EvaluationAnswerInput>>
) -> Self
pub fn set_answers( self, input: Option<HashMap<String, EvaluationAnswerInput>> ) -> Self
A map of question identifiers to answer value.
sourcepub fn get_answers(&self) -> &Option<HashMap<String, EvaluationAnswerInput>>
pub fn get_answers(&self) -> &Option<HashMap<String, EvaluationAnswerInput>>
A map of question identifiers to answer value.
sourcepub fn notes(self, k: impl Into<String>, v: EvaluationNote) -> Self
pub fn notes(self, k: impl Into<String>, v: EvaluationNote) -> Self
Adds a key-value pair to notes
.
To override the contents of this collection use set_notes
.
A map of question identifiers to note value.
sourcepub fn set_notes(self, input: Option<HashMap<String, EvaluationNote>>) -> Self
pub fn set_notes(self, input: Option<HashMap<String, EvaluationNote>>) -> Self
A map of question identifiers to note value.
sourcepub fn get_notes(&self) -> &Option<HashMap<String, EvaluationNote>>
pub fn get_notes(&self) -> &Option<HashMap<String, EvaluationNote>>
A map of question identifiers to note value.
sourcepub fn build(self) -> Result<SubmitContactEvaluationInput, BuildError>
pub fn build(self) -> Result<SubmitContactEvaluationInput, BuildError>
Consumes the builder and constructs a SubmitContactEvaluationInput
.
source§impl SubmitContactEvaluationInputBuilder
impl SubmitContactEvaluationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SubmitContactEvaluationOutput, SdkError<SubmitContactEvaluationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SubmitContactEvaluationOutput, SdkError<SubmitContactEvaluationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SubmitContactEvaluationInputBuilder
impl Clone for SubmitContactEvaluationInputBuilder
source§fn clone(&self) -> SubmitContactEvaluationInputBuilder
fn clone(&self) -> SubmitContactEvaluationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SubmitContactEvaluationInputBuilder
impl Default for SubmitContactEvaluationInputBuilder
source§fn default() -> SubmitContactEvaluationInputBuilder
fn default() -> SubmitContactEvaluationInputBuilder
source§impl PartialEq for SubmitContactEvaluationInputBuilder
impl PartialEq for SubmitContactEvaluationInputBuilder
source§fn eq(&self, other: &SubmitContactEvaluationInputBuilder) -> bool
fn eq(&self, other: &SubmitContactEvaluationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.