7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifyuibuilder/model/FormActionType.h>
10#include <aws/amplifyuibuilder/model/FormStyle.h>
11#include <aws/amplifyuibuilder/model/FormDataTypeConfig.h>
12#include <aws/core/utils/memory/stl/AWSMap.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
45 AWS_AMPLIFYUIBUILDER_API
Form() =
default;
57 template<
typename AppIdT = Aws::String>
58 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet =
true; m_appId = std::forward<AppIdT>(value); }
59 template<
typename AppIdT = Aws::String>
69 template<
typename EnvironmentNameT = Aws::String>
70 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet =
true; m_environmentName = std::forward<EnvironmentNameT>(value); }
71 template<
typename EnvironmentNameT = Aws::String>
81 template<
typename IdT = Aws::String>
82 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
83 template<
typename IdT = Aws::String>
93 template<
typename NameT = Aws::String>
94 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
95 template<
typename NameT = Aws::String>
115 template<
typename StyleT = FormStyle>
116 void SetStyle(StyleT&& value) { m_styleHasBeenSet =
true; m_style = std::forward<StyleT>(value); }
117 template<
typename StyleT = FormStyle>
127 template<
typename DataTypeT = FormDataTypeConfig>
128 void SetDataType(DataTypeT&& value) { m_dataTypeHasBeenSet =
true; m_dataType = std::forward<DataTypeT>(value); }
129 template<
typename DataTypeT = FormDataTypeConfig>
139 template<
typename FieldsT = Aws::Map<Aws::String, FieldConfig>>
140 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet =
true; m_fields = std::forward<FieldsT>(value); }
141 template<
typename FieldsT = Aws::Map<Aws::String, FieldConfig>>
143 template<
typename FieldsKeyT = Aws::String,
typename FieldsValueT = FieldConfig>
145 m_fieldsHasBeenSet =
true; m_fields.emplace(std::forward<FieldsKeyT>(key), std::forward<FieldsValueT>(value));
return *
this;
156 template<
typename SectionalElementsT = Aws::Map<Aws::String, SectionalElement>>
157 void SetSectionalElements(SectionalElementsT&& value) { m_sectionalElementsHasBeenSet =
true; m_sectionalElements = std::forward<SectionalElementsT>(value); }
158 template<
typename SectionalElementsT = Aws::Map<Aws::String, SectionalElement>>
160 template<
typename SectionalElementsKeyT = Aws::String,
typename SectionalElementsValueT = SectionalElement>
162 m_sectionalElementsHasBeenSet =
true; m_sectionalElements.emplace(std::forward<SectionalElementsKeyT>(key), std::forward<SectionalElementsValueT>(value));
return *
this;
172 template<
typename SchemaVersionT = Aws::String>
173 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
174 template<
typename SchemaVersionT = Aws::String>
184 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
185 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
186 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
188 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
190 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
200 template<
typename CtaT = FormCTA>
201 void SetCta(CtaT&& value) { m_ctaHasBeenSet =
true; m_cta = std::forward<CtaT>(value); }
202 template<
typename CtaT = FormCTA>
218 bool m_appIdHasBeenSet =
false;
221 bool m_environmentNameHasBeenSet =
false;
224 bool m_idHasBeenSet =
false;
227 bool m_nameHasBeenSet =
false;
230 bool m_formActionTypeHasBeenSet =
false;
233 bool m_styleHasBeenSet =
false;
235 FormDataTypeConfig m_dataType;
236 bool m_dataTypeHasBeenSet =
false;
239 bool m_fieldsHasBeenSet =
false;
242 bool m_sectionalElementsHasBeenSet =
false;
245 bool m_schemaVersionHasBeenSet =
false;
248 bool m_tagsHasBeenSet =
false;
251 bool m_ctaHasBeenSet =
false;
254 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