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/mwaa/model/NetworkConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/mwaa/model/LoggingConfigurationInput.h>
13#include <aws/mwaa/model/WebserverAccessMode.h>
14#include <aws/mwaa/model/EndpointManagement.h>
55 template<
typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
57 template<
typename NameT = Aws::String>
74 template<
typename ExecutionRoleArnT = Aws::String>
75 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
76 template<
typename ExecutionRoleArnT = Aws::String>
91 template<
typename SourceBucketArnT = Aws::String>
92 void SetSourceBucketArn(SourceBucketArnT&& value) { m_sourceBucketArnHasBeenSet =
true; m_sourceBucketArn = std::forward<SourceBucketArnT>(value); }
93 template<
typename SourceBucketArnT = Aws::String>
106 template<
typename DagS3PathT = Aws::String>
107 void SetDagS3Path(DagS3PathT&& value) { m_dagS3PathHasBeenSet =
true; m_dagS3Path = std::forward<DagS3PathT>(value); }
108 template<
typename DagS3PathT = Aws::String>
122 template<
typename NetworkConfigurationT = NetworkConfiguration>
123 void SetNetworkConfiguration(NetworkConfigurationT&& value) { m_networkConfigurationHasBeenSet =
true; m_networkConfiguration = std::forward<NetworkConfigurationT>(value); }
124 template<
typename NetworkConfigurationT = NetworkConfiguration>
138 template<
typename PluginsS3PathT = Aws::String>
139 void SetPluginsS3Path(PluginsS3PathT&& value) { m_pluginsS3PathHasBeenSet =
true; m_pluginsS3Path = std::forward<PluginsS3PathT>(value); }
140 template<
typename PluginsS3PathT = Aws::String>
154 template<
typename PluginsS3ObjectVersionT = Aws::String>
155 void SetPluginsS3ObjectVersion(PluginsS3ObjectVersionT&& value) { m_pluginsS3ObjectVersionHasBeenSet =
true; m_pluginsS3ObjectVersion = std::forward<PluginsS3ObjectVersionT>(value); }
156 template<
typename PluginsS3ObjectVersionT = Aws::String>
170 template<
typename RequirementsS3PathT = Aws::String>
171 void SetRequirementsS3Path(RequirementsS3PathT&& value) { m_requirementsS3PathHasBeenSet =
true; m_requirementsS3Path = std::forward<RequirementsS3PathT>(value); }
172 template<
typename RequirementsS3PathT = Aws::String>
186 template<
typename RequirementsS3ObjectVersionT = Aws::String>
187 void SetRequirementsS3ObjectVersion(RequirementsS3ObjectVersionT&& value) { m_requirementsS3ObjectVersionHasBeenSet =
true; m_requirementsS3ObjectVersion = std::forward<RequirementsS3ObjectVersionT>(value); }
188 template<
typename RequirementsS3ObjectVersionT = Aws::String>
205 template<
typename StartupScriptS3PathT = Aws::String>
206 void SetStartupScriptS3Path(StartupScriptS3PathT&& value) { m_startupScriptS3PathHasBeenSet =
true; m_startupScriptS3Path = std::forward<StartupScriptS3PathT>(value); }
207 template<
typename StartupScriptS3PathT = Aws::String>
226 template<
typename StartupScriptS3ObjectVersionT = Aws::String>
227 void SetStartupScriptS3ObjectVersion(StartupScriptS3ObjectVersionT&& value) { m_startupScriptS3ObjectVersionHasBeenSet =
true; m_startupScriptS3ObjectVersion = std::forward<StartupScriptS3ObjectVersionT>(value); }
228 template<
typename StartupScriptS3ObjectVersionT = Aws::String>
241 template<
typename AirflowConfigurationOptionsT = Aws::Map<Aws::String, Aws::String>>
242 void SetAirflowConfigurationOptions(AirflowConfigurationOptionsT&& value) { m_airflowConfigurationOptionsHasBeenSet =
true; m_airflowConfigurationOptions = std::forward<AirflowConfigurationOptionsT>(value); }
243 template<
typename AirflowConfigurationOptionsT = Aws::Map<Aws::String, Aws::String>>
245 template<
typename AirflowConfigurationOptionsKeyT = Aws::String,
typename AirflowConfigurationOptionsValueT = Aws::String>
247 m_airflowConfigurationOptionsHasBeenSet =
true; m_airflowConfigurationOptions.emplace(std::forward<AirflowConfigurationOptionsKeyT>(key), std::forward<AirflowConfigurationOptionsValueT>(value));
return *
this;
262 template<
typename EnvironmentClassT = Aws::String>
263 void SetEnvironmentClass(EnvironmentClassT&& value) { m_environmentClassHasBeenSet =
true; m_environmentClass = std::forward<EnvironmentClassT>(value); }
264 template<
typename EnvironmentClassT = Aws::String>
279 inline void SetMaxWorkers(
int value) { m_maxWorkersHasBeenSet =
true; m_maxWorkers = value; }
293 template<
typename KmsKeyT = Aws::String>
294 void SetKmsKey(KmsKeyT&& value) { m_kmsKeyHasBeenSet =
true; m_kmsKey = std::forward<KmsKeyT>(value); }
295 template<
typename KmsKeyT = Aws::String>
312 template<
typename AirflowVersionT = Aws::String>
313 void SetAirflowVersion(AirflowVersionT&& value) { m_airflowVersionHasBeenSet =
true; m_airflowVersion = std::forward<AirflowVersionT>(value); }
314 template<
typename AirflowVersionT = Aws::String>
324 template<
typename LoggingConfigurationT = LoggingConfigurationInput>
325 void SetLoggingConfiguration(LoggingConfigurationT&& value) { m_loggingConfigurationHasBeenSet =
true; m_loggingConfiguration = std::forward<LoggingConfigurationT>(value); }
326 template<
typename LoggingConfigurationT = LoggingConfigurationInput>
339 template<
typename WeeklyMa
intenanceWindowStartT = Aws::String>
340 void SetWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT&& value) { m_weeklyMaintenanceWindowStartHasBeenSet =
true; m_weeklyMaintenanceWindowStart = std::forward<WeeklyMaintenanceWindowStartT>(value); }
341 template<
typename WeeklyMa
intenanceWindowStartT = Aws::String>
354 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
355 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
356 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
358 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
360 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
387 inline void SetMinWorkers(
int value) { m_minWorkersHasBeenSet =
true; m_minWorkers = value; }
401 inline void SetSchedulers(
int value) { m_schedulersHasBeenSet =
true; m_schedulers = value; }
439 inline void SetMinWebservers(
int value) { m_minWebserversHasBeenSet =
true; m_minWebservers = value; }
461 inline void SetMaxWebservers(
int value) { m_maxWebserversHasBeenSet =
true; m_maxWebservers = value; }
467 bool m_nameHasBeenSet =
false;
470 bool m_executionRoleArnHasBeenSet =
false;
473 bool m_sourceBucketArnHasBeenSet =
false;
476 bool m_dagS3PathHasBeenSet =
false;
479 bool m_networkConfigurationHasBeenSet =
false;
482 bool m_pluginsS3PathHasBeenSet =
false;
485 bool m_pluginsS3ObjectVersionHasBeenSet =
false;
488 bool m_requirementsS3PathHasBeenSet =
false;
491 bool m_requirementsS3ObjectVersionHasBeenSet =
false;
494 bool m_startupScriptS3PathHasBeenSet =
false;
497 bool m_startupScriptS3ObjectVersionHasBeenSet =
false;
500 bool m_airflowConfigurationOptionsHasBeenSet =
false;
503 bool m_environmentClassHasBeenSet =
false;
506 bool m_maxWorkersHasBeenSet =
false;
509 bool m_kmsKeyHasBeenSet =
false;
512 bool m_airflowVersionHasBeenSet =
false;
514 LoggingConfigurationInput m_loggingConfiguration;
515 bool m_loggingConfigurationHasBeenSet =
false;
518 bool m_weeklyMaintenanceWindowStartHasBeenSet =
false;
521 bool m_tagsHasBeenSet =
false;
524 bool m_webserverAccessModeHasBeenSet =
false;
527 bool m_minWorkersHasBeenSet =
false;
530 bool m_schedulersHasBeenSet =
false;
533 bool m_endpointManagementHasBeenSet =
false;
535 int m_minWebservers{0};
536 bool m_minWebserversHasBeenSet =
false;
538 int m_maxWebservers{0};
539 bool m_maxWebserversHasBeenSet =
false;
AWS_MWAA_API CreateEnvironmentRequest()=default
CreateEnvironmentRequest & WithEndpointManagement(EndpointManagement value)
WebserverAccessMode GetWebserverAccessMode() const
bool NetworkConfigurationHasBeenSet() const
bool WeeklyMaintenanceWindowStartHasBeenSet() const
void SetDagS3Path(DagS3PathT &&value)
CreateEnvironmentRequest & WithAirflowVersion(AirflowVersionT &&value)
const Aws::String & GetPluginsS3ObjectVersion() const
int GetMaxWebservers() const
const Aws::String & GetRequirementsS3ObjectVersion() const
const Aws::String & GetStartupScriptS3ObjectVersion() const
CreateEnvironmentRequest & WithPluginsS3ObjectVersion(PluginsS3ObjectVersionT &&value)
CreateEnvironmentRequest & WithWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT &&value)
const Aws::String & GetExecutionRoleArn() const
CreateEnvironmentRequest & WithName(NameT &&value)
CreateEnvironmentRequest & WithPluginsS3Path(PluginsS3PathT &&value)
CreateEnvironmentRequest & WithStartupScriptS3Path(StartupScriptS3PathT &&value)
void SetMaxWebservers(int value)
const Aws::String & GetName() const
CreateEnvironmentRequest & WithMaxWebservers(int value)
bool DagS3PathHasBeenSet() const
CreateEnvironmentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetStartupScriptS3Path(StartupScriptS3PathT &&value)
CreateEnvironmentRequest & WithNetworkConfiguration(NetworkConfigurationT &&value)
CreateEnvironmentRequest & WithEnvironmentClass(EnvironmentClassT &&value)
CreateEnvironmentRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
bool MaxWebserversHasBeenSet() const
CreateEnvironmentRequest & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAirflowConfigurationOptions() const
const Aws::String & GetSourceBucketArn() const
void SetEnvironmentClass(EnvironmentClassT &&value)
const Aws::String & GetStartupScriptS3Path() const
bool TagsHasBeenSet() const
void SetPluginsS3Path(PluginsS3PathT &&value)
void SetAirflowConfigurationOptions(AirflowConfigurationOptionsT &&value)
bool NameHasBeenSet() const
CreateEnvironmentRequest & WithSchedulers(int value)
bool WebserverAccessModeHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetDagS3Path() const
int GetMinWebservers() const
void SetTags(TagsT &&value)
bool RequirementsS3ObjectVersionHasBeenSet() const
const Aws::String & GetRequirementsS3Path() const
void SetMaxWorkers(int value)
CreateEnvironmentRequest & WithAirflowConfigurationOptions(AirflowConfigurationOptionsT &&value)
bool EndpointManagementHasBeenSet() const
bool SourceBucketArnHasBeenSet() const
const Aws::String & GetAirflowVersion() const
virtual const char * GetServiceRequestName() const override
bool StartupScriptS3ObjectVersionHasBeenSet() const
bool MinWorkersHasBeenSet() const
bool ExecutionRoleArnHasBeenSet() const
int GetMaxWorkers() const
CreateEnvironmentRequest & WithLoggingConfiguration(LoggingConfigurationT &&value)
const Aws::String & GetEnvironmentClass() const
CreateEnvironmentRequest & WithStartupScriptS3ObjectVersion(StartupScriptS3ObjectVersionT &&value)
bool KmsKeyHasBeenSet() const
const LoggingConfigurationInput & GetLoggingConfiguration() const
bool AirflowConfigurationOptionsHasBeenSet() const
void SetLoggingConfiguration(LoggingConfigurationT &&value)
void SetRequirementsS3ObjectVersion(RequirementsS3ObjectVersionT &&value)
void SetMinWorkers(int value)
CreateEnvironmentRequest & WithMaxWorkers(int value)
void SetEndpointManagement(EndpointManagement value)
CreateEnvironmentRequest & WithSourceBucketArn(SourceBucketArnT &&value)
const NetworkConfiguration & GetNetworkConfiguration() const
CreateEnvironmentRequest & WithWebserverAccessMode(WebserverAccessMode value)
bool LoggingConfigurationHasBeenSet() const
void SetWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT &&value)
void SetSourceBucketArn(SourceBucketArnT &&value)
bool PluginsS3PathHasBeenSet() const
CreateEnvironmentRequest & WithMinWorkers(int value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetWebserverAccessMode(WebserverAccessMode value)
int GetSchedulers() const
bool SchedulersHasBeenSet() const
AWS_MWAA_API Aws::String SerializePayload() const override
CreateEnvironmentRequest & WithKmsKey(KmsKeyT &&value)
CreateEnvironmentRequest & WithDagS3Path(DagS3PathT &&value)
const Aws::String & GetKmsKey() const
bool StartupScriptS3PathHasBeenSet() const
EndpointManagement GetEndpointManagement() const
CreateEnvironmentRequest & AddAirflowConfigurationOptions(AirflowConfigurationOptionsKeyT &&key, AirflowConfigurationOptionsValueT &&value)
const Aws::String & GetPluginsS3Path() const
bool RequirementsS3PathHasBeenSet() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
CreateEnvironmentRequest & WithRequirementsS3ObjectVersion(RequirementsS3ObjectVersionT &&value)
void SetStartupScriptS3ObjectVersion(StartupScriptS3ObjectVersionT &&value)
const Aws::String & GetWeeklyMaintenanceWindowStart() const
bool MaxWorkersHasBeenSet() const
void SetKmsKey(KmsKeyT &&value)
void SetPluginsS3ObjectVersion(PluginsS3ObjectVersionT &&value)
CreateEnvironmentRequest & WithMinWebservers(int value)
void SetRequirementsS3Path(RequirementsS3PathT &&value)
bool EnvironmentClassHasBeenSet() const
void SetNetworkConfiguration(NetworkConfigurationT &&value)
int GetMinWorkers() const
bool MinWebserversHasBeenSet() const
void SetSchedulers(int value)
void SetAirflowVersion(AirflowVersionT &&value)
bool AirflowVersionHasBeenSet() const
CreateEnvironmentRequest & WithRequirementsS3Path(RequirementsS3PathT &&value)
bool PluginsS3ObjectVersionHasBeenSet() const
void SetMinWebservers(int 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