7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/model/Backend.h>
9#include <aws/amplify/model/Stage.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
47 template <
typename BranchArnT = Aws::String>
49 m_branchArnHasBeenSet =
true;
50 m_branchArn = std::forward<BranchArnT>(value);
52 template <
typename BranchArnT = Aws::String>
65 template <
typename BranchNameT = Aws::String>
67 m_branchNameHasBeenSet =
true;
68 m_branchName = std::forward<BranchNameT>(value);
70 template <
typename BranchNameT = Aws::String>
83 template <
typename DescriptionT = Aws::String>
85 m_descriptionHasBeenSet =
true;
86 m_description = std::forward<DescriptionT>(value);
88 template <
typename DescriptionT = Aws::String>
101 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 m_tagsHasBeenSet =
true;
104 m_tags = std::forward<TagsT>(value);
106 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
108 SetTags(std::forward<TagsT>(value));
111 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
113 m_tagsHasBeenSet =
true;
114 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
126 m_stageHasBeenSet =
true;
142 template <
typename DisplayNameT = Aws::String>
144 m_displayNameHasBeenSet =
true;
145 m_displayName = std::forward<DisplayNameT>(value);
147 template <
typename DisplayNameT = Aws::String>
161 m_enableNotificationHasBeenSet =
true;
162 m_enableNotification = value;
176 template <
typename CreateTimeT = Aws::Utils::DateTime>
178 m_createTimeHasBeenSet =
true;
179 m_createTime = std::forward<CreateTimeT>(value);
181 template <
typename CreateTimeT = Aws::Utils::DateTime>
194 template <
typename UpdateTimeT = Aws::Utils::DateTime>
196 m_updateTimeHasBeenSet =
true;
197 m_updateTime = std::forward<UpdateTimeT>(value);
199 template <
typename UpdateTimeT = Aws::Utils::DateTime>
212 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
214 m_environmentVariablesHasBeenSet =
true;
215 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
217 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
222 template <
typename EnvironmentVariablesKeyT = Aws::String,
typename EnvironmentVariablesValueT = Aws::String>
224 m_environmentVariablesHasBeenSet =
true;
225 m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
237 m_enableAutoBuildHasBeenSet =
true;
238 m_enableAutoBuild = value;
260 m_enableSkewProtectionHasBeenSet =
true;
261 m_enableSkewProtection = value;
275 template <
typename CustomDomainsT = Aws::Vector<Aws::String>>
277 m_customDomainsHasBeenSet =
true;
278 m_customDomains = std::forward<CustomDomainsT>(value);
280 template <
typename CustomDomainsT = Aws::Vector<Aws::String>>
285 template <
typename CustomDomainsT = Aws::String>
287 m_customDomainsHasBeenSet =
true;
288 m_customDomains.emplace_back(std::forward<CustomDomainsT>(value));
299 template <
typename FrameworkT = Aws::String>
301 m_frameworkHasBeenSet =
true;
302 m_framework = std::forward<FrameworkT>(value);
304 template <
typename FrameworkT = Aws::String>
317 template <
typename ActiveJobIdT = Aws::String>
319 m_activeJobIdHasBeenSet =
true;
320 m_activeJobId = std::forward<ActiveJobIdT>(value);
322 template <
typename ActiveJobIdT = Aws::String>
335 template <
typename TotalNumberOfJobsT = Aws::String>
337 m_totalNumberOfJobsHasBeenSet =
true;
338 m_totalNumberOfJobs = std::forward<TotalNumberOfJobsT>(value);
340 template <
typename TotalNumberOfJobsT = Aws::String>
354 m_enableBasicAuthHasBeenSet =
true;
355 m_enableBasicAuth = value;
373 m_enablePerformanceModeHasBeenSet =
true;
374 m_enablePerformanceMode = value;
388 template <
typename ThumbnailUrlT = Aws::String>
390 m_thumbnailUrlHasBeenSet =
true;
391 m_thumbnailUrl = std::forward<ThumbnailUrlT>(value);
393 template <
typename ThumbnailUrlT = Aws::String>
408 template <
typename BasicAuthCredentialsT = Aws::String>
410 m_basicAuthCredentialsHasBeenSet =
true;
411 m_basicAuthCredentials = std::forward<BasicAuthCredentialsT>(value);
413 template <
typename BasicAuthCredentialsT = Aws::String>
427 template <
typename BuildSpecT = Aws::String>
429 m_buildSpecHasBeenSet =
true;
430 m_buildSpec = std::forward<BuildSpecT>(value);
432 template <
typename BuildSpecT = Aws::String>
445 template <
typename TtlT = Aws::String>
447 m_ttlHasBeenSet =
true;
448 m_ttl = std::forward<TtlT>(value);
450 template <
typename TtlT = Aws::String>
452 SetTtl(std::forward<TtlT>(value));
463 template <
typename AssociatedResourcesT = Aws::Vector<Aws::String>>
465 m_associatedResourcesHasBeenSet =
true;
466 m_associatedResources = std::forward<AssociatedResourcesT>(value);
468 template <
typename AssociatedResourcesT = Aws::Vector<Aws::String>>
473 template <
typename AssociatedResourcesT = Aws::String>
475 m_associatedResourcesHasBeenSet =
true;
476 m_associatedResources.emplace_back(std::forward<AssociatedResourcesT>(value));
488 m_enablePullRequestPreviewHasBeenSet =
true;
489 m_enablePullRequestPreview = value;
503 template <
typename PullRequestEnvironmentNameT = Aws::String>
505 m_pullRequestEnvironmentNameHasBeenSet =
true;
506 m_pullRequestEnvironmentName = std::forward<PullRequestEnvironmentNameT>(value);
508 template <
typename PullRequestEnvironmentNameT = Aws::String>
521 template <
typename DestinationBranchT = Aws::String>
523 m_destinationBranchHasBeenSet =
true;
524 m_destinationBranch = std::forward<DestinationBranchT>(value);
526 template <
typename DestinationBranchT = Aws::String>
539 template <
typename SourceBranchT = Aws::String>
541 m_sourceBranchHasBeenSet =
true;
542 m_sourceBranch = std::forward<SourceBranchT>(value);
544 template <
typename SourceBranchT = Aws::String>
560 template <
typename BackendEnvironmentArnT = Aws::String>
562 m_backendEnvironmentArnHasBeenSet =
true;
563 m_backendEnvironmentArn = std::forward<BackendEnvironmentArnT>(value);
565 template <
typename BackendEnvironmentArnT = Aws::String>
576 template <
typename BackendT = Backend>
578 m_backendHasBeenSet =
true;
579 m_backend = std::forward<BackendT>(value);
581 template <
typename BackendT = Backend>
599 template <
typename ComputeRoleArnT = Aws::String>
601 m_computeRoleArnHasBeenSet =
true;
602 m_computeRoleArn = std::forward<ComputeRoleArnT>(value);
604 template <
typename ComputeRoleArnT = Aws::String>
623 bool m_enableNotification{
false};
631 bool m_enableAutoBuild{
false};
633 bool m_enableSkewProtection{
false};
643 bool m_enableBasicAuth{
false};
645 bool m_enablePerformanceMode{
false};
657 bool m_enablePullRequestPreview{
false};
670 bool m_branchArnHasBeenSet =
false;
671 bool m_branchNameHasBeenSet =
false;
672 bool m_descriptionHasBeenSet =
false;
673 bool m_tagsHasBeenSet =
false;
674 bool m_stageHasBeenSet =
false;
675 bool m_displayNameHasBeenSet =
false;
676 bool m_enableNotificationHasBeenSet =
false;
677 bool m_createTimeHasBeenSet =
false;
678 bool m_updateTimeHasBeenSet =
false;
679 bool m_environmentVariablesHasBeenSet =
false;
680 bool m_enableAutoBuildHasBeenSet =
false;
681 bool m_enableSkewProtectionHasBeenSet =
false;
682 bool m_customDomainsHasBeenSet =
false;
683 bool m_frameworkHasBeenSet =
false;
684 bool m_activeJobIdHasBeenSet =
false;
685 bool m_totalNumberOfJobsHasBeenSet =
false;
686 bool m_enableBasicAuthHasBeenSet =
false;
687 bool m_enablePerformanceModeHasBeenSet =
false;
688 bool m_thumbnailUrlHasBeenSet =
false;
689 bool m_basicAuthCredentialsHasBeenSet =
false;
690 bool m_buildSpecHasBeenSet =
false;
691 bool m_ttlHasBeenSet =
false;
692 bool m_associatedResourcesHasBeenSet =
false;
693 bool m_enablePullRequestPreviewHasBeenSet =
false;
694 bool m_pullRequestEnvironmentNameHasBeenSet =
false;
695 bool m_destinationBranchHasBeenSet =
false;
696 bool m_sourceBranchHasBeenSet =
false;
697 bool m_backendEnvironmentArnHasBeenSet =
false;
698 bool m_backendHasBeenSet =
false;
699 bool m_computeRoleArnHasBeenSet =
false;
bool ComputeRoleArnHasBeenSet() const
void SetTags(TagsT &&value)
bool TotalNumberOfJobsHasBeenSet() const
Branch & AddAssociatedResources(AssociatedResourcesT &&value)
void SetFramework(FrameworkT &&value)
bool AssociatedResourcesHasBeenSet() const
const Aws::String & GetBasicAuthCredentials() const
Branch & WithCreateTime(CreateTimeT &&value)
void SetActiveJobId(ActiveJobIdT &&value)
void SetEnableSkewProtection(bool value)
const Aws::String & GetThumbnailUrl() const
Branch & WithTags(TagsT &&value)
bool GetEnableAutoBuild() const
bool ThumbnailUrlHasBeenSet() const
void SetStage(Stage value)
Branch & WithDisplayName(DisplayNameT &&value)
Branch & WithPullRequestEnvironmentName(PullRequestEnvironmentNameT &&value)
bool EnableNotificationHasBeenSet() const
void SetBranchArn(BranchArnT &&value)
const Aws::String & GetTtl() const
bool UpdateTimeHasBeenSet() const
void SetSourceBranch(SourceBranchT &&value)
void SetAssociatedResources(AssociatedResourcesT &&value)
void SetBackendEnvironmentArn(BackendEnvironmentArnT &&value)
void SetPullRequestEnvironmentName(PullRequestEnvironmentNameT &&value)
void SetBasicAuthCredentials(BasicAuthCredentialsT &&value)
Branch & WithBackend(BackendT &&value)
Branch & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
bool BuildSpecHasBeenSet() const
void SetDestinationBranch(DestinationBranchT &&value)
Branch & WithAssociatedResources(AssociatedResourcesT &&value)
bool EnableSkewProtectionHasBeenSet() const
Branch & WithTotalNumberOfJobs(TotalNumberOfJobsT &&value)
void SetEnablePerformanceMode(bool value)
void SetEnableNotification(bool value)
Branch & WithEnableNotification(bool value)
void SetUpdateTime(UpdateTimeT &&value)
AWS_AMPLIFY_API Branch(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTotalNumberOfJobs() const
bool TagsHasBeenSet() const
Branch & WithFramework(FrameworkT &&value)
bool GetEnableBasicAuth() const
const Aws::String & GetBranchName() const
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
Branch & WithActiveJobId(ActiveJobIdT &&value)
bool CustomDomainsHasBeenSet() const
Branch & WithDescription(DescriptionT &&value)
Branch & WithDestinationBranch(DestinationBranchT &&value)
Branch & WithEnablePerformanceMode(bool value)
bool BackendEnvironmentArnHasBeenSet() const
void SetTtl(TtlT &&value)
bool EnableAutoBuildHasBeenSet() const
void SetComputeRoleArn(ComputeRoleArnT &&value)
Branch & WithEnablePullRequestPreview(bool value)
Branch & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetThumbnailUrl(ThumbnailUrlT &&value)
Branch & WithUpdateTime(UpdateTimeT &&value)
void SetBackend(BackendT &&value)
Branch & WithCustomDomains(CustomDomainsT &&value)
bool FrameworkHasBeenSet() const
bool EnvironmentVariablesHasBeenSet() const
const Backend & GetBackend() const
bool BranchArnHasBeenSet() const
bool BranchNameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool GetEnablePullRequestPreview() const
const Aws::String & GetActiveJobId() const
Branch & WithBasicAuthCredentials(BasicAuthCredentialsT &&value)
const Aws::String & GetSourceBranch() const
const Aws::String & GetPullRequestEnvironmentName() const
bool BackendHasBeenSet() const
AWS_AMPLIFY_API Branch()=default
const Aws::String & GetBranchArn() const
void SetEnableAutoBuild(bool value)
bool PullRequestEnvironmentNameHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool TtlHasBeenSet() const
Branch & WithBranchArn(BranchArnT &&value)
bool ActiveJobIdHasBeenSet() const
bool BasicAuthCredentialsHasBeenSet() const
Branch & WithEnableSkewProtection(bool value)
void SetCustomDomains(CustomDomainsT &&value)
void SetBuildSpec(BuildSpecT &&value)
bool DestinationBranchHasBeenSet() const
bool GetEnablePerformanceMode() const
Branch & AddCustomDomains(CustomDomainsT &&value)
bool DescriptionHasBeenSet() const
Branch & WithSourceBranch(SourceBranchT &&value)
Branch & WithEnvironmentVariables(EnvironmentVariablesT &&value)
bool StageHasBeenSet() const
const Aws::String & GetDestinationBranch() const
bool GetEnableNotification() const
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFramework() const
const Aws::String & GetDescription() const
Branch & WithThumbnailUrl(ThumbnailUrlT &&value)
void SetBranchName(BranchNameT &&value)
const Aws::String & GetBuildSpec() const
const Aws::Vector< Aws::String > & GetCustomDomains() const
Branch & WithBuildSpec(BuildSpecT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
const Aws::String & GetComputeRoleArn() const
const Aws::String & GetBackendEnvironmentArn() const
Branch & WithStage(Stage value)
bool SourceBranchHasBeenSet() const
AWS_AMPLIFY_API Branch & operator=(Aws::Utils::Json::JsonView jsonValue)
Branch & WithComputeRoleArn(ComputeRoleArnT &&value)
Branch & WithTtl(TtlT &&value)
bool GetEnableSkewProtection() const
void SetCreateTime(CreateTimeT &&value)
void SetEnableBasicAuth(bool value)
bool CreateTimeHasBeenSet() const
bool DisplayNameHasBeenSet() const
Branch & WithBranchName(BranchNameT &&value)
void SetEnablePullRequestPreview(bool value)
const Aws::String & GetDisplayName() const
Branch & WithEnableBasicAuth(bool value)
bool EnablePullRequestPreviewHasBeenSet() const
const Aws::Vector< Aws::String > & GetAssociatedResources() const
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
const Aws::Utils::DateTime & GetCreateTime() const
Branch & WithEnableAutoBuild(bool value)
bool EnableBasicAuthHasBeenSet() const
void SetTotalNumberOfJobs(TotalNumberOfJobsT &&value)
void SetDisplayName(DisplayNameT &&value)
Branch & WithBackendEnvironmentArn(BackendEnvironmentArnT &&value)
bool EnablePerformanceModeHasBeenSet() 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
Aws::Utils::Json::JsonValue JsonValue