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();
59 inline void SetAppId(
const char* value) { m_appIdHasBeenSet =
true; m_appId.assign(value); }
73 inline void SetEnvironmentName(
const char* value) { m_environmentNameHasBeenSet =
true; m_environmentName.assign(value); }
86 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
87 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
101 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
126 inline void SetStyle(
FormStyle&& value) { m_styleHasBeenSet =
true; m_style = std::move(value); }
157 inline Form&
AddFields(
const char* key,
FieldConfig&& value) { m_fieldsHasBeenSet =
true; m_fields.emplace(key, std::move(value));
return *
this; }
158 inline Form&
AddFields(
const char* key,
const FieldConfig& value) { m_fieldsHasBeenSet =
true; m_fields.emplace(key, value);
return *
this; }
188 inline void SetSchemaVersion(
const char* value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion.assign(value); }
208 inline Form&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
209 inline Form&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
210 inline Form&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
219 inline void SetCta(
const FormCTA& value) { m_ctaHasBeenSet =
true; m_cta = value; }
220 inline void SetCta(
FormCTA&& value) { m_ctaHasBeenSet =
true; m_cta = std::move(value); }
239 bool m_appIdHasBeenSet =
false;
242 bool m_environmentNameHasBeenSet =
false;
245 bool m_idHasBeenSet =
false;
248 bool m_nameHasBeenSet =
false;
251 bool m_formActionTypeHasBeenSet =
false;
254 bool m_styleHasBeenSet =
false;
257 bool m_dataTypeHasBeenSet =
false;
260 bool m_fieldsHasBeenSet =
false;
263 bool m_sectionalElementsHasBeenSet =
false;
266 bool m_schemaVersionHasBeenSet =
false;
269 bool m_tagsHasBeenSet =
false;
272 bool m_ctaHasBeenSet =
false;
275 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