7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/AmplifyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/amplify/model/Stage.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/amplify/model/Backend.h>
50 inline void SetAppId(
const char* value) { m_appIdHasBeenSet =
true; m_appId.assign(value); }
64 inline void SetBranchName(
const char* value) { m_branchNameHasBeenSet =
true; m_branchName.assign(value); }
78 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
92 inline void SetFramework(
const char* value) { m_frameworkHasBeenSet =
true; m_framework.assign(value); }
104 inline void SetStage(
const Stage& value) { m_stageHasBeenSet =
true; m_stage = value; }
105 inline void SetStage(
Stage&& value) { m_stageHasBeenSet =
true; m_stage = std::move(value); }
116 inline void SetEnableNotification(
bool value) { m_enableNotificationHasBeenSet =
true; m_enableNotification = value; }
126 inline void SetEnableAutoBuild(
bool value) { m_enableAutoBuildHasBeenSet =
true; m_enableAutoBuild = value; }
159 inline void SetBasicAuthCredentials(
const char* value) { m_basicAuthCredentialsHasBeenSet =
true; m_basicAuthCredentials.assign(value); }
171 inline void SetEnableBasicAuth(
bool value) { m_enableBasicAuthHasBeenSet =
true; m_enableBasicAuth = value; }
196 inline void SetBuildSpec(
const char* value) { m_buildSpecHasBeenSet =
true; m_buildSpec.assign(value); }
210 inline void SetTtl(
const char* value) { m_ttlHasBeenSet =
true; m_ttl.assign(value); }
225 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
266 inline void SetBackendEnvironmentArn(
const char* value) { m_backendEnvironmentArnHasBeenSet =
true; m_backendEnvironmentArn.assign(value); }
282 inline void SetBackend(
Backend&& value) { m_backendHasBeenSet =
true; m_backend = std::move(value); }
289 bool m_appIdHasBeenSet =
false;
292 bool m_branchNameHasBeenSet =
false;
295 bool m_descriptionHasBeenSet =
false;
298 bool m_frameworkHasBeenSet =
false;
301 bool m_stageHasBeenSet =
false;
303 bool m_enableNotification;
304 bool m_enableNotificationHasBeenSet =
false;
306 bool m_enableAutoBuild;
307 bool m_enableAutoBuildHasBeenSet =
false;
310 bool m_environmentVariablesHasBeenSet =
false;
313 bool m_basicAuthCredentialsHasBeenSet =
false;
315 bool m_enableBasicAuth;
316 bool m_enableBasicAuthHasBeenSet =
false;
318 bool m_enablePerformanceMode;
319 bool m_enablePerformanceModeHasBeenSet =
false;
322 bool m_buildSpecHasBeenSet =
false;
325 bool m_ttlHasBeenSet =
false;
328 bool m_displayNameHasBeenSet =
false;
330 bool m_enablePullRequestPreview;
331 bool m_enablePullRequestPreviewHasBeenSet =
false;
334 bool m_pullRequestEnvironmentNameHasBeenSet =
false;
337 bool m_backendEnvironmentArnHasBeenSet =
false;
340 bool m_backendHasBeenSet =
false;
UpdateBranchRequest & WithAppId(Aws::String &&value)
void SetFramework(const Aws::String &value)
UpdateBranchRequest & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
UpdateBranchRequest & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetDisplayName() const
void SetAppId(const Aws::String &value)
UpdateBranchRequest & WithBuildSpec(Aws::String &&value)
UpdateBranchRequest & AddEnvironmentVariables(Aws::String &&key, const char *value)
bool BackendEnvironmentArnHasBeenSet() const
UpdateBranchRequest & WithBackendEnvironmentArn(const Aws::String &value)
bool GetEnableNotification() const
void SetTtl(const char *value)
bool BuildSpecHasBeenSet() const
UpdateBranchRequest & WithTtl(const char *value)
UpdateBranchRequest & WithBasicAuthCredentials(Aws::String &&value)
UpdateBranchRequest & WithStage(const Stage &value)
void SetAppId(Aws::String &&value)
UpdateBranchRequest & WithPullRequestEnvironmentName(const Aws::String &value)
UpdateBranchRequest & WithBuildSpec(const Aws::String &value)
UpdateBranchRequest & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
const Stage & GetStage() const
const Aws::String & GetBackendEnvironmentArn() const
UpdateBranchRequest & AddEnvironmentVariables(const char *key, Aws::String &&value)
UpdateBranchRequest & WithDisplayName(const char *value)
bool EnvironmentVariablesHasBeenSet() const
const Aws::String & GetBasicAuthCredentials() const
void SetEnableBasicAuth(bool value)
void SetEnablePerformanceMode(bool value)
bool BranchNameHasBeenSet() const
UpdateBranchRequest & WithPullRequestEnvironmentName(Aws::String &&value)
void SetAppId(const char *value)
void SetDisplayName(Aws::String &&value)
void SetBackendEnvironmentArn(const char *value)
UpdateBranchRequest & WithBackend(const Backend &value)
void SetBasicAuthCredentials(Aws::String &&value)
UpdateBranchRequest & WithEnableBasicAuth(bool value)
UpdateBranchRequest & WithStage(Stage &&value)
void SetBasicAuthCredentials(const char *value)
bool GetEnablePullRequestPreview() const
UpdateBranchRequest & WithTtl(const Aws::String &value)
UpdateBranchRequest & WithDisplayName(const Aws::String &value)
void SetBranchName(const Aws::String &value)
UpdateBranchRequest & WithDescription(Aws::String &&value)
bool AppIdHasBeenSet() const
UpdateBranchRequest & WithEnableAutoBuild(bool value)
void SetEnablePullRequestPreview(bool value)
bool EnablePerformanceModeHasBeenSet() const
const Aws::String & GetBuildSpec() const
UpdateBranchRequest & WithDescription(const Aws::String &value)
UpdateBranchRequest & WithTtl(Aws::String &&value)
void SetDescription(const Aws::String &value)
bool PullRequestEnvironmentNameHasBeenSet() const
void SetFramework(Aws::String &&value)
bool EnableAutoBuildHasBeenSet() const
void SetBranchName(Aws::String &&value)
UpdateBranchRequest & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
void SetDisplayName(const char *value)
const Backend & GetBackend() const
bool BackendHasBeenSet() const
void SetTtl(Aws::String &&value)
const Aws::String & GetFramework() const
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
UpdateBranchRequest & WithAppId(const char *value)
UpdateBranchRequest & WithBranchName(Aws::String &&value)
void SetPullRequestEnvironmentName(Aws::String &&value)
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
bool EnableBasicAuthHasBeenSet() const
void SetEnableAutoBuild(bool value)
virtual const char * GetServiceRequestName() const override
UpdateBranchRequest & WithEnableNotification(bool value)
UpdateBranchRequest & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
void SetBackend(Backend &&value)
bool FrameworkHasBeenSet() const
UpdateBranchRequest & WithEnablePerformanceMode(bool value)
const Aws::String & GetAppId() const
bool GetEnableBasicAuth() const
void SetBuildSpec(Aws::String &&value)
void SetBuildSpec(const char *value)
const Aws::String & GetBranchName() const
void SetStage(const Stage &value)
UpdateBranchRequest & WithFramework(const Aws::String &value)
bool BasicAuthCredentialsHasBeenSet() const
void SetDisplayName(const Aws::String &value)
UpdateBranchRequest & WithPullRequestEnvironmentName(const char *value)
UpdateBranchRequest & WithEnablePullRequestPreview(bool value)
void SetBuildSpec(const Aws::String &value)
bool DisplayNameHasBeenSet() const
AWS_AMPLIFY_API Aws::String SerializePayload() const override
bool DescriptionHasBeenSet() const
void SetDescription(const char *value)
bool StageHasBeenSet() const
void SetBackendEnvironmentArn(const Aws::String &value)
bool EnableNotificationHasBeenSet() const
void SetPullRequestEnvironmentName(const Aws::String &value)
UpdateBranchRequest & WithBranchName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
UpdateBranchRequest & WithBackend(Backend &&value)
void SetBackendEnvironmentArn(Aws::String &&value)
UpdateBranchRequest & WithBackendEnvironmentArn(const char *value)
UpdateBranchRequest & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
void SetBranchName(const char *value)
const Aws::String & GetDescription() const
bool GetEnableAutoBuild() const
UpdateBranchRequest & WithBranchName(const char *value)
void SetFramework(const char *value)
UpdateBranchRequest & WithDescription(const char *value)
UpdateBranchRequest & WithFramework(const char *value)
void SetBasicAuthCredentials(const Aws::String &value)
void SetTtl(const Aws::String &value)
void SetStage(Stage &&value)
const Aws::String & GetPullRequestEnvironmentName() const
UpdateBranchRequest & WithBasicAuthCredentials(const Aws::String &value)
bool TtlHasBeenSet() const
UpdateBranchRequest & WithAppId(const Aws::String &value)
bool GetEnablePerformanceMode() const
UpdateBranchRequest & WithFramework(Aws::String &&value)
AWS_AMPLIFY_API UpdateBranchRequest()
UpdateBranchRequest & WithBasicAuthCredentials(const char *value)
const Aws::String & GetTtl() const
void SetBackend(const Backend &value)
void SetEnableNotification(bool value)
UpdateBranchRequest & AddEnvironmentVariables(const char *key, const char *value)
void SetDescription(Aws::String &&value)
UpdateBranchRequest & WithDisplayName(Aws::String &&value)
bool EnablePullRequestPreviewHasBeenSet() const
void SetPullRequestEnvironmentName(const char *value)
UpdateBranchRequest & WithBackendEnvironmentArn(Aws::String &&value)
UpdateBranchRequest & WithBuildSpec(const char *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