AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
App.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/amplify/model/Platform.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/amplify/model/ProductionBranch.h>
14#include <aws/amplify/model/AutoBranchCreationConfig.h>
15#include <aws/amplify/model/RepositoryCloneMethod.h>
16#include <aws/amplify/model/CacheConfig.h>
17#include <aws/amplify/model/CustomRule.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 Amplify
31{
32namespace Model
33{
34
41 class App
42 {
43 public:
44 AWS_AMPLIFY_API App();
45 AWS_AMPLIFY_API App(Aws::Utils::Json::JsonView jsonValue);
46 AWS_AMPLIFY_API App& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetAppId() const{ return m_appId; }
55 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
56 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
57 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
58 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
59 inline App& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
60 inline App& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
61 inline App& WithAppId(const char* value) { SetAppId(value); return *this;}
63
65
68 inline const Aws::String& GetAppArn() const{ return m_appArn; }
69 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
70 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
71 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
72 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
73 inline App& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
74 inline App& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
75 inline App& WithAppArn(const char* value) { SetAppArn(value); return *this;}
77
79
82 inline const Aws::String& GetName() const{ return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
85 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
86 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
87 inline App& WithName(const Aws::String& value) { SetName(value); return *this;}
88 inline App& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
89 inline App& WithName(const char* value) { SetName(value); return *this;}
91
93
96 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
97 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
98 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
99 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
100 inline App& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
101 inline App& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
102 inline App& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
103 inline App& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
104 inline App& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
105 inline App& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
106 inline App& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
107 inline App& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
108 inline App& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
110
112
115 inline const Aws::String& GetDescription() const{ return m_description; }
116 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
117 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
118 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
119 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
120 inline App& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
121 inline App& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
122 inline App& WithDescription(const char* value) { SetDescription(value); return *this;}
124
126
129 inline const Aws::String& GetRepository() const{ return m_repository; }
130 inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; }
131 inline void SetRepository(const Aws::String& value) { m_repositoryHasBeenSet = true; m_repository = value; }
132 inline void SetRepository(Aws::String&& value) { m_repositoryHasBeenSet = true; m_repository = std::move(value); }
133 inline void SetRepository(const char* value) { m_repositoryHasBeenSet = true; m_repository.assign(value); }
134 inline App& WithRepository(const Aws::String& value) { SetRepository(value); return *this;}
135 inline App& WithRepository(Aws::String&& value) { SetRepository(std::move(value)); return *this;}
136 inline App& WithRepository(const char* value) { SetRepository(value); return *this;}
138
140
149 inline const Platform& GetPlatform() const{ return m_platform; }
150 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
151 inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; }
152 inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
153 inline App& WithPlatform(const Platform& value) { SetPlatform(value); return *this;}
154 inline App& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;}
156
158
161 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
162 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
163 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
164 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
165 inline App& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
166 inline App& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
168
170
173 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
174 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
175 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
176 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
177 inline App& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
178 inline App& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
180
182
186 inline const Aws::String& GetIamServiceRoleArn() const{ return m_iamServiceRoleArn; }
187 inline bool IamServiceRoleArnHasBeenSet() const { return m_iamServiceRoleArnHasBeenSet; }
188 inline void SetIamServiceRoleArn(const Aws::String& value) { m_iamServiceRoleArnHasBeenSet = true; m_iamServiceRoleArn = value; }
189 inline void SetIamServiceRoleArn(Aws::String&& value) { m_iamServiceRoleArnHasBeenSet = true; m_iamServiceRoleArn = std::move(value); }
190 inline void SetIamServiceRoleArn(const char* value) { m_iamServiceRoleArnHasBeenSet = true; m_iamServiceRoleArn.assign(value); }
191 inline App& WithIamServiceRoleArn(const Aws::String& value) { SetIamServiceRoleArn(value); return *this;}
192 inline App& WithIamServiceRoleArn(Aws::String&& value) { SetIamServiceRoleArn(std::move(value)); return *this;}
193 inline App& WithIamServiceRoleArn(const char* value) { SetIamServiceRoleArn(value); return *this;}
195
197
203 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const{ return m_environmentVariables; }
204 inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
205 inline void SetEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = value; }
206 inline void SetEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::move(value); }
209 inline App& AddEnvironmentVariables(const Aws::String& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
210 inline App& AddEnvironmentVariables(Aws::String&& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
211 inline App& AddEnvironmentVariables(const Aws::String& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
212 inline App& AddEnvironmentVariables(Aws::String&& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), std::move(value)); return *this; }
213 inline App& AddEnvironmentVariables(const char* key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
214 inline App& AddEnvironmentVariables(Aws::String&& key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
215 inline App& AddEnvironmentVariables(const char* key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
217
219
222 inline const Aws::String& GetDefaultDomain() const{ return m_defaultDomain; }
223 inline bool DefaultDomainHasBeenSet() const { return m_defaultDomainHasBeenSet; }
224 inline void SetDefaultDomain(const Aws::String& value) { m_defaultDomainHasBeenSet = true; m_defaultDomain = value; }
225 inline void SetDefaultDomain(Aws::String&& value) { m_defaultDomainHasBeenSet = true; m_defaultDomain = std::move(value); }
226 inline void SetDefaultDomain(const char* value) { m_defaultDomainHasBeenSet = true; m_defaultDomain.assign(value); }
227 inline App& WithDefaultDomain(const Aws::String& value) { SetDefaultDomain(value); return *this;}
228 inline App& WithDefaultDomain(Aws::String&& value) { SetDefaultDomain(std::move(value)); return *this;}
229 inline App& WithDefaultDomain(const char* value) { SetDefaultDomain(value); return *this;}
231
233
236 inline bool GetEnableBranchAutoBuild() const{ return m_enableBranchAutoBuild; }
237 inline bool EnableBranchAutoBuildHasBeenSet() const { return m_enableBranchAutoBuildHasBeenSet; }
238 inline void SetEnableBranchAutoBuild(bool value) { m_enableBranchAutoBuildHasBeenSet = true; m_enableBranchAutoBuild = value; }
239 inline App& WithEnableBranchAutoBuild(bool value) { SetEnableBranchAutoBuild(value); return *this;}
241
243
247 inline bool GetEnableBranchAutoDeletion() const{ return m_enableBranchAutoDeletion; }
248 inline bool EnableBranchAutoDeletionHasBeenSet() const { return m_enableBranchAutoDeletionHasBeenSet; }
249 inline void SetEnableBranchAutoDeletion(bool value) { m_enableBranchAutoDeletionHasBeenSet = true; m_enableBranchAutoDeletion = value; }
250 inline App& WithEnableBranchAutoDeletion(bool value) { SetEnableBranchAutoDeletion(value); return *this;}
252
254
257 inline bool GetEnableBasicAuth() const{ return m_enableBasicAuth; }
258 inline bool EnableBasicAuthHasBeenSet() const { return m_enableBasicAuthHasBeenSet; }
259 inline void SetEnableBasicAuth(bool value) { m_enableBasicAuthHasBeenSet = true; m_enableBasicAuth = value; }
260 inline App& WithEnableBasicAuth(bool value) { SetEnableBasicAuth(value); return *this;}
262
264
269 inline const Aws::String& GetBasicAuthCredentials() const{ return m_basicAuthCredentials; }
270 inline bool BasicAuthCredentialsHasBeenSet() const { return m_basicAuthCredentialsHasBeenSet; }
271 inline void SetBasicAuthCredentials(const Aws::String& value) { m_basicAuthCredentialsHasBeenSet = true; m_basicAuthCredentials = value; }
272 inline void SetBasicAuthCredentials(Aws::String&& value) { m_basicAuthCredentialsHasBeenSet = true; m_basicAuthCredentials = std::move(value); }
273 inline void SetBasicAuthCredentials(const char* value) { m_basicAuthCredentialsHasBeenSet = true; m_basicAuthCredentials.assign(value); }
274 inline App& WithBasicAuthCredentials(const Aws::String& value) { SetBasicAuthCredentials(value); return *this;}
275 inline App& WithBasicAuthCredentials(Aws::String&& value) { SetBasicAuthCredentials(std::move(value)); return *this;}
276 inline App& WithBasicAuthCredentials(const char* value) { SetBasicAuthCredentials(value); return *this;}
278
280
283 inline const Aws::Vector<CustomRule>& GetCustomRules() const{ return m_customRules; }
284 inline bool CustomRulesHasBeenSet() const { return m_customRulesHasBeenSet; }
285 inline void SetCustomRules(const Aws::Vector<CustomRule>& value) { m_customRulesHasBeenSet = true; m_customRules = value; }
286 inline void SetCustomRules(Aws::Vector<CustomRule>&& value) { m_customRulesHasBeenSet = true; m_customRules = std::move(value); }
287 inline App& WithCustomRules(const Aws::Vector<CustomRule>& value) { SetCustomRules(value); return *this;}
288 inline App& WithCustomRules(Aws::Vector<CustomRule>&& value) { SetCustomRules(std::move(value)); return *this;}
289 inline App& AddCustomRules(const CustomRule& value) { m_customRulesHasBeenSet = true; m_customRules.push_back(value); return *this; }
290 inline App& AddCustomRules(CustomRule&& value) { m_customRulesHasBeenSet = true; m_customRules.push_back(std::move(value)); return *this; }
292
294
297 inline const ProductionBranch& GetProductionBranch() const{ return m_productionBranch; }
298 inline bool ProductionBranchHasBeenSet() const { return m_productionBranchHasBeenSet; }
299 inline void SetProductionBranch(const ProductionBranch& value) { m_productionBranchHasBeenSet = true; m_productionBranch = value; }
300 inline void SetProductionBranch(ProductionBranch&& value) { m_productionBranchHasBeenSet = true; m_productionBranch = std::move(value); }
301 inline App& WithProductionBranch(const ProductionBranch& value) { SetProductionBranch(value); return *this;}
302 inline App& WithProductionBranch(ProductionBranch&& value) { SetProductionBranch(std::move(value)); return *this;}
304
306
310 inline const Aws::String& GetBuildSpec() const{ return m_buildSpec; }
311 inline bool BuildSpecHasBeenSet() const { return m_buildSpecHasBeenSet; }
312 inline void SetBuildSpec(const Aws::String& value) { m_buildSpecHasBeenSet = true; m_buildSpec = value; }
313 inline void SetBuildSpec(Aws::String&& value) { m_buildSpecHasBeenSet = true; m_buildSpec = std::move(value); }
314 inline void SetBuildSpec(const char* value) { m_buildSpecHasBeenSet = true; m_buildSpec.assign(value); }
315 inline App& WithBuildSpec(const Aws::String& value) { SetBuildSpec(value); return *this;}
316 inline App& WithBuildSpec(Aws::String&& value) { SetBuildSpec(std::move(value)); return *this;}
317 inline App& WithBuildSpec(const char* value) { SetBuildSpec(value); return *this;}
319
321
324 inline const Aws::String& GetCustomHeaders() const{ return m_customHeaders; }
325 inline bool CustomHeadersHasBeenSet() const { return m_customHeadersHasBeenSet; }
326 inline void SetCustomHeaders(const Aws::String& value) { m_customHeadersHasBeenSet = true; m_customHeaders = value; }
327 inline void SetCustomHeaders(Aws::String&& value) { m_customHeadersHasBeenSet = true; m_customHeaders = std::move(value); }
328 inline void SetCustomHeaders(const char* value) { m_customHeadersHasBeenSet = true; m_customHeaders.assign(value); }
329 inline App& WithCustomHeaders(const Aws::String& value) { SetCustomHeaders(value); return *this;}
330 inline App& WithCustomHeaders(Aws::String&& value) { SetCustomHeaders(std::move(value)); return *this;}
331 inline App& WithCustomHeaders(const char* value) { SetCustomHeaders(value); return *this;}
333
335
338 inline bool GetEnableAutoBranchCreation() const{ return m_enableAutoBranchCreation; }
339 inline bool EnableAutoBranchCreationHasBeenSet() const { return m_enableAutoBranchCreationHasBeenSet; }
340 inline void SetEnableAutoBranchCreation(bool value) { m_enableAutoBranchCreationHasBeenSet = true; m_enableAutoBranchCreation = value; }
341 inline App& WithEnableAutoBranchCreation(bool value) { SetEnableAutoBranchCreation(value); return *this;}
343
345
349 inline const Aws::Vector<Aws::String>& GetAutoBranchCreationPatterns() const{ return m_autoBranchCreationPatterns; }
350 inline bool AutoBranchCreationPatternsHasBeenSet() const { return m_autoBranchCreationPatternsHasBeenSet; }
351 inline void SetAutoBranchCreationPatterns(const Aws::Vector<Aws::String>& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns = value; }
352 inline void SetAutoBranchCreationPatterns(Aws::Vector<Aws::String>&& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns = std::move(value); }
355 inline App& AddAutoBranchCreationPatterns(const Aws::String& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns.push_back(value); return *this; }
356 inline App& AddAutoBranchCreationPatterns(Aws::String&& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns.push_back(std::move(value)); return *this; }
357 inline App& AddAutoBranchCreationPatterns(const char* value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns.push_back(value); return *this; }
359
361
365 inline const AutoBranchCreationConfig& GetAutoBranchCreationConfig() const{ return m_autoBranchCreationConfig; }
366 inline bool AutoBranchCreationConfigHasBeenSet() const { return m_autoBranchCreationConfigHasBeenSet; }
367 inline void SetAutoBranchCreationConfig(const AutoBranchCreationConfig& value) { m_autoBranchCreationConfigHasBeenSet = true; m_autoBranchCreationConfig = value; }
368 inline void SetAutoBranchCreationConfig(AutoBranchCreationConfig&& value) { m_autoBranchCreationConfigHasBeenSet = true; m_autoBranchCreationConfig = std::move(value); }
372
374
381 inline const RepositoryCloneMethod& GetRepositoryCloneMethod() const{ return m_repositoryCloneMethod; }
382 inline bool RepositoryCloneMethodHasBeenSet() const { return m_repositoryCloneMethodHasBeenSet; }
383 inline void SetRepositoryCloneMethod(const RepositoryCloneMethod& value) { m_repositoryCloneMethodHasBeenSet = true; m_repositoryCloneMethod = value; }
384 inline void SetRepositoryCloneMethod(RepositoryCloneMethod&& value) { m_repositoryCloneMethodHasBeenSet = true; m_repositoryCloneMethod = std::move(value); }
386 inline App& WithRepositoryCloneMethod(RepositoryCloneMethod&& value) { SetRepositoryCloneMethod(std::move(value)); return *this;}
388
390
395 inline const CacheConfig& GetCacheConfig() const{ return m_cacheConfig; }
396 inline bool CacheConfigHasBeenSet() const { return m_cacheConfigHasBeenSet; }
397 inline void SetCacheConfig(const CacheConfig& value) { m_cacheConfigHasBeenSet = true; m_cacheConfig = value; }
398 inline void SetCacheConfig(CacheConfig&& value) { m_cacheConfigHasBeenSet = true; m_cacheConfig = std::move(value); }
399 inline App& WithCacheConfig(const CacheConfig& value) { SetCacheConfig(value); return *this;}
400 inline App& WithCacheConfig(CacheConfig&& value) { SetCacheConfig(std::move(value)); return *this;}
402 private:
403
404 Aws::String m_appId;
405 bool m_appIdHasBeenSet = false;
406
407 Aws::String m_appArn;
408 bool m_appArnHasBeenSet = false;
409
410 Aws::String m_name;
411 bool m_nameHasBeenSet = false;
412
414 bool m_tagsHasBeenSet = false;
415
416 Aws::String m_description;
417 bool m_descriptionHasBeenSet = false;
418
419 Aws::String m_repository;
420 bool m_repositoryHasBeenSet = false;
421
422 Platform m_platform;
423 bool m_platformHasBeenSet = false;
424
425 Aws::Utils::DateTime m_createTime;
426 bool m_createTimeHasBeenSet = false;
427
428 Aws::Utils::DateTime m_updateTime;
429 bool m_updateTimeHasBeenSet = false;
430
431 Aws::String m_iamServiceRoleArn;
432 bool m_iamServiceRoleArnHasBeenSet = false;
433
434 Aws::Map<Aws::String, Aws::String> m_environmentVariables;
435 bool m_environmentVariablesHasBeenSet = false;
436
437 Aws::String m_defaultDomain;
438 bool m_defaultDomainHasBeenSet = false;
439
440 bool m_enableBranchAutoBuild;
441 bool m_enableBranchAutoBuildHasBeenSet = false;
442
443 bool m_enableBranchAutoDeletion;
444 bool m_enableBranchAutoDeletionHasBeenSet = false;
445
446 bool m_enableBasicAuth;
447 bool m_enableBasicAuthHasBeenSet = false;
448
449 Aws::String m_basicAuthCredentials;
450 bool m_basicAuthCredentialsHasBeenSet = false;
451
452 Aws::Vector<CustomRule> m_customRules;
453 bool m_customRulesHasBeenSet = false;
454
455 ProductionBranch m_productionBranch;
456 bool m_productionBranchHasBeenSet = false;
457
458 Aws::String m_buildSpec;
459 bool m_buildSpecHasBeenSet = false;
460
461 Aws::String m_customHeaders;
462 bool m_customHeadersHasBeenSet = false;
463
464 bool m_enableAutoBranchCreation;
465 bool m_enableAutoBranchCreationHasBeenSet = false;
466
467 Aws::Vector<Aws::String> m_autoBranchCreationPatterns;
468 bool m_autoBranchCreationPatternsHasBeenSet = false;
469
470 AutoBranchCreationConfig m_autoBranchCreationConfig;
471 bool m_autoBranchCreationConfigHasBeenSet = false;
472
473 RepositoryCloneMethod m_repositoryCloneMethod;
474 bool m_repositoryCloneMethodHasBeenSet = false;
475
476 CacheConfig m_cacheConfig;
477 bool m_cacheConfigHasBeenSet = false;
478 };
479
480} // namespace Model
481} // namespace Amplify
482} // namespace Aws
App & WithCacheConfig(const CacheConfig &value)
Definition App.h:399
void SetUpdateTime(Aws::Utils::DateTime &&value)
Definition App.h:176
void SetRepository(const char *value)
Definition App.h:133
bool RepositoryCloneMethodHasBeenSet() const
Definition App.h:382
const Aws::String & GetName() const
Definition App.h:82
void SetIamServiceRoleArn(const Aws::String &value)
Definition App.h:188
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
App & WithDescription(const char *value)
Definition App.h:122
bool CustomRulesHasBeenSet() const
Definition App.h:284
bool NameHasBeenSet() const
Definition App.h:83
const ProductionBranch & GetProductionBranch() const
Definition App.h:297
void SetRepository(Aws::String &&value)
Definition App.h:132
App & WithAppArn(const Aws::String &value)
Definition App.h:73
void SetIamServiceRoleArn(const char *value)
Definition App.h:190
bool DefaultDomainHasBeenSet() const
Definition App.h:223
bool CustomHeadersHasBeenSet() const
Definition App.h:325
App & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
Definition App.h:208
App & WithName(Aws::String &&value)
Definition App.h:88
void SetCustomHeaders(Aws::String &&value)
Definition App.h:327
App & WithDefaultDomain(Aws::String &&value)
Definition App.h:228
App & WithEnableBranchAutoDeletion(bool value)
Definition App.h:250
bool PlatformHasBeenSet() const
Definition App.h:150
void SetEnableAutoBranchCreation(bool value)
Definition App.h:340
App & WithIamServiceRoleArn(const char *value)
Definition App.h:193
App & WithIamServiceRoleArn(Aws::String &&value)
Definition App.h:192
void SetCustomRules(const Aws::Vector< CustomRule > &value)
Definition App.h:285
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
Definition App.h:205
App & WithName(const char *value)
Definition App.h:89
App & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
Definition App.h:212
App & WithBasicAuthCredentials(Aws::String &&value)
Definition App.h:275
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition App.h:96
void SetCacheConfig(CacheConfig &&value)
Definition App.h:398
void SetName(Aws::String &&value)
Definition App.h:85
App & WithDefaultDomain(const char *value)
Definition App.h:229
const Aws::String & GetIamServiceRoleArn() const
Definition App.h:186
void SetBuildSpec(const Aws::String &value)
Definition App.h:312
void SetBuildSpec(Aws::String &&value)
Definition App.h:313
const Aws::Vector< Aws::String > & GetAutoBranchCreationPatterns() const
Definition App.h:349
AWS_AMPLIFY_API App(Aws::Utils::Json::JsonView jsonValue)
App & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
Definition App.h:209
App & WithAppArn(const char *value)
Definition App.h:75
App & WithCreateTime(Aws::Utils::DateTime &&value)
Definition App.h:166
void SetIamServiceRoleArn(Aws::String &&value)
Definition App.h:189
App & WithRepositoryCloneMethod(RepositoryCloneMethod &&value)
Definition App.h:386
void SetPlatform(Platform &&value)
Definition App.h:152
App & AddTags(Aws::String &&key, const Aws::String &value)
Definition App.h:103
App & AddTags(const char *key, Aws::String &&value)
Definition App.h:106
const Aws::Vector< CustomRule > & GetCustomRules() const
Definition App.h:283
void SetDescription(Aws::String &&value)
Definition App.h:118
const AutoBranchCreationConfig & GetAutoBranchCreationConfig() const
Definition App.h:365
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
Definition App.h:203
bool RepositoryHasBeenSet() const
Definition App.h:130
App & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition App.h:101
App & WithName(const Aws::String &value)
Definition App.h:87
App & WithRepository(const char *value)
Definition App.h:136
App & AddAutoBranchCreationPatterns(Aws::String &&value)
Definition App.h:356
void SetEnableBasicAuth(bool value)
Definition App.h:259
bool GetEnableBranchAutoBuild() const
Definition App.h:236
bool EnvironmentVariablesHasBeenSet() const
Definition App.h:204
const Aws::Utils::DateTime & GetCreateTime() const
Definition App.h:161
bool GetEnableBasicAuth() const
Definition App.h:257
void SetAppId(const Aws::String &value)
Definition App.h:56
App & WithBuildSpec(const char *value)
Definition App.h:317
void SetAppArn(const char *value)
Definition App.h:72
bool GetEnableBranchAutoDeletion() const
Definition App.h:247
App & AddTags(const char *key, const char *value)
Definition App.h:108
void SetAutoBranchCreationPatterns(Aws::Vector< Aws::String > &&value)
Definition App.h:352
App & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition App.h:100
const Aws::String & GetAppId() const
Definition App.h:54
bool AutoBranchCreationConfigHasBeenSet() const
Definition App.h:366
void SetPlatform(const Platform &value)
Definition App.h:151
const Aws::String & GetCustomHeaders() const
Definition App.h:324
void SetRepositoryCloneMethod(const RepositoryCloneMethod &value)
Definition App.h:383
App & WithDescription(const Aws::String &value)
Definition App.h:120
App & WithDefaultDomain(const Aws::String &value)
Definition App.h:227
App & WithCustomHeaders(const Aws::String &value)
Definition App.h:329
bool EnableAutoBranchCreationHasBeenSet() const
Definition App.h:339
AWS_AMPLIFY_API App()
const Aws::String & GetBasicAuthCredentials() const
Definition App.h:269
bool ProductionBranchHasBeenSet() const
Definition App.h:298
void SetName(const Aws::String &value)
Definition App.h:84
App & WithCacheConfig(CacheConfig &&value)
Definition App.h:400
App & WithRepositoryCloneMethod(const RepositoryCloneMethod &value)
Definition App.h:385
const CacheConfig & GetCacheConfig() const
Definition App.h:395
void SetName(const char *value)
Definition App.h:86
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition App.h:98
void SetBasicAuthCredentials(Aws::String &&value)
Definition App.h:272
App & WithAutoBranchCreationPatterns(const Aws::Vector< Aws::String > &value)
Definition App.h:353
App & WithCreateTime(const Aws::Utils::DateTime &value)
Definition App.h:165
bool BuildSpecHasBeenSet() const
Definition App.h:311
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
Definition App.h:206
void SetCreateTime(Aws::Utils::DateTime &&value)
Definition App.h:164
App & WithEnableBranchAutoBuild(bool value)
Definition App.h:239
App & AddTags(const Aws::String &key, Aws::String &&value)
Definition App.h:104
void SetCustomHeaders(const Aws::String &value)
Definition App.h:326
App & WithProductionBranch(const ProductionBranch &value)
Definition App.h:301
App & WithRepository(const Aws::String &value)
Definition App.h:134
App & AddTags(Aws::String &&key, Aws::String &&value)
Definition App.h:105
bool TagsHasBeenSet() const
Definition App.h:97
bool DescriptionHasBeenSet() const
Definition App.h:116
void SetBasicAuthCredentials(const char *value)
Definition App.h:273
App & AddEnvironmentVariables(const char *key, const char *value)
Definition App.h:215
bool EnableBranchAutoDeletionHasBeenSet() const
Definition App.h:248
App & WithAppArn(Aws::String &&value)
Definition App.h:74
App & WithAutoBranchCreationConfig(AutoBranchCreationConfig &&value)
Definition App.h:370
void SetAutoBranchCreationConfig(AutoBranchCreationConfig &&value)
Definition App.h:368
bool IamServiceRoleArnHasBeenSet() const
Definition App.h:187
App & WithCustomRules(const Aws::Vector< CustomRule > &value)
Definition App.h:287
App & WithRepository(Aws::String &&value)
Definition App.h:135
bool EnableBranchAutoBuildHasBeenSet() const
Definition App.h:237
App & WithBasicAuthCredentials(const Aws::String &value)
Definition App.h:274
App & WithDescription(Aws::String &&value)
Definition App.h:121
void SetProductionBranch(ProductionBranch &&value)
Definition App.h:300
bool AutoBranchCreationPatternsHasBeenSet() const
Definition App.h:350
App & WithEnableBasicAuth(bool value)
Definition App.h:260
bool AppIdHasBeenSet() const
Definition App.h:55
App & WithPlatform(Platform &&value)
Definition App.h:154
void SetAutoBranchCreationConfig(const AutoBranchCreationConfig &value)
Definition App.h:367
App & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
Definition App.h:207
App & WithCustomRules(Aws::Vector< CustomRule > &&value)
Definition App.h:288
bool UpdateTimeHasBeenSet() const
Definition App.h:174
void SetDefaultDomain(Aws::String &&value)
Definition App.h:225
App & WithEnableAutoBranchCreation(bool value)
Definition App.h:341
App & WithUpdateTime(Aws::Utils::DateTime &&value)
Definition App.h:178
const Aws::String & GetBuildSpec() const
Definition App.h:310
bool AppArnHasBeenSet() const
Definition App.h:69
bool CacheConfigHasBeenSet() const
Definition App.h:396
void SetCustomRules(Aws::Vector< CustomRule > &&value)
Definition App.h:286
AWS_AMPLIFY_API App & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
Definition App.h:117
void SetCreateTime(const Aws::Utils::DateTime &value)
Definition App.h:163
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition App.h:99
void SetDescription(const char *value)
Definition App.h:119
App & WithAppId(Aws::String &&value)
Definition App.h:60
App & WithCustomHeaders(Aws::String &&value)
Definition App.h:330
void SetDefaultDomain(const char *value)
Definition App.h:226
bool BasicAuthCredentialsHasBeenSet() const
Definition App.h:270
App & AddCustomRules(const CustomRule &value)
Definition App.h:289
App & WithBasicAuthCredentials(const char *value)
Definition App.h:276
App & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
Definition App.h:211
void SetAppArn(const Aws::String &value)
Definition App.h:70
const Aws::Utils::DateTime & GetUpdateTime() const
Definition App.h:173
App & WithBuildSpec(const Aws::String &value)
Definition App.h:315
App & AddEnvironmentVariables(const char *key, Aws::String &&value)
Definition App.h:213
App & WithProductionBranch(ProductionBranch &&value)
Definition App.h:302
void SetBuildSpec(const char *value)
Definition App.h:314
App & WithAutoBranchCreationConfig(const AutoBranchCreationConfig &value)
Definition App.h:369
App & WithAppId(const char *value)
Definition App.h:61
void SetEnableBranchAutoBuild(bool value)
Definition App.h:238
void SetAppId(Aws::String &&value)
Definition App.h:57
App & AddEnvironmentVariables(Aws::String &&key, const char *value)
Definition App.h:214
void SetBasicAuthCredentials(const Aws::String &value)
Definition App.h:271
void SetProductionBranch(const ProductionBranch &value)
Definition App.h:299
App & AddTags(const Aws::String &key, const Aws::String &value)
Definition App.h:102
void SetDefaultDomain(const Aws::String &value)
Definition App.h:224
bool CreateTimeHasBeenSet() const
Definition App.h:162
void SetRepository(const Aws::String &value)
Definition App.h:131
App & WithCustomHeaders(const char *value)
Definition App.h:331
App & AddAutoBranchCreationPatterns(const char *value)
Definition App.h:357
App & WithPlatform(const Platform &value)
Definition App.h:153
App & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
Definition App.h:210
void SetEnableBranchAutoDeletion(bool value)
Definition App.h:249
App & WithIamServiceRoleArn(const Aws::String &value)
Definition App.h:191
const Platform & GetPlatform() const
Definition App.h:149
App & AddAutoBranchCreationPatterns(const Aws::String &value)
Definition App.h:355
void SetAppArn(Aws::String &&value)
Definition App.h:71
void SetAppId(const char *value)
Definition App.h:58
const Aws::String & GetDescription() const
Definition App.h:115
const Aws::String & GetDefaultDomain() const
Definition App.h:222
void SetCustomHeaders(const char *value)
Definition App.h:328
void SetRepositoryCloneMethod(RepositoryCloneMethod &&value)
Definition App.h:384
App & AddCustomRules(CustomRule &&value)
Definition App.h:290
App & AddTags(Aws::String &&key, const char *value)
Definition App.h:107
App & WithAutoBranchCreationPatterns(Aws::Vector< Aws::String > &&value)
Definition App.h:354
const Aws::String & GetAppArn() const
Definition App.h:68
App & WithUpdateTime(const Aws::Utils::DateTime &value)
Definition App.h:177
bool EnableBasicAuthHasBeenSet() const
Definition App.h:258
App & WithBuildSpec(Aws::String &&value)
Definition App.h:316
void SetUpdateTime(const Aws::Utils::DateTime &value)
Definition App.h:175
void SetCacheConfig(const CacheConfig &value)
Definition App.h:397
const Aws::String & GetRepository() const
Definition App.h:129
const RepositoryCloneMethod & GetRepositoryCloneMethod() const
Definition App.h:381
App & WithAppId(const Aws::String &value)
Definition App.h:59
bool GetEnableAutoBranchCreation() const
Definition App.h:338
void SetAutoBranchCreationPatterns(const Aws::Vector< Aws::String > &value)
Definition App.h:351
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