AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Environment.h
1
6#pragma once
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>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace MWAA
30{
31namespace Model
32{
33
41 {
42 public:
43 AWS_MWAA_API Environment() = default;
44 AWS_MWAA_API Environment(Aws::Utils::Json::JsonView jsonValue);
47
48
50
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template<typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
58 template<typename NameT = Aws::String>
59 Environment& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
100 inline EnvironmentStatus GetStatus() const { return m_status; }
101 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
102 inline void SetStatus(EnvironmentStatus value) { m_statusHasBeenSet = true; m_status = value; }
103 inline Environment& WithStatus(EnvironmentStatus value) { SetStatus(value); return *this;}
105
107
110 inline const Aws::String& GetArn() const { return m_arn; }
111 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
112 template<typename ArnT = Aws::String>
113 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
114 template<typename ArnT = Aws::String>
115 Environment& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
123 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
124 template<typename CreatedAtT = Aws::Utils::DateTime>
125 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
126 template<typename CreatedAtT = Aws::Utils::DateTime>
127 Environment& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
129
131
137 inline const Aws::String& GetWebserverUrl() const { return m_webserverUrl; }
138 inline bool WebserverUrlHasBeenSet() const { return m_webserverUrlHasBeenSet; }
139 template<typename WebserverUrlT = Aws::String>
140 void SetWebserverUrl(WebserverUrlT&& value) { m_webserverUrlHasBeenSet = true; m_webserverUrl = std::forward<WebserverUrlT>(value); }
141 template<typename WebserverUrlT = Aws::String>
142 Environment& WithWebserverUrl(WebserverUrlT&& value) { SetWebserverUrl(std::forward<WebserverUrlT>(value)); return *this;}
144
146
154 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
155 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
156 template<typename ExecutionRoleArnT = Aws::String>
157 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
158 template<typename ExecutionRoleArnT = Aws::String>
159 Environment& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
161
163
169 inline const Aws::String& GetServiceRoleArn() const { return m_serviceRoleArn; }
170 inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; }
171 template<typename ServiceRoleArnT = Aws::String>
172 void SetServiceRoleArn(ServiceRoleArnT&& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = std::forward<ServiceRoleArnT>(value); }
173 template<typename ServiceRoleArnT = Aws::String>
174 Environment& WithServiceRoleArn(ServiceRoleArnT&& value) { SetServiceRoleArn(std::forward<ServiceRoleArnT>(value)); return *this;}
176
178
181 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
182 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
183 template<typename KmsKeyT = Aws::String>
184 void SetKmsKey(KmsKeyT&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::forward<KmsKeyT>(value); }
185 template<typename KmsKeyT = Aws::String>
186 Environment& WithKmsKey(KmsKeyT&& value) { SetKmsKey(std::forward<KmsKeyT>(value)); return *this;}
188
190
197 inline const Aws::String& GetAirflowVersion() const { return m_airflowVersion; }
198 inline bool AirflowVersionHasBeenSet() const { return m_airflowVersionHasBeenSet; }
199 template<typename AirflowVersionT = Aws::String>
200 void SetAirflowVersion(AirflowVersionT&& value) { m_airflowVersionHasBeenSet = true; m_airflowVersion = std::forward<AirflowVersionT>(value); }
201 template<typename AirflowVersionT = Aws::String>
202 Environment& WithAirflowVersion(AirflowVersionT&& value) { SetAirflowVersion(std::forward<AirflowVersionT>(value)); return *this;}
204
206
214 inline const Aws::String& GetSourceBucketArn() const { return m_sourceBucketArn; }
215 inline bool SourceBucketArnHasBeenSet() const { return m_sourceBucketArnHasBeenSet; }
216 template<typename SourceBucketArnT = Aws::String>
217 void SetSourceBucketArn(SourceBucketArnT&& value) { m_sourceBucketArnHasBeenSet = true; m_sourceBucketArn = std::forward<SourceBucketArnT>(value); }
218 template<typename SourceBucketArnT = Aws::String>
219 Environment& WithSourceBucketArn(SourceBucketArnT&& value) { SetSourceBucketArn(std::forward<SourceBucketArnT>(value)); return *this;}
221
223
229 inline const Aws::String& GetDagS3Path() const { return m_dagS3Path; }
230 inline bool DagS3PathHasBeenSet() const { return m_dagS3PathHasBeenSet; }
231 template<typename DagS3PathT = Aws::String>
232 void SetDagS3Path(DagS3PathT&& value) { m_dagS3PathHasBeenSet = true; m_dagS3Path = std::forward<DagS3PathT>(value); }
233 template<typename DagS3PathT = Aws::String>
234 Environment& WithDagS3Path(DagS3PathT&& value) { SetDagS3Path(std::forward<DagS3PathT>(value)); return *this;}
236
238
244 inline const Aws::String& GetPluginsS3Path() const { return m_pluginsS3Path; }
245 inline bool PluginsS3PathHasBeenSet() const { return m_pluginsS3PathHasBeenSet; }
246 template<typename PluginsS3PathT = Aws::String>
247 void SetPluginsS3Path(PluginsS3PathT&& value) { m_pluginsS3PathHasBeenSet = true; m_pluginsS3Path = std::forward<PluginsS3PathT>(value); }
248 template<typename PluginsS3PathT = Aws::String>
249 Environment& WithPluginsS3Path(PluginsS3PathT&& value) { SetPluginsS3Path(std::forward<PluginsS3PathT>(value)); return *this;}
251
253
265 inline const Aws::String& GetPluginsS3ObjectVersion() const { return m_pluginsS3ObjectVersion; }
266 inline bool PluginsS3ObjectVersionHasBeenSet() const { return m_pluginsS3ObjectVersionHasBeenSet; }
267 template<typename PluginsS3ObjectVersionT = Aws::String>
268 void SetPluginsS3ObjectVersion(PluginsS3ObjectVersionT&& value) { m_pluginsS3ObjectVersionHasBeenSet = true; m_pluginsS3ObjectVersion = std::forward<PluginsS3ObjectVersionT>(value); }
269 template<typename PluginsS3ObjectVersionT = Aws::String>
270 Environment& WithPluginsS3ObjectVersion(PluginsS3ObjectVersionT&& value) { SetPluginsS3ObjectVersion(std::forward<PluginsS3ObjectVersionT>(value)); return *this;}
272
274
281 inline const Aws::String& GetRequirementsS3Path() const { return m_requirementsS3Path; }
282 inline bool RequirementsS3PathHasBeenSet() const { return m_requirementsS3PathHasBeenSet; }
283 template<typename RequirementsS3PathT = Aws::String>
284 void SetRequirementsS3Path(RequirementsS3PathT&& value) { m_requirementsS3PathHasBeenSet = true; m_requirementsS3Path = std::forward<RequirementsS3PathT>(value); }
285 template<typename RequirementsS3PathT = Aws::String>
286 Environment& WithRequirementsS3Path(RequirementsS3PathT&& value) { SetRequirementsS3Path(std::forward<RequirementsS3PathT>(value)); return *this;}
288
290
302 inline const Aws::String& GetRequirementsS3ObjectVersion() const { return m_requirementsS3ObjectVersion; }
303 inline bool RequirementsS3ObjectVersionHasBeenSet() const { return m_requirementsS3ObjectVersionHasBeenSet; }
304 template<typename RequirementsS3ObjectVersionT = Aws::String>
305 void SetRequirementsS3ObjectVersion(RequirementsS3ObjectVersionT&& value) { m_requirementsS3ObjectVersionHasBeenSet = true; m_requirementsS3ObjectVersion = std::forward<RequirementsS3ObjectVersionT>(value); }
306 template<typename RequirementsS3ObjectVersionT = Aws::String>
307 Environment& WithRequirementsS3ObjectVersion(RequirementsS3ObjectVersionT&& value) { SetRequirementsS3ObjectVersion(std::forward<RequirementsS3ObjectVersionT>(value)); return *this;}
309
311
321 inline const Aws::String& GetStartupScriptS3Path() const { return m_startupScriptS3Path; }
322 inline bool StartupScriptS3PathHasBeenSet() const { return m_startupScriptS3PathHasBeenSet; }
323 template<typename StartupScriptS3PathT = Aws::String>
324 void SetStartupScriptS3Path(StartupScriptS3PathT&& value) { m_startupScriptS3PathHasBeenSet = true; m_startupScriptS3Path = std::forward<StartupScriptS3PathT>(value); }
325 template<typename StartupScriptS3PathT = Aws::String>
326 Environment& WithStartupScriptS3Path(StartupScriptS3PathT&& value) { SetStartupScriptS3Path(std::forward<StartupScriptS3PathT>(value)); return *this;}
328
330
342 inline const Aws::String& GetStartupScriptS3ObjectVersion() const { return m_startupScriptS3ObjectVersion; }
343 inline bool StartupScriptS3ObjectVersionHasBeenSet() const { return m_startupScriptS3ObjectVersionHasBeenSet; }
344 template<typename StartupScriptS3ObjectVersionT = Aws::String>
345 void SetStartupScriptS3ObjectVersion(StartupScriptS3ObjectVersionT&& value) { m_startupScriptS3ObjectVersionHasBeenSet = true; m_startupScriptS3ObjectVersion = std::forward<StartupScriptS3ObjectVersionT>(value); }
346 template<typename StartupScriptS3ObjectVersionT = Aws::String>
347 Environment& WithStartupScriptS3ObjectVersion(StartupScriptS3ObjectVersionT&& value) { SetStartupScriptS3ObjectVersion(std::forward<StartupScriptS3ObjectVersionT>(value)); return *this;}
349
351
357 inline const Aws::Map<Aws::String, Aws::String>& GetAirflowConfigurationOptions() const { return m_airflowConfigurationOptions; }
358 inline bool AirflowConfigurationOptionsHasBeenSet() const { return m_airflowConfigurationOptionsHasBeenSet; }
359 template<typename AirflowConfigurationOptionsT = Aws::Map<Aws::String, Aws::String>>
360 void SetAirflowConfigurationOptions(AirflowConfigurationOptionsT&& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions = std::forward<AirflowConfigurationOptionsT>(value); }
361 template<typename AirflowConfigurationOptionsT = Aws::Map<Aws::String, Aws::String>>
362 Environment& WithAirflowConfigurationOptions(AirflowConfigurationOptionsT&& value) { SetAirflowConfigurationOptions(std::forward<AirflowConfigurationOptionsT>(value)); return *this;}
363 template<typename AirflowConfigurationOptionsKeyT = Aws::String, typename AirflowConfigurationOptionsValueT = Aws::String>
364 Environment& AddAirflowConfigurationOptions(AirflowConfigurationOptionsKeyT&& key, AirflowConfigurationOptionsValueT&& value) {
365 m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(std::forward<AirflowConfigurationOptionsKeyT>(key), std::forward<AirflowConfigurationOptionsValueT>(value)); return *this;
366 }
368
370
378 inline const Aws::String& GetEnvironmentClass() const { return m_environmentClass; }
379 inline bool EnvironmentClassHasBeenSet() const { return m_environmentClassHasBeenSet; }
380 template<typename EnvironmentClassT = Aws::String>
381 void SetEnvironmentClass(EnvironmentClassT&& value) { m_environmentClassHasBeenSet = true; m_environmentClass = std::forward<EnvironmentClassT>(value); }
382 template<typename EnvironmentClassT = Aws::String>
383 Environment& WithEnvironmentClass(EnvironmentClassT&& value) { SetEnvironmentClass(std::forward<EnvironmentClassT>(value)); return *this;}
385
387
391 inline int GetMaxWorkers() const { return m_maxWorkers; }
392 inline bool MaxWorkersHasBeenSet() const { return m_maxWorkersHasBeenSet; }
393 inline void SetMaxWorkers(int value) { m_maxWorkersHasBeenSet = true; m_maxWorkers = value; }
394 inline Environment& WithMaxWorkers(int value) { SetMaxWorkers(value); return *this;}
396
398
405 inline const NetworkConfiguration& GetNetworkConfiguration() const { return m_networkConfiguration; }
406 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
407 template<typename NetworkConfigurationT = NetworkConfiguration>
408 void SetNetworkConfiguration(NetworkConfigurationT&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::forward<NetworkConfigurationT>(value); }
409 template<typename NetworkConfigurationT = NetworkConfiguration>
410 Environment& WithNetworkConfiguration(NetworkConfigurationT&& value) { SetNetworkConfiguration(std::forward<NetworkConfigurationT>(value)); return *this;}
412
414
417 inline const LoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
418 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
419 template<typename LoggingConfigurationT = LoggingConfiguration>
420 void SetLoggingConfiguration(LoggingConfigurationT&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::forward<LoggingConfigurationT>(value); }
421 template<typename LoggingConfigurationT = LoggingConfiguration>
422 Environment& WithLoggingConfiguration(LoggingConfigurationT&& value) { SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value)); return *this;}
424
426
429 inline const LastUpdate& GetLastUpdate() const { return m_lastUpdate; }
430 inline bool LastUpdateHasBeenSet() const { return m_lastUpdateHasBeenSet; }
431 template<typename LastUpdateT = LastUpdate>
432 void SetLastUpdate(LastUpdateT&& value) { m_lastUpdateHasBeenSet = true; m_lastUpdate = std::forward<LastUpdateT>(value); }
433 template<typename LastUpdateT = LastUpdate>
434 Environment& WithLastUpdate(LastUpdateT&& value) { SetLastUpdate(std::forward<LastUpdateT>(value)); return *this;}
436
438
443 inline const Aws::String& GetWeeklyMaintenanceWindowStart() const { return m_weeklyMaintenanceWindowStart; }
444 inline bool WeeklyMaintenanceWindowStartHasBeenSet() const { return m_weeklyMaintenanceWindowStartHasBeenSet; }
445 template<typename WeeklyMaintenanceWindowStartT = Aws::String>
446 void SetWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT&& value) { m_weeklyMaintenanceWindowStartHasBeenSet = true; m_weeklyMaintenanceWindowStart = std::forward<WeeklyMaintenanceWindowStartT>(value); }
447 template<typename WeeklyMaintenanceWindowStartT = Aws::String>
448 Environment& WithWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT&& value) { SetWeeklyMaintenanceWindowStart(std::forward<WeeklyMaintenanceWindowStartT>(value)); return *this;}
450
452
458 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
459 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
460 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
461 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
462 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
463 Environment& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
464 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
465 Environment& AddTags(TagsKeyT&& key, TagsValueT&& value) {
466 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
467 }
469
471
477 inline WebserverAccessMode GetWebserverAccessMode() const { return m_webserverAccessMode; }
478 inline bool WebserverAccessModeHasBeenSet() const { return m_webserverAccessModeHasBeenSet; }
479 inline void SetWebserverAccessMode(WebserverAccessMode value) { m_webserverAccessModeHasBeenSet = true; m_webserverAccessMode = value; }
482
484
488 inline int GetMinWorkers() const { return m_minWorkers; }
489 inline bool MinWorkersHasBeenSet() const { return m_minWorkersHasBeenSet; }
490 inline void SetMinWorkers(int value) { m_minWorkersHasBeenSet = true; m_minWorkers = value; }
491 inline Environment& WithMinWorkers(int value) { SetMinWorkers(value); return *this;}
493
495
499 inline int GetSchedulers() const { return m_schedulers; }
500 inline bool SchedulersHasBeenSet() const { return m_schedulersHasBeenSet; }
501 inline void SetSchedulers(int value) { m_schedulersHasBeenSet = true; m_schedulers = value; }
502 inline Environment& WithSchedulers(int value) { SetSchedulers(value); return *this;}
504
506
509 inline const Aws::String& GetWebserverVpcEndpointService() const { return m_webserverVpcEndpointService; }
510 inline bool WebserverVpcEndpointServiceHasBeenSet() const { return m_webserverVpcEndpointServiceHasBeenSet; }
511 template<typename WebserverVpcEndpointServiceT = Aws::String>
512 void SetWebserverVpcEndpointService(WebserverVpcEndpointServiceT&& value) { m_webserverVpcEndpointServiceHasBeenSet = true; m_webserverVpcEndpointService = std::forward<WebserverVpcEndpointServiceT>(value); }
513 template<typename WebserverVpcEndpointServiceT = Aws::String>
514 Environment& WithWebserverVpcEndpointService(WebserverVpcEndpointServiceT&& value) { SetWebserverVpcEndpointService(std::forward<WebserverVpcEndpointServiceT>(value)); return *this;}
516
518
521 inline const Aws::String& GetDatabaseVpcEndpointService() const { return m_databaseVpcEndpointService; }
522 inline bool DatabaseVpcEndpointServiceHasBeenSet() const { return m_databaseVpcEndpointServiceHasBeenSet; }
523 template<typename DatabaseVpcEndpointServiceT = Aws::String>
524 void SetDatabaseVpcEndpointService(DatabaseVpcEndpointServiceT&& value) { m_databaseVpcEndpointServiceHasBeenSet = true; m_databaseVpcEndpointService = std::forward<DatabaseVpcEndpointServiceT>(value); }
525 template<typename DatabaseVpcEndpointServiceT = Aws::String>
526 Environment& WithDatabaseVpcEndpointService(DatabaseVpcEndpointServiceT&& value) { SetDatabaseVpcEndpointService(std::forward<DatabaseVpcEndpointServiceT>(value)); return *this;}
528
530
537 inline const Aws::String& GetCeleryExecutorQueue() const { return m_celeryExecutorQueue; }
538 inline bool CeleryExecutorQueueHasBeenSet() const { return m_celeryExecutorQueueHasBeenSet; }
539 template<typename CeleryExecutorQueueT = Aws::String>
540 void SetCeleryExecutorQueue(CeleryExecutorQueueT&& value) { m_celeryExecutorQueueHasBeenSet = true; m_celeryExecutorQueue = std::forward<CeleryExecutorQueueT>(value); }
541 template<typename CeleryExecutorQueueT = Aws::String>
542 Environment& WithCeleryExecutorQueue(CeleryExecutorQueueT&& value) { SetCeleryExecutorQueue(std::forward<CeleryExecutorQueueT>(value)); return *this;}
544
546
553 inline EndpointManagement GetEndpointManagement() const { return m_endpointManagement; }
554 inline bool EndpointManagementHasBeenSet() const { return m_endpointManagementHasBeenSet; }
555 inline void SetEndpointManagement(EndpointManagement value) { m_endpointManagementHasBeenSet = true; m_endpointManagement = value; }
558
560
572 inline int GetMinWebservers() const { return m_minWebservers; }
573 inline bool MinWebserversHasBeenSet() const { return m_minWebserversHasBeenSet; }
574 inline void SetMinWebservers(int value) { m_minWebserversHasBeenSet = true; m_minWebservers = value; }
575 inline Environment& WithMinWebservers(int value) { SetMinWebservers(value); return *this;}
577
579
594 inline int GetMaxWebservers() const { return m_maxWebservers; }
595 inline bool MaxWebserversHasBeenSet() const { return m_maxWebserversHasBeenSet; }
596 inline void SetMaxWebservers(int value) { m_maxWebserversHasBeenSet = true; m_maxWebservers = value; }
597 inline Environment& WithMaxWebservers(int value) { SetMaxWebservers(value); return *this;}
599 private:
600
601 Aws::String m_name;
602 bool m_nameHasBeenSet = false;
603
605 bool m_statusHasBeenSet = false;
606
607 Aws::String m_arn;
608 bool m_arnHasBeenSet = false;
609
610 Aws::Utils::DateTime m_createdAt{};
611 bool m_createdAtHasBeenSet = false;
612
613 Aws::String m_webserverUrl;
614 bool m_webserverUrlHasBeenSet = false;
615
616 Aws::String m_executionRoleArn;
617 bool m_executionRoleArnHasBeenSet = false;
618
619 Aws::String m_serviceRoleArn;
620 bool m_serviceRoleArnHasBeenSet = false;
621
622 Aws::String m_kmsKey;
623 bool m_kmsKeyHasBeenSet = false;
624
625 Aws::String m_airflowVersion;
626 bool m_airflowVersionHasBeenSet = false;
627
628 Aws::String m_sourceBucketArn;
629 bool m_sourceBucketArnHasBeenSet = false;
630
631 Aws::String m_dagS3Path;
632 bool m_dagS3PathHasBeenSet = false;
633
634 Aws::String m_pluginsS3Path;
635 bool m_pluginsS3PathHasBeenSet = false;
636
637 Aws::String m_pluginsS3ObjectVersion;
638 bool m_pluginsS3ObjectVersionHasBeenSet = false;
639
640 Aws::String m_requirementsS3Path;
641 bool m_requirementsS3PathHasBeenSet = false;
642
643 Aws::String m_requirementsS3ObjectVersion;
644 bool m_requirementsS3ObjectVersionHasBeenSet = false;
645
646 Aws::String m_startupScriptS3Path;
647 bool m_startupScriptS3PathHasBeenSet = false;
648
649 Aws::String m_startupScriptS3ObjectVersion;
650 bool m_startupScriptS3ObjectVersionHasBeenSet = false;
651
652 Aws::Map<Aws::String, Aws::String> m_airflowConfigurationOptions;
653 bool m_airflowConfigurationOptionsHasBeenSet = false;
654
655 Aws::String m_environmentClass;
656 bool m_environmentClassHasBeenSet = false;
657
658 int m_maxWorkers{0};
659 bool m_maxWorkersHasBeenSet = false;
660
661 NetworkConfiguration m_networkConfiguration;
662 bool m_networkConfigurationHasBeenSet = false;
663
664 LoggingConfiguration m_loggingConfiguration;
665 bool m_loggingConfigurationHasBeenSet = false;
666
667 LastUpdate m_lastUpdate;
668 bool m_lastUpdateHasBeenSet = false;
669
670 Aws::String m_weeklyMaintenanceWindowStart;
671 bool m_weeklyMaintenanceWindowStartHasBeenSet = false;
672
674 bool m_tagsHasBeenSet = false;
675
677 bool m_webserverAccessModeHasBeenSet = false;
678
679 int m_minWorkers{0};
680 bool m_minWorkersHasBeenSet = false;
681
682 int m_schedulers{0};
683 bool m_schedulersHasBeenSet = false;
684
685 Aws::String m_webserverVpcEndpointService;
686 bool m_webserverVpcEndpointServiceHasBeenSet = false;
687
688 Aws::String m_databaseVpcEndpointService;
689 bool m_databaseVpcEndpointServiceHasBeenSet = false;
690
691 Aws::String m_celeryExecutorQueue;
692 bool m_celeryExecutorQueueHasBeenSet = false;
693
695 bool m_endpointManagementHasBeenSet = false;
696
697 int m_minWebservers{0};
698 bool m_minWebserversHasBeenSet = false;
699
700 int m_maxWebservers{0};
701 bool m_maxWebserversHasBeenSet = false;
702 };
703
704} // namespace Model
705} // namespace MWAA
706} // namespace Aws
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)
Environment & WithWebserverUrl(WebserverUrlT &&value)
bool NetworkConfigurationHasBeenSet() const
const Aws::String & GetCeleryExecutorQueue() const
void SetLastUpdate(LastUpdateT &&value)
Environment & WithPluginsS3Path(PluginsS3PathT &&value)
void SetWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT &&value)
bool WebserverVpcEndpointServiceHasBeenSet() const
Environment & WithAirflowVersion(AirflowVersionT &&value)
Environment & WithWebserverVpcEndpointService(WebserverVpcEndpointServiceT &&value)
void SetServiceRoleArn(ServiceRoleArnT &&value)
Environment & WithEndpointManagement(EndpointManagement value)
void SetKmsKey(KmsKeyT &&value)
Environment & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetAirflowVersion() const
void SetStatus(EnvironmentStatus value)
Environment & WithDagS3Path(DagS3PathT &&value)
Environment & WithNetworkConfiguration(NetworkConfigurationT &&value)
bool AirflowConfigurationOptionsHasBeenSet() const
Environment & WithStartupScriptS3ObjectVersion(StartupScriptS3ObjectVersionT &&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
void SetEnvironmentClass(EnvironmentClassT &&value)
Environment & WithMaxWorkers(int value)
Environment & WithStatus(EnvironmentStatus value)
bool ServiceRoleArnHasBeenSet() const
bool EndpointManagementHasBeenSet() const
Environment & WithMinWebservers(int value)
Environment & WithMaxWebservers(int value)
bool WeeklyMaintenanceWindowStartHasBeenSet() 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 CeleryExecutorQueueHasBeenSet() const
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)
const Aws::String & GetWebserverVpcEndpointService() const
const Aws::String & GetName() const
Definition Environment.h:54
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
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)
Definition Environment.h:57
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
Environment & WithDatabaseVpcEndpointService(DatabaseVpcEndpointServiceT &&value)
bool StartupScriptS3PathHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetWebserverUrl() const
bool EnvironmentClassHasBeenSet() const
const Aws::String & GetWeeklyMaintenanceWindowStart() const
void SetPluginsS3ObjectVersion(PluginsS3ObjectVersionT &&value)
EndpointManagement GetEndpointManagement() const
Environment & WithMinWorkers(int value)
const Aws::String & GetStartupScriptS3ObjectVersion() const
Environment & WithRequirementsS3ObjectVersion(RequirementsS3ObjectVersionT &&value)
void SetWebserverUrl(WebserverUrlT &&value)
AWS_MWAA_API Environment & operator=(Aws::Utils::Json::JsonView jsonValue)
const LastUpdate & GetLastUpdate() const
Environment & WithCeleryExecutorQueue(CeleryExecutorQueueT &&value)
void SetDagS3Path(DagS3PathT &&value)
const Aws::String & GetRequirementsS3ObjectVersion() const
AWS_MWAA_API Environment(Aws::Utils::Json::JsonView jsonValue)
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
bool SourceBucketArnHasBeenSet() const
bool ExecutionRoleArnHasBeenSet() const
void SetWebserverAccessMode(WebserverAccessMode value)
Environment & WithName(NameT &&value)
Definition Environment.h:59
Environment & WithServiceRoleArn(ServiceRoleArnT &&value)
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