/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Connect { namespace Model { /** *

Summary information about a contact evaluation.

See Also:

AWS * API Reference

*/ class EvaluationSummary { public: AWS_CONNECT_API EvaluationSummary(); AWS_CONNECT_API EvaluationSummary(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API EvaluationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A unique identifier for the contact evaluation.

*/ inline const Aws::String& GetEvaluationId() const{ return m_evaluationId; } /** *

A unique identifier for the contact evaluation.

*/ inline bool EvaluationIdHasBeenSet() const { return m_evaluationIdHasBeenSet; } /** *

A unique identifier for the contact evaluation.

*/ inline void SetEvaluationId(const Aws::String& value) { m_evaluationIdHasBeenSet = true; m_evaluationId = value; } /** *

A unique identifier for the contact evaluation.

*/ inline void SetEvaluationId(Aws::String&& value) { m_evaluationIdHasBeenSet = true; m_evaluationId = std::move(value); } /** *

A unique identifier for the contact evaluation.

*/ inline void SetEvaluationId(const char* value) { m_evaluationIdHasBeenSet = true; m_evaluationId.assign(value); } /** *

A unique identifier for the contact evaluation.

*/ inline EvaluationSummary& WithEvaluationId(const Aws::String& value) { SetEvaluationId(value); return *this;} /** *

A unique identifier for the contact evaluation.

*/ inline EvaluationSummary& WithEvaluationId(Aws::String&& value) { SetEvaluationId(std::move(value)); return *this;} /** *

A unique identifier for the contact evaluation.

*/ inline EvaluationSummary& WithEvaluationId(const char* value) { SetEvaluationId(value); return *this;} /** *

The Amazon Resource Name (ARN) for the contact evaluation resource.

*/ inline const Aws::String& GetEvaluationArn() const{ return m_evaluationArn; } /** *

The Amazon Resource Name (ARN) for the contact evaluation resource.

*/ inline bool EvaluationArnHasBeenSet() const { return m_evaluationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the contact evaluation resource.

*/ inline void SetEvaluationArn(const Aws::String& value) { m_evaluationArnHasBeenSet = true; m_evaluationArn = value; } /** *

The Amazon Resource Name (ARN) for the contact evaluation resource.

*/ inline void SetEvaluationArn(Aws::String&& value) { m_evaluationArnHasBeenSet = true; m_evaluationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the contact evaluation resource.

*/ inline void SetEvaluationArn(const char* value) { m_evaluationArnHasBeenSet = true; m_evaluationArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the contact evaluation resource.

*/ inline EvaluationSummary& WithEvaluationArn(const Aws::String& value) { SetEvaluationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the contact evaluation resource.

*/ inline EvaluationSummary& WithEvaluationArn(Aws::String&& value) { SetEvaluationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the contact evaluation resource.

*/ inline EvaluationSummary& WithEvaluationArn(const char* value) { SetEvaluationArn(value); return *this;} /** *

A title of the evaluation form.

*/ inline const Aws::String& GetEvaluationFormTitle() const{ return m_evaluationFormTitle; } /** *

A title of the evaluation form.

*/ inline bool EvaluationFormTitleHasBeenSet() const { return m_evaluationFormTitleHasBeenSet; } /** *

A title of the evaluation form.

*/ inline void SetEvaluationFormTitle(const Aws::String& value) { m_evaluationFormTitleHasBeenSet = true; m_evaluationFormTitle = value; } /** *

A title of the evaluation form.

*/ inline void SetEvaluationFormTitle(Aws::String&& value) { m_evaluationFormTitleHasBeenSet = true; m_evaluationFormTitle = std::move(value); } /** *

A title of the evaluation form.

*/ inline void SetEvaluationFormTitle(const char* value) { m_evaluationFormTitleHasBeenSet = true; m_evaluationFormTitle.assign(value); } /** *

A title of the evaluation form.

*/ inline EvaluationSummary& WithEvaluationFormTitle(const Aws::String& value) { SetEvaluationFormTitle(value); return *this;} /** *

A title of the evaluation form.

*/ inline EvaluationSummary& WithEvaluationFormTitle(Aws::String&& value) { SetEvaluationFormTitle(std::move(value)); return *this;} /** *

A title of the evaluation form.

*/ inline EvaluationSummary& WithEvaluationFormTitle(const char* value) { SetEvaluationFormTitle(value); return *this;} /** *

The unique identifier for the evaluation form.

*/ inline const Aws::String& GetEvaluationFormId() const{ return m_evaluationFormId; } /** *

The unique identifier for the evaluation form.

*/ inline bool EvaluationFormIdHasBeenSet() const { return m_evaluationFormIdHasBeenSet; } /** *

The unique identifier for the evaluation form.

*/ inline void SetEvaluationFormId(const Aws::String& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = value; } /** *

The unique identifier for the evaluation form.

*/ inline void SetEvaluationFormId(Aws::String&& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = std::move(value); } /** *

The unique identifier for the evaluation form.

*/ inline void SetEvaluationFormId(const char* value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId.assign(value); } /** *

The unique identifier for the evaluation form.

*/ inline EvaluationSummary& WithEvaluationFormId(const Aws::String& value) { SetEvaluationFormId(value); return *this;} /** *

The unique identifier for the evaluation form.

*/ inline EvaluationSummary& WithEvaluationFormId(Aws::String&& value) { SetEvaluationFormId(std::move(value)); return *this;} /** *

The unique identifier for the evaluation form.

*/ inline EvaluationSummary& WithEvaluationFormId(const char* value) { SetEvaluationFormId(value); return *this;} /** *

The status of the contact evaluation.

*/ inline const EvaluationStatus& GetStatus() const{ return m_status; } /** *

The status of the contact evaluation.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the contact evaluation.

*/ inline void SetStatus(const EvaluationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the contact evaluation.

*/ inline void SetStatus(EvaluationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the contact evaluation.

*/ inline EvaluationSummary& WithStatus(const EvaluationStatus& value) { SetStatus(value); return *this;} /** *

The status of the contact evaluation.

*/ inline EvaluationSummary& WithStatus(EvaluationStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the user who last updated the * evaluation.

*/ inline const Aws::String& GetEvaluatorArn() const{ return m_evaluatorArn; } /** *

The Amazon Resource Name (ARN) of the user who last updated the * evaluation.

*/ inline bool EvaluatorArnHasBeenSet() const { return m_evaluatorArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the user who last updated the * evaluation.

*/ inline void SetEvaluatorArn(const Aws::String& value) { m_evaluatorArnHasBeenSet = true; m_evaluatorArn = value; } /** *

The Amazon Resource Name (ARN) of the user who last updated the * evaluation.

*/ inline void SetEvaluatorArn(Aws::String&& value) { m_evaluatorArnHasBeenSet = true; m_evaluatorArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the user who last updated the * evaluation.

*/ inline void SetEvaluatorArn(const char* value) { m_evaluatorArnHasBeenSet = true; m_evaluatorArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the user who last updated the * evaluation.

*/ inline EvaluationSummary& WithEvaluatorArn(const Aws::String& value) { SetEvaluatorArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the user who last updated the * evaluation.

*/ inline EvaluationSummary& WithEvaluatorArn(Aws::String&& value) { SetEvaluatorArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the user who last updated the * evaluation.

*/ inline EvaluationSummary& WithEvaluatorArn(const char* value) { SetEvaluatorArn(value); return *this;} /** *

The overall score of the contact evaluation.

*/ inline const EvaluationScore& GetScore() const{ return m_score; } /** *

The overall score of the contact evaluation.

*/ inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; } /** *

The overall score of the contact evaluation.

*/ inline void SetScore(const EvaluationScore& value) { m_scoreHasBeenSet = true; m_score = value; } /** *

The overall score of the contact evaluation.

*/ inline void SetScore(EvaluationScore&& value) { m_scoreHasBeenSet = true; m_score = std::move(value); } /** *

The overall score of the contact evaluation.

*/ inline EvaluationSummary& WithScore(const EvaluationScore& value) { SetScore(value); return *this;} /** *

The overall score of the contact evaluation.

*/ inline EvaluationSummary& WithScore(EvaluationScore&& value) { SetScore(std::move(value)); return *this;} /** *

The timestamp for when the evaluation was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *

The timestamp for when the evaluation was created.

*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *

The timestamp for when the evaluation was created.

*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *

The timestamp for when the evaluation was created.

*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *

The timestamp for when the evaluation was created.

*/ inline EvaluationSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

The timestamp for when the evaluation was created.

*/ inline EvaluationSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The timestamp for when the evaluation was last updated.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

The timestamp for when the evaluation was last updated.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

The timestamp for when the evaluation was last updated.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *

The timestamp for when the evaluation was last updated.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *

The timestamp for when the evaluation was last updated.

*/ inline EvaluationSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

The timestamp for when the evaluation was last updated.

*/ inline EvaluationSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::String m_evaluationId; bool m_evaluationIdHasBeenSet = false; Aws::String m_evaluationArn; bool m_evaluationArnHasBeenSet = false; Aws::String m_evaluationFormTitle; bool m_evaluationFormTitleHasBeenSet = false; Aws::String m_evaluationFormId; bool m_evaluationFormIdHasBeenSet = false; EvaluationStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_evaluatorArn; bool m_evaluatorArnHasBeenSet = false; EvaluationScore m_score; bool m_scoreHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws