7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/TaskTemplateFieldIdentifier.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/TaskTemplateFieldType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
49 template<
typename IdT = TaskTemplateFieldIdentifier>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = TaskTemplateFieldIdentifier>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
83 template<
typename SingleSelectOptionsT = Aws::Vector<Aws::String>>
84 void SetSingleSelectOptions(SingleSelectOptionsT&& value) { m_singleSelectOptionsHasBeenSet =
true; m_singleSelectOptions = std::forward<SingleSelectOptionsT>(value); }
85 template<
typename SingleSelectOptionsT = Aws::Vector<Aws::String>>
87 template<
typename SingleSelectOptionsT = Aws::String>
88 TaskTemplateField&
AddSingleSelectOptions(SingleSelectOptionsT&& value) { m_singleSelectOptionsHasBeenSet =
true; m_singleSelectOptions.emplace_back(std::forward<SingleSelectOptionsT>(value));
return *
this; }
93 bool m_idHasBeenSet =
false;
96 bool m_descriptionHasBeenSet =
false;
99 bool m_typeHasBeenSet =
false;
102 bool m_singleSelectOptionsHasBeenSet =
false;
AWS_CONNECT_API TaskTemplateField(Aws::Utils::Json::JsonView jsonValue)
TaskTemplateField & AddSingleSelectOptions(SingleSelectOptionsT &&value)
const Aws::String & GetDescription() const
AWS_CONNECT_API TaskTemplateField & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(TaskTemplateFieldType value)
const TaskTemplateFieldIdentifier & GetId() const
bool IdHasBeenSet() const
TaskTemplateField & WithType(TaskTemplateFieldType value)
const Aws::Vector< Aws::String > & GetSingleSelectOptions() const
TaskTemplateField & WithDescription(DescriptionT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
TaskTemplateFieldType GetType() const
TaskTemplateField & WithSingleSelectOptions(SingleSelectOptionsT &&value)
bool SingleSelectOptionsHasBeenSet() const
bool TypeHasBeenSet() const
bool DescriptionHasBeenSet() const
AWS_CONNECT_API TaskTemplateField()=default
void SetDescription(DescriptionT &&value)
TaskTemplateField & WithId(IdT &&value)
void SetSingleSelectOptions(SingleSelectOptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue