7#include <aws/mwaa/MWAA_EXPORTS.h>
8#include <aws/mwaa/MWAARequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/mwaa/model/LoggingConfigurationInput.h>
12#include <aws/mwaa/model/WorkerReplacementStrategy.h>
13#include <aws/mwaa/model/UpdateNetworkConfigurationInput.h>
14#include <aws/mwaa/model/WebserverAccessMode.h>
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
64 template<
typename ExecutionRoleArnT = Aws::String>
65 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
66 template<
typename ExecutionRoleArnT = Aws::String>
79 template<
typename AirflowConfigurationOptionsT = Aws::Map<Aws::String, Aws::String>>
80 void SetAirflowConfigurationOptions(AirflowConfigurationOptionsT&& value) { m_airflowConfigurationOptionsHasBeenSet =
true; m_airflowConfigurationOptions = std::forward<AirflowConfigurationOptionsT>(value); }
81 template<
typename AirflowConfigurationOptionsT = Aws::Map<Aws::String, Aws::String>>
83 template<
typename AirflowConfigurationOptionsKeyT = Aws::String,
typename AirflowConfigurationOptionsValueT = Aws::String>
85 m_airflowConfigurationOptionsHasBeenSet =
true; m_airflowConfigurationOptions.emplace(std::forward<AirflowConfigurationOptionsKeyT>(key), std::forward<AirflowConfigurationOptionsValueT>(value));
return *
this;
105 template<
typename AirflowVersionT = Aws::String>
106 void SetAirflowVersion(AirflowVersionT&& value) { m_airflowVersionHasBeenSet =
true; m_airflowVersion = std::forward<AirflowVersionT>(value); }
107 template<
typename AirflowVersionT = Aws::String>
120 template<
typename DagS3PathT = Aws::String>
121 void SetDagS3Path(DagS3PathT&& value) { m_dagS3PathHasBeenSet =
true; m_dagS3Path = std::forward<DagS3PathT>(value); }
122 template<
typename DagS3PathT = Aws::String>
137 template<
typename EnvironmentClassT = Aws::String>
138 void SetEnvironmentClass(EnvironmentClassT&& value) { m_environmentClassHasBeenSet =
true; m_environmentClass = std::forward<EnvironmentClassT>(value); }
139 template<
typename EnvironmentClassT = Aws::String>
149 template<
typename LoggingConfigurationT = LoggingConfigurationInput>
150 void SetLoggingConfiguration(LoggingConfigurationT&& value) { m_loggingConfigurationHasBeenSet =
true; m_loggingConfiguration = std::forward<LoggingConfigurationT>(value); }
151 template<
typename LoggingConfigurationT = LoggingConfigurationInput>
166 inline void SetMaxWorkers(
int value) { m_maxWorkersHasBeenSet =
true; m_maxWorkers = value; }
180 inline void SetMinWorkers(
int value) { m_minWorkersHasBeenSet =
true; m_minWorkers = value; }
202 inline void SetMaxWebservers(
int value) { m_maxWebserversHasBeenSet =
true; m_maxWebservers = value; }
221 inline void SetMinWebservers(
int value) { m_minWebserversHasBeenSet =
true; m_minWebservers = value; }
250 template<
typename NetworkConfigurationT = UpdateNetworkConfigurationInput>
251 void SetNetworkConfiguration(NetworkConfigurationT&& value) { m_networkConfigurationHasBeenSet =
true; m_networkConfiguration = std::forward<NetworkConfigurationT>(value); }
252 template<
typename NetworkConfigurationT = UpdateNetworkConfigurationInput>
266 template<
typename PluginsS3PathT = Aws::String>
267 void SetPluginsS3Path(PluginsS3PathT&& value) { m_pluginsS3PathHasBeenSet =
true; m_pluginsS3Path = std::forward<PluginsS3PathT>(value); }
268 template<
typename PluginsS3PathT = Aws::String>
282 template<
typename PluginsS3ObjectVersionT = Aws::String>
283 void SetPluginsS3ObjectVersion(PluginsS3ObjectVersionT&& value) { m_pluginsS3ObjectVersionHasBeenSet =
true; m_pluginsS3ObjectVersion = std::forward<PluginsS3ObjectVersionT>(value); }
284 template<
typename PluginsS3ObjectVersionT = Aws::String>
298 template<
typename RequirementsS3PathT = Aws::String>
299 void SetRequirementsS3Path(RequirementsS3PathT&& value) { m_requirementsS3PathHasBeenSet =
true; m_requirementsS3Path = std::forward<RequirementsS3PathT>(value); }
300 template<
typename RequirementsS3PathT = Aws::String>
314 template<
typename RequirementsS3ObjectVersionT = Aws::String>
315 void SetRequirementsS3ObjectVersion(RequirementsS3ObjectVersionT&& value) { m_requirementsS3ObjectVersionHasBeenSet =
true; m_requirementsS3ObjectVersion = std::forward<RequirementsS3ObjectVersionT>(value); }
316 template<
typename RequirementsS3ObjectVersionT = Aws::String>
327 inline void SetSchedulers(
int value) { m_schedulersHasBeenSet =
true; m_schedulers = value; }
342 template<
typename SourceBucketArnT = Aws::String>
343 void SetSourceBucketArn(SourceBucketArnT&& value) { m_sourceBucketArnHasBeenSet =
true; m_sourceBucketArn = std::forward<SourceBucketArnT>(value); }
344 template<
typename SourceBucketArnT = Aws::String>
361 template<
typename StartupScriptS3PathT = Aws::String>
362 void SetStartupScriptS3Path(StartupScriptS3PathT&& value) { m_startupScriptS3PathHasBeenSet =
true; m_startupScriptS3Path = std::forward<StartupScriptS3PathT>(value); }
363 template<
typename StartupScriptS3PathT = Aws::String>
382 template<
typename StartupScriptS3ObjectVersionT = Aws::String>
383 void SetStartupScriptS3ObjectVersion(StartupScriptS3ObjectVersionT&& value) { m_startupScriptS3ObjectVersionHasBeenSet =
true; m_startupScriptS3ObjectVersion = std::forward<StartupScriptS3ObjectVersionT>(value); }
384 template<
typename StartupScriptS3ObjectVersionT = Aws::String>
410 template<
typename WeeklyMa
intenanceWindowStartT = Aws::String>
411 void SetWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT&& value) { m_weeklyMaintenanceWindowStartHasBeenSet =
true; m_weeklyMaintenanceWindowStart = std::forward<WeeklyMaintenanceWindowStartT>(value); }
412 template<
typename WeeklyMa
intenanceWindowStartT = Aws::String>
418 bool m_nameHasBeenSet =
false;
421 bool m_executionRoleArnHasBeenSet =
false;
424 bool m_airflowConfigurationOptionsHasBeenSet =
false;
427 bool m_airflowVersionHasBeenSet =
false;
430 bool m_dagS3PathHasBeenSet =
false;
433 bool m_environmentClassHasBeenSet =
false;
436 bool m_loggingConfigurationHasBeenSet =
false;
439 bool m_maxWorkersHasBeenSet =
false;
442 bool m_minWorkersHasBeenSet =
false;
444 int m_maxWebservers{0};
445 bool m_maxWebserversHasBeenSet =
false;
447 int m_minWebservers{0};
448 bool m_minWebserversHasBeenSet =
false;
451 bool m_workerReplacementStrategyHasBeenSet =
false;
453 UpdateNetworkConfigurationInput m_networkConfiguration;
454 bool m_networkConfigurationHasBeenSet =
false;
457 bool m_pluginsS3PathHasBeenSet =
false;
460 bool m_pluginsS3ObjectVersionHasBeenSet =
false;
463 bool m_requirementsS3PathHasBeenSet =
false;
466 bool m_requirementsS3ObjectVersionHasBeenSet =
false;
469 bool m_schedulersHasBeenSet =
false;
472 bool m_sourceBucketArnHasBeenSet =
false;
475 bool m_startupScriptS3PathHasBeenSet =
false;
478 bool m_startupScriptS3ObjectVersionHasBeenSet =
false;
481 bool m_webserverAccessModeHasBeenSet =
false;
484 bool m_weeklyMaintenanceWindowStartHasBeenSet =
false;
int GetMinWebservers() const
const Aws::String & GetRequirementsS3ObjectVersion() const
void SetPluginsS3Path(PluginsS3PathT &&value)
void SetMinWebservers(int value)
const Aws::String & GetStartupScriptS3ObjectVersion() const
void SetRequirementsS3ObjectVersion(RequirementsS3ObjectVersionT &&value)
UpdateEnvironmentRequest & WithDagS3Path(DagS3PathT &&value)
UpdateEnvironmentRequest & WithWebserverAccessMode(WebserverAccessMode value)
bool AirflowVersionHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetSourceBucketArn() const
bool MaxWebserversHasBeenSet() const
UpdateEnvironmentRequest & WithSchedulers(int value)
const Aws::String & GetDagS3Path() const
const Aws::String & GetPluginsS3ObjectVersion() const
void SetSourceBucketArn(SourceBucketArnT &&value)
int GetSchedulers() const
int GetMaxWebservers() const
const Aws::String & GetRequirementsS3Path() const
int GetMinWorkers() const
const Aws::Map< Aws::String, Aws::String > & GetAirflowConfigurationOptions() const
UpdateEnvironmentRequest & WithSourceBucketArn(SourceBucketArnT &&value)
bool StartupScriptS3ObjectVersionHasBeenSet() const
bool LoggingConfigurationHasBeenSet() const
UpdateEnvironmentRequest & WithPluginsS3Path(PluginsS3PathT &&value)
UpdateEnvironmentRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
void SetAirflowConfigurationOptions(AirflowConfigurationOptionsT &&value)
bool MinWorkersHasBeenSet() const
const Aws::String & GetEnvironmentClass() const
UpdateEnvironmentRequest & WithEnvironmentClass(EnvironmentClassT &&value)
bool NetworkConfigurationHasBeenSet() const
UpdateEnvironmentRequest & AddAirflowConfigurationOptions(AirflowConfigurationOptionsKeyT &&key, AirflowConfigurationOptionsValueT &&value)
UpdateEnvironmentRequest & WithAirflowVersion(AirflowVersionT &&value)
const Aws::String & GetName() const
UpdateEnvironmentRequest & WithMinWorkers(int value)
void SetMaxWorkers(int value)
virtual const char * GetServiceRequestName() const override
UpdateEnvironmentRequest & WithWorkerReplacementStrategy(WorkerReplacementStrategy value)
UpdateEnvironmentRequest & WithMaxWebservers(int value)
void SetSchedulers(int value)
void SetWorkerReplacementStrategy(WorkerReplacementStrategy value)
UpdateEnvironmentRequest & WithPluginsS3ObjectVersion(PluginsS3ObjectVersionT &&value)
void SetStartupScriptS3ObjectVersion(StartupScriptS3ObjectVersionT &&value)
WorkerReplacementStrategy GetWorkerReplacementStrategy() const
bool SchedulersHasBeenSet() const
bool RequirementsS3PathHasBeenSet() const
bool AirflowConfigurationOptionsHasBeenSet() const
void SetWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT &&value)
UpdateEnvironmentRequest & WithMaxWorkers(int value)
void SetLoggingConfiguration(LoggingConfigurationT &&value)
UpdateEnvironmentRequest & WithMinWebservers(int value)
const LoggingConfigurationInput & GetLoggingConfiguration() const
UpdateEnvironmentRequest & WithLoggingConfiguration(LoggingConfigurationT &&value)
int GetMaxWorkers() const
AWS_MWAA_API UpdateEnvironmentRequest()=default
bool StartupScriptS3PathHasBeenSet() const
void SetAirflowVersion(AirflowVersionT &&value)
UpdateEnvironmentRequest & WithAirflowConfigurationOptions(AirflowConfigurationOptionsT &&value)
WebserverAccessMode GetWebserverAccessMode() const
void SetWebserverAccessMode(WebserverAccessMode value)
bool PluginsS3ObjectVersionHasBeenSet() const
const Aws::String & GetWeeklyMaintenanceWindowStart() const
const Aws::String & GetAirflowVersion() const
AWS_MWAA_API Aws::String SerializePayload() const override
bool RequirementsS3ObjectVersionHasBeenSet() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
bool PluginsS3PathHasBeenSet() const
const Aws::String & GetStartupScriptS3Path() const
void SetStartupScriptS3Path(StartupScriptS3PathT &&value)
UpdateEnvironmentRequest & WithRequirementsS3Path(RequirementsS3PathT &&value)
bool WebserverAccessModeHasBeenSet() const
UpdateEnvironmentRequest & WithWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT &&value)
bool ExecutionRoleArnHasBeenSet() const
UpdateEnvironmentRequest & WithStartupScriptS3ObjectVersion(StartupScriptS3ObjectVersionT &&value)
bool DagS3PathHasBeenSet() const
void SetPluginsS3ObjectVersion(PluginsS3ObjectVersionT &&value)
UpdateEnvironmentRequest & WithStartupScriptS3Path(StartupScriptS3PathT &&value)
void SetName(NameT &&value)
bool EnvironmentClassHasBeenSet() const
void SetMinWorkers(int value)
void SetDagS3Path(DagS3PathT &&value)
UpdateEnvironmentRequest & WithName(NameT &&value)
void SetNetworkConfiguration(NetworkConfigurationT &&value)
bool MinWebserversHasBeenSet() const
UpdateEnvironmentRequest & WithRequirementsS3ObjectVersion(RequirementsS3ObjectVersionT &&value)
bool SourceBucketArnHasBeenSet() const
bool MaxWorkersHasBeenSet() const
const Aws::String & GetExecutionRoleArn() const
bool WeeklyMaintenanceWindowStartHasBeenSet() const
void SetMaxWebservers(int value)
const UpdateNetworkConfigurationInput & GetNetworkConfiguration() const
const Aws::String & GetPluginsS3Path() const
void SetRequirementsS3Path(RequirementsS3PathT &&value)
bool WorkerReplacementStrategyHasBeenSet() const
UpdateEnvironmentRequest & WithNetworkConfiguration(NetworkConfigurationT &&value)
void SetEnvironmentClass(EnvironmentClassT &&value)
WorkerReplacementStrategy
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