AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
50 inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
53 inline CreateDBClusterRequest& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
54 inline CreateDBClusterRequest& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
55 inline CreateDBClusterRequest& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
57
59
64 inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; }
65 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
66 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
69
71
74 inline const Aws::String& GetCharacterSetName() const{ return m_characterSetName; }
75 inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; }
76 inline void SetCharacterSetName(const Aws::String& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = value; }
77 inline void SetCharacterSetName(Aws::String&& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = std::move(value); }
78 inline void SetCharacterSetName(const char* value) { m_characterSetNameHasBeenSet = true; m_characterSetName.assign(value); }
79 inline CreateDBClusterRequest& WithCharacterSetName(const Aws::String& value) { SetCharacterSetName(value); return *this;}
80 inline CreateDBClusterRequest& WithCharacterSetName(Aws::String&& value) { SetCharacterSetName(std::move(value)); return *this;}
81 inline CreateDBClusterRequest& WithCharacterSetName(const char* value) { SetCharacterSetName(value); return *this;}
83
85
89 inline bool GetCopyTagsToSnapshot() const{ return m_copyTagsToSnapshot; }
90 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
91 inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; }
92 inline CreateDBClusterRequest& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;}
94
96
101 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
102 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
103 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
104 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
105 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
106 inline CreateDBClusterRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
107 inline CreateDBClusterRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
108 inline CreateDBClusterRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
110
112
119 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
120 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
121 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
122 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
123 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
125 inline CreateDBClusterRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
126 inline CreateDBClusterRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
128
130
136 inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; }
137 inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
138 inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
139 inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::move(value); }
140 inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); }
145
147
150 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
151 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
152 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; }
153 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); }
156 inline CreateDBClusterRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
157 inline CreateDBClusterRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
158 inline CreateDBClusterRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
160
162
167 inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
168 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
169 inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
170 inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); }
171 inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
173 inline CreateDBClusterRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;}
174 inline CreateDBClusterRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
176
178
182 inline const Aws::String& GetEngine() const{ return m_engine; }
183 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
184 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
185 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
186 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
187 inline CreateDBClusterRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
188 inline CreateDBClusterRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
189 inline CreateDBClusterRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
191
193
197 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
198 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
199 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
200 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
201 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
202 inline CreateDBClusterRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
203 inline CreateDBClusterRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
204 inline CreateDBClusterRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
206
208
212 inline int GetPort() const{ return m_port; }
213 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
214 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
215 inline CreateDBClusterRequest& WithPort(int value) { SetPort(value); return *this;}
217
219
222 inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; }
223 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
224 inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
225 inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); }
226 inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); }
227 inline CreateDBClusterRequest& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;}
228 inline CreateDBClusterRequest& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;}
229 inline CreateDBClusterRequest& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;}
231
233
236 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
237 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
238 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
239 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
240 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
242 inline CreateDBClusterRequest& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
243 inline CreateDBClusterRequest& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
245
247
250 inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; }
251 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
252 inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; }
253 inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); }
254 inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); }
255 inline CreateDBClusterRequest& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;}
256 inline CreateDBClusterRequest& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;}
257 inline CreateDBClusterRequest& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;}
259
261
273 inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; }
274 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
275 inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; }
276 inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); }
277 inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); }
280 inline CreateDBClusterRequest& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;}
282
284
295 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
296 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
297 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
298 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
299 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
304
306
310 inline const Aws::String& GetReplicationSourceIdentifier() const{ return m_replicationSourceIdentifier; }
311 inline bool ReplicationSourceIdentifierHasBeenSet() const { return m_replicationSourceIdentifierHasBeenSet; }
312 inline void SetReplicationSourceIdentifier(const Aws::String& value) { m_replicationSourceIdentifierHasBeenSet = true; m_replicationSourceIdentifier = value; }
313 inline void SetReplicationSourceIdentifier(Aws::String&& value) { m_replicationSourceIdentifierHasBeenSet = true; m_replicationSourceIdentifier = std::move(value); }
314 inline void SetReplicationSourceIdentifier(const char* value) { m_replicationSourceIdentifierHasBeenSet = true; m_replicationSourceIdentifier.assign(value); }
319
321
324 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
325 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
326 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
327 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
328 inline CreateDBClusterRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
329 inline CreateDBClusterRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
330 inline CreateDBClusterRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
331 inline CreateDBClusterRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
333
335
338 inline bool GetStorageEncrypted() const{ return m_storageEncrypted; }
339 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
340 inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; }
341 inline CreateDBClusterRequest& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;}
343
345
364 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
365 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
366 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
367 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
368 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
369 inline CreateDBClusterRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
370 inline CreateDBClusterRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
371 inline CreateDBClusterRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
373
375
378 inline const Aws::String& GetPreSignedUrl() const{ return m_preSignedUrl; }
379 inline bool PreSignedUrlHasBeenSet() const { return m_preSignedUrlHasBeenSet; }
380 inline void SetPreSignedUrl(const Aws::String& value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl = value; }
381 inline void SetPreSignedUrl(Aws::String&& value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl = std::move(value); }
382 inline void SetPreSignedUrl(const char* value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl.assign(value); }
383 inline CreateDBClusterRequest& WithPreSignedUrl(const Aws::String& value) { SetPreSignedUrl(value); return *this;}
384 inline CreateDBClusterRequest& WithPreSignedUrl(Aws::String&& value) { SetPreSignedUrl(std::move(value)); return *this;}
385 inline CreateDBClusterRequest& WithPreSignedUrl(const char* value) { SetPreSignedUrl(value); return *this;}
387
389
394 inline bool GetEnableIAMDatabaseAuthentication() const{ return m_enableIAMDatabaseAuthentication; }
395 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; }
396 inline void SetEnableIAMDatabaseAuthentication(bool value) { m_enableIAMDatabaseAuthenticationHasBeenSet = true; m_enableIAMDatabaseAuthentication = value; }
399
401
408 inline const Aws::Vector<Aws::String>& GetEnableCloudwatchLogsExports() const{ return m_enableCloudwatchLogsExports; }
409 inline bool EnableCloudwatchLogsExportsHasBeenSet() const { return m_enableCloudwatchLogsExportsHasBeenSet; }
410 inline void SetEnableCloudwatchLogsExports(const Aws::Vector<Aws::String>& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports = value; }
411 inline void SetEnableCloudwatchLogsExports(Aws::Vector<Aws::String>&& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports = std::move(value); }
414 inline CreateDBClusterRequest& AddEnableCloudwatchLogsExports(const Aws::String& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(value); return *this; }
415 inline CreateDBClusterRequest& AddEnableCloudwatchLogsExports(Aws::String&& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(std::move(value)); return *this; }
416 inline CreateDBClusterRequest& AddEnableCloudwatchLogsExports(const char* value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(value); return *this; }
418
420
425 inline bool GetDeletionProtection() const{ return m_deletionProtection; }
426 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
427 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
428 inline CreateDBClusterRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
430
432
438 inline const ServerlessV2ScalingConfiguration& GetServerlessV2ScalingConfiguration() const{ return m_serverlessV2ScalingConfiguration; }
439 inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; }
440 inline void SetServerlessV2ScalingConfiguration(const ServerlessV2ScalingConfiguration& value) { m_serverlessV2ScalingConfigurationHasBeenSet = true; m_serverlessV2ScalingConfiguration = value; }
441 inline void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration&& value) { m_serverlessV2ScalingConfigurationHasBeenSet = true; m_serverlessV2ScalingConfiguration = std::move(value); }
445
447
451 inline const Aws::String& GetGlobalClusterIdentifier() const{ return m_globalClusterIdentifier; }
452 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
453 inline void SetGlobalClusterIdentifier(const Aws::String& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = value; }
454 inline void SetGlobalClusterIdentifier(Aws::String&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::move(value); }
455 inline void SetGlobalClusterIdentifier(const char* value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier.assign(value); }
458 inline CreateDBClusterRequest& WithGlobalClusterIdentifier(const char* value) { SetGlobalClusterIdentifier(value); return *this;}
460
462
470 inline const Aws::String& GetStorageType() const{ return m_storageType; }
471 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
472 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
473 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
474 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
475 inline CreateDBClusterRequest& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
476 inline CreateDBClusterRequest& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
477 inline CreateDBClusterRequest& WithStorageType(const char* value) { SetStorageType(value); return *this;}
479
481
484 inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; }
485 inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; }
486 inline void SetSourceRegion(const Aws::String& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = value; }
487 inline void SetSourceRegion(Aws::String&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::move(value); }
488 inline void SetSourceRegion(const char* value) { m_sourceRegionHasBeenSet = true; m_sourceRegion.assign(value); }
489 inline CreateDBClusterRequest& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;}
490 inline CreateDBClusterRequest& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;}
491 inline CreateDBClusterRequest& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;}
493 private:
494
495 Aws::Vector<Aws::String> m_availabilityZones;
496 bool m_availabilityZonesHasBeenSet = false;
497
498 int m_backupRetentionPeriod;
499 bool m_backupRetentionPeriodHasBeenSet = false;
500
501 Aws::String m_characterSetName;
502 bool m_characterSetNameHasBeenSet = false;
503
504 bool m_copyTagsToSnapshot;
505 bool m_copyTagsToSnapshotHasBeenSet = false;
506
507 Aws::String m_databaseName;
508 bool m_databaseNameHasBeenSet = false;
509
510 Aws::String m_dBClusterIdentifier;
511 bool m_dBClusterIdentifierHasBeenSet = false;
512
513 Aws::String m_dBClusterParameterGroupName;
514 bool m_dBClusterParameterGroupNameHasBeenSet = false;
515
516 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
517 bool m_vpcSecurityGroupIdsHasBeenSet = false;
518
519 Aws::String m_dBSubnetGroupName;
520 bool m_dBSubnetGroupNameHasBeenSet = false;
521
522 Aws::String m_engine;
523 bool m_engineHasBeenSet = false;
524
525 Aws::String m_engineVersion;
526 bool m_engineVersionHasBeenSet = false;
527
528 int m_port;
529 bool m_portHasBeenSet = false;
530
531 Aws::String m_masterUsername;
532 bool m_masterUsernameHasBeenSet = false;
533
534 Aws::String m_masterUserPassword;
535 bool m_masterUserPasswordHasBeenSet = false;
536
537 Aws::String m_optionGroupName;
538 bool m_optionGroupNameHasBeenSet = false;
539
540 Aws::String m_preferredBackupWindow;
541 bool m_preferredBackupWindowHasBeenSet = false;
542
543 Aws::String m_preferredMaintenanceWindow;
544 bool m_preferredMaintenanceWindowHasBeenSet = false;
545
546 Aws::String m_replicationSourceIdentifier;
547 bool m_replicationSourceIdentifierHasBeenSet = false;
548
549 Aws::Vector<Tag> m_tags;
550 bool m_tagsHasBeenSet = false;
551
552 bool m_storageEncrypted;
553 bool m_storageEncryptedHasBeenSet = false;
554
555 Aws::String m_kmsKeyId;
556 bool m_kmsKeyIdHasBeenSet = false;
557
558 Aws::String m_preSignedUrl;
559 bool m_preSignedUrlHasBeenSet = false;
560
561 bool m_enableIAMDatabaseAuthentication;
562 bool m_enableIAMDatabaseAuthenticationHasBeenSet = false;
563
564 Aws::Vector<Aws::String> m_enableCloudwatchLogsExports;
565 bool m_enableCloudwatchLogsExportsHasBeenSet = false;
566
567 bool m_deletionProtection;
568 bool m_deletionProtectionHasBeenSet = false;
569
570 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
571 bool m_serverlessV2ScalingConfigurationHasBeenSet = false;
572
573 Aws::String m_globalClusterIdentifier;
574 bool m_globalClusterIdentifierHasBeenSet = false;
575
576 Aws::String m_storageType;
577 bool m_storageTypeHasBeenSet = false;
578
579 Aws::String m_sourceRegion;
580 bool m_sourceRegionHasBeenSet = false;
581 };
582
583} // namespace Model
584} // namespace Neptune
585} // namespace Aws
CreateDBClusterRequest & WithDatabaseName(Aws::String &&value)
const Aws::String & GetPreferredMaintenanceWindow() const
const Aws::String & GetReplicationSourceIdentifier() const
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
CreateDBClusterRequest & WithPreSignedUrl(const Aws::String &value)
CreateDBClusterRequest & WithPreferredBackupWindow(Aws::String &&value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
CreateDBClusterRequest & WithCharacterSetName(const Aws::String &value)
CreateDBClusterRequest & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
CreateDBClusterRequest & AddTags(Tag &&value)
CreateDBClusterRequest & WithServerlessV2ScalingConfiguration(const ServerlessV2ScalingConfiguration &value)
const Aws::Vector< Aws::String > & GetEnableCloudwatchLogsExports() const
CreateDBClusterRequest & WithPreferredBackupWindow(const Aws::String &value)
CreateDBClusterRequest & WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration &&value)
CreateDBClusterRequest & WithDBClusterParameterGroupName(const Aws::String &value)
CreateDBClusterRequest & AddAvailabilityZones(const char *value)
CreateDBClusterRequest & WithDatabaseName(const char *value)
CreateDBClusterRequest & WithDBClusterParameterGroupName(Aws::String &&value)
CreateDBClusterRequest & WithSourceRegion(Aws::String &&value)
CreateDBClusterRequest & WithReplicationSourceIdentifier(const Aws::String &value)
CreateDBClusterRequest & AddEnableCloudwatchLogsExports(Aws::String &&value)
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
CreateDBClusterRequest & WithTags(Aws::Vector< Tag > &&value)
void SetDBClusterParameterGroupName(const Aws::String &value)
CreateDBClusterRequest & WithMasterUserPassword(Aws::String &&value)
CreateDBClusterRequest & WithMasterUserPassword(const char *value)
void SetMasterUserPassword(const Aws::String &value)
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
void SetReplicationSourceIdentifier(const Aws::String &value)
CreateDBClusterRequest & WithReplicationSourceIdentifier(Aws::String &&value)
CreateDBClusterRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
CreateDBClusterRequest & WithSourceRegion(const char *value)
CreateDBClusterRequest & WithSourceRegion(const Aws::String &value)
CreateDBClusterRequest & WithPreSignedUrl(const char *value)
CreateDBClusterRequest & WithCopyTagsToSnapshot(bool value)
CreateDBClusterRequest & WithReplicationSourceIdentifier(const char *value)
CreateDBClusterRequest & AddAvailabilityZones(Aws::String &&value)
CreateDBClusterRequest & WithDBClusterParameterGroupName(const char *value)
CreateDBClusterRequest & WithDatabaseName(const Aws::String &value)
CreateDBClusterRequest & WithStorageType(Aws::String &&value)
void SetDBSubnetGroupName(const Aws::String &value)
CreateDBClusterRequest & AddEnableCloudwatchLogsExports(const Aws::String &value)
const Aws::String & GetDBClusterParameterGroupName() const
CreateDBClusterRequest & WithBackupRetentionPeriod(int value)
CreateDBClusterRequest & AddVpcSecurityGroupIds(const Aws::String &value)
CreateDBClusterRequest & WithGlobalClusterIdentifier(const Aws::String &value)
CreateDBClusterRequest & WithStorageType(const char *value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateDBClusterRequest & WithDBSubnetGroupName(const Aws::String &value)
void SetEnableCloudwatchLogsExports(const Aws::Vector< Aws::String > &value)
CreateDBClusterRequest & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
CreateDBClusterRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
CreateDBClusterRequest & AddVpcSecurityGroupIds(const char *value)
CreateDBClusterRequest & WithPreferredBackupWindow(const char *value)
CreateDBClusterRequest & WithPreferredMaintenanceWindow(const char *value)
CreateDBClusterRequest & WithEngine(const Aws::String &value)
CreateDBClusterRequest & AddVpcSecurityGroupIds(Aws::String &&value)
CreateDBClusterRequest & WithMasterUsername(Aws::String &&value)
const ServerlessV2ScalingConfiguration & GetServerlessV2ScalingConfiguration() const
CreateDBClusterRequest & WithEnableCloudwatchLogsExports(const Aws::Vector< Aws::String > &value)
CreateDBClusterRequest & WithEngine(Aws::String &&value)
CreateDBClusterRequest & WithEngine(const char *value)
void SetCharacterSetName(const Aws::String &value)
CreateDBClusterRequest & AddTags(const Tag &value)
CreateDBClusterRequest & WithCharacterSetName(Aws::String &&value)
CreateDBClusterRequest & WithStorageType(const Aws::String &value)
CreateDBClusterRequest & WithEnableCloudwatchLogsExports(Aws::Vector< Aws::String > &&value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
CreateDBClusterRequest & WithDBClusterIdentifier(const Aws::String &value)
void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateDBClusterRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateDBClusterRequest & WithDBSubnetGroupName(Aws::String &&value)
CreateDBClusterRequest & WithGlobalClusterIdentifier(Aws::String &&value)
CreateDBClusterRequest & WithEnableIAMDatabaseAuthentication(bool value)
CreateDBClusterRequest & WithOptionGroupName(Aws::String &&value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateDBClusterRequest & AddEnableCloudwatchLogsExports(const char *value)
CreateDBClusterRequest & WithMasterUsername(const Aws::String &value)
CreateDBClusterRequest & WithMasterUserPassword(const Aws::String &value)
CreateDBClusterRequest & WithDeletionProtection(bool value)
CreateDBClusterRequest & WithDBSubnetGroupName(const char *value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
CreateDBClusterRequest & WithKmsKeyId(Aws::String &&value)
void SetDBClusterIdentifier(const Aws::String &value)
CreateDBClusterRequest & WithOptionGroupName(const Aws::String &value)
CreateDBClusterRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDBClusterRequest & WithEngineVersion(Aws::String &&value)
CreateDBClusterRequest & WithCharacterSetName(const char *value)
CreateDBClusterRequest & WithKmsKeyId(const Aws::String &value)
CreateDBClusterRequest & WithStorageEncrypted(bool value)
CreateDBClusterRequest & WithMasterUsername(const char *value)
CreateDBClusterRequest & AddAvailabilityZones(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateDBClusterRequest & WithEngineVersion(const Aws::String &value)
CreateDBClusterRequest & WithOptionGroupName(const char *value)
CreateDBClusterRequest & WithPreSignedUrl(Aws::String &&value)
CreateDBClusterRequest & WithDBClusterIdentifier(const char *value)
void SetPreferredBackupWindow(const Aws::String &value)
CreateDBClusterRequest & WithGlobalClusterIdentifier(const char *value)
CreateDBClusterRequest & WithKmsKeyId(const char *value)
CreateDBClusterRequest & WithDBClusterIdentifier(Aws::String &&value)
CreateDBClusterRequest & WithEngineVersion(const char *value)
CreateDBClusterRequest & WithPort(int value)
void SetEnableCloudwatchLogsExports(Aws::Vector< Aws::String > &&value)
void SetServerlessV2ScalingConfiguration(const ServerlessV2ScalingConfiguration &value)
void SetGlobalClusterIdentifier(const Aws::String &value)
CreateDBClusterRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&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