7#include <aws/mwaa/MWAA_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mwaa/model/EnvironmentStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/mwaa/model/NetworkConfiguration.h>
13#include <aws/mwaa/model/LoggingConfiguration.h>
14#include <aws/mwaa/model/LastUpdate.h>
15#include <aws/mwaa/model/WebserverAccessMode.h>
16#include <aws/mwaa/model/EndpointManagement.h>
58 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
118 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
147 inline void SetWebserverUrl(
const char* value) { m_webserverUrlHasBeenSet =
true; m_webserverUrl.assign(value); }
166 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
183 inline void SetServiceRoleArn(
const char* value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn.assign(value); }
197 inline void SetKmsKey(
const char* value) { m_kmsKeyHasBeenSet =
true; m_kmsKey.assign(value); }
214 inline void SetAirflowVersion(
const char* value) { m_airflowVersionHasBeenSet =
true; m_airflowVersion.assign(value); }
233 inline void SetSourceBucketArn(
const char* value) { m_sourceBucketArnHasBeenSet =
true; m_sourceBucketArn.assign(value); }
250 inline void SetDagS3Path(
const char* value) { m_dagS3PathHasBeenSet =
true; m_dagS3Path.assign(value); }
267 inline void SetPluginsS3Path(
const char* value) { m_pluginsS3PathHasBeenSet =
true; m_pluginsS3Path.assign(value); }
290 inline void SetPluginsS3ObjectVersion(
const char* value) { m_pluginsS3ObjectVersionHasBeenSet =
true; m_pluginsS3ObjectVersion.assign(value); }
308 inline void SetRequirementsS3Path(
const char* value) { m_requirementsS3PathHasBeenSet =
true; m_requirementsS3Path.assign(value); }
352 inline void SetStartupScriptS3Path(
const char* value) { m_startupScriptS3PathHasBeenSet =
true; m_startupScriptS3Path.assign(value); }
415 inline void SetEnvironmentClass(
const char* value) { m_environmentClassHasBeenSet =
true; m_environmentClass.assign(value); }
428 inline void SetMaxWorkers(
int value) { m_maxWorkersHasBeenSet =
true; m_maxWorkers = value; }
507 inline Environment&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
532 inline void SetMinWorkers(
int value) { m_minWorkersHasBeenSet =
true; m_minWorkers = value; }
543 inline void SetSchedulers(
int value) { m_schedulersHasBeenSet =
true; m_schedulers = value; }
587 inline void SetCeleryExecutorQueue(
const char* value) { m_celeryExecutorQueueHasBeenSet =
true; m_celeryExecutorQueue.assign(value); }
622 inline void SetMinWebservers(
int value) { m_minWebserversHasBeenSet =
true; m_minWebservers = value; }
642 inline void SetMaxWebservers(
int value) { m_maxWebserversHasBeenSet =
true; m_maxWebservers = value; }
648 bool m_nameHasBeenSet =
false;
651 bool m_statusHasBeenSet =
false;
654 bool m_arnHasBeenSet =
false;
657 bool m_createdAtHasBeenSet =
false;
660 bool m_webserverUrlHasBeenSet =
false;
663 bool m_executionRoleArnHasBeenSet =
false;
666 bool m_serviceRoleArnHasBeenSet =
false;
669 bool m_kmsKeyHasBeenSet =
false;
672 bool m_airflowVersionHasBeenSet =
false;
675 bool m_sourceBucketArnHasBeenSet =
false;
678 bool m_dagS3PathHasBeenSet =
false;
681 bool m_pluginsS3PathHasBeenSet =
false;
684 bool m_pluginsS3ObjectVersionHasBeenSet =
false;
687 bool m_requirementsS3PathHasBeenSet =
false;
690 bool m_requirementsS3ObjectVersionHasBeenSet =
false;
693 bool m_startupScriptS3PathHasBeenSet =
false;
696 bool m_startupScriptS3ObjectVersionHasBeenSet =
false;
699 bool m_airflowConfigurationOptionsHasBeenSet =
false;
702 bool m_environmentClassHasBeenSet =
false;
705 bool m_maxWorkersHasBeenSet =
false;
708 bool m_networkConfigurationHasBeenSet =
false;
711 bool m_loggingConfigurationHasBeenSet =
false;
714 bool m_lastUpdateHasBeenSet =
false;
717 bool m_weeklyMaintenanceWindowStartHasBeenSet =
false;
720 bool m_tagsHasBeenSet =
false;
723 bool m_webserverAccessModeHasBeenSet =
false;
726 bool m_minWorkersHasBeenSet =
false;
729 bool m_schedulersHasBeenSet =
false;
732 bool m_webserverVpcEndpointServiceHasBeenSet =
false;
735 bool m_databaseVpcEndpointServiceHasBeenSet =
false;
738 bool m_celeryExecutorQueueHasBeenSet =
false;
741 bool m_endpointManagementHasBeenSet =
false;
744 bool m_minWebserversHasBeenSet =
false;
747 bool m_maxWebserversHasBeenSet =
false;
Environment & AddAirflowConfigurationOptions(const Aws::String &key, Aws::String &&value)
bool LoggingConfigurationHasBeenSet() const
void SetEnvironmentClass(const char *value)
Environment & WithWebserverVpcEndpointService(Aws::String &&value)
Environment & AddTags(const char *key, const char *value)
Environment & WithWeeklyMaintenanceWindowStart(Aws::String &&value)
Environment & WithCreatedAt(Aws::Utils::DateTime &&value)
bool PluginsS3ObjectVersionHasBeenSet() const
Environment & AddTags(Aws::String &&key, Aws::String &&value)
void SetDatabaseVpcEndpointService(Aws::String &&value)
Environment & WithEnvironmentClass(const Aws::String &value)
void SetAirflowVersion(const char *value)
Environment & WithDagS3Path(const Aws::String &value)
void SetAirflowVersion(const Aws::String &value)
void SetWeeklyMaintenanceWindowStart(const Aws::String &value)
Environment & WithExecutionRoleArn(const Aws::String &value)
Environment & AddAirflowConfigurationOptions(Aws::String &&key, const char *value)
Environment & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetKmsKey() const
Environment & WithRequirementsS3ObjectVersion(const char *value)
const Aws::String & GetArn() const
void SetWebserverUrl(const char *value)
bool WebserverAccessModeHasBeenSet() const
void SetPluginsS3ObjectVersion(const char *value)
const Aws::String & GetDatabaseVpcEndpointService() const
const EnvironmentStatus & GetStatus() const
Environment & WithAirflowVersion(const char *value)
bool RequirementsS3PathHasBeenSet() const
void SetArn(const Aws::String &value)
void SetCeleryExecutorQueue(Aws::String &&value)
void SetCeleryExecutorQueue(const Aws::String &value)
void SetStartupScriptS3ObjectVersion(const char *value)
Environment & WithArn(const Aws::String &value)
void SetRequirementsS3Path(Aws::String &&value)
int GetMinWorkers() const
void SetWebserverAccessMode(const WebserverAccessMode &value)
bool CreatedAtHasBeenSet() const
Environment & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetLastUpdate(const LastUpdate &value)
void SetSourceBucketArn(const char *value)
bool NetworkConfigurationHasBeenSet() const
Environment & WithCeleryExecutorQueue(const Aws::String &value)
Environment & WithEndpointManagement(const EndpointManagement &value)
const Aws::String & GetCeleryExecutorQueue() const
bool ArnHasBeenSet() const
void SetStartupScriptS3Path(Aws::String &&value)
Environment & AddAirflowConfigurationOptions(Aws::String &&key, Aws::String &&value)
Environment & WithRequirementsS3Path(Aws::String &&value)
Environment & WithKmsKey(const char *value)
bool WebserverVpcEndpointServiceHasBeenSet() const
void SetPluginsS3Path(const char *value)
Environment & WithName(const char *value)
int GetMaxWebservers() const
void SetStartupScriptS3ObjectVersion(const Aws::String &value)
void SetStatus(const EnvironmentStatus &value)
void SetPluginsS3ObjectVersion(Aws::String &&value)
Environment & WithAirflowVersion(Aws::String &&value)
void SetServiceRoleArn(const Aws::String &value)
const Aws::String & GetAirflowVersion() const
void SetWeeklyMaintenanceWindowStart(const char *value)
void SetSourceBucketArn(const Aws::String &value)
bool KmsKeyHasBeenSet() const
void SetAirflowConfigurationOptions(Aws::Map< Aws::String, Aws::String > &&value)
Environment & WithDatabaseVpcEndpointService(const Aws::String &value)
void SetKmsKey(const char *value)
int GetSchedulers() const
void SetNetworkConfiguration(const NetworkConfiguration &value)
Environment & WithDagS3Path(const char *value)
Environment & WithArn(const char *value)
Environment & WithWebserverAccessMode(const WebserverAccessMode &value)
Environment & WithSourceBucketArn(const Aws::String &value)
Environment & WithSourceBucketArn(Aws::String &&value)
Environment & WithStartupScriptS3Path(const char *value)
Environment & WithPluginsS3ObjectVersion(const char *value)
Environment & WithWeeklyMaintenanceWindowStart(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool AirflowConfigurationOptionsHasBeenSet() const
void SetLastUpdate(LastUpdate &&value)
void SetPluginsS3ObjectVersion(const Aws::String &value)
Environment & WithArn(Aws::String &&value)
const WebserverAccessMode & GetWebserverAccessMode() const
Environment & WithWeeklyMaintenanceWindowStart(const char *value)
Environment & WithCeleryExecutorQueue(const char *value)
void SetRequirementsS3Path(const char *value)
const Aws::String & GetPluginsS3ObjectVersion() const
const Aws::String & GetStartupScriptS3Path() const
void SetWebserverUrl(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetAirflowConfigurationOptions() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetServiceRoleArn(const char *value)
Environment & WithMaxWorkers(int value)
bool TagsHasBeenSet() const
Environment & AddAirflowConfigurationOptions(const char *key, const char *value)
bool ServiceRoleArnHasBeenSet() const
bool EndpointManagementHasBeenSet() const
Environment & WithDatabaseVpcEndpointService(const char *value)
Environment & WithMinWebservers(int value)
Environment & WithExecutionRoleArn(const char *value)
Environment & WithMaxWebservers(int value)
Environment & WithPluginsS3Path(const Aws::String &value)
Environment & WithRequirementsS3Path(const Aws::String &value)
Environment & AddTags(const Aws::String &key, const Aws::String &value)
Environment & WithServiceRoleArn(const char *value)
void SetKmsKey(Aws::String &&value)
Environment & WithRequirementsS3ObjectVersion(const Aws::String &value)
bool WeeklyMaintenanceWindowStartHasBeenSet() const
bool SchedulersHasBeenSet() const
const Aws::String & GetRequirementsS3Path() const
const Aws::String & GetPluginsS3Path() const
const Aws::String & GetDagS3Path() const
bool WebserverUrlHasBeenSet() const
Environment & WithStartupScriptS3Path(Aws::String &&value)
bool PluginsS3PathHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetEnvironmentClass(Aws::String &&value)
void SetRequirementsS3Path(const Aws::String &value)
bool CeleryExecutorQueueHasBeenSet() const
void SetMinWorkers(int value)
void SetExecutionRoleArn(const char *value)
Environment & WithNetworkConfiguration(const NetworkConfiguration &value)
void SetDatabaseVpcEndpointService(const char *value)
void SetDagS3Path(const char *value)
void SetKmsKey(const Aws::String &value)
Environment & WithStartupScriptS3ObjectVersion(const Aws::String &value)
Environment & WithStatus(EnvironmentStatus &&value)
AWS_MWAA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEnvironmentClass() const
Environment & AddTags(const Aws::String &key, Aws::String &&value)
Environment & WithAirflowConfigurationOptions(Aws::Map< Aws::String, Aws::String > &&value)
bool MinWebserversHasBeenSet() const
void SetExecutionRoleArn(const Aws::String &value)
void SetCeleryExecutorQueue(const char *value)
const Aws::String & GetWebserverVpcEndpointService() const
const Aws::String & GetName() const
bool DatabaseVpcEndpointServiceHasBeenSet() const
Environment & WithCeleryExecutorQueue(Aws::String &&value)
Environment & WithName(const Aws::String &value)
Environment & WithPluginsS3Path(Aws::String &&value)
const LoggingConfiguration & GetLoggingConfiguration() const
Environment & WithLoggingConfiguration(const LoggingConfiguration &value)
void SetWebserverVpcEndpointService(const Aws::String &value)
void SetWeeklyMaintenanceWindowStart(Aws::String &&value)
void SetExecutionRoleArn(Aws::String &&value)
bool RequirementsS3ObjectVersionHasBeenSet() const
bool NameHasBeenSet() const
const NetworkConfiguration & GetNetworkConfiguration() const
void SetName(Aws::String &&value)
Environment & WithAirflowVersion(const Aws::String &value)
Environment & WithWebserverUrl(const Aws::String &value)
void SetPluginsS3Path(Aws::String &&value)
Environment & WithStartupScriptS3ObjectVersion(Aws::String &&value)
Environment & WithSchedulers(int value)
void SetRequirementsS3ObjectVersion(const char *value)
void SetRequirementsS3ObjectVersion(Aws::String &&value)
Environment & WithNetworkConfiguration(NetworkConfiguration &&value)
Environment & AddTags(const char *key, Aws::String &&value)
void SetStartupScriptS3Path(const Aws::String &value)
void SetMinWebservers(int value)
bool AirflowVersionHasBeenSet() const
Environment & WithPluginsS3ObjectVersion(const Aws::String &value)
const Aws::String & GetExecutionRoleArn() const
Environment & WithStartupScriptS3ObjectVersion(const char *value)
void SetWebserverVpcEndpointService(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetMaxWebservers(int value)
const Aws::String & GetSourceBucketArn() const
bool MaxWebserversHasBeenSet() const
void SetName(const Aws::String &value)
Environment & WithDatabaseVpcEndpointService(Aws::String &&value)
int GetMaxWorkers() const
bool StartupScriptS3PathHasBeenSet() const
void SetAirflowVersion(Aws::String &&value)
void SetWebserverUrl(Aws::String &&value)
Environment & WithName(Aws::String &&value)
void SetStartupScriptS3Path(const char *value)
Environment & WithRequirementsS3Path(const char *value)
void SetName(const char *value)
bool StatusHasBeenSet() const
void SetLoggingConfiguration(LoggingConfiguration &&value)
void SetDagS3Path(const Aws::String &value)
Environment & WithServiceRoleArn(Aws::String &&value)
const Aws::String & GetWebserverUrl() const
bool EnvironmentClassHasBeenSet() const
Environment & WithLastUpdate(const LastUpdate &value)
Environment & WithWebserverVpcEndpointService(const char *value)
Environment & AddAirflowConfigurationOptions(const char *key, Aws::String &&value)
const Aws::String & GetWeeklyMaintenanceWindowStart() const
bool DagS3PathHasBeenSet() const
Environment & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool MinWorkersHasBeenSet() const
Environment & WithEndpointManagement(EndpointManagement &&value)
void SetStatus(EnvironmentStatus &&value)
void SetWebserverAccessMode(WebserverAccessMode &&value)
void SetAirflowConfigurationOptions(const Aws::Map< Aws::String, Aws::String > &value)
void SetLoggingConfiguration(const LoggingConfiguration &value)
int GetMinWebservers() const
void SetArn(Aws::String &&value)
Environment & WithRequirementsS3ObjectVersion(Aws::String &&value)
Environment & WithMinWorkers(int value)
void SetNetworkConfiguration(NetworkConfiguration &&value)
Environment & WithWebserverVpcEndpointService(const Aws::String &value)
void SetEndpointManagement(const EndpointManagement &value)
void SetEnvironmentClass(const Aws::String &value)
bool MaxWorkersHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
Environment & WithWebserverAccessMode(WebserverAccessMode &&value)
const Aws::String & GetStartupScriptS3ObjectVersion() const
void SetPluginsS3Path(const Aws::String &value)
void SetWebserverVpcEndpointService(const char *value)
Environment & WithLoggingConfiguration(LoggingConfiguration &&value)
Environment & WithEnvironmentClass(const char *value)
Environment & WithPluginsS3ObjectVersion(Aws::String &&value)
bool LastUpdateHasBeenSet() const
Environment & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_MWAA_API Environment & operator=(Aws::Utils::Json::JsonView jsonValue)
const LastUpdate & GetLastUpdate() const
Environment & WithExecutionRoleArn(Aws::String &&value)
void SetStartupScriptS3ObjectVersion(Aws::String &&value)
Environment & WithWebserverUrl(Aws::String &&value)
Environment & WithStatus(const EnvironmentStatus &value)
void SetArn(const char *value)
void SetMaxWorkers(int value)
Environment & WithStartupScriptS3Path(const Aws::String &value)
Environment & WithServiceRoleArn(const Aws::String &value)
Environment & AddTags(Aws::String &&key, const Aws::String &value)
void SetSourceBucketArn(Aws::String &&value)
Environment & WithAirflowConfigurationOptions(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetRequirementsS3ObjectVersion() const
Environment & WithWebserverUrl(const char *value)
AWS_MWAA_API Environment(Aws::Utils::Json::JsonView jsonValue)
void SetDatabaseVpcEndpointService(const Aws::String &value)
void SetServiceRoleArn(Aws::String &&value)
bool StartupScriptS3ObjectVersionHasBeenSet() const
Environment & WithDagS3Path(Aws::String &&value)
Environment & WithKmsKey(Aws::String &&value)
Environment & WithKmsKey(const Aws::String &value)
const Aws::String & GetServiceRoleArn() const
Environment & AddAirflowConfigurationOptions(const Aws::String &key, const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSchedulers(int value)
Environment & WithPluginsS3Path(const char *value)
const EndpointManagement & GetEndpointManagement() const
Environment & WithLastUpdate(LastUpdate &&value)
Environment & AddAirflowConfigurationOptions(Aws::String &&key, const Aws::String &value)
void SetRequirementsS3ObjectVersion(const Aws::String &value)
bool SourceBucketArnHasBeenSet() const
bool ExecutionRoleArnHasBeenSet() const
void SetDagS3Path(Aws::String &&value)
Environment & WithSourceBucketArn(const char *value)
void SetEndpointManagement(EndpointManagement &&value)
Environment & WithEnvironmentClass(Aws::String &&value)
AWS_MWAA_API Environment()
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