Struct aws_sdk_connect::types::builders::EvaluationSummaryBuilder
source · #[non_exhaustive]pub struct EvaluationSummaryBuilder { /* private fields */ }
Expand description
A builder for EvaluationSummary
.
Implementations§
source§impl EvaluationSummaryBuilder
impl EvaluationSummaryBuilder
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 evaluation_arn(self, input: impl Into<String>) -> Self
pub fn evaluation_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the contact evaluation resource.
This field is required.sourcepub fn set_evaluation_arn(self, input: Option<String>) -> Self
pub fn set_evaluation_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the contact evaluation resource.
sourcepub fn get_evaluation_arn(&self) -> &Option<String>
pub fn get_evaluation_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the contact evaluation resource.
sourcepub fn evaluation_form_title(self, input: impl Into<String>) -> Self
pub fn evaluation_form_title(self, input: impl Into<String>) -> Self
A title of the evaluation form.
This field is required.sourcepub fn set_evaluation_form_title(self, input: Option<String>) -> Self
pub fn set_evaluation_form_title(self, input: Option<String>) -> Self
A title of the evaluation form.
sourcepub fn get_evaluation_form_title(&self) -> &Option<String>
pub fn get_evaluation_form_title(&self) -> &Option<String>
A title of the evaluation form.
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 status(self, input: EvaluationStatus) -> Self
pub fn status(self, input: EvaluationStatus) -> Self
The status of the contact evaluation.
This field is required.sourcepub fn set_status(self, input: Option<EvaluationStatus>) -> Self
pub fn set_status(self, input: Option<EvaluationStatus>) -> Self
The status of the contact evaluation.
sourcepub fn get_status(&self) -> &Option<EvaluationStatus>
pub fn get_status(&self) -> &Option<EvaluationStatus>
The status of the contact evaluation.
sourcepub fn evaluator_arn(self, input: impl Into<String>) -> Self
pub fn evaluator_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the user who last updated the evaluation.
This field is required.sourcepub fn set_evaluator_arn(self, input: Option<String>) -> Self
pub fn set_evaluator_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the user who last updated the evaluation.
sourcepub fn get_evaluator_arn(&self) -> &Option<String>
pub fn get_evaluator_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the user who last updated the evaluation.
sourcepub fn score(self, input: EvaluationScore) -> Self
pub fn score(self, input: EvaluationScore) -> Self
The overall score of the contact evaluation.
sourcepub fn set_score(self, input: Option<EvaluationScore>) -> Self
pub fn set_score(self, input: Option<EvaluationScore>) -> Self
The overall score of the contact evaluation.
sourcepub fn get_score(&self) -> &Option<EvaluationScore>
pub fn get_score(&self) -> &Option<EvaluationScore>
The overall score of the contact evaluation.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The timestamp for when the evaluation was created.
This field is required.sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The timestamp for when the evaluation was created.
sourcepub fn get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
The timestamp for when the evaluation was created.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The timestamp for when the evaluation was last updated.
This field is required.sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The timestamp for when the evaluation was last updated.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
The timestamp for when the evaluation was last updated.
sourcepub fn build(self) -> Result<EvaluationSummary, BuildError>
pub fn build(self) -> Result<EvaluationSummary, BuildError>
Consumes the builder and constructs a EvaluationSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EvaluationSummaryBuilder
impl Clone for EvaluationSummaryBuilder
source§fn clone(&self) -> EvaluationSummaryBuilder
fn clone(&self) -> EvaluationSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EvaluationSummaryBuilder
impl Debug for EvaluationSummaryBuilder
source§impl Default for EvaluationSummaryBuilder
impl Default for EvaluationSummaryBuilder
source§fn default() -> EvaluationSummaryBuilder
fn default() -> EvaluationSummaryBuilder
source§impl PartialEq for EvaluationSummaryBuilder
impl PartialEq for EvaluationSummaryBuilder
source§fn eq(&self, other: &EvaluationSummaryBuilder) -> bool
fn eq(&self, other: &EvaluationSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.