AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CodegenJob.h
1
6#pragma once
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>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace AmplifyUIBuilder
31{
32namespace Model
33{
34
42 {
43 public:
44 AWS_AMPLIFYUIBUILDER_API CodegenJob();
45 AWS_AMPLIFYUIBUILDER_API CodegenJob(Aws::Utils::Json::JsonView jsonValue);
46 AWS_AMPLIFYUIBUILDER_API CodegenJob& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetId() const{ return m_id; }
55 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
56 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
57 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
58 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
59 inline CodegenJob& WithId(const Aws::String& value) { SetId(value); return *this;}
60 inline CodegenJob& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
61 inline CodegenJob& WithId(const char* value) { SetId(value); return *this;}
63
65
68 inline const Aws::String& GetAppId() const{ return m_appId; }
69 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
70 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
71 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
72 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
73 inline CodegenJob& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
74 inline CodegenJob& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
75 inline CodegenJob& WithAppId(const char* value) { SetAppId(value); return *this;}
77
79
83 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
84 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
85 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
86 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
87 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
88 inline CodegenJob& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
89 inline CodegenJob& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
90 inline CodegenJob& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
92
94
95 inline const CodegenJobRenderConfig& GetRenderConfig() const{ return m_renderConfig; }
96 inline bool RenderConfigHasBeenSet() const { return m_renderConfigHasBeenSet; }
97 inline void SetRenderConfig(const CodegenJobRenderConfig& value) { m_renderConfigHasBeenSet = true; m_renderConfig = value; }
98 inline void SetRenderConfig(CodegenJobRenderConfig&& value) { m_renderConfigHasBeenSet = true; m_renderConfig = std::move(value); }
99 inline CodegenJob& WithRenderConfig(const CodegenJobRenderConfig& value) { SetRenderConfig(value); return *this;}
100 inline CodegenJob& WithRenderConfig(CodegenJobRenderConfig&& value) { SetRenderConfig(std::move(value)); return *this;}
102
104
105 inline const CodegenJobGenericDataSchema& GetGenericDataSchema() const{ return m_genericDataSchema; }
106 inline bool GenericDataSchemaHasBeenSet() const { return m_genericDataSchemaHasBeenSet; }
107 inline void SetGenericDataSchema(const CodegenJobGenericDataSchema& value) { m_genericDataSchemaHasBeenSet = true; m_genericDataSchema = value; }
108 inline void SetGenericDataSchema(CodegenJobGenericDataSchema&& value) { m_genericDataSchemaHasBeenSet = true; m_genericDataSchema = std::move(value); }
110 inline CodegenJob& WithGenericDataSchema(CodegenJobGenericDataSchema&& value) { SetGenericDataSchema(std::move(value)); return *this;}
112
114
117 inline bool GetAutoGenerateForms() const{ return m_autoGenerateForms; }
118 inline bool AutoGenerateFormsHasBeenSet() const { return m_autoGenerateFormsHasBeenSet; }
119 inline void SetAutoGenerateForms(bool value) { m_autoGenerateFormsHasBeenSet = true; m_autoGenerateForms = value; }
120 inline CodegenJob& WithAutoGenerateForms(bool value) { SetAutoGenerateForms(value); return *this;}
122
124
125 inline const CodegenFeatureFlags& GetFeatures() const{ return m_features; }
126 inline bool FeaturesHasBeenSet() const { return m_featuresHasBeenSet; }
127 inline void SetFeatures(const CodegenFeatureFlags& value) { m_featuresHasBeenSet = true; m_features = value; }
128 inline void SetFeatures(CodegenFeatureFlags&& value) { m_featuresHasBeenSet = true; m_features = std::move(value); }
129 inline CodegenJob& WithFeatures(const CodegenFeatureFlags& value) { SetFeatures(value); return *this;}
130 inline CodegenJob& WithFeatures(CodegenFeatureFlags&& value) { SetFeatures(std::move(value)); return *this;}
132
134
137 inline const CodegenJobStatus& GetStatus() const{ return m_status; }
138 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
139 inline void SetStatus(const CodegenJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
140 inline void SetStatus(CodegenJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
141 inline CodegenJob& WithStatus(const CodegenJobStatus& value) { SetStatus(value); return *this;}
142 inline CodegenJob& WithStatus(CodegenJobStatus&& value) { SetStatus(std::move(value)); return *this;}
144
146
149 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
150 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
151 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
152 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
153 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
154 inline CodegenJob& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
155 inline CodegenJob& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
156 inline CodegenJob& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
158
160
163 inline const CodegenJobAsset& GetAsset() const{ return m_asset; }
164 inline bool AssetHasBeenSet() const { return m_assetHasBeenSet; }
165 inline void SetAsset(const CodegenJobAsset& value) { m_assetHasBeenSet = true; m_asset = value; }
166 inline void SetAsset(CodegenJobAsset&& value) { m_assetHasBeenSet = true; m_asset = std::move(value); }
167 inline CodegenJob& WithAsset(const CodegenJobAsset& value) { SetAsset(value); return *this;}
168 inline CodegenJob& WithAsset(CodegenJobAsset&& value) { SetAsset(std::move(value)); return *this;}
170
172
175 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
176 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
177 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
178 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
179 inline CodegenJob& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
180 inline CodegenJob& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
181 inline CodegenJob& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
182 inline CodegenJob& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
183 inline CodegenJob& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
184 inline CodegenJob& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
185 inline CodegenJob& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
186 inline CodegenJob& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
187 inline CodegenJob& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
189
191
194 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
195 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
196 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
197 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
198 inline CodegenJob& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
199 inline CodegenJob& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
201
203
206 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
207 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
208 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; }
209 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); }
210 inline CodegenJob& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
211 inline CodegenJob& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
213
215
219 inline const Aws::Vector<CodegenDependency>& GetDependencies() const{ return m_dependencies; }
220 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
221 inline void SetDependencies(const Aws::Vector<CodegenDependency>& value) { m_dependenciesHasBeenSet = true; m_dependencies = value; }
222 inline void SetDependencies(Aws::Vector<CodegenDependency>&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::move(value); }
223 inline CodegenJob& WithDependencies(const Aws::Vector<CodegenDependency>& value) { SetDependencies(value); return *this;}
224 inline CodegenJob& WithDependencies(Aws::Vector<CodegenDependency>&& value) { SetDependencies(std::move(value)); return *this;}
225 inline CodegenJob& AddDependencies(const CodegenDependency& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; }
226 inline CodegenJob& AddDependencies(CodegenDependency&& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(std::move(value)); return *this; }
228 private:
229
230 Aws::String m_id;
231 bool m_idHasBeenSet = false;
232
233 Aws::String m_appId;
234 bool m_appIdHasBeenSet = false;
235
236 Aws::String m_environmentName;
237 bool m_environmentNameHasBeenSet = false;
238
239 CodegenJobRenderConfig m_renderConfig;
240 bool m_renderConfigHasBeenSet = false;
241
242 CodegenJobGenericDataSchema m_genericDataSchema;
243 bool m_genericDataSchemaHasBeenSet = false;
244
245 bool m_autoGenerateForms;
246 bool m_autoGenerateFormsHasBeenSet = false;
247
248 CodegenFeatureFlags m_features;
249 bool m_featuresHasBeenSet = false;
250
251 CodegenJobStatus m_status;
252 bool m_statusHasBeenSet = false;
253
254 Aws::String m_statusMessage;
255 bool m_statusMessageHasBeenSet = false;
256
257 CodegenJobAsset m_asset;
258 bool m_assetHasBeenSet = false;
259
261 bool m_tagsHasBeenSet = false;
262
263 Aws::Utils::DateTime m_createdAt;
264 bool m_createdAtHasBeenSet = false;
265
266 Aws::Utils::DateTime m_modifiedAt;
267 bool m_modifiedAtHasBeenSet = false;
268
269 Aws::Vector<CodegenDependency> m_dependencies;
270 bool m_dependenciesHasBeenSet = false;
271 };
272
273} // namespace Model
274} // namespace AmplifyUIBuilder
275} // namespace Aws
CodegenJob & WithDependencies(const Aws::Vector< CodegenDependency > &value)
Definition CodegenJob.h:223
AWS_AMPLIFYUIBUILDER_API CodegenJob(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAppId() const
Definition CodegenJob.h:68
const Aws::String & GetStatusMessage() const
Definition CodegenJob.h:149
void SetFeatures(const CodegenFeatureFlags &value)
Definition CodegenJob.h:127
CodegenJob & AddTags(Aws::String &&key, const char *value)
Definition CodegenJob.h:186
void SetGenericDataSchema(const CodegenJobGenericDataSchema &value)
Definition CodegenJob.h:107
CodegenJob & WithAppId(const Aws::String &value)
Definition CodegenJob.h:73
CodegenJob & AddTags(Aws::String &&key, const Aws::String &value)
Definition CodegenJob.h:182
const Aws::Utils::DateTime & GetCreatedAt() const
Definition CodegenJob.h:194
void SetEnvironmentName(const char *value)
Definition CodegenJob.h:87
const CodegenJobStatus & GetStatus() const
Definition CodegenJob.h:137
CodegenJob & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition CodegenJob.h:199
void SetFeatures(CodegenFeatureFlags &&value)
Definition CodegenJob.h:128
const Aws::Utils::DateTime & GetModifiedAt() const
Definition CodegenJob.h:206
CodegenJob & WithModifiedAt(Aws::Utils::DateTime &&value)
Definition CodegenJob.h:211
void SetModifiedAt(Aws::Utils::DateTime &&value)
Definition CodegenJob.h:209
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition CodegenJob.h:197
CodegenJob & WithId(Aws::String &&value)
Definition CodegenJob.h:60
void SetId(Aws::String &&value)
Definition CodegenJob.h:57
void SetDependencies(Aws::Vector< CodegenDependency > &&value)
Definition CodegenJob.h:222
void SetGenericDataSchema(CodegenJobGenericDataSchema &&value)
Definition CodegenJob.h:108
CodegenJob & WithRenderConfig(const CodegenJobRenderConfig &value)
Definition CodegenJob.h:99
const Aws::String & GetEnvironmentName() const
Definition CodegenJob.h:83
CodegenJob & WithDependencies(Aws::Vector< CodegenDependency > &&value)
Definition CodegenJob.h:224
const Aws::String & GetId() const
Definition CodegenJob.h:54
const CodegenJobAsset & GetAsset() const
Definition CodegenJob.h:163
CodegenJob & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition CodegenJob.h:179
CodegenJob & WithEnvironmentName(Aws::String &&value)
Definition CodegenJob.h:89
void SetAppId(const Aws::String &value)
Definition CodegenJob.h:70
CodegenJob & WithFeatures(CodegenFeatureFlags &&value)
Definition CodegenJob.h:130
void SetEnvironmentName(Aws::String &&value)
Definition CodegenJob.h:86
void SetStatusMessage(Aws::String &&value)
Definition CodegenJob.h:152
CodegenJob & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition CodegenJob.h:180
CodegenJob & AddDependencies(const CodegenDependency &value)
Definition CodegenJob.h:225
void SetModifiedAt(const Aws::Utils::DateTime &value)
Definition CodegenJob.h:208
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition CodegenJob.h:178
CodegenJob & AddTags(const Aws::String &key, const Aws::String &value)
Definition CodegenJob.h:181
void SetRenderConfig(CodegenJobRenderConfig &&value)
Definition CodegenJob.h:98
CodegenJob & AddTags(const char *key, const char *value)
Definition CodegenJob.h:187
CodegenJob & WithStatusMessage(Aws::String &&value)
Definition CodegenJob.h:155
AWS_AMPLIFYUIBUILDER_API CodegenJob()
CodegenJob & WithAsset(CodegenJobAsset &&value)
Definition CodegenJob.h:168
CodegenJob & AddTags(const char *key, Aws::String &&value)
Definition CodegenJob.h:185
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition CodegenJob.h:196
CodegenJob & WithStatusMessage(const Aws::String &value)
Definition CodegenJob.h:154
CodegenJob & WithStatus(const CodegenJobStatus &value)
Definition CodegenJob.h:141
CodegenJob & WithGenericDataSchema(CodegenJobGenericDataSchema &&value)
Definition CodegenJob.h:110
CodegenJob & WithAppId(const char *value)
Definition CodegenJob.h:75
const Aws::Vector< CodegenDependency > & GetDependencies() const
Definition CodegenJob.h:219
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAsset(CodegenJobAsset &&value)
Definition CodegenJob.h:166
CodegenJob & AddDependencies(CodegenDependency &&value)
Definition CodegenJob.h:226
CodegenJob & WithEnvironmentName(const Aws::String &value)
Definition CodegenJob.h:88
CodegenJob & WithAsset(const CodegenJobAsset &value)
Definition CodegenJob.h:167
CodegenJob & AddTags(Aws::String &&key, Aws::String &&value)
Definition CodegenJob.h:184
CodegenJob & WithGenericDataSchema(const CodegenJobGenericDataSchema &value)
Definition CodegenJob.h:109
CodegenJob & WithStatusMessage(const char *value)
Definition CodegenJob.h:156
CodegenJob & WithId(const char *value)
Definition CodegenJob.h:61
void SetStatus(CodegenJobStatus &&value)
Definition CodegenJob.h:140
AWS_AMPLIFYUIBUILDER_API CodegenJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAppId(Aws::String &&value)
Definition CodegenJob.h:71
void SetRenderConfig(const CodegenJobRenderConfig &value)
Definition CodegenJob.h:97
CodegenJob & WithFeatures(const CodegenFeatureFlags &value)
Definition CodegenJob.h:129
void SetId(const Aws::String &value)
Definition CodegenJob.h:56
CodegenJob & WithAutoGenerateForms(bool value)
Definition CodegenJob.h:120
void SetStatusMessage(const Aws::String &value)
Definition CodegenJob.h:151
const CodegenFeatureFlags & GetFeatures() const
Definition CodegenJob.h:125
void SetEnvironmentName(const Aws::String &value)
Definition CodegenJob.h:85
void SetStatusMessage(const char *value)
Definition CodegenJob.h:153
void SetAsset(const CodegenJobAsset &value)
Definition CodegenJob.h:165
void SetDependencies(const Aws::Vector< CodegenDependency > &value)
Definition CodegenJob.h:221
CodegenJob & WithId(const Aws::String &value)
Definition CodegenJob.h:59
const CodegenJobRenderConfig & GetRenderConfig() const
Definition CodegenJob.h:95
CodegenJob & AddTags(const Aws::String &key, Aws::String &&value)
Definition CodegenJob.h:183
void SetStatus(const CodegenJobStatus &value)
Definition CodegenJob.h:139
CodegenJob & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition CodegenJob.h:198
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition CodegenJob.h:175
const CodegenJobGenericDataSchema & GetGenericDataSchema() const
Definition CodegenJob.h:105
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition CodegenJob.h:177
CodegenJob & WithStatus(CodegenJobStatus &&value)
Definition CodegenJob.h:142
CodegenJob & WithAppId(Aws::String &&value)
Definition CodegenJob.h:74
CodegenJob & WithEnvironmentName(const char *value)
Definition CodegenJob.h:90
CodegenJob & WithRenderConfig(CodegenJobRenderConfig &&value)
Definition CodegenJob.h:100
CodegenJob & WithModifiedAt(const Aws::Utils::DateTime &value)
Definition CodegenJob.h:210
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