/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 an evaluation form.

See Also:

AWS * API Reference

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

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

*/ inline const Aws::String& GetEvaluationFormArn() const{ return m_evaluationFormArn; } /** *

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

*/ inline bool EvaluationFormArnHasBeenSet() const { return m_evaluationFormArnHasBeenSet; } /** *

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

*/ inline void SetEvaluationFormArn(const Aws::String& value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn = value; } /** *

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

*/ inline void SetEvaluationFormArn(Aws::String&& value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn = std::move(value); } /** *

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

*/ inline void SetEvaluationFormArn(const char* value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn.assign(value); } /** *

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

*/ inline EvaluationFormVersionSummary& WithEvaluationFormArn(const Aws::String& value) { SetEvaluationFormArn(value); return *this;} /** *

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

*/ inline EvaluationFormVersionSummary& WithEvaluationFormArn(Aws::String&& value) { SetEvaluationFormArn(std::move(value)); return *this;} /** *

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

*/ inline EvaluationFormVersionSummary& WithEvaluationFormArn(const char* value) { SetEvaluationFormArn(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 EvaluationFormVersionSummary& WithEvaluationFormId(const Aws::String& value) { SetEvaluationFormId(value); return *this;} /** *

The unique identifier for the evaluation form.

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

The unique identifier for the evaluation form.

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

A version of the evaluation form.

*/ inline int GetEvaluationFormVersion() const{ return m_evaluationFormVersion; } /** *

A version of the evaluation form.

*/ inline bool EvaluationFormVersionHasBeenSet() const { return m_evaluationFormVersionHasBeenSet; } /** *

A version of the evaluation form.

*/ inline void SetEvaluationFormVersion(int value) { m_evaluationFormVersionHasBeenSet = true; m_evaluationFormVersion = value; } /** *

A version of the evaluation form.

*/ inline EvaluationFormVersionSummary& WithEvaluationFormVersion(int value) { SetEvaluationFormVersion(value); return *this;} /** *

The flag indicating whether the evaluation form is locked for changes.

*/ inline bool GetLocked() const{ return m_locked; } /** *

The flag indicating whether the evaluation form is locked for changes.

*/ inline bool LockedHasBeenSet() const { return m_lockedHasBeenSet; } /** *

The flag indicating whether the evaluation form is locked for changes.

*/ inline void SetLocked(bool value) { m_lockedHasBeenSet = true; m_locked = value; } /** *

The flag indicating whether the evaluation form is locked for changes.

*/ inline EvaluationFormVersionSummary& WithLocked(bool value) { SetLocked(value); return *this;} /** *

The status of the evaluation form.

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

The status of the evaluation form.

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

The status of the evaluation form.

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

The status of the evaluation form.

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

The status of the evaluation form.

*/ inline EvaluationFormVersionSummary& WithStatus(const EvaluationFormVersionStatus& value) { SetStatus(value); return *this;} /** *

The status of the evaluation form.

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

The timestamp for when the evaluation form was created.

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

The timestamp for when the evaluation form was created.

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

The timestamp for when the evaluation form was created.

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

The timestamp for when the evaluation form was created.

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

The timestamp for when the evaluation form was created.

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

The timestamp for when the evaluation form was created.

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

The Amazon Resource Name (ARN) of the user who created the evaluation * form.

*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *

The Amazon Resource Name (ARN) of the user who created the evaluation * form.

*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the user who created the evaluation * form.

*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *

The Amazon Resource Name (ARN) of the user who created the evaluation * form.

*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *

The Amazon Resource Name (ARN) of the user who created the evaluation * form.

*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *

The Amazon Resource Name (ARN) of the user who created the evaluation * form.

*/ inline EvaluationFormVersionSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *

The Amazon Resource Name (ARN) of the user who created the evaluation * form.

*/ inline EvaluationFormVersionSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the user who created the evaluation * form.

*/ inline EvaluationFormVersionSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *

The timestamp for when the evaluation form was last updated.

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

The timestamp for when the evaluation form was last updated.

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

The timestamp for when the evaluation form was last updated.

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

The timestamp for when the evaluation form was last updated.

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

The timestamp for when the evaluation form was last updated.

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

The timestamp for when the evaluation form was last updated.

*/ inline EvaluationFormVersionSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

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

*/ inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; } /** *

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

*/ inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; } /** *

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

*/ inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; } /** *

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

*/ inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); } /** *

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

*/ inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); } /** *

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

*/ inline EvaluationFormVersionSummary& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;} /** *

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

*/ inline EvaluationFormVersionSummary& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;} /** *

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

*/ inline EvaluationFormVersionSummary& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;} private: Aws::String m_evaluationFormArn; bool m_evaluationFormArnHasBeenSet = false; Aws::String m_evaluationFormId; bool m_evaluationFormIdHasBeenSet = false; int m_evaluationFormVersion; bool m_evaluationFormVersionHasBeenSet = false; bool m_locked; bool m_lockedHasBeenSet = false; EvaluationFormVersionStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::String m_createdBy; bool m_createdByHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; Aws::String m_lastModifiedBy; bool m_lastModifiedByHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws