Struct aws_sdk_connect::operation::update_contact_evaluation::builders::UpdateContactEvaluationFluentBuilder
source · pub struct UpdateContactEvaluationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateContactEvaluation
.
Updates details about a contact evaluation in the specified Amazon Connect instance. A contact evaluation must be in draft state. Answers included in the request are merged with existing answers for the given evaluation. An answer or note can be deleted by passing an empty object ({}
) to the question identifier.
Implementations§
source§impl UpdateContactEvaluationFluentBuilder
impl UpdateContactEvaluationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateContactEvaluationInputBuilder
pub fn as_input(&self) -> &UpdateContactEvaluationInputBuilder
Access the UpdateContactEvaluation as a reference.
sourcepub async fn send(
self
) -> Result<UpdateContactEvaluationOutput, SdkError<UpdateContactEvaluationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateContactEvaluationOutput, SdkError<UpdateContactEvaluationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateContactEvaluationOutput, UpdateContactEvaluationError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateContactEvaluationOutput, UpdateContactEvaluationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
Trait Implementations§
source§impl Clone for UpdateContactEvaluationFluentBuilder
impl Clone for UpdateContactEvaluationFluentBuilder
source§fn clone(&self) -> UpdateContactEvaluationFluentBuilder
fn clone(&self) -> UpdateContactEvaluationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more