/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { namespace Amplify { namespace Model { /** *

The request structure for the update app request.

See Also:

* AWS * API Reference

*/ class AWS_AMPLIFY_API UpdateAppRequest : public AmplifyRequest { public: UpdateAppRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateApp"; } Aws::String SerializePayload() const override; /** *

The unique ID for an Amplify app.

*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *

The unique ID for an Amplify app.

*/ inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } /** *

The unique ID for an Amplify app.

*/ inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } /** *

The unique ID for an Amplify app.

*/ inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } /** *

The unique ID for an Amplify app.

*/ inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } /** *

The unique ID for an Amplify app.

*/ inline UpdateAppRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *

The unique ID for an Amplify app.

*/ inline UpdateAppRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *

The unique ID for an Amplify app.

*/ inline UpdateAppRequest& WithAppId(const char* value) { SetAppId(value); return *this;} /** *

The name for an Amplify app.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name for an Amplify app.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name for an Amplify app.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name for an Amplify app.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name for an Amplify app.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name for an Amplify app.

*/ inline UpdateAppRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name for an Amplify app.

*/ inline UpdateAppRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name for an Amplify app.

*/ inline UpdateAppRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The description for an Amplify app.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description for an Amplify app.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description for an Amplify app.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description for an Amplify app.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description for an Amplify app.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description for an Amplify app.

*/ inline UpdateAppRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description for an Amplify app.

*/ inline UpdateAppRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description for an Amplify app.

*/ inline UpdateAppRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The platform for an Amplify app.

*/ inline const Platform& GetPlatform() const{ return m_platform; } /** *

The platform for an Amplify app.

*/ inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; } /** *

The platform for an Amplify app.

*/ inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; } /** *

The platform for an Amplify app.

*/ inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); } /** *

The platform for an Amplify app.

*/ inline UpdateAppRequest& WithPlatform(const Platform& value) { SetPlatform(value); return *this;} /** *

The platform for an Amplify app.

*/ inline UpdateAppRequest& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;} /** *

The AWS Identity and Access Management (IAM) service role for an Amplify * app.

*/ inline const Aws::String& GetIamServiceRoleArn() const{ return m_iamServiceRoleArn; } /** *

The AWS Identity and Access Management (IAM) service role for an Amplify * app.

*/ inline bool IamServiceRoleArnHasBeenSet() const { return m_iamServiceRoleArnHasBeenSet; } /** *

The AWS Identity and Access Management (IAM) service role for an Amplify * app.

*/ inline void SetIamServiceRoleArn(const Aws::String& value) { m_iamServiceRoleArnHasBeenSet = true; m_iamServiceRoleArn = value; } /** *

The AWS Identity and Access Management (IAM) service role for an Amplify * app.

*/ inline void SetIamServiceRoleArn(Aws::String&& value) { m_iamServiceRoleArnHasBeenSet = true; m_iamServiceRoleArn = std::move(value); } /** *

The AWS Identity and Access Management (IAM) service role for an Amplify * app.

*/ inline void SetIamServiceRoleArn(const char* value) { m_iamServiceRoleArnHasBeenSet = true; m_iamServiceRoleArn.assign(value); } /** *

The AWS Identity and Access Management (IAM) service role for an Amplify * app.

*/ inline UpdateAppRequest& WithIamServiceRoleArn(const Aws::String& value) { SetIamServiceRoleArn(value); return *this;} /** *

The AWS Identity and Access Management (IAM) service role for an Amplify * app.

*/ inline UpdateAppRequest& WithIamServiceRoleArn(Aws::String&& value) { SetIamServiceRoleArn(std::move(value)); return *this;} /** *

The AWS Identity and Access Management (IAM) service role for an Amplify * app.

*/ inline UpdateAppRequest& WithIamServiceRoleArn(const char* value) { SetIamServiceRoleArn(value); return *this;} /** *

The environment variables for an Amplify app.

*/ inline const Aws::Map& GetEnvironmentVariables() const{ return m_environmentVariables; } /** *

The environment variables for an Amplify app.

*/ inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; } /** *

The environment variables for an Amplify app.

*/ inline void SetEnvironmentVariables(const Aws::Map& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = value; } /** *

The environment variables for an Amplify app.

*/ inline void SetEnvironmentVariables(Aws::Map&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::move(value); } /** *

The environment variables for an Amplify app.

*/ inline UpdateAppRequest& WithEnvironmentVariables(const Aws::Map& value) { SetEnvironmentVariables(value); return *this;} /** *

The environment variables for an Amplify app.

*/ inline UpdateAppRequest& WithEnvironmentVariables(Aws::Map&& value) { SetEnvironmentVariables(std::move(value)); return *this;} /** *

The environment variables for an Amplify app.

*/ inline UpdateAppRequest& AddEnvironmentVariables(const Aws::String& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; } /** *

The environment variables for an Amplify app.

*/ inline UpdateAppRequest& AddEnvironmentVariables(Aws::String&& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; } /** *

The environment variables for an Amplify app.

*/ inline UpdateAppRequest& AddEnvironmentVariables(const Aws::String& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; } /** *

The environment variables for an Amplify app.

*/ inline UpdateAppRequest& AddEnvironmentVariables(Aws::String&& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), std::move(value)); return *this; } /** *

The environment variables for an Amplify app.

*/ inline UpdateAppRequest& AddEnvironmentVariables(const char* key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; } /** *

The environment variables for an Amplify app.

*/ inline UpdateAppRequest& AddEnvironmentVariables(Aws::String&& key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; } /** *

The environment variables for an Amplify app.

*/ inline UpdateAppRequest& AddEnvironmentVariables(const char* key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; } /** *

Enables branch auto-building for an Amplify app.

*/ inline bool GetEnableBranchAutoBuild() const{ return m_enableBranchAutoBuild; } /** *

Enables branch auto-building for an Amplify app.

*/ inline bool EnableBranchAutoBuildHasBeenSet() const { return m_enableBranchAutoBuildHasBeenSet; } /** *

Enables branch auto-building for an Amplify app.

*/ inline void SetEnableBranchAutoBuild(bool value) { m_enableBranchAutoBuildHasBeenSet = true; m_enableBranchAutoBuild = value; } /** *

Enables branch auto-building for an Amplify app.

*/ inline UpdateAppRequest& WithEnableBranchAutoBuild(bool value) { SetEnableBranchAutoBuild(value); return *this;} /** *

Automatically disconnects a branch in the Amplify Console when you delete a * branch from your Git repository.

*/ inline bool GetEnableBranchAutoDeletion() const{ return m_enableBranchAutoDeletion; } /** *

Automatically disconnects a branch in the Amplify Console when you delete a * branch from your Git repository.

*/ inline bool EnableBranchAutoDeletionHasBeenSet() const { return m_enableBranchAutoDeletionHasBeenSet; } /** *

Automatically disconnects a branch in the Amplify Console when you delete a * branch from your Git repository.

*/ inline void SetEnableBranchAutoDeletion(bool value) { m_enableBranchAutoDeletionHasBeenSet = true; m_enableBranchAutoDeletion = value; } /** *

Automatically disconnects a branch in the Amplify Console when you delete a * branch from your Git repository.

*/ inline UpdateAppRequest& WithEnableBranchAutoDeletion(bool value) { SetEnableBranchAutoDeletion(value); return *this;} /** *

Enables basic authorization for an Amplify app.

*/ inline bool GetEnableBasicAuth() const{ return m_enableBasicAuth; } /** *

Enables basic authorization for an Amplify app.

*/ inline bool EnableBasicAuthHasBeenSet() const { return m_enableBasicAuthHasBeenSet; } /** *

Enables basic authorization for an Amplify app.

*/ inline void SetEnableBasicAuth(bool value) { m_enableBasicAuthHasBeenSet = true; m_enableBasicAuth = value; } /** *

Enables basic authorization for an Amplify app.

*/ inline UpdateAppRequest& WithEnableBasicAuth(bool value) { SetEnableBasicAuth(value); return *this;} /** *

The basic authorization credentials for an Amplify app.

*/ inline const Aws::String& GetBasicAuthCredentials() const{ return m_basicAuthCredentials; } /** *

The basic authorization credentials for an Amplify app.

*/ inline bool BasicAuthCredentialsHasBeenSet() const { return m_basicAuthCredentialsHasBeenSet; } /** *

The basic authorization credentials for an Amplify app.

*/ inline void SetBasicAuthCredentials(const Aws::String& value) { m_basicAuthCredentialsHasBeenSet = true; m_basicAuthCredentials = value; } /** *

The basic authorization credentials for an Amplify app.

*/ inline void SetBasicAuthCredentials(Aws::String&& value) { m_basicAuthCredentialsHasBeenSet = true; m_basicAuthCredentials = std::move(value); } /** *

The basic authorization credentials for an Amplify app.

*/ inline void SetBasicAuthCredentials(const char* value) { m_basicAuthCredentialsHasBeenSet = true; m_basicAuthCredentials.assign(value); } /** *

The basic authorization credentials for an Amplify app.

*/ inline UpdateAppRequest& WithBasicAuthCredentials(const Aws::String& value) { SetBasicAuthCredentials(value); return *this;} /** *

The basic authorization credentials for an Amplify app.

*/ inline UpdateAppRequest& WithBasicAuthCredentials(Aws::String&& value) { SetBasicAuthCredentials(std::move(value)); return *this;} /** *

The basic authorization credentials for an Amplify app.

*/ inline UpdateAppRequest& WithBasicAuthCredentials(const char* value) { SetBasicAuthCredentials(value); return *this;} /** *

The custom redirect and rewrite rules for an Amplify app.

*/ inline const Aws::Vector& GetCustomRules() const{ return m_customRules; } /** *

The custom redirect and rewrite rules for an Amplify app.

*/ inline bool CustomRulesHasBeenSet() const { return m_customRulesHasBeenSet; } /** *

The custom redirect and rewrite rules for an Amplify app.

*/ inline void SetCustomRules(const Aws::Vector& value) { m_customRulesHasBeenSet = true; m_customRules = value; } /** *

The custom redirect and rewrite rules for an Amplify app.

*/ inline void SetCustomRules(Aws::Vector&& value) { m_customRulesHasBeenSet = true; m_customRules = std::move(value); } /** *

The custom redirect and rewrite rules for an Amplify app.

*/ inline UpdateAppRequest& WithCustomRules(const Aws::Vector& value) { SetCustomRules(value); return *this;} /** *

The custom redirect and rewrite rules for an Amplify app.

*/ inline UpdateAppRequest& WithCustomRules(Aws::Vector&& value) { SetCustomRules(std::move(value)); return *this;} /** *

The custom redirect and rewrite rules for an Amplify app.

*/ inline UpdateAppRequest& AddCustomRules(const CustomRule& value) { m_customRulesHasBeenSet = true; m_customRules.push_back(value); return *this; } /** *

The custom redirect and rewrite rules for an Amplify app.

*/ inline UpdateAppRequest& AddCustomRules(CustomRule&& value) { m_customRulesHasBeenSet = true; m_customRules.push_back(std::move(value)); return *this; } /** *

The build specification (build spec) for an Amplify app.

*/ inline const Aws::String& GetBuildSpec() const{ return m_buildSpec; } /** *

The build specification (build spec) for an Amplify app.

*/ inline bool BuildSpecHasBeenSet() const { return m_buildSpecHasBeenSet; } /** *

The build specification (build spec) for an Amplify app.

*/ inline void SetBuildSpec(const Aws::String& value) { m_buildSpecHasBeenSet = true; m_buildSpec = value; } /** *

The build specification (build spec) for an Amplify app.

*/ inline void SetBuildSpec(Aws::String&& value) { m_buildSpecHasBeenSet = true; m_buildSpec = std::move(value); } /** *

The build specification (build spec) for an Amplify app.

*/ inline void SetBuildSpec(const char* value) { m_buildSpecHasBeenSet = true; m_buildSpec.assign(value); } /** *

The build specification (build spec) for an Amplify app.

*/ inline UpdateAppRequest& WithBuildSpec(const Aws::String& value) { SetBuildSpec(value); return *this;} /** *

The build specification (build spec) for an Amplify app.

*/ inline UpdateAppRequest& WithBuildSpec(Aws::String&& value) { SetBuildSpec(std::move(value)); return *this;} /** *

The build specification (build spec) for an Amplify app.

*/ inline UpdateAppRequest& WithBuildSpec(const char* value) { SetBuildSpec(value); return *this;} /** *

Enables automated branch creation for the Amplify app.

*/ inline bool GetEnableAutoBranchCreation() const{ return m_enableAutoBranchCreation; } /** *

Enables automated branch creation for the Amplify app.

*/ inline bool EnableAutoBranchCreationHasBeenSet() const { return m_enableAutoBranchCreationHasBeenSet; } /** *

Enables automated branch creation for the Amplify app.

*/ inline void SetEnableAutoBranchCreation(bool value) { m_enableAutoBranchCreationHasBeenSet = true; m_enableAutoBranchCreation = value; } /** *

Enables automated branch creation for the Amplify app.

*/ inline UpdateAppRequest& WithEnableAutoBranchCreation(bool value) { SetEnableAutoBranchCreation(value); return *this;} /** *

Describes the automated branch creation glob patterns for the Amplify app. *

*/ inline const Aws::Vector& GetAutoBranchCreationPatterns() const{ return m_autoBranchCreationPatterns; } /** *

Describes the automated branch creation glob patterns for the Amplify app. *

*/ inline bool AutoBranchCreationPatternsHasBeenSet() const { return m_autoBranchCreationPatternsHasBeenSet; } /** *

Describes the automated branch creation glob patterns for the Amplify app. *

*/ inline void SetAutoBranchCreationPatterns(const Aws::Vector& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns = value; } /** *

Describes the automated branch creation glob patterns for the Amplify app. *

*/ inline void SetAutoBranchCreationPatterns(Aws::Vector&& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns = std::move(value); } /** *

Describes the automated branch creation glob patterns for the Amplify app. *

*/ inline UpdateAppRequest& WithAutoBranchCreationPatterns(const Aws::Vector& value) { SetAutoBranchCreationPatterns(value); return *this;} /** *

Describes the automated branch creation glob patterns for the Amplify app. *

*/ inline UpdateAppRequest& WithAutoBranchCreationPatterns(Aws::Vector&& value) { SetAutoBranchCreationPatterns(std::move(value)); return *this;} /** *

Describes the automated branch creation glob patterns for the Amplify app. *

*/ inline UpdateAppRequest& AddAutoBranchCreationPatterns(const Aws::String& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns.push_back(value); return *this; } /** *

Describes the automated branch creation glob patterns for the Amplify app. *

*/ inline UpdateAppRequest& AddAutoBranchCreationPatterns(Aws::String&& value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns.push_back(std::move(value)); return *this; } /** *

Describes the automated branch creation glob patterns for the Amplify app. *

*/ inline UpdateAppRequest& AddAutoBranchCreationPatterns(const char* value) { m_autoBranchCreationPatternsHasBeenSet = true; m_autoBranchCreationPatterns.push_back(value); return *this; } /** *

The automated branch creation configuration for the Amplify app.

*/ inline const AutoBranchCreationConfig& GetAutoBranchCreationConfig() const{ return m_autoBranchCreationConfig; } /** *

The automated branch creation configuration for the Amplify app.

*/ inline bool AutoBranchCreationConfigHasBeenSet() const { return m_autoBranchCreationConfigHasBeenSet; } /** *

The automated branch creation configuration for the Amplify app.

*/ inline void SetAutoBranchCreationConfig(const AutoBranchCreationConfig& value) { m_autoBranchCreationConfigHasBeenSet = true; m_autoBranchCreationConfig = value; } /** *

The automated branch creation configuration for the Amplify app.

*/ inline void SetAutoBranchCreationConfig(AutoBranchCreationConfig&& value) { m_autoBranchCreationConfigHasBeenSet = true; m_autoBranchCreationConfig = std::move(value); } /** *

The automated branch creation configuration for the Amplify app.

*/ inline UpdateAppRequest& WithAutoBranchCreationConfig(const AutoBranchCreationConfig& value) { SetAutoBranchCreationConfig(value); return *this;} /** *

The automated branch creation configuration for the Amplify app.

*/ inline UpdateAppRequest& WithAutoBranchCreationConfig(AutoBranchCreationConfig&& value) { SetAutoBranchCreationConfig(std::move(value)); return *this;} /** *

The name of the repository for an Amplify app

*/ inline const Aws::String& GetRepository() const{ return m_repository; } /** *

The name of the repository for an Amplify app

*/ inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; } /** *

The name of the repository for an Amplify app

*/ inline void SetRepository(const Aws::String& value) { m_repositoryHasBeenSet = true; m_repository = value; } /** *

The name of the repository for an Amplify app

*/ inline void SetRepository(Aws::String&& value) { m_repositoryHasBeenSet = true; m_repository = std::move(value); } /** *

The name of the repository for an Amplify app

*/ inline void SetRepository(const char* value) { m_repositoryHasBeenSet = true; m_repository.assign(value); } /** *

The name of the repository for an Amplify app

*/ inline UpdateAppRequest& WithRepository(const Aws::String& value) { SetRepository(value); return *this;} /** *

The name of the repository for an Amplify app

*/ inline UpdateAppRequest& WithRepository(Aws::String&& value) { SetRepository(std::move(value)); return *this;} /** *

The name of the repository for an Amplify app

*/ inline UpdateAppRequest& WithRepository(const char* value) { SetRepository(value); return *this;} /** *

The OAuth token for a third-party source control system for an Amplify app. * The token is used to create a webhook and a read-only deploy key. The OAuth * token is not stored.

*/ inline const Aws::String& GetOauthToken() const{ return m_oauthToken; } /** *

The OAuth token for a third-party source control system for an Amplify app. * The token is used to create a webhook and a read-only deploy key. The OAuth * token is not stored.

*/ inline bool OauthTokenHasBeenSet() const { return m_oauthTokenHasBeenSet; } /** *

The OAuth token for a third-party source control system for an Amplify app. * The token is used to create a webhook and a read-only deploy key. The OAuth * token is not stored.

*/ inline void SetOauthToken(const Aws::String& value) { m_oauthTokenHasBeenSet = true; m_oauthToken = value; } /** *

The OAuth token for a third-party source control system for an Amplify app. * The token is used to create a webhook and a read-only deploy key. The OAuth * token is not stored.

*/ inline void SetOauthToken(Aws::String&& value) { m_oauthTokenHasBeenSet = true; m_oauthToken = std::move(value); } /** *

The OAuth token for a third-party source control system for an Amplify app. * The token is used to create a webhook and a read-only deploy key. The OAuth * token is not stored.

*/ inline void SetOauthToken(const char* value) { m_oauthTokenHasBeenSet = true; m_oauthToken.assign(value); } /** *

The OAuth token for a third-party source control system for an Amplify app. * The token is used to create a webhook and a read-only deploy key. The OAuth * token is not stored.

*/ inline UpdateAppRequest& WithOauthToken(const Aws::String& value) { SetOauthToken(value); return *this;} /** *

The OAuth token for a third-party source control system for an Amplify app. * The token is used to create a webhook and a read-only deploy key. The OAuth * token is not stored.

*/ inline UpdateAppRequest& WithOauthToken(Aws::String&& value) { SetOauthToken(std::move(value)); return *this;} /** *

The OAuth token for a third-party source control system for an Amplify app. * The token is used to create a webhook and a read-only deploy key. The OAuth * token is not stored.

*/ inline UpdateAppRequest& WithOauthToken(const char* value) { SetOauthToken(value); return *this;} /** *

The personal access token for a third-party source control system for an * Amplify app. The token is used to create webhook and a read-only deploy key. The * token is not stored.

*/ inline const Aws::String& GetAccessToken() const{ return m_accessToken; } /** *

The personal access token for a third-party source control system for an * Amplify app. The token is used to create webhook and a read-only deploy key. The * token is not stored.

*/ inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; } /** *

The personal access token for a third-party source control system for an * Amplify app. The token is used to create webhook and a read-only deploy key. The * token is not stored.

*/ inline void SetAccessToken(const Aws::String& value) { m_accessTokenHasBeenSet = true; m_accessToken = value; } /** *

The personal access token for a third-party source control system for an * Amplify app. The token is used to create webhook and a read-only deploy key. The * token is not stored.

*/ inline void SetAccessToken(Aws::String&& value) { m_accessTokenHasBeenSet = true; m_accessToken = std::move(value); } /** *

The personal access token for a third-party source control system for an * Amplify app. The token is used to create webhook and a read-only deploy key. The * token is not stored.

*/ inline void SetAccessToken(const char* value) { m_accessTokenHasBeenSet = true; m_accessToken.assign(value); } /** *

The personal access token for a third-party source control system for an * Amplify app. The token is used to create webhook and a read-only deploy key. The * token is not stored.

*/ inline UpdateAppRequest& WithAccessToken(const Aws::String& value) { SetAccessToken(value); return *this;} /** *

The personal access token for a third-party source control system for an * Amplify app. The token is used to create webhook and a read-only deploy key. The * token is not stored.

*/ inline UpdateAppRequest& WithAccessToken(Aws::String&& value) { SetAccessToken(std::move(value)); return *this;} /** *

The personal access token for a third-party source control system for an * Amplify app. The token is used to create webhook and a read-only deploy key. The * token is not stored.

*/ inline UpdateAppRequest& WithAccessToken(const char* value) { SetAccessToken(value); return *this;} private: Aws::String m_appId; bool m_appIdHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; Platform m_platform; bool m_platformHasBeenSet; Aws::String m_iamServiceRoleArn; bool m_iamServiceRoleArnHasBeenSet; Aws::Map m_environmentVariables; bool m_environmentVariablesHasBeenSet; bool m_enableBranchAutoBuild; bool m_enableBranchAutoBuildHasBeenSet; bool m_enableBranchAutoDeletion; bool m_enableBranchAutoDeletionHasBeenSet; bool m_enableBasicAuth; bool m_enableBasicAuthHasBeenSet; Aws::String m_basicAuthCredentials; bool m_basicAuthCredentialsHasBeenSet; Aws::Vector m_customRules; bool m_customRulesHasBeenSet; Aws::String m_buildSpec; bool m_buildSpecHasBeenSet; bool m_enableAutoBranchCreation; bool m_enableAutoBranchCreationHasBeenSet; Aws::Vector m_autoBranchCreationPatterns; bool m_autoBranchCreationPatternsHasBeenSet; AutoBranchCreationConfig m_autoBranchCreationConfig; bool m_autoBranchCreationConfigHasBeenSet; Aws::String m_repository; bool m_repositoryHasBeenSet; Aws::String m_oauthToken; bool m_oauthTokenHasBeenSet; Aws::String m_accessToken; bool m_accessTokenHasBeenSet; }; } // namespace Model } // namespace Amplify } // namespace Aws