AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateDBClusterRequest.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/neptune/model/ServerlessV2ScalingConfiguration.h>
12#include <aws/neptune/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Neptune
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_NEPTUNE_API CreateDBClusterRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateDBCluster"; }
34
35 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
47 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
48 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
49 template<typename AvailabilityZonesT = Aws::Vector<Aws::String>>
50 void SetAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
51 template<typename AvailabilityZonesT = Aws::Vector<Aws::String>>
52 CreateDBClusterRequest& WithAvailabilityZones(AvailabilityZonesT&& value) { SetAvailabilityZones(std::forward<AvailabilityZonesT>(value)); return *this;}
53 template<typename AvailabilityZonesT = Aws::String>
54 CreateDBClusterRequest& AddAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value)); return *this; }
56
58
63 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
64 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
65 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
68
70
73 inline const Aws::String& GetCharacterSetName() const { return m_characterSetName; }
74 inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; }
75 template<typename CharacterSetNameT = Aws::String>
76 void SetCharacterSetName(CharacterSetNameT&& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = std::forward<CharacterSetNameT>(value); }
77 template<typename CharacterSetNameT = Aws::String>
78 CreateDBClusterRequest& WithCharacterSetName(CharacterSetNameT&& value) { SetCharacterSetName(std::forward<CharacterSetNameT>(value)); return *this;}
80
82
86 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
87 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
88 inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; }
89 inline CreateDBClusterRequest& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;}
91
93
98 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
99 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
100 template<typename DatabaseNameT = Aws::String>
101 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
102 template<typename DatabaseNameT = Aws::String>
103 CreateDBClusterRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
105
107
114 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
115 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
116 template<typename DBClusterIdentifierT = Aws::String>
117 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
118 template<typename DBClusterIdentifierT = Aws::String>
119 CreateDBClusterRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) { SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value)); return *this;}
121
123
129 inline const Aws::String& GetDBClusterParameterGroupName() const { return m_dBClusterParameterGroupName; }
130 inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
131 template<typename DBClusterParameterGroupNameT = Aws::String>
132 void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::forward<DBClusterParameterGroupNameT>(value); }
133 template<typename DBClusterParameterGroupNameT = Aws::String>
134 CreateDBClusterRequest& WithDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) { SetDBClusterParameterGroupName(std::forward<DBClusterParameterGroupNameT>(value)); return *this;}
136
138
141 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
142 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
143 template<typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
144 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
145 template<typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
146 CreateDBClusterRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value)); return *this;}
147 template<typename VpcSecurityGroupIdsT = Aws::String>
148 CreateDBClusterRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value)); return *this; }
150
152
157 inline const Aws::String& GetDBSubnetGroupName() const { return m_dBSubnetGroupName; }
158 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
159 template<typename DBSubnetGroupNameT = Aws::String>
160 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value); }
161 template<typename DBSubnetGroupNameT = Aws::String>
162 CreateDBClusterRequest& WithDBSubnetGroupName(DBSubnetGroupNameT&& value) { SetDBSubnetGroupName(std::forward<DBSubnetGroupNameT>(value)); return *this;}
164
166
170 inline const Aws::String& GetEngine() const { return m_engine; }
171 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
172 template<typename EngineT = Aws::String>
173 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
174 template<typename EngineT = Aws::String>
175 CreateDBClusterRequest& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
177
179
183 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
184 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
185 template<typename EngineVersionT = Aws::String>
186 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
187 template<typename EngineVersionT = Aws::String>
188 CreateDBClusterRequest& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
190
192
196 inline int GetPort() const { return m_port; }
197 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
198 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
199 inline CreateDBClusterRequest& WithPort(int value) { SetPort(value); return *this;}
201
203
206 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
207 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
208 template<typename MasterUsernameT = Aws::String>
209 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::forward<MasterUsernameT>(value); }
210 template<typename MasterUsernameT = Aws::String>
211 CreateDBClusterRequest& WithMasterUsername(MasterUsernameT&& value) { SetMasterUsername(std::forward<MasterUsernameT>(value)); return *this;}
213
215
218 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
219 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
220 template<typename MasterUserPasswordT = Aws::String>
221 void SetMasterUserPassword(MasterUserPasswordT&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::forward<MasterUserPasswordT>(value); }
222 template<typename MasterUserPasswordT = Aws::String>
223 CreateDBClusterRequest& WithMasterUserPassword(MasterUserPasswordT&& value) { SetMasterUserPassword(std::forward<MasterUserPasswordT>(value)); return *this;}
225
227
230 inline const Aws::String& GetOptionGroupName() const { return m_optionGroupName; }
231 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
232 template<typename OptionGroupNameT = Aws::String>
233 void SetOptionGroupName(OptionGroupNameT&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::forward<OptionGroupNameT>(value); }
234 template<typename OptionGroupNameT = Aws::String>
235 CreateDBClusterRequest& WithOptionGroupName(OptionGroupNameT&& value) { SetOptionGroupName(std::forward<OptionGroupNameT>(value)); return *this;}
237
239
251 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
252 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
253 template<typename PreferredBackupWindowT = Aws::String>
254 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value); }
255 template<typename PreferredBackupWindowT = Aws::String>
256 CreateDBClusterRequest& WithPreferredBackupWindow(PreferredBackupWindowT&& value) { SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value)); return *this;}
258
260
271 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
272 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
273 template<typename PreferredMaintenanceWindowT = Aws::String>
274 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
275 template<typename PreferredMaintenanceWindowT = Aws::String>
276 CreateDBClusterRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value)); return *this;}
278
280
284 inline const Aws::String& GetReplicationSourceIdentifier() const { return m_replicationSourceIdentifier; }
285 inline bool ReplicationSourceIdentifierHasBeenSet() const { return m_replicationSourceIdentifierHasBeenSet; }
286 template<typename ReplicationSourceIdentifierT = Aws::String>
287 void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) { m_replicationSourceIdentifierHasBeenSet = true; m_replicationSourceIdentifier = std::forward<ReplicationSourceIdentifierT>(value); }
288 template<typename ReplicationSourceIdentifierT = Aws::String>
289 CreateDBClusterRequest& WithReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) { SetReplicationSourceIdentifier(std::forward<ReplicationSourceIdentifierT>(value)); return *this;}
291
293
296 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
297 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
298 template<typename TagsT = Aws::Vector<Tag>>
299 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
300 template<typename TagsT = Aws::Vector<Tag>>
301 CreateDBClusterRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
302 template<typename TagsT = Tag>
303 CreateDBClusterRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
305
307
310 inline bool GetStorageEncrypted() const { return m_storageEncrypted; }
311 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
312 inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; }
313 inline CreateDBClusterRequest& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;}
315
317
336 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
337 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
338 template<typename KmsKeyIdT = Aws::String>
339 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
340 template<typename KmsKeyIdT = Aws::String>
341 CreateDBClusterRequest& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
343
345
348 inline const Aws::String& GetPreSignedUrl() const { return m_preSignedUrl; }
349 inline bool PreSignedUrlHasBeenSet() const { return m_preSignedUrlHasBeenSet; }
350 template<typename PreSignedUrlT = Aws::String>
351 void SetPreSignedUrl(PreSignedUrlT&& value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl = std::forward<PreSignedUrlT>(value); }
352 template<typename PreSignedUrlT = Aws::String>
353 CreateDBClusterRequest& WithPreSignedUrl(PreSignedUrlT&& value) { SetPreSignedUrl(std::forward<PreSignedUrlT>(value)); return *this;}
355
357
362 inline bool GetEnableIAMDatabaseAuthentication() const { return m_enableIAMDatabaseAuthentication; }
363 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; }
364 inline void SetEnableIAMDatabaseAuthentication(bool value) { m_enableIAMDatabaseAuthenticationHasBeenSet = true; m_enableIAMDatabaseAuthentication = value; }
367
369
376 inline const Aws::Vector<Aws::String>& GetEnableCloudwatchLogsExports() const { return m_enableCloudwatchLogsExports; }
377 inline bool EnableCloudwatchLogsExportsHasBeenSet() const { return m_enableCloudwatchLogsExportsHasBeenSet; }
378 template<typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
379 void SetEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports = std::forward<EnableCloudwatchLogsExportsT>(value); }
380 template<typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
381 CreateDBClusterRequest& WithEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) { SetEnableCloudwatchLogsExports(std::forward<EnableCloudwatchLogsExportsT>(value)); return *this;}
382 template<typename EnableCloudwatchLogsExportsT = Aws::String>
383 CreateDBClusterRequest& AddEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.emplace_back(std::forward<EnableCloudwatchLogsExportsT>(value)); return *this; }
385
387
392 inline bool GetDeletionProtection() const { return m_deletionProtection; }
393 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
394 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
395 inline CreateDBClusterRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
397
399
405 inline const ServerlessV2ScalingConfiguration& GetServerlessV2ScalingConfiguration() const { return m_serverlessV2ScalingConfiguration; }
406 inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; }
407 template<typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
408 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) { m_serverlessV2ScalingConfigurationHasBeenSet = true; m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value); }
409 template<typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
410 CreateDBClusterRequest& WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) { SetServerlessV2ScalingConfiguration(std::forward<ServerlessV2ScalingConfigurationT>(value)); return *this;}
412
414
418 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
419 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
420 template<typename GlobalClusterIdentifierT = Aws::String>
421 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value); }
422 template<typename GlobalClusterIdentifierT = Aws::String>
423 CreateDBClusterRequest& WithGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) { SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value)); return *this;}
425
427
439 inline const Aws::String& GetStorageType() const { return m_storageType; }
440 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
441 template<typename StorageTypeT = Aws::String>
442 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::forward<StorageTypeT>(value); }
443 template<typename StorageTypeT = Aws::String>
444 CreateDBClusterRequest& WithStorageType(StorageTypeT&& value) { SetStorageType(std::forward<StorageTypeT>(value)); return *this;}
446
448
451 inline const Aws::String& GetSourceRegion() const { return m_sourceRegion; }
452 inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; }
453 template<typename SourceRegionT = Aws::String>
454 void SetSourceRegion(SourceRegionT&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::forward<SourceRegionT>(value); }
455 template<typename SourceRegionT = Aws::String>
456 CreateDBClusterRequest& WithSourceRegion(SourceRegionT&& value) { SetSourceRegion(std::forward<SourceRegionT>(value)); return *this;}
458 private:
459
460 Aws::Vector<Aws::String> m_availabilityZones;
461 bool m_availabilityZonesHasBeenSet = false;
462
463 int m_backupRetentionPeriod{0};
464 bool m_backupRetentionPeriodHasBeenSet = false;
465
466 Aws::String m_characterSetName;
467 bool m_characterSetNameHasBeenSet = false;
468
469 bool m_copyTagsToSnapshot{false};
470 bool m_copyTagsToSnapshotHasBeenSet = false;
471
472 Aws::String m_databaseName;
473 bool m_databaseNameHasBeenSet = false;
474
475 Aws::String m_dBClusterIdentifier;
476 bool m_dBClusterIdentifierHasBeenSet = false;
477
478 Aws::String m_dBClusterParameterGroupName;
479 bool m_dBClusterParameterGroupNameHasBeenSet = false;
480
481 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
482 bool m_vpcSecurityGroupIdsHasBeenSet = false;
483
484 Aws::String m_dBSubnetGroupName;
485 bool m_dBSubnetGroupNameHasBeenSet = false;
486
487 Aws::String m_engine;
488 bool m_engineHasBeenSet = false;
489
490 Aws::String m_engineVersion;
491 bool m_engineVersionHasBeenSet = false;
492
493 int m_port{0};
494 bool m_portHasBeenSet = false;
495
496 Aws::String m_masterUsername;
497 bool m_masterUsernameHasBeenSet = false;
498
499 Aws::String m_masterUserPassword;
500 bool m_masterUserPasswordHasBeenSet = false;
501
502 Aws::String m_optionGroupName;
503 bool m_optionGroupNameHasBeenSet = false;
504
505 Aws::String m_preferredBackupWindow;
506 bool m_preferredBackupWindowHasBeenSet = false;
507
508 Aws::String m_preferredMaintenanceWindow;
509 bool m_preferredMaintenanceWindowHasBeenSet = false;
510
511 Aws::String m_replicationSourceIdentifier;
512 bool m_replicationSourceIdentifierHasBeenSet = false;
513
514 Aws::Vector<Tag> m_tags;
515 bool m_tagsHasBeenSet = false;
516
517 bool m_storageEncrypted{false};
518 bool m_storageEncryptedHasBeenSet = false;
519
520 Aws::String m_kmsKeyId;
521 bool m_kmsKeyIdHasBeenSet = false;
522
523 Aws::String m_preSignedUrl;
524 bool m_preSignedUrlHasBeenSet = false;
525
526 bool m_enableIAMDatabaseAuthentication{false};
527 bool m_enableIAMDatabaseAuthenticationHasBeenSet = false;
528
529 Aws::Vector<Aws::String> m_enableCloudwatchLogsExports;
530 bool m_enableCloudwatchLogsExportsHasBeenSet = false;
531
532 bool m_deletionProtection{false};
533 bool m_deletionProtectionHasBeenSet = false;
534
535 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
536 bool m_serverlessV2ScalingConfigurationHasBeenSet = false;
537
538 Aws::String m_globalClusterIdentifier;
539 bool m_globalClusterIdentifierHasBeenSet = false;
540
541 Aws::String m_storageType;
542 bool m_storageTypeHasBeenSet = false;
543
544 Aws::String m_sourceRegion;
545 bool m_sourceRegionHasBeenSet = false;
546 };
547
548} // namespace Model
549} // namespace Neptune
550} // namespace Aws
const Aws::String & GetPreferredMaintenanceWindow() const
CreateDBClusterRequest & WithEngine(EngineT &&value)
const Aws::String & GetReplicationSourceIdentifier() const
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
AWS_NEPTUNE_API Aws::String SerializePayload() const override
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
CreateDBClusterRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
CreateDBClusterRequest & WithEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
CreateDBClusterRequest & AddAvailabilityZones(AvailabilityZonesT &&value)
CreateDBClusterRequest & WithStorageType(StorageTypeT &&value)
const Aws::Vector< Aws::String > & GetEnableCloudwatchLogsExports() const
CreateDBClusterRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
void SetAvailabilityZones(AvailabilityZonesT &&value)
CreateDBClusterRequest & WithCopyTagsToSnapshot(bool value)
void SetCharacterSetName(CharacterSetNameT &&value)
AWS_NEPTUNE_API CreateDBClusterRequest()=default
CreateDBClusterRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
const Aws::String & GetDBClusterParameterGroupName() const
CreateDBClusterRequest & WithBackupRetentionPeriod(int value)
CreateDBClusterRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
CreateDBClusterRequest & WithMasterUserPassword(MasterUserPasswordT &&value)
CreateDBClusterRequest & WithReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
CreateDBClusterRequest & WithTags(TagsT &&value)
void SetEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
const ServerlessV2ScalingConfiguration & GetServerlessV2ScalingConfiguration() const
CreateDBClusterRequest & WithMasterUsername(MasterUsernameT &&value)
CreateDBClusterRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
CreateDBClusterRequest & WithEngineVersion(EngineVersionT &&value)
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
CreateDBClusterRequest & AddTags(TagsT &&value)
void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateDBClusterRequest & WithDBSubnetGroupName(DBSubnetGroupNameT &&value)
CreateDBClusterRequest & WithEnableIAMDatabaseAuthentication(bool value)
CreateDBClusterRequest & WithOptionGroupName(OptionGroupNameT &&value)
void SetDBSubnetGroupName(DBSubnetGroupNameT &&value)
CreateDBClusterRequest & WithCharacterSetName(CharacterSetNameT &&value)
CreateDBClusterRequest & WithDeletionProtection(bool value)
CreateDBClusterRequest & WithSourceRegion(SourceRegionT &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
void SetMasterUserPassword(MasterUserPasswordT &&value)
CreateDBClusterRequest & WithAvailabilityZones(AvailabilityZonesT &&value)
CreateDBClusterRequest & WithStorageEncrypted(bool value)
CreateDBClusterRequest & WithPreSignedUrl(PreSignedUrlT &&value)
CreateDBClusterRequest & WithKmsKeyId(KmsKeyIdT &&value)
CreateDBClusterRequest & WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
CreateDBClusterRequest & AddEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
CreateDBClusterRequest & WithDatabaseName(DatabaseNameT &&value)
void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
CreateDBClusterRequest & WithPort(int value)
CreateDBClusterRequest & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
CreateDBClusterRequest & WithDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector