AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyDBInstanceRequest.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/neptune/model/CloudwatchLogsExportConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Neptune
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_NEPTUNE_API ModifyDBInstanceRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ModifyDBInstance"; }
33
34 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
47 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
48 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
49 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
50 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
51 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
53 inline ModifyDBInstanceRequest& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
54 inline ModifyDBInstanceRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
56
58
61 inline int GetAllocatedStorage() const{ return m_allocatedStorage; }
62 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
63 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
64 inline ModifyDBInstanceRequest& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
66
68
76 inline const Aws::String& GetDBInstanceClass() const{ return m_dBInstanceClass; }
77 inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; }
78 inline void SetDBInstanceClass(const Aws::String& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = value; }
79 inline void SetDBInstanceClass(Aws::String&& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = std::move(value); }
80 inline void SetDBInstanceClass(const char* value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass.assign(value); }
81 inline ModifyDBInstanceRequest& WithDBInstanceClass(const Aws::String& value) { SetDBInstanceClass(value); return *this;}
82 inline ModifyDBInstanceRequest& WithDBInstanceClass(Aws::String&& value) { SetDBInstanceClass(std::move(value)); return *this;}
83 inline ModifyDBInstanceRequest& WithDBInstanceClass(const char* value) { SetDBInstanceClass(value); return *this;}
85
87
96 inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
97 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
98 inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
99 inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); }
100 inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
102 inline ModifyDBInstanceRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;}
103 inline ModifyDBInstanceRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
105
107
113 inline const Aws::Vector<Aws::String>& GetDBSecurityGroups() const{ return m_dBSecurityGroups; }
114 inline bool DBSecurityGroupsHasBeenSet() const { return m_dBSecurityGroupsHasBeenSet; }
115 inline void SetDBSecurityGroups(const Aws::Vector<Aws::String>& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups = value; }
116 inline void SetDBSecurityGroups(Aws::Vector<Aws::String>&& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups = std::move(value); }
119 inline ModifyDBInstanceRequest& AddDBSecurityGroups(const Aws::String& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups.push_back(value); return *this; }
120 inline ModifyDBInstanceRequest& AddDBSecurityGroups(Aws::String&& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups.push_back(std::move(value)); return *this; }
121 inline ModifyDBInstanceRequest& AddDBSecurityGroups(const char* value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups.push_back(value); return *this; }
123
125
132 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
133 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
134 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; }
135 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); }
138 inline ModifyDBInstanceRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
139 inline ModifyDBInstanceRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
140 inline ModifyDBInstanceRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
142
144
153 inline bool GetApplyImmediately() const{ return m_applyImmediately; }
154 inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
155 inline void SetApplyImmediately(bool value) { m_applyImmediatelyHasBeenSet = true; m_applyImmediately = value; }
156 inline ModifyDBInstanceRequest& WithApplyImmediately(bool value) { SetApplyImmediately(value); return *this;}
158
160
163 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
164 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
165 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
166 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
167 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
169 inline ModifyDBInstanceRequest& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
170 inline ModifyDBInstanceRequest& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
172
174
184 inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
185 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
186 inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
187 inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); }
188 inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
190 inline ModifyDBInstanceRequest& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;}
191 inline ModifyDBInstanceRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
193
195
200 inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; }
201 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
202 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
205
207
216 inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; }
217 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
218 inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; }
219 inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); }
220 inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); }
223 inline ModifyDBInstanceRequest& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;}
225
227
240 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
241 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
242 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
243 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
244 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
249
251
257 inline bool GetMultiAZ() const{ return m_multiAZ; }
258 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
259 inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
260 inline ModifyDBInstanceRequest& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
262
264
269 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
270 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
271 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
272 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
273 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
274 inline ModifyDBInstanceRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
275 inline ModifyDBInstanceRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
276 inline ModifyDBInstanceRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
278
280
285 inline bool GetAllowMajorVersionUpgrade() const{ return m_allowMajorVersionUpgrade; }
286 inline bool AllowMajorVersionUpgradeHasBeenSet() const { return m_allowMajorVersionUpgradeHasBeenSet; }
287 inline void SetAllowMajorVersionUpgrade(bool value) { m_allowMajorVersionUpgradeHasBeenSet = true; m_allowMajorVersionUpgrade = value; }
290
292
300 inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
301 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
302 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
305
307
310 inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; }
311 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
312 inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; }
313 inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); }
314 inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); }
315 inline ModifyDBInstanceRequest& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;}
316 inline ModifyDBInstanceRequest& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;}
317 inline ModifyDBInstanceRequest& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;}
319
321
328 inline int GetIops() const{ return m_iops; }
329 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
330 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
331 inline ModifyDBInstanceRequest& WithIops(int value) { SetIops(value); return *this;}
333
335
338 inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; }
339 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
340 inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; }
341 inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); }
342 inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); }
343 inline ModifyDBInstanceRequest& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;}
344 inline ModifyDBInstanceRequest& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;}
345 inline ModifyDBInstanceRequest& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;}
347
349
360 inline const Aws::String& GetNewDBInstanceIdentifier() const{ return m_newDBInstanceIdentifier; }
361 inline bool NewDBInstanceIdentifierHasBeenSet() const { return m_newDBInstanceIdentifierHasBeenSet; }
362 inline void SetNewDBInstanceIdentifier(const Aws::String& value) { m_newDBInstanceIdentifierHasBeenSet = true; m_newDBInstanceIdentifier = value; }
363 inline void SetNewDBInstanceIdentifier(Aws::String&& value) { m_newDBInstanceIdentifierHasBeenSet = true; m_newDBInstanceIdentifier = std::move(value); }
364 inline void SetNewDBInstanceIdentifier(const char* value) { m_newDBInstanceIdentifierHasBeenSet = true; m_newDBInstanceIdentifier.assign(value); }
367 inline ModifyDBInstanceRequest& WithNewDBInstanceIdentifier(const char* value) { SetNewDBInstanceIdentifier(value); return *this;}
369
371
374 inline const Aws::String& GetStorageType() const{ return m_storageType; }
375 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
376 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
377 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
378 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
379 inline ModifyDBInstanceRequest& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
380 inline ModifyDBInstanceRequest& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
381 inline ModifyDBInstanceRequest& WithStorageType(const char* value) { SetStorageType(value); return *this;}
383
385
389 inline const Aws::String& GetTdeCredentialArn() const{ return m_tdeCredentialArn; }
390 inline bool TdeCredentialArnHasBeenSet() const { return m_tdeCredentialArnHasBeenSet; }
391 inline void SetTdeCredentialArn(const Aws::String& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = value; }
392 inline void SetTdeCredentialArn(Aws::String&& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = std::move(value); }
393 inline void SetTdeCredentialArn(const char* value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn.assign(value); }
395 inline ModifyDBInstanceRequest& WithTdeCredentialArn(Aws::String&& value) { SetTdeCredentialArn(std::move(value)); return *this;}
396 inline ModifyDBInstanceRequest& WithTdeCredentialArn(const char* value) { SetTdeCredentialArn(value); return *this;}
398
400
404 inline const Aws::String& GetTdeCredentialPassword() const{ return m_tdeCredentialPassword; }
405 inline bool TdeCredentialPasswordHasBeenSet() const { return m_tdeCredentialPasswordHasBeenSet; }
406 inline void SetTdeCredentialPassword(const Aws::String& value) { m_tdeCredentialPasswordHasBeenSet = true; m_tdeCredentialPassword = value; }
407 inline void SetTdeCredentialPassword(Aws::String&& value) { m_tdeCredentialPasswordHasBeenSet = true; m_tdeCredentialPassword = std::move(value); }
408 inline void SetTdeCredentialPassword(const char* value) { m_tdeCredentialPasswordHasBeenSet = true; m_tdeCredentialPassword.assign(value); }
411 inline ModifyDBInstanceRequest& WithTdeCredentialPassword(const char* value) { SetTdeCredentialPassword(value); return *this;}
413
415
418 inline const Aws::String& GetCACertificateIdentifier() const{ return m_cACertificateIdentifier; }
419 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
420 inline void SetCACertificateIdentifier(const Aws::String& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = value; }
421 inline void SetCACertificateIdentifier(Aws::String&& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = std::move(value); }
422 inline void SetCACertificateIdentifier(const char* value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier.assign(value); }
425 inline ModifyDBInstanceRequest& WithCACertificateIdentifier(const char* value) { SetCACertificateIdentifier(value); return *this;}
427
429
432 inline const Aws::String& GetDomain() const{ return m_domain; }
433 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
434 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
435 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
436 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
437 inline ModifyDBInstanceRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
438 inline ModifyDBInstanceRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
439 inline ModifyDBInstanceRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
441
443
447 inline bool GetCopyTagsToSnapshot() const{ return m_copyTagsToSnapshot; }
448 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
449 inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; }
450 inline ModifyDBInstanceRequest& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;}
452
454
461 inline int GetMonitoringInterval() const{ return m_monitoringInterval; }
462 inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; }
463 inline void SetMonitoringInterval(int value) { m_monitoringIntervalHasBeenSet = true; m_monitoringInterval = value; }
464 inline ModifyDBInstanceRequest& WithMonitoringInterval(int value) { SetMonitoringInterval(value); return *this;}
466
468
476 inline int GetDBPortNumber() const{ return m_dBPortNumber; }
477 inline bool DBPortNumberHasBeenSet() const { return m_dBPortNumberHasBeenSet; }
478 inline void SetDBPortNumber(int value) { m_dBPortNumberHasBeenSet = true; m_dBPortNumber = value; }
479 inline ModifyDBInstanceRequest& WithDBPortNumber(int value) { SetDBPortNumber(value); return *this;}
481
483
490 inline const Aws::String& GetMonitoringRoleArn() const{ return m_monitoringRoleArn; }
491 inline bool MonitoringRoleArnHasBeenSet() const { return m_monitoringRoleArnHasBeenSet; }
492 inline void SetMonitoringRoleArn(const Aws::String& value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn = value; }
493 inline void SetMonitoringRoleArn(Aws::String&& value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn = std::move(value); }
494 inline void SetMonitoringRoleArn(const char* value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn.assign(value); }
496 inline ModifyDBInstanceRequest& WithMonitoringRoleArn(Aws::String&& value) { SetMonitoringRoleArn(std::move(value)); return *this;}
497 inline ModifyDBInstanceRequest& WithMonitoringRoleArn(const char* value) { SetMonitoringRoleArn(value); return *this;}
499
501
504 inline const Aws::String& GetDomainIAMRoleName() const{ return m_domainIAMRoleName; }
505 inline bool DomainIAMRoleNameHasBeenSet() const { return m_domainIAMRoleNameHasBeenSet; }
506 inline void SetDomainIAMRoleName(const Aws::String& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = value; }
507 inline void SetDomainIAMRoleName(Aws::String&& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = std::move(value); }
508 inline void SetDomainIAMRoleName(const char* value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName.assign(value); }
510 inline ModifyDBInstanceRequest& WithDomainIAMRoleName(Aws::String&& value) { SetDomainIAMRoleName(std::move(value)); return *this;}
511 inline ModifyDBInstanceRequest& WithDomainIAMRoleName(const char* value) { SetDomainIAMRoleName(value); return *this;}
513
515
520 inline int GetPromotionTier() const{ return m_promotionTier; }
521 inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; }
522 inline void SetPromotionTier(int value) { m_promotionTierHasBeenSet = true; m_promotionTier = value; }
523 inline ModifyDBInstanceRequest& WithPromotionTier(int value) { SetPromotionTier(value); return *this;}
525
527
535 inline bool GetEnableIAMDatabaseAuthentication() const{ return m_enableIAMDatabaseAuthentication; }
536 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; }
537 inline void SetEnableIAMDatabaseAuthentication(bool value) { m_enableIAMDatabaseAuthenticationHasBeenSet = true; m_enableIAMDatabaseAuthentication = value; }
540
542
545 inline bool GetEnablePerformanceInsights() const{ return m_enablePerformanceInsights; }
546 inline bool EnablePerformanceInsightsHasBeenSet() const { return m_enablePerformanceInsightsHasBeenSet; }
547 inline void SetEnablePerformanceInsights(bool value) { m_enablePerformanceInsightsHasBeenSet = true; m_enablePerformanceInsights = value; }
550
552
555 inline const Aws::String& GetPerformanceInsightsKMSKeyId() const{ return m_performanceInsightsKMSKeyId; }
556 inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; }
557 inline void SetPerformanceInsightsKMSKeyId(const Aws::String& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = value; }
558 inline void SetPerformanceInsightsKMSKeyId(Aws::String&& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = std::move(value); }
559 inline void SetPerformanceInsightsKMSKeyId(const char* value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId.assign(value); }
564
566
570 inline const CloudwatchLogsExportConfiguration& GetCloudwatchLogsExportConfiguration() const{ return m_cloudwatchLogsExportConfiguration; }
571 inline bool CloudwatchLogsExportConfigurationHasBeenSet() const { return m_cloudwatchLogsExportConfigurationHasBeenSet; }
572 inline void SetCloudwatchLogsExportConfiguration(const CloudwatchLogsExportConfiguration& value) { m_cloudwatchLogsExportConfigurationHasBeenSet = true; m_cloudwatchLogsExportConfiguration = value; }
573 inline void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration&& value) { m_cloudwatchLogsExportConfigurationHasBeenSet = true; m_cloudwatchLogsExportConfiguration = std::move(value); }
577
579
586 inline bool GetDeletionProtection() const{ return m_deletionProtection; }
587 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
588 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
589 inline ModifyDBInstanceRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
591 private:
592
593 Aws::String m_dBInstanceIdentifier;
594 bool m_dBInstanceIdentifierHasBeenSet = false;
595
596 int m_allocatedStorage;
597 bool m_allocatedStorageHasBeenSet = false;
598
599 Aws::String m_dBInstanceClass;
600 bool m_dBInstanceClassHasBeenSet = false;
601
602 Aws::String m_dBSubnetGroupName;
603 bool m_dBSubnetGroupNameHasBeenSet = false;
604
605 Aws::Vector<Aws::String> m_dBSecurityGroups;
606 bool m_dBSecurityGroupsHasBeenSet = false;
607
608 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
609 bool m_vpcSecurityGroupIdsHasBeenSet = false;
610
611 bool m_applyImmediately;
612 bool m_applyImmediatelyHasBeenSet = false;
613
614 Aws::String m_masterUserPassword;
615 bool m_masterUserPasswordHasBeenSet = false;
616
617 Aws::String m_dBParameterGroupName;
618 bool m_dBParameterGroupNameHasBeenSet = false;
619
620 int m_backupRetentionPeriod;
621 bool m_backupRetentionPeriodHasBeenSet = false;
622
623 Aws::String m_preferredBackupWindow;
624 bool m_preferredBackupWindowHasBeenSet = false;
625
626 Aws::String m_preferredMaintenanceWindow;
627 bool m_preferredMaintenanceWindowHasBeenSet = false;
628
629 bool m_multiAZ;
630 bool m_multiAZHasBeenSet = false;
631
632 Aws::String m_engineVersion;
633 bool m_engineVersionHasBeenSet = false;
634
635 bool m_allowMajorVersionUpgrade;
636 bool m_allowMajorVersionUpgradeHasBeenSet = false;
637
638 bool m_autoMinorVersionUpgrade;
639 bool m_autoMinorVersionUpgradeHasBeenSet = false;
640
641 Aws::String m_licenseModel;
642 bool m_licenseModelHasBeenSet = false;
643
644 int m_iops;
645 bool m_iopsHasBeenSet = false;
646
647 Aws::String m_optionGroupName;
648 bool m_optionGroupNameHasBeenSet = false;
649
650 Aws::String m_newDBInstanceIdentifier;
651 bool m_newDBInstanceIdentifierHasBeenSet = false;
652
653 Aws::String m_storageType;
654 bool m_storageTypeHasBeenSet = false;
655
656 Aws::String m_tdeCredentialArn;
657 bool m_tdeCredentialArnHasBeenSet = false;
658
659 Aws::String m_tdeCredentialPassword;
660 bool m_tdeCredentialPasswordHasBeenSet = false;
661
662 Aws::String m_cACertificateIdentifier;
663 bool m_cACertificateIdentifierHasBeenSet = false;
664
665 Aws::String m_domain;
666 bool m_domainHasBeenSet = false;
667
668 bool m_copyTagsToSnapshot;
669 bool m_copyTagsToSnapshotHasBeenSet = false;
670
671 int m_monitoringInterval;
672 bool m_monitoringIntervalHasBeenSet = false;
673
674 int m_dBPortNumber;
675 bool m_dBPortNumberHasBeenSet = false;
676
677 Aws::String m_monitoringRoleArn;
678 bool m_monitoringRoleArnHasBeenSet = false;
679
680 Aws::String m_domainIAMRoleName;
681 bool m_domainIAMRoleNameHasBeenSet = false;
682
683 int m_promotionTier;
684 bool m_promotionTierHasBeenSet = false;
685
686 bool m_enableIAMDatabaseAuthentication;
687 bool m_enableIAMDatabaseAuthenticationHasBeenSet = false;
688
689 bool m_enablePerformanceInsights;
690 bool m_enablePerformanceInsightsHasBeenSet = false;
691
692 Aws::String m_performanceInsightsKMSKeyId;
693 bool m_performanceInsightsKMSKeyIdHasBeenSet = false;
694
695 CloudwatchLogsExportConfiguration m_cloudwatchLogsExportConfiguration;
696 bool m_cloudwatchLogsExportConfigurationHasBeenSet = false;
697
698 bool m_deletionProtection;
699 bool m_deletionProtectionHasBeenSet = false;
700 };
701
702} // namespace Model
703} // namespace Neptune
704} // namespace Aws
ModifyDBInstanceRequest & WithIops(int value)
ModifyDBInstanceRequest & WithDBSubnetGroupName(const Aws::String &value)
ModifyDBInstanceRequest & WithApplyImmediately(bool value)
void SetDBSecurityGroups(const Aws::Vector< Aws::String > &value)
ModifyDBInstanceRequest & WithDomain(const char *value)
ModifyDBInstanceRequest & WithDBInstanceIdentifier(const char *value)
ModifyDBInstanceRequest & WithOptionGroupName(const char *value)
ModifyDBInstanceRequest & WithEngineVersion(const char *value)
ModifyDBInstanceRequest & WithLicenseModel(const Aws::String &value)
ModifyDBInstanceRequest & WithPerformanceInsightsKMSKeyId(Aws::String &&value)
ModifyDBInstanceRequest & WithAllowMajorVersionUpgrade(bool value)
ModifyDBInstanceRequest & WithDomainIAMRoleName(const Aws::String &value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const CloudwatchLogsExportConfiguration & GetCloudwatchLogsExportConfiguration() const
ModifyDBInstanceRequest & WithDBInstanceIdentifier(const Aws::String &value)
void SetCloudwatchLogsExportConfiguration(const CloudwatchLogsExportConfiguration &value)
ModifyDBInstanceRequest & WithMonitoringInterval(int value)
ModifyDBInstanceRequest & WithOptionGroupName(const Aws::String &value)
ModifyDBInstanceRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
ModifyDBInstanceRequest & WithBackupRetentionPeriod(int value)
ModifyDBInstanceRequest & WithMasterUserPassword(const char *value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
ModifyDBInstanceRequest & WithCloudwatchLogsExportConfiguration(const CloudwatchLogsExportConfiguration &value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ModifyDBInstanceRequest & WithCACertificateIdentifier(const char *value)
ModifyDBInstanceRequest & WithOptionGroupName(Aws::String &&value)
ModifyDBInstanceRequest & WithMasterUserPassword(Aws::String &&value)
ModifyDBInstanceRequest & WithStorageType(Aws::String &&value)
ModifyDBInstanceRequest & WithCACertificateIdentifier(const Aws::String &value)
ModifyDBInstanceRequest & WithDBInstanceIdentifier(Aws::String &&value)
void SetDBSecurityGroups(Aws::Vector< Aws::String > &&value)
ModifyDBInstanceRequest & WithMonitoringRoleArn(const char *value)
ModifyDBInstanceRequest & WithDBParameterGroupName(const Aws::String &value)
void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration &&value)
ModifyDBInstanceRequest & WithEngineVersion(Aws::String &&value)
ModifyDBInstanceRequest & WithTdeCredentialArn(const char *value)
ModifyDBInstanceRequest & WithDeletionProtection(bool value)
ModifyDBInstanceRequest & WithCACertificateIdentifier(Aws::String &&value)
void SetPerformanceInsightsKMSKeyId(const Aws::String &value)
ModifyDBInstanceRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ModifyDBInstanceRequest & WithDBParameterGroupName(const char *value)
ModifyDBInstanceRequest & WithStorageType(const Aws::String &value)
ModifyDBInstanceRequest & WithCopyTagsToSnapshot(bool value)
ModifyDBInstanceRequest & WithDBInstanceClass(const Aws::String &value)
ModifyDBInstanceRequest & WithPreferredBackupWindow(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ModifyDBInstanceRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ModifyDBInstanceRequest & AddVpcSecurityGroupIds(Aws::String &&value)
ModifyDBInstanceRequest & WithPreferredMaintenanceWindow(const char *value)
void SetCACertificateIdentifier(const Aws::String &value)
ModifyDBInstanceRequest & AddDBSecurityGroups(Aws::String &&value)
ModifyDBInstanceRequest & WithTdeCredentialPassword(const Aws::String &value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyDBInstanceRequest & AddDBSecurityGroups(const Aws::String &value)
ModifyDBInstanceRequest & WithDBInstanceClass(Aws::String &&value)
ModifyDBInstanceRequest & WithPromotionTier(int value)
void SetDBInstanceIdentifier(const Aws::String &value)
ModifyDBInstanceRequest & WithDBSubnetGroupName(Aws::String &&value)
ModifyDBInstanceRequest & WithPerformanceInsightsKMSKeyId(const char *value)
ModifyDBInstanceRequest & WithAutoMinorVersionUpgrade(bool value)
ModifyDBInstanceRequest & WithAllocatedStorage(int value)
const Aws::Vector< Aws::String > & GetDBSecurityGroups() const
ModifyDBInstanceRequest & WithDBPortNumber(int value)
ModifyDBInstanceRequest & WithCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration &&value)
ModifyDBInstanceRequest & WithNewDBInstanceIdentifier(const Aws::String &value)
ModifyDBInstanceRequest & WithTdeCredentialArn(Aws::String &&value)
ModifyDBInstanceRequest & WithTdeCredentialArn(const Aws::String &value)
ModifyDBInstanceRequest & WithDBSecurityGroups(Aws::Vector< Aws::String > &&value)
ModifyDBInstanceRequest & WithMonitoringRoleArn(Aws::String &&value)
ModifyDBInstanceRequest & WithNewDBInstanceIdentifier(const char *value)
ModifyDBInstanceRequest & WithDomainIAMRoleName(const char *value)
ModifyDBInstanceRequest & WithMasterUserPassword(const Aws::String &value)
void SetTdeCredentialPassword(const Aws::String &value)
ModifyDBInstanceRequest & WithEnablePerformanceInsights(bool value)
ModifyDBInstanceRequest & WithDomain(const Aws::String &value)
void SetNewDBInstanceIdentifier(const Aws::String &value)
ModifyDBInstanceRequest & AddDBSecurityGroups(const char *value)
ModifyDBInstanceRequest & AddVpcSecurityGroupIds(const Aws::String &value)
ModifyDBInstanceRequest & WithStorageType(const char *value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
ModifyDBInstanceRequest & WithDBSubnetGroupName(const char *value)
ModifyDBInstanceRequest & WithLicenseModel(Aws::String &&value)
ModifyDBInstanceRequest & WithDBParameterGroupName(Aws::String &&value)
ModifyDBInstanceRequest & WithPerformanceInsightsKMSKeyId(const Aws::String &value)
ModifyDBInstanceRequest & WithLicenseModel(const char *value)
void SetPreferredBackupWindow(const Aws::String &value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
ModifyDBInstanceRequest & WithDBSecurityGroups(const Aws::Vector< Aws::String > &value)
ModifyDBInstanceRequest & WithMonitoringRoleArn(const Aws::String &value)
ModifyDBInstanceRequest & WithTdeCredentialPassword(Aws::String &&value)
ModifyDBInstanceRequest & AddVpcSecurityGroupIds(const char *value)
ModifyDBInstanceRequest & WithDBInstanceClass(const char *value)
ModifyDBInstanceRequest & WithNewDBInstanceIdentifier(Aws::String &&value)
ModifyDBInstanceRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
ModifyDBInstanceRequest & WithDomain(Aws::String &&value)
ModifyDBInstanceRequest & WithMultiAZ(bool value)
ModifyDBInstanceRequest & WithEngineVersion(const Aws::String &value)
ModifyDBInstanceRequest & WithDomainIAMRoleName(Aws::String &&value)
ModifyDBInstanceRequest & WithEnableIAMDatabaseAuthentication(bool value)
ModifyDBInstanceRequest & WithPreferredBackupWindow(const Aws::String &value)
ModifyDBInstanceRequest & WithTdeCredentialPassword(const char *value)
ModifyDBInstanceRequest & WithPreferredBackupWindow(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector