AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
Environment.h
1
6#pragma once
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>
19
20#include <utility>
21
22namespace Aws {
23namespace Utils {
24namespace Json {
25class JsonValue;
26class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace MWAA {
30namespace Model {
31
39 public:
40 AWS_MWAA_API Environment() = default;
41 AWS_MWAA_API Environment(Aws::Utils::Json::JsonView jsonValue);
44
46
50 inline const Aws::String& GetName() const { return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 template <typename NameT = Aws::String>
53 void SetName(NameT&& value) {
54 m_nameHasBeenSet = true;
55 m_name = std::forward<NameT>(value);
56 }
57 template <typename NameT = Aws::String>
58 Environment& WithName(NameT&& value) {
59 SetName(std::forward<NameT>(value));
60 return *this;
61 }
63
65
103 inline EnvironmentStatus GetStatus() const { return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(EnvironmentStatus value) {
106 m_statusHasBeenSet = true;
107 m_status = value;
108 }
110 SetStatus(value);
111 return *this;
112 }
114
116
119 inline const Aws::String& GetArn() const { return m_arn; }
120 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
121 template <typename ArnT = Aws::String>
122 void SetArn(ArnT&& value) {
123 m_arnHasBeenSet = true;
124 m_arn = std::forward<ArnT>(value);
125 }
126 template <typename ArnT = Aws::String>
127 Environment& WithArn(ArnT&& value) {
128 SetArn(std::forward<ArnT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
138 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
139 template <typename CreatedAtT = Aws::Utils::DateTime>
140 void SetCreatedAt(CreatedAtT&& value) {
141 m_createdAtHasBeenSet = true;
142 m_createdAt = std::forward<CreatedAtT>(value);
143 }
144 template <typename CreatedAtT = Aws::Utils::DateTime>
145 Environment& WithCreatedAt(CreatedAtT&& value) {
146 SetCreatedAt(std::forward<CreatedAtT>(value));
147 return *this;
148 }
150
152
158 inline const Aws::String& GetWebserverUrl() const { return m_webserverUrl; }
159 inline bool WebserverUrlHasBeenSet() const { return m_webserverUrlHasBeenSet; }
160 template <typename WebserverUrlT = Aws::String>
161 void SetWebserverUrl(WebserverUrlT&& value) {
162 m_webserverUrlHasBeenSet = true;
163 m_webserverUrl = std::forward<WebserverUrlT>(value);
164 }
165 template <typename WebserverUrlT = Aws::String>
166 Environment& WithWebserverUrl(WebserverUrlT&& value) {
167 SetWebserverUrl(std::forward<WebserverUrlT>(value));
168 return *this;
169 }
171
173
181 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
182 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
183 template <typename ExecutionRoleArnT = Aws::String>
184 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
185 m_executionRoleArnHasBeenSet = true;
186 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
187 }
188 template <typename ExecutionRoleArnT = Aws::String>
189 Environment& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
190 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
191 return *this;
192 }
194
196
202 inline const Aws::String& GetServiceRoleArn() const { return m_serviceRoleArn; }
203 inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; }
204 template <typename ServiceRoleArnT = Aws::String>
205 void SetServiceRoleArn(ServiceRoleArnT&& value) {
206 m_serviceRoleArnHasBeenSet = true;
207 m_serviceRoleArn = std::forward<ServiceRoleArnT>(value);
208 }
209 template <typename ServiceRoleArnT = Aws::String>
210 Environment& WithServiceRoleArn(ServiceRoleArnT&& value) {
211 SetServiceRoleArn(std::forward<ServiceRoleArnT>(value));
212 return *this;
213 }
215
217
220 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
221 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
222 template <typename KmsKeyT = Aws::String>
223 void SetKmsKey(KmsKeyT&& value) {
224 m_kmsKeyHasBeenSet = true;
225 m_kmsKey = std::forward<KmsKeyT>(value);
226 }
227 template <typename KmsKeyT = Aws::String>
228 Environment& WithKmsKey(KmsKeyT&& value) {
229 SetKmsKey(std::forward<KmsKeyT>(value));
230 return *this;
231 }
233
235
240 inline const Aws::String& GetAirflowVersion() const { return m_airflowVersion; }
241 inline bool AirflowVersionHasBeenSet() const { return m_airflowVersionHasBeenSet; }
242 template <typename AirflowVersionT = Aws::String>
243 void SetAirflowVersion(AirflowVersionT&& value) {
244 m_airflowVersionHasBeenSet = true;
245 m_airflowVersion = std::forward<AirflowVersionT>(value);
246 }
247 template <typename AirflowVersionT = Aws::String>
248 Environment& WithAirflowVersion(AirflowVersionT&& value) {
249 SetAirflowVersion(std::forward<AirflowVersionT>(value));
250 return *this;
251 }
253
255
263 inline const Aws::String& GetSourceBucketArn() const { return m_sourceBucketArn; }
264 inline bool SourceBucketArnHasBeenSet() const { return m_sourceBucketArnHasBeenSet; }
265 template <typename SourceBucketArnT = Aws::String>
266 void SetSourceBucketArn(SourceBucketArnT&& value) {
267 m_sourceBucketArnHasBeenSet = true;
268 m_sourceBucketArn = std::forward<SourceBucketArnT>(value);
269 }
270 template <typename SourceBucketArnT = Aws::String>
271 Environment& WithSourceBucketArn(SourceBucketArnT&& value) {
272 SetSourceBucketArn(std::forward<SourceBucketArnT>(value));
273 return *this;
274 }
276
278
284 inline const Aws::String& GetDagS3Path() const { return m_dagS3Path; }
285 inline bool DagS3PathHasBeenSet() const { return m_dagS3PathHasBeenSet; }
286 template <typename DagS3PathT = Aws::String>
287 void SetDagS3Path(DagS3PathT&& value) {
288 m_dagS3PathHasBeenSet = true;
289 m_dagS3Path = std::forward<DagS3PathT>(value);
290 }
291 template <typename DagS3PathT = Aws::String>
292 Environment& WithDagS3Path(DagS3PathT&& value) {
293 SetDagS3Path(std::forward<DagS3PathT>(value));
294 return *this;
295 }
297
299
306 inline const Aws::String& GetPluginsS3Path() const { return m_pluginsS3Path; }
307 inline bool PluginsS3PathHasBeenSet() const { return m_pluginsS3PathHasBeenSet; }
308 template <typename PluginsS3PathT = Aws::String>
309 void SetPluginsS3Path(PluginsS3PathT&& value) {
310 m_pluginsS3PathHasBeenSet = true;
311 m_pluginsS3Path = std::forward<PluginsS3PathT>(value);
312 }
313 template <typename PluginsS3PathT = Aws::String>
314 Environment& WithPluginsS3Path(PluginsS3PathT&& value) {
315 SetPluginsS3Path(std::forward<PluginsS3PathT>(value));
316 return *this;
317 }
319
321
333 inline const Aws::String& GetPluginsS3ObjectVersion() const { return m_pluginsS3ObjectVersion; }
334 inline bool PluginsS3ObjectVersionHasBeenSet() const { return m_pluginsS3ObjectVersionHasBeenSet; }
335 template <typename PluginsS3ObjectVersionT = Aws::String>
336 void SetPluginsS3ObjectVersion(PluginsS3ObjectVersionT&& value) {
337 m_pluginsS3ObjectVersionHasBeenSet = true;
338 m_pluginsS3ObjectVersion = std::forward<PluginsS3ObjectVersionT>(value);
339 }
340 template <typename PluginsS3ObjectVersionT = Aws::String>
341 Environment& WithPluginsS3ObjectVersion(PluginsS3ObjectVersionT&& value) {
342 SetPluginsS3ObjectVersion(std::forward<PluginsS3ObjectVersionT>(value));
343 return *this;
344 }
346
348
355 inline const Aws::String& GetRequirementsS3Path() const { return m_requirementsS3Path; }
356 inline bool RequirementsS3PathHasBeenSet() const { return m_requirementsS3PathHasBeenSet; }
357 template <typename RequirementsS3PathT = Aws::String>
358 void SetRequirementsS3Path(RequirementsS3PathT&& value) {
359 m_requirementsS3PathHasBeenSet = true;
360 m_requirementsS3Path = std::forward<RequirementsS3PathT>(value);
361 }
362 template <typename RequirementsS3PathT = Aws::String>
363 Environment& WithRequirementsS3Path(RequirementsS3PathT&& value) {
364 SetRequirementsS3Path(std::forward<RequirementsS3PathT>(value));
365 return *this;
366 }
368
370
382 inline const Aws::String& GetRequirementsS3ObjectVersion() const { return m_requirementsS3ObjectVersion; }
383 inline bool RequirementsS3ObjectVersionHasBeenSet() const { return m_requirementsS3ObjectVersionHasBeenSet; }
384 template <typename RequirementsS3ObjectVersionT = Aws::String>
385 void SetRequirementsS3ObjectVersion(RequirementsS3ObjectVersionT&& value) {
386 m_requirementsS3ObjectVersionHasBeenSet = true;
387 m_requirementsS3ObjectVersion = std::forward<RequirementsS3ObjectVersionT>(value);
388 }
389 template <typename RequirementsS3ObjectVersionT = Aws::String>
390 Environment& WithRequirementsS3ObjectVersion(RequirementsS3ObjectVersionT&& value) {
391 SetRequirementsS3ObjectVersion(std::forward<RequirementsS3ObjectVersionT>(value));
392 return *this;
393 }
395
397
407 inline const Aws::String& GetStartupScriptS3Path() const { return m_startupScriptS3Path; }
408 inline bool StartupScriptS3PathHasBeenSet() const { return m_startupScriptS3PathHasBeenSet; }
409 template <typename StartupScriptS3PathT = Aws::String>
410 void SetStartupScriptS3Path(StartupScriptS3PathT&& value) {
411 m_startupScriptS3PathHasBeenSet = true;
412 m_startupScriptS3Path = std::forward<StartupScriptS3PathT>(value);
413 }
414 template <typename StartupScriptS3PathT = Aws::String>
415 Environment& WithStartupScriptS3Path(StartupScriptS3PathT&& value) {
416 SetStartupScriptS3Path(std::forward<StartupScriptS3PathT>(value));
417 return *this;
418 }
420
422
434 inline const Aws::String& GetStartupScriptS3ObjectVersion() const { return m_startupScriptS3ObjectVersion; }
435 inline bool StartupScriptS3ObjectVersionHasBeenSet() const { return m_startupScriptS3ObjectVersionHasBeenSet; }
436 template <typename StartupScriptS3ObjectVersionT = Aws::String>
437 void SetStartupScriptS3ObjectVersion(StartupScriptS3ObjectVersionT&& value) {
438 m_startupScriptS3ObjectVersionHasBeenSet = true;
439 m_startupScriptS3ObjectVersion = std::forward<StartupScriptS3ObjectVersionT>(value);
440 }
441 template <typename StartupScriptS3ObjectVersionT = Aws::String>
442 Environment& WithStartupScriptS3ObjectVersion(StartupScriptS3ObjectVersionT&& value) {
443 SetStartupScriptS3ObjectVersion(std::forward<StartupScriptS3ObjectVersionT>(value));
444 return *this;
445 }
447
449
455 inline const Aws::Map<Aws::String, Aws::String>& GetAirflowConfigurationOptions() const { return m_airflowConfigurationOptions; }
456 inline bool AirflowConfigurationOptionsHasBeenSet() const { return m_airflowConfigurationOptionsHasBeenSet; }
457 template <typename AirflowConfigurationOptionsT = Aws::Map<Aws::String, Aws::String>>
458 void SetAirflowConfigurationOptions(AirflowConfigurationOptionsT&& value) {
459 m_airflowConfigurationOptionsHasBeenSet = true;
460 m_airflowConfigurationOptions = std::forward<AirflowConfigurationOptionsT>(value);
461 }
462 template <typename AirflowConfigurationOptionsT = Aws::Map<Aws::String, Aws::String>>
463 Environment& WithAirflowConfigurationOptions(AirflowConfigurationOptionsT&& value) {
464 SetAirflowConfigurationOptions(std::forward<AirflowConfigurationOptionsT>(value));
465 return *this;
466 }
467 template <typename AirflowConfigurationOptionsKeyT = Aws::String, typename AirflowConfigurationOptionsValueT = Aws::String>
468 Environment& AddAirflowConfigurationOptions(AirflowConfigurationOptionsKeyT&& key, AirflowConfigurationOptionsValueT&& value) {
469 m_airflowConfigurationOptionsHasBeenSet = true;
470 m_airflowConfigurationOptions.emplace(std::forward<AirflowConfigurationOptionsKeyT>(key),
471 std::forward<AirflowConfigurationOptionsValueT>(value));
472 return *this;
473 }
475
477
485 inline const Aws::String& GetEnvironmentClass() const { return m_environmentClass; }
486 inline bool EnvironmentClassHasBeenSet() const { return m_environmentClassHasBeenSet; }
487 template <typename EnvironmentClassT = Aws::String>
488 void SetEnvironmentClass(EnvironmentClassT&& value) {
489 m_environmentClassHasBeenSet = true;
490 m_environmentClass = std::forward<EnvironmentClassT>(value);
491 }
492 template <typename EnvironmentClassT = Aws::String>
493 Environment& WithEnvironmentClass(EnvironmentClassT&& value) {
494 SetEnvironmentClass(std::forward<EnvironmentClassT>(value));
495 return *this;
496 }
498
500
504 inline int GetMaxWorkers() const { return m_maxWorkers; }
505 inline bool MaxWorkersHasBeenSet() const { return m_maxWorkersHasBeenSet; }
506 inline void SetMaxWorkers(int value) {
507 m_maxWorkersHasBeenSet = true;
508 m_maxWorkers = value;
509 }
510 inline Environment& WithMaxWorkers(int value) {
511 SetMaxWorkers(value);
512 return *this;
513 }
515
517
524 inline const NetworkConfiguration& GetNetworkConfiguration() const { return m_networkConfiguration; }
525 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
526 template <typename NetworkConfigurationT = NetworkConfiguration>
527 void SetNetworkConfiguration(NetworkConfigurationT&& value) {
528 m_networkConfigurationHasBeenSet = true;
529 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
530 }
531 template <typename NetworkConfigurationT = NetworkConfiguration>
532 Environment& WithNetworkConfiguration(NetworkConfigurationT&& value) {
533 SetNetworkConfiguration(std::forward<NetworkConfigurationT>(value));
534 return *this;
535 }
537
539
542 inline const LoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
543 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
544 template <typename LoggingConfigurationT = LoggingConfiguration>
545 void SetLoggingConfiguration(LoggingConfigurationT&& value) {
546 m_loggingConfigurationHasBeenSet = true;
547 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
548 }
549 template <typename LoggingConfigurationT = LoggingConfiguration>
550 Environment& WithLoggingConfiguration(LoggingConfigurationT&& value) {
551 SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value));
552 return *this;
553 }
555
557
560 inline const LastUpdate& GetLastUpdate() const { return m_lastUpdate; }
561 inline bool LastUpdateHasBeenSet() const { return m_lastUpdateHasBeenSet; }
562 template <typename LastUpdateT = LastUpdate>
563 void SetLastUpdate(LastUpdateT&& value) {
564 m_lastUpdateHasBeenSet = true;
565 m_lastUpdate = std::forward<LastUpdateT>(value);
566 }
567 template <typename LastUpdateT = LastUpdate>
568 Environment& WithLastUpdate(LastUpdateT&& value) {
569 SetLastUpdate(std::forward<LastUpdateT>(value));
570 return *this;
571 }
573
575
580 inline const Aws::String& GetWeeklyMaintenanceWindowStart() const { return m_weeklyMaintenanceWindowStart; }
581 inline bool WeeklyMaintenanceWindowStartHasBeenSet() const { return m_weeklyMaintenanceWindowStartHasBeenSet; }
582 template <typename WeeklyMaintenanceWindowStartT = Aws::String>
583 void SetWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT&& value) {
584 m_weeklyMaintenanceWindowStartHasBeenSet = true;
585 m_weeklyMaintenanceWindowStart = std::forward<WeeklyMaintenanceWindowStartT>(value);
586 }
587 template <typename WeeklyMaintenanceWindowStartT = Aws::String>
588 Environment& WithWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT&& value) {
589 SetWeeklyMaintenanceWindowStart(std::forward<WeeklyMaintenanceWindowStartT>(value));
590 return *this;
591 }
593
595
601 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
602 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
603 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
604 void SetTags(TagsT&& value) {
605 m_tagsHasBeenSet = true;
606 m_tags = std::forward<TagsT>(value);
607 }
608 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
609 Environment& WithTags(TagsT&& value) {
610 SetTags(std::forward<TagsT>(value));
611 return *this;
612 }
613 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
614 Environment& AddTags(TagsKeyT&& key, TagsValueT&& value) {
615 m_tagsHasBeenSet = true;
616 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
617 return *this;
618 }
620
622
631 inline WebserverAccessMode GetWebserverAccessMode() const { return m_webserverAccessMode; }
632 inline bool WebserverAccessModeHasBeenSet() const { return m_webserverAccessModeHasBeenSet; }
634 m_webserverAccessModeHasBeenSet = true;
635 m_webserverAccessMode = value;
636 }
639 return *this;
640 }
642
644
648 inline int GetMinWorkers() const { return m_minWorkers; }
649 inline bool MinWorkersHasBeenSet() const { return m_minWorkersHasBeenSet; }
650 inline void SetMinWorkers(int value) {
651 m_minWorkersHasBeenSet = true;
652 m_minWorkers = value;
653 }
654 inline Environment& WithMinWorkers(int value) {
655 SetMinWorkers(value);
656 return *this;
657 }
659
661
665 inline int GetSchedulers() const { return m_schedulers; }
666 inline bool SchedulersHasBeenSet() const { return m_schedulersHasBeenSet; }
667 inline void SetSchedulers(int value) {
668 m_schedulersHasBeenSet = true;
669 m_schedulers = value;
670 }
671 inline Environment& WithSchedulers(int value) {
672 SetSchedulers(value);
673 return *this;
674 }
676
678
681 inline const Aws::String& GetWebserverVpcEndpointService() const { return m_webserverVpcEndpointService; }
682 inline bool WebserverVpcEndpointServiceHasBeenSet() const { return m_webserverVpcEndpointServiceHasBeenSet; }
683 template <typename WebserverVpcEndpointServiceT = Aws::String>
684 void SetWebserverVpcEndpointService(WebserverVpcEndpointServiceT&& value) {
685 m_webserverVpcEndpointServiceHasBeenSet = true;
686 m_webserverVpcEndpointService = std::forward<WebserverVpcEndpointServiceT>(value);
687 }
688 template <typename WebserverVpcEndpointServiceT = Aws::String>
689 Environment& WithWebserverVpcEndpointService(WebserverVpcEndpointServiceT&& value) {
690 SetWebserverVpcEndpointService(std::forward<WebserverVpcEndpointServiceT>(value));
691 return *this;
692 }
694
696
699 inline const Aws::String& GetDatabaseVpcEndpointService() const { return m_databaseVpcEndpointService; }
700 inline bool DatabaseVpcEndpointServiceHasBeenSet() const { return m_databaseVpcEndpointServiceHasBeenSet; }
701 template <typename DatabaseVpcEndpointServiceT = Aws::String>
702 void SetDatabaseVpcEndpointService(DatabaseVpcEndpointServiceT&& value) {
703 m_databaseVpcEndpointServiceHasBeenSet = true;
704 m_databaseVpcEndpointService = std::forward<DatabaseVpcEndpointServiceT>(value);
705 }
706 template <typename DatabaseVpcEndpointServiceT = Aws::String>
707 Environment& WithDatabaseVpcEndpointService(DatabaseVpcEndpointServiceT&& value) {
708 SetDatabaseVpcEndpointService(std::forward<DatabaseVpcEndpointServiceT>(value));
709 return *this;
710 }
712
714
721 inline const Aws::String& GetCeleryExecutorQueue() const { return m_celeryExecutorQueue; }
722 inline bool CeleryExecutorQueueHasBeenSet() const { return m_celeryExecutorQueueHasBeenSet; }
723 template <typename CeleryExecutorQueueT = Aws::String>
724 void SetCeleryExecutorQueue(CeleryExecutorQueueT&& value) {
725 m_celeryExecutorQueueHasBeenSet = true;
726 m_celeryExecutorQueue = std::forward<CeleryExecutorQueueT>(value);
727 }
728 template <typename CeleryExecutorQueueT = Aws::String>
729 Environment& WithCeleryExecutorQueue(CeleryExecutorQueueT&& value) {
730 SetCeleryExecutorQueue(std::forward<CeleryExecutorQueueT>(value));
731 return *this;
732 }
734
736
743 inline EndpointManagement GetEndpointManagement() const { return m_endpointManagement; }
744 inline bool EndpointManagementHasBeenSet() const { return m_endpointManagementHasBeenSet; }
746 m_endpointManagementHasBeenSet = true;
747 m_endpointManagement = value;
748 }
751 return *this;
752 }
754
756
768 inline int GetMinWebservers() const { return m_minWebservers; }
769 inline bool MinWebserversHasBeenSet() const { return m_minWebserversHasBeenSet; }
770 inline void SetMinWebservers(int value) {
771 m_minWebserversHasBeenSet = true;
772 m_minWebservers = value;
773 }
774 inline Environment& WithMinWebservers(int value) {
775 SetMinWebservers(value);
776 return *this;
777 }
779
781
796 inline int GetMaxWebservers() const { return m_maxWebservers; }
797 inline bool MaxWebserversHasBeenSet() const { return m_maxWebserversHasBeenSet; }
798 inline void SetMaxWebservers(int value) {
799 m_maxWebserversHasBeenSet = true;
800 m_maxWebservers = value;
801 }
802 inline Environment& WithMaxWebservers(int value) {
803 SetMaxWebservers(value);
804 return *this;
805 }
807
809
813 inline const IdentityCenterConfiguration& GetIdentityCenterConfiguration() const { return m_identityCenterConfiguration; }
814 inline bool IdentityCenterConfigurationHasBeenSet() const { return m_identityCenterConfigurationHasBeenSet; }
815 template <typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
816 void SetIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) {
817 m_identityCenterConfigurationHasBeenSet = true;
818 m_identityCenterConfiguration = std::forward<IdentityCenterConfigurationT>(value);
819 }
820 template <typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
821 Environment& WithIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) {
822 SetIdentityCenterConfiguration(std::forward<IdentityCenterConfigurationT>(value));
823 return *this;
824 }
826
828
837 inline const Aws::Map<Aws::String, TeamConfig>& GetTeams() const { return m_teams; }
838 inline bool TeamsHasBeenSet() const { return m_teamsHasBeenSet; }
839 template <typename TeamsT = Aws::Map<Aws::String, TeamConfig>>
840 void SetTeams(TeamsT&& value) {
841 m_teamsHasBeenSet = true;
842 m_teams = std::forward<TeamsT>(value);
843 }
844 template <typename TeamsT = Aws::Map<Aws::String, TeamConfig>>
845 Environment& WithTeams(TeamsT&& value) {
846 SetTeams(std::forward<TeamsT>(value));
847 return *this;
848 }
849 template <typename TeamsKeyT = Aws::String, typename TeamsValueT = TeamConfig>
850 Environment& AddTeams(TeamsKeyT&& key, TeamsValueT&& value) {
851 m_teamsHasBeenSet = true;
852 m_teams.emplace(std::forward<TeamsKeyT>(key), std::forward<TeamsValueT>(value));
853 return *this;
854 }
856 private:
857 Aws::String m_name;
858
860
861 Aws::String m_arn;
862
863 Aws::Utils::DateTime m_createdAt{};
864
865 Aws::String m_webserverUrl;
866
867 Aws::String m_executionRoleArn;
868
869 Aws::String m_serviceRoleArn;
870
871 Aws::String m_kmsKey;
872
873 Aws::String m_airflowVersion;
874
875 Aws::String m_sourceBucketArn;
876
877 Aws::String m_dagS3Path;
878
879 Aws::String m_pluginsS3Path;
880
881 Aws::String m_pluginsS3ObjectVersion;
882
883 Aws::String m_requirementsS3Path;
884
885 Aws::String m_requirementsS3ObjectVersion;
886
887 Aws::String m_startupScriptS3Path;
888
889 Aws::String m_startupScriptS3ObjectVersion;
890
891 Aws::Map<Aws::String, Aws::String> m_airflowConfigurationOptions;
892
893 Aws::String m_environmentClass;
894
895 int m_maxWorkers{0};
896
897 NetworkConfiguration m_networkConfiguration;
898
899 LoggingConfiguration m_loggingConfiguration;
900
901 LastUpdate m_lastUpdate;
902
903 Aws::String m_weeklyMaintenanceWindowStart;
904
906
908
909 int m_minWorkers{0};
910
911 int m_schedulers{0};
912
913 Aws::String m_webserverVpcEndpointService;
914
915 Aws::String m_databaseVpcEndpointService;
916
917 Aws::String m_celeryExecutorQueue;
918
920
921 int m_minWebservers{0};
922
923 int m_maxWebservers{0};
924
925 IdentityCenterConfiguration m_identityCenterConfiguration;
926
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;
964};
965
966} // namespace Model
967} // namespace MWAA
968} // 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)
void SetTeams(TeamsT &&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)
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 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
const IdentityCenterConfiguration & GetIdentityCenterConfiguration() 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:50
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:53
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)
bool IdentityCenterConfigurationHasBeenSet() const
Environment & WithIdentityCenterConfiguration(IdentityCenterConfigurationT &&value)
void SetDagS3Path(DagS3PathT &&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
bool SourceBucketArnHasBeenSet() const
bool ExecutionRoleArnHasBeenSet() const
void SetWebserverAccessMode(WebserverAccessMode value)
Environment & WithName(NameT &&value)
Definition Environment.h:58
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