/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an evaluation form used in a contact
* evaluation.See Also:
AWS
* API Reference
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 EvaluationFormContent& WithEvaluationFormVersion(int value) { SetEvaluationFormVersion(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 EvaluationFormContent& WithEvaluationFormId(const Aws::String& value) { SetEvaluationFormId(value); return *this;} /** *The unique identifier for the evaluation form.
*/ inline EvaluationFormContent& WithEvaluationFormId(Aws::String&& value) { SetEvaluationFormId(std::move(value)); return *this;} /** *The unique identifier for the evaluation form.
*/ inline EvaluationFormContent& WithEvaluationFormId(const char* value) { SetEvaluationFormId(value); return *this;} /** *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 EvaluationFormContent& WithEvaluationFormArn(const Aws::String& value) { SetEvaluationFormArn(value); return *this;} /** *The Amazon Resource Name (ARN) for the evaluation form resource.
*/ inline EvaluationFormContent& WithEvaluationFormArn(Aws::String&& value) { SetEvaluationFormArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) for the evaluation form resource.
*/ inline EvaluationFormContent& WithEvaluationFormArn(const char* value) { SetEvaluationFormArn(value); return *this;} /** *A title of the evaluation form.
*/ inline const Aws::String& GetTitle() const{ return m_title; } /** *A title of the evaluation form.
*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *A title of the evaluation form.
*/ inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } /** *A title of the evaluation form.
*/ inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *A title of the evaluation form.
*/ inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } /** *A title of the evaluation form.
*/ inline EvaluationFormContent& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *A title of the evaluation form.
*/ inline EvaluationFormContent& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} /** *A title of the evaluation form.
*/ inline EvaluationFormContent& WithTitle(const char* value) { SetTitle(value); return *this;} /** *The description of the evaluation form.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the evaluation form.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the evaluation form.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the evaluation form.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the evaluation form.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the evaluation form.
*/ inline EvaluationFormContent& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the evaluation form.
*/ inline EvaluationFormContent& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the evaluation form.
*/ inline EvaluationFormContent& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Items that are part of the evaluation form. The total number of sections and * questions must not exceed 100 each. Questions must be contained in a * section.
*/ inline const Aws::VectorItems that are part of the evaluation form. The total number of sections and * questions must not exceed 100 each. Questions must be contained in a * section.
*/ inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; } /** *Items that are part of the evaluation form. The total number of sections and * questions must not exceed 100 each. Questions must be contained in a * section.
*/ inline void SetItems(const Aws::VectorItems that are part of the evaluation form. The total number of sections and * questions must not exceed 100 each. Questions must be contained in a * section.
*/ inline void SetItems(Aws::VectorItems that are part of the evaluation form. The total number of sections and * questions must not exceed 100 each. Questions must be contained in a * section.
*/ inline EvaluationFormContent& WithItems(const Aws::VectorItems that are part of the evaluation form. The total number of sections and * questions must not exceed 100 each. Questions must be contained in a * section.
*/ inline EvaluationFormContent& WithItems(Aws::VectorItems that are part of the evaluation form. The total number of sections and * questions must not exceed 100 each. Questions must be contained in a * section.
*/ inline EvaluationFormContent& AddItems(const EvaluationFormItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *Items that are part of the evaluation form. The total number of sections and * questions must not exceed 100 each. Questions must be contained in a * section.
*/ inline EvaluationFormContent& AddItems(EvaluationFormItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; } /** *A scoring strategy of the evaluation form.
*/ inline const EvaluationFormScoringStrategy& GetScoringStrategy() const{ return m_scoringStrategy; } /** *A scoring strategy of the evaluation form.
*/ inline bool ScoringStrategyHasBeenSet() const { return m_scoringStrategyHasBeenSet; } /** *A scoring strategy of the evaluation form.
*/ inline void SetScoringStrategy(const EvaluationFormScoringStrategy& value) { m_scoringStrategyHasBeenSet = true; m_scoringStrategy = value; } /** *A scoring strategy of the evaluation form.
*/ inline void SetScoringStrategy(EvaluationFormScoringStrategy&& value) { m_scoringStrategyHasBeenSet = true; m_scoringStrategy = std::move(value); } /** *A scoring strategy of the evaluation form.
*/ inline EvaluationFormContent& WithScoringStrategy(const EvaluationFormScoringStrategy& value) { SetScoringStrategy(value); return *this;} /** *A scoring strategy of the evaluation form.
*/ inline EvaluationFormContent& WithScoringStrategy(EvaluationFormScoringStrategy&& value) { SetScoringStrategy(std::move(value)); return *this;} private: int m_evaluationFormVersion; bool m_evaluationFormVersionHasBeenSet = false; Aws::String m_evaluationFormId; bool m_evaluationFormIdHasBeenSet = false; Aws::String m_evaluationFormArn; bool m_evaluationFormArnHasBeenSet = false; Aws::String m_title; bool m_titleHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector