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>
99 m_stageHasBeenSet =
true;
114 template <
typename FrameworkT = Aws::String>
116 m_frameworkHasBeenSet =
true;
117 m_framework = std::forward<FrameworkT>(value);
119 template <
typename FrameworkT = Aws::String>
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 TagsT = Aws::Map<Aws::String, Aws::String>>
268 m_tagsHasBeenSet =
true;
269 m_tags = std::forward<TagsT>(value);
271 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
273 SetTags(std::forward<TagsT>(value));
276 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
278 m_tagsHasBeenSet =
true;
279 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
290 template <
typename BuildSpecT = Aws::String>
292 m_buildSpecHasBeenSet =
true;
293 m_buildSpec = std::forward<BuildSpecT>(value);
295 template <
typename BuildSpecT = Aws::String>
308 template <
typename TtlT = Aws::String>
310 m_ttlHasBeenSet =
true;
311 m_ttl = std::forward<TtlT>(value);
313 template <
typename TtlT = Aws::String>
315 SetTtl(std::forward<TtlT>(value));
327 template <
typename DisplayNameT = Aws::String>
329 m_displayNameHasBeenSet =
true;
330 m_displayName = std::forward<DisplayNameT>(value);
332 template <
typename DisplayNameT = Aws::String>
346 m_enablePullRequestPreviewHasBeenSet =
true;
347 m_enablePullRequestPreview = value;
361 template <
typename PullRequestEnvironmentNameT = Aws::String>
363 m_pullRequestEnvironmentNameHasBeenSet =
true;
364 m_pullRequestEnvironmentName = std::forward<PullRequestEnvironmentNameT>(value);
366 template <
typename PullRequestEnvironmentNameT = Aws::String>
382 template <
typename BackendEnvironmentArnT = Aws::String>
384 m_backendEnvironmentArnHasBeenSet =
true;
385 m_backendEnvironmentArn = std::forward<BackendEnvironmentArnT>(value);
387 template <
typename BackendEnvironmentArnT = Aws::String>
403 template <
typename BackendT = Backend>
405 m_backendHasBeenSet =
true;
406 m_backend = std::forward<BackendT>(value);
408 template <
typename BackendT = Backend>
426 template <
typename ComputeRoleArnT = Aws::String>
428 m_computeRoleArnHasBeenSet =
true;
429 m_computeRoleArn = std::forward<ComputeRoleArnT>(value);
431 template <
typename ComputeRoleArnT = Aws::String>
448 bool m_enableNotification{
false};
450 bool m_enableAutoBuild{
false};
452 bool m_enableSkewProtection{
false};
458 bool m_enableBasicAuth{
false};
460 bool m_enablePerformanceMode{
false};
470 bool m_enablePullRequestPreview{
false};
479 bool m_appIdHasBeenSet =
false;
480 bool m_branchNameHasBeenSet =
false;
481 bool m_descriptionHasBeenSet =
false;
482 bool m_stageHasBeenSet =
false;
483 bool m_frameworkHasBeenSet =
false;
484 bool m_enableNotificationHasBeenSet =
false;
485 bool m_enableAutoBuildHasBeenSet =
false;
486 bool m_enableSkewProtectionHasBeenSet =
false;
487 bool m_environmentVariablesHasBeenSet =
false;
488 bool m_basicAuthCredentialsHasBeenSet =
false;
489 bool m_enableBasicAuthHasBeenSet =
false;
490 bool m_enablePerformanceModeHasBeenSet =
false;
491 bool m_tagsHasBeenSet =
false;
492 bool m_buildSpecHasBeenSet =
false;
493 bool m_ttlHasBeenSet =
false;
494 bool m_displayNameHasBeenSet =
false;
495 bool m_enablePullRequestPreviewHasBeenSet =
false;
496 bool m_pullRequestEnvironmentNameHasBeenSet =
false;
497 bool m_backendEnvironmentArnHasBeenSet =
false;
498 bool m_backendHasBeenSet =
false;
499 bool m_computeRoleArnHasBeenSet =
false;
bool DescriptionHasBeenSet() const
const Aws::String & GetBackendEnvironmentArn() const
bool EnablePullRequestPreviewHasBeenSet() const
bool DisplayNameHasBeenSet() const
bool EnableNotificationHasBeenSet() const
CreateBranchRequest & WithBuildSpec(BuildSpecT &&value)
bool EnableBasicAuthHasBeenSet() const
bool GetEnableSkewProtection() const
bool PullRequestEnvironmentNameHasBeenSet() const
void SetEnableAutoBuild(bool value)
void SetComputeRoleArn(ComputeRoleArnT &&value)
void SetAppId(AppIdT &&value)
const Aws::String & GetFramework() const
bool EnvironmentVariablesHasBeenSet() const
void SetEnableSkewProtection(bool value)
bool GetEnableAutoBuild() const
void SetBranchName(BranchNameT &&value)
bool BackendHasBeenSet() const
CreateBranchRequest & WithBackend(BackendT &&value)
CreateBranchRequest & WithBranchName(BranchNameT &&value)
CreateBranchRequest & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
const Aws::String & GetDescription() const
bool GetEnablePullRequestPreview() const
void SetBackendEnvironmentArn(BackendEnvironmentArnT &&value)
CreateBranchRequest & WithDisplayName(DisplayNameT &&value)
bool EnableAutoBuildHasBeenSet() const
const Aws::String & GetDisplayName() const
CreateBranchRequest & WithBasicAuthCredentials(BasicAuthCredentialsT &&value)
bool BranchNameHasBeenSet() const
CreateBranchRequest & WithBackendEnvironmentArn(BackendEnvironmentArnT &&value)
CreateBranchRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool BackendEnvironmentArnHasBeenSet() const
void SetTags(TagsT &&value)
void SetDescription(DescriptionT &&value)
CreateBranchRequest & WithEnablePerformanceMode(bool value)
bool ComputeRoleArnHasBeenSet() const
bool TagsHasBeenSet() const
CreateBranchRequest & WithTags(TagsT &&value)
const Aws::String & GetTtl() const
CreateBranchRequest & WithEnablePullRequestPreview(bool value)
void SetDisplayName(DisplayNameT &&value)
void SetBuildSpec(BuildSpecT &&value)
const Backend & GetBackend() const
CreateBranchRequest & WithDescription(DescriptionT &&value)
CreateBranchRequest & WithEnableBasicAuth(bool value)
bool FrameworkHasBeenSet() const
AWS_AMPLIFY_API CreateBranchRequest()=default
const Aws::String & GetPullRequestEnvironmentName() const
const Aws::String & GetBranchName() const
const Aws::String & GetBuildSpec() const
AWS_AMPLIFY_API Aws::String SerializePayload() const override
void SetEnableBasicAuth(bool value)
void SetBasicAuthCredentials(BasicAuthCredentialsT &&value)
CreateBranchRequest & WithEnvironmentVariables(EnvironmentVariablesT &&value)
CreateBranchRequest & WithEnableAutoBuild(bool value)
void SetEnablePullRequestPreview(bool value)
void SetStage(Stage value)
CreateBranchRequest & WithEnableNotification(bool value)
void SetTtl(TtlT &&value)
CreateBranchRequest & WithAppId(AppIdT &&value)
CreateBranchRequest & WithFramework(FrameworkT &&value)
void SetFramework(FrameworkT &&value)
CreateBranchRequest & WithEnableSkewProtection(bool value)
void SetEnablePerformanceMode(bool value)
CreateBranchRequest & WithTtl(TtlT &&value)
const Aws::String & GetComputeRoleArn() const
bool BasicAuthCredentialsHasBeenSet() const
bool EnableSkewProtectionHasBeenSet() const
bool BuildSpecHasBeenSet() const
bool GetEnablePerformanceMode() const
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
const Aws::String & GetAppId() const
bool EnablePerformanceModeHasBeenSet() const
CreateBranchRequest & WithStage(Stage value)
void SetEnableNotification(bool value)
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
const Aws::String & GetBasicAuthCredentials() const
virtual const char * GetServiceRequestName() const override
bool GetEnableBasicAuth() const
CreateBranchRequest & WithComputeRoleArn(ComputeRoleArnT &&value)
CreateBranchRequest & WithPullRequestEnvironmentName(PullRequestEnvironmentNameT &&value)
bool StageHasBeenSet() const
void SetPullRequestEnvironmentName(PullRequestEnvironmentNameT &&value)
bool GetEnableNotification() const
bool TtlHasBeenSet() const
void SetBackend(BackendT &&value)
bool AppIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() 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