/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a single task template field.See Also:
AWS
* API Reference
The unique identifier for the field.
*/ inline const TaskTemplateFieldIdentifier& GetId() const{ return m_id; } /** *The unique identifier for the field.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique identifier for the field.
*/ inline void SetId(const TaskTemplateFieldIdentifier& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique identifier for the field.
*/ inline void SetId(TaskTemplateFieldIdentifier&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique identifier for the field.
*/ inline TaskTemplateField& WithId(const TaskTemplateFieldIdentifier& value) { SetId(value); return *this;} /** *The unique identifier for the field.
*/ inline TaskTemplateField& WithId(TaskTemplateFieldIdentifier&& value) { SetId(std::move(value)); return *this;} /** *The description of the field.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the field.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the field.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the field.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the field.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the field.
*/ inline TaskTemplateField& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the field.
*/ inline TaskTemplateField& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the field.
*/ inline TaskTemplateField& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Indicates the type of field.
*/ inline const TaskTemplateFieldType& GetType() const{ return m_type; } /** *Indicates the type of field.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Indicates the type of field.
*/ inline void SetType(const TaskTemplateFieldType& value) { m_typeHasBeenSet = true; m_type = value; } /** *Indicates the type of field.
*/ inline void SetType(TaskTemplateFieldType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Indicates the type of field.
*/ inline TaskTemplateField& WithType(const TaskTemplateFieldType& value) { SetType(value); return *this;} /** *Indicates the type of field.
*/ inline TaskTemplateField& WithType(TaskTemplateFieldType&& value) { SetType(std::move(value)); return *this;} /** *A list of options for a single select field.
*/ inline const Aws::VectorA list of options for a single select field.
*/ inline bool SingleSelectOptionsHasBeenSet() const { return m_singleSelectOptionsHasBeenSet; } /** *A list of options for a single select field.
*/ inline void SetSingleSelectOptions(const Aws::VectorA list of options for a single select field.
*/ inline void SetSingleSelectOptions(Aws::VectorA list of options for a single select field.
*/ inline TaskTemplateField& WithSingleSelectOptions(const Aws::VectorA list of options for a single select field.
*/ inline TaskTemplateField& WithSingleSelectOptions(Aws::VectorA list of options for a single select field.
*/ inline TaskTemplateField& AddSingleSelectOptions(const Aws::String& value) { m_singleSelectOptionsHasBeenSet = true; m_singleSelectOptions.push_back(value); return *this; } /** *A list of options for a single select field.
*/ inline TaskTemplateField& AddSingleSelectOptions(Aws::String&& value) { m_singleSelectOptionsHasBeenSet = true; m_singleSelectOptions.push_back(std::move(value)); return *this; } /** *A list of options for a single select field.
*/ inline TaskTemplateField& AddSingleSelectOptions(const char* value) { m_singleSelectOptionsHasBeenSet = true; m_singleSelectOptions.push_back(value); return *this; } private: TaskTemplateFieldIdentifier m_id; bool m_idHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; TaskTemplateFieldType m_type; bool m_typeHasBeenSet = false; Aws::Vector