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>
44 AWS_AMPLIFY_API
App();
58 inline void SetAppId(
const char* value) { m_appIdHasBeenSet =
true; m_appId.assign(value); }
72 inline void SetAppArn(
const char* value) { m_appArnHasBeenSet =
true; m_appArn.assign(value); }
86 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
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; }
119 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
133 inline void SetRepository(
const char* value) { m_repositoryHasBeenSet =
true; m_repository.assign(value); }
190 inline void SetIamServiceRoleArn(
const char* value) { m_iamServiceRoleArnHasBeenSet =
true; m_iamServiceRoleArn.assign(value); }
215 inline App&
AddEnvironmentVariables(
const char* key,
const char* value) { m_environmentVariablesHasBeenSet =
true; m_environmentVariables.emplace(key, value);
return *
this; }
226 inline void SetDefaultDomain(
const char* value) { m_defaultDomainHasBeenSet =
true; m_defaultDomain.assign(value); }
259 inline void SetEnableBasicAuth(
bool value) { m_enableBasicAuthHasBeenSet =
true; m_enableBasicAuth = value; }
273 inline void SetBasicAuthCredentials(
const char* value) { m_basicAuthCredentialsHasBeenSet =
true; m_basicAuthCredentials.assign(value); }
314 inline void SetBuildSpec(
const char* value) { m_buildSpecHasBeenSet =
true; m_buildSpec.assign(value); }
328 inline void SetCustomHeaders(
const char* value) { m_customHeadersHasBeenSet =
true; m_customHeaders.assign(value); }
357 inline App&
AddAutoBranchCreationPatterns(
const char* value) { m_autoBranchCreationPatternsHasBeenSet =
true; m_autoBranchCreationPatterns.push_back(value);
return *
this; }
405 bool m_appIdHasBeenSet =
false;
408 bool m_appArnHasBeenSet =
false;
411 bool m_nameHasBeenSet =
false;
414 bool m_tagsHasBeenSet =
false;
417 bool m_descriptionHasBeenSet =
false;
420 bool m_repositoryHasBeenSet =
false;
423 bool m_platformHasBeenSet =
false;
426 bool m_createTimeHasBeenSet =
false;
429 bool m_updateTimeHasBeenSet =
false;
432 bool m_iamServiceRoleArnHasBeenSet =
false;
435 bool m_environmentVariablesHasBeenSet =
false;
438 bool m_defaultDomainHasBeenSet =
false;
440 bool m_enableBranchAutoBuild;
441 bool m_enableBranchAutoBuildHasBeenSet =
false;
443 bool m_enableBranchAutoDeletion;
444 bool m_enableBranchAutoDeletionHasBeenSet =
false;
446 bool m_enableBasicAuth;
447 bool m_enableBasicAuthHasBeenSet =
false;
450 bool m_basicAuthCredentialsHasBeenSet =
false;
453 bool m_customRulesHasBeenSet =
false;
456 bool m_productionBranchHasBeenSet =
false;
459 bool m_buildSpecHasBeenSet =
false;
462 bool m_customHeadersHasBeenSet =
false;
464 bool m_enableAutoBranchCreation;
465 bool m_enableAutoBranchCreationHasBeenSet =
false;
468 bool m_autoBranchCreationPatternsHasBeenSet =
false;
471 bool m_autoBranchCreationConfigHasBeenSet =
false;
474 bool m_repositoryCloneMethodHasBeenSet =
false;
477 bool m_cacheConfigHasBeenSet =
false;
App & WithCacheConfig(const CacheConfig &value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
void SetRepository(const char *value)
bool RepositoryCloneMethodHasBeenSet() const
const Aws::String & GetName() const
void SetIamServiceRoleArn(const Aws::String &value)
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
App & WithDescription(const char *value)
bool CustomRulesHasBeenSet() const
bool NameHasBeenSet() const
const ProductionBranch & GetProductionBranch() const
void SetRepository(Aws::String &&value)
App & WithAppArn(const Aws::String &value)
void SetIamServiceRoleArn(const char *value)
bool DefaultDomainHasBeenSet() const
bool CustomHeadersHasBeenSet() const
App & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
App & WithName(Aws::String &&value)
void SetCustomHeaders(Aws::String &&value)
App & WithDefaultDomain(Aws::String &&value)
App & WithEnableBranchAutoDeletion(bool value)
bool PlatformHasBeenSet() const
void SetEnableAutoBranchCreation(bool value)
App & WithIamServiceRoleArn(const char *value)
App & WithIamServiceRoleArn(Aws::String &&value)
void SetCustomRules(const Aws::Vector< CustomRule > &value)
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
App & WithName(const char *value)
App & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
App & WithBasicAuthCredentials(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetCacheConfig(CacheConfig &&value)
void SetName(Aws::String &&value)
App & WithDefaultDomain(const char *value)
const Aws::String & GetIamServiceRoleArn() const
void SetBuildSpec(const Aws::String &value)
void SetBuildSpec(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAutoBranchCreationPatterns() const
AWS_AMPLIFY_API App(Aws::Utils::Json::JsonView jsonValue)
App & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
App & WithAppArn(const char *value)
App & WithCreateTime(Aws::Utils::DateTime &&value)
void SetIamServiceRoleArn(Aws::String &&value)
App & WithRepositoryCloneMethod(RepositoryCloneMethod &&value)
void SetPlatform(Platform &&value)
App & AddTags(Aws::String &&key, const Aws::String &value)
App & AddTags(const char *key, Aws::String &&value)
const Aws::Vector< CustomRule > & GetCustomRules() const
void SetDescription(Aws::String &&value)
const AutoBranchCreationConfig & GetAutoBranchCreationConfig() const
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
bool RepositoryHasBeenSet() const
App & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
App & WithName(const Aws::String &value)
App & WithRepository(const char *value)
App & AddAutoBranchCreationPatterns(Aws::String &&value)
void SetEnableBasicAuth(bool value)
bool GetEnableBranchAutoBuild() const
bool EnvironmentVariablesHasBeenSet() const
const Aws::Utils::DateTime & GetCreateTime() const
bool GetEnableBasicAuth() const
void SetAppId(const Aws::String &value)
App & WithBuildSpec(const char *value)
void SetAppArn(const char *value)
bool GetEnableBranchAutoDeletion() const
App & AddTags(const char *key, const char *value)
void SetAutoBranchCreationPatterns(Aws::Vector< Aws::String > &&value)
App & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetAppId() const
bool AutoBranchCreationConfigHasBeenSet() const
void SetPlatform(const Platform &value)
const Aws::String & GetCustomHeaders() const
void SetRepositoryCloneMethod(const RepositoryCloneMethod &value)
App & WithDescription(const Aws::String &value)
App & WithDefaultDomain(const Aws::String &value)
App & WithCustomHeaders(const Aws::String &value)
bool EnableAutoBranchCreationHasBeenSet() const
const Aws::String & GetBasicAuthCredentials() const
bool ProductionBranchHasBeenSet() const
void SetName(const Aws::String &value)
App & WithCacheConfig(CacheConfig &&value)
App & WithRepositoryCloneMethod(const RepositoryCloneMethod &value)
const CacheConfig & GetCacheConfig() const
void SetName(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetBasicAuthCredentials(Aws::String &&value)
App & WithAutoBranchCreationPatterns(const Aws::Vector< Aws::String > &value)
App & WithCreateTime(const Aws::Utils::DateTime &value)
bool BuildSpecHasBeenSet() const
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
App & WithEnableBranchAutoBuild(bool value)
App & AddTags(const Aws::String &key, Aws::String &&value)
void SetCustomHeaders(const Aws::String &value)
App & WithProductionBranch(const ProductionBranch &value)
App & WithRepository(const Aws::String &value)
App & AddTags(Aws::String &&key, Aws::String &&value)
bool TagsHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetBasicAuthCredentials(const char *value)
App & AddEnvironmentVariables(const char *key, const char *value)
bool EnableBranchAutoDeletionHasBeenSet() const
App & WithAppArn(Aws::String &&value)
App & WithAutoBranchCreationConfig(AutoBranchCreationConfig &&value)
void SetAutoBranchCreationConfig(AutoBranchCreationConfig &&value)
bool IamServiceRoleArnHasBeenSet() const
App & WithCustomRules(const Aws::Vector< CustomRule > &value)
App & WithRepository(Aws::String &&value)
bool EnableBranchAutoBuildHasBeenSet() const
App & WithBasicAuthCredentials(const Aws::String &value)
App & WithDescription(Aws::String &&value)
void SetProductionBranch(ProductionBranch &&value)
bool AutoBranchCreationPatternsHasBeenSet() const
App & WithEnableBasicAuth(bool value)
bool AppIdHasBeenSet() const
App & WithPlatform(Platform &&value)
void SetAutoBranchCreationConfig(const AutoBranchCreationConfig &value)
App & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
App & WithCustomRules(Aws::Vector< CustomRule > &&value)
bool UpdateTimeHasBeenSet() const
void SetDefaultDomain(Aws::String &&value)
App & WithEnableAutoBranchCreation(bool value)
App & WithUpdateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetBuildSpec() const
bool AppArnHasBeenSet() const
bool CacheConfigHasBeenSet() const
void SetCustomRules(Aws::Vector< CustomRule > &&value)
AWS_AMPLIFY_API App & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDescription(const char *value)
App & WithAppId(Aws::String &&value)
App & WithCustomHeaders(Aws::String &&value)
void SetDefaultDomain(const char *value)
bool BasicAuthCredentialsHasBeenSet() const
App & AddCustomRules(const CustomRule &value)
App & WithBasicAuthCredentials(const char *value)
App & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
void SetAppArn(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdateTime() const
App & WithBuildSpec(const Aws::String &value)
App & AddEnvironmentVariables(const char *key, Aws::String &&value)
App & WithProductionBranch(ProductionBranch &&value)
void SetBuildSpec(const char *value)
App & WithAutoBranchCreationConfig(const AutoBranchCreationConfig &value)
App & WithAppId(const char *value)
void SetEnableBranchAutoBuild(bool value)
void SetAppId(Aws::String &&value)
App & AddEnvironmentVariables(Aws::String &&key, const char *value)
void SetBasicAuthCredentials(const Aws::String &value)
void SetProductionBranch(const ProductionBranch &value)
App & AddTags(const Aws::String &key, const Aws::String &value)
void SetDefaultDomain(const Aws::String &value)
bool CreateTimeHasBeenSet() const
void SetRepository(const Aws::String &value)
App & WithCustomHeaders(const char *value)
App & AddAutoBranchCreationPatterns(const char *value)
App & WithPlatform(const Platform &value)
App & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
void SetEnableBranchAutoDeletion(bool value)
App & WithIamServiceRoleArn(const Aws::String &value)
const Platform & GetPlatform() const
App & AddAutoBranchCreationPatterns(const Aws::String &value)
void SetAppArn(Aws::String &&value)
void SetAppId(const char *value)
const Aws::String & GetDescription() const
const Aws::String & GetDefaultDomain() const
void SetCustomHeaders(const char *value)
void SetRepositoryCloneMethod(RepositoryCloneMethod &&value)
App & AddCustomRules(CustomRule &&value)
App & AddTags(Aws::String &&key, const char *value)
App & WithAutoBranchCreationPatterns(Aws::Vector< Aws::String > &&value)
const Aws::String & GetAppArn() const
App & WithUpdateTime(const Aws::Utils::DateTime &value)
bool EnableBasicAuthHasBeenSet() const
App & WithBuildSpec(Aws::String &&value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
void SetCacheConfig(const CacheConfig &value)
const Aws::String & GetRepository() const
const RepositoryCloneMethod & GetRepositoryCloneMethod() const
App & WithAppId(const Aws::String &value)
bool GetEnableAutoBranchCreation() const
void SetAutoBranchCreationPatterns(const Aws::Vector< Aws::String > &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