AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEnvironmentRequest.h
1
6#pragma once
7#include <aws/mwaa/MWAA_EXPORTS.h>
8#include <aws/mwaa/MWAARequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mwaa/model/NetworkConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/mwaa/model/LoggingConfigurationInput.h>
13#include <aws/mwaa/model/WebserverAccessMode.h>
14#include <aws/mwaa/model/EndpointManagement.h>
15#include <utility>
16
17namespace Aws
18{
19namespace MWAA
20{
21namespace Model
22{
23
35 {
36 public:
38
39 // Service request name is the Operation name which will send this request out,
40 // each operation should has unique request name, so that we can get operation's name from this request.
41 // Note: this is not true for response, multiple operations may have the same response name,
42 // so we can not get operation's name from response.
43 inline virtual const char* GetServiceRequestName() const override { return "CreateEnvironment"; }
44
45 AWS_MWAA_API Aws::String SerializePayload() const override;
46
47
49
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
57 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
58 inline CreateEnvironmentRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline CreateEnvironmentRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline CreateEnvironmentRequest& WithName(const char* value) { SetName(value); return *this;}
62
64
74 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
75 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
76 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
77 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
78 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
80 inline CreateEnvironmentRequest& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
81 inline CreateEnvironmentRequest& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
83
85
93 inline const Aws::String& GetSourceBucketArn() const{ return m_sourceBucketArn; }
94 inline bool SourceBucketArnHasBeenSet() const { return m_sourceBucketArnHasBeenSet; }
95 inline void SetSourceBucketArn(const Aws::String& value) { m_sourceBucketArnHasBeenSet = true; m_sourceBucketArn = value; }
96 inline void SetSourceBucketArn(Aws::String&& value) { m_sourceBucketArnHasBeenSet = true; m_sourceBucketArn = std::move(value); }
97 inline void SetSourceBucketArn(const char* value) { m_sourceBucketArnHasBeenSet = true; m_sourceBucketArn.assign(value); }
98 inline CreateEnvironmentRequest& WithSourceBucketArn(const Aws::String& value) { SetSourceBucketArn(value); return *this;}
99 inline CreateEnvironmentRequest& WithSourceBucketArn(Aws::String&& value) { SetSourceBucketArn(std::move(value)); return *this;}
100 inline CreateEnvironmentRequest& WithSourceBucketArn(const char* value) { SetSourceBucketArn(value); return *this;}
102
104
110 inline const Aws::String& GetDagS3Path() const{ return m_dagS3Path; }
111 inline bool DagS3PathHasBeenSet() const { return m_dagS3PathHasBeenSet; }
112 inline void SetDagS3Path(const Aws::String& value) { m_dagS3PathHasBeenSet = true; m_dagS3Path = value; }
113 inline void SetDagS3Path(Aws::String&& value) { m_dagS3PathHasBeenSet = true; m_dagS3Path = std::move(value); }
114 inline void SetDagS3Path(const char* value) { m_dagS3PathHasBeenSet = true; m_dagS3Path.assign(value); }
115 inline CreateEnvironmentRequest& WithDagS3Path(const Aws::String& value) { SetDagS3Path(value); return *this;}
116 inline CreateEnvironmentRequest& WithDagS3Path(Aws::String&& value) { SetDagS3Path(std::move(value)); return *this;}
117 inline CreateEnvironmentRequest& WithDagS3Path(const char* value) { SetDagS3Path(value); return *this;}
119
121
128 inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; }
129 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
130 inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
131 inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
135
137
144 inline const Aws::String& GetPluginsS3Path() const{ return m_pluginsS3Path; }
145 inline bool PluginsS3PathHasBeenSet() const { return m_pluginsS3PathHasBeenSet; }
146 inline void SetPluginsS3Path(const Aws::String& value) { m_pluginsS3PathHasBeenSet = true; m_pluginsS3Path = value; }
147 inline void SetPluginsS3Path(Aws::String&& value) { m_pluginsS3PathHasBeenSet = true; m_pluginsS3Path = std::move(value); }
148 inline void SetPluginsS3Path(const char* value) { m_pluginsS3PathHasBeenSet = true; m_pluginsS3Path.assign(value); }
149 inline CreateEnvironmentRequest& WithPluginsS3Path(const Aws::String& value) { SetPluginsS3Path(value); return *this;}
150 inline CreateEnvironmentRequest& WithPluginsS3Path(Aws::String&& value) { SetPluginsS3Path(std::move(value)); return *this;}
151 inline CreateEnvironmentRequest& WithPluginsS3Path(const char* value) { SetPluginsS3Path(value); return *this;}
153
155
162 inline const Aws::String& GetPluginsS3ObjectVersion() const{ return m_pluginsS3ObjectVersion; }
163 inline bool PluginsS3ObjectVersionHasBeenSet() const { return m_pluginsS3ObjectVersionHasBeenSet; }
164 inline void SetPluginsS3ObjectVersion(const Aws::String& value) { m_pluginsS3ObjectVersionHasBeenSet = true; m_pluginsS3ObjectVersion = value; }
165 inline void SetPluginsS3ObjectVersion(Aws::String&& value) { m_pluginsS3ObjectVersionHasBeenSet = true; m_pluginsS3ObjectVersion = std::move(value); }
166 inline void SetPluginsS3ObjectVersion(const char* value) { m_pluginsS3ObjectVersionHasBeenSet = true; m_pluginsS3ObjectVersion.assign(value); }
169 inline CreateEnvironmentRequest& WithPluginsS3ObjectVersion(const char* value) { SetPluginsS3ObjectVersion(value); return *this;}
171
173
180 inline const Aws::String& GetRequirementsS3Path() const{ return m_requirementsS3Path; }
181 inline bool RequirementsS3PathHasBeenSet() const { return m_requirementsS3PathHasBeenSet; }
182 inline void SetRequirementsS3Path(const Aws::String& value) { m_requirementsS3PathHasBeenSet = true; m_requirementsS3Path = value; }
183 inline void SetRequirementsS3Path(Aws::String&& value) { m_requirementsS3PathHasBeenSet = true; m_requirementsS3Path = std::move(value); }
184 inline void SetRequirementsS3Path(const char* value) { m_requirementsS3PathHasBeenSet = true; m_requirementsS3Path.assign(value); }
186 inline CreateEnvironmentRequest& WithRequirementsS3Path(Aws::String&& value) { SetRequirementsS3Path(std::move(value)); return *this;}
187 inline CreateEnvironmentRequest& WithRequirementsS3Path(const char* value) { SetRequirementsS3Path(value); return *this;}
189
191
198 inline const Aws::String& GetRequirementsS3ObjectVersion() const{ return m_requirementsS3ObjectVersion; }
199 inline bool RequirementsS3ObjectVersionHasBeenSet() const { return m_requirementsS3ObjectVersionHasBeenSet; }
200 inline void SetRequirementsS3ObjectVersion(const Aws::String& value) { m_requirementsS3ObjectVersionHasBeenSet = true; m_requirementsS3ObjectVersion = value; }
201 inline void SetRequirementsS3ObjectVersion(Aws::String&& value) { m_requirementsS3ObjectVersionHasBeenSet = true; m_requirementsS3ObjectVersion = std::move(value); }
202 inline void SetRequirementsS3ObjectVersion(const char* value) { m_requirementsS3ObjectVersionHasBeenSet = true; m_requirementsS3ObjectVersion.assign(value); }
207
209
219 inline const Aws::String& GetStartupScriptS3Path() const{ return m_startupScriptS3Path; }
220 inline bool StartupScriptS3PathHasBeenSet() const { return m_startupScriptS3PathHasBeenSet; }
221 inline void SetStartupScriptS3Path(const Aws::String& value) { m_startupScriptS3PathHasBeenSet = true; m_startupScriptS3Path = value; }
222 inline void SetStartupScriptS3Path(Aws::String&& value) { m_startupScriptS3PathHasBeenSet = true; m_startupScriptS3Path = std::move(value); }
223 inline void SetStartupScriptS3Path(const char* value) { m_startupScriptS3PathHasBeenSet = true; m_startupScriptS3Path.assign(value); }
225 inline CreateEnvironmentRequest& WithStartupScriptS3Path(Aws::String&& value) { SetStartupScriptS3Path(std::move(value)); return *this;}
226 inline CreateEnvironmentRequest& WithStartupScriptS3Path(const char* value) { SetStartupScriptS3Path(value); return *this;}
228
230
242 inline const Aws::String& GetStartupScriptS3ObjectVersion() const{ return m_startupScriptS3ObjectVersion; }
243 inline bool StartupScriptS3ObjectVersionHasBeenSet() const { return m_startupScriptS3ObjectVersionHasBeenSet; }
244 inline void SetStartupScriptS3ObjectVersion(const Aws::String& value) { m_startupScriptS3ObjectVersionHasBeenSet = true; m_startupScriptS3ObjectVersion = value; }
245 inline void SetStartupScriptS3ObjectVersion(Aws::String&& value) { m_startupScriptS3ObjectVersionHasBeenSet = true; m_startupScriptS3ObjectVersion = std::move(value); }
246 inline void SetStartupScriptS3ObjectVersion(const char* value) { m_startupScriptS3ObjectVersionHasBeenSet = true; m_startupScriptS3ObjectVersion.assign(value); }
251
253
259 inline const Aws::Map<Aws::String, Aws::String>& GetAirflowConfigurationOptions() const{ return m_airflowConfigurationOptions; }
260 inline bool AirflowConfigurationOptionsHasBeenSet() const { return m_airflowConfigurationOptionsHasBeenSet; }
261 inline void SetAirflowConfigurationOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions = value; }
262 inline void SetAirflowConfigurationOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions = std::move(value); }
265 inline CreateEnvironmentRequest& AddAirflowConfigurationOptions(const Aws::String& key, const Aws::String& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(key, value); return *this; }
266 inline CreateEnvironmentRequest& AddAirflowConfigurationOptions(Aws::String&& key, const Aws::String& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(std::move(key), value); return *this; }
267 inline CreateEnvironmentRequest& AddAirflowConfigurationOptions(const Aws::String& key, Aws::String&& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(key, std::move(value)); return *this; }
268 inline CreateEnvironmentRequest& AddAirflowConfigurationOptions(Aws::String&& key, Aws::String&& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(std::move(key), std::move(value)); return *this; }
269 inline CreateEnvironmentRequest& AddAirflowConfigurationOptions(const char* key, Aws::String&& value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(key, std::move(value)); return *this; }
270 inline CreateEnvironmentRequest& AddAirflowConfigurationOptions(Aws::String&& key, const char* value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(std::move(key), value); return *this; }
271 inline CreateEnvironmentRequest& AddAirflowConfigurationOptions(const char* key, const char* value) { m_airflowConfigurationOptionsHasBeenSet = true; m_airflowConfigurationOptions.emplace(key, value); return *this; }
273
275
282 inline const Aws::String& GetEnvironmentClass() const{ return m_environmentClass; }
283 inline bool EnvironmentClassHasBeenSet() const { return m_environmentClassHasBeenSet; }
284 inline void SetEnvironmentClass(const Aws::String& value) { m_environmentClassHasBeenSet = true; m_environmentClass = value; }
285 inline void SetEnvironmentClass(Aws::String&& value) { m_environmentClassHasBeenSet = true; m_environmentClass = std::move(value); }
286 inline void SetEnvironmentClass(const char* value) { m_environmentClassHasBeenSet = true; m_environmentClass.assign(value); }
288 inline CreateEnvironmentRequest& WithEnvironmentClass(Aws::String&& value) { SetEnvironmentClass(std::move(value)); return *this;}
289 inline CreateEnvironmentRequest& WithEnvironmentClass(const char* value) { SetEnvironmentClass(value); return *this;}
291
293
301 inline int GetMaxWorkers() const{ return m_maxWorkers; }
302 inline bool MaxWorkersHasBeenSet() const { return m_maxWorkersHasBeenSet; }
303 inline void SetMaxWorkers(int value) { m_maxWorkersHasBeenSet = true; m_maxWorkers = value; }
304 inline CreateEnvironmentRequest& WithMaxWorkers(int value) { SetMaxWorkers(value); return *this;}
306
308
315 inline const Aws::String& GetKmsKey() const{ return m_kmsKey; }
316 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
317 inline void SetKmsKey(const Aws::String& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = value; }
318 inline void SetKmsKey(Aws::String&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::move(value); }
319 inline void SetKmsKey(const char* value) { m_kmsKeyHasBeenSet = true; m_kmsKey.assign(value); }
320 inline CreateEnvironmentRequest& WithKmsKey(const Aws::String& value) { SetKmsKey(value); return *this;}
321 inline CreateEnvironmentRequest& WithKmsKey(Aws::String&& value) { SetKmsKey(std::move(value)); return *this;}
322 inline CreateEnvironmentRequest& WithKmsKey(const char* value) { SetKmsKey(value); return *this;}
324
326
336 inline const Aws::String& GetAirflowVersion() const{ return m_airflowVersion; }
337 inline bool AirflowVersionHasBeenSet() const { return m_airflowVersionHasBeenSet; }
338 inline void SetAirflowVersion(const Aws::String& value) { m_airflowVersionHasBeenSet = true; m_airflowVersion = value; }
339 inline void SetAirflowVersion(Aws::String&& value) { m_airflowVersionHasBeenSet = true; m_airflowVersion = std::move(value); }
340 inline void SetAirflowVersion(const char* value) { m_airflowVersionHasBeenSet = true; m_airflowVersion.assign(value); }
341 inline CreateEnvironmentRequest& WithAirflowVersion(const Aws::String& value) { SetAirflowVersion(value); return *this;}
342 inline CreateEnvironmentRequest& WithAirflowVersion(Aws::String&& value) { SetAirflowVersion(std::move(value)); return *this;}
343 inline CreateEnvironmentRequest& WithAirflowVersion(const char* value) { SetAirflowVersion(value); return *this;}
345
347
350 inline const LoggingConfigurationInput& GetLoggingConfiguration() const{ return m_loggingConfiguration; }
351 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
352 inline void SetLoggingConfiguration(const LoggingConfigurationInput& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = value; }
353 inline void SetLoggingConfiguration(LoggingConfigurationInput&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::move(value); }
357
359
365 inline const Aws::String& GetWeeklyMaintenanceWindowStart() const{ return m_weeklyMaintenanceWindowStart; }
366 inline bool WeeklyMaintenanceWindowStartHasBeenSet() const { return m_weeklyMaintenanceWindowStartHasBeenSet; }
367 inline void SetWeeklyMaintenanceWindowStart(const Aws::String& value) { m_weeklyMaintenanceWindowStartHasBeenSet = true; m_weeklyMaintenanceWindowStart = value; }
368 inline void SetWeeklyMaintenanceWindowStart(Aws::String&& value) { m_weeklyMaintenanceWindowStartHasBeenSet = true; m_weeklyMaintenanceWindowStart = std::move(value); }
369 inline void SetWeeklyMaintenanceWindowStart(const char* value) { m_weeklyMaintenanceWindowStartHasBeenSet = true; m_weeklyMaintenanceWindowStart.assign(value); }
374
376
382 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
383 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
384 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
385 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
387 inline CreateEnvironmentRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
388 inline CreateEnvironmentRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
389 inline CreateEnvironmentRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
390 inline CreateEnvironmentRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
391 inline CreateEnvironmentRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
392 inline CreateEnvironmentRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
393 inline CreateEnvironmentRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
394 inline CreateEnvironmentRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
396
398
404 inline const WebserverAccessMode& GetWebserverAccessMode() const{ return m_webserverAccessMode; }
405 inline bool WebserverAccessModeHasBeenSet() const { return m_webserverAccessModeHasBeenSet; }
406 inline void SetWebserverAccessMode(const WebserverAccessMode& value) { m_webserverAccessModeHasBeenSet = true; m_webserverAccessMode = value; }
407 inline void SetWebserverAccessMode(WebserverAccessMode&& value) { m_webserverAccessModeHasBeenSet = true; m_webserverAccessMode = std::move(value); }
411
413
420 inline int GetMinWorkers() const{ return m_minWorkers; }
421 inline bool MinWorkersHasBeenSet() const { return m_minWorkersHasBeenSet; }
422 inline void SetMinWorkers(int value) { m_minWorkersHasBeenSet = true; m_minWorkers = value; }
423 inline CreateEnvironmentRequest& WithMinWorkers(int value) { SetMinWorkers(value); return *this;}
425
427
433 inline int GetSchedulers() const{ return m_schedulers; }
434 inline bool SchedulersHasBeenSet() const { return m_schedulersHasBeenSet; }
435 inline void SetSchedulers(int value) { m_schedulersHasBeenSet = true; m_schedulers = value; }
436 inline CreateEnvironmentRequest& WithSchedulers(int value) { SetSchedulers(value); return *this;}
438
440
452 inline const EndpointManagement& GetEndpointManagement() const{ return m_endpointManagement; }
453 inline bool EndpointManagementHasBeenSet() const { return m_endpointManagementHasBeenSet; }
454 inline void SetEndpointManagement(const EndpointManagement& value) { m_endpointManagementHasBeenSet = true; m_endpointManagement = value; }
455 inline void SetEndpointManagement(EndpointManagement&& value) { m_endpointManagementHasBeenSet = true; m_endpointManagement = std::move(value); }
459
461
471 inline int GetMinWebservers() const{ return m_minWebservers; }
472 inline bool MinWebserversHasBeenSet() const { return m_minWebserversHasBeenSet; }
473 inline void SetMinWebservers(int value) { m_minWebserversHasBeenSet = true; m_minWebservers = value; }
474 inline CreateEnvironmentRequest& WithMinWebservers(int value) { SetMinWebservers(value); return *this;}
476
478
491 inline int GetMaxWebservers() const{ return m_maxWebservers; }
492 inline bool MaxWebserversHasBeenSet() const { return m_maxWebserversHasBeenSet; }
493 inline void SetMaxWebservers(int value) { m_maxWebserversHasBeenSet = true; m_maxWebservers = value; }
494 inline CreateEnvironmentRequest& WithMaxWebservers(int value) { SetMaxWebservers(value); return *this;}
496 private:
497
498 Aws::String m_name;
499 bool m_nameHasBeenSet = false;
500
501 Aws::String m_executionRoleArn;
502 bool m_executionRoleArnHasBeenSet = false;
503
504 Aws::String m_sourceBucketArn;
505 bool m_sourceBucketArnHasBeenSet = false;
506
507 Aws::String m_dagS3Path;
508 bool m_dagS3PathHasBeenSet = false;
509
510 NetworkConfiguration m_networkConfiguration;
511 bool m_networkConfigurationHasBeenSet = false;
512
513 Aws::String m_pluginsS3Path;
514 bool m_pluginsS3PathHasBeenSet = false;
515
516 Aws::String m_pluginsS3ObjectVersion;
517 bool m_pluginsS3ObjectVersionHasBeenSet = false;
518
519 Aws::String m_requirementsS3Path;
520 bool m_requirementsS3PathHasBeenSet = false;
521
522 Aws::String m_requirementsS3ObjectVersion;
523 bool m_requirementsS3ObjectVersionHasBeenSet = false;
524
525 Aws::String m_startupScriptS3Path;
526 bool m_startupScriptS3PathHasBeenSet = false;
527
528 Aws::String m_startupScriptS3ObjectVersion;
529 bool m_startupScriptS3ObjectVersionHasBeenSet = false;
530
531 Aws::Map<Aws::String, Aws::String> m_airflowConfigurationOptions;
532 bool m_airflowConfigurationOptionsHasBeenSet = false;
533
534 Aws::String m_environmentClass;
535 bool m_environmentClassHasBeenSet = false;
536
537 int m_maxWorkers;
538 bool m_maxWorkersHasBeenSet = false;
539
540 Aws::String m_kmsKey;
541 bool m_kmsKeyHasBeenSet = false;
542
543 Aws::String m_airflowVersion;
544 bool m_airflowVersionHasBeenSet = false;
545
546 LoggingConfigurationInput m_loggingConfiguration;
547 bool m_loggingConfigurationHasBeenSet = false;
548
549 Aws::String m_weeklyMaintenanceWindowStart;
550 bool m_weeklyMaintenanceWindowStartHasBeenSet = false;
551
553 bool m_tagsHasBeenSet = false;
554
555 WebserverAccessMode m_webserverAccessMode;
556 bool m_webserverAccessModeHasBeenSet = false;
557
558 int m_minWorkers;
559 bool m_minWorkersHasBeenSet = false;
560
561 int m_schedulers;
562 bool m_schedulersHasBeenSet = false;
563
564 EndpointManagement m_endpointManagement;
565 bool m_endpointManagementHasBeenSet = false;
566
567 int m_minWebservers;
568 bool m_minWebserversHasBeenSet = false;
569
570 int m_maxWebservers;
571 bool m_maxWebserversHasBeenSet = false;
572 };
573
574} // namespace Model
575} // namespace MWAA
576} // namespace Aws
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateEnvironmentRequest & WithName(const Aws::String &value)
CreateEnvironmentRequest & WithWeeklyMaintenanceWindowStart(const Aws::String &value)
CreateEnvironmentRequest & WithLoggingConfiguration(const LoggingConfigurationInput &value)
CreateEnvironmentRequest & WithStartupScriptS3Path(const char *value)
CreateEnvironmentRequest & WithExecutionRoleArn(Aws::String &&value)
CreateEnvironmentRequest & WithKmsKey(Aws::String &&value)
CreateEnvironmentRequest & WithAirflowVersion(Aws::String &&value)
CreateEnvironmentRequest & WithAirflowConfigurationOptions(Aws::Map< Aws::String, Aws::String > &&value)
const EndpointManagement & GetEndpointManagement() const
void SetStartupScriptS3ObjectVersion(const Aws::String &value)
CreateEnvironmentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetStartupScriptS3ObjectVersion() const
const WebserverAccessMode & GetWebserverAccessMode() const
CreateEnvironmentRequest & WithRequirementsS3Path(const Aws::String &value)
CreateEnvironmentRequest & WithPluginsS3ObjectVersion(const char *value)
CreateEnvironmentRequest & WithWeeklyMaintenanceWindowStart(const char *value)
CreateEnvironmentRequest & WithRequirementsS3ObjectVersion(const char *value)
CreateEnvironmentRequest & WithStartupScriptS3ObjectVersion(Aws::String &&value)
CreateEnvironmentRequest & WithRequirementsS3ObjectVersion(const Aws::String &value)
CreateEnvironmentRequest & WithWeeklyMaintenanceWindowStart(Aws::String &&value)
CreateEnvironmentRequest & WithMaxWebservers(int value)
CreateEnvironmentRequest & WithName(Aws::String &&value)
CreateEnvironmentRequest & AddAirflowConfigurationOptions(const Aws::String &key, Aws::String &&value)
CreateEnvironmentRequest & WithPluginsS3Path(const char *value)
CreateEnvironmentRequest & AddAirflowConfigurationOptions(Aws::String &&key, const Aws::String &value)
CreateEnvironmentRequest & WithDagS3Path(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAirflowConfigurationOptions() const
CreateEnvironmentRequest & WithKmsKey(const Aws::String &value)
CreateEnvironmentRequest & AddTags(const char *key, Aws::String &&value)
void SetEndpointManagement(const EndpointManagement &value)
CreateEnvironmentRequest & WithRequirementsS3ObjectVersion(Aws::String &&value)
CreateEnvironmentRequest & WithLoggingConfiguration(LoggingConfigurationInput &&value)
CreateEnvironmentRequest & WithSchedulers(int value)
void SetPluginsS3ObjectVersion(const Aws::String &value)
void SetWeeklyMaintenanceWindowStart(const Aws::String &value)
CreateEnvironmentRequest & WithEnvironmentClass(Aws::String &&value)
CreateEnvironmentRequest & WithPluginsS3Path(Aws::String &&value)
CreateEnvironmentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateEnvironmentRequest & AddAirflowConfigurationOptions(Aws::String &&key, const char *value)
CreateEnvironmentRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateEnvironmentRequest & WithAirflowConfigurationOptions(const Aws::Map< Aws::String, Aws::String > &value)
virtual const char * GetServiceRequestName() const override
CreateEnvironmentRequest & WithExecutionRoleArn(const char *value)
CreateEnvironmentRequest & WithKmsKey(const char *value)
void SetWebserverAccessMode(WebserverAccessMode &&value)
CreateEnvironmentRequest & WithStartupScriptS3Path(const Aws::String &value)
CreateEnvironmentRequest & WithAirflowVersion(const Aws::String &value)
CreateEnvironmentRequest & WithNetworkConfiguration(NetworkConfiguration &&value)
void SetLoggingConfiguration(LoggingConfigurationInput &&value)
void SetAirflowConfigurationOptions(Aws::Map< Aws::String, Aws::String > &&value)
CreateEnvironmentRequest & WithSourceBucketArn(Aws::String &&value)
CreateEnvironmentRequest & AddAirflowConfigurationOptions(const char *key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const LoggingConfigurationInput & GetLoggingConfiguration() const
void SetStartupScriptS3Path(const Aws::String &value)
void SetWebserverAccessMode(const WebserverAccessMode &value)
CreateEnvironmentRequest & WithStartupScriptS3Path(Aws::String &&value)
CreateEnvironmentRequest & WithMaxWorkers(int value)
void SetEndpointManagement(EndpointManagement &&value)
CreateEnvironmentRequest & WithSourceBucketArn(const Aws::String &value)
CreateEnvironmentRequest & WithWebserverAccessMode(WebserverAccessMode &&value)
CreateEnvironmentRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateEnvironmentRequest & WithEndpointManagement(EndpointManagement &&value)
const NetworkConfiguration & GetNetworkConfiguration() const
CreateEnvironmentRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetLoggingConfiguration(const LoggingConfigurationInput &value)
CreateEnvironmentRequest & WithRequirementsS3Path(const char *value)
CreateEnvironmentRequest & WithMinWorkers(int value)
CreateEnvironmentRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetNetworkConfiguration(NetworkConfiguration &&value)
void SetAirflowConfigurationOptions(const Aws::Map< Aws::String, Aws::String > &value)
CreateEnvironmentRequest & AddAirflowConfigurationOptions(const char *key, Aws::String &&value)
CreateEnvironmentRequest & WithWebserverAccessMode(const WebserverAccessMode &value)
CreateEnvironmentRequest & WithSourceBucketArn(const char *value)
void SetRequirementsS3ObjectVersion(const Aws::String &value)
CreateEnvironmentRequest & AddAirflowConfigurationOptions(const Aws::String &key, const Aws::String &value)
AWS_MWAA_API Aws::String SerializePayload() const override
CreateEnvironmentRequest & WithDagS3Path(const Aws::String &value)
CreateEnvironmentRequest & WithNetworkConfiguration(const NetworkConfiguration &value)
CreateEnvironmentRequest & AddTags(const char *key, const char *value)
CreateEnvironmentRequest & WithAirflowVersion(const char *value)
CreateEnvironmentRequest & WithName(const char *value)
CreateEnvironmentRequest & AddAirflowConfigurationOptions(Aws::String &&key, Aws::String &&value)
const Aws::String & GetWeeklyMaintenanceWindowStart() const
CreateEnvironmentRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateEnvironmentRequest & WithPluginsS3Path(const Aws::String &value)
CreateEnvironmentRequest & WithDagS3Path(const char *value)
CreateEnvironmentRequest & WithPluginsS3ObjectVersion(const Aws::String &value)
CreateEnvironmentRequest & WithEndpointManagement(const EndpointManagement &value)
CreateEnvironmentRequest & WithMinWebservers(int value)
CreateEnvironmentRequest & WithEnvironmentClass(const char *value)
CreateEnvironmentRequest & WithEnvironmentClass(const Aws::String &value)
CreateEnvironmentRequest & WithRequirementsS3Path(Aws::String &&value)
CreateEnvironmentRequest & WithStartupScriptS3ObjectVersion(const Aws::String &value)
CreateEnvironmentRequest & WithStartupScriptS3ObjectVersion(const char *value)
CreateEnvironmentRequest & WithPluginsS3ObjectVersion(Aws::String &&value)
void SetNetworkConfiguration(const NetworkConfiguration &value)
CreateEnvironmentRequest & WithExecutionRoleArn(const 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