/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a section from an evaluation form. A section can contain
* sections and/or questions. Evaluation forms can only contain sections and
* subsections (two level nesting).See Also:
AWS
* API Reference
The title of the section.
*/ inline const Aws::String& GetTitle() const{ return m_title; } /** *The title of the section.
*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *The title of the section.
*/ inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } /** *The title of the section.
*/ inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *The title of the section.
*/ inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } /** *The title of the section.
*/ inline EvaluationFormSection& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *The title of the section.
*/ inline EvaluationFormSection& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} /** *The title of the section.
*/ inline EvaluationFormSection& WithTitle(const char* value) { SetTitle(value); return *this;} /** *The identifier of the section. An identifier must be unique within the * evaluation form.
*/ inline const Aws::String& GetRefId() const{ return m_refId; } /** *The identifier of the section. An identifier must be unique within the * evaluation form.
*/ inline bool RefIdHasBeenSet() const { return m_refIdHasBeenSet; } /** *The identifier of the section. An identifier must be unique within the * evaluation form.
*/ inline void SetRefId(const Aws::String& value) { m_refIdHasBeenSet = true; m_refId = value; } /** *The identifier of the section. An identifier must be unique within the * evaluation form.
*/ inline void SetRefId(Aws::String&& value) { m_refIdHasBeenSet = true; m_refId = std::move(value); } /** *The identifier of the section. An identifier must be unique within the * evaluation form.
*/ inline void SetRefId(const char* value) { m_refIdHasBeenSet = true; m_refId.assign(value); } /** *The identifier of the section. An identifier must be unique within the * evaluation form.
*/ inline EvaluationFormSection& WithRefId(const Aws::String& value) { SetRefId(value); return *this;} /** *The identifier of the section. An identifier must be unique within the * evaluation form.
*/ inline EvaluationFormSection& WithRefId(Aws::String&& value) { SetRefId(std::move(value)); return *this;} /** *The identifier of the section. An identifier must be unique within the * evaluation form.
*/ inline EvaluationFormSection& WithRefId(const char* value) { SetRefId(value); return *this;} /** *The instructions of the section.
*/ inline const Aws::String& GetInstructions() const{ return m_instructions; } /** *The instructions of the section.
*/ inline bool InstructionsHasBeenSet() const { return m_instructionsHasBeenSet; } /** *The instructions of the section.
*/ inline void SetInstructions(const Aws::String& value) { m_instructionsHasBeenSet = true; m_instructions = value; } /** *The instructions of the section.
*/ inline void SetInstructions(Aws::String&& value) { m_instructionsHasBeenSet = true; m_instructions = std::move(value); } /** *The instructions of the section.
*/ inline void SetInstructions(const char* value) { m_instructionsHasBeenSet = true; m_instructions.assign(value); } /** *The instructions of the section.
*/ inline EvaluationFormSection& WithInstructions(const Aws::String& value) { SetInstructions(value); return *this;} /** *The instructions of the section.
*/ inline EvaluationFormSection& WithInstructions(Aws::String&& value) { SetInstructions(std::move(value)); return *this;} /** *The instructions of the section.
*/ inline EvaluationFormSection& WithInstructions(const char* value) { SetInstructions(value); return *this;} /** *The items of the section.
*/ inline const Aws::VectorThe items of the section.
*/ inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; } /** *The items of the section.
*/ inline void SetItems(const Aws::VectorThe items of the section.
*/ inline void SetItems(Aws::VectorThe items of the section.
*/ inline EvaluationFormSection& WithItems(const Aws::VectorThe items of the section.
*/ inline EvaluationFormSection& WithItems(Aws::VectorThe items of the section.
*/ inline EvaluationFormSection& AddItems(const EvaluationFormItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *The items of the section.
*/ inline EvaluationFormSection& AddItems(EvaluationFormItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; } /** *The scoring weight of the section.
*/ inline double GetWeight() const{ return m_weight; } /** *The scoring weight of the section.
*/ inline bool WeightHasBeenSet() const { return m_weightHasBeenSet; } /** *The scoring weight of the section.
*/ inline void SetWeight(double value) { m_weightHasBeenSet = true; m_weight = value; } /** *The scoring weight of the section.
*/ inline EvaluationFormSection& WithWeight(double value) { SetWeight(value); return *this;} private: Aws::String m_title; bool m_titleHasBeenSet = false; Aws::String m_refId; bool m_refIdHasBeenSet = false; Aws::String m_instructions; bool m_instructionsHasBeenSet = false; Aws::Vector