AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 inline Environment& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline Environment& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline Environment& WithName(const char* value) { SetName(value); return *this;}
63
65
102 inline const EnvironmentStatus& GetStatus() const{ return m_status; }
103 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
104 inline void SetStatus(const EnvironmentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
105 inline void SetStatus(EnvironmentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
106 inline Environment& WithStatus(const EnvironmentStatus& value) { SetStatus(value); return *this;}
107 inline Environment& WithStatus(EnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetArn() const{ return m_arn; }
115 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
116 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
117 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
118 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
119 inline Environment& WithArn(const Aws::String& value) { SetArn(value); return *this;}
120 inline Environment& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
121 inline Environment& WithArn(const char* value) { SetArn(value); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
129 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
130 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
131 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
132 inline Environment& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
133 inline Environment& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
135
137
143 inline const Aws::String& GetWebserverUrl() const{ return m_webserverUrl; }
144 inline bool WebserverUrlHasBeenSet() const { return m_webserverUrlHasBeenSet; }
145 inline void SetWebserverUrl(const Aws::String& value) { m_webserverUrlHasBeenSet = true; m_webserverUrl = value; }
146 inline void SetWebserverUrl(Aws::String&& value) { m_webserverUrlHasBeenSet = true; m_webserverUrl = std::move(value); }
147 inline void SetWebserverUrl(const char* value) { m_webserverUrlHasBeenSet = true; m_webserverUrl.assign(value); }
148 inline Environment& WithWebserverUrl(const Aws::String& value) { SetWebserverUrl(value); return *this;}
149 inline Environment& WithWebserverUrl(Aws::String&& value) { SetWebserverUrl(std::move(value)); return *this;}
150 inline Environment& WithWebserverUrl(const char* value) { SetWebserverUrl(value); return *this;}
152
154
162 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
163 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
164 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
165 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
166 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
167 inline Environment& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
168 inline Environment& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
169 inline Environment& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
171
173
179 inline const Aws::String& GetServiceRoleArn() const{ return m_serviceRoleArn; }
180 inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; }
181 inline void SetServiceRoleArn(const Aws::String& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = value; }
182 inline void SetServiceRoleArn(Aws::String&& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = std::move(value); }
183 inline void SetServiceRoleArn(const char* value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn.assign(value); }
184 inline Environment& WithServiceRoleArn(const Aws::String& value) { SetServiceRoleArn(value); return *this;}
185 inline Environment& WithServiceRoleArn(Aws::String&& value) { SetServiceRoleArn(std::move(value)); return *this;}
186 inline Environment& WithServiceRoleArn(const char* value) { SetServiceRoleArn(value); return *this;}
188
190
193 inline const Aws::String& GetKmsKey() const{ return m_kmsKey; }
194 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
195 inline void SetKmsKey(const Aws::String& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = value; }
196 inline void SetKmsKey(Aws::String&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::move(value); }
197 inline void SetKmsKey(const char* value) { m_kmsKeyHasBeenSet = true; m_kmsKey.assign(value); }
198 inline Environment& WithKmsKey(const Aws::String& value) { SetKmsKey(value); return *this;}
199 inline Environment& WithKmsKey(Aws::String&& value) { SetKmsKey(std::move(value)); return *this;}
200 inline Environment& WithKmsKey(const char* value) { SetKmsKey(value); return *this;}
202
204
210 inline const Aws::String& GetAirflowVersion() const{ return m_airflowVersion; }
211 inline bool AirflowVersionHasBeenSet() const { return m_airflowVersionHasBeenSet; }
212 inline void SetAirflowVersion(const Aws::String& value) { m_airflowVersionHasBeenSet = true; m_airflowVersion = value; }
213 inline void SetAirflowVersion(Aws::String&& value) { m_airflowVersionHasBeenSet = true; m_airflowVersion = std::move(value); }
214 inline void SetAirflowVersion(const char* value) { m_airflowVersionHasBeenSet = true; m_airflowVersion.assign(value); }
215 inline Environment& WithAirflowVersion(const Aws::String& value) { SetAirflowVersion(value); return *this;}
216 inline Environment& WithAirflowVersion(Aws::String&& value) { SetAirflowVersion(std::move(value)); return *this;}
217 inline Environment& WithAirflowVersion(const char* value) { SetAirflowVersion(value); return *this;}
219
221
229 inline const Aws::String& GetSourceBucketArn() const{ return m_sourceBucketArn; }
230 inline bool SourceBucketArnHasBeenSet() const { return m_sourceBucketArnHasBeenSet; }
231 inline void SetSourceBucketArn(const Aws::String& value) { m_sourceBucketArnHasBeenSet = true; m_sourceBucketArn = value; }
232 inline void SetSourceBucketArn(Aws::String&& value) { m_sourceBucketArnHasBeenSet = true; m_sourceBucketArn = std::move(value); }
233 inline void SetSourceBucketArn(const char* value) { m_sourceBucketArnHasBeenSet = true; m_sourceBucketArn.assign(value); }
234 inline Environment& WithSourceBucketArn(const Aws::String& value) { SetSourceBucketArn(value); return *this;}
235 inline Environment& WithSourceBucketArn(Aws::String&& value) { SetSourceBucketArn(std::move(value)); return *this;}
236 inline Environment& WithSourceBucketArn(const char* value) { SetSourceBucketArn(value); return *this;}
238
240
246 inline const Aws::String& GetDagS3Path() const{ return m_dagS3Path; }
247 inline bool DagS3PathHasBeenSet() const { return m_dagS3PathHasBeenSet; }
248 inline void SetDagS3Path(const Aws::String& value) { m_dagS3PathHasBeenSet = true; m_dagS3Path = value; }
249 inline void SetDagS3Path(Aws::String&& value) { m_dagS3PathHasBeenSet = true; m_dagS3Path = std::move(value); }
250 inline void SetDagS3Path(const char* value) { m_dagS3PathHasBeenSet = true; m_dagS3Path.assign(value); }
251 inline Environment& WithDagS3Path(const Aws::String& value) { SetDagS3Path(value); return *this;}
252 inline Environment& WithDagS3Path(Aws::String&& value) { SetDagS3Path(std::move(value)); return *this;}
253 inline Environment& WithDagS3Path(const char* value) { SetDagS3Path(value); return *this;}
255
257
263 inline const Aws::String& GetPluginsS3Path() const{ return m_pluginsS3Path; }
264 inline bool PluginsS3PathHasBeenSet() const { return m_pluginsS3PathHasBeenSet; }
265 inline void SetPluginsS3Path(const Aws::String& value) { m_pluginsS3PathHasBeenSet = true; m_pluginsS3Path = value; }
266 inline void SetPluginsS3Path(Aws::String&& value) { m_pluginsS3PathHasBeenSet = true; m_pluginsS3Path = std::move(value); }
267 inline void SetPluginsS3Path(const char* value) { m_pluginsS3PathHasBeenSet = true; m_pluginsS3Path.assign(value); }
268 inline Environment& WithPluginsS3Path(const Aws::String& value) { SetPluginsS3Path(value); return *this;}
269 inline Environment& WithPluginsS3Path(Aws::String&& value) { SetPluginsS3Path(std::move(value)); return *this;}
270 inline Environment& WithPluginsS3Path(const char* value) { SetPluginsS3Path(value); return *this;}
272
274
286 inline const Aws::String& GetPluginsS3ObjectVersion() const{ return m_pluginsS3ObjectVersion; }
287 inline bool PluginsS3ObjectVersionHasBeenSet() const { return m_pluginsS3ObjectVersionHasBeenSet; }
288 inline void SetPluginsS3ObjectVersion(const Aws::String& value) { m_pluginsS3ObjectVersionHasBeenSet = true; m_pluginsS3ObjectVersion = value; }
289 inline void SetPluginsS3ObjectVersion(Aws::String&& value) { m_pluginsS3ObjectVersionHasBeenSet = true; m_pluginsS3ObjectVersion = std::move(value); }
290 inline void SetPluginsS3ObjectVersion(const char* value) { m_pluginsS3ObjectVersionHasBeenSet = true; m_pluginsS3ObjectVersion.assign(value); }
292 inline Environment& WithPluginsS3ObjectVersion(Aws::String&& value) { SetPluginsS3ObjectVersion(std::move(value)); return *this;}
293 inline Environment& WithPluginsS3ObjectVersion(const char* value) { SetPluginsS3ObjectVersion(value); return *this;}
295
297
304 inline const Aws::String& GetRequirementsS3Path() const{ return m_requirementsS3Path; }
305 inline bool RequirementsS3PathHasBeenSet() const { return m_requirementsS3PathHasBeenSet; }
306 inline void SetRequirementsS3Path(const Aws::String& value) { m_requirementsS3PathHasBeenSet = true; m_requirementsS3Path = value; }
307 inline void SetRequirementsS3Path(Aws::String&& value) { m_requirementsS3PathHasBeenSet = true; m_requirementsS3Path = std::move(value); }
308 inline void SetRequirementsS3Path(const char* value) { m_requirementsS3PathHasBeenSet = true; m_requirementsS3Path.assign(value); }
309 inline Environment& WithRequirementsS3Path(const Aws::String& value) { SetRequirementsS3Path(value); return *this;}
310 inline Environment& WithRequirementsS3Path(Aws::String&& value) { SetRequirementsS3Path(std::move(value)); return *this;}
311 inline Environment& WithRequirementsS3Path(const char* value) { SetRequirementsS3Path(value); return *this;}
313
315
327 inline const Aws::String& GetRequirementsS3ObjectVersion() const{ return m_requirementsS3ObjectVersion; }
328 inline bool RequirementsS3ObjectVersionHasBeenSet() const { return m_requirementsS3ObjectVersionHasBeenSet; }
329 inline void SetRequirementsS3ObjectVersion(const Aws::String& value) { m_requirementsS3ObjectVersionHasBeenSet = true; m_requirementsS3ObjectVersion = value; }
330 inline void SetRequirementsS3ObjectVersion(Aws::String&& value) { m_requirementsS3ObjectVersionHasBeenSet = true; m_requirementsS3ObjectVersion = std::move(value); }
331 inline void SetRequirementsS3ObjectVersion(const char* value) { m_requirementsS3ObjectVersionHasBeenSet = true; m_requirementsS3ObjectVersion.assign(value); }
334 inline Environment& WithRequirementsS3ObjectVersion(const char* value) { SetRequirementsS3ObjectVersion(value); return *this;}
336
338
348 inline const Aws::String& GetStartupScriptS3Path() const{ return m_startupScriptS3Path; }
349 inline bool StartupScriptS3PathHasBeenSet() const { return m_startupScriptS3PathHasBeenSet; }
350 inline void SetStartupScriptS3Path(const Aws::String& value) { m_startupScriptS3PathHasBeenSet = true; m_startupScriptS3Path = value; }
351 inline void SetStartupScriptS3Path(Aws::String&& value) { m_startupScriptS3PathHasBeenSet = true; m_startupScriptS3Path = std::move(value); }
352 inline void SetStartupScriptS3Path(const char* value) { m_startupScriptS3PathHasBeenSet = true; m_startupScriptS3Path.assign(value); }
353 inline Environment& WithStartupScriptS3Path(const Aws::String& value) { SetStartupScriptS3Path(value); return *this;}
354 inline Environment& WithStartupScriptS3Path(Aws::String&& value) { SetStartupScriptS3Path(std::move(value)); return *this;}
355 inline Environment& WithStartupScriptS3Path(const char* value) { SetStartupScriptS3Path(value); return *this;}
357
359
371 inline const Aws::String& GetStartupScriptS3ObjectVersion() const{ return m_startupScriptS3ObjectVersion; }
372 inline bool StartupScriptS3ObjectVersionHasBeenSet() const { return m_startupScriptS3ObjectVersionHasBeenSet; }
373 inline void SetStartupScriptS3ObjectVersion(const Aws::String& value) { m_startupScriptS3ObjectVersionHasBeenSet = true; m_startupScriptS3ObjectVersion = value; }
374 inline void SetStartupScriptS3ObjectVersion(Aws::String&& value) { m_startupScriptS3ObjectVersionHasBeenSet = true; m_startupScriptS3ObjectVersion = std::move(value); }
375 inline void SetStartupScriptS3ObjectVersion(const char* value) { m_startupScriptS3ObjectVersionHasBeenSet = true; m_startupScriptS3ObjectVersion.assign(value); }
378 inline Environment& WithStartupScriptS3ObjectVersion(const char* value) { SetStartupScriptS3ObjectVersion(value); return *this;}
380
382
388 inline const Aws::Map<Aws::String, Aws::String>& GetAirflowConfigurationOptions() const{ return m_airflowConfigurationOptions; }
389 inline bool AirflowConfigurationOptionsHasBeenSet() const { return m_airflowConfigurationOptionsHasBeenSet; }
390 inline void SetAirflowConfigurationOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions = value; }
391 inline void SetAirflowConfigurationOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions = std::move(value); }
394 inline Environment& AddAirflowConfigurationOptions(const Aws::String& key, const Aws::String& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(key, value); return *this; }
395 inline Environment& AddAirflowConfigurationOptions(Aws::String&& key, const Aws::String& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(std::move(key), value); return *this; }
396 inline Environment& AddAirflowConfigurationOptions(const Aws::String& key, Aws::String&& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(key, std::move(value)); return *this; }
397 inline Environment& AddAirflowConfigurationOptions(Aws::String&& key, Aws::String&& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(std::move(key), std::move(value)); return *this; }
398 inline Environment& AddAirflowConfigurationOptions(const char* key, Aws::String&& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(key, std::move(value)); return *this; }
399 inline Environment& AddAirflowConfigurationOptions(Aws::String&& key, const char* value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(std::move(key), value); return *this; }
400 inline Environment& AddAirflowConfigurationOptions(const char* key, const char* value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(key, value); return *this; }
402
404
411 inline const Aws::String& GetEnvironmentClass() const{ return m_environmentClass; }
412 inline bool EnvironmentClassHasBeenSet() const { return m_environmentClassHasBeenSet; }
413 inline void SetEnvironmentClass(const Aws::String& value) { m_environmentClassHasBeenSet = true; m_environmentClass = value; }
414 inline void SetEnvironmentClass(Aws::String&& value) { m_environmentClassHasBeenSet = true; m_environmentClass = std::move(value); }
415 inline void SetEnvironmentClass(const char* value) { m_environmentClassHasBeenSet = true; m_environmentClass.assign(value); }
416 inline Environment& WithEnvironmentClass(const Aws::String& value) { SetEnvironmentClass(value); return *this;}
417 inline Environment& WithEnvironmentClass(Aws::String&& value) { SetEnvironmentClass(std::move(value)); return *this;}
418 inline Environment& WithEnvironmentClass(const char* value) { SetEnvironmentClass(value); return *this;}
420
422
426 inline int GetMaxWorkers() const{ return m_maxWorkers; }
427 inline bool MaxWorkersHasBeenSet() const { return m_maxWorkersHasBeenSet; }
428 inline void SetMaxWorkers(int value) { m_maxWorkersHasBeenSet = true; m_maxWorkers = value; }
429 inline Environment& WithMaxWorkers(int value) { SetMaxWorkers(value); return *this;}
431
433
440 inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; }
441 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
442 inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
443 inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
445 inline Environment& WithNetworkConfiguration(NetworkConfiguration&& value) { SetNetworkConfiguration(std::move(value)); return *this;}
447
449
452 inline const LoggingConfiguration& GetLoggingConfiguration() const{ return m_loggingConfiguration; }
453 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
454 inline void SetLoggingConfiguration(const LoggingConfiguration& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = value; }
455 inline void SetLoggingConfiguration(LoggingConfiguration&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::move(value); }
457 inline Environment& WithLoggingConfiguration(LoggingConfiguration&& value) { SetLoggingConfiguration(std::move(value)); return *this;}
459
461
464 inline const LastUpdate& GetLastUpdate() const{ return m_lastUpdate; }
465 inline bool LastUpdateHasBeenSet() const { return m_lastUpdateHasBeenSet; }
466 inline void SetLastUpdate(const LastUpdate& value) { m_lastUpdateHasBeenSet = true; m_lastUpdate = value; }
467 inline void SetLastUpdate(LastUpdate&& value) { m_lastUpdateHasBeenSet = true; m_lastUpdate = std::move(value); }
468 inline Environment& WithLastUpdate(const LastUpdate& value) { SetLastUpdate(value); return *this;}
469 inline Environment& WithLastUpdate(LastUpdate&& value) { SetLastUpdate(std::move(value)); return *this;}
471
473
478 inline const Aws::String& GetWeeklyMaintenanceWindowStart() const{ return m_weeklyMaintenanceWindowStart; }
479 inline bool WeeklyMaintenanceWindowStartHasBeenSet() const { return m_weeklyMaintenanceWindowStartHasBeenSet; }
480 inline void SetWeeklyMaintenanceWindowStart(const Aws::String& value) { m_weeklyMaintenanceWindowStartHasBeenSet = true; m_weeklyMaintenanceWindowStart = value; }
481 inline void SetWeeklyMaintenanceWindowStart(Aws::String&& value) { m_weeklyMaintenanceWindowStartHasBeenSet = true; m_weeklyMaintenanceWindowStart = std::move(value); }
482 inline void SetWeeklyMaintenanceWindowStart(const char* value) { m_weeklyMaintenanceWindowStartHasBeenSet = true; m_weeklyMaintenanceWindowStart.assign(value); }
485 inline Environment& WithWeeklyMaintenanceWindowStart(const char* value) { SetWeeklyMaintenanceWindowStart(value); return *this;}
487
489
495 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
496 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
497 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
498 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
499 inline Environment& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
500 inline Environment& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
501 inline Environment& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
502 inline Environment& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
503 inline Environment& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
504 inline Environment& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
505 inline Environment& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
506 inline Environment& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
507 inline Environment& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
509
511
517 inline const WebserverAccessMode& GetWebserverAccessMode() const{ return m_webserverAccessMode; }
518 inline bool WebserverAccessModeHasBeenSet() const { return m_webserverAccessModeHasBeenSet; }
519 inline void SetWebserverAccessMode(const WebserverAccessMode& value) { m_webserverAccessModeHasBeenSet = true; m_webserverAccessMode = value; }
520 inline void SetWebserverAccessMode(WebserverAccessMode&& value) { m_webserverAccessModeHasBeenSet = true; m_webserverAccessMode = std::move(value); }
522 inline Environment& WithWebserverAccessMode(WebserverAccessMode&& value) { SetWebserverAccessMode(std::move(value)); return *this;}
524
526
530 inline int GetMinWorkers() const{ return m_minWorkers; }
531 inline bool MinWorkersHasBeenSet() const { return m_minWorkersHasBeenSet; }
532 inline void SetMinWorkers(int value) { m_minWorkersHasBeenSet = true; m_minWorkers = value; }
533 inline Environment& WithMinWorkers(int value) { SetMinWorkers(value); return *this;}
535
537
541 inline int GetSchedulers() const{ return m_schedulers; }
542 inline bool SchedulersHasBeenSet() const { return m_schedulersHasBeenSet; }
543 inline void SetSchedulers(int value) { m_schedulersHasBeenSet = true; m_schedulers = value; }
544 inline Environment& WithSchedulers(int value) { SetSchedulers(value); return *this;}
546
548
551 inline const Aws::String& GetWebserverVpcEndpointService() const{ return m_webserverVpcEndpointService; }
552 inline bool WebserverVpcEndpointServiceHasBeenSet() const { return m_webserverVpcEndpointServiceHasBeenSet; }
553 inline void SetWebserverVpcEndpointService(const Aws::String& value) { m_webserverVpcEndpointServiceHasBeenSet = true; m_webserverVpcEndpointService = value; }
554 inline void SetWebserverVpcEndpointService(Aws::String&& value) { m_webserverVpcEndpointServiceHasBeenSet = true; m_webserverVpcEndpointService = std::move(value); }
555 inline void SetWebserverVpcEndpointService(const char* value) { m_webserverVpcEndpointServiceHasBeenSet = true; m_webserverVpcEndpointService.assign(value); }
558 inline Environment& WithWebserverVpcEndpointService(const char* value) { SetWebserverVpcEndpointService(value); return *this;}
560
562
565 inline const Aws::String& GetDatabaseVpcEndpointService() const{ return m_databaseVpcEndpointService; }
566 inline bool DatabaseVpcEndpointServiceHasBeenSet() const { return m_databaseVpcEndpointServiceHasBeenSet; }
567 inline void SetDatabaseVpcEndpointService(const Aws::String& value) { m_databaseVpcEndpointServiceHasBeenSet = true; m_databaseVpcEndpointService = value; }
568 inline void SetDatabaseVpcEndpointService(Aws::String&& value) { m_databaseVpcEndpointServiceHasBeenSet = true; m_databaseVpcEndpointService = std::move(value); }
569 inline void SetDatabaseVpcEndpointService(const char* value) { m_databaseVpcEndpointServiceHasBeenSet = true; m_databaseVpcEndpointService.assign(value); }
571 inline Environment& WithDatabaseVpcEndpointService(Aws::String&& value) { SetDatabaseVpcEndpointService(std::move(value)); return *this;}
572 inline Environment& WithDatabaseVpcEndpointService(const char* value) { SetDatabaseVpcEndpointService(value); return *this;}
574
576
583 inline const Aws::String& GetCeleryExecutorQueue() const{ return m_celeryExecutorQueue; }
584 inline bool CeleryExecutorQueueHasBeenSet() const { return m_celeryExecutorQueueHasBeenSet; }
585 inline void SetCeleryExecutorQueue(const Aws::String& value) { m_celeryExecutorQueueHasBeenSet = true; m_celeryExecutorQueue = value; }
586 inline void SetCeleryExecutorQueue(Aws::String&& value) { m_celeryExecutorQueueHasBeenSet = true; m_celeryExecutorQueue = std::move(value); }
587 inline void SetCeleryExecutorQueue(const char* value) { m_celeryExecutorQueueHasBeenSet = true; m_celeryExecutorQueue.assign(value); }
588 inline Environment& WithCeleryExecutorQueue(const Aws::String& value) { SetCeleryExecutorQueue(value); return *this;}
589 inline Environment& WithCeleryExecutorQueue(Aws::String&& value) { SetCeleryExecutorQueue(std::move(value)); return *this;}
590 inline Environment& WithCeleryExecutorQueue(const char* value) { SetCeleryExecutorQueue(value); return *this;}
592
594
601 inline const EndpointManagement& GetEndpointManagement() const{ return m_endpointManagement; }
602 inline bool EndpointManagementHasBeenSet() const { return m_endpointManagementHasBeenSet; }
603 inline void SetEndpointManagement(const EndpointManagement& value) { m_endpointManagementHasBeenSet = true; m_endpointManagement = value; }
604 inline void SetEndpointManagement(EndpointManagement&& value) { m_endpointManagementHasBeenSet = true; m_endpointManagement = std::move(value); }
605 inline Environment& WithEndpointManagement(const EndpointManagement& value) { SetEndpointManagement(value); return *this;}
606 inline Environment& WithEndpointManagement(EndpointManagement&& value) { SetEndpointManagement(std::move(value)); return *this;}
608
610
620 inline int GetMinWebservers() const{ return m_minWebservers; }
621 inline bool MinWebserversHasBeenSet() const { return m_minWebserversHasBeenSet; }
622 inline void SetMinWebservers(int value) { m_minWebserversHasBeenSet = true; m_minWebservers = value; }
623 inline Environment& WithMinWebservers(int value) { SetMinWebservers(value); return *this;}
625
627
640 inline int GetMaxWebservers() const{ return m_maxWebservers; }
641 inline bool MaxWebserversHasBeenSet() const { return m_maxWebserversHasBeenSet; }
642 inline void SetMaxWebservers(int value) { m_maxWebserversHasBeenSet = true; m_maxWebservers = value; }
643 inline Environment& WithMaxWebservers(int value) { SetMaxWebservers(value); return *this;}
645 private:
646
647 Aws::String m_name;
648 bool m_nameHasBeenSet = false;
649
650 EnvironmentStatus m_status;
651 bool m_statusHasBeenSet = false;
652
653 Aws::String m_arn;
654 bool m_arnHasBeenSet = false;
655
656 Aws::Utils::DateTime m_createdAt;
657 bool m_createdAtHasBeenSet = false;
658
659 Aws::String m_webserverUrl;
660 bool m_webserverUrlHasBeenSet = false;
661
662 Aws::String m_executionRoleArn;
663 bool m_executionRoleArnHasBeenSet = false;
664
665 Aws::String m_serviceRoleArn;
666 bool m_serviceRoleArnHasBeenSet = false;
667
668 Aws::String m_kmsKey;
669 bool m_kmsKeyHasBeenSet = false;
670
671 Aws::String m_airflowVersion;
672 bool m_airflowVersionHasBeenSet = false;
673
674 Aws::String m_sourceBucketArn;
675 bool m_sourceBucketArnHasBeenSet = false;
676
677 Aws::String m_dagS3Path;
678 bool m_dagS3PathHasBeenSet = false;
679
680 Aws::String m_pluginsS3Path;
681 bool m_pluginsS3PathHasBeenSet = false;
682
683 Aws::String m_pluginsS3ObjectVersion;
684 bool m_pluginsS3ObjectVersionHasBeenSet = false;
685
686 Aws::String m_requirementsS3Path;
687 bool m_requirementsS3PathHasBeenSet = false;
688
689 Aws::String m_requirementsS3ObjectVersion;
690 bool m_requirementsS3ObjectVersionHasBeenSet = false;
691
692 Aws::String m_startupScriptS3Path;
693 bool m_startupScriptS3PathHasBeenSet = false;
694
695 Aws::String m_startupScriptS3ObjectVersion;
696 bool m_startupScriptS3ObjectVersionHasBeenSet = false;
697
698 Aws::Map<Aws::String, Aws::String> m_airflowConfigurationOptions;
699 bool m_airflowConfigurationOptionsHasBeenSet = false;
700
701 Aws::String m_environmentClass;
702 bool m_environmentClassHasBeenSet = false;
703
704 int m_maxWorkers;
705 bool m_maxWorkersHasBeenSet = false;
706
707 NetworkConfiguration m_networkConfiguration;
708 bool m_networkConfigurationHasBeenSet = false;
709
710 LoggingConfiguration m_loggingConfiguration;
711 bool m_loggingConfigurationHasBeenSet = false;
712
713 LastUpdate m_lastUpdate;
714 bool m_lastUpdateHasBeenSet = false;
715
716 Aws::String m_weeklyMaintenanceWindowStart;
717 bool m_weeklyMaintenanceWindowStartHasBeenSet = false;
718
720 bool m_tagsHasBeenSet = false;
721
722 WebserverAccessMode m_webserverAccessMode;
723 bool m_webserverAccessModeHasBeenSet = false;
724
725 int m_minWorkers;
726 bool m_minWorkersHasBeenSet = false;
727
728 int m_schedulers;
729 bool m_schedulersHasBeenSet = false;
730
731 Aws::String m_webserverVpcEndpointService;
732 bool m_webserverVpcEndpointServiceHasBeenSet = false;
733
734 Aws::String m_databaseVpcEndpointService;
735 bool m_databaseVpcEndpointServiceHasBeenSet = false;
736
737 Aws::String m_celeryExecutorQueue;
738 bool m_celeryExecutorQueueHasBeenSet = false;
739
740 EndpointManagement m_endpointManagement;
741 bool m_endpointManagementHasBeenSet = false;
742
743 int m_minWebservers;
744 bool m_minWebserversHasBeenSet = false;
745
746 int m_maxWebservers;
747 bool m_maxWebserversHasBeenSet = false;
748 };
749
750} // namespace Model
751} // namespace MWAA
752} // namespace Aws
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)
void SetWebserverAccessMode(const WebserverAccessMode &value)
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
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)
Definition Environment.h:61
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)
void SetAirflowConfigurationOptions(Aws::Map< Aws::String, Aws::String > &&value)
Environment & WithDatabaseVpcEndpointService(const Aws::String &value)
void SetKmsKey(const char *value)
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)
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
const Aws::String & GetRequirementsS3Path() const
const Aws::String & GetPluginsS3Path() const
const Aws::String & GetDagS3Path() const
Environment & WithStartupScriptS3Path(Aws::String &&value)
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 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)
void SetExecutionRoleArn(const Aws::String &value)
void SetCeleryExecutorQueue(const char *value)
const Aws::String & GetWebserverVpcEndpointService() const
const Aws::String & GetName() const
Definition Environment.h:54
bool DatabaseVpcEndpointServiceHasBeenSet() const
Environment & WithCeleryExecutorQueue(Aws::String &&value)
Environment & WithName(const Aws::String &value)
Definition Environment.h:59
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
const NetworkConfiguration & GetNetworkConfiguration() const
void SetName(Aws::String &&value)
Definition Environment.h:57
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
void SetName(const Aws::String &value)
Definition Environment.h:56
Environment & WithDatabaseVpcEndpointService(Aws::String &&value)
bool StartupScriptS3PathHasBeenSet() const
void SetAirflowVersion(Aws::String &&value)
void SetWebserverUrl(Aws::String &&value)
Environment & WithName(Aws::String &&value)
Definition Environment.h:60
void SetStartupScriptS3Path(const char *value)
Environment & WithRequirementsS3Path(const char *value)
void SetName(const char *value)
Definition Environment.h:58
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
Environment & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
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)
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)
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)
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)
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
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)
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