AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ModifyDBInstanceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/neptune/NeptuneRequest.h>
10#include <aws/neptune/Neptune_EXPORTS.h>
11#include <aws/neptune/model/CloudwatchLogsExportConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Neptune {
17namespace Model {
18
22 public:
23 AWS_NEPTUNE_API ModifyDBInstanceRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "ModifyDBInstance"; }
30
31 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
43 inline const Aws::String& GetDBInstanceIdentifier() const { return m_dBInstanceIdentifier; }
44 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
45 template <typename DBInstanceIdentifierT = Aws::String>
46 void SetDBInstanceIdentifier(DBInstanceIdentifierT&& value) {
47 m_dBInstanceIdentifierHasBeenSet = true;
48 m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value);
49 }
50 template <typename DBInstanceIdentifierT = Aws::String>
51 ModifyDBInstanceRequest& WithDBInstanceIdentifier(DBInstanceIdentifierT&& value) {
52 SetDBInstanceIdentifier(std::forward<DBInstanceIdentifierT>(value));
53 return *this;
54 }
56
58
61 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
62 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
63 inline void SetAllocatedStorage(int value) {
64 m_allocatedStorageHasBeenSet = true;
65 m_allocatedStorage = value;
66 }
69 return *this;
70 }
72
74
82 inline const Aws::String& GetDBInstanceClass() const { return m_dBInstanceClass; }
83 inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; }
84 template <typename DBInstanceClassT = Aws::String>
85 void SetDBInstanceClass(DBInstanceClassT&& value) {
86 m_dBInstanceClassHasBeenSet = true;
87 m_dBInstanceClass = std::forward<DBInstanceClassT>(value);
88 }
89 template <typename DBInstanceClassT = Aws::String>
90 ModifyDBInstanceRequest& WithDBInstanceClass(DBInstanceClassT&& value) {
91 SetDBInstanceClass(std::forward<DBInstanceClassT>(value));
92 return *this;
93 }
95
97
106 inline const Aws::String& GetDBSubnetGroupName() const { return m_dBSubnetGroupName; }
107 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
108 template <typename DBSubnetGroupNameT = Aws::String>
109 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) {
110 m_dBSubnetGroupNameHasBeenSet = true;
111 m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value);
112 }
113 template <typename DBSubnetGroupNameT = Aws::String>
114 ModifyDBInstanceRequest& WithDBSubnetGroupName(DBSubnetGroupNameT&& value) {
115 SetDBSubnetGroupName(std::forward<DBSubnetGroupNameT>(value));
116 return *this;
117 }
119
121
127 inline const Aws::Vector<Aws::String>& GetDBSecurityGroups() const { return m_dBSecurityGroups; }
128 inline bool DBSecurityGroupsHasBeenSet() const { return m_dBSecurityGroupsHasBeenSet; }
129 template <typename DBSecurityGroupsT = Aws::Vector<Aws::String>>
130 void SetDBSecurityGroups(DBSecurityGroupsT&& value) {
131 m_dBSecurityGroupsHasBeenSet = true;
132 m_dBSecurityGroups = std::forward<DBSecurityGroupsT>(value);
133 }
134 template <typename DBSecurityGroupsT = Aws::Vector<Aws::String>>
135 ModifyDBInstanceRequest& WithDBSecurityGroups(DBSecurityGroupsT&& value) {
136 SetDBSecurityGroups(std::forward<DBSecurityGroupsT>(value));
137 return *this;
138 }
139 template <typename DBSecurityGroupsT = Aws::String>
140 ModifyDBInstanceRequest& AddDBSecurityGroups(DBSecurityGroupsT&& value) {
141 m_dBSecurityGroupsHasBeenSet = true;
142 m_dBSecurityGroups.emplace_back(std::forward<DBSecurityGroupsT>(value));
143 return *this;
144 }
146
148
155 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
156 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
157 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
158 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
159 m_vpcSecurityGroupIdsHasBeenSet = true;
160 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
161 }
162 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
163 ModifyDBInstanceRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
164 SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value));
165 return *this;
166 }
167 template <typename VpcSecurityGroupIdsT = Aws::String>
168 ModifyDBInstanceRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
169 m_vpcSecurityGroupIdsHasBeenSet = true;
170 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
171 return *this;
172 }
174
176
185 inline bool GetApplyImmediately() const { return m_applyImmediately; }
186 inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
187 inline void SetApplyImmediately(bool value) {
188 m_applyImmediatelyHasBeenSet = true;
189 m_applyImmediately = value;
190 }
192 SetApplyImmediately(value);
193 return *this;
194 }
196
198
201 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
202 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
203 template <typename MasterUserPasswordT = Aws::String>
204 void SetMasterUserPassword(MasterUserPasswordT&& value) {
205 m_masterUserPasswordHasBeenSet = true;
206 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
207 }
208 template <typename MasterUserPasswordT = Aws::String>
209 ModifyDBInstanceRequest& WithMasterUserPassword(MasterUserPasswordT&& value) {
210 SetMasterUserPassword(std::forward<MasterUserPasswordT>(value));
211 return *this;
212 }
214
216
226 inline const Aws::String& GetDBParameterGroupName() const { return m_dBParameterGroupName; }
227 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
228 template <typename DBParameterGroupNameT = Aws::String>
229 void SetDBParameterGroupName(DBParameterGroupNameT&& value) {
230 m_dBParameterGroupNameHasBeenSet = true;
231 m_dBParameterGroupName = std::forward<DBParameterGroupNameT>(value);
232 }
233 template <typename DBParameterGroupNameT = Aws::String>
234 ModifyDBInstanceRequest& WithDBParameterGroupName(DBParameterGroupNameT&& value) {
235 SetDBParameterGroupName(std::forward<DBParameterGroupNameT>(value));
236 return *this;
237 }
239
241
246 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
247 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
248 inline void SetBackupRetentionPeriod(int value) {
249 m_backupRetentionPeriodHasBeenSet = true;
250 m_backupRetentionPeriod = value;
251 }
254 return *this;
255 }
257
259
268 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
269 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
270 template <typename PreferredBackupWindowT = Aws::String>
271 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) {
272 m_preferredBackupWindowHasBeenSet = true;
273 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
274 }
275 template <typename PreferredBackupWindowT = Aws::String>
276 ModifyDBInstanceRequest& WithPreferredBackupWindow(PreferredBackupWindowT&& value) {
277 SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value));
278 return *this;
279 }
281
283
296 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
297 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
298 template <typename PreferredMaintenanceWindowT = Aws::String>
299 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
300 m_preferredMaintenanceWindowHasBeenSet = true;
301 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
302 }
303 template <typename PreferredMaintenanceWindowT = Aws::String>
304 ModifyDBInstanceRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
305 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
306 return *this;
307 }
309
311
317 inline bool GetMultiAZ() const { return m_multiAZ; }
318 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
319 inline void SetMultiAZ(bool value) {
320 m_multiAZHasBeenSet = true;
321 m_multiAZ = value;
322 }
324 SetMultiAZ(value);
325 return *this;
326 }
328
330
335 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
336 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
337 template <typename EngineVersionT = Aws::String>
338 void SetEngineVersion(EngineVersionT&& value) {
339 m_engineVersionHasBeenSet = true;
340 m_engineVersion = std::forward<EngineVersionT>(value);
341 }
342 template <typename EngineVersionT = Aws::String>
344 SetEngineVersion(std::forward<EngineVersionT>(value));
345 return *this;
346 }
348
350
355 inline bool GetAllowMajorVersionUpgrade() const { return m_allowMajorVersionUpgrade; }
356 inline bool AllowMajorVersionUpgradeHasBeenSet() const { return m_allowMajorVersionUpgradeHasBeenSet; }
357 inline void SetAllowMajorVersionUpgrade(bool value) {
358 m_allowMajorVersionUpgradeHasBeenSet = true;
359 m_allowMajorVersionUpgrade = value;
360 }
363 return *this;
364 }
366
368
376 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
377 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
378 inline void SetAutoMinorVersionUpgrade(bool value) {
379 m_autoMinorVersionUpgradeHasBeenSet = true;
380 m_autoMinorVersionUpgrade = value;
381 }
384 return *this;
385 }
387
389
392 inline const Aws::String& GetLicenseModel() const { return m_licenseModel; }
393 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
394 template <typename LicenseModelT = Aws::String>
395 void SetLicenseModel(LicenseModelT&& value) {
396 m_licenseModelHasBeenSet = true;
397 m_licenseModel = std::forward<LicenseModelT>(value);
398 }
399 template <typename LicenseModelT = Aws::String>
401 SetLicenseModel(std::forward<LicenseModelT>(value));
402 return *this;
403 }
405
407
414 inline int GetIops() const { return m_iops; }
415 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
416 inline void SetIops(int value) {
417 m_iopsHasBeenSet = true;
418 m_iops = value;
419 }
421 SetIops(value);
422 return *this;
423 }
425
427
430 inline const Aws::String& GetOptionGroupName() const { return m_optionGroupName; }
431 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
432 template <typename OptionGroupNameT = Aws::String>
433 void SetOptionGroupName(OptionGroupNameT&& value) {
434 m_optionGroupNameHasBeenSet = true;
435 m_optionGroupName = std::forward<OptionGroupNameT>(value);
436 }
437 template <typename OptionGroupNameT = Aws::String>
438 ModifyDBInstanceRequest& WithOptionGroupName(OptionGroupNameT&& value) {
439 SetOptionGroupName(std::forward<OptionGroupNameT>(value));
440 return *this;
441 }
443
445
456 inline const Aws::String& GetNewDBInstanceIdentifier() const { return m_newDBInstanceIdentifier; }
457 inline bool NewDBInstanceIdentifierHasBeenSet() const { return m_newDBInstanceIdentifierHasBeenSet; }
458 template <typename NewDBInstanceIdentifierT = Aws::String>
459 void SetNewDBInstanceIdentifier(NewDBInstanceIdentifierT&& value) {
460 m_newDBInstanceIdentifierHasBeenSet = true;
461 m_newDBInstanceIdentifier = std::forward<NewDBInstanceIdentifierT>(value);
462 }
463 template <typename NewDBInstanceIdentifierT = Aws::String>
464 ModifyDBInstanceRequest& WithNewDBInstanceIdentifier(NewDBInstanceIdentifierT&& value) {
465 SetNewDBInstanceIdentifier(std::forward<NewDBInstanceIdentifierT>(value));
466 return *this;
467 }
469
471
475 inline const Aws::String& GetStorageType() const { return m_storageType; }
476 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
477 template <typename StorageTypeT = Aws::String>
478 void SetStorageType(StorageTypeT&& value) {
479 m_storageTypeHasBeenSet = true;
480 m_storageType = std::forward<StorageTypeT>(value);
481 }
482 template <typename StorageTypeT = Aws::String>
484 SetStorageType(std::forward<StorageTypeT>(value));
485 return *this;
486 }
488
490
494 inline const Aws::String& GetTdeCredentialArn() const { return m_tdeCredentialArn; }
495 inline bool TdeCredentialArnHasBeenSet() const { return m_tdeCredentialArnHasBeenSet; }
496 template <typename TdeCredentialArnT = Aws::String>
497 void SetTdeCredentialArn(TdeCredentialArnT&& value) {
498 m_tdeCredentialArnHasBeenSet = true;
499 m_tdeCredentialArn = std::forward<TdeCredentialArnT>(value);
500 }
501 template <typename TdeCredentialArnT = Aws::String>
502 ModifyDBInstanceRequest& WithTdeCredentialArn(TdeCredentialArnT&& value) {
503 SetTdeCredentialArn(std::forward<TdeCredentialArnT>(value));
504 return *this;
505 }
507
509
513 inline const Aws::String& GetTdeCredentialPassword() const { return m_tdeCredentialPassword; }
514 inline bool TdeCredentialPasswordHasBeenSet() const { return m_tdeCredentialPasswordHasBeenSet; }
515 template <typename TdeCredentialPasswordT = Aws::String>
516 void SetTdeCredentialPassword(TdeCredentialPasswordT&& value) {
517 m_tdeCredentialPasswordHasBeenSet = true;
518 m_tdeCredentialPassword = std::forward<TdeCredentialPasswordT>(value);
519 }
520 template <typename TdeCredentialPasswordT = Aws::String>
521 ModifyDBInstanceRequest& WithTdeCredentialPassword(TdeCredentialPasswordT&& value) {
522 SetTdeCredentialPassword(std::forward<TdeCredentialPasswordT>(value));
523 return *this;
524 }
526
528
531 inline const Aws::String& GetCACertificateIdentifier() const { return m_cACertificateIdentifier; }
532 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
533 template <typename CACertificateIdentifierT = Aws::String>
534 void SetCACertificateIdentifier(CACertificateIdentifierT&& value) {
535 m_cACertificateIdentifierHasBeenSet = true;
536 m_cACertificateIdentifier = std::forward<CACertificateIdentifierT>(value);
537 }
538 template <typename CACertificateIdentifierT = Aws::String>
539 ModifyDBInstanceRequest& WithCACertificateIdentifier(CACertificateIdentifierT&& value) {
540 SetCACertificateIdentifier(std::forward<CACertificateIdentifierT>(value));
541 return *this;
542 }
544
546
549 inline const Aws::String& GetDomain() const { return m_domain; }
550 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
551 template <typename DomainT = Aws::String>
552 void SetDomain(DomainT&& value) {
553 m_domainHasBeenSet = true;
554 m_domain = std::forward<DomainT>(value);
555 }
556 template <typename DomainT = Aws::String>
558 SetDomain(std::forward<DomainT>(value));
559 return *this;
560 }
562
564
568 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
569 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
570 inline void SetCopyTagsToSnapshot(bool value) {
571 m_copyTagsToSnapshotHasBeenSet = true;
572 m_copyTagsToSnapshot = value;
573 }
576 return *this;
577 }
579
581
588 inline int GetMonitoringInterval() const { return m_monitoringInterval; }
589 inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; }
590 inline void SetMonitoringInterval(int value) {
591 m_monitoringIntervalHasBeenSet = true;
592 m_monitoringInterval = value;
593 }
596 return *this;
597 }
599
601
609 inline int GetDBPortNumber() const { return m_dBPortNumber; }
610 inline bool DBPortNumberHasBeenSet() const { return m_dBPortNumberHasBeenSet; }
611 inline void SetDBPortNumber(int value) {
612 m_dBPortNumberHasBeenSet = true;
613 m_dBPortNumber = value;
614 }
616 SetDBPortNumber(value);
617 return *this;
618 }
620
622
633 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
634 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
635 inline void SetPubliclyAccessible(bool value) {
636 m_publiclyAccessibleHasBeenSet = true;
637 m_publiclyAccessible = value;
638 }
641 return *this;
642 }
644
646
653 inline const Aws::String& GetMonitoringRoleArn() const { return m_monitoringRoleArn; }
654 inline bool MonitoringRoleArnHasBeenSet() const { return m_monitoringRoleArnHasBeenSet; }
655 template <typename MonitoringRoleArnT = Aws::String>
656 void SetMonitoringRoleArn(MonitoringRoleArnT&& value) {
657 m_monitoringRoleArnHasBeenSet = true;
658 m_monitoringRoleArn = std::forward<MonitoringRoleArnT>(value);
659 }
660 template <typename MonitoringRoleArnT = Aws::String>
661 ModifyDBInstanceRequest& WithMonitoringRoleArn(MonitoringRoleArnT&& value) {
662 SetMonitoringRoleArn(std::forward<MonitoringRoleArnT>(value));
663 return *this;
664 }
666
668
671 inline const Aws::String& GetDomainIAMRoleName() const { return m_domainIAMRoleName; }
672 inline bool DomainIAMRoleNameHasBeenSet() const { return m_domainIAMRoleNameHasBeenSet; }
673 template <typename DomainIAMRoleNameT = Aws::String>
674 void SetDomainIAMRoleName(DomainIAMRoleNameT&& value) {
675 m_domainIAMRoleNameHasBeenSet = true;
676 m_domainIAMRoleName = std::forward<DomainIAMRoleNameT>(value);
677 }
678 template <typename DomainIAMRoleNameT = Aws::String>
679 ModifyDBInstanceRequest& WithDomainIAMRoleName(DomainIAMRoleNameT&& value) {
680 SetDomainIAMRoleName(std::forward<DomainIAMRoleNameT>(value));
681 return *this;
682 }
684
686
691 inline int GetPromotionTier() const { return m_promotionTier; }
692 inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; }
693 inline void SetPromotionTier(int value) {
694 m_promotionTierHasBeenSet = true;
695 m_promotionTier = value;
696 }
698 SetPromotionTier(value);
699 return *this;
700 }
702
704
712 inline bool GetEnableIAMDatabaseAuthentication() const { return m_enableIAMDatabaseAuthentication; }
713 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; }
714 inline void SetEnableIAMDatabaseAuthentication(bool value) {
715 m_enableIAMDatabaseAuthenticationHasBeenSet = true;
716 m_enableIAMDatabaseAuthentication = value;
717 }
720 return *this;
721 }
723
725
728 inline bool GetEnablePerformanceInsights() const { return m_enablePerformanceInsights; }
729 inline bool EnablePerformanceInsightsHasBeenSet() const { return m_enablePerformanceInsightsHasBeenSet; }
730 inline void SetEnablePerformanceInsights(bool value) {
731 m_enablePerformanceInsightsHasBeenSet = true;
732 m_enablePerformanceInsights = value;
733 }
736 return *this;
737 }
739
741
744 inline const Aws::String& GetPerformanceInsightsKMSKeyId() const { return m_performanceInsightsKMSKeyId; }
745 inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; }
746 template <typename PerformanceInsightsKMSKeyIdT = Aws::String>
747 void SetPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) {
748 m_performanceInsightsKMSKeyIdHasBeenSet = true;
749 m_performanceInsightsKMSKeyId = std::forward<PerformanceInsightsKMSKeyIdT>(value);
750 }
751 template <typename PerformanceInsightsKMSKeyIdT = Aws::String>
752 ModifyDBInstanceRequest& WithPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) {
753 SetPerformanceInsightsKMSKeyId(std::forward<PerformanceInsightsKMSKeyIdT>(value));
754 return *this;
755 }
757
759
764 return m_cloudwatchLogsExportConfiguration;
765 }
766 inline bool CloudwatchLogsExportConfigurationHasBeenSet() const { return m_cloudwatchLogsExportConfigurationHasBeenSet; }
767 template <typename CloudwatchLogsExportConfigurationT = CloudwatchLogsExportConfiguration>
768 void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT&& value) {
769 m_cloudwatchLogsExportConfigurationHasBeenSet = true;
770 m_cloudwatchLogsExportConfiguration = std::forward<CloudwatchLogsExportConfigurationT>(value);
771 }
772 template <typename CloudwatchLogsExportConfigurationT = CloudwatchLogsExportConfiguration>
773 ModifyDBInstanceRequest& WithCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT&& value) {
774 SetCloudwatchLogsExportConfiguration(std::forward<CloudwatchLogsExportConfigurationT>(value));
775 return *this;
776 }
778
780
787 inline bool GetDeletionProtection() const { return m_deletionProtection; }
788 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
789 inline void SetDeletionProtection(bool value) {
790 m_deletionProtectionHasBeenSet = true;
791 m_deletionProtection = value;
792 }
795 return *this;
796 }
798 private:
799 Aws::String m_dBInstanceIdentifier;
800
801 int m_allocatedStorage{0};
802
803 Aws::String m_dBInstanceClass;
804
805 Aws::String m_dBSubnetGroupName;
806
807 Aws::Vector<Aws::String> m_dBSecurityGroups;
808
809 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
810
811 bool m_applyImmediately{false};
812
813 Aws::String m_masterUserPassword;
814
815 Aws::String m_dBParameterGroupName;
816
817 int m_backupRetentionPeriod{0};
818
819 Aws::String m_preferredBackupWindow;
820
821 Aws::String m_preferredMaintenanceWindow;
822
823 bool m_multiAZ{false};
824
825 Aws::String m_engineVersion;
826
827 bool m_allowMajorVersionUpgrade{false};
828
829 bool m_autoMinorVersionUpgrade{false};
830
831 Aws::String m_licenseModel;
832
833 int m_iops{0};
834
835 Aws::String m_optionGroupName;
836
837 Aws::String m_newDBInstanceIdentifier;
838
839 Aws::String m_storageType;
840
841 Aws::String m_tdeCredentialArn;
842
843 Aws::String m_tdeCredentialPassword;
844
845 Aws::String m_cACertificateIdentifier;
846
847 Aws::String m_domain;
848
849 bool m_copyTagsToSnapshot{false};
850
851 int m_monitoringInterval{0};
852
853 int m_dBPortNumber{0};
854
855 bool m_publiclyAccessible{false};
856
857 Aws::String m_monitoringRoleArn;
858
859 Aws::String m_domainIAMRoleName;
860
861 int m_promotionTier{0};
862
863 bool m_enableIAMDatabaseAuthentication{false};
864
865 bool m_enablePerformanceInsights{false};
866
867 Aws::String m_performanceInsightsKMSKeyId;
868
869 CloudwatchLogsExportConfiguration m_cloudwatchLogsExportConfiguration;
870
871 bool m_deletionProtection{false};
872 bool m_dBInstanceIdentifierHasBeenSet = false;
873 bool m_allocatedStorageHasBeenSet = false;
874 bool m_dBInstanceClassHasBeenSet = false;
875 bool m_dBSubnetGroupNameHasBeenSet = false;
876 bool m_dBSecurityGroupsHasBeenSet = false;
877 bool m_vpcSecurityGroupIdsHasBeenSet = false;
878 bool m_applyImmediatelyHasBeenSet = false;
879 bool m_masterUserPasswordHasBeenSet = false;
880 bool m_dBParameterGroupNameHasBeenSet = false;
881 bool m_backupRetentionPeriodHasBeenSet = false;
882 bool m_preferredBackupWindowHasBeenSet = false;
883 bool m_preferredMaintenanceWindowHasBeenSet = false;
884 bool m_multiAZHasBeenSet = false;
885 bool m_engineVersionHasBeenSet = false;
886 bool m_allowMajorVersionUpgradeHasBeenSet = false;
887 bool m_autoMinorVersionUpgradeHasBeenSet = false;
888 bool m_licenseModelHasBeenSet = false;
889 bool m_iopsHasBeenSet = false;
890 bool m_optionGroupNameHasBeenSet = false;
891 bool m_newDBInstanceIdentifierHasBeenSet = false;
892 bool m_storageTypeHasBeenSet = false;
893 bool m_tdeCredentialArnHasBeenSet = false;
894 bool m_tdeCredentialPasswordHasBeenSet = false;
895 bool m_cACertificateIdentifierHasBeenSet = false;
896 bool m_domainHasBeenSet = false;
897 bool m_copyTagsToSnapshotHasBeenSet = false;
898 bool m_monitoringIntervalHasBeenSet = false;
899 bool m_dBPortNumberHasBeenSet = false;
900 bool m_publiclyAccessibleHasBeenSet = false;
901 bool m_monitoringRoleArnHasBeenSet = false;
902 bool m_domainIAMRoleNameHasBeenSet = false;
903 bool m_promotionTierHasBeenSet = false;
904 bool m_enableIAMDatabaseAuthenticationHasBeenSet = false;
905 bool m_enablePerformanceInsightsHasBeenSet = false;
906 bool m_performanceInsightsKMSKeyIdHasBeenSet = false;
907 bool m_cloudwatchLogsExportConfigurationHasBeenSet = false;
908 bool m_deletionProtectionHasBeenSet = false;
909};
910
911} // namespace Model
912} // namespace Neptune
913} // namespace Aws
ModifyDBInstanceRequest & WithIops(int value)
ModifyDBInstanceRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
ModifyDBInstanceRequest & WithTdeCredentialPassword(TdeCredentialPasswordT &&value)
ModifyDBInstanceRequest & WithCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT &&value)
ModifyDBInstanceRequest & WithApplyImmediately(bool value)
ModifyDBInstanceRequest & AddDBSecurityGroups(DBSecurityGroupsT &&value)
ModifyDBInstanceRequest & WithCACertificateIdentifier(CACertificateIdentifierT &&value)
void SetDBSubnetGroupName(DBSubnetGroupNameT &&value)
void SetDBInstanceIdentifier(DBInstanceIdentifierT &&value)
ModifyDBInstanceRequest & WithAllowMajorVersionUpgrade(bool value)
const CloudwatchLogsExportConfiguration & GetCloudwatchLogsExportConfiguration() const
ModifyDBInstanceRequest & WithMonitoringInterval(int value)
ModifyDBInstanceRequest & WithBackupRetentionPeriod(int value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
ModifyDBInstanceRequest & WithDBParameterGroupName(DBParameterGroupNameT &&value)
void SetMonitoringRoleArn(MonitoringRoleArnT &&value)
ModifyDBInstanceRequest & WithPubliclyAccessible(bool value)
ModifyDBInstanceRequest & WithOptionGroupName(OptionGroupNameT &&value)
void SetNewDBInstanceIdentifier(NewDBInstanceIdentifierT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
ModifyDBInstanceRequest & WithDBSubnetGroupName(DBSubnetGroupNameT &&value)
ModifyDBInstanceRequest & WithDeletionProtection(bool value)
ModifyDBInstanceRequest & WithMasterUserPassword(MasterUserPasswordT &&value)
AWS_NEPTUNE_API ModifyDBInstanceRequest()=default
ModifyDBInstanceRequest & WithCopyTagsToSnapshot(bool value)
void SetCACertificateIdentifier(CACertificateIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
ModifyDBInstanceRequest & WithStorageType(StorageTypeT &&value)
ModifyDBInstanceRequest & WithPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT &&value)
ModifyDBInstanceRequest & WithEngineVersion(EngineVersionT &&value)
void SetDomainIAMRoleName(DomainIAMRoleNameT &&value)
void SetDBParameterGroupName(DBParameterGroupNameT &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyDBInstanceRequest & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
ModifyDBInstanceRequest & WithPromotionTier(int value)
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
ModifyDBInstanceRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
ModifyDBInstanceRequest & WithAutoMinorVersionUpgrade(bool value)
ModifyDBInstanceRequest & WithAllocatedStorage(int value)
ModifyDBInstanceRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
const Aws::Vector< Aws::String > & GetDBSecurityGroups() const
ModifyDBInstanceRequest & WithDBPortNumber(int value)
void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT &&value)
ModifyDBInstanceRequest & WithDomainIAMRoleName(DomainIAMRoleNameT &&value)
ModifyDBInstanceRequest & WithDBInstanceClass(DBInstanceClassT &&value)
ModifyDBInstanceRequest & WithEnablePerformanceInsights(bool value)
void SetTdeCredentialPassword(TdeCredentialPasswordT &&value)
ModifyDBInstanceRequest & WithTdeCredentialArn(TdeCredentialArnT &&value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
void SetMasterUserPassword(MasterUserPasswordT &&value)
ModifyDBInstanceRequest & WithLicenseModel(LicenseModelT &&value)
ModifyDBInstanceRequest & WithMonitoringRoleArn(MonitoringRoleArnT &&value)
ModifyDBInstanceRequest & WithDBInstanceIdentifier(DBInstanceIdentifierT &&value)
ModifyDBInstanceRequest & WithDBSecurityGroups(DBSecurityGroupsT &&value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
ModifyDBInstanceRequest & WithMultiAZ(bool value)
ModifyDBInstanceRequest & WithNewDBInstanceIdentifier(NewDBInstanceIdentifierT &&value)
ModifyDBInstanceRequest & WithEnableIAMDatabaseAuthentication(bool value)
void SetPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT &&value)
ModifyDBInstanceRequest & WithDomain(DomainT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector