7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/amplify/model/Stage.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/amplify/model/Backend.h>
55 inline void SetBranchArn(
const char* value) { m_branchArnHasBeenSet =
true; m_branchArn.assign(value); }
69 inline void SetBranchName(
const char* value) { m_branchNameHasBeenSet =
true; m_branchName.assign(value); }
83 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
103 inline Branch&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
104 inline Branch&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
105 inline Branch&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
114 inline void SetStage(
const Stage& value) { m_stageHasBeenSet =
true; m_stage = value; }
115 inline void SetStage(
Stage&& value) { m_stageHasBeenSet =
true; m_stage = std::move(value); }
129 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
141 inline void SetEnableNotification(
bool value) { m_enableNotificationHasBeenSet =
true; m_enableNotification = value; }
186 inline Branch&
AddEnvironmentVariables(
const char* key,
const char* value) { m_environmentVariablesHasBeenSet =
true; m_environmentVariables.emplace(key, value);
return *
this; }
195 inline void SetEnableAutoBuild(
bool value) { m_enableAutoBuildHasBeenSet =
true; m_enableAutoBuild = value; }
211 inline Branch&
AddCustomDomains(
const char* value) { m_customDomainsHasBeenSet =
true; m_customDomains.push_back(value);
return *
this; }
222 inline void SetFramework(
const char* value) { m_frameworkHasBeenSet =
true; m_framework.assign(value); }
236 inline void SetActiveJobId(
const char* value) { m_activeJobIdHasBeenSet =
true; m_activeJobId.assign(value); }
250 inline void SetTotalNumberOfJobs(
const char* value) { m_totalNumberOfJobsHasBeenSet =
true; m_totalNumberOfJobs.assign(value); }
262 inline void SetEnableBasicAuth(
bool value) { m_enableBasicAuthHasBeenSet =
true; m_enableBasicAuth = value; }
287 inline void SetThumbnailUrl(
const char* value) { m_thumbnailUrlHasBeenSet =
true; m_thumbnailUrl.assign(value); }
303 inline void SetBasicAuthCredentials(
const char* value) { m_basicAuthCredentialsHasBeenSet =
true; m_basicAuthCredentials.assign(value); }
318 inline void SetBuildSpec(
const char* value) { m_buildSpecHasBeenSet =
true; m_buildSpec.assign(value); }
332 inline void SetTtl(
const char* value) { m_ttlHasBeenSet =
true; m_ttl.assign(value); }
350 inline Branch&
AddAssociatedResources(
const char* value) { m_associatedResourcesHasBeenSet =
true; m_associatedResources.push_back(value);
return *
this; }
385 inline void SetDestinationBranch(
const char* value) { m_destinationBranchHasBeenSet =
true; m_destinationBranch.assign(value); }
399 inline void SetSourceBranch(
const char* value) { m_sourceBranchHasBeenSet =
true; m_sourceBranch.assign(value); }
416 inline void SetBackendEnvironmentArn(
const char* value) { m_backendEnvironmentArnHasBeenSet =
true; m_backendEnvironmentArn.assign(value); }
427 inline void SetBackend(
Backend&& value) { m_backendHasBeenSet =
true; m_backend = std::move(value); }
434 bool m_branchArnHasBeenSet =
false;
437 bool m_branchNameHasBeenSet =
false;
440 bool m_descriptionHasBeenSet =
false;
443 bool m_tagsHasBeenSet =
false;
446 bool m_stageHasBeenSet =
false;
449 bool m_displayNameHasBeenSet =
false;
451 bool m_enableNotification;
452 bool m_enableNotificationHasBeenSet =
false;
455 bool m_createTimeHasBeenSet =
false;
458 bool m_updateTimeHasBeenSet =
false;
461 bool m_environmentVariablesHasBeenSet =
false;
463 bool m_enableAutoBuild;
464 bool m_enableAutoBuildHasBeenSet =
false;
467 bool m_customDomainsHasBeenSet =
false;
470 bool m_frameworkHasBeenSet =
false;
473 bool m_activeJobIdHasBeenSet =
false;
476 bool m_totalNumberOfJobsHasBeenSet =
false;
478 bool m_enableBasicAuth;
479 bool m_enableBasicAuthHasBeenSet =
false;
481 bool m_enablePerformanceMode;
482 bool m_enablePerformanceModeHasBeenSet =
false;
485 bool m_thumbnailUrlHasBeenSet =
false;
488 bool m_basicAuthCredentialsHasBeenSet =
false;
491 bool m_buildSpecHasBeenSet =
false;
494 bool m_ttlHasBeenSet =
false;
497 bool m_associatedResourcesHasBeenSet =
false;
499 bool m_enablePullRequestPreview;
500 bool m_enablePullRequestPreviewHasBeenSet =
false;
503 bool m_pullRequestEnvironmentNameHasBeenSet =
false;
506 bool m_destinationBranchHasBeenSet =
false;
509 bool m_sourceBranchHasBeenSet =
false;
512 bool m_backendEnvironmentArnHasBeenSet =
false;
515 bool m_backendHasBeenSet =
false;
Branch & WithDescription(const Aws::String &value)
Branch & WithDestinationBranch(Aws::String &&value)
bool TotalNumberOfJobsHasBeenSet() const
bool AssociatedResourcesHasBeenSet() const
Branch & AddTags(const Aws::String &key, Aws::String &&value)
void SetDescription(const char *value)
void SetBackend(const Backend &value)
const Aws::String & GetBasicAuthCredentials() const
void SetCustomDomains(const Aws::Vector< Aws::String > &value)
Branch & AddTags(const Aws::String &key, const Aws::String &value)
Branch & WithBranchName(const Aws::String &value)
Branch & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
const Aws::String & GetThumbnailUrl() const
Branch & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
Branch & WithPullRequestEnvironmentName(const Aws::String &value)
Branch & WithBackendEnvironmentArn(const char *value)
Branch & WithFramework(const Aws::String &value)
bool GetEnableAutoBuild() const
bool ThumbnailUrlHasBeenSet() const
void SetBuildSpec(const char *value)
void SetDescription(const Aws::String &value)
void SetAssociatedResources(Aws::Vector< Aws::String > &&value)
bool EnableNotificationHasBeenSet() const
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
void SetActiveJobId(const char *value)
Branch & AddCustomDomains(const Aws::String &value)
Branch & AddTags(Aws::String &&key, Aws::String &&value)
Branch & WithTotalNumberOfJobs(const Aws::String &value)
void SetFramework(const Aws::String &value)
Branch & AddTags(Aws::String &&key, const Aws::String &value)
void SetDescription(Aws::String &&value)
const Aws::String & GetTtl() const
Branch & WithBranchName(const char *value)
Branch & WithBasicAuthCredentials(const char *value)
bool UpdateTimeHasBeenSet() const
Branch & WithUpdateTime(Aws::Utils::DateTime &&value)
void SetPullRequestEnvironmentName(Aws::String &&value)
Branch & WithAssociatedResources(const Aws::Vector< Aws::String > &value)
void SetThumbnailUrl(const Aws::String &value)
Branch & WithAssociatedResources(Aws::Vector< Aws::String > &&value)
void SetDestinationBranch(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Branch & WithTotalNumberOfJobs(Aws::String &&value)
Branch & WithStage(Stage &&value)
void SetTotalNumberOfJobs(Aws::String &&value)
Branch & WithDisplayName(const Aws::String &value)
Branch & WithTtl(Aws::String &&value)
Branch & WithThumbnailUrl(const Aws::String &value)
bool BuildSpecHasBeenSet() const
void SetActiveJobId(const Aws::String &value)
void SetEnablePerformanceMode(bool value)
Branch & WithPullRequestEnvironmentName(const char *value)
Branch & WithFramework(Aws::String &&value)
void SetBranchArn(Aws::String &&value)
void SetBranchName(const Aws::String &value)
void SetEnableNotification(bool value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
Branch & WithDescription(const char *value)
Branch & WithEnableNotification(bool value)
AWS_AMPLIFY_API Branch(Aws::Utils::Json::JsonView jsonValue)
void SetFramework(Aws::String &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
void SetBranchName(Aws::String &&value)
void SetThumbnailUrl(Aws::String &&value)
const Aws::String & GetTotalNumberOfJobs() const
Branch & AddAssociatedResources(Aws::String &&value)
void SetThumbnailUrl(const char *value)
bool TagsHasBeenSet() const
bool GetEnableBasicAuth() const
const Aws::String & GetBranchName() const
Branch & AddCustomDomains(const char *value)
Branch & WithPullRequestEnvironmentName(Aws::String &&value)
bool CustomDomainsHasBeenSet() const
Branch & WithEnablePerformanceMode(bool value)
bool BackendEnvironmentArnHasBeenSet() const
Branch & WithBuildSpec(Aws::String &&value)
Branch & AddEnvironmentVariables(const char *key, Aws::String &&value)
void SetBackendEnvironmentArn(Aws::String &&value)
Branch & WithSourceBranch(Aws::String &&value)
Branch & AddAssociatedResources(const Aws::String &value)
bool EnableAutoBuildHasBeenSet() const
void SetDisplayName(const char *value)
void SetPullRequestEnvironmentName(const char *value)
Branch & WithEnablePullRequestPreview(bool value)
Branch & WithCreateTime(const Aws::Utils::DateTime &value)
Branch & AddTags(Aws::String &&key, const char *value)
Branch & WithCustomDomains(const Aws::Vector< Aws::String > &value)
void SetTotalNumberOfJobs(const char *value)
Branch & WithTtl(const char *value)
Branch & WithSourceBranch(const Aws::String &value)
void SetFramework(const char *value)
void SetTotalNumberOfJobs(const Aws::String &value)
void SetTtl(Aws::String &&value)
void SetBuildSpec(const Aws::String &value)
Branch & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
void SetDestinationBranch(const char *value)
bool FrameworkHasBeenSet() const
bool EnvironmentVariablesHasBeenSet() const
void SetBranchArn(const Aws::String &value)
Branch & WithBranchName(Aws::String &&value)
const Backend & GetBackend() const
void SetBasicAuthCredentials(const Aws::String &value)
bool BranchArnHasBeenSet() const
bool BranchNameHasBeenSet() const
void SetCreateTime(const Aws::Utils::DateTime &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool GetEnablePullRequestPreview() const
const Aws::String & GetActiveJobId() const
Branch & AddAssociatedResources(const char *value)
const Aws::String & GetSourceBranch() const
const Aws::String & GetPullRequestEnvironmentName() const
bool BackendHasBeenSet() const
void SetAssociatedResources(const Aws::Vector< Aws::String > &value)
const Aws::String & GetBranchArn() const
Branch & AddEnvironmentVariables(const char *key, const char *value)
Branch & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetEnableAutoBuild(bool value)
Branch & WithActiveJobId(const Aws::String &value)
bool PullRequestEnvironmentNameHasBeenSet() const
Branch & WithBackendEnvironmentArn(Aws::String &&value)
Branch & WithBranchArn(const char *value)
Branch & WithBuildSpec(const char *value)
void SetBackendEnvironmentArn(const char *value)
void SetBackendEnvironmentArn(const Aws::String &value)
Branch & WithBasicAuthCredentials(Aws::String &&value)
bool TtlHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetBackend(Backend &&value)
Branch & WithBranchArn(Aws::String &&value)
void SetTtl(const char *value)
bool ActiveJobIdHasBeenSet() const
const Stage & GetStage() const
Branch & WithBasicAuthCredentials(const Aws::String &value)
Branch & WithBackend(const Backend &value)
Branch & WithDescription(Aws::String &&value)
void SetTtl(const Aws::String &value)
bool BasicAuthCredentialsHasBeenSet() const
void SetStage(const Stage &value)
Branch & WithDisplayName(Aws::String &&value)
Branch & AddCustomDomains(Aws::String &&value)
void SetDestinationBranch(const Aws::String &value)
Branch & WithDestinationBranch(const Aws::String &value)
bool DestinationBranchHasBeenSet() const
Branch & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
Branch & WithActiveJobId(const char *value)
void SetDisplayName(Aws::String &&value)
bool GetEnablePerformanceMode() const
Branch & WithStage(const Stage &value)
void SetPullRequestEnvironmentName(const Aws::String &value)
Branch & WithActiveJobId(Aws::String &&value)
Branch & WithTtl(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetSourceBranch(const char *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 & WithBranchArn(const Aws::String &value)
void SetBasicAuthCredentials(Aws::String &&value)
const Aws::String & GetBuildSpec() const
Branch & WithTotalNumberOfJobs(const char *value)
Branch & WithFramework(const char *value)
Branch & WithThumbnailUrl(Aws::String &&value)
const Aws::Vector< Aws::String > & GetCustomDomains() const
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
Branch & WithCustomDomains(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
Branch & AddTags(const char *key, const char *value)
const Aws::String & GetBackendEnvironmentArn() const
Branch & WithDisplayName(const char *value)
bool SourceBranchHasBeenSet() const
Branch & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
Branch & WithUpdateTime(const Aws::Utils::DateTime &value)
AWS_AMPLIFY_API Branch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBasicAuthCredentials(const char *value)
Branch & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Branch & WithBackendEnvironmentArn(const Aws::String &value)
void SetSourceBranch(Aws::String &&value)
Branch & WithBackend(Backend &&value)
void SetCustomDomains(Aws::Vector< Aws::String > &&value)
void SetActiveJobId(Aws::String &&value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
void SetEnableBasicAuth(bool value)
bool CreateTimeHasBeenSet() const
bool DisplayNameHasBeenSet() const
Branch & WithCreateTime(Aws::Utils::DateTime &&value)
void SetBuildSpec(Aws::String &&value)
void SetEnablePullRequestPreview(bool value)
Branch & AddEnvironmentVariables(Aws::String &&key, const char *value)
void SetSourceBranch(const Aws::String &value)
Branch & AddTags(const char *key, Aws::String &&value)
Branch & WithThumbnailUrl(const char *value)
void SetBranchName(const char *value)
const Aws::String & GetDisplayName() const
void SetBranchArn(const char *value)
Branch & WithEnableBasicAuth(bool value)
bool EnablePullRequestPreviewHasBeenSet() const
const Aws::Vector< Aws::String > & GetAssociatedResources() const
void SetDisplayName(const Aws::String &value)
Branch & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
void SetStage(Stage &&value)
Branch & WithDestinationBranch(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
const Aws::Utils::DateTime & GetCreateTime() const
Branch & WithEnableAutoBuild(bool value)
bool EnableBasicAuthHasBeenSet() const
Branch & WithSourceBranch(const char *value)
Branch & WithBuildSpec(const Aws::String &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