7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mwaa/MWAA_EXPORTS.h>
11#include <aws/mwaa/model/EndpointManagement.h>
12#include <aws/mwaa/model/EnvironmentStatus.h>
13#include <aws/mwaa/model/IdentityCenterConfiguration.h>
14#include <aws/mwaa/model/LastUpdate.h>
15#include <aws/mwaa/model/LoggingConfiguration.h>
16#include <aws/mwaa/model/NetworkConfiguration.h>
17#include <aws/mwaa/model/TeamConfig.h>
18#include <aws/mwaa/model/WebserverAccessMode.h>
52 template <
typename NameT = Aws::String>
54 m_nameHasBeenSet =
true;
55 m_name = std::forward<NameT>(value);
57 template <
typename NameT = Aws::String>
59 SetName(std::forward<NameT>(value));
106 m_statusHasBeenSet =
true;
121 template <
typename ArnT = Aws::String>
123 m_arnHasBeenSet =
true;
124 m_arn = std::forward<ArnT>(value);
126 template <
typename ArnT = Aws::String>
128 SetArn(std::forward<ArnT>(value));
139 template <
typename CreatedAtT = Aws::Utils::DateTime>
141 m_createdAtHasBeenSet =
true;
142 m_createdAt = std::forward<CreatedAtT>(value);
144 template <
typename CreatedAtT = Aws::Utils::DateTime>
160 template <
typename WebserverUrlT = Aws::String>
162 m_webserverUrlHasBeenSet =
true;
163 m_webserverUrl = std::forward<WebserverUrlT>(value);
165 template <
typename WebserverUrlT = Aws::String>
183 template <
typename ExecutionRoleArnT = Aws::String>
185 m_executionRoleArnHasBeenSet =
true;
186 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
188 template <
typename ExecutionRoleArnT = Aws::String>
204 template <
typename ServiceRoleArnT = Aws::String>
206 m_serviceRoleArnHasBeenSet =
true;
207 m_serviceRoleArn = std::forward<ServiceRoleArnT>(value);
209 template <
typename ServiceRoleArnT = Aws::String>
222 template <
typename KmsKeyT = Aws::String>
224 m_kmsKeyHasBeenSet =
true;
225 m_kmsKey = std::forward<KmsKeyT>(value);
227 template <
typename KmsKeyT = Aws::String>
242 template <
typename AirflowVersionT = Aws::String>
244 m_airflowVersionHasBeenSet =
true;
245 m_airflowVersion = std::forward<AirflowVersionT>(value);
247 template <
typename AirflowVersionT = Aws::String>
265 template <
typename SourceBucketArnT = Aws::String>
267 m_sourceBucketArnHasBeenSet =
true;
268 m_sourceBucketArn = std::forward<SourceBucketArnT>(value);
270 template <
typename SourceBucketArnT = Aws::String>
286 template <
typename DagS3PathT = Aws::String>
288 m_dagS3PathHasBeenSet =
true;
289 m_dagS3Path = std::forward<DagS3PathT>(value);
291 template <
typename DagS3PathT = Aws::String>
308 template <
typename PluginsS3PathT = Aws::String>
310 m_pluginsS3PathHasBeenSet =
true;
311 m_pluginsS3Path = std::forward<PluginsS3PathT>(value);
313 template <
typename PluginsS3PathT = Aws::String>
335 template <
typename PluginsS3ObjectVersionT = Aws::String>
337 m_pluginsS3ObjectVersionHasBeenSet =
true;
338 m_pluginsS3ObjectVersion = std::forward<PluginsS3ObjectVersionT>(value);
340 template <
typename PluginsS3ObjectVersionT = Aws::String>
357 template <
typename RequirementsS3PathT = Aws::String>
359 m_requirementsS3PathHasBeenSet =
true;
360 m_requirementsS3Path = std::forward<RequirementsS3PathT>(value);
362 template <
typename RequirementsS3PathT = Aws::String>
384 template <
typename RequirementsS3ObjectVersionT = Aws::String>
386 m_requirementsS3ObjectVersionHasBeenSet =
true;
387 m_requirementsS3ObjectVersion = std::forward<RequirementsS3ObjectVersionT>(value);
389 template <
typename RequirementsS3ObjectVersionT = Aws::String>
409 template <
typename StartupScriptS3PathT = Aws::String>
411 m_startupScriptS3PathHasBeenSet =
true;
412 m_startupScriptS3Path = std::forward<StartupScriptS3PathT>(value);
414 template <
typename StartupScriptS3PathT = Aws::String>
436 template <
typename StartupScriptS3ObjectVersionT = Aws::String>
438 m_startupScriptS3ObjectVersionHasBeenSet =
true;
439 m_startupScriptS3ObjectVersion = std::forward<StartupScriptS3ObjectVersionT>(value);
441 template <
typename StartupScriptS3ObjectVersionT = Aws::String>
457 template <
typename AirflowConfigurationOptionsT = Aws::Map<Aws::String, Aws::String>>
459 m_airflowConfigurationOptionsHasBeenSet =
true;
460 m_airflowConfigurationOptions = std::forward<AirflowConfigurationOptionsT>(value);
462 template <
typename AirflowConfigurationOptionsT = Aws::Map<Aws::String, Aws::String>>
467 template <
typename AirflowConfigurationOptionsKeyT = Aws::String,
typename AirflowConfigurationOptionsValueT = Aws::String>
469 m_airflowConfigurationOptionsHasBeenSet =
true;
470 m_airflowConfigurationOptions.emplace(std::forward<AirflowConfigurationOptionsKeyT>(key),
471 std::forward<AirflowConfigurationOptionsValueT>(value));
487 template <
typename EnvironmentClassT = Aws::String>
489 m_environmentClassHasBeenSet =
true;
490 m_environmentClass = std::forward<EnvironmentClassT>(value);
492 template <
typename EnvironmentClassT = Aws::String>
507 m_maxWorkersHasBeenSet =
true;
508 m_maxWorkers = value;
526 template <
typename NetworkConfigurationT = NetworkConfiguration>
528 m_networkConfigurationHasBeenSet =
true;
529 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
531 template <
typename NetworkConfigurationT = NetworkConfiguration>
544 template <
typename LoggingConfigurationT = LoggingConfiguration>
546 m_loggingConfigurationHasBeenSet =
true;
547 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
549 template <
typename LoggingConfigurationT = LoggingConfiguration>
562 template <
typename LastUpdateT = LastUpdate>
564 m_lastUpdateHasBeenSet =
true;
565 m_lastUpdate = std::forward<LastUpdateT>(value);
567 template <
typename LastUpdateT = LastUpdate>
582 template <
typename WeeklyMa
intenanceWindowStartT = Aws::String>
584 m_weeklyMaintenanceWindowStartHasBeenSet =
true;
585 m_weeklyMaintenanceWindowStart = std::forward<WeeklyMaintenanceWindowStartT>(value);
587 template <
typename WeeklyMa
intenanceWindowStartT = Aws::String>
603 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
605 m_tagsHasBeenSet =
true;
606 m_tags = std::forward<TagsT>(value);
608 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
610 SetTags(std::forward<TagsT>(value));
613 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
615 m_tagsHasBeenSet =
true;
616 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
634 m_webserverAccessModeHasBeenSet =
true;
635 m_webserverAccessMode = value;
651 m_minWorkersHasBeenSet =
true;
652 m_minWorkers = value;
668 m_schedulersHasBeenSet =
true;
669 m_schedulers = value;
683 template <
typename WebserverVpcEndpo
intServiceT = Aws::String>
685 m_webserverVpcEndpointServiceHasBeenSet =
true;
686 m_webserverVpcEndpointService = std::forward<WebserverVpcEndpointServiceT>(value);
688 template <
typename WebserverVpcEndpo
intServiceT = Aws::String>
701 template <
typename DatabaseVpcEndpo
intServiceT = Aws::String>
703 m_databaseVpcEndpointServiceHasBeenSet =
true;
704 m_databaseVpcEndpointService = std::forward<DatabaseVpcEndpointServiceT>(value);
706 template <
typename DatabaseVpcEndpo
intServiceT = Aws::String>
723 template <
typename CeleryExecutorQueueT = Aws::String>
725 m_celeryExecutorQueueHasBeenSet =
true;
726 m_celeryExecutorQueue = std::forward<CeleryExecutorQueueT>(value);
728 template <
typename CeleryExecutorQueueT = Aws::String>
746 m_endpointManagementHasBeenSet =
true;
747 m_endpointManagement = value;
771 m_minWebserversHasBeenSet =
true;
772 m_minWebservers = value;
799 m_maxWebserversHasBeenSet =
true;
800 m_maxWebservers = value;
815 template <
typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
817 m_identityCenterConfigurationHasBeenSet =
true;
818 m_identityCenterConfiguration = std::forward<IdentityCenterConfigurationT>(value);
820 template <
typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
839 template <
typename TeamsT = Aws::Map<Aws::String, TeamConfig>>
841 m_teamsHasBeenSet =
true;
842 m_teams = std::forward<TeamsT>(value);
844 template <
typename TeamsT = Aws::Map<Aws::String, TeamConfig>>
846 SetTeams(std::forward<TeamsT>(value));
849 template <
typename TeamsKeyT = Aws::String,
typename TeamsValueT = TeamConfig>
851 m_teamsHasBeenSet =
true;
852 m_teams.emplace(std::forward<TeamsKeyT>(key), std::forward<TeamsValueT>(value));
897 NetworkConfiguration m_networkConfiguration;
899 LoggingConfiguration m_loggingConfiguration;
901 LastUpdate m_lastUpdate;
921 int m_minWebservers{0};
923 int m_maxWebservers{0};
925 IdentityCenterConfiguration m_identityCenterConfiguration;
928 bool m_nameHasBeenSet =
false;
929 bool m_statusHasBeenSet =
false;
930 bool m_arnHasBeenSet =
false;
931 bool m_createdAtHasBeenSet =
false;
932 bool m_webserverUrlHasBeenSet =
false;
933 bool m_executionRoleArnHasBeenSet =
false;
934 bool m_serviceRoleArnHasBeenSet =
false;
935 bool m_kmsKeyHasBeenSet =
false;
936 bool m_airflowVersionHasBeenSet =
false;
937 bool m_sourceBucketArnHasBeenSet =
false;
938 bool m_dagS3PathHasBeenSet =
false;
939 bool m_pluginsS3PathHasBeenSet =
false;
940 bool m_pluginsS3ObjectVersionHasBeenSet =
false;
941 bool m_requirementsS3PathHasBeenSet =
false;
942 bool m_requirementsS3ObjectVersionHasBeenSet =
false;
943 bool m_startupScriptS3PathHasBeenSet =
false;
944 bool m_startupScriptS3ObjectVersionHasBeenSet =
false;
945 bool m_airflowConfigurationOptionsHasBeenSet =
false;
946 bool m_environmentClassHasBeenSet =
false;
947 bool m_maxWorkersHasBeenSet =
false;
948 bool m_networkConfigurationHasBeenSet =
false;
949 bool m_loggingConfigurationHasBeenSet =
false;
950 bool m_lastUpdateHasBeenSet =
false;
951 bool m_weeklyMaintenanceWindowStartHasBeenSet =
false;
952 bool m_tagsHasBeenSet =
false;
953 bool m_webserverAccessModeHasBeenSet =
false;
954 bool m_minWorkersHasBeenSet =
false;
955 bool m_schedulersHasBeenSet =
false;
956 bool m_webserverVpcEndpointServiceHasBeenSet =
false;
957 bool m_databaseVpcEndpointServiceHasBeenSet =
false;
958 bool m_celeryExecutorQueueHasBeenSet =
false;
959 bool m_endpointManagementHasBeenSet =
false;
960 bool m_minWebserversHasBeenSet =
false;
961 bool m_maxWebserversHasBeenSet =
false;
962 bool m_identityCenterConfigurationHasBeenSet =
false;
963 bool m_teamsHasBeenSet =
false;
Environment & WithPluginsS3ObjectVersion(PluginsS3ObjectVersionT &&value)
bool LoggingConfigurationHasBeenSet() const
Environment & WithArn(ArnT &&value)
void SetTags(TagsT &&value)
bool PluginsS3ObjectVersionHasBeenSet() const
void SetLoggingConfiguration(LoggingConfigurationT &&value)
void SetSourceBucketArn(SourceBucketArnT &&value)
Environment & WithSourceBucketArn(SourceBucketArnT &&value)
const Aws::String & GetKmsKey() const
Environment & WithWebserverAccessMode(WebserverAccessMode value)
const Aws::String & GetArn() const
bool WebserverAccessModeHasBeenSet() const
const Aws::String & GetDatabaseVpcEndpointService() const
bool RequirementsS3PathHasBeenSet() const
void SetCeleryExecutorQueue(CeleryExecutorQueueT &&value)
int GetMinWorkers() const
bool CreatedAtHasBeenSet() const
Environment & WithWebserverUrl(WebserverUrlT &&value)
bool NetworkConfigurationHasBeenSet() const
const Aws::String & GetCeleryExecutorQueue() const
bool ArnHasBeenSet() const
void SetLastUpdate(LastUpdateT &&value)
Environment & WithPluginsS3Path(PluginsS3PathT &&value)
void SetWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT &&value)
bool WebserverVpcEndpointServiceHasBeenSet() const
Environment & WithAirflowVersion(AirflowVersionT &&value)
Environment & WithWebserverVpcEndpointService(WebserverVpcEndpointServiceT &&value)
int GetMaxWebservers() const
void SetServiceRoleArn(ServiceRoleArnT &&value)
void SetTeams(TeamsT &&value)
Environment & WithEndpointManagement(EndpointManagement value)
void SetKmsKey(KmsKeyT &&value)
Environment & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetAirflowVersion() const
bool KmsKeyHasBeenSet() const
void SetStatus(EnvironmentStatus value)
int GetSchedulers() const
bool TeamsHasBeenSet() const
Environment & WithDagS3Path(DagS3PathT &&value)
Environment & WithNetworkConfiguration(NetworkConfigurationT &&value)
bool AirflowConfigurationOptionsHasBeenSet() const
Environment & WithStartupScriptS3ObjectVersion(StartupScriptS3ObjectVersionT &&value)
Environment & AddTeams(TeamsKeyT &&key, TeamsValueT &&value)
const Aws::String & GetPluginsS3ObjectVersion() const
const Aws::String & GetStartupScriptS3Path() const
Environment & WithWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT &&value)
void SetAirflowVersion(AirflowVersionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAirflowConfigurationOptions() const
Environment & WithTeams(TeamsT &&value)
void SetEnvironmentClass(EnvironmentClassT &&value)
Environment & WithMaxWorkers(int value)
Environment & WithStatus(EnvironmentStatus value)
bool TagsHasBeenSet() const
bool ServiceRoleArnHasBeenSet() const
bool EndpointManagementHasBeenSet() const
Environment & WithMinWebservers(int value)
Environment & WithMaxWebservers(int value)
bool WeeklyMaintenanceWindowStartHasBeenSet() const
bool SchedulersHasBeenSet() const
void SetWebserverVpcEndpointService(WebserverVpcEndpointServiceT &&value)
Environment & WithTags(TagsT &&value)
const Aws::String & GetRequirementsS3Path() const
void SetAirflowConfigurationOptions(AirflowConfigurationOptionsT &&value)
const Aws::String & GetPluginsS3Path() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetDagS3Path() const
bool WebserverUrlHasBeenSet() const
bool PluginsS3PathHasBeenSet() const
const IdentityCenterConfiguration & GetIdentityCenterConfiguration() const
bool CeleryExecutorQueueHasBeenSet() const
void SetMinWorkers(int value)
void SetStartupScriptS3ObjectVersion(StartupScriptS3ObjectVersionT &&value)
Environment & WithExecutionRoleArn(ExecutionRoleArnT &&value)
void SetRequirementsS3Path(RequirementsS3PathT &&value)
AWS_MWAA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEnvironmentClass() const
void SetArn(ArnT &&value)
bool MinWebserversHasBeenSet() const
const Aws::String & GetWebserverVpcEndpointService() const
const Aws::String & GetName() const
Environment & WithEnvironmentClass(EnvironmentClassT &&value)
bool DatabaseVpcEndpointServiceHasBeenSet() const
void SetDatabaseVpcEndpointService(DatabaseVpcEndpointServiceT &&value)
Environment & WithCreatedAt(CreatedAtT &&value)
Environment & WithAirflowConfigurationOptions(AirflowConfigurationOptionsT &&value)
WebserverAccessMode GetWebserverAccessMode() const
Environment & WithStartupScriptS3Path(StartupScriptS3PathT &&value)
const LoggingConfiguration & GetLoggingConfiguration() const
AWS_MWAA_API Environment()=default
void SetStartupScriptS3Path(StartupScriptS3PathT &&value)
bool RequirementsS3ObjectVersionHasBeenSet() const
bool NameHasBeenSet() const
Environment & AddAirflowConfigurationOptions(AirflowConfigurationOptionsKeyT &&key, AirflowConfigurationOptionsValueT &&value)
const NetworkConfiguration & GetNetworkConfiguration() const
void SetRequirementsS3ObjectVersion(RequirementsS3ObjectVersionT &&value)
Environment & WithSchedulers(int value)
Environment & WithRequirementsS3Path(RequirementsS3PathT &&value)
void SetName(NameT &&value)
void SetMinWebservers(int value)
bool AirflowVersionHasBeenSet() const
Environment & WithLoggingConfiguration(LoggingConfigurationT &&value)
const Aws::String & GetExecutionRoleArn() const
EnvironmentStatus GetStatus() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetMaxWebservers(int value)
const Aws::String & GetSourceBucketArn() const
bool MaxWebserversHasBeenSet() const
Environment & WithDatabaseVpcEndpointService(DatabaseVpcEndpointServiceT &&value)
int GetMaxWorkers() const
bool StartupScriptS3PathHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
bool StatusHasBeenSet() const
const Aws::String & GetWebserverUrl() const
bool EnvironmentClassHasBeenSet() const
const Aws::String & GetWeeklyMaintenanceWindowStart() const
void SetPluginsS3ObjectVersion(PluginsS3ObjectVersionT &&value)
EndpointManagement GetEndpointManagement() const
bool DagS3PathHasBeenSet() const
bool MinWorkersHasBeenSet() const
int GetMinWebservers() const
Environment & WithMinWorkers(int value)
bool MaxWorkersHasBeenSet() const
const Aws::String & GetStartupScriptS3ObjectVersion() const
Environment & WithRequirementsS3ObjectVersion(RequirementsS3ObjectVersionT &&value)
bool LastUpdateHasBeenSet() const
void SetWebserverUrl(WebserverUrlT &&value)
AWS_MWAA_API Environment & operator=(Aws::Utils::Json::JsonView jsonValue)
const LastUpdate & GetLastUpdate() const
Environment & WithCeleryExecutorQueue(CeleryExecutorQueueT &&value)
bool IdentityCenterConfigurationHasBeenSet() const
Environment & WithIdentityCenterConfiguration(IdentityCenterConfigurationT &&value)
void SetDagS3Path(DagS3PathT &&value)
void SetMaxWorkers(int value)
const Aws::String & GetRequirementsS3ObjectVersion() const
AWS_MWAA_API Environment(Aws::Utils::Json::JsonView jsonValue)
void SetIdentityCenterConfiguration(IdentityCenterConfigurationT &&value)
bool StartupScriptS3ObjectVersionHasBeenSet() const
Environment & WithKmsKey(KmsKeyT &&value)
void SetNetworkConfiguration(NetworkConfigurationT &&value)
const Aws::String & GetServiceRoleArn() const
void SetEndpointManagement(EndpointManagement value)
void SetPluginsS3Path(PluginsS3PathT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSchedulers(int value)
bool SourceBucketArnHasBeenSet() const
bool ExecutionRoleArnHasBeenSet() const
void SetWebserverAccessMode(WebserverAccessMode value)
Environment & WithName(NameT &&value)
Environment & WithServiceRoleArn(ServiceRoleArnT &&value)
const Aws::Map< Aws::String, TeamConfig > & GetTeams() const
Environment & WithLastUpdate(LastUpdateT &&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