7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/model/Stage.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
49 inline void SetStage(
const Stage& value) { m_stageHasBeenSet =
true; m_stage = value; }
50 inline void SetStage(
Stage&& value) { m_stageHasBeenSet =
true; m_stage = std::move(value); }
63 inline void SetFramework(
const char* value) { m_frameworkHasBeenSet =
true; m_framework.assign(value); }
75 inline void SetEnableAutoBuild(
bool value) { m_enableAutoBuildHasBeenSet =
true; m_enableAutoBuild = value; }
108 inline void SetBasicAuthCredentials(
const char* value) { m_basicAuthCredentialsHasBeenSet =
true; m_basicAuthCredentials.assign(value); }
120 inline void SetEnableBasicAuth(
bool value) { m_enableBasicAuthHasBeenSet =
true; m_enableBasicAuth = value; }
145 inline void SetBuildSpec(
const char* value) { m_buildSpecHasBeenSet =
true; m_buildSpec.assign(value); }
177 bool m_stageHasBeenSet =
false;
180 bool m_frameworkHasBeenSet =
false;
182 bool m_enableAutoBuild;
183 bool m_enableAutoBuildHasBeenSet =
false;
186 bool m_environmentVariablesHasBeenSet =
false;
189 bool m_basicAuthCredentialsHasBeenSet =
false;
191 bool m_enableBasicAuth;
192 bool m_enableBasicAuthHasBeenSet =
false;
194 bool m_enablePerformanceMode;
195 bool m_enablePerformanceModeHasBeenSet =
false;
198 bool m_buildSpecHasBeenSet =
false;
200 bool m_enablePullRequestPreview;
201 bool m_enablePullRequestPreviewHasBeenSet =
false;
204 bool m_pullRequestEnvironmentNameHasBeenSet =
false;
bool GetEnableBasicAuth() const
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBuildSpec(Aws::String &&value)
bool GetEnableAutoBuild() const
AutoBranchCreationConfig & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
AutoBranchCreationConfig & WithEnableBasicAuth(bool value)
void SetStage(Stage &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
void SetBasicAuthCredentials(const Aws::String &value)
AutoBranchCreationConfig & WithBasicAuthCredentials(Aws::String &&value)
void SetPullRequestEnvironmentName(const char *value)
bool EnablePerformanceModeHasBeenSet() const
bool StageHasBeenSet() const
void SetStage(const Stage &value)
AutoBranchCreationConfig & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
AutoBranchCreationConfig & WithFramework(const Aws::String &value)
void SetFramework(Aws::String &&value)
AutoBranchCreationConfig & WithStage(const Stage &value)
AutoBranchCreationConfig & WithBasicAuthCredentials(const Aws::String &value)
AutoBranchCreationConfig & WithPullRequestEnvironmentName(Aws::String &&value)
AutoBranchCreationConfig & AddEnvironmentVariables(const char *key, const char *value)
AWS_AMPLIFY_API AutoBranchCreationConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPullRequestEnvironmentName() const
AutoBranchCreationConfig & WithPullRequestEnvironmentName(const char *value)
const Aws::String & GetBasicAuthCredentials() const
bool GetEnablePerformanceMode() const
AutoBranchCreationConfig & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
void SetEnablePerformanceMode(bool value)
void SetBuildSpec(const Aws::String &value)
void SetBuildSpec(const char *value)
AutoBranchCreationConfig & WithEnablePullRequestPreview(bool value)
bool BasicAuthCredentialsHasBeenSet() const
AutoBranchCreationConfig & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
void SetEnableAutoBuild(bool value)
AutoBranchCreationConfig & WithBuildSpec(Aws::String &&value)
AutoBranchCreationConfig & WithFramework(const char *value)
void SetFramework(const Aws::String &value)
AutoBranchCreationConfig & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
bool EnableBasicAuthHasBeenSet() const
bool BuildSpecHasBeenSet() const
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
void SetBasicAuthCredentials(Aws::String &&value)
void SetBasicAuthCredentials(const char *value)
AutoBranchCreationConfig & WithEnablePerformanceMode(bool value)
bool FrameworkHasBeenSet() const
AutoBranchCreationConfig & WithBuildSpec(const char *value)
const Aws::String & GetFramework() const
AWS_AMPLIFY_API AutoBranchCreationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoBranchCreationConfig & WithBasicAuthCredentials(const char *value)
bool GetEnablePullRequestPreview() const
bool EnvironmentVariablesHasBeenSet() const
AutoBranchCreationConfig & AddEnvironmentVariables(const char *key, Aws::String &&value)
AutoBranchCreationConfig & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
AutoBranchCreationConfig & WithEnableAutoBuild(bool value)
bool PullRequestEnvironmentNameHasBeenSet() const
void SetEnablePullRequestPreview(bool value)
void SetFramework(const char *value)
bool EnableAutoBuildHasBeenSet() const
AutoBranchCreationConfig & AddEnvironmentVariables(Aws::String &&key, const char *value)
AWS_AMPLIFY_API AutoBranchCreationConfig()
void SetEnableBasicAuth(bool value)
const Stage & GetStage() const
void SetPullRequestEnvironmentName(Aws::String &&value)
AutoBranchCreationConfig & WithPullRequestEnvironmentName(const Aws::String &value)
AutoBranchCreationConfig & WithFramework(Aws::String &&value)
const Aws::String & GetBuildSpec() const
void SetPullRequestEnvironmentName(const Aws::String &value)
AutoBranchCreationConfig & WithBuildSpec(const Aws::String &value)
bool EnablePullRequestPreviewHasBeenSet() const
AutoBranchCreationConfig & WithStage(Stage &&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
Aws::Utils::Json::JsonValue JsonValue