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); }
90 inline void SetStage(
const Stage& value) { m_stageHasBeenSet =
true; m_stage = value; }
91 inline void SetStage(
Stage&& value) { m_stageHasBeenSet =
true; m_stage = std::move(value); }
104 inline void SetFramework(
const char* value) { m_frameworkHasBeenSet =
true; m_framework.assign(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; }
204 inline CreateBranchRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
215 inline void SetBuildSpec(
const char* value) { m_buildSpecHasBeenSet =
true; m_buildSpec.assign(value); }
229 inline void SetTtl(
const char* value) { m_ttlHasBeenSet =
true; m_ttl.assign(value); }
244 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
285 inline void SetBackendEnvironmentArn(
const char* value) { m_backendEnvironmentArnHasBeenSet =
true; m_backendEnvironmentArn.assign(value); }
301 inline void SetBackend(
Backend&& value) { m_backendHasBeenSet =
true; m_backend = std::move(value); }
308 bool m_appIdHasBeenSet =
false;
311 bool m_branchNameHasBeenSet =
false;
314 bool m_descriptionHasBeenSet =
false;
317 bool m_stageHasBeenSet =
false;
320 bool m_frameworkHasBeenSet =
false;
322 bool m_enableNotification;
323 bool m_enableNotificationHasBeenSet =
false;
325 bool m_enableAutoBuild;
326 bool m_enableAutoBuildHasBeenSet =
false;
329 bool m_environmentVariablesHasBeenSet =
false;
332 bool m_basicAuthCredentialsHasBeenSet =
false;
334 bool m_enableBasicAuth;
335 bool m_enableBasicAuthHasBeenSet =
false;
337 bool m_enablePerformanceMode;
338 bool m_enablePerformanceModeHasBeenSet =
false;
341 bool m_tagsHasBeenSet =
false;
344 bool m_buildSpecHasBeenSet =
false;
347 bool m_ttlHasBeenSet =
false;
350 bool m_displayNameHasBeenSet =
false;
352 bool m_enablePullRequestPreview;
353 bool m_enablePullRequestPreviewHasBeenSet =
false;
356 bool m_pullRequestEnvironmentNameHasBeenSet =
false;
359 bool m_backendEnvironmentArnHasBeenSet =
false;
362 bool m_backendHasBeenSet =
false;
bool DescriptionHasBeenSet() const
CreateBranchRequest & WithBasicAuthCredentials(Aws::String &&value)
CreateBranchRequest & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
const Aws::String & GetBackendEnvironmentArn() const
bool EnablePullRequestPreviewHasBeenSet() const
bool DisplayNameHasBeenSet() const
bool EnableNotificationHasBeenSet() const
void SetBackendEnvironmentArn(Aws::String &&value)
bool EnableBasicAuthHasBeenSet() const
bool PullRequestEnvironmentNameHasBeenSet() const
void SetEnableAutoBuild(bool value)
CreateBranchRequest & WithDescription(const char *value)
const Aws::String & GetFramework() const
bool EnvironmentVariablesHasBeenSet() const
void SetBackendEnvironmentArn(const char *value)
bool GetEnableAutoBuild() const
void SetAppId(const char *value)
void SetAppId(const Aws::String &value)
void SetTtl(Aws::String &&value)
void SetBasicAuthCredentials(Aws::String &&value)
CreateBranchRequest & AddTags(const char *key, Aws::String &&value)
CreateBranchRequest & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
void SetBuildSpec(Aws::String &&value)
bool BackendHasBeenSet() const
void SetBackendEnvironmentArn(const Aws::String &value)
CreateBranchRequest & WithFramework(const Aws::String &value)
CreateBranchRequest & WithPullRequestEnvironmentName(Aws::String &&value)
void SetPullRequestEnvironmentName(const Aws::String &value)
const Aws::String & GetDescription() const
void SetBasicAuthCredentials(const char *value)
bool GetEnablePullRequestPreview() const
void SetBranchName(Aws::String &&value)
void SetTtl(const char *value)
CreateBranchRequest & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
void SetDisplayName(Aws::String &&value)
void SetBasicAuthCredentials(const Aws::String &value)
CreateBranchRequest & WithDescription(const Aws::String &value)
CreateBranchRequest & WithBuildSpec(const Aws::String &value)
CreateBranchRequest & WithFramework(Aws::String &&value)
void SetBuildSpec(const char *value)
CreateBranchRequest & WithBasicAuthCredentials(const Aws::String &value)
bool EnableAutoBuildHasBeenSet() const
const Aws::String & GetDisplayName() const
AWS_AMPLIFY_API CreateBranchRequest()
CreateBranchRequest & WithAppId(const char *value)
bool BranchNameHasBeenSet() const
bool BackendEnvironmentArnHasBeenSet() const
CreateBranchRequest & WithBranchName(Aws::String &&value)
CreateBranchRequest & WithEnablePerformanceMode(bool value)
void SetBackend(Backend &&value)
bool TagsHasBeenSet() const
CreateBranchRequest & WithDisplayName(Aws::String &&value)
CreateBranchRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateBranchRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateBranchRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateBranchRequest & WithBackend(const Backend &value)
const Aws::String & GetTtl() const
CreateBranchRequest & WithEnablePullRequestPreview(bool value)
void SetDescription(const char *value)
const Backend & GetBackend() const
CreateBranchRequest & WithEnableBasicAuth(bool value)
bool FrameworkHasBeenSet() const
void SetDisplayName(const char *value)
void SetBranchName(const Aws::String &value)
const Aws::String & GetPullRequestEnvironmentName() const
const Aws::String & GetBranchName() const
void SetDescription(const Aws::String &value)
const Aws::String & GetBuildSpec() const
CreateBranchRequest & AddTags(const char *key, const char *value)
AWS_AMPLIFY_API Aws::String SerializePayload() const override
CreateBranchRequest & AddEnvironmentVariables(const char *key, Aws::String &&value)
void SetEnableBasicAuth(bool value)
void SetFramework(const char *value)
CreateBranchRequest & WithBranchName(const char *value)
CreateBranchRequest & WithTtl(const char *value)
CreateBranchRequest & WithEnableAutoBuild(bool value)
void SetFramework(Aws::String &&value)
CreateBranchRequest & AddTags(Aws::String &&key, const char *value)
CreateBranchRequest & WithPullRequestEnvironmentName(const char *value)
void SetEnablePullRequestPreview(bool value)
void SetPullRequestEnvironmentName(Aws::String &&value)
CreateBranchRequest & WithEnableNotification(bool value)
CreateBranchRequest & WithStage(const Stage &value)
const Stage & GetStage() const
CreateBranchRequest & WithTtl(Aws::String &&value)
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
CreateBranchRequest & WithBackendEnvironmentArn(const char *value)
CreateBranchRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTtl(const Aws::String &value)
CreateBranchRequest & WithFramework(const char *value)
CreateBranchRequest & WithDisplayName(const Aws::String &value)
void SetEnablePerformanceMode(bool value)
CreateBranchRequest & WithPullRequestEnvironmentName(const Aws::String &value)
void SetBranchName(const char *value)
void SetBuildSpec(const Aws::String &value)
CreateBranchRequest & WithBackend(Backend &&value)
bool BasicAuthCredentialsHasBeenSet() const
CreateBranchRequest & WithAppId(const Aws::String &value)
void SetStage(const Stage &value)
bool BuildSpecHasBeenSet() const
CreateBranchRequest & WithBasicAuthCredentials(const char *value)
CreateBranchRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateBranchRequest & WithBuildSpec(Aws::String &&value)
CreateBranchRequest & WithBackendEnvironmentArn(Aws::String &&value)
CreateBranchRequest & WithAppId(Aws::String &&value)
void SetBackend(const Backend &value)
CreateBranchRequest & WithBackendEnvironmentArn(const Aws::String &value)
bool GetEnablePerformanceMode() const
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
CreateBranchRequest & WithTtl(const Aws::String &value)
const Aws::String & GetAppId() const
bool EnablePerformanceModeHasBeenSet() const
void SetStage(Stage &&value)
CreateBranchRequest & WithBranchName(const Aws::String &value)
CreateBranchRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateBranchRequest & AddEnvironmentVariables(Aws::String &&key, const char *value)
CreateBranchRequest & WithDescription(Aws::String &&value)
CreateBranchRequest & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
void SetEnableNotification(bool value)
CreateBranchRequest & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetBasicAuthCredentials() const
CreateBranchRequest & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool GetEnableBasicAuth() const
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
bool StageHasBeenSet() const
void SetPullRequestEnvironmentName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateBranchRequest & WithBuildSpec(const char *value)
void SetDescription(Aws::String &&value)
bool GetEnableNotification() const
bool TtlHasBeenSet() const
CreateBranchRequest & WithStage(Stage &&value)
bool AppIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetAppId(Aws::String &&value)
void SetDisplayName(const Aws::String &value)
CreateBranchRequest & AddEnvironmentVariables(const char *key, const char *value)
CreateBranchRequest & WithDisplayName(const char *value)
void SetFramework(const Aws::String &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