7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mwaa/MWAARequest.h>
10#include <aws/mwaa/MWAA_EXPORTS.h>
11#include <aws/mwaa/model/EndpointManagement.h>
12#include <aws/mwaa/model/IdentityCenterConfiguration.h>
13#include <aws/mwaa/model/LoggingConfigurationInput.h>
14#include <aws/mwaa/model/NetworkConfiguration.h>
15#include <aws/mwaa/model/TeamConfig.h>
16#include <aws/mwaa/model/WebserverAccessMode.h>
53 template <
typename NameT = Aws::String>
55 m_nameHasBeenSet =
true;
56 m_name = std::forward<NameT>(value);
58 template <
typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
78 template <
typename ExecutionRoleArnT = Aws::String>
80 m_executionRoleArnHasBeenSet =
true;
81 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
83 template <
typename ExecutionRoleArnT = Aws::String>
101 template <
typename SourceBucketArnT = Aws::String>
103 m_sourceBucketArnHasBeenSet =
true;
104 m_sourceBucketArn = std::forward<SourceBucketArnT>(value);
106 template <
typename SourceBucketArnT = Aws::String>
122 template <
typename DagS3PathT = Aws::String>
124 m_dagS3PathHasBeenSet =
true;
125 m_dagS3Path = std::forward<DagS3PathT>(value);
127 template <
typename DagS3PathT = Aws::String>
144 template <
typename NetworkConfigurationT = NetworkConfiguration>
146 m_networkConfigurationHasBeenSet =
true;
147 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
149 template <
typename NetworkConfigurationT = NetworkConfiguration>
166 template <
typename PluginsS3PathT = Aws::String>
168 m_pluginsS3PathHasBeenSet =
true;
169 m_pluginsS3Path = std::forward<PluginsS3PathT>(value);
171 template <
typename PluginsS3PathT = Aws::String>
188 template <
typename PluginsS3ObjectVersionT = Aws::String>
190 m_pluginsS3ObjectVersionHasBeenSet =
true;
191 m_pluginsS3ObjectVersion = std::forward<PluginsS3ObjectVersionT>(value);
193 template <
typename PluginsS3ObjectVersionT = Aws::String>
210 template <
typename RequirementsS3PathT = Aws::String>
212 m_requirementsS3PathHasBeenSet =
true;
213 m_requirementsS3Path = std::forward<RequirementsS3PathT>(value);
215 template <
typename RequirementsS3PathT = Aws::String>
232 template <
typename RequirementsS3ObjectVersionT = Aws::String>
234 m_requirementsS3ObjectVersionHasBeenSet =
true;
235 m_requirementsS3ObjectVersion = std::forward<RequirementsS3ObjectVersionT>(value);
237 template <
typename RequirementsS3ObjectVersionT = Aws::String>
257 template <
typename StartupScriptS3PathT = Aws::String>
259 m_startupScriptS3PathHasBeenSet =
true;
260 m_startupScriptS3Path = std::forward<StartupScriptS3PathT>(value);
262 template <
typename StartupScriptS3PathT = Aws::String>
284 template <
typename StartupScriptS3ObjectVersionT = Aws::String>
286 m_startupScriptS3ObjectVersionHasBeenSet =
true;
287 m_startupScriptS3ObjectVersion = std::forward<StartupScriptS3ObjectVersionT>(value);
289 template <
typename StartupScriptS3ObjectVersionT = Aws::String>
305 template <
typename AirflowConfigurationOptionsT = Aws::Map<Aws::String, Aws::String>>
307 m_airflowConfigurationOptionsHasBeenSet =
true;
308 m_airflowConfigurationOptions = std::forward<AirflowConfigurationOptionsT>(value);
310 template <
typename AirflowConfigurationOptionsT = Aws::Map<Aws::String, Aws::String>>
315 template <
typename AirflowConfigurationOptionsKeyT = Aws::String,
typename AirflowConfigurationOptionsValueT = Aws::String>
317 AirflowConfigurationOptionsValueT&& value) {
318 m_airflowConfigurationOptionsHasBeenSet =
true;
319 m_airflowConfigurationOptions.emplace(std::forward<AirflowConfigurationOptionsKeyT>(key),
320 std::forward<AirflowConfigurationOptionsValueT>(value));
336 template <
typename EnvironmentClassT = Aws::String>
338 m_environmentClassHasBeenSet =
true;
339 m_environmentClass = std::forward<EnvironmentClassT>(value);
341 template <
typename EnvironmentClassT = Aws::String>
360 m_maxWorkersHasBeenSet =
true;
361 m_maxWorkers = value;
379 template <
typename KmsKeyT = Aws::String>
381 m_kmsKeyHasBeenSet =
true;
382 m_kmsKey = std::forward<KmsKeyT>(value);
384 template <
typename KmsKeyT = Aws::String>
403 template <
typename AirflowVersionT = Aws::String>
405 m_airflowVersionHasBeenSet =
true;
406 m_airflowVersion = std::forward<AirflowVersionT>(value);
408 template <
typename AirflowVersionT = Aws::String>
421 template <
typename LoggingConfigurationT = LoggingConfigurationInput>
423 m_loggingConfigurationHasBeenSet =
true;
424 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
426 template <
typename LoggingConfigurationT = LoggingConfigurationInput>
442 template <
typename WeeklyMa
intenanceWindowStartT = Aws::String>
444 m_weeklyMaintenanceWindowStartHasBeenSet =
true;
445 m_weeklyMaintenanceWindowStart = std::forward<WeeklyMaintenanceWindowStartT>(value);
447 template <
typename WeeklyMa
intenanceWindowStartT = Aws::String>
463 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
465 m_tagsHasBeenSet =
true;
466 m_tags = std::forward<TagsT>(value);
468 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
470 SetTags(std::forward<TagsT>(value));
473 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
475 m_tagsHasBeenSet =
true;
476 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
494 m_webserverAccessModeHasBeenSet =
true;
495 m_webserverAccessMode = value;
514 m_minWorkersHasBeenSet =
true;
515 m_minWorkers = value;
534 m_schedulersHasBeenSet =
true;
535 m_schedulers = value;
559 m_endpointManagementHasBeenSet =
true;
560 m_endpointManagement = value;
584 m_minWebserversHasBeenSet =
true;
585 m_minWebservers = value;
612 m_maxWebserversHasBeenSet =
true;
613 m_maxWebservers = value;
628 template <
typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
630 m_identityCenterConfigurationHasBeenSet =
true;
631 m_identityCenterConfiguration = std::forward<IdentityCenterConfigurationT>(value);
633 template <
typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
654 template <
typename TeamsT = Aws::Map<Aws::String, TeamConfig>>
656 m_teamsHasBeenSet =
true;
657 m_teams = std::forward<TeamsT>(value);
659 template <
typename TeamsT = Aws::Map<Aws::String, TeamConfig>>
661 SetTeams(std::forward<TeamsT>(value));
664 template <
typename TeamsKeyT = Aws::String,
typename TeamsValueT = TeamConfig>
666 m_teamsHasBeenSet =
true;
667 m_teams.emplace(std::forward<TeamsKeyT>(key), std::forward<TeamsValueT>(value));
704 LoggingConfigurationInput m_loggingConfiguration;
718 int m_minWebservers{0};
720 int m_maxWebservers{0};
722 IdentityCenterConfiguration m_identityCenterConfiguration;
725 bool m_nameHasBeenSet =
false;
726 bool m_executionRoleArnHasBeenSet =
false;
727 bool m_sourceBucketArnHasBeenSet =
false;
728 bool m_dagS3PathHasBeenSet =
false;
729 bool m_networkConfigurationHasBeenSet =
false;
730 bool m_pluginsS3PathHasBeenSet =
false;
731 bool m_pluginsS3ObjectVersionHasBeenSet =
false;
732 bool m_requirementsS3PathHasBeenSet =
false;
733 bool m_requirementsS3ObjectVersionHasBeenSet =
false;
734 bool m_startupScriptS3PathHasBeenSet =
false;
735 bool m_startupScriptS3ObjectVersionHasBeenSet =
false;
736 bool m_airflowConfigurationOptionsHasBeenSet =
false;
737 bool m_environmentClassHasBeenSet =
false;
738 bool m_maxWorkersHasBeenSet =
false;
739 bool m_kmsKeyHasBeenSet =
false;
740 bool m_airflowVersionHasBeenSet =
false;
741 bool m_loggingConfigurationHasBeenSet =
false;
742 bool m_weeklyMaintenanceWindowStartHasBeenSet =
false;
743 bool m_tagsHasBeenSet =
false;
744 bool m_webserverAccessModeHasBeenSet =
false;
745 bool m_minWorkersHasBeenSet =
false;
746 bool m_schedulersHasBeenSet =
false;
747 bool m_endpointManagementHasBeenSet =
false;
748 bool m_minWebserversHasBeenSet =
false;
749 bool m_maxWebserversHasBeenSet =
false;
750 bool m_identityCenterConfigurationHasBeenSet =
false;
751 bool m_teamsHasBeenSet =
false;
AWS_MWAA_API CreateEnvironmentRequest()=default
CreateEnvironmentRequest & WithEndpointManagement(EndpointManagement value)
WebserverAccessMode GetWebserverAccessMode() const
bool NetworkConfigurationHasBeenSet() const
bool IdentityCenterConfigurationHasBeenSet() 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)
bool TeamsHasBeenSet() const
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
CreateEnvironmentRequest & WithIdentityCenterConfiguration(IdentityCenterConfigurationT &&value)
const IdentityCenterConfiguration & GetIdentityCenterConfiguration() 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 SetIdentityCenterConfiguration(IdentityCenterConfigurationT &&value)
void SetWebserverAccessMode(WebserverAccessMode value)
CreateEnvironmentRequest & WithTeams(TeamsT &&value)
int GetSchedulers() const
bool SchedulersHasBeenSet() const
void SetTeams(TeamsT &&value)
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
const Aws::Map< Aws::String, TeamConfig > & GetTeams() const
void SetKmsKey(KmsKeyT &&value)
void SetPluginsS3ObjectVersion(PluginsS3ObjectVersionT &&value)
CreateEnvironmentRequest & AddTeams(TeamsKeyT &&key, TeamsValueT &&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