7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifyuibuilder/model/CodegenJobRenderConfig.h>
10#include <aws/amplifyuibuilder/model/CodegenJobGenericDataSchema.h>
11#include <aws/amplifyuibuilder/model/CodegenFeatureFlags.h>
12#include <aws/amplifyuibuilder/model/CodegenJobStatus.h>
13#include <aws/amplifyuibuilder/model/CodegenJobAsset.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17#include <aws/amplifyuibuilder/model/CodegenDependency.h>
30namespace AmplifyUIBuilder
56 template<
typename IdT = Aws::String>
57 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
58 template<
typename IdT = Aws::String>
68 template<
typename AppIdT = Aws::String>
69 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet =
true; m_appId = std::forward<AppIdT>(value); }
70 template<
typename AppIdT = Aws::String>
81 template<
typename EnvironmentNameT = Aws::String>
82 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet =
true; m_environmentName = std::forward<EnvironmentNameT>(value); }
83 template<
typename EnvironmentNameT = Aws::String>
91 template<
typename RenderConfigT = CodegenJobRenderConfig>
92 void SetRenderConfig(RenderConfigT&& value) { m_renderConfigHasBeenSet =
true; m_renderConfig = std::forward<RenderConfigT>(value); }
93 template<
typename RenderConfigT = CodegenJobRenderConfig>
101 template<
typename GenericDataSchemaT = CodegenJobGenericDataSchema>
102 void SetGenericDataSchema(GenericDataSchemaT&& value) { m_genericDataSchemaHasBeenSet =
true; m_genericDataSchema = std::forward<GenericDataSchemaT>(value); }
103 template<
typename GenericDataSchemaT = CodegenJobGenericDataSchema>
113 inline void SetAutoGenerateForms(
bool value) { m_autoGenerateFormsHasBeenSet =
true; m_autoGenerateForms = value; }
121 template<
typename FeaturesT = CodegenFeatureFlags>
122 void SetFeatures(FeaturesT&& value) { m_featuresHasBeenSet =
true; m_features = std::forward<FeaturesT>(value); }
123 template<
typename FeaturesT = CodegenFeatureFlags>
143 template<
typename StatusMessageT = Aws::String>
144 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
145 template<
typename StatusMessageT = Aws::String>
155 template<
typename AssetT = CodegenJobAsset>
156 void SetAsset(AssetT&& value) { m_assetHasBeenSet =
true; m_asset = std::forward<AssetT>(value); }
157 template<
typename AssetT = CodegenJobAsset>
167 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
168 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
169 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
171 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
173 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
183 template<
typename CreatedAtT = Aws::Utils::DateTime>
184 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
185 template<
typename CreatedAtT = Aws::Utils::DateTime>
195 template<
typename ModifiedAtT = Aws::Utils::DateTime>
196 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
197 template<
typename ModifiedAtT = Aws::Utils::DateTime>
208 template<
typename DependenciesT = Aws::Vector<CodegenDependency>>
209 void SetDependencies(DependenciesT&& value) { m_dependenciesHasBeenSet =
true; m_dependencies = std::forward<DependenciesT>(value); }
210 template<
typename DependenciesT = Aws::Vector<CodegenDependency>>
212 template<
typename DependenciesT = CodegenDependency>
213 CodegenJob&
AddDependencies(DependenciesT&& value) { m_dependenciesHasBeenSet =
true; m_dependencies.emplace_back(std::forward<DependenciesT>(value));
return *
this; }
218 bool m_idHasBeenSet =
false;
221 bool m_appIdHasBeenSet =
false;
224 bool m_environmentNameHasBeenSet =
false;
227 bool m_renderConfigHasBeenSet =
false;
230 bool m_genericDataSchemaHasBeenSet =
false;
232 bool m_autoGenerateForms{
false};
233 bool m_autoGenerateFormsHasBeenSet =
false;
235 CodegenFeatureFlags m_features;
236 bool m_featuresHasBeenSet =
false;
239 bool m_statusHasBeenSet =
false;
242 bool m_statusMessageHasBeenSet =
false;
244 CodegenJobAsset m_asset;
245 bool m_assetHasBeenSet =
false;
248 bool m_tagsHasBeenSet =
false;
251 bool m_createdAtHasBeenSet =
false;
254 bool m_modifiedAtHasBeenSet =
false;
257 bool m_dependenciesHasBeenSet =
false;
CodegenJob & WithTags(TagsT &&value)
CodegenJob & WithGenericDataSchema(GenericDataSchemaT &&value)
AWS_AMPLIFYUIBUILDER_API CodegenJob(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAppId() const
CodegenJob & WithDependencies(DependenciesT &&value)
const Aws::String & GetStatusMessage() const
bool EnvironmentNameHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool AppIdHasBeenSet() const
const Aws::Utils::DateTime & GetModifiedAt() const
CodegenJob & WithId(IdT &&value)
CodegenJob & WithStatusMessage(StatusMessageT &&value)
void SetStatus(CodegenJobStatus value)
CodegenJob & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetEnvironmentName() const
const Aws::String & GetId() const
bool IdHasBeenSet() const
bool DependenciesHasBeenSet() const
void SetAsset(AssetT &&value)
bool GenericDataSchemaHasBeenSet() const
CodegenJob & WithModifiedAt(ModifiedAtT &&value)
bool TagsHasBeenSet() const
bool CreatedAtHasBeenSet() const
const CodegenJobAsset & GetAsset() const
bool StatusHasBeenSet() const
AWS_AMPLIFYUIBUILDER_API CodegenJob()=default
CodegenJob & AddDependencies(DependenciesT &&value)
CodegenJob & WithEnvironmentName(EnvironmentNameT &&value)
bool RenderConfigHasBeenSet() const
bool AssetHasBeenSet() const
bool FeaturesHasBeenSet() const
bool AutoGenerateFormsHasBeenSet() const
void SetAutoGenerateForms(bool value)
void SetAppId(AppIdT &&value)
void SetRenderConfig(RenderConfigT &&value)
bool GetAutoGenerateForms() const
CodegenJob & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool StatusMessageHasBeenSet() const
void SetModifiedAt(ModifiedAtT &&value)
const Aws::Vector< CodegenDependency > & GetDependencies() const
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDependencies(DependenciesT &&value)
void SetStatusMessage(StatusMessageT &&value)
CodegenJob & WithStatus(CodegenJobStatus value)
CodegenJob & WithAppId(AppIdT &&value)
CodegenJobStatus GetStatus() const
void SetFeatures(FeaturesT &&value)
AWS_AMPLIFYUIBUILDER_API CodegenJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEnvironmentName(EnvironmentNameT &&value)
bool ModifiedAtHasBeenSet() const
void SetGenericDataSchema(GenericDataSchemaT &&value)
CodegenJob & WithAutoGenerateForms(bool value)
const CodegenFeatureFlags & GetFeatures() const
const CodegenJobRenderConfig & GetRenderConfig() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const CodegenJobGenericDataSchema & GetGenericDataSchema() const
CodegenJob & WithAsset(AssetT &&value)
CodegenJob & WithRenderConfig(RenderConfigT &&value)
void SetCreatedAt(CreatedAtT &&value)
CodegenJob & WithFeatures(FeaturesT &&value)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue