7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/AmplifyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/amplify/model/Platform.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/amplify/model/AutoBranchCreationConfig.h>
14#include <aws/amplify/model/CacheConfig.h>
15#include <aws/amplify/model/CustomRule.h>
53 inline void SetAppId(
const char* value) { m_appIdHasBeenSet =
true; m_appId.assign(value); }
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
81 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
114 inline void SetIamServiceRoleArn(
const char* value) { m_iamServiceRoleArnHasBeenSet =
true; m_iamServiceRoleArn.assign(value); }
166 inline void SetEnableBasicAuth(
bool value) { m_enableBasicAuthHasBeenSet =
true; m_enableBasicAuth = value; }
180 inline void SetBasicAuthCredentials(
const char* value) { m_basicAuthCredentialsHasBeenSet =
true; m_basicAuthCredentials.assign(value); }
208 inline void SetBuildSpec(
const char* value) { m_buildSpecHasBeenSet =
true; m_buildSpec.assign(value); }
222 inline void SetCustomHeaders(
const char* value) { m_customHeadersHasBeenSet =
true; m_customHeaders.assign(value); }
274 inline void SetRepository(
const char* value) { m_repositoryHasBeenSet =
true; m_repository.assign(value); }
300 inline void SetOauthToken(
const char* value) { m_oauthTokenHasBeenSet =
true; m_oauthToken.assign(value); }
326 inline void SetAccessToken(
const char* value) { m_accessTokenHasBeenSet =
true; m_accessToken.assign(value); }
346 bool m_appIdHasBeenSet =
false;
349 bool m_nameHasBeenSet =
false;
352 bool m_descriptionHasBeenSet =
false;
355 bool m_platformHasBeenSet =
false;
358 bool m_iamServiceRoleArnHasBeenSet =
false;
361 bool m_environmentVariablesHasBeenSet =
false;
363 bool m_enableBranchAutoBuild;
364 bool m_enableBranchAutoBuildHasBeenSet =
false;
366 bool m_enableBranchAutoDeletion;
367 bool m_enableBranchAutoDeletionHasBeenSet =
false;
369 bool m_enableBasicAuth;
370 bool m_enableBasicAuthHasBeenSet =
false;
373 bool m_basicAuthCredentialsHasBeenSet =
false;
376 bool m_customRulesHasBeenSet =
false;
379 bool m_buildSpecHasBeenSet =
false;
382 bool m_customHeadersHasBeenSet =
false;
384 bool m_enableAutoBranchCreation;
385 bool m_enableAutoBranchCreationHasBeenSet =
false;
388 bool m_autoBranchCreationPatternsHasBeenSet =
false;
391 bool m_autoBranchCreationConfigHasBeenSet =
false;
394 bool m_repositoryHasBeenSet =
false;
397 bool m_oauthTokenHasBeenSet =
false;
400 bool m_accessTokenHasBeenSet =
false;
403 bool m_cacheConfigHasBeenSet =
false;
UpdateAppRequest & WithAppId(const Aws::String &value)
UpdateAppRequest & WithBasicAuthCredentials(Aws::String &&value)
UpdateAppRequest & WithEnableBranchAutoDeletion(bool value)
void SetEnableAutoBranchCreation(bool value)
bool CustomRulesHasBeenSet() const
UpdateAppRequest & WithAccessToken(const Aws::String &value)
UpdateAppRequest & WithOauthToken(const char *value)
void SetAccessToken(const char *value)
void SetPlatform(const Platform &value)
UpdateAppRequest & WithName(const Aws::String &value)
void SetName(const char *value)
const Aws::String & GetName() const
const Platform & GetPlatform() const
void SetBasicAuthCredentials(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
void SetCustomRules(const Aws::Vector< CustomRule > &value)
UpdateAppRequest & WithAutoBranchCreationPatterns(Aws::Vector< Aws::String > &&value)
bool EnableBranchAutoBuildHasBeenSet() const
void SetEnableBranchAutoBuild(bool value)
const Aws::String & GetRepository() const
void SetBuildSpec(const Aws::String &value)
void SetAutoBranchCreationConfig(const AutoBranchCreationConfig &value)
void SetRepository(Aws::String &&value)
UpdateAppRequest & WithCustomRules(Aws::Vector< CustomRule > &&value)
void SetAutoBranchCreationPatterns(const Aws::Vector< Aws::String > &value)
bool AccessTokenHasBeenSet() const
UpdateAppRequest & WithBuildSpec(Aws::String &&value)
UpdateAppRequest & AddEnvironmentVariables(Aws::String &&key, const char *value)
bool CacheConfigHasBeenSet() const
bool GetEnableBranchAutoBuild() const
void SetIamServiceRoleArn(Aws::String &&value)
bool GetEnableAutoBranchCreation() const
bool RepositoryHasBeenSet() const
bool BasicAuthCredentialsHasBeenSet() const
UpdateAppRequest & WithBuildSpec(const char *value)
const Aws::Vector< Aws::String > & GetAutoBranchCreationPatterns() const
void SetAccessToken(Aws::String &&value)
UpdateAppRequest & WithOauthToken(const Aws::String &value)
UpdateAppRequest & WithEnableBasicAuth(bool value)
void SetIamServiceRoleArn(const char *value)
UpdateAppRequest & WithOauthToken(Aws::String &&value)
UpdateAppRequest & WithBasicAuthCredentials(const char *value)
UpdateAppRequest & WithAppId(const char *value)
void SetAppId(Aws::String &&value)
bool IamServiceRoleArnHasBeenSet() const
void SetEnableBranchAutoDeletion(bool value)
UpdateAppRequest & WithCacheConfig(CacheConfig &&value)
UpdateAppRequest & WithDescription(Aws::String &&value)
void SetDescription(const char *value)
bool PlatformHasBeenSet() const
const CacheConfig & GetCacheConfig() const
void SetBasicAuthCredentials(const char *value)
UpdateAppRequest & WithRepository(const char *value)
void SetAppId(const Aws::String &value)
bool EnableAutoBranchCreationHasBeenSet() const
void SetCustomHeaders(Aws::String &&value)
UpdateAppRequest & AddEnvironmentVariables(const char *key, const char *value)
UpdateAppRequest & WithIamServiceRoleArn(Aws::String &&value)
void SetOauthToken(const char *value)
void SetAppId(const char *value)
UpdateAppRequest & WithEnableBranchAutoBuild(bool value)
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
UpdateAppRequest & WithAccessToken(const char *value)
bool NameHasBeenSet() const
void SetDescription(Aws::String &&value)
UpdateAppRequest & WithCustomHeaders(const Aws::String &value)
void SetCustomHeaders(const Aws::String &value)
void SetName(const Aws::String &value)
UpdateAppRequest & WithRepository(Aws::String &&value)
UpdateAppRequest & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
UpdateAppRequest & WithAppId(Aws::String &&value)
const Aws::String & GetIamServiceRoleArn() const
bool CustomHeadersHasBeenSet() const
void SetName(Aws::String &&value)
UpdateAppRequest & WithBasicAuthCredentials(const Aws::String &value)
void SetPlatform(Platform &&value)
const Aws::String & GetBasicAuthCredentials() const
UpdateAppRequest & AddAutoBranchCreationPatterns(const Aws::String &value)
UpdateAppRequest & WithCustomHeaders(Aws::String &&value)
void SetRepository(const char *value)
void SetAutoBranchCreationConfig(AutoBranchCreationConfig &&value)
UpdateAppRequest & WithIamServiceRoleArn(const char *value)
void SetEnableBasicAuth(bool value)
const AutoBranchCreationConfig & GetAutoBranchCreationConfig() const
UpdateAppRequest & WithRepository(const Aws::String &value)
const Aws::String & GetCustomHeaders() const
UpdateAppRequest & AddCustomRules(const CustomRule &value)
void SetOauthToken(Aws::String &&value)
UpdateAppRequest & WithCustomHeaders(const char *value)
UpdateAppRequest & WithCacheConfig(const CacheConfig &value)
bool AutoBranchCreationPatternsHasBeenSet() const
bool BuildSpecHasBeenSet() const
const Aws::String & GetOauthToken() const
UpdateAppRequest & AddAutoBranchCreationPatterns(const char *value)
const Aws::String & GetBuildSpec() const
UpdateAppRequest & WithName(Aws::String &&value)
bool GetEnableBranchAutoDeletion() const
UpdateAppRequest & WithName(const char *value)
UpdateAppRequest & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
void SetCacheConfig(const CacheConfig &value)
UpdateAppRequest & WithAccessToken(Aws::String &&value)
void SetRepository(const Aws::String &value)
const Aws::String & GetAccessToken() const
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
UpdateAppRequest & WithDescription(const char *value)
const Aws::Vector< CustomRule > & GetCustomRules() const
UpdateAppRequest & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
void SetIamServiceRoleArn(const Aws::String &value)
UpdateAppRequest & WithAutoBranchCreationPatterns(const Aws::Vector< Aws::String > &value)
UpdateAppRequest & WithAutoBranchCreationConfig(AutoBranchCreationConfig &&value)
bool AppIdHasBeenSet() const
void SetOauthToken(const Aws::String &value)
UpdateAppRequest & AddCustomRules(CustomRule &&value)
void SetBuildSpec(const char *value)
UpdateAppRequest & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
void SetCacheConfig(CacheConfig &&value)
UpdateAppRequest & WithEnableAutoBranchCreation(bool value)
AWS_AMPLIFY_API Aws::String SerializePayload() const override
UpdateAppRequest & WithPlatform(const Platform &value)
UpdateAppRequest & WithCustomRules(const Aws::Vector< CustomRule > &value)
void SetDescription(const Aws::String &value)
void SetCustomHeaders(const char *value)
bool EnableBranchAutoDeletionHasBeenSet() const
void SetBasicAuthCredentials(const Aws::String &value)
const Aws::String & GetAppId() const
UpdateAppRequest & WithIamServiceRoleArn(const Aws::String &value)
bool OauthTokenHasBeenSet() const
bool AutoBranchCreationConfigHasBeenSet() const
UpdateAppRequest & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
UpdateAppRequest & WithPlatform(Platform &&value)
UpdateAppRequest & WithBuildSpec(const Aws::String &value)
UpdateAppRequest & WithAutoBranchCreationConfig(const AutoBranchCreationConfig &value)
void SetAccessToken(const Aws::String &value)
AWS_AMPLIFY_API UpdateAppRequest()
bool DescriptionHasBeenSet() const
void SetAutoBranchCreationPatterns(Aws::Vector< Aws::String > &&value)
UpdateAppRequest & AddAutoBranchCreationPatterns(Aws::String &&value)
bool EnableBasicAuthHasBeenSet() const
void SetBuildSpec(Aws::String &&value)
UpdateAppRequest & WithDescription(const Aws::String &value)
bool EnvironmentVariablesHasBeenSet() const
const Aws::String & GetDescription() const
UpdateAppRequest & AddEnvironmentVariables(const char *key, Aws::String &&value)
UpdateAppRequest & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
bool GetEnableBasicAuth() const
void SetCustomRules(Aws::Vector< CustomRule > &&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