1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub use crate::operation::create_db_instance::_create_db_instance_output::CreateDbInstanceOutputBuilder;

pub use crate::operation::create_db_instance::_create_db_instance_input::CreateDbInstanceInputBuilder;

impl crate::operation::create_db_instance::builders::CreateDbInstanceInputBuilder {
    /// Sends a request with this input using the given client.
    pub async fn send_with(
        self,
        client: &crate::Client,
    ) -> ::std::result::Result<
        crate::operation::create_db_instance::CreateDbInstanceOutput,
        ::aws_smithy_runtime_api::client::result::SdkError<
            crate::operation::create_db_instance::CreateDBInstanceError,
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
        >,
    > {
        let mut fluent_builder = client.create_db_instance();
        fluent_builder.inner = self;
        fluent_builder.send().await
    }
}
/// Fluent builder constructing a request to `CreateDBInstance`.
///
/// <p>Creates a new DB instance.</p>
/// <p>The new DB instance can be an RDS DB instance, or it can be a DB instance in an Aurora DB cluster. For an Aurora DB cluster, you can call this operation multiple times to add more than one DB instance to the cluster.</p>
/// <p>For more information about creating an RDS DB instance, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CreateDBInstance.html"> Creating an Amazon RDS DB instance</a> in the <i>Amazon RDS User Guide</i>.</p>
/// <p>For more information about creating a DB instance in an Aurora DB cluster, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.CreateInstance.html"> Creating an Amazon Aurora DB cluster</a> in the <i>Amazon Aurora User Guide</i>.</p>
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
pub struct CreateDBInstanceFluentBuilder {
    handle: ::std::sync::Arc<crate::client::Handle>,
    inner: crate::operation::create_db_instance::builders::CreateDbInstanceInputBuilder,
    config_override: ::std::option::Option<crate::config::Builder>,
}
impl
    crate::client::customize::internal::CustomizableSend<
        crate::operation::create_db_instance::CreateDbInstanceOutput,
        crate::operation::create_db_instance::CreateDBInstanceError,
    > for CreateDBInstanceFluentBuilder
{
    fn send(
        self,
        config_override: crate::config::Builder,
    ) -> crate::client::customize::internal::BoxFuture<
        crate::client::customize::internal::SendResult<
            crate::operation::create_db_instance::CreateDbInstanceOutput,
            crate::operation::create_db_instance::CreateDBInstanceError,
        >,
    > {
        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
    }
}
impl CreateDBInstanceFluentBuilder {
    /// Creates a new `CreateDBInstanceFluentBuilder`.
    pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
        Self {
            handle,
            inner: ::std::default::Default::default(),
            config_override: ::std::option::Option::None,
        }
    }
    /// Access the CreateDBInstance as a reference.
    pub fn as_input(&self) -> &crate::operation::create_db_instance::builders::CreateDbInstanceInputBuilder {
        &self.inner
    }
    /// Sends the request and returns the response.
    ///
    /// If an error occurs, an `SdkError` will be returned with additional details that
    /// can be matched against.
    ///
    /// By default, any retryable failures will be retried twice. Retry behavior
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
    /// set when configuring the client.
    pub async fn send(
        self,
    ) -> ::std::result::Result<
        crate::operation::create_db_instance::CreateDbInstanceOutput,
        ::aws_smithy_runtime_api::client::result::SdkError<
            crate::operation::create_db_instance::CreateDBInstanceError,
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
        >,
    > {
        let input = self
            .inner
            .build()
            .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
        let runtime_plugins = crate::operation::create_db_instance::CreateDBInstance::operation_runtime_plugins(
            self.handle.runtime_plugins.clone(),
            &self.handle.conf,
            self.config_override,
        );
        crate::operation::create_db_instance::CreateDBInstance::orchestrate(&runtime_plugins, input).await
    }

    /// Consumes this builder, creating a customizable operation that can be modified before being sent.
    pub fn customize(
        self,
    ) -> crate::client::customize::CustomizableOperation<
        crate::operation::create_db_instance::CreateDbInstanceOutput,
        crate::operation::create_db_instance::CreateDBInstanceError,
        Self,
    > {
        crate::client::customize::CustomizableOperation::new(self)
    }
    pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
        self.set_config_override(::std::option::Option::Some(config_override.into()));
        self
    }

    pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
        self.config_override = config_override;
        self
    }
    /// <p>The meaning of this parameter differs according to the database engine you use.</p>
    /// <dl>
    /// <dt>
    /// Amazon Aurora MySQL
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the primary DB instance of the Aurora MySQL DB cluster is created. If this parameter isn't specified for an Aurora MySQL DB cluster, no database is created in the DB cluster.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 64 alphanumeric characters.</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// Amazon Aurora PostgreSQL
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the primary DB instance of the Aurora PostgreSQL DB cluster is created. A database named <code>postgres</code> is always created. If this parameter is specified, an additional database with this name is created.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>It must contain 1 to 63 alphanumeric characters.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0 to 9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// Amazon RDS Custom for Oracle
    /// </dt>
    /// <dd>
    /// <p>The Oracle System ID (SID) of the created RDS Custom DB instance. If you don't specify a value, the default value is <code>ORCL</code> for non-CDBs and <code>RDSCDB</code> for CDBs.</p>
    /// <p>Default: <code>ORCL</code></p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 8 alphanumeric characters.</p></li>
    /// <li>
    /// <p>Must contain a letter.</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// Amazon RDS Custom for SQL Server
    /// </dt>
    /// <dd>
    /// <p>Not applicable. Must be null.</p>
    /// </dd>
    /// <dt>
    /// RDS for Db2
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance. In some cases, we recommend that you don't add a database name. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-db-instance-prereqs.html#db2-prereqs-additional-considerations">Additional considerations</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 64 letters or numbers.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the specified database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for MariaDB
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 64 letters or numbers.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the specified database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for MySQL
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 64 letters or numbers.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the specified database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for Oracle
    /// </dt>
    /// <dd>
    /// <p>The Oracle System ID (SID) of the created DB instance. If you don't specify a value, the default value is <code>ORCL</code>. You can't specify the string <code>null</code>, or any other reserved word, for <code>DBName</code>.</p>
    /// <p>Default: <code>ORCL</code></p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Can't be longer than 8 characters.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for PostgreSQL
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the DB instance is created. A database named <code>postgres</code> is always created. If this parameter is specified, an additional database with this name is created.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 63 letters, numbers, or underscores.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the specified database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for SQL Server
    /// </dt>
    /// <dd>
    /// <p>Not applicable. Must be null.</p>
    /// </dd>
    /// </dl>
    pub fn db_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.db_name(input.into());
        self
    }
    /// <p>The meaning of this parameter differs according to the database engine you use.</p>
    /// <dl>
    /// <dt>
    /// Amazon Aurora MySQL
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the primary DB instance of the Aurora MySQL DB cluster is created. If this parameter isn't specified for an Aurora MySQL DB cluster, no database is created in the DB cluster.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 64 alphanumeric characters.</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// Amazon Aurora PostgreSQL
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the primary DB instance of the Aurora PostgreSQL DB cluster is created. A database named <code>postgres</code> is always created. If this parameter is specified, an additional database with this name is created.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>It must contain 1 to 63 alphanumeric characters.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0 to 9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// Amazon RDS Custom for Oracle
    /// </dt>
    /// <dd>
    /// <p>The Oracle System ID (SID) of the created RDS Custom DB instance. If you don't specify a value, the default value is <code>ORCL</code> for non-CDBs and <code>RDSCDB</code> for CDBs.</p>
    /// <p>Default: <code>ORCL</code></p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 8 alphanumeric characters.</p></li>
    /// <li>
    /// <p>Must contain a letter.</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// Amazon RDS Custom for SQL Server
    /// </dt>
    /// <dd>
    /// <p>Not applicable. Must be null.</p>
    /// </dd>
    /// <dt>
    /// RDS for Db2
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance. In some cases, we recommend that you don't add a database name. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-db-instance-prereqs.html#db2-prereqs-additional-considerations">Additional considerations</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 64 letters or numbers.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the specified database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for MariaDB
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 64 letters or numbers.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the specified database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for MySQL
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 64 letters or numbers.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the specified database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for Oracle
    /// </dt>
    /// <dd>
    /// <p>The Oracle System ID (SID) of the created DB instance. If you don't specify a value, the default value is <code>ORCL</code>. You can't specify the string <code>null</code>, or any other reserved word, for <code>DBName</code>.</p>
    /// <p>Default: <code>ORCL</code></p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Can't be longer than 8 characters.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for PostgreSQL
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the DB instance is created. A database named <code>postgres</code> is always created. If this parameter is specified, an additional database with this name is created.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 63 letters, numbers, or underscores.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the specified database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for SQL Server
    /// </dt>
    /// <dd>
    /// <p>Not applicable. Must be null.</p>
    /// </dd>
    /// </dl>
    pub fn set_db_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_db_name(input);
        self
    }
    /// <p>The meaning of this parameter differs according to the database engine you use.</p>
    /// <dl>
    /// <dt>
    /// Amazon Aurora MySQL
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the primary DB instance of the Aurora MySQL DB cluster is created. If this parameter isn't specified for an Aurora MySQL DB cluster, no database is created in the DB cluster.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 64 alphanumeric characters.</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// Amazon Aurora PostgreSQL
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the primary DB instance of the Aurora PostgreSQL DB cluster is created. A database named <code>postgres</code> is always created. If this parameter is specified, an additional database with this name is created.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>It must contain 1 to 63 alphanumeric characters.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0 to 9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// Amazon RDS Custom for Oracle
    /// </dt>
    /// <dd>
    /// <p>The Oracle System ID (SID) of the created RDS Custom DB instance. If you don't specify a value, the default value is <code>ORCL</code> for non-CDBs and <code>RDSCDB</code> for CDBs.</p>
    /// <p>Default: <code>ORCL</code></p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 8 alphanumeric characters.</p></li>
    /// <li>
    /// <p>Must contain a letter.</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// Amazon RDS Custom for SQL Server
    /// </dt>
    /// <dd>
    /// <p>Not applicable. Must be null.</p>
    /// </dd>
    /// <dt>
    /// RDS for Db2
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance. In some cases, we recommend that you don't add a database name. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-db-instance-prereqs.html#db2-prereqs-additional-considerations">Additional considerations</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 64 letters or numbers.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the specified database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for MariaDB
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 64 letters or numbers.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the specified database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for MySQL
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 64 letters or numbers.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the specified database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for Oracle
    /// </dt>
    /// <dd>
    /// <p>The Oracle System ID (SID) of the created DB instance. If you don't specify a value, the default value is <code>ORCL</code>. You can't specify the string <code>null</code>, or any other reserved word, for <code>DBName</code>.</p>
    /// <p>Default: <code>ORCL</code></p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Can't be longer than 8 characters.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for PostgreSQL
    /// </dt>
    /// <dd>
    /// <p>The name of the database to create when the DB instance is created. A database named <code>postgres</code> is always created. If this parameter is specified, an additional database with this name is created.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain 1 to 63 letters, numbers, or underscores.</p></li>
    /// <li>
    /// <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).</p></li>
    /// <li>
    /// <p>Can't be a word reserved by the specified database engine.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for SQL Server
    /// </dt>
    /// <dd>
    /// <p>Not applicable. Must be null.</p>
    /// </dd>
    /// </dl>
    pub fn get_db_name(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_db_name()
    }
    /// <p>The identifier for this DB instance. This parameter is stored as a lowercase string.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain from 1 to 63 letters, numbers, or hyphens.</p></li>
    /// <li>
    /// <p>First character must be a letter.</p></li>
    /// <li>
    /// <p>Can't end with a hyphen or contain two consecutive hyphens.</p></li>
    /// </ul>
    /// <p>Example: <code>mydbinstance</code></p>
    pub fn db_instance_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.db_instance_identifier(input.into());
        self
    }
    /// <p>The identifier for this DB instance. This parameter is stored as a lowercase string.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain from 1 to 63 letters, numbers, or hyphens.</p></li>
    /// <li>
    /// <p>First character must be a letter.</p></li>
    /// <li>
    /// <p>Can't end with a hyphen or contain two consecutive hyphens.</p></li>
    /// </ul>
    /// <p>Example: <code>mydbinstance</code></p>
    pub fn set_db_instance_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_db_instance_identifier(input);
        self
    }
    /// <p>The identifier for this DB instance. This parameter is stored as a lowercase string.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must contain from 1 to 63 letters, numbers, or hyphens.</p></li>
    /// <li>
    /// <p>First character must be a letter.</p></li>
    /// <li>
    /// <p>Can't end with a hyphen or contain two consecutive hyphens.</p></li>
    /// </ul>
    /// <p>Example: <code>mydbinstance</code></p>
    pub fn get_db_instance_identifier(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_db_instance_identifier()
    }
    /// <p>The amount of storage in gibibytes (GiB) to allocate for the DB instance.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume.</p>
    /// <dl>
    /// <dt>
    /// Amazon RDS Custom
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for Db2
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for MariaDB
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// <li>
    /// <p>Magnetic storage (standard): Must be an integer from 5 to 3072.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for MySQL
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// <li>
    /// <p>Magnetic storage (standard): Must be an integer from 5 to 3072.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for Oracle
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// <li>
    /// <p>Magnetic storage (standard): Must be an integer from 10 to 3072.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for PostgreSQL
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// <li>
    /// <p>Magnetic storage (standard): Must be an integer from 5 to 3072.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for SQL Server
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3):</p>
    /// <ul>
    /// <li>
    /// <p>Enterprise and Standard editions: Must be an integer from 20 to 16384.</p></li>
    /// <li>
    /// <p>Web and Express editions: Must be an integer from 20 to 16384.</p></li>
    /// </ul></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2):</p>
    /// <ul>
    /// <li>
    /// <p>Enterprise and Standard editions: Must be an integer from 100 to 16384.</p></li>
    /// <li>
    /// <p>Web and Express editions: Must be an integer from 100 to 16384.</p></li>
    /// </ul></li>
    /// <li>
    /// <p>Magnetic storage (standard):</p>
    /// <ul>
    /// <li>
    /// <p>Enterprise and Standard editions: Must be an integer from 20 to 1024.</p></li>
    /// <li>
    /// <p>Web and Express editions: Must be an integer from 20 to 1024.</p></li>
    /// </ul></li>
    /// </ul>
    /// </dd>
    /// </dl>
    pub fn allocated_storage(mut self, input: i32) -> Self {
        self.inner = self.inner.allocated_storage(input);
        self
    }
    /// <p>The amount of storage in gibibytes (GiB) to allocate for the DB instance.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume.</p>
    /// <dl>
    /// <dt>
    /// Amazon RDS Custom
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for Db2
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for MariaDB
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// <li>
    /// <p>Magnetic storage (standard): Must be an integer from 5 to 3072.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for MySQL
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// <li>
    /// <p>Magnetic storage (standard): Must be an integer from 5 to 3072.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for Oracle
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// <li>
    /// <p>Magnetic storage (standard): Must be an integer from 10 to 3072.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for PostgreSQL
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// <li>
    /// <p>Magnetic storage (standard): Must be an integer from 5 to 3072.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for SQL Server
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3):</p>
    /// <ul>
    /// <li>
    /// <p>Enterprise and Standard editions: Must be an integer from 20 to 16384.</p></li>
    /// <li>
    /// <p>Web and Express editions: Must be an integer from 20 to 16384.</p></li>
    /// </ul></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2):</p>
    /// <ul>
    /// <li>
    /// <p>Enterprise and Standard editions: Must be an integer from 100 to 16384.</p></li>
    /// <li>
    /// <p>Web and Express editions: Must be an integer from 100 to 16384.</p></li>
    /// </ul></li>
    /// <li>
    /// <p>Magnetic storage (standard):</p>
    /// <ul>
    /// <li>
    /// <p>Enterprise and Standard editions: Must be an integer from 20 to 1024.</p></li>
    /// <li>
    /// <p>Web and Express editions: Must be an integer from 20 to 1024.</p></li>
    /// </ul></li>
    /// </ul>
    /// </dd>
    /// </dl>
    pub fn set_allocated_storage(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_allocated_storage(input);
        self
    }
    /// <p>The amount of storage in gibibytes (GiB) to allocate for the DB instance.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume.</p>
    /// <dl>
    /// <dt>
    /// Amazon RDS Custom
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for Db2
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for MariaDB
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// <li>
    /// <p>Magnetic storage (standard): Must be an integer from 5 to 3072.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for MySQL
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// <li>
    /// <p>Magnetic storage (standard): Must be an integer from 5 to 3072.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for Oracle
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// <li>
    /// <p>Magnetic storage (standard): Must be an integer from 10 to 3072.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for PostgreSQL
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.</p></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.</p></li>
    /// <li>
    /// <p>Magnetic storage (standard): Must be an integer from 5 to 3072.</p></li>
    /// </ul>
    /// </dd>
    /// <dt>
    /// RDS for SQL Server
    /// </dt>
    /// <dd>
    /// <p>Constraints to the amount of storage for each storage type are the following:</p>
    /// <ul>
    /// <li>
    /// <p>General Purpose (SSD) storage (gp2, gp3):</p>
    /// <ul>
    /// <li>
    /// <p>Enterprise and Standard editions: Must be an integer from 20 to 16384.</p></li>
    /// <li>
    /// <p>Web and Express editions: Must be an integer from 20 to 16384.</p></li>
    /// </ul></li>
    /// <li>
    /// <p>Provisioned IOPS storage (io1, io2):</p>
    /// <ul>
    /// <li>
    /// <p>Enterprise and Standard editions: Must be an integer from 100 to 16384.</p></li>
    /// <li>
    /// <p>Web and Express editions: Must be an integer from 100 to 16384.</p></li>
    /// </ul></li>
    /// <li>
    /// <p>Magnetic storage (standard):</p>
    /// <ul>
    /// <li>
    /// <p>Enterprise and Standard editions: Must be an integer from 20 to 1024.</p></li>
    /// <li>
    /// <p>Web and Express editions: Must be an integer from 20 to 1024.</p></li>
    /// </ul></li>
    /// </ul>
    /// </dd>
    /// </dl>
    pub fn get_allocated_storage(&self) -> &::std::option::Option<i32> {
        self.inner.get_allocated_storage()
    }
    /// <p>The compute and memory capacity of the DB instance, for example <code>db.m5.large</code>. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html">DB instance classes</a> in the <i>Amazon RDS User Guide</i> or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html">Aurora DB instance classes</a> in the <i>Amazon Aurora User Guide</i>.</p>
    pub fn db_instance_class(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.db_instance_class(input.into());
        self
    }
    /// <p>The compute and memory capacity of the DB instance, for example <code>db.m5.large</code>. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html">DB instance classes</a> in the <i>Amazon RDS User Guide</i> or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html">Aurora DB instance classes</a> in the <i>Amazon Aurora User Guide</i>.</p>
    pub fn set_db_instance_class(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_db_instance_class(input);
        self
    }
    /// <p>The compute and memory capacity of the DB instance, for example <code>db.m5.large</code>. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html">DB instance classes</a> in the <i>Amazon RDS User Guide</i> or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html">Aurora DB instance classes</a> in the <i>Amazon Aurora User Guide</i>.</p>
    pub fn get_db_instance_class(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_db_instance_class()
    }
    /// <p>The database engine to use for this DB instance.</p>
    /// <p>Not every database engine is available in every Amazon Web Services Region.</p>
    /// <p>Valid Values:</p>
    /// <ul>
    /// <li>
    /// <p><code>aurora-mysql</code> (for Aurora MySQL DB instances)</p></li>
    /// <li>
    /// <p><code>aurora-postgresql</code> (for Aurora PostgreSQL DB instances)</p></li>
    /// <li>
    /// <p><code>custom-oracle-ee</code> (for RDS Custom for Oracle DB instances)</p></li>
    /// <li>
    /// <p><code>custom-oracle-ee-cdb</code> (for RDS Custom for Oracle DB instances)</p></li>
    /// <li>
    /// <p><code>custom-oracle-se2</code> (for RDS Custom for Oracle DB instances)</p></li>
    /// <li>
    /// <p><code>custom-oracle-se2-cdb</code> (for RDS Custom for Oracle DB instances)</p></li>
    /// <li>
    /// <p><code>custom-sqlserver-ee</code> (for RDS Custom for SQL Server DB instances)</p></li>
    /// <li>
    /// <p><code>custom-sqlserver-se</code> (for RDS Custom for SQL Server DB instances)</p></li>
    /// <li>
    /// <p><code>custom-sqlserver-web</code> (for RDS Custom for SQL Server DB instances)</p></li>
    /// <li>
    /// <p><code>db2-ae</code></p></li>
    /// <li>
    /// <p><code>db2-se</code></p></li>
    /// <li>
    /// <p><code>mariadb</code></p></li>
    /// <li>
    /// <p><code>mysql</code></p></li>
    /// <li>
    /// <p><code>oracle-ee</code></p></li>
    /// <li>
    /// <p><code>oracle-ee-cdb</code></p></li>
    /// <li>
    /// <p><code>oracle-se2</code></p></li>
    /// <li>
    /// <p><code>oracle-se2-cdb</code></p></li>
    /// <li>
    /// <p><code>postgres</code></p></li>
    /// <li>
    /// <p><code>sqlserver-ee</code></p></li>
    /// <li>
    /// <p><code>sqlserver-se</code></p></li>
    /// <li>
    /// <p><code>sqlserver-ex</code></p></li>
    /// <li>
    /// <p><code>sqlserver-web</code></p></li>
    /// </ul>
    pub fn engine(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.engine(input.into());
        self
    }
    /// <p>The database engine to use for this DB instance.</p>
    /// <p>Not every database engine is available in every Amazon Web Services Region.</p>
    /// <p>Valid Values:</p>
    /// <ul>
    /// <li>
    /// <p><code>aurora-mysql</code> (for Aurora MySQL DB instances)</p></li>
    /// <li>
    /// <p><code>aurora-postgresql</code> (for Aurora PostgreSQL DB instances)</p></li>
    /// <li>
    /// <p><code>custom-oracle-ee</code> (for RDS Custom for Oracle DB instances)</p></li>
    /// <li>
    /// <p><code>custom-oracle-ee-cdb</code> (for RDS Custom for Oracle DB instances)</p></li>
    /// <li>
    /// <p><code>custom-oracle-se2</code> (for RDS Custom for Oracle DB instances)</p></li>
    /// <li>
    /// <p><code>custom-oracle-se2-cdb</code> (for RDS Custom for Oracle DB instances)</p></li>
    /// <li>
    /// <p><code>custom-sqlserver-ee</code> (for RDS Custom for SQL Server DB instances)</p></li>
    /// <li>
    /// <p><code>custom-sqlserver-se</code> (for RDS Custom for SQL Server DB instances)</p></li>
    /// <li>
    /// <p><code>custom-sqlserver-web</code> (for RDS Custom for SQL Server DB instances)</p></li>
    /// <li>
    /// <p><code>db2-ae</code></p></li>
    /// <li>
    /// <p><code>db2-se</code></p></li>
    /// <li>
    /// <p><code>mariadb</code></p></li>
    /// <li>
    /// <p><code>mysql</code></p></li>
    /// <li>
    /// <p><code>oracle-ee</code></p></li>
    /// <li>
    /// <p><code>oracle-ee-cdb</code></p></li>
    /// <li>
    /// <p><code>oracle-se2</code></p></li>
    /// <li>
    /// <p><code>oracle-se2-cdb</code></p></li>
    /// <li>
    /// <p><code>postgres</code></p></li>
    /// <li>
    /// <p><code>sqlserver-ee</code></p></li>
    /// <li>
    /// <p><code>sqlserver-se</code></p></li>
    /// <li>
    /// <p><code>sqlserver-ex</code></p></li>
    /// <li>
    /// <p><code>sqlserver-web</code></p></li>
    /// </ul>
    pub fn set_engine(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_engine(input);
        self
    }
    /// <p>The database engine to use for this DB instance.</p>
    /// <p>Not every database engine is available in every Amazon Web Services Region.</p>
    /// <p>Valid Values:</p>
    /// <ul>
    /// <li>
    /// <p><code>aurora-mysql</code> (for Aurora MySQL DB instances)</p></li>
    /// <li>
    /// <p><code>aurora-postgresql</code> (for Aurora PostgreSQL DB instances)</p></li>
    /// <li>
    /// <p><code>custom-oracle-ee</code> (for RDS Custom for Oracle DB instances)</p></li>
    /// <li>
    /// <p><code>custom-oracle-ee-cdb</code> (for RDS Custom for Oracle DB instances)</p></li>
    /// <li>
    /// <p><code>custom-oracle-se2</code> (for RDS Custom for Oracle DB instances)</p></li>
    /// <li>
    /// <p><code>custom-oracle-se2-cdb</code> (for RDS Custom for Oracle DB instances)</p></li>
    /// <li>
    /// <p><code>custom-sqlserver-ee</code> (for RDS Custom for SQL Server DB instances)</p></li>
    /// <li>
    /// <p><code>custom-sqlserver-se</code> (for RDS Custom for SQL Server DB instances)</p></li>
    /// <li>
    /// <p><code>custom-sqlserver-web</code> (for RDS Custom for SQL Server DB instances)</p></li>
    /// <li>
    /// <p><code>db2-ae</code></p></li>
    /// <li>
    /// <p><code>db2-se</code></p></li>
    /// <li>
    /// <p><code>mariadb</code></p></li>
    /// <li>
    /// <p><code>mysql</code></p></li>
    /// <li>
    /// <p><code>oracle-ee</code></p></li>
    /// <li>
    /// <p><code>oracle-ee-cdb</code></p></li>
    /// <li>
    /// <p><code>oracle-se2</code></p></li>
    /// <li>
    /// <p><code>oracle-se2-cdb</code></p></li>
    /// <li>
    /// <p><code>postgres</code></p></li>
    /// <li>
    /// <p><code>sqlserver-ee</code></p></li>
    /// <li>
    /// <p><code>sqlserver-se</code></p></li>
    /// <li>
    /// <p><code>sqlserver-ex</code></p></li>
    /// <li>
    /// <p><code>sqlserver-web</code></p></li>
    /// </ul>
    pub fn get_engine(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_engine()
    }
    /// <p>The name for the master user.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The name for the master user is managed by the DB cluster.</p>
    /// <p>This setting is required for RDS DB instances.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be 1 to 16 letters, numbers, or underscores.</p></li>
    /// <li>
    /// <p>First character must be a letter.</p></li>
    /// <li>
    /// <p>Can't be a reserved word for the chosen database engine.</p></li>
    /// </ul>
    pub fn master_username(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.master_username(input.into());
        self
    }
    /// <p>The name for the master user.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The name for the master user is managed by the DB cluster.</p>
    /// <p>This setting is required for RDS DB instances.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be 1 to 16 letters, numbers, or underscores.</p></li>
    /// <li>
    /// <p>First character must be a letter.</p></li>
    /// <li>
    /// <p>Can't be a reserved word for the chosen database engine.</p></li>
    /// </ul>
    pub fn set_master_username(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_master_username(input);
        self
    }
    /// <p>The name for the master user.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The name for the master user is managed by the DB cluster.</p>
    /// <p>This setting is required for RDS DB instances.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be 1 to 16 letters, numbers, or underscores.</p></li>
    /// <li>
    /// <p>First character must be a letter.</p></li>
    /// <li>
    /// <p>Can't be a reserved word for the chosen database engine.</p></li>
    /// </ul>
    pub fn get_master_username(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_master_username()
    }
    /// <p>The password for the master user.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The password for the master user is managed by the DB cluster.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Can't be specified if <code>ManageMasterUserPassword</code> is turned on.</p></li>
    /// <li>
    /// <p>Can include any printable ASCII character except "/", """, or "@". For RDS for Oracle, can't include the "&amp;" (ampersand) or the "'" (single quotes) character.</p></li>
    /// </ul>
    /// <p>Length Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>RDS for Db2 - Must contain from 8 to 255 characters.</p></li>
    /// <li>
    /// <p>RDS for MariaDB - Must contain from 8 to 41 characters.</p></li>
    /// <li>
    /// <p>RDS for Microsoft SQL Server - Must contain from 8 to 128 characters.</p></li>
    /// <li>
    /// <p>RDS for MySQL - Must contain from 8 to 41 characters.</p></li>
    /// <li>
    /// <p>RDS for Oracle - Must contain from 8 to 30 characters.</p></li>
    /// <li>
    /// <p>RDS for PostgreSQL - Must contain from 8 to 128 characters.</p></li>
    /// </ul>
    pub fn master_user_password(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.master_user_password(input.into());
        self
    }
    /// <p>The password for the master user.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The password for the master user is managed by the DB cluster.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Can't be specified if <code>ManageMasterUserPassword</code> is turned on.</p></li>
    /// <li>
    /// <p>Can include any printable ASCII character except "/", """, or "@". For RDS for Oracle, can't include the "&amp;" (ampersand) or the "'" (single quotes) character.</p></li>
    /// </ul>
    /// <p>Length Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>RDS for Db2 - Must contain from 8 to 255 characters.</p></li>
    /// <li>
    /// <p>RDS for MariaDB - Must contain from 8 to 41 characters.</p></li>
    /// <li>
    /// <p>RDS for Microsoft SQL Server - Must contain from 8 to 128 characters.</p></li>
    /// <li>
    /// <p>RDS for MySQL - Must contain from 8 to 41 characters.</p></li>
    /// <li>
    /// <p>RDS for Oracle - Must contain from 8 to 30 characters.</p></li>
    /// <li>
    /// <p>RDS for PostgreSQL - Must contain from 8 to 128 characters.</p></li>
    /// </ul>
    pub fn set_master_user_password(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_master_user_password(input);
        self
    }
    /// <p>The password for the master user.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The password for the master user is managed by the DB cluster.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Can't be specified if <code>ManageMasterUserPassword</code> is turned on.</p></li>
    /// <li>
    /// <p>Can include any printable ASCII character except "/", """, or "@". For RDS for Oracle, can't include the "&amp;" (ampersand) or the "'" (single quotes) character.</p></li>
    /// </ul>
    /// <p>Length Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>RDS for Db2 - Must contain from 8 to 255 characters.</p></li>
    /// <li>
    /// <p>RDS for MariaDB - Must contain from 8 to 41 characters.</p></li>
    /// <li>
    /// <p>RDS for Microsoft SQL Server - Must contain from 8 to 128 characters.</p></li>
    /// <li>
    /// <p>RDS for MySQL - Must contain from 8 to 41 characters.</p></li>
    /// <li>
    /// <p>RDS for Oracle - Must contain from 8 to 30 characters.</p></li>
    /// <li>
    /// <p>RDS for PostgreSQL - Must contain from 8 to 128 characters.</p></li>
    /// </ul>
    pub fn get_master_user_password(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_master_user_password()
    }
    ///
    /// Appends an item to `DBSecurityGroups`.
    ///
    /// To override the contents of this collection use [`set_db_security_groups`](Self::set_db_security_groups).
    ///
    /// <p>A list of DB security groups to associate with this DB instance.</p>
    /// <p>This setting applies to the legacy EC2-Classic platform, which is no longer used to create new DB instances. Use the <code>VpcSecurityGroupIds</code> setting instead.</p>
    pub fn db_security_groups(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.db_security_groups(input.into());
        self
    }
    /// <p>A list of DB security groups to associate with this DB instance.</p>
    /// <p>This setting applies to the legacy EC2-Classic platform, which is no longer used to create new DB instances. Use the <code>VpcSecurityGroupIds</code> setting instead.</p>
    pub fn set_db_security_groups(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.inner = self.inner.set_db_security_groups(input);
        self
    }
    /// <p>A list of DB security groups to associate with this DB instance.</p>
    /// <p>This setting applies to the legacy EC2-Classic platform, which is no longer used to create new DB instances. Use the <code>VpcSecurityGroupIds</code> setting instead.</p>
    pub fn get_db_security_groups(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        self.inner.get_db_security_groups()
    }
    ///
    /// Appends an item to `VpcSecurityGroupIds`.
    ///
    /// To override the contents of this collection use [`set_vpc_security_group_ids`](Self::set_vpc_security_group_ids).
    ///
    /// <p>A list of Amazon EC2 VPC security groups to associate with this DB instance.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The associated list of EC2 VPC security groups is managed by the DB cluster.</p>
    /// <p>Default: The default EC2 VPC security group for the DB subnet group's VPC.</p>
    pub fn vpc_security_group_ids(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.vpc_security_group_ids(input.into());
        self
    }
    /// <p>A list of Amazon EC2 VPC security groups to associate with this DB instance.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The associated list of EC2 VPC security groups is managed by the DB cluster.</p>
    /// <p>Default: The default EC2 VPC security group for the DB subnet group's VPC.</p>
    pub fn set_vpc_security_group_ids(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.inner = self.inner.set_vpc_security_group_ids(input);
        self
    }
    /// <p>A list of Amazon EC2 VPC security groups to associate with this DB instance.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The associated list of EC2 VPC security groups is managed by the DB cluster.</p>
    /// <p>Default: The default EC2 VPC security group for the DB subnet group's VPC.</p>
    pub fn get_vpc_security_group_ids(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        self.inner.get_vpc_security_group_ids()
    }
    /// <p>The Availability Zone (AZ) where the database will be created. For information on Amazon Web Services Regions and Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html">Regions and Availability Zones</a>.</p>
    /// <p>For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one.</p>
    /// <p>Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>The <code>AvailabilityZone</code> parameter can't be specified if the DB instance is a Multi-AZ deployment.</p></li>
    /// <li>
    /// <p>The specified Availability Zone must be in the same Amazon Web Services Region as the current endpoint.</p></li>
    /// </ul>
    /// <p>Example: <code>us-east-1d</code></p>
    pub fn availability_zone(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.availability_zone(input.into());
        self
    }
    /// <p>The Availability Zone (AZ) where the database will be created. For information on Amazon Web Services Regions and Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html">Regions and Availability Zones</a>.</p>
    /// <p>For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one.</p>
    /// <p>Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>The <code>AvailabilityZone</code> parameter can't be specified if the DB instance is a Multi-AZ deployment.</p></li>
    /// <li>
    /// <p>The specified Availability Zone must be in the same Amazon Web Services Region as the current endpoint.</p></li>
    /// </ul>
    /// <p>Example: <code>us-east-1d</code></p>
    pub fn set_availability_zone(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_availability_zone(input);
        self
    }
    /// <p>The Availability Zone (AZ) where the database will be created. For information on Amazon Web Services Regions and Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html">Regions and Availability Zones</a>.</p>
    /// <p>For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one.</p>
    /// <p>Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>The <code>AvailabilityZone</code> parameter can't be specified if the DB instance is a Multi-AZ deployment.</p></li>
    /// <li>
    /// <p>The specified Availability Zone must be in the same Amazon Web Services Region as the current endpoint.</p></li>
    /// </ul>
    /// <p>Example: <code>us-east-1d</code></p>
    pub fn get_availability_zone(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_availability_zone()
    }
    /// <p>A DB subnet group to associate with this DB instance.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must match the name of an existing DB subnet group.</p></li>
    /// <li>
    /// <p>Must not be <code>default</code>.</p></li>
    /// </ul>
    /// <p>Example: <code>mydbsubnetgroup</code></p>
    pub fn db_subnet_group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.db_subnet_group_name(input.into());
        self
    }
    /// <p>A DB subnet group to associate with this DB instance.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must match the name of an existing DB subnet group.</p></li>
    /// <li>
    /// <p>Must not be <code>default</code>.</p></li>
    /// </ul>
    /// <p>Example: <code>mydbsubnetgroup</code></p>
    pub fn set_db_subnet_group_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_db_subnet_group_name(input);
        self
    }
    /// <p>A DB subnet group to associate with this DB instance.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must match the name of an existing DB subnet group.</p></li>
    /// <li>
    /// <p>Must not be <code>default</code>.</p></li>
    /// </ul>
    /// <p>Example: <code>mydbsubnetgroup</code></p>
    pub fn get_db_subnet_group_name(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_db_subnet_group_name()
    }
    /// <p>The time range each week during which system maintenance can occur. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance">Amazon RDS Maintenance Window</a> in the <i>Amazon RDS User Guide.</i></p>
    /// <p>The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be in the format <code>ddd:hh24:mi-ddd:hh24:mi</code>.</p></li>
    /// <li>
    /// <p>The day values must be <code>mon | tue | wed | thu | fri | sat | sun</code>.</p></li>
    /// <li>
    /// <p>Must be in Universal Coordinated Time (UTC).</p></li>
    /// <li>
    /// <p>Must not conflict with the preferred backup window.</p></li>
    /// <li>
    /// <p>Must be at least 30 minutes.</p></li>
    /// </ul>
    pub fn preferred_maintenance_window(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.preferred_maintenance_window(input.into());
        self
    }
    /// <p>The time range each week during which system maintenance can occur. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance">Amazon RDS Maintenance Window</a> in the <i>Amazon RDS User Guide.</i></p>
    /// <p>The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be in the format <code>ddd:hh24:mi-ddd:hh24:mi</code>.</p></li>
    /// <li>
    /// <p>The day values must be <code>mon | tue | wed | thu | fri | sat | sun</code>.</p></li>
    /// <li>
    /// <p>Must be in Universal Coordinated Time (UTC).</p></li>
    /// <li>
    /// <p>Must not conflict with the preferred backup window.</p></li>
    /// <li>
    /// <p>Must be at least 30 minutes.</p></li>
    /// </ul>
    pub fn set_preferred_maintenance_window(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_preferred_maintenance_window(input);
        self
    }
    /// <p>The time range each week during which system maintenance can occur. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance">Amazon RDS Maintenance Window</a> in the <i>Amazon RDS User Guide.</i></p>
    /// <p>The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be in the format <code>ddd:hh24:mi-ddd:hh24:mi</code>.</p></li>
    /// <li>
    /// <p>The day values must be <code>mon | tue | wed | thu | fri | sat | sun</code>.</p></li>
    /// <li>
    /// <p>Must be in Universal Coordinated Time (UTC).</p></li>
    /// <li>
    /// <p>Must not conflict with the preferred backup window.</p></li>
    /// <li>
    /// <p>Must be at least 30 minutes.</p></li>
    /// </ul>
    pub fn get_preferred_maintenance_window(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_preferred_maintenance_window()
    }
    /// <p>The name of the DB parameter group to associate with this DB instance. If you don't specify a value, then Amazon RDS uses the default DB parameter group for the specified DB engine and version.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be 1 to 255 letters, numbers, or hyphens.</p></li>
    /// <li>
    /// <p>The first character must be a letter.</p></li>
    /// <li>
    /// <p>Can't end with a hyphen or contain two consecutive hyphens.</p></li>
    /// </ul>
    pub fn db_parameter_group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.db_parameter_group_name(input.into());
        self
    }
    /// <p>The name of the DB parameter group to associate with this DB instance. If you don't specify a value, then Amazon RDS uses the default DB parameter group for the specified DB engine and version.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be 1 to 255 letters, numbers, or hyphens.</p></li>
    /// <li>
    /// <p>The first character must be a letter.</p></li>
    /// <li>
    /// <p>Can't end with a hyphen or contain two consecutive hyphens.</p></li>
    /// </ul>
    pub fn set_db_parameter_group_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_db_parameter_group_name(input);
        self
    }
    /// <p>The name of the DB parameter group to associate with this DB instance. If you don't specify a value, then Amazon RDS uses the default DB parameter group for the specified DB engine and version.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be 1 to 255 letters, numbers, or hyphens.</p></li>
    /// <li>
    /// <p>The first character must be a letter.</p></li>
    /// <li>
    /// <p>Can't end with a hyphen or contain two consecutive hyphens.</p></li>
    /// </ul>
    pub fn get_db_parameter_group_name(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_db_parameter_group_name()
    }
    /// <p>The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to <code>0</code> disables automated backups.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The retention period for automated backups is managed by the DB cluster.</p>
    /// <p>Default: <code>1</code></p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be a value from 0 to 35.</p></li>
    /// <li>
    /// <p>Can't be set to 0 if the DB instance is a source to read replicas.</p></li>
    /// <li>
    /// <p>Can't be set to 0 for an RDS Custom for Oracle DB instance.</p></li>
    /// </ul>
    pub fn backup_retention_period(mut self, input: i32) -> Self {
        self.inner = self.inner.backup_retention_period(input);
        self
    }
    /// <p>The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to <code>0</code> disables automated backups.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The retention period for automated backups is managed by the DB cluster.</p>
    /// <p>Default: <code>1</code></p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be a value from 0 to 35.</p></li>
    /// <li>
    /// <p>Can't be set to 0 if the DB instance is a source to read replicas.</p></li>
    /// <li>
    /// <p>Can't be set to 0 for an RDS Custom for Oracle DB instance.</p></li>
    /// </ul>
    pub fn set_backup_retention_period(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_backup_retention_period(input);
        self
    }
    /// <p>The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to <code>0</code> disables automated backups.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The retention period for automated backups is managed by the DB cluster.</p>
    /// <p>Default: <code>1</code></p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be a value from 0 to 35.</p></li>
    /// <li>
    /// <p>Can't be set to 0 if the DB instance is a source to read replicas.</p></li>
    /// <li>
    /// <p>Can't be set to 0 for an RDS Custom for Oracle DB instance.</p></li>
    /// </ul>
    pub fn get_backup_retention_period(&self) -> &::std::option::Option<i32> {
        self.inner.get_backup_retention_period()
    }
    /// <p>The daily time range during which automated backups are created if automated backups are enabled, using the <code>BackupRetentionPeriod</code> parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow">Backup window</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The daily time range for creating automated backups is managed by the DB cluster.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be in the format <code>hh24:mi-hh24:mi</code>.</p></li>
    /// <li>
    /// <p>Must be in Universal Coordinated Time (UTC).</p></li>
    /// <li>
    /// <p>Must not conflict with the preferred maintenance window.</p></li>
    /// <li>
    /// <p>Must be at least 30 minutes.</p></li>
    /// </ul>
    pub fn preferred_backup_window(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.preferred_backup_window(input.into());
        self
    }
    /// <p>The daily time range during which automated backups are created if automated backups are enabled, using the <code>BackupRetentionPeriod</code> parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow">Backup window</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The daily time range for creating automated backups is managed by the DB cluster.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be in the format <code>hh24:mi-hh24:mi</code>.</p></li>
    /// <li>
    /// <p>Must be in Universal Coordinated Time (UTC).</p></li>
    /// <li>
    /// <p>Must not conflict with the preferred maintenance window.</p></li>
    /// <li>
    /// <p>Must be at least 30 minutes.</p></li>
    /// </ul>
    pub fn set_preferred_backup_window(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_preferred_backup_window(input);
        self
    }
    /// <p>The daily time range during which automated backups are created if automated backups are enabled, using the <code>BackupRetentionPeriod</code> parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow">Backup window</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The daily time range for creating automated backups is managed by the DB cluster.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be in the format <code>hh24:mi-hh24:mi</code>.</p></li>
    /// <li>
    /// <p>Must be in Universal Coordinated Time (UTC).</p></li>
    /// <li>
    /// <p>Must not conflict with the preferred maintenance window.</p></li>
    /// <li>
    /// <p>Must be at least 30 minutes.</p></li>
    /// </ul>
    pub fn get_preferred_backup_window(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_preferred_backup_window()
    }
    /// <p>The port number on which the database accepts connections.</p>
    /// <p>This setting doesn't apply to Aurora DB instances. The port number is managed by the cluster.</p>
    /// <p>Valid Values: <code>1150-65535</code></p>
    /// <p>Default:</p>
    /// <ul>
    /// <li>
    /// <p>RDS for Db2 - <code>50000</code></p></li>
    /// <li>
    /// <p>RDS for MariaDB - <code>3306</code></p></li>
    /// <li>
    /// <p>RDS for Microsoft SQL Server - <code>1433</code></p></li>
    /// <li>
    /// <p>RDS for MySQL - <code>3306</code></p></li>
    /// <li>
    /// <p>RDS for Oracle - <code>1521</code></p></li>
    /// <li>
    /// <p>RDS for PostgreSQL - <code>5432</code></p></li>
    /// </ul>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>For RDS for Microsoft SQL Server, the value can't be <code>1234</code>, <code>1434</code>, <code>3260</code>, <code>3343</code>, <code>3389</code>, <code>47001</code>, or <code>49152-49156</code>.</p></li>
    /// </ul>
    pub fn port(mut self, input: i32) -> Self {
        self.inner = self.inner.port(input);
        self
    }
    /// <p>The port number on which the database accepts connections.</p>
    /// <p>This setting doesn't apply to Aurora DB instances. The port number is managed by the cluster.</p>
    /// <p>Valid Values: <code>1150-65535</code></p>
    /// <p>Default:</p>
    /// <ul>
    /// <li>
    /// <p>RDS for Db2 - <code>50000</code></p></li>
    /// <li>
    /// <p>RDS for MariaDB - <code>3306</code></p></li>
    /// <li>
    /// <p>RDS for Microsoft SQL Server - <code>1433</code></p></li>
    /// <li>
    /// <p>RDS for MySQL - <code>3306</code></p></li>
    /// <li>
    /// <p>RDS for Oracle - <code>1521</code></p></li>
    /// <li>
    /// <p>RDS for PostgreSQL - <code>5432</code></p></li>
    /// </ul>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>For RDS for Microsoft SQL Server, the value can't be <code>1234</code>, <code>1434</code>, <code>3260</code>, <code>3343</code>, <code>3389</code>, <code>47001</code>, or <code>49152-49156</code>.</p></li>
    /// </ul>
    pub fn set_port(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_port(input);
        self
    }
    /// <p>The port number on which the database accepts connections.</p>
    /// <p>This setting doesn't apply to Aurora DB instances. The port number is managed by the cluster.</p>
    /// <p>Valid Values: <code>1150-65535</code></p>
    /// <p>Default:</p>
    /// <ul>
    /// <li>
    /// <p>RDS for Db2 - <code>50000</code></p></li>
    /// <li>
    /// <p>RDS for MariaDB - <code>3306</code></p></li>
    /// <li>
    /// <p>RDS for Microsoft SQL Server - <code>1433</code></p></li>
    /// <li>
    /// <p>RDS for MySQL - <code>3306</code></p></li>
    /// <li>
    /// <p>RDS for Oracle - <code>1521</code></p></li>
    /// <li>
    /// <p>RDS for PostgreSQL - <code>5432</code></p></li>
    /// </ul>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>For RDS for Microsoft SQL Server, the value can't be <code>1234</code>, <code>1434</code>, <code>3260</code>, <code>3343</code>, <code>3389</code>, <code>47001</code>, or <code>49152-49156</code>.</p></li>
    /// </ul>
    pub fn get_port(&self) -> &::std::option::Option<i32> {
        self.inner.get_port()
    }
    /// <p>Specifies whether the DB instance is a Multi-AZ deployment. You can't set the <code>AvailabilityZone</code> parameter if the DB instance is a Multi-AZ deployment.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (DB instance Availability Zones (AZs) are managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn multi_az(mut self, input: bool) -> Self {
        self.inner = self.inner.multi_az(input);
        self
    }
    /// <p>Specifies whether the DB instance is a Multi-AZ deployment. You can't set the <code>AvailabilityZone</code> parameter if the DB instance is a Multi-AZ deployment.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (DB instance Availability Zones (AZs) are managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn set_multi_az(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_multi_az(input);
        self
    }
    /// <p>Specifies whether the DB instance is a Multi-AZ deployment. You can't set the <code>AvailabilityZone</code> parameter if the DB instance is a Multi-AZ deployment.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (DB instance Availability Zones (AZs) are managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn get_multi_az(&self) -> &::std::option::Option<bool> {
        self.inner.get_multi_az()
    }
    /// <p>The version number of the database engine to use.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The version number of the database engine the DB instance uses is managed by the DB cluster.</p>
    /// <p>For a list of valid engine versions, use the <code>DescribeDBEngineVersions</code> operation.</p>
    /// <p>The following are the database engines and links to information about the major and minor versions that are available with Amazon RDS. Not every database engine is available for every Amazon Web Services Region.</p>
    /// <dl>
    /// <dt>
    /// Amazon RDS Custom for Oracle
    /// </dt>
    /// <dd>
    /// <p>A custom engine version (CEV) that you have previously created. This setting is required for RDS Custom for Oracle. The CEV name has the following format: 19.<i>customized_string</i>. A valid CEV name is <code>19.my_cev1</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create"> Creating an RDS Custom for Oracle DB instance</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// Amazon RDS Custom for SQL Server
    /// </dt>
    /// <dd>
    /// <p>See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html">RDS Custom for SQL Server general requirements</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for Db2
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Db2.html#Db2.Concepts.VersionMgmt">Db2 on Amazon RDS versions</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for MariaDB
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt">MariaDB on Amazon RDS versions</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for Microsoft SQL Server
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport">Microsoft SQL Server versions on Amazon RDS</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for MySQL
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">MySQL on Amazon RDS versions</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for Oracle
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html">Oracle Database Engine release notes</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for PostgreSQL
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon RDS for PostgreSQL versions and extensions</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// </dl>
    pub fn engine_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.engine_version(input.into());
        self
    }
    /// <p>The version number of the database engine to use.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The version number of the database engine the DB instance uses is managed by the DB cluster.</p>
    /// <p>For a list of valid engine versions, use the <code>DescribeDBEngineVersions</code> operation.</p>
    /// <p>The following are the database engines and links to information about the major and minor versions that are available with Amazon RDS. Not every database engine is available for every Amazon Web Services Region.</p>
    /// <dl>
    /// <dt>
    /// Amazon RDS Custom for Oracle
    /// </dt>
    /// <dd>
    /// <p>A custom engine version (CEV) that you have previously created. This setting is required for RDS Custom for Oracle. The CEV name has the following format: 19.<i>customized_string</i>. A valid CEV name is <code>19.my_cev1</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create"> Creating an RDS Custom for Oracle DB instance</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// Amazon RDS Custom for SQL Server
    /// </dt>
    /// <dd>
    /// <p>See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html">RDS Custom for SQL Server general requirements</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for Db2
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Db2.html#Db2.Concepts.VersionMgmt">Db2 on Amazon RDS versions</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for MariaDB
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt">MariaDB on Amazon RDS versions</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for Microsoft SQL Server
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport">Microsoft SQL Server versions on Amazon RDS</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for MySQL
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">MySQL on Amazon RDS versions</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for Oracle
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html">Oracle Database Engine release notes</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for PostgreSQL
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon RDS for PostgreSQL versions and extensions</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// </dl>
    pub fn set_engine_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_engine_version(input);
        self
    }
    /// <p>The version number of the database engine to use.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The version number of the database engine the DB instance uses is managed by the DB cluster.</p>
    /// <p>For a list of valid engine versions, use the <code>DescribeDBEngineVersions</code> operation.</p>
    /// <p>The following are the database engines and links to information about the major and minor versions that are available with Amazon RDS. Not every database engine is available for every Amazon Web Services Region.</p>
    /// <dl>
    /// <dt>
    /// Amazon RDS Custom for Oracle
    /// </dt>
    /// <dd>
    /// <p>A custom engine version (CEV) that you have previously created. This setting is required for RDS Custom for Oracle. The CEV name has the following format: 19.<i>customized_string</i>. A valid CEV name is <code>19.my_cev1</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create"> Creating an RDS Custom for Oracle DB instance</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// Amazon RDS Custom for SQL Server
    /// </dt>
    /// <dd>
    /// <p>See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html">RDS Custom for SQL Server general requirements</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for Db2
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Db2.html#Db2.Concepts.VersionMgmt">Db2 on Amazon RDS versions</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for MariaDB
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt">MariaDB on Amazon RDS versions</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for Microsoft SQL Server
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport">Microsoft SQL Server versions on Amazon RDS</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for MySQL
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">MySQL on Amazon RDS versions</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for Oracle
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html">Oracle Database Engine release notes</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// <dt>
    /// RDS for PostgreSQL
    /// </dt>
    /// <dd>
    /// <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon RDS for PostgreSQL versions and extensions</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// </dd>
    /// </dl>
    pub fn get_engine_version(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_engine_version()
    }
    /// <p>Specifies whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically.</p>
    /// <p>If you create an RDS Custom DB instance, you must set <code>AutoMinorVersionUpgrade</code> to <code>false</code>.</p>
    pub fn auto_minor_version_upgrade(mut self, input: bool) -> Self {
        self.inner = self.inner.auto_minor_version_upgrade(input);
        self
    }
    /// <p>Specifies whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically.</p>
    /// <p>If you create an RDS Custom DB instance, you must set <code>AutoMinorVersionUpgrade</code> to <code>false</code>.</p>
    pub fn set_auto_minor_version_upgrade(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_auto_minor_version_upgrade(input);
        self
    }
    /// <p>Specifies whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically.</p>
    /// <p>If you create an RDS Custom DB instance, you must set <code>AutoMinorVersionUpgrade</code> to <code>false</code>.</p>
    pub fn get_auto_minor_version_upgrade(&self) -> &::std::option::Option<bool> {
        self.inner.get_auto_minor_version_upgrade()
    }
    /// <p>The license model information for this DB instance.</p><note>
    /// <p>License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web Services Marketplace subscription. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html">RDS for Db2 licensing options</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>The default for RDS for Db2 is <code>bring-your-own-license</code>.</p>
    /// </note>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    /// <p>Valid Values:</p>
    /// <ul>
    /// <li>
    /// <p>RDS for Db2 - <code>bring-your-own-license | marketplace-license</code></p></li>
    /// <li>
    /// <p>RDS for MariaDB - <code>general-public-license</code></p></li>
    /// <li>
    /// <p>RDS for Microsoft SQL Server - <code>license-included</code></p></li>
    /// <li>
    /// <p>RDS for MySQL - <code>general-public-license</code></p></li>
    /// <li>
    /// <p>RDS for Oracle - <code>bring-your-own-license | license-included</code></p></li>
    /// <li>
    /// <p>RDS for PostgreSQL - <code>postgresql-license</code></p></li>
    /// </ul>
    pub fn license_model(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.license_model(input.into());
        self
    }
    /// <p>The license model information for this DB instance.</p><note>
    /// <p>License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web Services Marketplace subscription. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html">RDS for Db2 licensing options</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>The default for RDS for Db2 is <code>bring-your-own-license</code>.</p>
    /// </note>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    /// <p>Valid Values:</p>
    /// <ul>
    /// <li>
    /// <p>RDS for Db2 - <code>bring-your-own-license | marketplace-license</code></p></li>
    /// <li>
    /// <p>RDS for MariaDB - <code>general-public-license</code></p></li>
    /// <li>
    /// <p>RDS for Microsoft SQL Server - <code>license-included</code></p></li>
    /// <li>
    /// <p>RDS for MySQL - <code>general-public-license</code></p></li>
    /// <li>
    /// <p>RDS for Oracle - <code>bring-your-own-license | license-included</code></p></li>
    /// <li>
    /// <p>RDS for PostgreSQL - <code>postgresql-license</code></p></li>
    /// </ul>
    pub fn set_license_model(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_license_model(input);
        self
    }
    /// <p>The license model information for this DB instance.</p><note>
    /// <p>License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web Services Marketplace subscription. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html">RDS for Db2 licensing options</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>The default for RDS for Db2 is <code>bring-your-own-license</code>.</p>
    /// </note>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    /// <p>Valid Values:</p>
    /// <ul>
    /// <li>
    /// <p>RDS for Db2 - <code>bring-your-own-license | marketplace-license</code></p></li>
    /// <li>
    /// <p>RDS for MariaDB - <code>general-public-license</code></p></li>
    /// <li>
    /// <p>RDS for Microsoft SQL Server - <code>license-included</code></p></li>
    /// <li>
    /// <p>RDS for MySQL - <code>general-public-license</code></p></li>
    /// <li>
    /// <p>RDS for Oracle - <code>bring-your-own-license | license-included</code></p></li>
    /// <li>
    /// <p>RDS for PostgreSQL - <code>postgresql-license</code></p></li>
    /// </ul>
    pub fn get_license_model(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_license_model()
    }
    /// <p>The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB instance. For information about valid IOPS values, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html">Amazon RDS DB instance storage</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage amount for the DB instance.</p></li>
    /// <li>
    /// <p>For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.</p></li>
    /// </ul>
    pub fn iops(mut self, input: i32) -> Self {
        self.inner = self.inner.iops(input);
        self
    }
    /// <p>The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB instance. For information about valid IOPS values, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html">Amazon RDS DB instance storage</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage amount for the DB instance.</p></li>
    /// <li>
    /// <p>For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.</p></li>
    /// </ul>
    pub fn set_iops(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_iops(input);
        self
    }
    /// <p>The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB instance. For information about valid IOPS values, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html">Amazon RDS DB instance storage</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage amount for the DB instance.</p></li>
    /// <li>
    /// <p>For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.</p></li>
    /// </ul>
    pub fn get_iops(&self) -> &::std::option::Option<i32> {
        self.inner.get_iops()
    }
    /// <p>The option group to associate the DB instance with.</p>
    /// <p>Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group. Also, that option group can't be removed from a DB instance after it is associated with a DB instance.</p>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    pub fn option_group_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.option_group_name(input.into());
        self
    }
    /// <p>The option group to associate the DB instance with.</p>
    /// <p>Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group. Also, that option group can't be removed from a DB instance after it is associated with a DB instance.</p>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    pub fn set_option_group_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_option_group_name(input);
        self
    }
    /// <p>The option group to associate the DB instance with.</p>
    /// <p>Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group. Also, that option group can't be removed from a DB instance after it is associated with a DB instance.</p>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    pub fn get_option_group_name(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_option_group_name()
    }
    /// <p>For supported engines, the character set (<code>CharacterSet</code>) to associate the DB instance with.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora - The character set is managed by the DB cluster. For more information, see <code>CreateDBCluster</code>.</p></li>
    /// <li>
    /// <p>RDS Custom - However, if you need to change the character set, you can change it on the database itself.</p></li>
    /// </ul>
    pub fn character_set_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.character_set_name(input.into());
        self
    }
    /// <p>For supported engines, the character set (<code>CharacterSet</code>) to associate the DB instance with.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora - The character set is managed by the DB cluster. For more information, see <code>CreateDBCluster</code>.</p></li>
    /// <li>
    /// <p>RDS Custom - However, if you need to change the character set, you can change it on the database itself.</p></li>
    /// </ul>
    pub fn set_character_set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_character_set_name(input);
        self
    }
    /// <p>For supported engines, the character set (<code>CharacterSet</code>) to associate the DB instance with.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora - The character set is managed by the DB cluster. For more information, see <code>CreateDBCluster</code>.</p></li>
    /// <li>
    /// <p>RDS Custom - However, if you need to change the character set, you can change it on the database itself.</p></li>
    /// </ul>
    pub fn get_character_set_name(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_character_set_name()
    }
    /// <p>The name of the NCHAR character set for the Oracle DB instance.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn nchar_character_set_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.nchar_character_set_name(input.into());
        self
    }
    /// <p>The name of the NCHAR character set for the Oracle DB instance.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn set_nchar_character_set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_nchar_character_set_name(input);
        self
    }
    /// <p>The name of the NCHAR character set for the Oracle DB instance.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn get_nchar_character_set_name(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_nchar_character_set_name()
    }
    /// <p>Specifies whether the DB instance is publicly accessible.</p>
    /// <p>When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB instance doesn't permit it.</p>
    /// <p>When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.</p>
    /// <p>Default: The default behavior varies depending on whether <code>DBSubnetGroupName</code> is specified.</p>
    /// <p>If <code>DBSubnetGroupName</code> isn't specified, and <code>PubliclyAccessible</code> isn't specified, the following applies:</p>
    /// <ul>
    /// <li>
    /// <p>If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance is private.</p></li>
    /// <li>
    /// <p>If the default VPC in the target Region has an internet gateway attached to it, the DB instance is public.</p></li>
    /// </ul>
    /// <p>If <code>DBSubnetGroupName</code> is specified, and <code>PubliclyAccessible</code> isn't specified, the following applies:</p>
    /// <ul>
    /// <li>
    /// <p>If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is private.</p></li>
    /// <li>
    /// <p>If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public.</p></li>
    /// </ul>
    pub fn publicly_accessible(mut self, input: bool) -> Self {
        self.inner = self.inner.publicly_accessible(input);
        self
    }
    /// <p>Specifies whether the DB instance is publicly accessible.</p>
    /// <p>When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB instance doesn't permit it.</p>
    /// <p>When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.</p>
    /// <p>Default: The default behavior varies depending on whether <code>DBSubnetGroupName</code> is specified.</p>
    /// <p>If <code>DBSubnetGroupName</code> isn't specified, and <code>PubliclyAccessible</code> isn't specified, the following applies:</p>
    /// <ul>
    /// <li>
    /// <p>If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance is private.</p></li>
    /// <li>
    /// <p>If the default VPC in the target Region has an internet gateway attached to it, the DB instance is public.</p></li>
    /// </ul>
    /// <p>If <code>DBSubnetGroupName</code> is specified, and <code>PubliclyAccessible</code> isn't specified, the following applies:</p>
    /// <ul>
    /// <li>
    /// <p>If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is private.</p></li>
    /// <li>
    /// <p>If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public.</p></li>
    /// </ul>
    pub fn set_publicly_accessible(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_publicly_accessible(input);
        self
    }
    /// <p>Specifies whether the DB instance is publicly accessible.</p>
    /// <p>When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB instance doesn't permit it.</p>
    /// <p>When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.</p>
    /// <p>Default: The default behavior varies depending on whether <code>DBSubnetGroupName</code> is specified.</p>
    /// <p>If <code>DBSubnetGroupName</code> isn't specified, and <code>PubliclyAccessible</code> isn't specified, the following applies:</p>
    /// <ul>
    /// <li>
    /// <p>If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance is private.</p></li>
    /// <li>
    /// <p>If the default VPC in the target Region has an internet gateway attached to it, the DB instance is public.</p></li>
    /// </ul>
    /// <p>If <code>DBSubnetGroupName</code> is specified, and <code>PubliclyAccessible</code> isn't specified, the following applies:</p>
    /// <ul>
    /// <li>
    /// <p>If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is private.</p></li>
    /// <li>
    /// <p>If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public.</p></li>
    /// </ul>
    pub fn get_publicly_accessible(&self) -> &::std::option::Option<bool> {
        self.inner.get_publicly_accessible()
    }
    ///
    /// Appends an item to `Tags`.
    ///
    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
    ///
    /// <p>Tags to assign to the DB instance.</p>
    pub fn tags(mut self, input: crate::types::Tag) -> Self {
        self.inner = self.inner.tags(input);
        self
    }
    /// <p>Tags to assign to the DB instance.</p>
    pub fn set_tags(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::Tag>>) -> Self {
        self.inner = self.inner.set_tags(input);
        self
    }
    /// <p>Tags to assign to the DB instance.</p>
    pub fn get_tags(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::Tag>> {
        self.inner.get_tags()
    }
    /// <p>The identifier of the DB cluster that this DB instance will belong to.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn db_cluster_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.db_cluster_identifier(input.into());
        self
    }
    /// <p>The identifier of the DB cluster that this DB instance will belong to.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn set_db_cluster_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_db_cluster_identifier(input);
        self
    }
    /// <p>The identifier of the DB cluster that this DB instance will belong to.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn get_db_cluster_identifier(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_db_cluster_identifier()
    }
    /// <p>The storage type to associate with the DB instance.</p>
    /// <p>If you specify <code>io1</code>, <code>io2</code>, or <code>gp3</code>, you must also include a value for the <code>Iops</code> parameter.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.</p>
    /// <p>Valid Values: <code>gp2 | gp3 | io1 | io2 | standard</code></p>
    /// <p>Default: <code>io1</code>, if the <code>Iops</code> parameter is specified. Otherwise, <code>gp2</code>.</p>
    pub fn storage_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.storage_type(input.into());
        self
    }
    /// <p>The storage type to associate with the DB instance.</p>
    /// <p>If you specify <code>io1</code>, <code>io2</code>, or <code>gp3</code>, you must also include a value for the <code>Iops</code> parameter.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.</p>
    /// <p>Valid Values: <code>gp2 | gp3 | io1 | io2 | standard</code></p>
    /// <p>Default: <code>io1</code>, if the <code>Iops</code> parameter is specified. Otherwise, <code>gp2</code>.</p>
    pub fn set_storage_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_storage_type(input);
        self
    }
    /// <p>The storage type to associate with the DB instance.</p>
    /// <p>If you specify <code>io1</code>, <code>io2</code>, or <code>gp3</code>, you must also include a value for the <code>Iops</code> parameter.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.</p>
    /// <p>Valid Values: <code>gp2 | gp3 | io1 | io2 | standard</code></p>
    /// <p>Default: <code>io1</code>, if the <code>Iops</code> parameter is specified. Otherwise, <code>gp2</code>.</p>
    pub fn get_storage_type(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_storage_type()
    }
    /// <p>The ARN from the key store with which to associate the instance for TDE encryption.</p>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    pub fn tde_credential_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.tde_credential_arn(input.into());
        self
    }
    /// <p>The ARN from the key store with which to associate the instance for TDE encryption.</p>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    pub fn set_tde_credential_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_tde_credential_arn(input);
        self
    }
    /// <p>The ARN from the key store with which to associate the instance for TDE encryption.</p>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    pub fn get_tde_credential_arn(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_tde_credential_arn()
    }
    /// <p>The password for the given ARN from the key store in order to access the device.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn tde_credential_password(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.tde_credential_password(input.into());
        self
    }
    /// <p>The password for the given ARN from the key store in order to access the device.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn set_tde_credential_password(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_tde_credential_password(input);
        self
    }
    /// <p>The password for the given ARN from the key store in order to access the device.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn get_tde_credential_password(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_tde_credential_password()
    }
    /// <p>Specifes whether the DB instance is encrypted. By default, it isn't encrypted.</p>
    /// <p>For RDS Custom DB instances, either enable this setting or leave it unset. Otherwise, Amazon RDS reports an error.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The encryption for DB instances is managed by the DB cluster.</p>
    pub fn storage_encrypted(mut self, input: bool) -> Self {
        self.inner = self.inner.storage_encrypted(input);
        self
    }
    /// <p>Specifes whether the DB instance is encrypted. By default, it isn't encrypted.</p>
    /// <p>For RDS Custom DB instances, either enable this setting or leave it unset. Otherwise, Amazon RDS reports an error.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The encryption for DB instances is managed by the DB cluster.</p>
    pub fn set_storage_encrypted(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_storage_encrypted(input);
        self
    }
    /// <p>Specifes whether the DB instance is encrypted. By default, it isn't encrypted.</p>
    /// <p>For RDS Custom DB instances, either enable this setting or leave it unset. Otherwise, Amazon RDS reports an error.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The encryption for DB instances is managed by the DB cluster.</p>
    pub fn get_storage_encrypted(&self) -> &::std::option::Option<bool> {
        self.inner.get_storage_encrypted()
    }
    /// <p>The Amazon Web Services KMS key identifier for an encrypted DB instance.</p>
    /// <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The Amazon Web Services KMS key identifier is managed by the DB cluster. For more information, see <code>CreateDBCluster</code>.</p>
    /// <p>If <code>StorageEncrypted</code> is enabled, and you do not specify a value for the <code>KmsKeyId</code> parameter, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.</p>
    /// <p>For Amazon RDS Custom, a KMS key is required for DB instances. For most RDS engines, if you leave this parameter empty while enabling <code>StorageEncrypted</code>, the engine uses the default KMS key. However, RDS Custom doesn't use the default key when this parameter is empty. You must explicitly specify a key.</p>
    pub fn kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.kms_key_id(input.into());
        self
    }
    /// <p>The Amazon Web Services KMS key identifier for an encrypted DB instance.</p>
    /// <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The Amazon Web Services KMS key identifier is managed by the DB cluster. For more information, see <code>CreateDBCluster</code>.</p>
    /// <p>If <code>StorageEncrypted</code> is enabled, and you do not specify a value for the <code>KmsKeyId</code> parameter, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.</p>
    /// <p>For Amazon RDS Custom, a KMS key is required for DB instances. For most RDS engines, if you leave this parameter empty while enabling <code>StorageEncrypted</code>, the engine uses the default KMS key. However, RDS Custom doesn't use the default key when this parameter is empty. You must explicitly specify a key.</p>
    pub fn set_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_kms_key_id(input);
        self
    }
    /// <p>The Amazon Web Services KMS key identifier for an encrypted DB instance.</p>
    /// <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. The Amazon Web Services KMS key identifier is managed by the DB cluster. For more information, see <code>CreateDBCluster</code>.</p>
    /// <p>If <code>StorageEncrypted</code> is enabled, and you do not specify a value for the <code>KmsKeyId</code> parameter, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.</p>
    /// <p>For Amazon RDS Custom, a KMS key is required for DB instances. For most RDS engines, if you leave this parameter empty while enabling <code>StorageEncrypted</code>, the engine uses the default KMS key. However, RDS Custom doesn't use the default key when this parameter is empty. You must explicitly specify a key.</p>
    pub fn get_kms_key_id(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_kms_key_id()
    }
    /// <p>The Active Directory directory ID to create the DB instance in. Currently, you can create only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active Directory Domain.</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html"> Kerberos Authentication</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (The domain is managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.domain(input.into());
        self
    }
    /// <p>The Active Directory directory ID to create the DB instance in. Currently, you can create only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active Directory Domain.</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html"> Kerberos Authentication</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (The domain is managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn set_domain(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_domain(input);
        self
    }
    /// <p>The Active Directory directory ID to create the DB instance in. Currently, you can create only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active Directory Domain.</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html"> Kerberos Authentication</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (The domain is managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn get_domain(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_domain()
    }
    /// <p>The fully qualified domain name (FQDN) of an Active Directory domain.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Can't be longer than 64 characters.</p></li>
    /// </ul>
    /// <p>Example: <code>mymanagedADtest.mymanagedAD.mydomain</code></p>
    pub fn domain_fqdn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.domain_fqdn(input.into());
        self
    }
    /// <p>The fully qualified domain name (FQDN) of an Active Directory domain.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Can't be longer than 64 characters.</p></li>
    /// </ul>
    /// <p>Example: <code>mymanagedADtest.mymanagedAD.mydomain</code></p>
    pub fn set_domain_fqdn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_domain_fqdn(input);
        self
    }
    /// <p>The fully qualified domain name (FQDN) of an Active Directory domain.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Can't be longer than 64 characters.</p></li>
    /// </ul>
    /// <p>Example: <code>mymanagedADtest.mymanagedAD.mydomain</code></p>
    pub fn get_domain_fqdn(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_domain_fqdn()
    }
    /// <p>The Active Directory organizational unit for your DB instance to join.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be in the distinguished name format.</p></li>
    /// <li>
    /// <p>Can't be longer than 64 characters.</p></li>
    /// </ul>
    /// <p>Example: <code>OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain</code></p>
    pub fn domain_ou(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.domain_ou(input.into());
        self
    }
    /// <p>The Active Directory organizational unit for your DB instance to join.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be in the distinguished name format.</p></li>
    /// <li>
    /// <p>Can't be longer than 64 characters.</p></li>
    /// </ul>
    /// <p>Example: <code>OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain</code></p>
    pub fn set_domain_ou(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_domain_ou(input);
        self
    }
    /// <p>The Active Directory organizational unit for your DB instance to join.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Must be in the distinguished name format.</p></li>
    /// <li>
    /// <p>Can't be longer than 64 characters.</p></li>
    /// </ul>
    /// <p>Example: <code>OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain</code></p>
    pub fn get_domain_ou(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_domain_ou()
    }
    /// <p>The ARN for the Secrets Manager secret with the credentials for the user joining the domain.</p>
    /// <p>Example: <code>arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456</code></p>
    pub fn domain_auth_secret_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.domain_auth_secret_arn(input.into());
        self
    }
    /// <p>The ARN for the Secrets Manager secret with the credentials for the user joining the domain.</p>
    /// <p>Example: <code>arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456</code></p>
    pub fn set_domain_auth_secret_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_domain_auth_secret_arn(input);
        self
    }
    /// <p>The ARN for the Secrets Manager secret with the credentials for the user joining the domain.</p>
    /// <p>Example: <code>arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456</code></p>
    pub fn get_domain_auth_secret_arn(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_domain_auth_secret_arn()
    }
    ///
    /// Appends an item to `DomainDnsIps`.
    ///
    /// To override the contents of this collection use [`set_domain_dns_ips`](Self::set_domain_dns_ips).
    ///
    /// <p>The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list.</p></li>
    /// </ul>
    /// <p>Example: <code>123.124.125.126,234.235.236.237</code></p>
    pub fn domain_dns_ips(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.domain_dns_ips(input.into());
        self
    }
    /// <p>The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list.</p></li>
    /// </ul>
    /// <p>Example: <code>123.124.125.126,234.235.236.237</code></p>
    pub fn set_domain_dns_ips(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.inner = self.inner.set_domain_dns_ips(input);
        self
    }
    /// <p>The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list.</p></li>
    /// </ul>
    /// <p>Example: <code>123.124.125.126,234.235.236.237</code></p>
    pub fn get_domain_dns_ips(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        self.inner.get_domain_dns_ips()
    }
    /// <p>Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.</p>
    pub fn copy_tags_to_snapshot(mut self, input: bool) -> Self {
        self.inner = self.inner.copy_tags_to_snapshot(input);
        self
    }
    /// <p>Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.</p>
    pub fn set_copy_tags_to_snapshot(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_copy_tags_to_snapshot(input);
        self
    }
    /// <p>Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.</p>
    pub fn get_copy_tags_to_snapshot(&self) -> &::std::option::Option<bool> {
        self.inner.get_copy_tags_to_snapshot()
    }
    /// <p>The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collection of Enhanced Monitoring metrics, specify <code>0</code>.</p>
    /// <p>If <code>MonitoringRoleArn</code> is specified, then you must set <code>MonitoringInterval</code> to a value other than <code>0</code>.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>Valid Values: <code>0 | 1 | 5 | 10 | 15 | 30 | 60</code></p>
    /// <p>Default: <code>0</code></p>
    pub fn monitoring_interval(mut self, input: i32) -> Self {
        self.inner = self.inner.monitoring_interval(input);
        self
    }
    /// <p>The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collection of Enhanced Monitoring metrics, specify <code>0</code>.</p>
    /// <p>If <code>MonitoringRoleArn</code> is specified, then you must set <code>MonitoringInterval</code> to a value other than <code>0</code>.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>Valid Values: <code>0 | 1 | 5 | 10 | 15 | 30 | 60</code></p>
    /// <p>Default: <code>0</code></p>
    pub fn set_monitoring_interval(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_monitoring_interval(input);
        self
    }
    /// <p>The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collection of Enhanced Monitoring metrics, specify <code>0</code>.</p>
    /// <p>If <code>MonitoringRoleArn</code> is specified, then you must set <code>MonitoringInterval</code> to a value other than <code>0</code>.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>Valid Values: <code>0 | 1 | 5 | 10 | 15 | 30 | 60</code></p>
    /// <p>Default: <code>0</code></p>
    pub fn get_monitoring_interval(&self) -> &::std::option::Option<i32> {
        self.inner.get_monitoring_interval()
    }
    /// <p>The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs. For example, <code>arn:aws:iam:123456789012:role/emaccess</code>. For information on creating a monitoring role, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling">Setting Up and Enabling Enhanced Monitoring</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>If <code>MonitoringInterval</code> is set to a value other than <code>0</code>, then you must supply a <code>MonitoringRoleArn</code> value.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn monitoring_role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.monitoring_role_arn(input.into());
        self
    }
    /// <p>The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs. For example, <code>arn:aws:iam:123456789012:role/emaccess</code>. For information on creating a monitoring role, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling">Setting Up and Enabling Enhanced Monitoring</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>If <code>MonitoringInterval</code> is set to a value other than <code>0</code>, then you must supply a <code>MonitoringRoleArn</code> value.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn set_monitoring_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_monitoring_role_arn(input);
        self
    }
    /// <p>The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs. For example, <code>arn:aws:iam:123456789012:role/emaccess</code>. For information on creating a monitoring role, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling">Setting Up and Enabling Enhanced Monitoring</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>If <code>MonitoringInterval</code> is set to a value other than <code>0</code>, then you must supply a <code>MonitoringRoleArn</code> value.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn get_monitoring_role_arn(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_monitoring_role_arn()
    }
    /// <p>The name of the IAM role to use when making API calls to the Directory Service.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (The domain is managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn domain_iam_role_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.domain_iam_role_name(input.into());
        self
    }
    /// <p>The name of the IAM role to use when making API calls to the Directory Service.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (The domain is managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn set_domain_iam_role_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_domain_iam_role_name(input);
        self
    }
    /// <p>The name of the IAM role to use when making API calls to the Directory Service.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (The domain is managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn get_domain_iam_role_name(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_domain_iam_role_name()
    }
    /// <p>The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html#Aurora.Managing.FaultTolerance"> Fault Tolerance for an Aurora DB Cluster</a> in the <i>Amazon Aurora User Guide</i>.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>Default: <code>1</code></p>
    /// <p>Valid Values: <code>0 - 15</code></p>
    pub fn promotion_tier(mut self, input: i32) -> Self {
        self.inner = self.inner.promotion_tier(input);
        self
    }
    /// <p>The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html#Aurora.Managing.FaultTolerance"> Fault Tolerance for an Aurora DB Cluster</a> in the <i>Amazon Aurora User Guide</i>.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>Default: <code>1</code></p>
    /// <p>Valid Values: <code>0 - 15</code></p>
    pub fn set_promotion_tier(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_promotion_tier(input);
        self
    }
    /// <p>The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html#Aurora.Managing.FaultTolerance"> Fault Tolerance for an Aurora DB Cluster</a> in the <i>Amazon Aurora User Guide</i>.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>Default: <code>1</code></p>
    /// <p>Valid Values: <code>0 - 15</code></p>
    pub fn get_promotion_tier(&self) -> &::std::option::Option<i32> {
        self.inner.get_promotion_tier()
    }
    /// <p>The time zone of the DB instance. The time zone parameter is currently supported only by <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-time-zone">RDS for Db2</a> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone">RDS for SQL Server</a>.</p>
    pub fn timezone(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.timezone(input.into());
        self
    }
    /// <p>The time zone of the DB instance. The time zone parameter is currently supported only by <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-time-zone">RDS for Db2</a> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone">RDS for SQL Server</a>.</p>
    pub fn set_timezone(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_timezone(input);
        self
    }
    /// <p>The time zone of the DB instance. The time zone parameter is currently supported only by <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-time-zone">RDS for Db2</a> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone">RDS for SQL Server</a>.</p>
    pub fn get_timezone(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_timezone()
    }
    /// <p>Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled.</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html"> IAM Database Authentication for MySQL and PostgreSQL</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (Mapping Amazon Web Services IAM accounts to database accounts is managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn enable_iam_database_authentication(mut self, input: bool) -> Self {
        self.inner = self.inner.enable_iam_database_authentication(input);
        self
    }
    /// <p>Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled.</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html"> IAM Database Authentication for MySQL and PostgreSQL</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (Mapping Amazon Web Services IAM accounts to database accounts is managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn set_enable_iam_database_authentication(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_enable_iam_database_authentication(input);
        self
    }
    /// <p>Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled.</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html"> IAM Database Authentication for MySQL and PostgreSQL</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (Mapping Amazon Web Services IAM accounts to database accounts is managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn get_enable_iam_database_authentication(&self) -> &::std::option::Option<bool> {
        self.inner.get_enable_iam_database_authentication()
    }
    /// <p>Specifies whether to enable Performance Insights for the DB instance. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html">Using Amazon Performance Insights</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn enable_performance_insights(mut self, input: bool) -> Self {
        self.inner = self.inner.enable_performance_insights(input);
        self
    }
    /// <p>Specifies whether to enable Performance Insights for the DB instance. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html">Using Amazon Performance Insights</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn set_enable_performance_insights(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_enable_performance_insights(input);
        self
    }
    /// <p>Specifies whether to enable Performance Insights for the DB instance. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html">Using Amazon Performance Insights</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn get_enable_performance_insights(&self) -> &::std::option::Option<bool> {
        self.inner.get_enable_performance_insights()
    }
    /// <p>The Amazon Web Services KMS key identifier for encryption of Performance Insights data.</p>
    /// <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.</p>
    /// <p>If you don't specify a value for <code>PerformanceInsightsKMSKeyId</code>, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn performance_insights_kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.performance_insights_kms_key_id(input.into());
        self
    }
    /// <p>The Amazon Web Services KMS key identifier for encryption of Performance Insights data.</p>
    /// <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.</p>
    /// <p>If you don't specify a value for <code>PerformanceInsightsKMSKeyId</code>, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn set_performance_insights_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_performance_insights_kms_key_id(input);
        self
    }
    /// <p>The Amazon Web Services KMS key identifier for encryption of Performance Insights data.</p>
    /// <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.</p>
    /// <p>If you don't specify a value for <code>PerformanceInsightsKMSKeyId</code>, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    pub fn get_performance_insights_kms_key_id(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_performance_insights_kms_key_id()
    }
    /// <p>The number of days to retain Performance Insights data.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>Valid Values:</p>
    /// <ul>
    /// <li>
    /// <p><code>7</code></p></li>
    /// <li>
    /// <p><i>month</i> * 31, where <i>month</i> is a number of months from 1-23. Examples: <code>93</code> (3 months * 31), <code>341</code> (11 months * 31), <code>589</code> (19 months * 31)</p></li>
    /// <li>
    /// <p><code>731</code></p></li>
    /// </ul>
    /// <p>Default: <code>7</code> days</p>
    /// <p>If you specify a retention period that isn't valid, such as <code>94</code>, Amazon RDS returns an error.</p>
    pub fn performance_insights_retention_period(mut self, input: i32) -> Self {
        self.inner = self.inner.performance_insights_retention_period(input);
        self
    }
    /// <p>The number of days to retain Performance Insights data.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>Valid Values:</p>
    /// <ul>
    /// <li>
    /// <p><code>7</code></p></li>
    /// <li>
    /// <p><i>month</i> * 31, where <i>month</i> is a number of months from 1-23. Examples: <code>93</code> (3 months * 31), <code>341</code> (11 months * 31), <code>589</code> (19 months * 31)</p></li>
    /// <li>
    /// <p><code>731</code></p></li>
    /// </ul>
    /// <p>Default: <code>7</code> days</p>
    /// <p>If you specify a retention period that isn't valid, such as <code>94</code>, Amazon RDS returns an error.</p>
    pub fn set_performance_insights_retention_period(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_performance_insights_retention_period(input);
        self
    }
    /// <p>The number of days to retain Performance Insights data.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>Valid Values:</p>
    /// <ul>
    /// <li>
    /// <p><code>7</code></p></li>
    /// <li>
    /// <p><i>month</i> * 31, where <i>month</i> is a number of months from 1-23. Examples: <code>93</code> (3 months * 31), <code>341</code> (11 months * 31), <code>589</code> (19 months * 31)</p></li>
    /// <li>
    /// <p><code>731</code></p></li>
    /// </ul>
    /// <p>Default: <code>7</code> days</p>
    /// <p>If you specify a retention period that isn't valid, such as <code>94</code>, Amazon RDS returns an error.</p>
    pub fn get_performance_insights_retention_period(&self) -> &::std::option::Option<i32> {
        self.inner.get_performance_insights_retention_period()
    }
    ///
    /// Appends an item to `EnableCloudwatchLogsExports`.
    ///
    /// To override the contents of this collection use [`set_enable_cloudwatch_logs_exports`](Self::set_enable_cloudwatch_logs_exports).
    ///
    /// <p>The list of log types to enable for exporting to CloudWatch Logs. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch"> Publishing Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (CloudWatch Logs exports are managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    /// <p>The following values are valid for each DB engine:</p>
    /// <ul>
    /// <li>
    /// <p>RDS for Db2 - <code>diag.log | notify.log</code></p></li>
    /// <li>
    /// <p>RDS for MariaDB - <code>audit | error | general | slowquery</code></p></li>
    /// <li>
    /// <p>RDS for Microsoft SQL Server - <code>agent | error</code></p></li>
    /// <li>
    /// <p>RDS for MySQL - <code>audit | error | general | slowquery</code></p></li>
    /// <li>
    /// <p>RDS for Oracle - <code>alert | audit | listener | trace | oemagent</code></p></li>
    /// <li>
    /// <p>RDS for PostgreSQL - <code>postgresql | upgrade</code></p></li>
    /// </ul>
    pub fn enable_cloudwatch_logs_exports(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.enable_cloudwatch_logs_exports(input.into());
        self
    }
    /// <p>The list of log types to enable for exporting to CloudWatch Logs. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch"> Publishing Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (CloudWatch Logs exports are managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    /// <p>The following values are valid for each DB engine:</p>
    /// <ul>
    /// <li>
    /// <p>RDS for Db2 - <code>diag.log | notify.log</code></p></li>
    /// <li>
    /// <p>RDS for MariaDB - <code>audit | error | general | slowquery</code></p></li>
    /// <li>
    /// <p>RDS for Microsoft SQL Server - <code>agent | error</code></p></li>
    /// <li>
    /// <p>RDS for MySQL - <code>audit | error | general | slowquery</code></p></li>
    /// <li>
    /// <p>RDS for Oracle - <code>alert | audit | listener | trace | oemagent</code></p></li>
    /// <li>
    /// <p>RDS for PostgreSQL - <code>postgresql | upgrade</code></p></li>
    /// </ul>
    pub fn set_enable_cloudwatch_logs_exports(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.inner = self.inner.set_enable_cloudwatch_logs_exports(input);
        self
    }
    /// <p>The list of log types to enable for exporting to CloudWatch Logs. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch"> Publishing Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (CloudWatch Logs exports are managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    /// <p>The following values are valid for each DB engine:</p>
    /// <ul>
    /// <li>
    /// <p>RDS for Db2 - <code>diag.log | notify.log</code></p></li>
    /// <li>
    /// <p>RDS for MariaDB - <code>audit | error | general | slowquery</code></p></li>
    /// <li>
    /// <p>RDS for Microsoft SQL Server - <code>agent | error</code></p></li>
    /// <li>
    /// <p>RDS for MySQL - <code>audit | error | general | slowquery</code></p></li>
    /// <li>
    /// <p>RDS for Oracle - <code>alert | audit | listener | trace | oemagent</code></p></li>
    /// <li>
    /// <p>RDS for PostgreSQL - <code>postgresql | upgrade</code></p></li>
    /// </ul>
    pub fn get_enable_cloudwatch_logs_exports(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        self.inner.get_enable_cloudwatch_logs_exports()
    }
    ///
    /// Appends an item to `ProcessorFeatures`.
    ///
    /// To override the contents of this collection use [`set_processor_features`](Self::set_processor_features).
    ///
    /// <p>The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.</p>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    pub fn processor_features(mut self, input: crate::types::ProcessorFeature) -> Self {
        self.inner = self.inner.processor_features(input);
        self
    }
    /// <p>The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.</p>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    pub fn set_processor_features(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::ProcessorFeature>>) -> Self {
        self.inner = self.inner.set_processor_features(input);
        self
    }
    /// <p>The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.</p>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    pub fn get_processor_features(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::ProcessorFeature>> {
        self.inner.get_processor_features()
    }
    /// <p>Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html"> Deleting a DB Instance</a>.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. You can enable or disable deletion protection for the DB cluster. For more information, see <code>CreateDBCluster</code>. DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster.</p>
    pub fn deletion_protection(mut self, input: bool) -> Self {
        self.inner = self.inner.deletion_protection(input);
        self
    }
    /// <p>Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html"> Deleting a DB Instance</a>.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. You can enable or disable deletion protection for the DB cluster. For more information, see <code>CreateDBCluster</code>. DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster.</p>
    pub fn set_deletion_protection(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_deletion_protection(input);
        self
    }
    /// <p>Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html"> Deleting a DB Instance</a>.</p>
    /// <p>This setting doesn't apply to Amazon Aurora DB instances. You can enable or disable deletion protection for the DB cluster. For more information, see <code>CreateDBCluster</code>. DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster.</p>
    pub fn get_deletion_protection(&self) -> &::std::option::Option<bool> {
        self.inner.get_deletion_protection()
    }
    /// <p>The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.</p>
    /// <p>For more information about this setting, including limitations that apply to it, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling"> Managing capacity automatically with Amazon RDS storage autoscaling</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (Storage is managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn max_allocated_storage(mut self, input: i32) -> Self {
        self.inner = self.inner.max_allocated_storage(input);
        self
    }
    /// <p>The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.</p>
    /// <p>For more information about this setting, including limitations that apply to it, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling"> Managing capacity automatically with Amazon RDS storage autoscaling</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (Storage is managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn set_max_allocated_storage(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_max_allocated_storage(input);
        self
    }
    /// <p>The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.</p>
    /// <p>For more information about this setting, including limitations that apply to it, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling"> Managing capacity automatically with Amazon RDS storage autoscaling</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>This setting doesn't apply to the following DB instances:</p>
    /// <ul>
    /// <li>
    /// <p>Amazon Aurora (Storage is managed by the DB cluster.)</p></li>
    /// <li>
    /// <p>RDS Custom</p></li>
    /// </ul>
    pub fn get_max_allocated_storage(&self) -> &::std::option::Option<i32> {
        self.inner.get_max_allocated_storage()
    }
    /// <p>Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.</p>
    /// <p>A <i>CoIP</i> provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.</p>
    /// <p>For more information about RDS on Outposts, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>For more information about CoIPs, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing">Customer-owned IP addresses</a> in the <i>Amazon Web Services Outposts User Guide</i>.</p>
    pub fn enable_customer_owned_ip(mut self, input: bool) -> Self {
        self.inner = self.inner.enable_customer_owned_ip(input);
        self
    }
    /// <p>Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.</p>
    /// <p>A <i>CoIP</i> provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.</p>
    /// <p>For more information about RDS on Outposts, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>For more information about CoIPs, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing">Customer-owned IP addresses</a> in the <i>Amazon Web Services Outposts User Guide</i>.</p>
    pub fn set_enable_customer_owned_ip(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_enable_customer_owned_ip(input);
        self
    }
    /// <p>Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.</p>
    /// <p>A <i>CoIP</i> provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.</p>
    /// <p>For more information about RDS on Outposts, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>For more information about CoIPs, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing">Customer-owned IP addresses</a> in the <i>Amazon Web Services Outposts User Guide</i>.</p>
    pub fn get_enable_customer_owned_ip(&self) -> &::std::option::Option<bool> {
        self.inner.get_enable_customer_owned_ip()
    }
    /// <p>The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.</p>
    /// <p>This setting is required for RDS Custom.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>The profile must exist in your account.</p></li>
    /// <li>
    /// <p>The profile must have an IAM role that Amazon EC2 has permissions to assume.</p></li>
    /// <li>
    /// <p>The instance profile name and the associated IAM role name must start with the prefix <code>AWSRDSCustom</code>.</p></li>
    /// </ul>
    /// <p>For the list of permissions required for the IAM role, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc"> Configure IAM and your VPC</a> in the <i>Amazon RDS User Guide</i>.</p>
    pub fn custom_iam_instance_profile(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.custom_iam_instance_profile(input.into());
        self
    }
    /// <p>The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.</p>
    /// <p>This setting is required for RDS Custom.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>The profile must exist in your account.</p></li>
    /// <li>
    /// <p>The profile must have an IAM role that Amazon EC2 has permissions to assume.</p></li>
    /// <li>
    /// <p>The instance profile name and the associated IAM role name must start with the prefix <code>AWSRDSCustom</code>.</p></li>
    /// </ul>
    /// <p>For the list of permissions required for the IAM role, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc"> Configure IAM and your VPC</a> in the <i>Amazon RDS User Guide</i>.</p>
    pub fn set_custom_iam_instance_profile(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_custom_iam_instance_profile(input);
        self
    }
    /// <p>The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.</p>
    /// <p>This setting is required for RDS Custom.</p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>The profile must exist in your account.</p></li>
    /// <li>
    /// <p>The profile must have an IAM role that Amazon EC2 has permissions to assume.</p></li>
    /// <li>
    /// <p>The instance profile name and the associated IAM role name must start with the prefix <code>AWSRDSCustom</code>.</p></li>
    /// </ul>
    /// <p>For the list of permissions required for the IAM role, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc"> Configure IAM and your VPC</a> in the <i>Amazon RDS User Guide</i>.</p>
    pub fn get_custom_iam_instance_profile(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_custom_iam_instance_profile()
    }
    /// <p>The location for storing automated backups and manual snapshots.</p>
    /// <p>Valid Values:</p>
    /// <ul>
    /// <li>
    /// <p><code>outposts</code> (Amazon Web Services Outposts)</p></li>
    /// <li>
    /// <p><code>region</code> (Amazon Web Services Region)</p></li>
    /// </ul>
    /// <p>Default: <code>region</code></p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User Guide</i>.</p>
    pub fn backup_target(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.backup_target(input.into());
        self
    }
    /// <p>The location for storing automated backups and manual snapshots.</p>
    /// <p>Valid Values:</p>
    /// <ul>
    /// <li>
    /// <p><code>outposts</code> (Amazon Web Services Outposts)</p></li>
    /// <li>
    /// <p><code>region</code> (Amazon Web Services Region)</p></li>
    /// </ul>
    /// <p>Default: <code>region</code></p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User Guide</i>.</p>
    pub fn set_backup_target(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_backup_target(input);
        self
    }
    /// <p>The location for storing automated backups and manual snapshots.</p>
    /// <p>Valid Values:</p>
    /// <ul>
    /// <li>
    /// <p><code>outposts</code> (Amazon Web Services Outposts)</p></li>
    /// <li>
    /// <p><code>region</code> (Amazon Web Services Region)</p></li>
    /// </ul>
    /// <p>Default: <code>region</code></p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User Guide</i>.</p>
    pub fn get_backup_target(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_backup_target()
    }
    /// <p>The network type of the DB instance.</p>
    /// <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance. A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html"> Working with a DB instance in a VPC</a> in the <i>Amazon RDS User Guide.</i></p>
    /// <p>Valid Values: <code>IPV4 | DUAL</code></p>
    pub fn network_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.network_type(input.into());
        self
    }
    /// <p>The network type of the DB instance.</p>
    /// <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance. A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html"> Working with a DB instance in a VPC</a> in the <i>Amazon RDS User Guide.</i></p>
    /// <p>Valid Values: <code>IPV4 | DUAL</code></p>
    pub fn set_network_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_network_type(input);
        self
    }
    /// <p>The network type of the DB instance.</p>
    /// <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance. A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html"> Working with a DB instance in a VPC</a> in the <i>Amazon RDS User Guide.</i></p>
    /// <p>Valid Values: <code>IPV4 | DUAL</code></p>
    pub fn get_network_type(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_network_type()
    }
    /// <p>The storage throughput value for the DB instance.</p>
    /// <p>This setting applies only to the <code>gp3</code> storage type.</p>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    pub fn storage_throughput(mut self, input: i32) -> Self {
        self.inner = self.inner.storage_throughput(input);
        self
    }
    /// <p>The storage throughput value for the DB instance.</p>
    /// <p>This setting applies only to the <code>gp3</code> storage type.</p>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    pub fn set_storage_throughput(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inner = self.inner.set_storage_throughput(input);
        self
    }
    /// <p>The storage throughput value for the DB instance.</p>
    /// <p>This setting applies only to the <code>gp3</code> storage type.</p>
    /// <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
    pub fn get_storage_throughput(&self) -> &::std::option::Option<i32> {
        self.inner.get_storage_throughput()
    }
    /// <p>Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a> in the <i>Amazon RDS User Guide.</i></p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Can't manage the master user password with Amazon Web Services Secrets Manager if <code>MasterUserPassword</code> is specified.</p></li>
    /// </ul>
    pub fn manage_master_user_password(mut self, input: bool) -> Self {
        self.inner = self.inner.manage_master_user_password(input);
        self
    }
    /// <p>Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a> in the <i>Amazon RDS User Guide.</i></p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Can't manage the master user password with Amazon Web Services Secrets Manager if <code>MasterUserPassword</code> is specified.</p></li>
    /// </ul>
    pub fn set_manage_master_user_password(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_manage_master_user_password(input);
        self
    }
    /// <p>Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a> in the <i>Amazon RDS User Guide.</i></p>
    /// <p>Constraints:</p>
    /// <ul>
    /// <li>
    /// <p>Can't manage the master user password with Amazon Web Services Secrets Manager if <code>MasterUserPassword</code> is specified.</p></li>
    /// </ul>
    pub fn get_manage_master_user_password(&self) -> &::std::option::Option<bool> {
        self.inner.get_manage_master_user_password()
    }
    /// <p>The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in Amazon Web Services Secrets Manager.</p>
    /// <p>This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets Manager for the DB instance.</p>
    /// <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.</p>
    /// <p>If you don't specify <code>MasterUserSecretKmsKeyId</code>, then the <code>aws/secretsmanager</code> KMS key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't use the <code>aws/secretsmanager</code> KMS key to encrypt the secret, and you must use a customer managed KMS key.</p>
    /// <p>There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.</p>
    pub fn master_user_secret_kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.master_user_secret_kms_key_id(input.into());
        self
    }
    /// <p>The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in Amazon Web Services Secrets Manager.</p>
    /// <p>This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets Manager for the DB instance.</p>
    /// <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.</p>
    /// <p>If you don't specify <code>MasterUserSecretKmsKeyId</code>, then the <code>aws/secretsmanager</code> KMS key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't use the <code>aws/secretsmanager</code> KMS key to encrypt the secret, and you must use a customer managed KMS key.</p>
    /// <p>There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.</p>
    pub fn set_master_user_secret_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_master_user_secret_kms_key_id(input);
        self
    }
    /// <p>The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in Amazon Web Services Secrets Manager.</p>
    /// <p>This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets Manager for the DB instance.</p>
    /// <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.</p>
    /// <p>If you don't specify <code>MasterUserSecretKmsKeyId</code>, then the <code>aws/secretsmanager</code> KMS key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't use the <code>aws/secretsmanager</code> KMS key to encrypt the secret, and you must use a customer managed KMS key.</p>
    /// <p>There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.</p>
    pub fn get_master_user_secret_kms_key_id(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_master_user_secret_kms_key_id()
    }
    /// <p>The CA certificate identifier to use for the DB instance's server certificate.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html">Using SSL/TLS to encrypt a connection to a DB instance</a> in the <i>Amazon RDS User Guide</i> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html"> Using SSL/TLS to encrypt a connection to a DB cluster</a> in the <i>Amazon Aurora User Guide</i>.</p>
    pub fn ca_certificate_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.ca_certificate_identifier(input.into());
        self
    }
    /// <p>The CA certificate identifier to use for the DB instance's server certificate.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html">Using SSL/TLS to encrypt a connection to a DB instance</a> in the <i>Amazon RDS User Guide</i> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html"> Using SSL/TLS to encrypt a connection to a DB cluster</a> in the <i>Amazon Aurora User Guide</i>.</p>
    pub fn set_ca_certificate_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_ca_certificate_identifier(input);
        self
    }
    /// <p>The CA certificate identifier to use for the DB instance's server certificate.</p>
    /// <p>This setting doesn't apply to RDS Custom DB instances.</p>
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html">Using SSL/TLS to encrypt a connection to a DB instance</a> in the <i>Amazon RDS User Guide</i> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html"> Using SSL/TLS to encrypt a connection to a DB cluster</a> in the <i>Amazon Aurora User Guide</i>.</p>
    pub fn get_ca_certificate_identifier(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_ca_certificate_identifier()
    }
    /// <p>The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. In this context, the term "Oracle database instance" refers exclusively to the system global area (SGA) and Oracle background processes. If you don't specify a SID, the value defaults to <code>RDSCDB</code>. The Oracle SID is also the name of your CDB.</p>
    pub fn db_system_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.db_system_id(input.into());
        self
    }
    /// <p>The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. In this context, the term "Oracle database instance" refers exclusively to the system global area (SGA) and Oracle background processes. If you don't specify a SID, the value defaults to <code>RDSCDB</code>. The Oracle SID is also the name of your CDB.</p>
    pub fn set_db_system_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_db_system_id(input);
        self
    }
    /// <p>The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. In this context, the term "Oracle database instance" refers exclusively to the system global area (SGA) and Oracle background processes. If you don't specify a SID, the value defaults to <code>RDSCDB</code>. The Oracle SID is also the name of your CDB.</p>
    pub fn get_db_system_id(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_db_system_id()
    }
    /// <p>Indicates whether the DB instance has a dedicated log volume (DLV) enabled.</p>
    pub fn dedicated_log_volume(mut self, input: bool) -> Self {
        self.inner = self.inner.dedicated_log_volume(input);
        self
    }
    /// <p>Indicates whether the DB instance has a dedicated log volume (DLV) enabled.</p>
    pub fn set_dedicated_log_volume(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_dedicated_log_volume(input);
        self
    }
    /// <p>Indicates whether the DB instance has a dedicated log volume (DLV) enabled.</p>
    pub fn get_dedicated_log_volume(&self) -> &::std::option::Option<bool> {
        self.inner.get_dedicated_log_volume()
    }
    /// <p>Specifies whether to use the multi-tenant configuration or the single-tenant configuration (default). This parameter only applies to RDS for Oracle container database (CDB) engines.</p>
    /// <p>Note the following restrictions:</p>
    /// <ul>
    /// <li>
    /// <p>The DB engine that you specify in the request must support the multi-tenant configuration. If you attempt to enable the multi-tenant configuration on a DB engine that doesn't support it, the request fails.</p></li>
    /// <li>
    /// <p>If you specify the multi-tenant configuration when you create your DB instance, you can't later modify this DB instance to use the single-tenant configuration.</p></li>
    /// </ul>
    pub fn multi_tenant(mut self, input: bool) -> Self {
        self.inner = self.inner.multi_tenant(input);
        self
    }
    /// <p>Specifies whether to use the multi-tenant configuration or the single-tenant configuration (default). This parameter only applies to RDS for Oracle container database (CDB) engines.</p>
    /// <p>Note the following restrictions:</p>
    /// <ul>
    /// <li>
    /// <p>The DB engine that you specify in the request must support the multi-tenant configuration. If you attempt to enable the multi-tenant configuration on a DB engine that doesn't support it, the request fails.</p></li>
    /// <li>
    /// <p>If you specify the multi-tenant configuration when you create your DB instance, you can't later modify this DB instance to use the single-tenant configuration.</p></li>
    /// </ul>
    pub fn set_multi_tenant(mut self, input: ::std::option::Option<bool>) -> Self {
        self.inner = self.inner.set_multi_tenant(input);
        self
    }
    /// <p>Specifies whether to use the multi-tenant configuration or the single-tenant configuration (default). This parameter only applies to RDS for Oracle container database (CDB) engines.</p>
    /// <p>Note the following restrictions:</p>
    /// <ul>
    /// <li>
    /// <p>The DB engine that you specify in the request must support the multi-tenant configuration. If you attempt to enable the multi-tenant configuration on a DB engine that doesn't support it, the request fails.</p></li>
    /// <li>
    /// <p>If you specify the multi-tenant configuration when you create your DB instance, you can't later modify this DB instance to use the single-tenant configuration.</p></li>
    /// </ul>
    pub fn get_multi_tenant(&self) -> &::std::option::Option<bool> {
        self.inner.get_multi_tenant()
    }
    /// <p>The life cycle type for this DB instance.</p><note>
    /// <p>By default, this value is set to <code>open-source-rds-extended-support</code>, which enrolls your DB instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to <code>open-source-rds-extended-support-disabled</code>. In this case, creating the DB instance will fail if the DB major version is past its end of standard support date.</p>
    /// </note>
    /// <p>This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle type is managed by the DB cluster.</p>
    /// <p>You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB instance past the end of standard support for that engine version. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html">Using Amazon RDS Extended Support</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>Valid Values: <code>open-source-rds-extended-support | open-source-rds-extended-support-disabled</code></p>
    /// <p>Default: <code>open-source-rds-extended-support</code></p>
    pub fn engine_lifecycle_support(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.inner = self.inner.engine_lifecycle_support(input.into());
        self
    }
    /// <p>The life cycle type for this DB instance.</p><note>
    /// <p>By default, this value is set to <code>open-source-rds-extended-support</code>, which enrolls your DB instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to <code>open-source-rds-extended-support-disabled</code>. In this case, creating the DB instance will fail if the DB major version is past its end of standard support date.</p>
    /// </note>
    /// <p>This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle type is managed by the DB cluster.</p>
    /// <p>You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB instance past the end of standard support for that engine version. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html">Using Amazon RDS Extended Support</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>Valid Values: <code>open-source-rds-extended-support | open-source-rds-extended-support-disabled</code></p>
    /// <p>Default: <code>open-source-rds-extended-support</code></p>
    pub fn set_engine_lifecycle_support(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.inner = self.inner.set_engine_lifecycle_support(input);
        self
    }
    /// <p>The life cycle type for this DB instance.</p><note>
    /// <p>By default, this value is set to <code>open-source-rds-extended-support</code>, which enrolls your DB instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to <code>open-source-rds-extended-support-disabled</code>. In this case, creating the DB instance will fail if the DB major version is past its end of standard support date.</p>
    /// </note>
    /// <p>This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle type is managed by the DB cluster.</p>
    /// <p>You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB instance past the end of standard support for that engine version. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html">Using Amazon RDS Extended Support</a> in the <i>Amazon RDS User Guide</i>.</p>
    /// <p>Valid Values: <code>open-source-rds-extended-support | open-source-rds-extended-support-disabled</code></p>
    /// <p>Default: <code>open-source-rds-extended-support</code></p>
    pub fn get_engine_lifecycle_support(&self) -> &::std::option::Option<::std::string::String> {
        self.inner.get_engine_lifecycle_support()
    }
}