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 SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
67 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
81 inline void SetRepository(
const char* value) { m_repositoryHasBeenSet =
true; m_repository.assign(value); }
119 inline void SetIamServiceRoleArn(
const char* value) { m_iamServiceRoleArnHasBeenSet =
true; m_iamServiceRoleArn.assign(value); }
145 inline void SetOauthToken(
const char* value) { m_oauthTokenHasBeenSet =
true; m_oauthToken.assign(value); }
171 inline void SetAccessToken(
const char* value) { m_accessTokenHasBeenSet =
true; m_accessToken.assign(value); }
227 inline void SetEnableBasicAuth(
bool value) { m_enableBasicAuthHasBeenSet =
true; m_enableBasicAuth = value; }
241 inline void SetBasicAuthCredentials(
const char* value) { m_basicAuthCredentialsHasBeenSet =
true; m_basicAuthCredentials.assign(value); }
277 inline CreateAppRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
288 inline void SetBuildSpec(
const char* value) { m_buildSpecHasBeenSet =
true; m_buildSpec.assign(value); }
302 inline void SetCustomHeaders(
const char* value) { m_customHeadersHasBeenSet =
true; m_customHeaders.assign(value); }
359 bool m_nameHasBeenSet =
false;
362 bool m_descriptionHasBeenSet =
false;
365 bool m_repositoryHasBeenSet =
false;
368 bool m_platformHasBeenSet =
false;
371 bool m_iamServiceRoleArnHasBeenSet =
false;
374 bool m_oauthTokenHasBeenSet =
false;
377 bool m_accessTokenHasBeenSet =
false;
380 bool m_environmentVariablesHasBeenSet =
false;
382 bool m_enableBranchAutoBuild;
383 bool m_enableBranchAutoBuildHasBeenSet =
false;
385 bool m_enableBranchAutoDeletion;
386 bool m_enableBranchAutoDeletionHasBeenSet =
false;
388 bool m_enableBasicAuth;
389 bool m_enableBasicAuthHasBeenSet =
false;
392 bool m_basicAuthCredentialsHasBeenSet =
false;
395 bool m_customRulesHasBeenSet =
false;
398 bool m_tagsHasBeenSet =
false;
401 bool m_buildSpecHasBeenSet =
false;
404 bool m_customHeadersHasBeenSet =
false;
406 bool m_enableAutoBranchCreation;
407 bool m_enableAutoBranchCreationHasBeenSet =
false;
410 bool m_autoBranchCreationPatternsHasBeenSet =
false;
413 bool m_autoBranchCreationConfigHasBeenSet =
false;
416 bool m_cacheConfigHasBeenSet =
false;
void SetEnableBasicAuth(bool value)
void SetRepository(Aws::String &&value)
void SetCacheConfig(const CacheConfig &value)
CreateAppRequest & WithAutoBranchCreationPatterns(const Aws::Vector< Aws::String > &value)
CreateAppRequest & WithOauthToken(const Aws::String &value)
bool AccessTokenHasBeenSet() const
void SetName(const Aws::String &value)
void SetAccessToken(Aws::String &&value)
void SetBuildSpec(Aws::String &&value)
bool EnableBranchAutoDeletionHasBeenSet() const
void SetDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
const Aws::String & GetCustomHeaders() const
CreateAppRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateAppRequest & WithPlatform(Platform &&value)
void SetCustomHeaders(Aws::String &&value)
CreateAppRequest & WithDescription(Aws::String &&value)
const AutoBranchCreationConfig & GetAutoBranchCreationConfig() const
void SetBuildSpec(const Aws::String &value)
CreateAppRequest & WithAutoBranchCreationConfig(const AutoBranchCreationConfig &value)
void SetIamServiceRoleArn(const Aws::String &value)
void SetOauthToken(const char *value)
CreateAppRequest & AddCustomRules(CustomRule &&value)
bool EnableAutoBranchCreationHasBeenSet() const
bool EnableBranchAutoBuildHasBeenSet() const
CreateAppRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetBuildSpec(const char *value)
void SetPlatform(Platform &&value)
CreateAppRequest & AddAutoBranchCreationPatterns(const char *value)
bool AutoBranchCreationConfigHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateAppRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetEnableBranchAutoDeletion(bool value)
CreateAppRequest & WithBuildSpec(const Aws::String &value)
const CacheConfig & GetCacheConfig() const
bool OauthTokenHasBeenSet() const
CreateAppRequest & WithIamServiceRoleArn(Aws::String &&value)
bool IamServiceRoleArnHasBeenSet() const
CreateAppRequest & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
bool GetEnableBranchAutoBuild() const
CreateAppRequest & WithRepository(Aws::String &&value)
CreateAppRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
CreateAppRequest & WithEnableAutoBranchCreation(bool value)
bool BasicAuthCredentialsHasBeenSet() const
void SetAutoBranchCreationConfig(const AutoBranchCreationConfig &value)
void SetBasicAuthCredentials(Aws::String &&value)
AWS_AMPLIFY_API CreateAppRequest()
void SetIamServiceRoleArn(Aws::String &&value)
void SetAccessToken(const Aws::String &value)
const Aws::String & GetBuildSpec() const
void SetRepository(const Aws::String &value)
void SetBasicAuthCredentials(const char *value)
CreateAppRequest & AddTags(const char *key, const char *value)
void SetCacheConfig(CacheConfig &&value)
CreateAppRequest & WithCustomHeaders(Aws::String &&value)
CreateAppRequest & AddTags(const char *key, Aws::String &&value)
CreateAppRequest & WithEnableBranchAutoBuild(bool value)
CreateAppRequest & AddEnvironmentVariables(const char *key, const char *value)
bool GetEnableBranchAutoDeletion() const
CreateAppRequest & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
bool CustomRulesHasBeenSet() const
void SetOauthToken(const Aws::String &value)
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
bool PlatformHasBeenSet() const
CreateAppRequest & AddAutoBranchCreationPatterns(const Aws::String &value)
CreateAppRequest & WithIamServiceRoleArn(const char *value)
CreateAppRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAppRequest & WithCacheConfig(const CacheConfig &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetRepository() const
const Aws::Vector< CustomRule > & GetCustomRules() const
bool CustomHeadersHasBeenSet() const
const Aws::String & GetDescription() const
CreateAppRequest & WithBuildSpec(const char *value)
CreateAppRequest & WithRepository(const char *value)
bool EnvironmentVariablesHasBeenSet() const
bool RepositoryHasBeenSet() const
bool NameHasBeenSet() const
CreateAppRequest & AddAutoBranchCreationPatterns(Aws::String &&value)
CreateAppRequest & AddEnvironmentVariables(const char *key, Aws::String &&value)
CreateAppRequest & WithPlatform(const Platform &value)
CreateAppRequest & WithAutoBranchCreationPatterns(Aws::Vector< Aws::String > &&value)
const Aws::String & GetOauthToken() const
void SetAutoBranchCreationPatterns(Aws::Vector< Aws::String > &&value)
CreateAppRequest & WithName(const char *value)
CreateAppRequest & WithCustomRules(Aws::Vector< CustomRule > &&value)
CreateAppRequest & WithAccessToken(Aws::String &&value)
CreateAppRequest & WithIamServiceRoleArn(const Aws::String &value)
CreateAppRequest & WithRepository(const Aws::String &value)
CreateAppRequest & WithBuildSpec(Aws::String &&value)
void SetCustomRules(Aws::Vector< CustomRule > &&value)
CreateAppRequest & WithBasicAuthCredentials(const char *value)
void SetName(Aws::String &&value)
void SetCustomRules(const Aws::Vector< CustomRule > &value)
bool BuildSpecHasBeenSet() const
CreateAppRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAppRequest & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool TagsHasBeenSet() const
CreateAppRequest & AddCustomRules(const CustomRule &value)
const Aws::String & GetIamServiceRoleArn() const
CreateAppRequest & WithAutoBranchCreationConfig(AutoBranchCreationConfig &&value)
CreateAppRequest & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
bool CacheConfigHasBeenSet() const
void SetAutoBranchCreationConfig(AutoBranchCreationConfig &&value)
CreateAppRequest & WithOauthToken(Aws::String &&value)
void SetAutoBranchCreationPatterns(const Aws::Vector< Aws::String > &value)
AWS_AMPLIFY_API Aws::String SerializePayload() const override
CreateAppRequest & WithCustomRules(const Aws::Vector< CustomRule > &value)
const Aws::String & GetAccessToken() const
CreateAppRequest & AddEnvironmentVariables(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAppRequest & WithAccessToken(const char *value)
CreateAppRequest & WithCustomHeaders(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetDescription(const char *value)
bool GetEnableAutoBranchCreation() const
CreateAppRequest & WithName(const Aws::String &value)
void SetEnableBranchAutoBuild(bool value)
CreateAppRequest & WithDescription(const char *value)
bool EnableBasicAuthHasBeenSet() const
const Aws::String & GetBasicAuthCredentials() const
const Platform & GetPlatform() const
bool GetEnableBasicAuth() const
CreateAppRequest & WithEnableBranchAutoDeletion(bool value)
CreateAppRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetName(const char *value)
CreateAppRequest & WithEnableBasicAuth(bool value)
void SetCustomHeaders(const Aws::String &value)
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
CreateAppRequest & WithBasicAuthCredentials(Aws::String &&value)
CreateAppRequest & WithAccessToken(const Aws::String &value)
void SetRepository(const char *value)
void SetCustomHeaders(const char *value)
CreateAppRequest & WithBasicAuthCredentials(const Aws::String &value)
void SetIamServiceRoleArn(const char *value)
void SetPlatform(const Platform &value)
CreateAppRequest & WithCustomHeaders(const char *value)
CreateAppRequest & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
CreateAppRequest & WithName(Aws::String &&value)
void SetBasicAuthCredentials(const Aws::String &value)
CreateAppRequest & WithOauthToken(const char *value)
void SetEnableAutoBranchCreation(bool value)
bool AutoBranchCreationPatternsHasBeenSet() const
CreateAppRequest & WithCacheConfig(CacheConfig &&value)
void SetAccessToken(const char *value)
CreateAppRequest & WithDescription(const Aws::String &value)
CreateAppRequest & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
void SetOauthToken(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAutoBranchCreationPatterns() const
const Aws::String & GetName() const
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