7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifyuibuilder/model/FormDataTypeConfig.h>
10#include <aws/amplifyuibuilder/model/FormActionType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/amplifyuibuilder/model/FormStyle.h>
13#include <aws/amplifyuibuilder/model/FormCTA.h>
14#include <aws/amplifyuibuilder/model/LabelDecorator.h>
15#include <aws/amplifyuibuilder/model/FieldConfig.h>
16#include <aws/amplifyuibuilder/model/SectionalElement.h>
29namespace AmplifyUIBuilder
55 template<
typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
57 template<
typename NameT = Aws::String>
67 template<
typename DataTypeT = FormDataTypeConfig>
68 void SetDataType(DataTypeT&& value) { m_dataTypeHasBeenSet =
true; m_dataType = std::forward<DataTypeT>(value); }
69 template<
typename DataTypeT = FormDataTypeConfig>
89 template<
typename FieldsT = Aws::Map<Aws::String, FieldConfig>>
90 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet =
true; m_fields = std::forward<FieldsT>(value); }
91 template<
typename FieldsT = Aws::Map<Aws::String, FieldConfig>>
93 template<
typename FieldsKeyT = Aws::String,
typename FieldsValueT = FieldConfig>
95 m_fieldsHasBeenSet =
true; m_fields.emplace(std::forward<FieldsKeyT>(key), std::forward<FieldsValueT>(value));
return *
this;
105 template<
typename StyleT = FormStyle>
106 void SetStyle(StyleT&& value) { m_styleHasBeenSet =
true; m_style = std::forward<StyleT>(value); }
107 template<
typename StyleT = FormStyle>
118 template<
typename SectionalElementsT = Aws::Map<Aws::String, SectionalElement>>
119 void SetSectionalElements(SectionalElementsT&& value) { m_sectionalElementsHasBeenSet =
true; m_sectionalElements = std::forward<SectionalElementsT>(value); }
120 template<
typename SectionalElementsT = Aws::Map<Aws::String, SectionalElement>>
122 template<
typename SectionalElementsKeyT = Aws::String,
typename SectionalElementsValueT = SectionalElement>
124 m_sectionalElementsHasBeenSet =
true; m_sectionalElements.emplace(std::forward<SectionalElementsKeyT>(key), std::forward<SectionalElementsValueT>(value));
return *
this;
134 template<
typename SchemaVersionT = Aws::String>
135 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
136 template<
typename SchemaVersionT = Aws::String>
147 template<
typename CtaT = FormCTA>
148 void SetCta(CtaT&& value) { m_ctaHasBeenSet =
true; m_cta = std::forward<CtaT>(value); }
149 template<
typename CtaT = FormCTA>
165 bool m_nameHasBeenSet =
false;
168 bool m_dataTypeHasBeenSet =
false;
171 bool m_formActionTypeHasBeenSet =
false;
174 bool m_fieldsHasBeenSet =
false;
177 bool m_styleHasBeenSet =
false;
180 bool m_sectionalElementsHasBeenSet =
false;
183 bool m_schemaVersionHasBeenSet =
false;
186 bool m_ctaHasBeenSet =
false;
189 bool m_labelDecoratorHasBeenSet =
false;
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue