Struct aws_sdk_connect::operation::update_evaluation_form::builders::UpdateEvaluationFormFluentBuilder
source · pub struct UpdateEvaluationFormFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateEvaluationForm
.
Updates details about a specific evaluation form version in the specified Amazon Connect instance. Question and section identifiers cannot be duplicated within the same evaluation form.
This operation does not support partial updates. Instead it does a full update of evaluation form content.
Implementations§
source§impl UpdateEvaluationFormFluentBuilder
impl UpdateEvaluationFormFluentBuilder
sourcepub fn as_input(&self) -> &UpdateEvaluationFormInputBuilder
pub fn as_input(&self) -> &UpdateEvaluationFormInputBuilder
Access the UpdateEvaluationForm as a reference.
sourcepub async fn send(
self
) -> Result<UpdateEvaluationFormOutput, SdkError<UpdateEvaluationFormError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateEvaluationFormOutput, SdkError<UpdateEvaluationFormError, 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<UpdateEvaluationFormOutput, UpdateEvaluationFormError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateEvaluationFormOutput, UpdateEvaluationFormError, 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_form_id(self, input: impl Into<String>) -> Self
pub fn evaluation_form_id(self, input: impl Into<String>) -> Self
The unique identifier for the evaluation form.
sourcepub fn set_evaluation_form_id(self, input: Option<String>) -> Self
pub fn set_evaluation_form_id(self, input: Option<String>) -> Self
The unique identifier for the evaluation form.
sourcepub fn get_evaluation_form_id(&self) -> &Option<String>
pub fn get_evaluation_form_id(&self) -> &Option<String>
The unique identifier for the evaluation form.
sourcepub fn evaluation_form_version(self, input: i32) -> Self
pub fn evaluation_form_version(self, input: i32) -> Self
A version of the evaluation form to update.
sourcepub fn set_evaluation_form_version(self, input: Option<i32>) -> Self
pub fn set_evaluation_form_version(self, input: Option<i32>) -> Self
A version of the evaluation form to update.
sourcepub fn get_evaluation_form_version(&self) -> &Option<i32>
pub fn get_evaluation_form_version(&self) -> &Option<i32>
A version of the evaluation form to update.
sourcepub fn create_new_version(self, input: bool) -> Self
pub fn create_new_version(self, input: bool) -> Self
A flag indicating whether the operation must create a new version.
sourcepub fn set_create_new_version(self, input: Option<bool>) -> Self
pub fn set_create_new_version(self, input: Option<bool>) -> Self
A flag indicating whether the operation must create a new version.
sourcepub fn get_create_new_version(&self) -> &Option<bool>
pub fn get_create_new_version(&self) -> &Option<bool>
A flag indicating whether the operation must create a new version.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the evaluation form.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the evaluation form.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the evaluation form.
sourcepub fn items(self, input: EvaluationFormItem) -> Self
pub fn items(self, input: EvaluationFormItem) -> Self
Appends an item to Items
.
To override the contents of this collection use set_items
.
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
sourcepub fn set_items(self, input: Option<Vec<EvaluationFormItem>>) -> Self
pub fn set_items(self, input: Option<Vec<EvaluationFormItem>>) -> Self
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
sourcepub fn get_items(&self) -> &Option<Vec<EvaluationFormItem>>
pub fn get_items(&self) -> &Option<Vec<EvaluationFormItem>>
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
sourcepub fn scoring_strategy(self, input: EvaluationFormScoringStrategy) -> Self
pub fn scoring_strategy(self, input: EvaluationFormScoringStrategy) -> Self
A scoring strategy of the evaluation form.
sourcepub fn set_scoring_strategy(
self,
input: Option<EvaluationFormScoringStrategy>
) -> Self
pub fn set_scoring_strategy( self, input: Option<EvaluationFormScoringStrategy> ) -> Self
A scoring strategy of the evaluation form.
sourcepub fn get_scoring_strategy(&self) -> &Option<EvaluationFormScoringStrategy>
pub fn get_scoring_strategy(&self) -> &Option<EvaluationFormScoringStrategy>
A scoring strategy of the evaluation form.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Trait Implementations§
source§impl Clone for UpdateEvaluationFormFluentBuilder
impl Clone for UpdateEvaluationFormFluentBuilder
source§fn clone(&self) -> UpdateEvaluationFormFluentBuilder
fn clone(&self) -> UpdateEvaluationFormFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more