7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/model/Stage.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
44 m_stageHasBeenSet =
true;
59 template <
typename FrameworkT = Aws::String>
61 m_frameworkHasBeenSet =
true;
62 m_framework = std::forward<FrameworkT>(value);
64 template <
typename FrameworkT = Aws::String>
78 m_enableAutoBuildHasBeenSet =
true;
79 m_enableAutoBuild = value;
93 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
95 m_environmentVariablesHasBeenSet =
true;
96 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
98 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
103 template <
typename EnvironmentVariablesKeyT = Aws::String,
typename EnvironmentVariablesValueT = Aws::String>
105 m_environmentVariablesHasBeenSet =
true;
106 m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
119 template <
typename BasicAuthCredentialsT = Aws::String>
121 m_basicAuthCredentialsHasBeenSet =
true;
122 m_basicAuthCredentials = std::forward<BasicAuthCredentialsT>(value);
124 template <
typename BasicAuthCredentialsT = Aws::String>
138 m_enableBasicAuthHasBeenSet =
true;
139 m_enableBasicAuth = value;
157 m_enablePerformanceModeHasBeenSet =
true;
158 m_enablePerformanceMode = value;
172 template <
typename BuildSpecT = Aws::String>
174 m_buildSpecHasBeenSet =
true;
175 m_buildSpec = std::forward<BuildSpecT>(value);
177 template <
typename BuildSpecT = Aws::String>
191 m_enablePullRequestPreviewHasBeenSet =
true;
192 m_enablePullRequestPreview = value;
206 template <
typename PullRequestEnvironmentNameT = Aws::String>
208 m_pullRequestEnvironmentNameHasBeenSet =
true;
209 m_pullRequestEnvironmentName = std::forward<PullRequestEnvironmentNameT>(value);
211 template <
typename PullRequestEnvironmentNameT = Aws::String>
222 bool m_enableAutoBuild{
false};
228 bool m_enableBasicAuth{
false};
230 bool m_enablePerformanceMode{
false};
234 bool m_enablePullRequestPreview{
false};
237 bool m_stageHasBeenSet =
false;
238 bool m_frameworkHasBeenSet =
false;
239 bool m_enableAutoBuildHasBeenSet =
false;
240 bool m_environmentVariablesHasBeenSet =
false;
241 bool m_basicAuthCredentialsHasBeenSet =
false;
242 bool m_enableBasicAuthHasBeenSet =
false;
243 bool m_enablePerformanceModeHasBeenSet =
false;
244 bool m_buildSpecHasBeenSet =
false;
245 bool m_enablePullRequestPreviewHasBeenSet =
false;
246 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