7#include <aws/amplify/AmplifyRequest.h>
8#include <aws/amplify/Amplify_EXPORTS.h>
9#include <aws/amplify/model/Backend.h>
10#include <aws/amplify/model/Stage.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
44 template <
typename AppIdT = Aws::String>
46 m_appIdHasBeenSet =
true;
47 m_appId = std::forward<AppIdT>(value);
49 template <
typename AppIdT = Aws::String>
51 SetAppId(std::forward<AppIdT>(value));
62 template <
typename BranchNameT = Aws::String>
64 m_branchNameHasBeenSet =
true;
65 m_branchName = std::forward<BranchNameT>(value);
67 template <
typename BranchNameT = Aws::String>
80 template <
typename DescriptionT = Aws::String>
82 m_descriptionHasBeenSet =
true;
83 m_description = std::forward<DescriptionT>(value);
85 template <
typename DescriptionT = Aws::String>
98 template <
typename FrameworkT = Aws::String>
100 m_frameworkHasBeenSet =
true;
101 m_framework = std::forward<FrameworkT>(value);
103 template <
typename FrameworkT = Aws::String>
117 m_stageHasBeenSet =
true;
133 m_enableNotificationHasBeenSet =
true;
134 m_enableNotification = value;
149 m_enableAutoBuildHasBeenSet =
true;
150 m_enableAutoBuild = value;
172 m_enableSkewProtectionHasBeenSet =
true;
173 m_enableSkewProtection = value;
187 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
189 m_environmentVariablesHasBeenSet =
true;
190 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
192 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
197 template <
typename EnvironmentVariablesKeyT = Aws::String,
typename EnvironmentVariablesValueT = Aws::String>
199 m_environmentVariablesHasBeenSet =
true;
200 m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
213 template <
typename BasicAuthCredentialsT = Aws::String>
215 m_basicAuthCredentialsHasBeenSet =
true;
216 m_basicAuthCredentials = std::forward<BasicAuthCredentialsT>(value);
218 template <
typename BasicAuthCredentialsT = Aws::String>
232 m_enableBasicAuthHasBeenSet =
true;
233 m_enableBasicAuth = value;
251 m_enablePerformanceModeHasBeenSet =
true;
252 m_enablePerformanceMode = value;
266 template <
typename BuildSpecT = Aws::String>
268 m_buildSpecHasBeenSet =
true;
269 m_buildSpec = std::forward<BuildSpecT>(value);
271 template <
typename BuildSpecT = Aws::String>
284 template <
typename TtlT = Aws::String>
286 m_ttlHasBeenSet =
true;
287 m_ttl = std::forward<TtlT>(value);
289 template <
typename TtlT = Aws::String>
291 SetTtl(std::forward<TtlT>(value));
303 template <
typename DisplayNameT = Aws::String>
305 m_displayNameHasBeenSet =
true;
306 m_displayName = std::forward<DisplayNameT>(value);
308 template <
typename DisplayNameT = Aws::String>
322 m_enablePullRequestPreviewHasBeenSet =
true;
323 m_enablePullRequestPreview = value;
337 template <
typename PullRequestEnvironmentNameT = Aws::String>
339 m_pullRequestEnvironmentNameHasBeenSet =
true;
340 m_pullRequestEnvironmentName = std::forward<PullRequestEnvironmentNameT>(value);
342 template <
typename PullRequestEnvironmentNameT = Aws::String>
358 template <
typename BackendEnvironmentArnT = Aws::String>
360 m_backendEnvironmentArnHasBeenSet =
true;
361 m_backendEnvironmentArn = std::forward<BackendEnvironmentArnT>(value);
363 template <
typename BackendEnvironmentArnT = Aws::String>
379 template <
typename BackendT = Backend>
381 m_backendHasBeenSet =
true;
382 m_backend = std::forward<BackendT>(value);
384 template <
typename BackendT = Backend>
402 template <
typename ComputeRoleArnT = Aws::String>
404 m_computeRoleArnHasBeenSet =
true;
405 m_computeRoleArn = std::forward<ComputeRoleArnT>(value);
407 template <
typename ComputeRoleArnT = Aws::String>
415 bool m_appIdHasBeenSet =
false;
418 bool m_branchNameHasBeenSet =
false;
421 bool m_descriptionHasBeenSet =
false;
424 bool m_frameworkHasBeenSet =
false;
427 bool m_stageHasBeenSet =
false;
429 bool m_enableNotification{
false};
430 bool m_enableNotificationHasBeenSet =
false;
432 bool m_enableAutoBuild{
false};
433 bool m_enableAutoBuildHasBeenSet =
false;
435 bool m_enableSkewProtection{
false};
436 bool m_enableSkewProtectionHasBeenSet =
false;
439 bool m_environmentVariablesHasBeenSet =
false;
442 bool m_basicAuthCredentialsHasBeenSet =
false;
444 bool m_enableBasicAuth{
false};
445 bool m_enableBasicAuthHasBeenSet =
false;
447 bool m_enablePerformanceMode{
false};
448 bool m_enablePerformanceModeHasBeenSet =
false;
451 bool m_buildSpecHasBeenSet =
false;
454 bool m_ttlHasBeenSet =
false;
457 bool m_displayNameHasBeenSet =
false;
459 bool m_enablePullRequestPreview{
false};
460 bool m_enablePullRequestPreviewHasBeenSet =
false;
463 bool m_pullRequestEnvironmentNameHasBeenSet =
false;
466 bool m_backendEnvironmentArnHasBeenSet =
false;
469 bool m_backendHasBeenSet =
false;
472 bool m_computeRoleArnHasBeenSet =
false;
bool EnableSkewProtectionHasBeenSet() const
UpdateBranchRequest & WithFramework(FrameworkT &&value)
void SetBasicAuthCredentials(BasicAuthCredentialsT &&value)
void SetBackend(BackendT &&value)
UpdateBranchRequest & WithAppId(AppIdT &&value)
const Aws::String & GetDisplayName() const
void SetFramework(FrameworkT &&value)
void SetComputeRoleArn(ComputeRoleArnT &&value)
bool BackendEnvironmentArnHasBeenSet() const
bool GetEnableNotification() const
void SetAppId(AppIdT &&value)
UpdateBranchRequest & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
bool BuildSpecHasBeenSet() const
UpdateBranchRequest & WithEnvironmentVariables(EnvironmentVariablesT &&value)
UpdateBranchRequest & WithTtl(TtlT &&value)
bool GetEnableSkewProtection() const
const Aws::String & GetBackendEnvironmentArn() const
UpdateBranchRequest & WithBuildSpec(BuildSpecT &&value)
bool EnvironmentVariablesHasBeenSet() const
UpdateBranchRequest & WithPullRequestEnvironmentName(PullRequestEnvironmentNameT &&value)
const Aws::String & GetBasicAuthCredentials() const
void SetEnableBasicAuth(bool value)
void SetEnablePerformanceMode(bool value)
bool BranchNameHasBeenSet() const
UpdateBranchRequest & WithDisplayName(DisplayNameT &&value)
bool ComputeRoleArnHasBeenSet() const
UpdateBranchRequest & WithEnableBasicAuth(bool value)
bool GetEnablePullRequestPreview() const
const Aws::String & GetComputeRoleArn() const
UpdateBranchRequest & WithComputeRoleArn(ComputeRoleArnT &&value)
bool AppIdHasBeenSet() const
UpdateBranchRequest & WithEnableAutoBuild(bool value)
void SetEnablePullRequestPreview(bool value)
bool EnablePerformanceModeHasBeenSet() const
const Aws::String & GetBuildSpec() const
bool PullRequestEnvironmentNameHasBeenSet() const
bool EnableAutoBuildHasBeenSet() const
void SetEnableSkewProtection(bool value)
UpdateBranchRequest & WithBackendEnvironmentArn(BackendEnvironmentArnT &&value)
const Backend & GetBackend() const
bool BackendHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetFramework() const
bool EnableBasicAuthHasBeenSet() const
void SetEnableAutoBuild(bool value)
void SetBackendEnvironmentArn(BackendEnvironmentArnT &&value)
virtual const char * GetServiceRequestName() const override
UpdateBranchRequest & WithStage(Stage value)
UpdateBranchRequest & WithEnableNotification(bool value)
UpdateBranchRequest & WithBackend(BackendT &&value)
bool FrameworkHasBeenSet() const
UpdateBranchRequest & WithEnablePerformanceMode(bool value)
const Aws::String & GetAppId() const
bool GetEnableBasicAuth() const
const Aws::String & GetBranchName() const
void SetTtl(TtlT &&value)
UpdateBranchRequest & WithEnableSkewProtection(bool value)
bool BasicAuthCredentialsHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetBuildSpec(BuildSpecT &&value)
UpdateBranchRequest & WithEnablePullRequestPreview(bool value)
bool DisplayNameHasBeenSet() const
AWS_AMPLIFY_API Aws::String SerializePayload() const override
bool DescriptionHasBeenSet() const
bool StageHasBeenSet() const
bool EnableNotificationHasBeenSet() const
AWS_AMPLIFY_API UpdateBranchRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
void SetStage(Stage value)
const Aws::String & GetDescription() const
bool GetEnableAutoBuild() const
void SetBranchName(BranchNameT &&value)
void SetPullRequestEnvironmentName(PullRequestEnvironmentNameT &&value)
const Aws::String & GetPullRequestEnvironmentName() const
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
bool TtlHasBeenSet() const
UpdateBranchRequest & WithBranchName(BranchNameT &&value)
bool GetEnablePerformanceMode() const
const Aws::String & GetTtl() const
void SetEnableNotification(bool value)
bool EnablePullRequestPreviewHasBeenSet() const
UpdateBranchRequest & WithBasicAuthCredentials(BasicAuthCredentialsT &&value)
UpdateBranchRequest & WithDescription(DescriptionT &&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