Struct aws_sdk_connect::operation::deactivate_evaluation_form::builders::DeactivateEvaluationFormFluentBuilder
source · pub struct DeactivateEvaluationFormFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeactivateEvaluationForm
.
Deactivates an evaluation form in the specified Amazon Connect instance. After a form is deactivated, it is no longer available for users to start new evaluations based on the form.
Implementations§
source§impl DeactivateEvaluationFormFluentBuilder
impl DeactivateEvaluationFormFluentBuilder
sourcepub fn as_input(&self) -> &DeactivateEvaluationFormInputBuilder
pub fn as_input(&self) -> &DeactivateEvaluationFormInputBuilder
Access the DeactivateEvaluationForm as a reference.
sourcepub async fn send(
self
) -> Result<DeactivateEvaluationFormOutput, SdkError<DeactivateEvaluationFormError, HttpResponse>>
pub async fn send( self ) -> Result<DeactivateEvaluationFormOutput, SdkError<DeactivateEvaluationFormError, 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 async fn customize(
self
) -> Result<CustomizableOperation<DeactivateEvaluationFormOutput, DeactivateEvaluationFormError, Self>, SdkError<DeactivateEvaluationFormError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DeactivateEvaluationFormOutput, DeactivateEvaluationFormError, Self>, SdkError<DeactivateEvaluationFormError>>
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. If the version property is not provided, the latest version of the evaluation form is deactivated.
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. If the version property is not provided, the latest version of the evaluation form is deactivated.
sourcepub fn get_evaluation_form_version(&self) -> &Option<i32>
pub fn get_evaluation_form_version(&self) -> &Option<i32>
A version of the evaluation form. If the version property is not provided, the latest version of the evaluation form is deactivated.
Trait Implementations§
source§impl Clone for DeactivateEvaluationFormFluentBuilder
impl Clone for DeactivateEvaluationFormFluentBuilder
source§fn clone(&self) -> DeactivateEvaluationFormFluentBuilder
fn clone(&self) -> DeactivateEvaluationFormFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more