Struct aws_sdk_connect::operation::deactivate_evaluation_form::builders::DeactivateEvaluationFormInputBuilder
source · #[non_exhaustive]pub struct DeactivateEvaluationFormInputBuilder { /* private fields */ }
Expand description
A builder for DeactivateEvaluationFormInput
.
Implementations§
source§impl DeactivateEvaluationFormInputBuilder
impl DeactivateEvaluationFormInputBuilder
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_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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<DeactivateEvaluationFormInput, BuildError>
pub fn build(self) -> Result<DeactivateEvaluationFormInput, BuildError>
Consumes the builder and constructs a DeactivateEvaluationFormInput
.
source§impl DeactivateEvaluationFormInputBuilder
impl DeactivateEvaluationFormInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeactivateEvaluationFormOutput, SdkError<DeactivateEvaluationFormError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeactivateEvaluationFormOutput, SdkError<DeactivateEvaluationFormError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeactivateEvaluationFormInputBuilder
impl Clone for DeactivateEvaluationFormInputBuilder
source§fn clone(&self) -> DeactivateEvaluationFormInputBuilder
fn clone(&self) -> DeactivateEvaluationFormInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeactivateEvaluationFormInputBuilder
impl Default for DeactivateEvaluationFormInputBuilder
source§fn default() -> DeactivateEvaluationFormInputBuilder
fn default() -> DeactivateEvaluationFormInputBuilder
source§impl PartialEq for DeactivateEvaluationFormInputBuilder
impl PartialEq for DeactivateEvaluationFormInputBuilder
source§fn eq(&self, other: &DeactivateEvaluationFormInputBuilder) -> bool
fn eq(&self, other: &DeactivateEvaluationFormInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.