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(
Stage value) { m_stageHasBeenSet =
true; m_stage = value; }
59 template<
typename FrameworkT = Aws::String>
60 void SetFramework(FrameworkT&& value) { m_frameworkHasBeenSet =
true; m_framework = std::forward<FrameworkT>(value); }
61 template<
typename FrameworkT = Aws::String>
71 inline void SetEnableAutoBuild(
bool value) { m_enableAutoBuildHasBeenSet =
true; m_enableAutoBuild = value; }
81 template<
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
82 void SetEnvironmentVariables(EnvironmentVariablesT&& value) { m_environmentVariablesHasBeenSet =
true; m_environmentVariables = std::forward<EnvironmentVariablesT>(value); }
83 template<
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
85 template<
typename EnvironmentVariablesKeyT = Aws::String,
typename EnvironmentVariablesValueT = Aws::String>
87 m_environmentVariablesHasBeenSet =
true; m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
return *
this;
99 template<
typename BasicAuthCredentialsT = Aws::String>
100 void SetBasicAuthCredentials(BasicAuthCredentialsT&& value) { m_basicAuthCredentialsHasBeenSet =
true; m_basicAuthCredentials = std::forward<BasicAuthCredentialsT>(value); }
101 template<
typename BasicAuthCredentialsT = Aws::String>
111 inline void SetEnableBasicAuth(
bool value) { m_enableBasicAuthHasBeenSet =
true; m_enableBasicAuth = value; }
134 template<
typename BuildSpecT = Aws::String>
135 void SetBuildSpec(BuildSpecT&& value) { m_buildSpecHasBeenSet =
true; m_buildSpec = std::forward<BuildSpecT>(value); }
136 template<
typename BuildSpecT = Aws::String>
156 template<
typename PullRequestEnvironmentNameT = Aws::String>
157 void SetPullRequestEnvironmentName(PullRequestEnvironmentNameT&& value) { m_pullRequestEnvironmentNameHasBeenSet =
true; m_pullRequestEnvironmentName = std::forward<PullRequestEnvironmentNameT>(value); }
158 template<
typename PullRequestEnvironmentNameT = Aws::String>
164 bool m_stageHasBeenSet =
false;
167 bool m_frameworkHasBeenSet =
false;
169 bool m_enableAutoBuild{
false};
170 bool m_enableAutoBuildHasBeenSet =
false;
173 bool m_environmentVariablesHasBeenSet =
false;
176 bool m_basicAuthCredentialsHasBeenSet =
false;
178 bool m_enableBasicAuth{
false};
179 bool m_enableBasicAuthHasBeenSet =
false;
181 bool m_enablePerformanceMode{
false};
182 bool m_enablePerformanceModeHasBeenSet =
false;
185 bool m_buildSpecHasBeenSet =
false;
187 bool m_enablePullRequestPreview{
false};
188 bool m_enablePullRequestPreviewHasBeenSet =
false;
191 bool m_pullRequestEnvironmentNameHasBeenSet =
false;
bool GetEnableBasicAuth() const
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetEnableAutoBuild() const
AWS_AMPLIFY_API AutoBranchCreationConfig()=default
AutoBranchCreationConfig & WithEnableBasicAuth(bool value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
AutoBranchCreationConfig & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
AutoBranchCreationConfig & WithFramework(FrameworkT &&value)
bool EnablePerformanceModeHasBeenSet() const
bool StageHasBeenSet() const
AWS_AMPLIFY_API AutoBranchCreationConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPullRequestEnvironmentName() const
const Aws::String & GetBasicAuthCredentials() const
bool GetEnablePerformanceMode() const
void SetEnablePerformanceMode(bool value)
void SetBasicAuthCredentials(BasicAuthCredentialsT &&value)
AutoBranchCreationConfig & WithEnablePullRequestPreview(bool value)
bool BasicAuthCredentialsHasBeenSet() const
void SetEnableAutoBuild(bool value)
void SetBuildSpec(BuildSpecT &&value)
AutoBranchCreationConfig & WithBasicAuthCredentials(BasicAuthCredentialsT &&value)
bool EnableBasicAuthHasBeenSet() const
bool BuildSpecHasBeenSet() const
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
AutoBranchCreationConfig & WithEnablePerformanceMode(bool value)
bool FrameworkHasBeenSet() const
void SetStage(Stage value)
const Aws::String & GetFramework() const
AutoBranchCreationConfig & WithBuildSpec(BuildSpecT &&value)
void SetFramework(FrameworkT &&value)
AWS_AMPLIFY_API AutoBranchCreationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetEnablePullRequestPreview() const
AutoBranchCreationConfig & WithPullRequestEnvironmentName(PullRequestEnvironmentNameT &&value)
bool EnvironmentVariablesHasBeenSet() const
AutoBranchCreationConfig & WithEnableAutoBuild(bool value)
bool PullRequestEnvironmentNameHasBeenSet() const
void SetEnablePullRequestPreview(bool value)
AutoBranchCreationConfig & WithEnvironmentVariables(EnvironmentVariablesT &&value)
bool EnableAutoBuildHasBeenSet() const
void SetEnableBasicAuth(bool value)
AutoBranchCreationConfig & WithStage(Stage value)
const Aws::String & GetBuildSpec() const
bool EnablePullRequestPreviewHasBeenSet() const
void SetPullRequestEnvironmentName(PullRequestEnvironmentNameT &&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