AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/WafConfiguration.h>
18#include <aws/amplify/model/JobConfig.h>
19#include <aws/amplify/model/CustomRule.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace Amplify
33{
34namespace Model
35{
36
43 class App
44 {
45 public:
46 AWS_AMPLIFY_API App() = default;
47 AWS_AMPLIFY_API App(Aws::Utils::Json::JsonView jsonValue);
48 AWS_AMPLIFY_API App& operator=(Aws::Utils::Json::JsonView jsonValue);
49 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
56 inline const Aws::String& GetAppId() const { return m_appId; }
57 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
58 template<typename AppIdT = Aws::String>
59 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
60 template<typename AppIdT = Aws::String>
61 App& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
63
65
68 inline const Aws::String& GetAppArn() const { return m_appArn; }
69 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
70 template<typename AppArnT = Aws::String>
71 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
72 template<typename AppArnT = Aws::String>
73 App& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
75
77
80 inline const Aws::String& GetName() const { return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 template<typename NameT = Aws::String>
83 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
84 template<typename NameT = Aws::String>
85 App& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
87
89
92 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
93 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
94 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
95 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
96 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
97 App& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
98 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
99 App& AddTags(TagsKeyT&& key, TagsValueT&& value) {
100 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
101 }
103
105
108 inline const Aws::String& GetDescription() const { return m_description; }
109 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
110 template<typename DescriptionT = Aws::String>
111 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
112 template<typename DescriptionT = Aws::String>
113 App& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
115
117
120 inline const Aws::String& GetRepository() const { return m_repository; }
121 inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; }
122 template<typename RepositoryT = Aws::String>
123 void SetRepository(RepositoryT&& value) { m_repositoryHasBeenSet = true; m_repository = std::forward<RepositoryT>(value); }
124 template<typename RepositoryT = Aws::String>
125 App& WithRepository(RepositoryT&& value) { SetRepository(std::forward<RepositoryT>(value)); return *this;}
127
129
138 inline Platform GetPlatform() const { return m_platform; }
139 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
140 inline void SetPlatform(Platform value) { m_platformHasBeenSet = true; m_platform = value; }
141 inline App& WithPlatform(Platform value) { SetPlatform(value); return *this;}
143
145
148 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
149 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
150 template<typename CreateTimeT = Aws::Utils::DateTime>
151 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
152 template<typename CreateTimeT = Aws::Utils::DateTime>
153 App& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
155
157
160 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
161 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
162 template<typename UpdateTimeT = Aws::Utils::DateTime>
163 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
164 template<typename UpdateTimeT = Aws::Utils::DateTime>
165 App& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
167
169
177 inline const Aws::String& GetComputeRoleArn() const { return m_computeRoleArn; }
178 inline bool ComputeRoleArnHasBeenSet() const { return m_computeRoleArnHasBeenSet; }
179 template<typename ComputeRoleArnT = Aws::String>
180 void SetComputeRoleArn(ComputeRoleArnT&& value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn = std::forward<ComputeRoleArnT>(value); }
181 template<typename ComputeRoleArnT = Aws::String>
182 App& WithComputeRoleArn(ComputeRoleArnT&& value) { SetComputeRoleArn(std::forward<ComputeRoleArnT>(value)); return *this;}
184
186
190 inline const Aws::String& GetIamServiceRoleArn() const { return m_iamServiceRoleArn; }
191 inline bool IamServiceRoleArnHasBeenSet() const { return m_iamServiceRoleArnHasBeenSet; }
192 template<typename IamServiceRoleArnT = Aws::String>
193 void SetIamServiceRoleArn(IamServiceRoleArnT&& value) { m_iamServiceRoleArnHasBeenSet = true; m_iamServiceRoleArn = std::forward<IamServiceRoleArnT>(value); }
194 template<typename IamServiceRoleArnT = Aws::String>
195 App& WithIamServiceRoleArn(IamServiceRoleArnT&& value) { SetIamServiceRoleArn(std::forward<IamServiceRoleArnT>(value)); return *this;}
197
199
205 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const { return m_environmentVariables; }
206 inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
207 template<typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
208 void SetEnvironmentVariables(EnvironmentVariablesT&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::forward<EnvironmentVariablesT>(value); }
209 template<typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
210 App& WithEnvironmentVariables(EnvironmentVariablesT&& value) { SetEnvironmentVariables(std::forward<EnvironmentVariablesT>(value)); return *this;}
211 template<typename EnvironmentVariablesKeyT = Aws::String, typename EnvironmentVariablesValueT = Aws::String>
212 App& AddEnvironmentVariables(EnvironmentVariablesKeyT&& key, EnvironmentVariablesValueT&& value) {
213 m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value)); return *this;
214 }
216
218
221 inline const Aws::String& GetDefaultDomain() const { return m_defaultDomain; }
222 inline bool DefaultDomainHasBeenSet() const { return m_defaultDomainHasBeenSet; }
223 template<typename DefaultDomainT = Aws::String>
224 void SetDefaultDomain(DefaultDomainT&& value) { m_defaultDomainHasBeenSet = true; m_defaultDomain = std::forward<DefaultDomainT>(value); }
225 template<typename DefaultDomainT = Aws::String>
226 App& WithDefaultDomain(DefaultDomainT&& value) { SetDefaultDomain(std::forward<DefaultDomainT>(value)); return *this;}
228
230
233 inline bool GetEnableBranchAutoBuild() const { return m_enableBranchAutoBuild; }
234 inline bool EnableBranchAutoBuildHasBeenSet() const { return m_enableBranchAutoBuildHasBeenSet; }
235 inline void SetEnableBranchAutoBuild(bool value) { m_enableBranchAutoBuildHasBeenSet = true; m_enableBranchAutoBuild = value; }
236 inline App& WithEnableBranchAutoBuild(bool value) { SetEnableBranchAutoBuild(value); return *this;}
238
240
244 inline bool GetEnableBranchAutoDeletion() const { return m_enableBranchAutoDeletion; }
245 inline bool EnableBranchAutoDeletionHasBeenSet() const { return m_enableBranchAutoDeletionHasBeenSet; }
246 inline void SetEnableBranchAutoDeletion(bool value) { m_enableBranchAutoDeletionHasBeenSet = true; m_enableBranchAutoDeletion = value; }
247 inline App& WithEnableBranchAutoDeletion(bool value) { SetEnableBranchAutoDeletion(value); return *this;}
249
251
254 inline bool GetEnableBasicAuth() const { return m_enableBasicAuth; }
255 inline bool EnableBasicAuthHasBeenSet() const { return m_enableBasicAuthHasBeenSet; }
256 inline void SetEnableBasicAuth(bool value) { m_enableBasicAuthHasBeenSet = true; m_enableBasicAuth = value; }
257 inline App& WithEnableBasicAuth(bool value) { SetEnableBasicAuth(value); return *this;}
259
261
266 inline const Aws::String& GetBasicAuthCredentials() const { return m_basicAuthCredentials; }
267 inline bool BasicAuthCredentialsHasBeenSet() const { return m_basicAuthCredentialsHasBeenSet; }
268 template<typename BasicAuthCredentialsT = Aws::String>
269 void SetBasicAuthCredentials(BasicAuthCredentialsT&& value) { m_basicAuthCredentialsHasBeenSet = true; m_basicAuthCredentials = std::forward<BasicAuthCredentialsT>(value); }
270 template<typename BasicAuthCredentialsT = Aws::String>
271 App& WithBasicAuthCredentials(BasicAuthCredentialsT&& value) { SetBasicAuthCredentials(std::forward<BasicAuthCredentialsT>(value)); return *this;}
273
275
278 inline const Aws::Vector<CustomRule>& GetCustomRules() const { return m_customRules; }
279 inline bool CustomRulesHasBeenSet() const { return m_customRulesHasBeenSet; }
280 template<typename CustomRulesT = Aws::Vector<CustomRule>>
281 void SetCustomRules(CustomRulesT&& value) { m_customRulesHasBeenSet = true; m_customRules = std::forward<CustomRulesT>(value); }
282 template<typename CustomRulesT = Aws::Vector<CustomRule>>
283 App& WithCustomRules(CustomRulesT&& value) { SetCustomRules(std::forward<CustomRulesT>(value)); return *this;}
284 template<typename CustomRulesT = CustomRule>
285 App& AddCustomRules(CustomRulesT&& value) { m_customRulesHasBeenSet = true; m_customRules.emplace_back(std::forward<CustomRulesT>(value)); return *this; }
287
289
292 inline const ProductionBranch& GetProductionBranch() const { return m_productionBranch; }
293 inline bool ProductionBranchHasBeenSet() const { return m_productionBranchHasBeenSet; }
294 template<typename ProductionBranchT = ProductionBranch>
295 void SetProductionBranch(ProductionBranchT&& value) { m_productionBranchHasBeenSet = true; m_productionBranch = std::forward<ProductionBranchT>(value); }
296 template<typename ProductionBranchT = ProductionBranch>
297 App& WithProductionBranch(ProductionBranchT&& value) { SetProductionBranch(std::forward<ProductionBranchT>(value)); return *this;}
299
301
305 inline const Aws::String& GetBuildSpec() const { return m_buildSpec; }
306 inline bool BuildSpecHasBeenSet() const { return m_buildSpecHasBeenSet; }
307 template<typename BuildSpecT = Aws::String>
308 void SetBuildSpec(BuildSpecT&& value) { m_buildSpecHasBeenSet = true; m_buildSpec = std::forward<BuildSpecT>(value); }
309 template<typename BuildSpecT = Aws::String>
310 App& WithBuildSpec(BuildSpecT&& value) { SetBuildSpec(std::forward<BuildSpecT>(value)); return *this;}
312
314
317 inline const Aws::String& GetCustomHeaders() const { return m_customHeaders; }
318 inline bool CustomHeadersHasBeenSet() const { return m_customHeadersHasBeenSet; }
319 template<typename CustomHeadersT = Aws::String>
320 void SetCustomHeaders(CustomHeadersT&& value) { m_customHeadersHasBeenSet = true; m_customHeaders = std::forward<CustomHeadersT>(value); }
321 template<typename CustomHeadersT = Aws::String>
322 App& WithCustomHeaders(CustomHeadersT&& value) { SetCustomHeaders(std::forward<CustomHeadersT>(value)); return *this;}
324
326
329 inline bool GetEnableAutoBranchCreation() const { return m_enableAutoBranchCreation; }
330 inline bool EnableAutoBranchCreationHasBeenSet() const { return m_enableAutoBranchCreationHasBeenSet; }
331 inline void SetEnableAutoBranchCreation(bool value) { m_enableAutoBranchCreationHasBeenSet = true; m_enableAutoBranchCreation = value; }
332 inline App& WithEnableAutoBranchCreation(bool value) { SetEnableAutoBranchCreation(value); return *this;}
334
336
340 inline const Aws::Vector<Aws::String>& GetAutoBranchCreationPatterns() const { return m_autoBranchCreationPatterns; }
341 inline bool AutoBranchCreationPatternsHasBeenSet() const { return m_autoBranchCreationPatternsHasBeenSet; }
342 template<typename AutoBranchCreationPatternsT = Aws::Vector<Aws::String>>
343 void SetAutoBranchCreationPatterns(AutoBranchCreationPatternsT&& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns = std::forward<AutoBranchCreationPatternsT>(value); }
344 template<typename AutoBranchCreationPatternsT = Aws::Vector<Aws::String>>
345 App& WithAutoBranchCreationPatterns(AutoBranchCreationPatternsT&& value) { SetAutoBranchCreationPatterns(std::forward<AutoBranchCreationPatternsT>(value)); return *this;}
346 template<typename AutoBranchCreationPatternsT = Aws::String>
347 App& AddAutoBranchCreationPatterns(AutoBranchCreationPatternsT&& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns.emplace_back(std::forward<AutoBranchCreationPatternsT>(value)); return *this; }
349
351
355 inline const AutoBranchCreationConfig& GetAutoBranchCreationConfig() const { return m_autoBranchCreationConfig; }
356 inline bool AutoBranchCreationConfigHasBeenSet() const { return m_autoBranchCreationConfigHasBeenSet; }
357 template<typename AutoBranchCreationConfigT = AutoBranchCreationConfig>
358 void SetAutoBranchCreationConfig(AutoBranchCreationConfigT&& value) { m_autoBranchCreationConfigHasBeenSet = true; m_autoBranchCreationConfig = std::forward<AutoBranchCreationConfigT>(value); }
359 template<typename AutoBranchCreationConfigT = AutoBranchCreationConfig>
360 App& WithAutoBranchCreationConfig(AutoBranchCreationConfigT&& value) { SetAutoBranchCreationConfig(std::forward<AutoBranchCreationConfigT>(value)); return *this;}
362
364
371 inline RepositoryCloneMethod GetRepositoryCloneMethod() const { return m_repositoryCloneMethod; }
372 inline bool RepositoryCloneMethodHasBeenSet() const { return m_repositoryCloneMethodHasBeenSet; }
373 inline void SetRepositoryCloneMethod(RepositoryCloneMethod value) { m_repositoryCloneMethodHasBeenSet = true; m_repositoryCloneMethod = value; }
376
378
383 inline const CacheConfig& GetCacheConfig() const { return m_cacheConfig; }
384 inline bool CacheConfigHasBeenSet() const { return m_cacheConfigHasBeenSet; }
385 template<typename CacheConfigT = CacheConfig>
386 void SetCacheConfig(CacheConfigT&& value) { m_cacheConfigHasBeenSet = true; m_cacheConfig = std::forward<CacheConfigT>(value); }
387 template<typename CacheConfigT = CacheConfig>
388 App& WithCacheConfig(CacheConfigT&& value) { SetCacheConfig(std::forward<CacheConfigT>(value)); return *this;}
390
392
395 inline const Aws::Utils::DateTime& GetWebhookCreateTime() const { return m_webhookCreateTime; }
396 inline bool WebhookCreateTimeHasBeenSet() const { return m_webhookCreateTimeHasBeenSet; }
397 template<typename WebhookCreateTimeT = Aws::Utils::DateTime>
398 void SetWebhookCreateTime(WebhookCreateTimeT&& value) { m_webhookCreateTimeHasBeenSet = true; m_webhookCreateTime = std::forward<WebhookCreateTimeT>(value); }
399 template<typename WebhookCreateTimeT = Aws::Utils::DateTime>
400 App& WithWebhookCreateTime(WebhookCreateTimeT&& value) { SetWebhookCreateTime(std::forward<WebhookCreateTimeT>(value)); return *this;}
402
404
409 inline const WafConfiguration& GetWafConfiguration() const { return m_wafConfiguration; }
410 inline bool WafConfigurationHasBeenSet() const { return m_wafConfigurationHasBeenSet; }
411 template<typename WafConfigurationT = WafConfiguration>
412 void SetWafConfiguration(WafConfigurationT&& value) { m_wafConfigurationHasBeenSet = true; m_wafConfiguration = std::forward<WafConfigurationT>(value); }
413 template<typename WafConfigurationT = WafConfiguration>
414 App& WithWafConfiguration(WafConfigurationT&& value) { SetWafConfiguration(std::forward<WafConfigurationT>(value)); return *this;}
416
418
421 inline const JobConfig& GetJobConfig() const { return m_jobConfig; }
422 inline bool JobConfigHasBeenSet() const { return m_jobConfigHasBeenSet; }
423 template<typename JobConfigT = JobConfig>
424 void SetJobConfig(JobConfigT&& value) { m_jobConfigHasBeenSet = true; m_jobConfig = std::forward<JobConfigT>(value); }
425 template<typename JobConfigT = JobConfig>
426 App& WithJobConfig(JobConfigT&& value) { SetJobConfig(std::forward<JobConfigT>(value)); return *this;}
428 private:
429
430 Aws::String m_appId;
431 bool m_appIdHasBeenSet = false;
432
433 Aws::String m_appArn;
434 bool m_appArnHasBeenSet = false;
435
436 Aws::String m_name;
437 bool m_nameHasBeenSet = false;
438
440 bool m_tagsHasBeenSet = false;
441
442 Aws::String m_description;
443 bool m_descriptionHasBeenSet = false;
444
445 Aws::String m_repository;
446 bool m_repositoryHasBeenSet = false;
447
448 Platform m_platform{Platform::NOT_SET};
449 bool m_platformHasBeenSet = false;
450
451 Aws::Utils::DateTime m_createTime{};
452 bool m_createTimeHasBeenSet = false;
453
454 Aws::Utils::DateTime m_updateTime{};
455 bool m_updateTimeHasBeenSet = false;
456
457 Aws::String m_computeRoleArn;
458 bool m_computeRoleArnHasBeenSet = false;
459
460 Aws::String m_iamServiceRoleArn;
461 bool m_iamServiceRoleArnHasBeenSet = false;
462
463 Aws::Map<Aws::String, Aws::String> m_environmentVariables;
464 bool m_environmentVariablesHasBeenSet = false;
465
466 Aws::String m_defaultDomain;
467 bool m_defaultDomainHasBeenSet = false;
468
469 bool m_enableBranchAutoBuild{false};
470 bool m_enableBranchAutoBuildHasBeenSet = false;
471
472 bool m_enableBranchAutoDeletion{false};
473 bool m_enableBranchAutoDeletionHasBeenSet = false;
474
475 bool m_enableBasicAuth{false};
476 bool m_enableBasicAuthHasBeenSet = false;
477
478 Aws::String m_basicAuthCredentials;
479 bool m_basicAuthCredentialsHasBeenSet = false;
480
481 Aws::Vector<CustomRule> m_customRules;
482 bool m_customRulesHasBeenSet = false;
483
484 ProductionBranch m_productionBranch;
485 bool m_productionBranchHasBeenSet = false;
486
487 Aws::String m_buildSpec;
488 bool m_buildSpecHasBeenSet = false;
489
490 Aws::String m_customHeaders;
491 bool m_customHeadersHasBeenSet = false;
492
493 bool m_enableAutoBranchCreation{false};
494 bool m_enableAutoBranchCreationHasBeenSet = false;
495
496 Aws::Vector<Aws::String> m_autoBranchCreationPatterns;
497 bool m_autoBranchCreationPatternsHasBeenSet = false;
498
499 AutoBranchCreationConfig m_autoBranchCreationConfig;
500 bool m_autoBranchCreationConfigHasBeenSet = false;
501
503 bool m_repositoryCloneMethodHasBeenSet = false;
504
505 CacheConfig m_cacheConfig;
506 bool m_cacheConfigHasBeenSet = false;
507
508 Aws::Utils::DateTime m_webhookCreateTime{};
509 bool m_webhookCreateTimeHasBeenSet = false;
510
511 WafConfiguration m_wafConfiguration;
512 bool m_wafConfigurationHasBeenSet = false;
513
514 JobConfig m_jobConfig;
515 bool m_jobConfigHasBeenSet = false;
516 };
517
518} // namespace Model
519} // namespace Amplify
520} // namespace Aws
bool RepositoryCloneMethodHasBeenSet() const
Definition App.h:372
void SetCreateTime(CreateTimeT &&value)
Definition App.h:151
void SetAppId(AppIdT &&value)
Definition App.h:59
const Aws::String & GetName() const
Definition App.h:80
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
App & WithWafConfiguration(WafConfigurationT &&value)
Definition App.h:414
App & WithName(NameT &&value)
Definition App.h:85
bool CustomRulesHasBeenSet() const
Definition App.h:279
const WafConfiguration & GetWafConfiguration() const
Definition App.h:409
App & WithAppArn(AppArnT &&value)
Definition App.h:73
bool NameHasBeenSet() const
Definition App.h:81
const ProductionBranch & GetProductionBranch() const
Definition App.h:292
App & WithPlatform(Platform value)
Definition App.h:141
App & WithAutoBranchCreationPatterns(AutoBranchCreationPatternsT &&value)
Definition App.h:345
void SetAutoBranchCreationPatterns(AutoBranchCreationPatternsT &&value)
Definition App.h:343
bool DefaultDomainHasBeenSet() const
Definition App.h:222
bool CustomHeadersHasBeenSet() const
Definition App.h:318
App & WithJobConfig(JobConfigT &&value)
Definition App.h:426
App & WithIamServiceRoleArn(IamServiceRoleArnT &&value)
Definition App.h:195
App & WithBasicAuthCredentials(BasicAuthCredentialsT &&value)
Definition App.h:271
App & WithRepositoryCloneMethod(RepositoryCloneMethod value)
Definition App.h:374
App & WithEnableBranchAutoDeletion(bool value)
Definition App.h:247
bool PlatformHasBeenSet() const
Definition App.h:139
void SetEnableAutoBranchCreation(bool value)
Definition App.h:331
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition App.h:92
App & WithTags(TagsT &&value)
Definition App.h:97
void SetWafConfiguration(WafConfigurationT &&value)
Definition App.h:412
const Aws::String & GetIamServiceRoleArn() const
Definition App.h:190
const Aws::Vector< Aws::String > & GetAutoBranchCreationPatterns() const
Definition App.h:340
void SetCustomRules(CustomRulesT &&value)
Definition App.h:281
AWS_AMPLIFY_API App(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetComputeRoleArn() const
Definition App.h:177
void SetPlatform(Platform value)
Definition App.h:140
bool WafConfigurationHasBeenSet() const
Definition App.h:410
App & WithAppId(AppIdT &&value)
Definition App.h:61
const Aws::Vector< CustomRule > & GetCustomRules() const
Definition App.h:278
const Aws::Utils::DateTime & GetWebhookCreateTime() const
Definition App.h:395
const AutoBranchCreationConfig & GetAutoBranchCreationConfig() const
Definition App.h:355
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
Definition App.h:205
bool RepositoryHasBeenSet() const
Definition App.h:121
void SetWebhookCreateTime(WebhookCreateTimeT &&value)
Definition App.h:398
void SetBasicAuthCredentials(BasicAuthCredentialsT &&value)
Definition App.h:269
void SetEnableBasicAuth(bool value)
Definition App.h:256
bool GetEnableBranchAutoBuild() const
Definition App.h:233
bool EnvironmentVariablesHasBeenSet() const
Definition App.h:206
void SetDefaultDomain(DefaultDomainT &&value)
Definition App.h:224
const Aws::Utils::DateTime & GetCreateTime() const
Definition App.h:148
bool WebhookCreateTimeHasBeenSet() const
Definition App.h:396
App & WithCustomRules(CustomRulesT &&value)
Definition App.h:283
bool GetEnableBasicAuth() const
Definition App.h:254
bool GetEnableBranchAutoDeletion() const
Definition App.h:244
App & WithDescription(DescriptionT &&value)
Definition App.h:113
const Aws::String & GetAppId() const
Definition App.h:56
bool AutoBranchCreationConfigHasBeenSet() const
Definition App.h:356
const Aws::String & GetCustomHeaders() const
Definition App.h:317
bool EnableAutoBranchCreationHasBeenSet() const
Definition App.h:330
const Aws::String & GetBasicAuthCredentials() const
Definition App.h:266
void SetCustomHeaders(CustomHeadersT &&value)
Definition App.h:320
bool ProductionBranchHasBeenSet() const
Definition App.h:293
void SetComputeRoleArn(ComputeRoleArnT &&value)
Definition App.h:180
void SetCacheConfig(CacheConfigT &&value)
Definition App.h:386
const CacheConfig & GetCacheConfig() const
Definition App.h:383
App & WithWebhookCreateTime(WebhookCreateTimeT &&value)
Definition App.h:400
App & WithProductionBranch(ProductionBranchT &&value)
Definition App.h:297
App & WithCreateTime(CreateTimeT &&value)
Definition App.h:153
bool BuildSpecHasBeenSet() const
Definition App.h:306
App & WithEnableBranchAutoBuild(bool value)
Definition App.h:236
App & WithComputeRoleArn(ComputeRoleArnT &&value)
Definition App.h:182
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
Definition App.h:208
bool TagsHasBeenSet() const
Definition App.h:93
RepositoryCloneMethod GetRepositoryCloneMethod() const
Definition App.h:371
App & WithBuildSpec(BuildSpecT &&value)
Definition App.h:310
void SetAutoBranchCreationConfig(AutoBranchCreationConfigT &&value)
Definition App.h:358
App & WithAutoBranchCreationConfig(AutoBranchCreationConfigT &&value)
Definition App.h:360
bool DescriptionHasBeenSet() const
Definition App.h:109
bool EnableBranchAutoDeletionHasBeenSet() const
Definition App.h:245
bool IamServiceRoleArnHasBeenSet() const
Definition App.h:191
bool EnableBranchAutoBuildHasBeenSet() const
Definition App.h:234
App & WithCustomHeaders(CustomHeadersT &&value)
Definition App.h:322
void SetRepository(RepositoryT &&value)
Definition App.h:123
bool AutoBranchCreationPatternsHasBeenSet() const
Definition App.h:341
App & WithEnableBasicAuth(bool value)
Definition App.h:257
bool AppIdHasBeenSet() const
Definition App.h:57
App & WithUpdateTime(UpdateTimeT &&value)
Definition App.h:165
void SetName(NameT &&value)
Definition App.h:83
bool JobConfigHasBeenSet() const
Definition App.h:422
bool UpdateTimeHasBeenSet() const
Definition App.h:161
App & WithEnableAutoBranchCreation(bool value)
Definition App.h:332
const Aws::String & GetBuildSpec() const
Definition App.h:305
bool AppArnHasBeenSet() const
Definition App.h:69
bool CacheConfigHasBeenSet() const
Definition App.h:384
void SetTags(TagsT &&value)
Definition App.h:95
AWS_AMPLIFY_API App & operator=(Aws::Utils::Json::JsonView jsonValue)
const JobConfig & GetJobConfig() const
Definition App.h:421
App & AddAutoBranchCreationPatterns(AutoBranchCreationPatternsT &&value)
Definition App.h:347
void SetUpdateTime(UpdateTimeT &&value)
Definition App.h:163
bool BasicAuthCredentialsHasBeenSet() const
Definition App.h:267
App & WithCacheConfig(CacheConfigT &&value)
Definition App.h:388
bool ComputeRoleArnHasBeenSet() const
Definition App.h:178
const Aws::Utils::DateTime & GetUpdateTime() const
Definition App.h:160
void SetBuildSpec(BuildSpecT &&value)
Definition App.h:308
void SetAppArn(AppArnT &&value)
Definition App.h:71
App & WithEnvironmentVariables(EnvironmentVariablesT &&value)
Definition App.h:210
void SetRepositoryCloneMethod(RepositoryCloneMethod value)
Definition App.h:373
void SetEnableBranchAutoBuild(bool value)
Definition App.h:235
Platform GetPlatform() const
Definition App.h:138
App & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
Definition App.h:212
App & WithDefaultDomain(DefaultDomainT &&value)
Definition App.h:226
void SetProductionBranch(ProductionBranchT &&value)
Definition App.h:295
void SetJobConfig(JobConfigT &&value)
Definition App.h:424
App & WithRepository(RepositoryT &&value)
Definition App.h:125
bool CreateTimeHasBeenSet() const
Definition App.h:149
void SetEnableBranchAutoDeletion(bool value)
Definition App.h:246
AWS_AMPLIFY_API App()=default
const Aws::String & GetDescription() const
Definition App.h:108
const Aws::String & GetDefaultDomain() const
Definition App.h:221
void SetDescription(DescriptionT &&value)
Definition App.h:111
const Aws::String & GetAppArn() const
Definition App.h:68
App & AddCustomRules(CustomRulesT &&value)
Definition App.h:285
bool EnableBasicAuthHasBeenSet() const
Definition App.h:255
void SetIamServiceRoleArn(IamServiceRoleArnT &&value)
Definition App.h:193
const Aws::String & GetRepository() const
Definition App.h:120
App & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition App.h:99
bool GetEnableAutoBranchCreation() const
Definition App.h:329
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