aws-sdk-snowball 0.9.0

AWS SDK for Amazon Import/Export Snowball
Documentation
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
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(
    std::clone::Clone,
    std::cmp::Eq,
    std::cmp::Ord,
    std::cmp::PartialEq,
    std::cmp::PartialOrd,
    std::fmt::Debug,
    std::hash::Hash,
)]
pub enum ShipmentState {
    #[allow(missing_docs)] // documentation missing in model
    Received,
    #[allow(missing_docs)] // documentation missing in model
    Returned,
    /// Unknown contains new variants that have been added since this code was generated.
    Unknown(String),
}
impl std::convert::From<&str> for ShipmentState {
    fn from(s: &str) -> Self {
        match s {
            "RECEIVED" => ShipmentState::Received,
            "RETURNED" => ShipmentState::Returned,
            other => ShipmentState::Unknown(other.to_owned()),
        }
    }
}
impl std::str::FromStr for ShipmentState {
    type Err = std::convert::Infallible;

    fn from_str(s: &str) -> std::result::Result<Self, Self::Err> {
        Ok(ShipmentState::from(s))
    }
}
impl ShipmentState {
    /// Returns the `&str` value of the enum member.
    pub fn as_str(&self) -> &str {
        match self {
            ShipmentState::Received => "RECEIVED",
            ShipmentState::Returned => "RETURNED",
            ShipmentState::Unknown(s) => s.as_ref(),
        }
    }
    /// Returns all the `&str` values of the enum members.
    pub fn values() -> &'static [&'static str] {
        &["RECEIVED", "RETURNED"]
    }
}
impl AsRef<str> for ShipmentState {
    fn as_ref(&self) -> &str {
        self.as_str()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(
    std::clone::Clone,
    std::cmp::Eq,
    std::cmp::Ord,
    std::cmp::PartialEq,
    std::cmp::PartialOrd,
    std::fmt::Debug,
    std::hash::Hash,
)]
pub enum SnowballCapacity {
    #[allow(missing_docs)] // documentation missing in model
    NoPreference,
    #[allow(missing_docs)] // documentation missing in model
    T100,
    #[allow(missing_docs)] // documentation missing in model
    T14,
    #[allow(missing_docs)] // documentation missing in model
    T42,
    #[allow(missing_docs)] // documentation missing in model
    T50,
    #[allow(missing_docs)] // documentation missing in model
    T8,
    #[allow(missing_docs)] // documentation missing in model
    T80,
    #[allow(missing_docs)] // documentation missing in model
    T98,
    /// Unknown contains new variants that have been added since this code was generated.
    Unknown(String),
}
impl std::convert::From<&str> for SnowballCapacity {
    fn from(s: &str) -> Self {
        match s {
            "NoPreference" => SnowballCapacity::NoPreference,
            "T100" => SnowballCapacity::T100,
            "T14" => SnowballCapacity::T14,
            "T42" => SnowballCapacity::T42,
            "T50" => SnowballCapacity::T50,
            "T8" => SnowballCapacity::T8,
            "T80" => SnowballCapacity::T80,
            "T98" => SnowballCapacity::T98,
            other => SnowballCapacity::Unknown(other.to_owned()),
        }
    }
}
impl std::str::FromStr for SnowballCapacity {
    type Err = std::convert::Infallible;

    fn from_str(s: &str) -> std::result::Result<Self, Self::Err> {
        Ok(SnowballCapacity::from(s))
    }
}
impl SnowballCapacity {
    /// Returns the `&str` value of the enum member.
    pub fn as_str(&self) -> &str {
        match self {
            SnowballCapacity::NoPreference => "NoPreference",
            SnowballCapacity::T100 => "T100",
            SnowballCapacity::T14 => "T14",
            SnowballCapacity::T42 => "T42",
            SnowballCapacity::T50 => "T50",
            SnowballCapacity::T8 => "T8",
            SnowballCapacity::T80 => "T80",
            SnowballCapacity::T98 => "T98",
            SnowballCapacity::Unknown(s) => s.as_ref(),
        }
    }
    /// Returns all the `&str` values of the enum members.
    pub fn values() -> &'static [&'static str] {
        &[
            "NoPreference",
            "T100",
            "T14",
            "T42",
            "T50",
            "T8",
            "T80",
            "T98",
        ]
    }
}
impl AsRef<str> for SnowballCapacity {
    fn as_ref(&self) -> &str {
        self.as_str()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(
    std::clone::Clone,
    std::cmp::Eq,
    std::cmp::Ord,
    std::cmp::PartialEq,
    std::cmp::PartialOrd,
    std::fmt::Debug,
    std::hash::Hash,
)]
pub enum ShippingOption {
    #[allow(missing_docs)] // documentation missing in model
    Express,
    #[allow(missing_docs)] // documentation missing in model
    NextDay,
    #[allow(missing_docs)] // documentation missing in model
    SecondDay,
    #[allow(missing_docs)] // documentation missing in model
    Standard,
    /// Unknown contains new variants that have been added since this code was generated.
    Unknown(String),
}
impl std::convert::From<&str> for ShippingOption {
    fn from(s: &str) -> Self {
        match s {
            "EXPRESS" => ShippingOption::Express,
            "NEXT_DAY" => ShippingOption::NextDay,
            "SECOND_DAY" => ShippingOption::SecondDay,
            "STANDARD" => ShippingOption::Standard,
            other => ShippingOption::Unknown(other.to_owned()),
        }
    }
}
impl std::str::FromStr for ShippingOption {
    type Err = std::convert::Infallible;

    fn from_str(s: &str) -> std::result::Result<Self, Self::Err> {
        Ok(ShippingOption::from(s))
    }
}
impl ShippingOption {
    /// Returns the `&str` value of the enum member.
    pub fn as_str(&self) -> &str {
        match self {
            ShippingOption::Express => "EXPRESS",
            ShippingOption::NextDay => "NEXT_DAY",
            ShippingOption::SecondDay => "SECOND_DAY",
            ShippingOption::Standard => "STANDARD",
            ShippingOption::Unknown(s) => s.as_ref(),
        }
    }
    /// Returns all the `&str` values of the enum members.
    pub fn values() -> &'static [&'static str] {
        &["EXPRESS", "NEXT_DAY", "SECOND_DAY", "STANDARD"]
    }
}
impl AsRef<str> for ShippingOption {
    fn as_ref(&self) -> &str {
        self.as_str()
    }
}

/// <p>An object that represents the metadata and configuration settings for services on an Amazon Web Services Snow Family device.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct OnDeviceServiceConfiguration {
    /// <p>Represents the NFS (Network File System) service on a Snow Family device.</p>
    pub nfs_on_device_service: std::option::Option<crate::model::NfsOnDeviceServiceConfiguration>,
    /// <p>Represents the Storage Gateway service Tape Gateway type on a Snow Family device.</p>
    pub tgw_on_device_service: std::option::Option<crate::model::TgwOnDeviceServiceConfiguration>,
}
impl OnDeviceServiceConfiguration {
    /// <p>Represents the NFS (Network File System) service on a Snow Family device.</p>
    pub fn nfs_on_device_service(
        &self,
    ) -> std::option::Option<&crate::model::NfsOnDeviceServiceConfiguration> {
        self.nfs_on_device_service.as_ref()
    }
    /// <p>Represents the Storage Gateway service Tape Gateway type on a Snow Family device.</p>
    pub fn tgw_on_device_service(
        &self,
    ) -> std::option::Option<&crate::model::TgwOnDeviceServiceConfiguration> {
        self.tgw_on_device_service.as_ref()
    }
}
impl std::fmt::Debug for OnDeviceServiceConfiguration {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("OnDeviceServiceConfiguration");
        formatter.field("nfs_on_device_service", &self.nfs_on_device_service);
        formatter.field("tgw_on_device_service", &self.tgw_on_device_service);
        formatter.finish()
    }
}
/// See [`OnDeviceServiceConfiguration`](crate::model::OnDeviceServiceConfiguration)
pub mod on_device_service_configuration {
    /// A builder for [`OnDeviceServiceConfiguration`](crate::model::OnDeviceServiceConfiguration)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) nfs_on_device_service:
            std::option::Option<crate::model::NfsOnDeviceServiceConfiguration>,
        pub(crate) tgw_on_device_service:
            std::option::Option<crate::model::TgwOnDeviceServiceConfiguration>,
    }
    impl Builder {
        /// <p>Represents the NFS (Network File System) service on a Snow Family device.</p>
        pub fn nfs_on_device_service(
            mut self,
            input: crate::model::NfsOnDeviceServiceConfiguration,
        ) -> Self {
            self.nfs_on_device_service = Some(input);
            self
        }
        /// <p>Represents the NFS (Network File System) service on a Snow Family device.</p>
        pub fn set_nfs_on_device_service(
            mut self,
            input: std::option::Option<crate::model::NfsOnDeviceServiceConfiguration>,
        ) -> Self {
            self.nfs_on_device_service = input;
            self
        }
        /// <p>Represents the Storage Gateway service Tape Gateway type on a Snow Family device.</p>
        pub fn tgw_on_device_service(
            mut self,
            input: crate::model::TgwOnDeviceServiceConfiguration,
        ) -> Self {
            self.tgw_on_device_service = Some(input);
            self
        }
        /// <p>Represents the Storage Gateway service Tape Gateway type on a Snow Family device.</p>
        pub fn set_tgw_on_device_service(
            mut self,
            input: std::option::Option<crate::model::TgwOnDeviceServiceConfiguration>,
        ) -> Self {
            self.tgw_on_device_service = input;
            self
        }
        /// Consumes the builder and constructs a [`OnDeviceServiceConfiguration`](crate::model::OnDeviceServiceConfiguration)
        pub fn build(self) -> crate::model::OnDeviceServiceConfiguration {
            crate::model::OnDeviceServiceConfiguration {
                nfs_on_device_service: self.nfs_on_device_service,
                tgw_on_device_service: self.tgw_on_device_service,
            }
        }
    }
}
impl OnDeviceServiceConfiguration {
    /// Creates a new builder-style object to manufacture [`OnDeviceServiceConfiguration`](crate::model::OnDeviceServiceConfiguration)
    pub fn builder() -> crate::model::on_device_service_configuration::Builder {
        crate::model::on_device_service_configuration::Builder::default()
    }
}

/// <p>An object that represents the metadata and configuration settings for the Storage Gateway service Tape Gateway type on an Amazon Web Services Snow Family device.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct TgwOnDeviceServiceConfiguration {
    /// <p>The maximum number of virtual tapes to store on one Snow Family device. Due to physical resource limitations, this value must be set to 80 for Snowball Edge.</p>
    pub storage_limit: i32,
    /// <p>The scale unit of the virtual tapes on the device.</p>
    pub storage_unit: std::option::Option<crate::model::StorageUnit>,
}
impl TgwOnDeviceServiceConfiguration {
    /// <p>The maximum number of virtual tapes to store on one Snow Family device. Due to physical resource limitations, this value must be set to 80 for Snowball Edge.</p>
    pub fn storage_limit(&self) -> i32 {
        self.storage_limit
    }
    /// <p>The scale unit of the virtual tapes on the device.</p>
    pub fn storage_unit(&self) -> std::option::Option<&crate::model::StorageUnit> {
        self.storage_unit.as_ref()
    }
}
impl std::fmt::Debug for TgwOnDeviceServiceConfiguration {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("TgwOnDeviceServiceConfiguration");
        formatter.field("storage_limit", &self.storage_limit);
        formatter.field("storage_unit", &self.storage_unit);
        formatter.finish()
    }
}
/// See [`TgwOnDeviceServiceConfiguration`](crate::model::TgwOnDeviceServiceConfiguration)
pub mod tgw_on_device_service_configuration {
    /// A builder for [`TgwOnDeviceServiceConfiguration`](crate::model::TgwOnDeviceServiceConfiguration)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) storage_limit: std::option::Option<i32>,
        pub(crate) storage_unit: std::option::Option<crate::model::StorageUnit>,
    }
    impl Builder {
        /// <p>The maximum number of virtual tapes to store on one Snow Family device. Due to physical resource limitations, this value must be set to 80 for Snowball Edge.</p>
        pub fn storage_limit(mut self, input: i32) -> Self {
            self.storage_limit = Some(input);
            self
        }
        /// <p>The maximum number of virtual tapes to store on one Snow Family device. Due to physical resource limitations, this value must be set to 80 for Snowball Edge.</p>
        pub fn set_storage_limit(mut self, input: std::option::Option<i32>) -> Self {
            self.storage_limit = input;
            self
        }
        /// <p>The scale unit of the virtual tapes on the device.</p>
        pub fn storage_unit(mut self, input: crate::model::StorageUnit) -> Self {
            self.storage_unit = Some(input);
            self
        }
        /// <p>The scale unit of the virtual tapes on the device.</p>
        pub fn set_storage_unit(
            mut self,
            input: std::option::Option<crate::model::StorageUnit>,
        ) -> Self {
            self.storage_unit = input;
            self
        }
        /// Consumes the builder and constructs a [`TgwOnDeviceServiceConfiguration`](crate::model::TgwOnDeviceServiceConfiguration)
        pub fn build(self) -> crate::model::TgwOnDeviceServiceConfiguration {
            crate::model::TgwOnDeviceServiceConfiguration {
                storage_limit: self.storage_limit.unwrap_or_default(),
                storage_unit: self.storage_unit,
            }
        }
    }
}
impl TgwOnDeviceServiceConfiguration {
    /// Creates a new builder-style object to manufacture [`TgwOnDeviceServiceConfiguration`](crate::model::TgwOnDeviceServiceConfiguration)
    pub fn builder() -> crate::model::tgw_on_device_service_configuration::Builder {
        crate::model::tgw_on_device_service_configuration::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(
    std::clone::Clone,
    std::cmp::Eq,
    std::cmp::Ord,
    std::cmp::PartialEq,
    std::cmp::PartialOrd,
    std::fmt::Debug,
    std::hash::Hash,
)]
pub enum StorageUnit {
    #[allow(missing_docs)] // documentation missing in model
    Tb,
    /// Unknown contains new variants that have been added since this code was generated.
    Unknown(String),
}
impl std::convert::From<&str> for StorageUnit {
    fn from(s: &str) -> Self {
        match s {
            "TB" => StorageUnit::Tb,
            other => StorageUnit::Unknown(other.to_owned()),
        }
    }
}
impl std::str::FromStr for StorageUnit {
    type Err = std::convert::Infallible;

    fn from_str(s: &str) -> std::result::Result<Self, Self::Err> {
        Ok(StorageUnit::from(s))
    }
}
impl StorageUnit {
    /// Returns the `&str` value of the enum member.
    pub fn as_str(&self) -> &str {
        match self {
            StorageUnit::Tb => "TB",
            StorageUnit::Unknown(s) => s.as_ref(),
        }
    }
    /// Returns all the `&str` values of the enum members.
    pub fn values() -> &'static [&'static str] {
        &["TB"]
    }
}
impl AsRef<str> for StorageUnit {
    fn as_ref(&self) -> &str {
        self.as_str()
    }
}

/// <p>An object that represents the metadata and configuration settings for the NFS (Network File System) service on an Amazon Web Services Snow Family device.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct NfsOnDeviceServiceConfiguration {
    /// <p>The maximum NFS storage for one Snow Family device.</p>
    pub storage_limit: i32,
    /// <p>The scale unit of the NFS storage on the device.</p>
    /// <p>Valid values: TB.</p>
    pub storage_unit: std::option::Option<crate::model::StorageUnit>,
}
impl NfsOnDeviceServiceConfiguration {
    /// <p>The maximum NFS storage for one Snow Family device.</p>
    pub fn storage_limit(&self) -> i32 {
        self.storage_limit
    }
    /// <p>The scale unit of the NFS storage on the device.</p>
    /// <p>Valid values: TB.</p>
    pub fn storage_unit(&self) -> std::option::Option<&crate::model::StorageUnit> {
        self.storage_unit.as_ref()
    }
}
impl std::fmt::Debug for NfsOnDeviceServiceConfiguration {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("NfsOnDeviceServiceConfiguration");
        formatter.field("storage_limit", &self.storage_limit);
        formatter.field("storage_unit", &self.storage_unit);
        formatter.finish()
    }
}
/// See [`NfsOnDeviceServiceConfiguration`](crate::model::NfsOnDeviceServiceConfiguration)
pub mod nfs_on_device_service_configuration {
    /// A builder for [`NfsOnDeviceServiceConfiguration`](crate::model::NfsOnDeviceServiceConfiguration)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) storage_limit: std::option::Option<i32>,
        pub(crate) storage_unit: std::option::Option<crate::model::StorageUnit>,
    }
    impl Builder {
        /// <p>The maximum NFS storage for one Snow Family device.</p>
        pub fn storage_limit(mut self, input: i32) -> Self {
            self.storage_limit = Some(input);
            self
        }
        /// <p>The maximum NFS storage for one Snow Family device.</p>
        pub fn set_storage_limit(mut self, input: std::option::Option<i32>) -> Self {
            self.storage_limit = input;
            self
        }
        /// <p>The scale unit of the NFS storage on the device.</p>
        /// <p>Valid values: TB.</p>
        pub fn storage_unit(mut self, input: crate::model::StorageUnit) -> Self {
            self.storage_unit = Some(input);
            self
        }
        /// <p>The scale unit of the NFS storage on the device.</p>
        /// <p>Valid values: TB.</p>
        pub fn set_storage_unit(
            mut self,
            input: std::option::Option<crate::model::StorageUnit>,
        ) -> Self {
            self.storage_unit = input;
            self
        }
        /// Consumes the builder and constructs a [`NfsOnDeviceServiceConfiguration`](crate::model::NfsOnDeviceServiceConfiguration)
        pub fn build(self) -> crate::model::NfsOnDeviceServiceConfiguration {
            crate::model::NfsOnDeviceServiceConfiguration {
                storage_limit: self.storage_limit.unwrap_or_default(),
                storage_unit: self.storage_unit,
            }
        }
    }
}
impl NfsOnDeviceServiceConfiguration {
    /// Creates a new builder-style object to manufacture [`NfsOnDeviceServiceConfiguration`](crate::model::NfsOnDeviceServiceConfiguration)
    pub fn builder() -> crate::model::nfs_on_device_service_configuration::Builder {
        crate::model::nfs_on_device_service_configuration::Builder::default()
    }
}

/// <p>Contains an array of Amazon Web Services resource objects. Each object represents an Amazon S3 bucket, an Lambda function, or an Amazon Machine Image (AMI) based on Amazon EC2 that is associated with a particular job.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct JobResource {
    /// <p>An array of <code>S3Resource</code> objects.</p>
    pub s3_resources: std::option::Option<std::vec::Vec<crate::model::S3Resource>>,
    /// <p>The Python-language Lambda functions for this job.</p>
    pub lambda_resources: std::option::Option<std::vec::Vec<crate::model::LambdaResource>>,
    /// <p>The Amazon Machine Images (AMIs) associated with this job.</p>
    pub ec2_ami_resources: std::option::Option<std::vec::Vec<crate::model::Ec2AmiResource>>,
}
impl JobResource {
    /// <p>An array of <code>S3Resource</code> objects.</p>
    pub fn s3_resources(&self) -> std::option::Option<&[crate::model::S3Resource]> {
        self.s3_resources.as_deref()
    }
    /// <p>The Python-language Lambda functions for this job.</p>
    pub fn lambda_resources(&self) -> std::option::Option<&[crate::model::LambdaResource]> {
        self.lambda_resources.as_deref()
    }
    /// <p>The Amazon Machine Images (AMIs) associated with this job.</p>
    pub fn ec2_ami_resources(&self) -> std::option::Option<&[crate::model::Ec2AmiResource]> {
        self.ec2_ami_resources.as_deref()
    }
}
impl std::fmt::Debug for JobResource {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("JobResource");
        formatter.field("s3_resources", &self.s3_resources);
        formatter.field("lambda_resources", &self.lambda_resources);
        formatter.field("ec2_ami_resources", &self.ec2_ami_resources);
        formatter.finish()
    }
}
/// See [`JobResource`](crate::model::JobResource)
pub mod job_resource {
    /// A builder for [`JobResource`](crate::model::JobResource)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) s3_resources: std::option::Option<std::vec::Vec<crate::model::S3Resource>>,
        pub(crate) lambda_resources:
            std::option::Option<std::vec::Vec<crate::model::LambdaResource>>,
        pub(crate) ec2_ami_resources:
            std::option::Option<std::vec::Vec<crate::model::Ec2AmiResource>>,
    }
    impl Builder {
        /// Appends an item to `s3_resources`.
        ///
        /// To override the contents of this collection use [`set_s3_resources`](Self::set_s3_resources).
        ///
        /// <p>An array of <code>S3Resource</code> objects.</p>
        pub fn s3_resources(mut self, input: crate::model::S3Resource) -> Self {
            let mut v = self.s3_resources.unwrap_or_default();
            v.push(input);
            self.s3_resources = Some(v);
            self
        }
        /// <p>An array of <code>S3Resource</code> objects.</p>
        pub fn set_s3_resources(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::S3Resource>>,
        ) -> Self {
            self.s3_resources = input;
            self
        }
        /// Appends an item to `lambda_resources`.
        ///
        /// To override the contents of this collection use [`set_lambda_resources`](Self::set_lambda_resources).
        ///
        /// <p>The Python-language Lambda functions for this job.</p>
        pub fn lambda_resources(mut self, input: crate::model::LambdaResource) -> Self {
            let mut v = self.lambda_resources.unwrap_or_default();
            v.push(input);
            self.lambda_resources = Some(v);
            self
        }
        /// <p>The Python-language Lambda functions for this job.</p>
        pub fn set_lambda_resources(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::LambdaResource>>,
        ) -> Self {
            self.lambda_resources = input;
            self
        }
        /// Appends an item to `ec2_ami_resources`.
        ///
        /// To override the contents of this collection use [`set_ec2_ami_resources`](Self::set_ec2_ami_resources).
        ///
        /// <p>The Amazon Machine Images (AMIs) associated with this job.</p>
        pub fn ec2_ami_resources(mut self, input: crate::model::Ec2AmiResource) -> Self {
            let mut v = self.ec2_ami_resources.unwrap_or_default();
            v.push(input);
            self.ec2_ami_resources = Some(v);
            self
        }
        /// <p>The Amazon Machine Images (AMIs) associated with this job.</p>
        pub fn set_ec2_ami_resources(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::Ec2AmiResource>>,
        ) -> Self {
            self.ec2_ami_resources = input;
            self
        }
        /// Consumes the builder and constructs a [`JobResource`](crate::model::JobResource)
        pub fn build(self) -> crate::model::JobResource {
            crate::model::JobResource {
                s3_resources: self.s3_resources,
                lambda_resources: self.lambda_resources,
                ec2_ami_resources: self.ec2_ami_resources,
            }
        }
    }
}
impl JobResource {
    /// Creates a new builder-style object to manufacture [`JobResource`](crate::model::JobResource)
    pub fn builder() -> crate::model::job_resource::Builder {
        crate::model::job_resource::Builder::default()
    }
}

/// <p>A JSON-formatted object that contains the IDs for an Amazon Machine Image (AMI), including the Amazon EC2 AMI ID and the Snow device AMI ID. Each AMI has these two IDs to simplify identifying the AMI in both the Amazon Web Services Cloud and on the device.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct Ec2AmiResource {
    /// <p>The ID of the AMI in Amazon EC2.</p>
    pub ami_id: std::option::Option<std::string::String>,
    /// <p>The ID of the AMI on the Snow device.</p>
    pub snowball_ami_id: std::option::Option<std::string::String>,
}
impl Ec2AmiResource {
    /// <p>The ID of the AMI in Amazon EC2.</p>
    pub fn ami_id(&self) -> std::option::Option<&str> {
        self.ami_id.as_deref()
    }
    /// <p>The ID of the AMI on the Snow device.</p>
    pub fn snowball_ami_id(&self) -> std::option::Option<&str> {
        self.snowball_ami_id.as_deref()
    }
}
impl std::fmt::Debug for Ec2AmiResource {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("Ec2AmiResource");
        formatter.field("ami_id", &self.ami_id);
        formatter.field("snowball_ami_id", &self.snowball_ami_id);
        formatter.finish()
    }
}
/// See [`Ec2AmiResource`](crate::model::Ec2AmiResource)
pub mod ec2_ami_resource {
    /// A builder for [`Ec2AmiResource`](crate::model::Ec2AmiResource)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) ami_id: std::option::Option<std::string::String>,
        pub(crate) snowball_ami_id: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// <p>The ID of the AMI in Amazon EC2.</p>
        pub fn ami_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.ami_id = Some(input.into());
            self
        }
        /// <p>The ID of the AMI in Amazon EC2.</p>
        pub fn set_ami_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.ami_id = input;
            self
        }
        /// <p>The ID of the AMI on the Snow device.</p>
        pub fn snowball_ami_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.snowball_ami_id = Some(input.into());
            self
        }
        /// <p>The ID of the AMI on the Snow device.</p>
        pub fn set_snowball_ami_id(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.snowball_ami_id = input;
            self
        }
        /// Consumes the builder and constructs a [`Ec2AmiResource`](crate::model::Ec2AmiResource)
        pub fn build(self) -> crate::model::Ec2AmiResource {
            crate::model::Ec2AmiResource {
                ami_id: self.ami_id,
                snowball_ami_id: self.snowball_ami_id,
            }
        }
    }
}
impl Ec2AmiResource {
    /// Creates a new builder-style object to manufacture [`Ec2AmiResource`](crate::model::Ec2AmiResource)
    pub fn builder() -> crate::model::ec2_ami_resource::Builder {
        crate::model::ec2_ami_resource::Builder::default()
    }
}

/// <p>Identifies </p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct LambdaResource {
    /// <p>An Amazon Resource Name (ARN) that represents an Lambda function to be triggered by PUT object actions on the associated local Amazon S3 resource.</p>
    pub lambda_arn: std::option::Option<std::string::String>,
    /// <p>The array of ARNs for <code>S3Resource</code> objects to trigger the <code>LambdaResource</code> objects associated with this job.</p>
    pub event_triggers: std::option::Option<std::vec::Vec<crate::model::EventTriggerDefinition>>,
}
impl LambdaResource {
    /// <p>An Amazon Resource Name (ARN) that represents an Lambda function to be triggered by PUT object actions on the associated local Amazon S3 resource.</p>
    pub fn lambda_arn(&self) -> std::option::Option<&str> {
        self.lambda_arn.as_deref()
    }
    /// <p>The array of ARNs for <code>S3Resource</code> objects to trigger the <code>LambdaResource</code> objects associated with this job.</p>
    pub fn event_triggers(&self) -> std::option::Option<&[crate::model::EventTriggerDefinition]> {
        self.event_triggers.as_deref()
    }
}
impl std::fmt::Debug for LambdaResource {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("LambdaResource");
        formatter.field("lambda_arn", &self.lambda_arn);
        formatter.field("event_triggers", &self.event_triggers);
        formatter.finish()
    }
}
/// See [`LambdaResource`](crate::model::LambdaResource)
pub mod lambda_resource {
    /// A builder for [`LambdaResource`](crate::model::LambdaResource)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) lambda_arn: std::option::Option<std::string::String>,
        pub(crate) event_triggers:
            std::option::Option<std::vec::Vec<crate::model::EventTriggerDefinition>>,
    }
    impl Builder {
        /// <p>An Amazon Resource Name (ARN) that represents an Lambda function to be triggered by PUT object actions on the associated local Amazon S3 resource.</p>
        pub fn lambda_arn(mut self, input: impl Into<std::string::String>) -> Self {
            self.lambda_arn = Some(input.into());
            self
        }
        /// <p>An Amazon Resource Name (ARN) that represents an Lambda function to be triggered by PUT object actions on the associated local Amazon S3 resource.</p>
        pub fn set_lambda_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.lambda_arn = input;
            self
        }
        /// Appends an item to `event_triggers`.
        ///
        /// To override the contents of this collection use [`set_event_triggers`](Self::set_event_triggers).
        ///
        /// <p>The array of ARNs for <code>S3Resource</code> objects to trigger the <code>LambdaResource</code> objects associated with this job.</p>
        pub fn event_triggers(mut self, input: crate::model::EventTriggerDefinition) -> Self {
            let mut v = self.event_triggers.unwrap_or_default();
            v.push(input);
            self.event_triggers = Some(v);
            self
        }
        /// <p>The array of ARNs for <code>S3Resource</code> objects to trigger the <code>LambdaResource</code> objects associated with this job.</p>
        pub fn set_event_triggers(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::EventTriggerDefinition>>,
        ) -> Self {
            self.event_triggers = input;
            self
        }
        /// Consumes the builder and constructs a [`LambdaResource`](crate::model::LambdaResource)
        pub fn build(self) -> crate::model::LambdaResource {
            crate::model::LambdaResource {
                lambda_arn: self.lambda_arn,
                event_triggers: self.event_triggers,
            }
        }
    }
}
impl LambdaResource {
    /// Creates a new builder-style object to manufacture [`LambdaResource`](crate::model::LambdaResource)
    pub fn builder() -> crate::model::lambda_resource::Builder {
        crate::model::lambda_resource::Builder::default()
    }
}

/// <p>The container for the <code>EventTriggerDefinition$EventResourceARN</code>.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct EventTriggerDefinition {
    /// <p>The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an Lambda function's event trigger associated with this job.</p>
    pub event_resource_arn: std::option::Option<std::string::String>,
}
impl EventTriggerDefinition {
    /// <p>The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an Lambda function's event trigger associated with this job.</p>
    pub fn event_resource_arn(&self) -> std::option::Option<&str> {
        self.event_resource_arn.as_deref()
    }
}
impl std::fmt::Debug for EventTriggerDefinition {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("EventTriggerDefinition");
        formatter.field("event_resource_arn", &self.event_resource_arn);
        formatter.finish()
    }
}
/// See [`EventTriggerDefinition`](crate::model::EventTriggerDefinition)
pub mod event_trigger_definition {
    /// A builder for [`EventTriggerDefinition`](crate::model::EventTriggerDefinition)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) event_resource_arn: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// <p>The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an Lambda function's event trigger associated with this job.</p>
        pub fn event_resource_arn(mut self, input: impl Into<std::string::String>) -> Self {
            self.event_resource_arn = Some(input.into());
            self
        }
        /// <p>The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an Lambda function's event trigger associated with this job.</p>
        pub fn set_event_resource_arn(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.event_resource_arn = input;
            self
        }
        /// Consumes the builder and constructs a [`EventTriggerDefinition`](crate::model::EventTriggerDefinition)
        pub fn build(self) -> crate::model::EventTriggerDefinition {
            crate::model::EventTriggerDefinition {
                event_resource_arn: self.event_resource_arn,
            }
        }
    }
}
impl EventTriggerDefinition {
    /// Creates a new builder-style object to manufacture [`EventTriggerDefinition`](crate::model::EventTriggerDefinition)
    pub fn builder() -> crate::model::event_trigger_definition::Builder {
        crate::model::event_trigger_definition::Builder::default()
    }
}

/// <p>Each <code>S3Resource</code> object represents an Amazon S3 bucket that your transferred data will be exported from or imported into. For export jobs, this object can have an optional <code>KeyRange</code> value. The length of the range is defined at job creation, and has either an inclusive <code>BeginMarker</code>, an inclusive <code>EndMarker</code>, or both. Ranges are UTF-8 binary sorted.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct S3Resource {
    /// <p>The Amazon Resource Name (ARN) of an Amazon S3 bucket.</p>
    pub bucket_arn: std::option::Option<std::string::String>,
    /// <p>For export jobs, you can provide an optional <code>KeyRange</code> within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive <code>BeginMarker</code>, an inclusive <code>EndMarker</code>, or both. Ranges are UTF-8 binary sorted.</p>
    pub key_range: std::option::Option<crate::model::KeyRange>,
    /// <p>Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).</p>
    pub target_on_device_services:
        std::option::Option<std::vec::Vec<crate::model::TargetOnDeviceService>>,
}
impl S3Resource {
    /// <p>The Amazon Resource Name (ARN) of an Amazon S3 bucket.</p>
    pub fn bucket_arn(&self) -> std::option::Option<&str> {
        self.bucket_arn.as_deref()
    }
    /// <p>For export jobs, you can provide an optional <code>KeyRange</code> within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive <code>BeginMarker</code>, an inclusive <code>EndMarker</code>, or both. Ranges are UTF-8 binary sorted.</p>
    pub fn key_range(&self) -> std::option::Option<&crate::model::KeyRange> {
        self.key_range.as_ref()
    }
    /// <p>Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).</p>
    pub fn target_on_device_services(
        &self,
    ) -> std::option::Option<&[crate::model::TargetOnDeviceService]> {
        self.target_on_device_services.as_deref()
    }
}
impl std::fmt::Debug for S3Resource {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("S3Resource");
        formatter.field("bucket_arn", &self.bucket_arn);
        formatter.field("key_range", &self.key_range);
        formatter.field("target_on_device_services", &self.target_on_device_services);
        formatter.finish()
    }
}
/// See [`S3Resource`](crate::model::S3Resource)
pub mod s3_resource {
    /// A builder for [`S3Resource`](crate::model::S3Resource)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) bucket_arn: std::option::Option<std::string::String>,
        pub(crate) key_range: std::option::Option<crate::model::KeyRange>,
        pub(crate) target_on_device_services:
            std::option::Option<std::vec::Vec<crate::model::TargetOnDeviceService>>,
    }
    impl Builder {
        /// <p>The Amazon Resource Name (ARN) of an Amazon S3 bucket.</p>
        pub fn bucket_arn(mut self, input: impl Into<std::string::String>) -> Self {
            self.bucket_arn = Some(input.into());
            self
        }
        /// <p>The Amazon Resource Name (ARN) of an Amazon S3 bucket.</p>
        pub fn set_bucket_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.bucket_arn = input;
            self
        }
        /// <p>For export jobs, you can provide an optional <code>KeyRange</code> within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive <code>BeginMarker</code>, an inclusive <code>EndMarker</code>, or both. Ranges are UTF-8 binary sorted.</p>
        pub fn key_range(mut self, input: crate::model::KeyRange) -> Self {
            self.key_range = Some(input);
            self
        }
        /// <p>For export jobs, you can provide an optional <code>KeyRange</code> within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive <code>BeginMarker</code>, an inclusive <code>EndMarker</code>, or both. Ranges are UTF-8 binary sorted.</p>
        pub fn set_key_range(mut self, input: std::option::Option<crate::model::KeyRange>) -> Self {
            self.key_range = input;
            self
        }
        /// Appends an item to `target_on_device_services`.
        ///
        /// To override the contents of this collection use [`set_target_on_device_services`](Self::set_target_on_device_services).
        ///
        /// <p>Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).</p>
        pub fn target_on_device_services(
            mut self,
            input: crate::model::TargetOnDeviceService,
        ) -> Self {
            let mut v = self.target_on_device_services.unwrap_or_default();
            v.push(input);
            self.target_on_device_services = Some(v);
            self
        }
        /// <p>Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).</p>
        pub fn set_target_on_device_services(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::TargetOnDeviceService>>,
        ) -> Self {
            self.target_on_device_services = input;
            self
        }
        /// Consumes the builder and constructs a [`S3Resource`](crate::model::S3Resource)
        pub fn build(self) -> crate::model::S3Resource {
            crate::model::S3Resource {
                bucket_arn: self.bucket_arn,
                key_range: self.key_range,
                target_on_device_services: self.target_on_device_services,
            }
        }
    }
}
impl S3Resource {
    /// Creates a new builder-style object to manufacture [`S3Resource`](crate::model::S3Resource)
    pub fn builder() -> crate::model::s3_resource::Builder {
        crate::model::s3_resource::Builder::default()
    }
}

/// <p>An object that represents the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct TargetOnDeviceService {
    /// <p>Specifies the name of the service on the Snow Family device that your transferred data will be exported from or imported into.</p>
    pub service_name: std::option::Option<crate::model::DeviceServiceName>,
    /// <p>Specifies whether the data is being imported or exported. You can import or export the data, or use it locally on the device.</p>
    pub transfer_option: std::option::Option<crate::model::TransferOption>,
}
impl TargetOnDeviceService {
    /// <p>Specifies the name of the service on the Snow Family device that your transferred data will be exported from or imported into.</p>
    pub fn service_name(&self) -> std::option::Option<&crate::model::DeviceServiceName> {
        self.service_name.as_ref()
    }
    /// <p>Specifies whether the data is being imported or exported. You can import or export the data, or use it locally on the device.</p>
    pub fn transfer_option(&self) -> std::option::Option<&crate::model::TransferOption> {
        self.transfer_option.as_ref()
    }
}
impl std::fmt::Debug for TargetOnDeviceService {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("TargetOnDeviceService");
        formatter.field("service_name", &self.service_name);
        formatter.field("transfer_option", &self.transfer_option);
        formatter.finish()
    }
}
/// See [`TargetOnDeviceService`](crate::model::TargetOnDeviceService)
pub mod target_on_device_service {
    /// A builder for [`TargetOnDeviceService`](crate::model::TargetOnDeviceService)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) service_name: std::option::Option<crate::model::DeviceServiceName>,
        pub(crate) transfer_option: std::option::Option<crate::model::TransferOption>,
    }
    impl Builder {
        /// <p>Specifies the name of the service on the Snow Family device that your transferred data will be exported from or imported into.</p>
        pub fn service_name(mut self, input: crate::model::DeviceServiceName) -> Self {
            self.service_name = Some(input);
            self
        }
        /// <p>Specifies the name of the service on the Snow Family device that your transferred data will be exported from or imported into.</p>
        pub fn set_service_name(
            mut self,
            input: std::option::Option<crate::model::DeviceServiceName>,
        ) -> Self {
            self.service_name = input;
            self
        }
        /// <p>Specifies whether the data is being imported or exported. You can import or export the data, or use it locally on the device.</p>
        pub fn transfer_option(mut self, input: crate::model::TransferOption) -> Self {
            self.transfer_option = Some(input);
            self
        }
        /// <p>Specifies whether the data is being imported or exported. You can import or export the data, or use it locally on the device.</p>
        pub fn set_transfer_option(
            mut self,
            input: std::option::Option<crate::model::TransferOption>,
        ) -> Self {
            self.transfer_option = input;
            self
        }
        /// Consumes the builder and constructs a [`TargetOnDeviceService`](crate::model::TargetOnDeviceService)
        pub fn build(self) -> crate::model::TargetOnDeviceService {
            crate::model::TargetOnDeviceService {
                service_name: self.service_name,
                transfer_option: self.transfer_option,
            }
        }
    }
}
impl TargetOnDeviceService {
    /// Creates a new builder-style object to manufacture [`TargetOnDeviceService`](crate::model::TargetOnDeviceService)
    pub fn builder() -> crate::model::target_on_device_service::Builder {
        crate::model::target_on_device_service::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(
    std::clone::Clone,
    std::cmp::Eq,
    std::cmp::Ord,
    std::cmp::PartialEq,
    std::cmp::PartialOrd,
    std::fmt::Debug,
    std::hash::Hash,
)]
pub enum TransferOption {
    #[allow(missing_docs)] // documentation missing in model
    Export,
    #[allow(missing_docs)] // documentation missing in model
    Import,
    #[allow(missing_docs)] // documentation missing in model
    LocalUse,
    /// Unknown contains new variants that have been added since this code was generated.
    Unknown(String),
}
impl std::convert::From<&str> for TransferOption {
    fn from(s: &str) -> Self {
        match s {
            "EXPORT" => TransferOption::Export,
            "IMPORT" => TransferOption::Import,
            "LOCAL_USE" => TransferOption::LocalUse,
            other => TransferOption::Unknown(other.to_owned()),
        }
    }
}
impl std::str::FromStr for TransferOption {
    type Err = std::convert::Infallible;

    fn from_str(s: &str) -> std::result::Result<Self, Self::Err> {
        Ok(TransferOption::from(s))
    }
}
impl TransferOption {
    /// Returns the `&str` value of the enum member.
    pub fn as_str(&self) -> &str {
        match self {
            TransferOption::Export => "EXPORT",
            TransferOption::Import => "IMPORT",
            TransferOption::LocalUse => "LOCAL_USE",
            TransferOption::Unknown(s) => s.as_ref(),
        }
    }
    /// Returns all the `&str` values of the enum members.
    pub fn values() -> &'static [&'static str] {
        &["EXPORT", "IMPORT", "LOCAL_USE"]
    }
}
impl AsRef<str> for TransferOption {
    fn as_ref(&self) -> &str {
        self.as_str()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(
    std::clone::Clone,
    std::cmp::Eq,
    std::cmp::Ord,
    std::cmp::PartialEq,
    std::cmp::PartialOrd,
    std::fmt::Debug,
    std::hash::Hash,
)]
pub enum DeviceServiceName {
    #[allow(missing_docs)] // documentation missing in model
    NfsOnDeviceService,
    #[allow(missing_docs)] // documentation missing in model
    S3OnDeviceService,
    /// Unknown contains new variants that have been added since this code was generated.
    Unknown(String),
}
impl std::convert::From<&str> for DeviceServiceName {
    fn from(s: &str) -> Self {
        match s {
            "NFS_ON_DEVICE_SERVICE" => DeviceServiceName::NfsOnDeviceService,
            "S3_ON_DEVICE_SERVICE" => DeviceServiceName::S3OnDeviceService,
            other => DeviceServiceName::Unknown(other.to_owned()),
        }
    }
}
impl std::str::FromStr for DeviceServiceName {
    type Err = std::convert::Infallible;

    fn from_str(s: &str) -> std::result::Result<Self, Self::Err> {
        Ok(DeviceServiceName::from(s))
    }
}
impl DeviceServiceName {
    /// Returns the `&str` value of the enum member.
    pub fn as_str(&self) -> &str {
        match self {
            DeviceServiceName::NfsOnDeviceService => "NFS_ON_DEVICE_SERVICE",
            DeviceServiceName::S3OnDeviceService => "S3_ON_DEVICE_SERVICE",
            DeviceServiceName::Unknown(s) => s.as_ref(),
        }
    }
    /// Returns all the `&str` values of the enum members.
    pub fn values() -> &'static [&'static str] {
        &["NFS_ON_DEVICE_SERVICE", "S3_ON_DEVICE_SERVICE"]
    }
}
impl AsRef<str> for DeviceServiceName {
    fn as_ref(&self) -> &str {
        self.as_str()
    }
}

/// <p>Contains a key range. For export jobs, a <code>S3Resource</code> object can have an optional <code>KeyRange</code> value. The length of the range is defined at job creation, and has either an inclusive <code>BeginMarker</code>, an inclusive <code>EndMarker</code>, or both. Ranges are UTF-8 binary sorted.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct KeyRange {
    /// <p>The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.</p>
    pub begin_marker: std::option::Option<std::string::String>,
    /// <p>The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.</p>
    pub end_marker: std::option::Option<std::string::String>,
}
impl KeyRange {
    /// <p>The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.</p>
    pub fn begin_marker(&self) -> std::option::Option<&str> {
        self.begin_marker.as_deref()
    }
    /// <p>The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.</p>
    pub fn end_marker(&self) -> std::option::Option<&str> {
        self.end_marker.as_deref()
    }
}
impl std::fmt::Debug for KeyRange {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("KeyRange");
        formatter.field("begin_marker", &self.begin_marker);
        formatter.field("end_marker", &self.end_marker);
        formatter.finish()
    }
}
/// See [`KeyRange`](crate::model::KeyRange)
pub mod key_range {
    /// A builder for [`KeyRange`](crate::model::KeyRange)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) begin_marker: std::option::Option<std::string::String>,
        pub(crate) end_marker: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// <p>The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.</p>
        pub fn begin_marker(mut self, input: impl Into<std::string::String>) -> Self {
            self.begin_marker = Some(input.into());
            self
        }
        /// <p>The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.</p>
        pub fn set_begin_marker(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.begin_marker = input;
            self
        }
        /// <p>The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.</p>
        pub fn end_marker(mut self, input: impl Into<std::string::String>) -> Self {
            self.end_marker = Some(input.into());
            self
        }
        /// <p>The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.</p>
        pub fn set_end_marker(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.end_marker = input;
            self
        }
        /// Consumes the builder and constructs a [`KeyRange`](crate::model::KeyRange)
        pub fn build(self) -> crate::model::KeyRange {
            crate::model::KeyRange {
                begin_marker: self.begin_marker,
                end_marker: self.end_marker,
            }
        }
    }
}
impl KeyRange {
    /// Creates a new builder-style object to manufacture [`KeyRange`](crate::model::KeyRange)
    pub fn builder() -> crate::model::key_range::Builder {
        crate::model::key_range::Builder::default()
    }
}

/// <p>The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The <code>Notification</code> object is returned as a part of the response syntax of the <code>DescribeJob</code> action in the <code>JobMetadata</code> data type.</p>
/// <p>When the notification settings are defined during job creation, you can choose to notify based on a specific set of job states using the <code>JobStatesToNotify</code> array of strings, or you can specify that you want to have Amazon SNS notifications sent out for all job states with <code>NotifyAll</code> set to true.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct Notification {
    /// <p>The new SNS <code>TopicArn</code> that you want to associate with this job. You can create Amazon Resource Names (ARNs) for topics by using the <a href="https://docs.aws.amazon.com/sns/latest/api/API_CreateTopic.html">CreateTopic</a> Amazon SNS API action.</p>
    /// <p>You can subscribe email addresses to an Amazon SNS topic through the Amazon Web Services Management Console, or by using the <a href="https://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html">Subscribe</a> Amazon Simple Notification Service (Amazon SNS) API action.</p>
    pub sns_topic_arn: std::option::Option<std::string::String>,
    /// <p>The list of job states that will trigger a notification for this job.</p>
    pub job_states_to_notify: std::option::Option<std::vec::Vec<crate::model::JobState>>,
    /// <p>Any change in job state will trigger a notification for this job.</p>
    pub notify_all: bool,
}
impl Notification {
    /// <p>The new SNS <code>TopicArn</code> that you want to associate with this job. You can create Amazon Resource Names (ARNs) for topics by using the <a href="https://docs.aws.amazon.com/sns/latest/api/API_CreateTopic.html">CreateTopic</a> Amazon SNS API action.</p>
    /// <p>You can subscribe email addresses to an Amazon SNS topic through the Amazon Web Services Management Console, or by using the <a href="https://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html">Subscribe</a> Amazon Simple Notification Service (Amazon SNS) API action.</p>
    pub fn sns_topic_arn(&self) -> std::option::Option<&str> {
        self.sns_topic_arn.as_deref()
    }
    /// <p>The list of job states that will trigger a notification for this job.</p>
    pub fn job_states_to_notify(&self) -> std::option::Option<&[crate::model::JobState]> {
        self.job_states_to_notify.as_deref()
    }
    /// <p>Any change in job state will trigger a notification for this job.</p>
    pub fn notify_all(&self) -> bool {
        self.notify_all
    }
}
impl std::fmt::Debug for Notification {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("Notification");
        formatter.field("sns_topic_arn", &self.sns_topic_arn);
        formatter.field("job_states_to_notify", &self.job_states_to_notify);
        formatter.field("notify_all", &self.notify_all);
        formatter.finish()
    }
}
/// See [`Notification`](crate::model::Notification)
pub mod notification {
    /// A builder for [`Notification`](crate::model::Notification)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) sns_topic_arn: std::option::Option<std::string::String>,
        pub(crate) job_states_to_notify: std::option::Option<std::vec::Vec<crate::model::JobState>>,
        pub(crate) notify_all: std::option::Option<bool>,
    }
    impl Builder {
        /// <p>The new SNS <code>TopicArn</code> that you want to associate with this job. You can create Amazon Resource Names (ARNs) for topics by using the <a href="https://docs.aws.amazon.com/sns/latest/api/API_CreateTopic.html">CreateTopic</a> Amazon SNS API action.</p>
        /// <p>You can subscribe email addresses to an Amazon SNS topic through the Amazon Web Services Management Console, or by using the <a href="https://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html">Subscribe</a> Amazon Simple Notification Service (Amazon SNS) API action.</p>
        pub fn sns_topic_arn(mut self, input: impl Into<std::string::String>) -> Self {
            self.sns_topic_arn = Some(input.into());
            self
        }
        /// <p>The new SNS <code>TopicArn</code> that you want to associate with this job. You can create Amazon Resource Names (ARNs) for topics by using the <a href="https://docs.aws.amazon.com/sns/latest/api/API_CreateTopic.html">CreateTopic</a> Amazon SNS API action.</p>
        /// <p>You can subscribe email addresses to an Amazon SNS topic through the Amazon Web Services Management Console, or by using the <a href="https://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html">Subscribe</a> Amazon Simple Notification Service (Amazon SNS) API action.</p>
        pub fn set_sns_topic_arn(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.sns_topic_arn = input;
            self
        }
        /// Appends an item to `job_states_to_notify`.
        ///
        /// To override the contents of this collection use [`set_job_states_to_notify`](Self::set_job_states_to_notify).
        ///
        /// <p>The list of job states that will trigger a notification for this job.</p>
        pub fn job_states_to_notify(mut self, input: crate::model::JobState) -> Self {
            let mut v = self.job_states_to_notify.unwrap_or_default();
            v.push(input);
            self.job_states_to_notify = Some(v);
            self
        }
        /// <p>The list of job states that will trigger a notification for this job.</p>
        pub fn set_job_states_to_notify(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::JobState>>,
        ) -> Self {
            self.job_states_to_notify = input;
            self
        }
        /// <p>Any change in job state will trigger a notification for this job.</p>
        pub fn notify_all(mut self, input: bool) -> Self {
            self.notify_all = Some(input);
            self
        }
        /// <p>Any change in job state will trigger a notification for this job.</p>
        pub fn set_notify_all(mut self, input: std::option::Option<bool>) -> Self {
            self.notify_all = input;
            self
        }
        /// Consumes the builder and constructs a [`Notification`](crate::model::Notification)
        pub fn build(self) -> crate::model::Notification {
            crate::model::Notification {
                sns_topic_arn: self.sns_topic_arn,
                job_states_to_notify: self.job_states_to_notify,
                notify_all: self.notify_all.unwrap_or_default(),
            }
        }
    }
}
impl Notification {
    /// Creates a new builder-style object to manufacture [`Notification`](crate::model::Notification)
    pub fn builder() -> crate::model::notification::Builder {
        crate::model::notification::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(
    std::clone::Clone,
    std::cmp::Eq,
    std::cmp::Ord,
    std::cmp::PartialEq,
    std::cmp::PartialOrd,
    std::fmt::Debug,
    std::hash::Hash,
)]
pub enum JobState {
    #[allow(missing_docs)] // documentation missing in model
    Cancelled,
    #[allow(missing_docs)] // documentation missing in model
    Complete,
    #[allow(missing_docs)] // documentation missing in model
    InProgress,
    #[allow(missing_docs)] // documentation missing in model
    InTransitToAws,
    #[allow(missing_docs)] // documentation missing in model
    InTransitToCustomer,
    #[allow(missing_docs)] // documentation missing in model
    Listing,
    #[allow(missing_docs)] // documentation missing in model
    New,
    #[allow(missing_docs)] // documentation missing in model
    Pending,
    #[allow(missing_docs)] // documentation missing in model
    PreparingAppliance,
    #[allow(missing_docs)] // documentation missing in model
    PreparingShipment,
    #[allow(missing_docs)] // documentation missing in model
    WithAws,
    #[allow(missing_docs)] // documentation missing in model
    WithAwsSortingFacility,
    #[allow(missing_docs)] // documentation missing in model
    WithCustomer,
    /// Unknown contains new variants that have been added since this code was generated.
    Unknown(String),
}
impl std::convert::From<&str> for JobState {
    fn from(s: &str) -> Self {
        match s {
            "Cancelled" => JobState::Cancelled,
            "Complete" => JobState::Complete,
            "InProgress" => JobState::InProgress,
            "InTransitToAWS" => JobState::InTransitToAws,
            "InTransitToCustomer" => JobState::InTransitToCustomer,
            "Listing" => JobState::Listing,
            "New" => JobState::New,
            "Pending" => JobState::Pending,
            "PreparingAppliance" => JobState::PreparingAppliance,
            "PreparingShipment" => JobState::PreparingShipment,
            "WithAWS" => JobState::WithAws,
            "WithAWSSortingFacility" => JobState::WithAwsSortingFacility,
            "WithCustomer" => JobState::WithCustomer,
            other => JobState::Unknown(other.to_owned()),
        }
    }
}
impl std::str::FromStr for JobState {
    type Err = std::convert::Infallible;

    fn from_str(s: &str) -> std::result::Result<Self, Self::Err> {
        Ok(JobState::from(s))
    }
}
impl JobState {
    /// Returns the `&str` value of the enum member.
    pub fn as_str(&self) -> &str {
        match self {
            JobState::Cancelled => "Cancelled",
            JobState::Complete => "Complete",
            JobState::InProgress => "InProgress",
            JobState::InTransitToAws => "InTransitToAWS",
            JobState::InTransitToCustomer => "InTransitToCustomer",
            JobState::Listing => "Listing",
            JobState::New => "New",
            JobState::Pending => "Pending",
            JobState::PreparingAppliance => "PreparingAppliance",
            JobState::PreparingShipment => "PreparingShipment",
            JobState::WithAws => "WithAWS",
            JobState::WithAwsSortingFacility => "WithAWSSortingFacility",
            JobState::WithCustomer => "WithCustomer",
            JobState::Unknown(s) => s.as_ref(),
        }
    }
    /// Returns all the `&str` values of the enum members.
    pub fn values() -> &'static [&'static str] {
        &[
            "Cancelled",
            "Complete",
            "InProgress",
            "InTransitToAWS",
            "InTransitToCustomer",
            "Listing",
            "New",
            "Pending",
            "PreparingAppliance",
            "PreparingShipment",
            "WithAWS",
            "WithAWSSortingFacility",
            "WithCustomer",
        ]
    }
}
impl AsRef<str> for JobState {
    fn as_ref(&self) -> &str {
        self.as_str()
    }
}

/// <p>Each <code>LongTermPricingListEntry</code> object contains information about a long-term pricing type.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct LongTermPricingListEntry {
    /// <p>The ID of the long-term pricing type for the device.</p>
    pub long_term_pricing_id: std::option::Option<std::string::String>,
    /// <p>The end date the long-term pricing contract.</p>
    pub long_term_pricing_end_date: std::option::Option<aws_smithy_types::DateTime>,
    /// <p>The start date of the long-term pricing contract.</p>
    pub long_term_pricing_start_date: std::option::Option<aws_smithy_types::DateTime>,
    /// <p>The type of long-term pricing that was selected for the device.</p>
    pub long_term_pricing_type: std::option::Option<crate::model::LongTermPricingType>,
    /// <p>The current active jobs on the device the long-term pricing type.</p>
    pub current_active_job: std::option::Option<std::string::String>,
    /// <p>A new device that replaces a device that is ordered with long-term pricing.</p>
    pub replacement_job: std::option::Option<std::string::String>,
    /// <p>If set to <code>true</code>, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.</p>
    pub is_long_term_pricing_auto_renew: std::option::Option<bool>,
    /// <p>The status of the long-term pricing type.</p>
    pub long_term_pricing_status: std::option::Option<std::string::String>,
    /// <p>The type of Snow Family Devices associated with this long-term pricing job.</p>
    pub snowball_type: std::option::Option<crate::model::SnowballType>,
    /// <p>The IDs of the jobs that are associated with a long-term pricing type.</p>
    pub job_ids: std::option::Option<std::vec::Vec<std::string::String>>,
}
impl LongTermPricingListEntry {
    /// <p>The ID of the long-term pricing type for the device.</p>
    pub fn long_term_pricing_id(&self) -> std::option::Option<&str> {
        self.long_term_pricing_id.as_deref()
    }
    /// <p>The end date the long-term pricing contract.</p>
    pub fn long_term_pricing_end_date(&self) -> std::option::Option<&aws_smithy_types::DateTime> {
        self.long_term_pricing_end_date.as_ref()
    }
    /// <p>The start date of the long-term pricing contract.</p>
    pub fn long_term_pricing_start_date(&self) -> std::option::Option<&aws_smithy_types::DateTime> {
        self.long_term_pricing_start_date.as_ref()
    }
    /// <p>The type of long-term pricing that was selected for the device.</p>
    pub fn long_term_pricing_type(
        &self,
    ) -> std::option::Option<&crate::model::LongTermPricingType> {
        self.long_term_pricing_type.as_ref()
    }
    /// <p>The current active jobs on the device the long-term pricing type.</p>
    pub fn current_active_job(&self) -> std::option::Option<&str> {
        self.current_active_job.as_deref()
    }
    /// <p>A new device that replaces a device that is ordered with long-term pricing.</p>
    pub fn replacement_job(&self) -> std::option::Option<&str> {
        self.replacement_job.as_deref()
    }
    /// <p>If set to <code>true</code>, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.</p>
    pub fn is_long_term_pricing_auto_renew(&self) -> std::option::Option<bool> {
        self.is_long_term_pricing_auto_renew
    }
    /// <p>The status of the long-term pricing type.</p>
    pub fn long_term_pricing_status(&self) -> std::option::Option<&str> {
        self.long_term_pricing_status.as_deref()
    }
    /// <p>The type of Snow Family Devices associated with this long-term pricing job.</p>
    pub fn snowball_type(&self) -> std::option::Option<&crate::model::SnowballType> {
        self.snowball_type.as_ref()
    }
    /// <p>The IDs of the jobs that are associated with a long-term pricing type.</p>
    pub fn job_ids(&self) -> std::option::Option<&[std::string::String]> {
        self.job_ids.as_deref()
    }
}
impl std::fmt::Debug for LongTermPricingListEntry {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("LongTermPricingListEntry");
        formatter.field("long_term_pricing_id", &self.long_term_pricing_id);
        formatter.field(
            "long_term_pricing_end_date",
            &self.long_term_pricing_end_date,
        );
        formatter.field(
            "long_term_pricing_start_date",
            &self.long_term_pricing_start_date,
        );
        formatter.field("long_term_pricing_type", &self.long_term_pricing_type);
        formatter.field("current_active_job", &self.current_active_job);
        formatter.field("replacement_job", &self.replacement_job);
        formatter.field(
            "is_long_term_pricing_auto_renew",
            &self.is_long_term_pricing_auto_renew,
        );
        formatter.field("long_term_pricing_status", &self.long_term_pricing_status);
        formatter.field("snowball_type", &self.snowball_type);
        formatter.field("job_ids", &self.job_ids);
        formatter.finish()
    }
}
/// See [`LongTermPricingListEntry`](crate::model::LongTermPricingListEntry)
pub mod long_term_pricing_list_entry {
    /// A builder for [`LongTermPricingListEntry`](crate::model::LongTermPricingListEntry)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) long_term_pricing_id: std::option::Option<std::string::String>,
        pub(crate) long_term_pricing_end_date: std::option::Option<aws_smithy_types::DateTime>,
        pub(crate) long_term_pricing_start_date: std::option::Option<aws_smithy_types::DateTime>,
        pub(crate) long_term_pricing_type: std::option::Option<crate::model::LongTermPricingType>,
        pub(crate) current_active_job: std::option::Option<std::string::String>,
        pub(crate) replacement_job: std::option::Option<std::string::String>,
        pub(crate) is_long_term_pricing_auto_renew: std::option::Option<bool>,
        pub(crate) long_term_pricing_status: std::option::Option<std::string::String>,
        pub(crate) snowball_type: std::option::Option<crate::model::SnowballType>,
        pub(crate) job_ids: std::option::Option<std::vec::Vec<std::string::String>>,
    }
    impl Builder {
        /// <p>The ID of the long-term pricing type for the device.</p>
        pub fn long_term_pricing_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.long_term_pricing_id = Some(input.into());
            self
        }
        /// <p>The ID of the long-term pricing type for the device.</p>
        pub fn set_long_term_pricing_id(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.long_term_pricing_id = input;
            self
        }
        /// <p>The end date the long-term pricing contract.</p>
        pub fn long_term_pricing_end_date(mut self, input: aws_smithy_types::DateTime) -> Self {
            self.long_term_pricing_end_date = Some(input);
            self
        }
        /// <p>The end date the long-term pricing contract.</p>
        pub fn set_long_term_pricing_end_date(
            mut self,
            input: std::option::Option<aws_smithy_types::DateTime>,
        ) -> Self {
            self.long_term_pricing_end_date = input;
            self
        }
        /// <p>The start date of the long-term pricing contract.</p>
        pub fn long_term_pricing_start_date(mut self, input: aws_smithy_types::DateTime) -> Self {
            self.long_term_pricing_start_date = Some(input);
            self
        }
        /// <p>The start date of the long-term pricing contract.</p>
        pub fn set_long_term_pricing_start_date(
            mut self,
            input: std::option::Option<aws_smithy_types::DateTime>,
        ) -> Self {
            self.long_term_pricing_start_date = input;
            self
        }
        /// <p>The type of long-term pricing that was selected for the device.</p>
        pub fn long_term_pricing_type(mut self, input: crate::model::LongTermPricingType) -> Self {
            self.long_term_pricing_type = Some(input);
            self
        }
        /// <p>The type of long-term pricing that was selected for the device.</p>
        pub fn set_long_term_pricing_type(
            mut self,
            input: std::option::Option<crate::model::LongTermPricingType>,
        ) -> Self {
            self.long_term_pricing_type = input;
            self
        }
        /// <p>The current active jobs on the device the long-term pricing type.</p>
        pub fn current_active_job(mut self, input: impl Into<std::string::String>) -> Self {
            self.current_active_job = Some(input.into());
            self
        }
        /// <p>The current active jobs on the device the long-term pricing type.</p>
        pub fn set_current_active_job(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.current_active_job = input;
            self
        }
        /// <p>A new device that replaces a device that is ordered with long-term pricing.</p>
        pub fn replacement_job(mut self, input: impl Into<std::string::String>) -> Self {
            self.replacement_job = Some(input.into());
            self
        }
        /// <p>A new device that replaces a device that is ordered with long-term pricing.</p>
        pub fn set_replacement_job(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.replacement_job = input;
            self
        }
        /// <p>If set to <code>true</code>, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.</p>
        pub fn is_long_term_pricing_auto_renew(mut self, input: bool) -> Self {
            self.is_long_term_pricing_auto_renew = Some(input);
            self
        }
        /// <p>If set to <code>true</code>, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.</p>
        pub fn set_is_long_term_pricing_auto_renew(
            mut self,
            input: std::option::Option<bool>,
        ) -> Self {
            self.is_long_term_pricing_auto_renew = input;
            self
        }
        /// <p>The status of the long-term pricing type.</p>
        pub fn long_term_pricing_status(mut self, input: impl Into<std::string::String>) -> Self {
            self.long_term_pricing_status = Some(input.into());
            self
        }
        /// <p>The status of the long-term pricing type.</p>
        pub fn set_long_term_pricing_status(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.long_term_pricing_status = input;
            self
        }
        /// <p>The type of Snow Family Devices associated with this long-term pricing job.</p>
        pub fn snowball_type(mut self, input: crate::model::SnowballType) -> Self {
            self.snowball_type = Some(input);
            self
        }
        /// <p>The type of Snow Family Devices associated with this long-term pricing job.</p>
        pub fn set_snowball_type(
            mut self,
            input: std::option::Option<crate::model::SnowballType>,
        ) -> Self {
            self.snowball_type = input;
            self
        }
        /// Appends an item to `job_ids`.
        ///
        /// To override the contents of this collection use [`set_job_ids`](Self::set_job_ids).
        ///
        /// <p>The IDs of the jobs that are associated with a long-term pricing type.</p>
        pub fn job_ids(mut self, input: impl Into<std::string::String>) -> Self {
            let mut v = self.job_ids.unwrap_or_default();
            v.push(input.into());
            self.job_ids = Some(v);
            self
        }
        /// <p>The IDs of the jobs that are associated with a long-term pricing type.</p>
        pub fn set_job_ids(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.job_ids = input;
            self
        }
        /// Consumes the builder and constructs a [`LongTermPricingListEntry`](crate::model::LongTermPricingListEntry)
        pub fn build(self) -> crate::model::LongTermPricingListEntry {
            crate::model::LongTermPricingListEntry {
                long_term_pricing_id: self.long_term_pricing_id,
                long_term_pricing_end_date: self.long_term_pricing_end_date,
                long_term_pricing_start_date: self.long_term_pricing_start_date,
                long_term_pricing_type: self.long_term_pricing_type,
                current_active_job: self.current_active_job,
                replacement_job: self.replacement_job,
                is_long_term_pricing_auto_renew: self.is_long_term_pricing_auto_renew,
                long_term_pricing_status: self.long_term_pricing_status,
                snowball_type: self.snowball_type,
                job_ids: self.job_ids,
            }
        }
    }
}
impl LongTermPricingListEntry {
    /// Creates a new builder-style object to manufacture [`LongTermPricingListEntry`](crate::model::LongTermPricingListEntry)
    pub fn builder() -> crate::model::long_term_pricing_list_entry::Builder {
        crate::model::long_term_pricing_list_entry::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(
    std::clone::Clone,
    std::cmp::Eq,
    std::cmp::Ord,
    std::cmp::PartialEq,
    std::cmp::PartialOrd,
    std::fmt::Debug,
    std::hash::Hash,
)]
pub enum SnowballType {
    #[allow(missing_docs)] // documentation missing in model
    Edge,
    #[allow(missing_docs)] // documentation missing in model
    EdgeC,
    #[allow(missing_docs)] // documentation missing in model
    EdgeCg,
    #[allow(missing_docs)] // documentation missing in model
    EdgeS,
    #[allow(missing_docs)] // documentation missing in model
    Snc1Hdd,
    #[allow(missing_docs)] // documentation missing in model
    Snc1Ssd,
    #[allow(missing_docs)] // documentation missing in model
    Standard,
    /// Unknown contains new variants that have been added since this code was generated.
    Unknown(String),
}
impl std::convert::From<&str> for SnowballType {
    fn from(s: &str) -> Self {
        match s {
            "EDGE" => SnowballType::Edge,
            "EDGE_C" => SnowballType::EdgeC,
            "EDGE_CG" => SnowballType::EdgeCg,
            "EDGE_S" => SnowballType::EdgeS,
            "SNC1_HDD" => SnowballType::Snc1Hdd,
            "SNC1_SSD" => SnowballType::Snc1Ssd,
            "STANDARD" => SnowballType::Standard,
            other => SnowballType::Unknown(other.to_owned()),
        }
    }
}
impl std::str::FromStr for SnowballType {
    type Err = std::convert::Infallible;

    fn from_str(s: &str) -> std::result::Result<Self, Self::Err> {
        Ok(SnowballType::from(s))
    }
}
impl SnowballType {
    /// Returns the `&str` value of the enum member.
    pub fn as_str(&self) -> &str {
        match self {
            SnowballType::Edge => "EDGE",
            SnowballType::EdgeC => "EDGE_C",
            SnowballType::EdgeCg => "EDGE_CG",
            SnowballType::EdgeS => "EDGE_S",
            SnowballType::Snc1Hdd => "SNC1_HDD",
            SnowballType::Snc1Ssd => "SNC1_SSD",
            SnowballType::Standard => "STANDARD",
            SnowballType::Unknown(s) => s.as_ref(),
        }
    }
    /// Returns all the `&str` values of the enum members.
    pub fn values() -> &'static [&'static str] {
        &[
            "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S", "SNC1_HDD", "SNC1_SSD", "STANDARD",
        ]
    }
}
impl AsRef<str> for SnowballType {
    fn as_ref(&self) -> &str {
        self.as_str()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(
    std::clone::Clone,
    std::cmp::Eq,
    std::cmp::Ord,
    std::cmp::PartialEq,
    std::cmp::PartialOrd,
    std::fmt::Debug,
    std::hash::Hash,
)]
pub enum LongTermPricingType {
    #[allow(missing_docs)] // documentation missing in model
    OneYear,
    #[allow(missing_docs)] // documentation missing in model
    ThreeYear,
    /// Unknown contains new variants that have been added since this code was generated.
    Unknown(String),
}
impl std::convert::From<&str> for LongTermPricingType {
    fn from(s: &str) -> Self {
        match s {
            "OneYear" => LongTermPricingType::OneYear,
            "ThreeYear" => LongTermPricingType::ThreeYear,
            other => LongTermPricingType::Unknown(other.to_owned()),
        }
    }
}
impl std::str::FromStr for LongTermPricingType {
    type Err = std::convert::Infallible;

    fn from_str(s: &str) -> std::result::Result<Self, Self::Err> {
        Ok(LongTermPricingType::from(s))
    }
}
impl LongTermPricingType {
    /// Returns the `&str` value of the enum member.
    pub fn as_str(&self) -> &str {
        match self {
            LongTermPricingType::OneYear => "OneYear",
            LongTermPricingType::ThreeYear => "ThreeYear",
            LongTermPricingType::Unknown(s) => s.as_ref(),
        }
    }
    /// Returns all the `&str` values of the enum members.
    pub fn values() -> &'static [&'static str] {
        &["OneYear", "ThreeYear"]
    }
}
impl AsRef<str> for LongTermPricingType {
    fn as_ref(&self) -> &str {
        self.as_str()
    }
}

/// <p>Each <code>JobListEntry</code> object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of an export job.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct JobListEntry {
    /// <p>The automatically generated ID for a job, for example <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p>
    pub job_id: std::option::Option<std::string::String>,
    /// <p>The current state of this job.</p>
    pub job_state: std::option::Option<crate::model::JobState>,
    /// <p>A value that indicates that this job is a main job. A main job represents a successful request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each main job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular main job are listed, because they are created after the main job is created.</p>
    pub is_master: bool,
    /// <p>The type of job.</p>
    pub job_type: std::option::Option<crate::model::JobType>,
    /// <p>The type of device used with this job.</p>
    pub snowball_type: std::option::Option<crate::model::SnowballType>,
    /// <p>The creation date for this job.</p>
    pub creation_date: std::option::Option<aws_smithy_types::DateTime>,
    /// <p>The optional description of this specific job, for example <code>Important Photos 2016-08-11</code>.</p>
    pub description: std::option::Option<std::string::String>,
}
impl JobListEntry {
    /// <p>The automatically generated ID for a job, for example <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p>
    pub fn job_id(&self) -> std::option::Option<&str> {
        self.job_id.as_deref()
    }
    /// <p>The current state of this job.</p>
    pub fn job_state(&self) -> std::option::Option<&crate::model::JobState> {
        self.job_state.as_ref()
    }
    /// <p>A value that indicates that this job is a main job. A main job represents a successful request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each main job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular main job are listed, because they are created after the main job is created.</p>
    pub fn is_master(&self) -> bool {
        self.is_master
    }
    /// <p>The type of job.</p>
    pub fn job_type(&self) -> std::option::Option<&crate::model::JobType> {
        self.job_type.as_ref()
    }
    /// <p>The type of device used with this job.</p>
    pub fn snowball_type(&self) -> std::option::Option<&crate::model::SnowballType> {
        self.snowball_type.as_ref()
    }
    /// <p>The creation date for this job.</p>
    pub fn creation_date(&self) -> std::option::Option<&aws_smithy_types::DateTime> {
        self.creation_date.as_ref()
    }
    /// <p>The optional description of this specific job, for example <code>Important Photos 2016-08-11</code>.</p>
    pub fn description(&self) -> std::option::Option<&str> {
        self.description.as_deref()
    }
}
impl std::fmt::Debug for JobListEntry {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("JobListEntry");
        formatter.field("job_id", &self.job_id);
        formatter.field("job_state", &self.job_state);
        formatter.field("is_master", &self.is_master);
        formatter.field("job_type", &self.job_type);
        formatter.field("snowball_type", &self.snowball_type);
        formatter.field("creation_date", &self.creation_date);
        formatter.field("description", &self.description);
        formatter.finish()
    }
}
/// See [`JobListEntry`](crate::model::JobListEntry)
pub mod job_list_entry {
    /// A builder for [`JobListEntry`](crate::model::JobListEntry)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) job_id: std::option::Option<std::string::String>,
        pub(crate) job_state: std::option::Option<crate::model::JobState>,
        pub(crate) is_master: std::option::Option<bool>,
        pub(crate) job_type: std::option::Option<crate::model::JobType>,
        pub(crate) snowball_type: std::option::Option<crate::model::SnowballType>,
        pub(crate) creation_date: std::option::Option<aws_smithy_types::DateTime>,
        pub(crate) description: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// <p>The automatically generated ID for a job, for example <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p>
        pub fn job_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.job_id = Some(input.into());
            self
        }
        /// <p>The automatically generated ID for a job, for example <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p>
        pub fn set_job_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.job_id = input;
            self
        }
        /// <p>The current state of this job.</p>
        pub fn job_state(mut self, input: crate::model::JobState) -> Self {
            self.job_state = Some(input);
            self
        }
        /// <p>The current state of this job.</p>
        pub fn set_job_state(mut self, input: std::option::Option<crate::model::JobState>) -> Self {
            self.job_state = input;
            self
        }
        /// <p>A value that indicates that this job is a main job. A main job represents a successful request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each main job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular main job are listed, because they are created after the main job is created.</p>
        pub fn is_master(mut self, input: bool) -> Self {
            self.is_master = Some(input);
            self
        }
        /// <p>A value that indicates that this job is a main job. A main job represents a successful request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each main job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular main job are listed, because they are created after the main job is created.</p>
        pub fn set_is_master(mut self, input: std::option::Option<bool>) -> Self {
            self.is_master = input;
            self
        }
        /// <p>The type of job.</p>
        pub fn job_type(mut self, input: crate::model::JobType) -> Self {
            self.job_type = Some(input);
            self
        }
        /// <p>The type of job.</p>
        pub fn set_job_type(mut self, input: std::option::Option<crate::model::JobType>) -> Self {
            self.job_type = input;
            self
        }
        /// <p>The type of device used with this job.</p>
        pub fn snowball_type(mut self, input: crate::model::SnowballType) -> Self {
            self.snowball_type = Some(input);
            self
        }
        /// <p>The type of device used with this job.</p>
        pub fn set_snowball_type(
            mut self,
            input: std::option::Option<crate::model::SnowballType>,
        ) -> Self {
            self.snowball_type = input;
            self
        }
        /// <p>The creation date for this job.</p>
        pub fn creation_date(mut self, input: aws_smithy_types::DateTime) -> Self {
            self.creation_date = Some(input);
            self
        }
        /// <p>The creation date for this job.</p>
        pub fn set_creation_date(
            mut self,
            input: std::option::Option<aws_smithy_types::DateTime>,
        ) -> Self {
            self.creation_date = input;
            self
        }
        /// <p>The optional description of this specific job, for example <code>Important Photos 2016-08-11</code>.</p>
        pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
            self.description = Some(input.into());
            self
        }
        /// <p>The optional description of this specific job, for example <code>Important Photos 2016-08-11</code>.</p>
        pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.description = input;
            self
        }
        /// Consumes the builder and constructs a [`JobListEntry`](crate::model::JobListEntry)
        pub fn build(self) -> crate::model::JobListEntry {
            crate::model::JobListEntry {
                job_id: self.job_id,
                job_state: self.job_state,
                is_master: self.is_master.unwrap_or_default(),
                job_type: self.job_type,
                snowball_type: self.snowball_type,
                creation_date: self.creation_date,
                description: self.description,
            }
        }
    }
}
impl JobListEntry {
    /// Creates a new builder-style object to manufacture [`JobListEntry`](crate::model::JobListEntry)
    pub fn builder() -> crate::model::job_list_entry::Builder {
        crate::model::job_list_entry::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(
    std::clone::Clone,
    std::cmp::Eq,
    std::cmp::Ord,
    std::cmp::PartialEq,
    std::cmp::PartialOrd,
    std::fmt::Debug,
    std::hash::Hash,
)]
pub enum JobType {
    #[allow(missing_docs)] // documentation missing in model
    Export,
    #[allow(missing_docs)] // documentation missing in model
    Import,
    #[allow(missing_docs)] // documentation missing in model
    LocalUse,
    /// Unknown contains new variants that have been added since this code was generated.
    Unknown(String),
}
impl std::convert::From<&str> for JobType {
    fn from(s: &str) -> Self {
        match s {
            "EXPORT" => JobType::Export,
            "IMPORT" => JobType::Import,
            "LOCAL_USE" => JobType::LocalUse,
            other => JobType::Unknown(other.to_owned()),
        }
    }
}
impl std::str::FromStr for JobType {
    type Err = std::convert::Infallible;

    fn from_str(s: &str) -> std::result::Result<Self, Self::Err> {
        Ok(JobType::from(s))
    }
}
impl JobType {
    /// Returns the `&str` value of the enum member.
    pub fn as_str(&self) -> &str {
        match self {
            JobType::Export => "EXPORT",
            JobType::Import => "IMPORT",
            JobType::LocalUse => "LOCAL_USE",
            JobType::Unknown(s) => s.as_ref(),
        }
    }
    /// Returns all the `&str` values of the enum members.
    pub fn values() -> &'static [&'static str] {
        &["EXPORT", "IMPORT", "LOCAL_USE"]
    }
}
impl AsRef<str> for JobType {
    fn as_ref(&self) -> &str {
        self.as_str()
    }
}

/// <p>A JSON-formatted object that describes a compatible Amazon Machine Image (AMI), including the ID and name for a Snow device AMI. This AMI is compatible with the device's physical hardware requirements, and it should be able to be run in an SBE1 instance on the device.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CompatibleImage {
    /// <p>The unique identifier for an individual Snow device AMI.</p>
    pub ami_id: std::option::Option<std::string::String>,
    /// <p>The optional name of a compatible image.</p>
    pub name: std::option::Option<std::string::String>,
}
impl CompatibleImage {
    /// <p>The unique identifier for an individual Snow device AMI.</p>
    pub fn ami_id(&self) -> std::option::Option<&str> {
        self.ami_id.as_deref()
    }
    /// <p>The optional name of a compatible image.</p>
    pub fn name(&self) -> std::option::Option<&str> {
        self.name.as_deref()
    }
}
impl std::fmt::Debug for CompatibleImage {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("CompatibleImage");
        formatter.field("ami_id", &self.ami_id);
        formatter.field("name", &self.name);
        formatter.finish()
    }
}
/// See [`CompatibleImage`](crate::model::CompatibleImage)
pub mod compatible_image {
    /// A builder for [`CompatibleImage`](crate::model::CompatibleImage)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) ami_id: std::option::Option<std::string::String>,
        pub(crate) name: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// <p>The unique identifier for an individual Snow device AMI.</p>
        pub fn ami_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.ami_id = Some(input.into());
            self
        }
        /// <p>The unique identifier for an individual Snow device AMI.</p>
        pub fn set_ami_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.ami_id = input;
            self
        }
        /// <p>The optional name of a compatible image.</p>
        pub fn name(mut self, input: impl Into<std::string::String>) -> Self {
            self.name = Some(input.into());
            self
        }
        /// <p>The optional name of a compatible image.</p>
        pub fn set_name(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.name = input;
            self
        }
        /// Consumes the builder and constructs a [`CompatibleImage`](crate::model::CompatibleImage)
        pub fn build(self) -> crate::model::CompatibleImage {
            crate::model::CompatibleImage {
                ami_id: self.ami_id,
                name: self.name,
            }
        }
    }
}
impl CompatibleImage {
    /// Creates a new builder-style object to manufacture [`CompatibleImage`](crate::model::CompatibleImage)
    pub fn builder() -> crate::model::compatible_image::Builder {
        crate::model::compatible_image::Builder::default()
    }
}

/// <p>Contains a cluster's state, a cluster's ID, and other important information.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ClusterListEntry {
    /// <p>The 39-character ID for the cluster that you want to list, for example <code>CID123e4567-e89b-12d3-a456-426655440000</code>.</p>
    pub cluster_id: std::option::Option<std::string::String>,
    /// <p>The current state of this cluster. For information about the state of a specific node, see <code>JobListEntry$JobState</code>.</p>
    pub cluster_state: std::option::Option<crate::model::ClusterState>,
    /// <p>The creation date for this cluster.</p>
    pub creation_date: std::option::Option<aws_smithy_types::DateTime>,
    /// <p>Defines an optional description of the cluster, for example <code>Environmental Data Cluster-01</code>.</p>
    pub description: std::option::Option<std::string::String>,
}
impl ClusterListEntry {
    /// <p>The 39-character ID for the cluster that you want to list, for example <code>CID123e4567-e89b-12d3-a456-426655440000</code>.</p>
    pub fn cluster_id(&self) -> std::option::Option<&str> {
        self.cluster_id.as_deref()
    }
    /// <p>The current state of this cluster. For information about the state of a specific node, see <code>JobListEntry$JobState</code>.</p>
    pub fn cluster_state(&self) -> std::option::Option<&crate::model::ClusterState> {
        self.cluster_state.as_ref()
    }
    /// <p>The creation date for this cluster.</p>
    pub fn creation_date(&self) -> std::option::Option<&aws_smithy_types::DateTime> {
        self.creation_date.as_ref()
    }
    /// <p>Defines an optional description of the cluster, for example <code>Environmental Data Cluster-01</code>.</p>
    pub fn description(&self) -> std::option::Option<&str> {
        self.description.as_deref()
    }
}
impl std::fmt::Debug for ClusterListEntry {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("ClusterListEntry");
        formatter.field("cluster_id", &self.cluster_id);
        formatter.field("cluster_state", &self.cluster_state);
        formatter.field("creation_date", &self.creation_date);
        formatter.field("description", &self.description);
        formatter.finish()
    }
}
/// See [`ClusterListEntry`](crate::model::ClusterListEntry)
pub mod cluster_list_entry {
    /// A builder for [`ClusterListEntry`](crate::model::ClusterListEntry)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) cluster_id: std::option::Option<std::string::String>,
        pub(crate) cluster_state: std::option::Option<crate::model::ClusterState>,
        pub(crate) creation_date: std::option::Option<aws_smithy_types::DateTime>,
        pub(crate) description: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// <p>The 39-character ID for the cluster that you want to list, for example <code>CID123e4567-e89b-12d3-a456-426655440000</code>.</p>
        pub fn cluster_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.cluster_id = Some(input.into());
            self
        }
        /// <p>The 39-character ID for the cluster that you want to list, for example <code>CID123e4567-e89b-12d3-a456-426655440000</code>.</p>
        pub fn set_cluster_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.cluster_id = input;
            self
        }
        /// <p>The current state of this cluster. For information about the state of a specific node, see <code>JobListEntry$JobState</code>.</p>
        pub fn cluster_state(mut self, input: crate::model::ClusterState) -> Self {
            self.cluster_state = Some(input);
            self
        }
        /// <p>The current state of this cluster. For information about the state of a specific node, see <code>JobListEntry$JobState</code>.</p>
        pub fn set_cluster_state(
            mut self,
            input: std::option::Option<crate::model::ClusterState>,
        ) -> Self {
            self.cluster_state = input;
            self
        }
        /// <p>The creation date for this cluster.</p>
        pub fn creation_date(mut self, input: aws_smithy_types::DateTime) -> Self {
            self.creation_date = Some(input);
            self
        }
        /// <p>The creation date for this cluster.</p>
        pub fn set_creation_date(
            mut self,
            input: std::option::Option<aws_smithy_types::DateTime>,
        ) -> Self {
            self.creation_date = input;
            self
        }
        /// <p>Defines an optional description of the cluster, for example <code>Environmental Data Cluster-01</code>.</p>
        pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
            self.description = Some(input.into());
            self
        }
        /// <p>Defines an optional description of the cluster, for example <code>Environmental Data Cluster-01</code>.</p>
        pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.description = input;
            self
        }
        /// Consumes the builder and constructs a [`ClusterListEntry`](crate::model::ClusterListEntry)
        pub fn build(self) -> crate::model::ClusterListEntry {
            crate::model::ClusterListEntry {
                cluster_id: self.cluster_id,
                cluster_state: self.cluster_state,
                creation_date: self.creation_date,
                description: self.description,
            }
        }
    }
}
impl ClusterListEntry {
    /// Creates a new builder-style object to manufacture [`ClusterListEntry`](crate::model::ClusterListEntry)
    pub fn builder() -> crate::model::cluster_list_entry::Builder {
        crate::model::cluster_list_entry::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(
    std::clone::Clone,
    std::cmp::Eq,
    std::cmp::Ord,
    std::cmp::PartialEq,
    std::cmp::PartialOrd,
    std::fmt::Debug,
    std::hash::Hash,
)]
pub enum ClusterState {
    #[allow(missing_docs)] // documentation missing in model
    AwaitingQuorum,
    #[allow(missing_docs)] // documentation missing in model
    Cancelled,
    #[allow(missing_docs)] // documentation missing in model
    Complete,
    #[allow(missing_docs)] // documentation missing in model
    InUse,
    #[allow(missing_docs)] // documentation missing in model
    Pending,
    /// Unknown contains new variants that have been added since this code was generated.
    Unknown(String),
}
impl std::convert::From<&str> for ClusterState {
    fn from(s: &str) -> Self {
        match s {
            "AwaitingQuorum" => ClusterState::AwaitingQuorum,
            "Cancelled" => ClusterState::Cancelled,
            "Complete" => ClusterState::Complete,
            "InUse" => ClusterState::InUse,
            "Pending" => ClusterState::Pending,
            other => ClusterState::Unknown(other.to_owned()),
        }
    }
}
impl std::str::FromStr for ClusterState {
    type Err = std::convert::Infallible;

    fn from_str(s: &str) -> std::result::Result<Self, Self::Err> {
        Ok(ClusterState::from(s))
    }
}
impl ClusterState {
    /// Returns the `&str` value of the enum member.
    pub fn as_str(&self) -> &str {
        match self {
            ClusterState::AwaitingQuorum => "AwaitingQuorum",
            ClusterState::Cancelled => "Cancelled",
            ClusterState::Complete => "Complete",
            ClusterState::InUse => "InUse",
            ClusterState::Pending => "Pending",
            ClusterState::Unknown(s) => s.as_ref(),
        }
    }
    /// Returns all the `&str` values of the enum members.
    pub fn values() -> &'static [&'static str] {
        &[
            "AwaitingQuorum",
            "Cancelled",
            "Complete",
            "InUse",
            "Pending",
        ]
    }
}
impl AsRef<str> for ClusterState {
    fn as_ref(&self) -> &str {
        self.as_str()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(
    std::clone::Clone,
    std::cmp::Eq,
    std::cmp::Ord,
    std::cmp::PartialEq,
    std::cmp::PartialOrd,
    std::fmt::Debug,
    std::hash::Hash,
)]
pub enum ShippingLabelStatus {
    #[allow(missing_docs)] // documentation missing in model
    Failed,
    #[allow(missing_docs)] // documentation missing in model
    InProgress,
    #[allow(missing_docs)] // documentation missing in model
    Succeeded,
    #[allow(missing_docs)] // documentation missing in model
    TimedOut,
    /// Unknown contains new variants that have been added since this code was generated.
    Unknown(String),
}
impl std::convert::From<&str> for ShippingLabelStatus {
    fn from(s: &str) -> Self {
        match s {
            "Failed" => ShippingLabelStatus::Failed,
            "InProgress" => ShippingLabelStatus::InProgress,
            "Succeeded" => ShippingLabelStatus::Succeeded,
            "TimedOut" => ShippingLabelStatus::TimedOut,
            other => ShippingLabelStatus::Unknown(other.to_owned()),
        }
    }
}
impl std::str::FromStr for ShippingLabelStatus {
    type Err = std::convert::Infallible;

    fn from_str(s: &str) -> std::result::Result<Self, Self::Err> {
        Ok(ShippingLabelStatus::from(s))
    }
}
impl ShippingLabelStatus {
    /// Returns the `&str` value of the enum member.
    pub fn as_str(&self) -> &str {
        match self {
            ShippingLabelStatus::Failed => "Failed",
            ShippingLabelStatus::InProgress => "InProgress",
            ShippingLabelStatus::Succeeded => "Succeeded",
            ShippingLabelStatus::TimedOut => "TimedOut",
            ShippingLabelStatus::Unknown(s) => s.as_ref(),
        }
    }
    /// Returns all the `&str` values of the enum members.
    pub fn values() -> &'static [&'static str] {
        &["Failed", "InProgress", "Succeeded", "TimedOut"]
    }
}
impl AsRef<str> for ShippingLabelStatus {
    fn as_ref(&self) -> &str {
        self.as_str()
    }
}

/// <p>Contains information about a specific job including shipping information, job status, and other important metadata. This information is returned as a part of the response syntax of the <code>DescribeJob</code> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct JobMetadata {
    /// <p>The automatically generated ID for a job, for example <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p>
    pub job_id: std::option::Option<std::string::String>,
    /// <p>The current status of the jobs.</p>
    pub job_state: std::option::Option<crate::model::JobState>,
    /// <p>The type of job.</p>
    pub job_type: std::option::Option<crate::model::JobType>,
    /// <p>The type of device used with this job.</p>
    pub snowball_type: std::option::Option<crate::model::SnowballType>,
    /// <p>The creation date for this job.</p>
    pub creation_date: std::option::Option<aws_smithy_types::DateTime>,
    /// <p>An array of <code>S3Resource</code> objects. Each <code>S3Resource</code> object represents an Amazon S3 bucket that your transferred data will be exported from or imported into.</p>
    pub resources: std::option::Option<crate::model::JobResource>,
    /// <p>The description of the job, provided at job creation.</p>
    pub description: std::option::Option<std::string::String>,
    /// <p>The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN was created using the <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html">CreateKey</a> API action in KMS.</p>
    pub kms_key_arn: std::option::Option<std::string::String>,
    /// <p>The role ARN associated with this job. This ARN was created using the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html">CreateRole</a> API action in Identity and Access Management.</p>
    pub role_arn: std::option::Option<std::string::String>,
    /// <p>The ID for the address that you want the Snow device shipped to.</p>
    pub address_id: std::option::Option<std::string::String>,
    /// <p>A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.</p>
    pub shipping_details: std::option::Option<crate::model::ShippingDetails>,
    /// <p>The Snow device capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.</p>
    /// <p>For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the <i>Snowcone User Guide</i> or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the <i>Snowcone User Guide</i>.</p>
    pub snowball_capacity_preference: std::option::Option<crate::model::SnowballCapacity>,
    /// <p>The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The <code>Notification</code> object is returned as a part of the response syntax of the <code>DescribeJob</code> action in the <code>JobMetadata</code> data type.</p>
    pub notification: std::option::Option<crate::model::Notification>,
    /// <p>A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services. This data is only available while a job has a <code>JobState</code> value of <code>InProgress</code>, for both import and export jobs.</p>
    pub data_transfer_progress: std::option::Option<crate::model::DataTransfer>,
    /// <p>Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snow device for your job part is being delivered to you.</p>
    pub job_log_info: std::option::Option<crate::model::JobLogs>,
    /// <p>The 39-character ID for the cluster, for example <code>CID123e4567-e89b-12d3-a456-426655440000</code>.</p>
    pub cluster_id: std::option::Option<std::string::String>,
    /// <p>The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field is not supported in most regions.</p>
    pub forwarding_address_id: std::option::Option<std::string::String>,
    /// <p>The metadata associated with the tax documents required in your Amazon Web Services Region.</p>
    pub tax_documents: std::option::Option<crate::model::TaxDocuments>,
    /// <p>The container for <code>SnowconeDeviceConfiguration</code>. </p>
    pub device_configuration: std::option::Option<crate::model::DeviceConfiguration>,
    /// <p>Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set to <code>INSTALLED_AUTOSTART</code>, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.</p>
    pub remote_management: std::option::Option<crate::model::RemoteManagement>,
    /// <p>The ID of the long-term pricing type for the device.</p>
    pub long_term_pricing_id: std::option::Option<std::string::String>,
    /// <p>Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.</p>
    pub on_device_service_configuration:
        std::option::Option<crate::model::OnDeviceServiceConfiguration>,
}
impl JobMetadata {
    /// <p>The automatically generated ID for a job, for example <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p>
    pub fn job_id(&self) -> std::option::Option<&str> {
        self.job_id.as_deref()
    }
    /// <p>The current status of the jobs.</p>
    pub fn job_state(&self) -> std::option::Option<&crate::model::JobState> {
        self.job_state.as_ref()
    }
    /// <p>The type of job.</p>
    pub fn job_type(&self) -> std::option::Option<&crate::model::JobType> {
        self.job_type.as_ref()
    }
    /// <p>The type of device used with this job.</p>
    pub fn snowball_type(&self) -> std::option::Option<&crate::model::SnowballType> {
        self.snowball_type.as_ref()
    }
    /// <p>The creation date for this job.</p>
    pub fn creation_date(&self) -> std::option::Option<&aws_smithy_types::DateTime> {
        self.creation_date.as_ref()
    }
    /// <p>An array of <code>S3Resource</code> objects. Each <code>S3Resource</code> object represents an Amazon S3 bucket that your transferred data will be exported from or imported into.</p>
    pub fn resources(&self) -> std::option::Option<&crate::model::JobResource> {
        self.resources.as_ref()
    }
    /// <p>The description of the job, provided at job creation.</p>
    pub fn description(&self) -> std::option::Option<&str> {
        self.description.as_deref()
    }
    /// <p>The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN was created using the <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html">CreateKey</a> API action in KMS.</p>
    pub fn kms_key_arn(&self) -> std::option::Option<&str> {
        self.kms_key_arn.as_deref()
    }
    /// <p>The role ARN associated with this job. This ARN was created using the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html">CreateRole</a> API action in Identity and Access Management.</p>
    pub fn role_arn(&self) -> std::option::Option<&str> {
        self.role_arn.as_deref()
    }
    /// <p>The ID for the address that you want the Snow device shipped to.</p>
    pub fn address_id(&self) -> std::option::Option<&str> {
        self.address_id.as_deref()
    }
    /// <p>A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.</p>
    pub fn shipping_details(&self) -> std::option::Option<&crate::model::ShippingDetails> {
        self.shipping_details.as_ref()
    }
    /// <p>The Snow device capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.</p>
    /// <p>For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the <i>Snowcone User Guide</i> or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the <i>Snowcone User Guide</i>.</p>
    pub fn snowball_capacity_preference(
        &self,
    ) -> std::option::Option<&crate::model::SnowballCapacity> {
        self.snowball_capacity_preference.as_ref()
    }
    /// <p>The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The <code>Notification</code> object is returned as a part of the response syntax of the <code>DescribeJob</code> action in the <code>JobMetadata</code> data type.</p>
    pub fn notification(&self) -> std::option::Option<&crate::model::Notification> {
        self.notification.as_ref()
    }
    /// <p>A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services. This data is only available while a job has a <code>JobState</code> value of <code>InProgress</code>, for both import and export jobs.</p>
    pub fn data_transfer_progress(&self) -> std::option::Option<&crate::model::DataTransfer> {
        self.data_transfer_progress.as_ref()
    }
    /// <p>Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snow device for your job part is being delivered to you.</p>
    pub fn job_log_info(&self) -> std::option::Option<&crate::model::JobLogs> {
        self.job_log_info.as_ref()
    }
    /// <p>The 39-character ID for the cluster, for example <code>CID123e4567-e89b-12d3-a456-426655440000</code>.</p>
    pub fn cluster_id(&self) -> std::option::Option<&str> {
        self.cluster_id.as_deref()
    }
    /// <p>The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field is not supported in most regions.</p>
    pub fn forwarding_address_id(&self) -> std::option::Option<&str> {
        self.forwarding_address_id.as_deref()
    }
    /// <p>The metadata associated with the tax documents required in your Amazon Web Services Region.</p>
    pub fn tax_documents(&self) -> std::option::Option<&crate::model::TaxDocuments> {
        self.tax_documents.as_ref()
    }
    /// <p>The container for <code>SnowconeDeviceConfiguration</code>. </p>
    pub fn device_configuration(&self) -> std::option::Option<&crate::model::DeviceConfiguration> {
        self.device_configuration.as_ref()
    }
    /// <p>Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set to <code>INSTALLED_AUTOSTART</code>, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.</p>
    pub fn remote_management(&self) -> std::option::Option<&crate::model::RemoteManagement> {
        self.remote_management.as_ref()
    }
    /// <p>The ID of the long-term pricing type for the device.</p>
    pub fn long_term_pricing_id(&self) -> std::option::Option<&str> {
        self.long_term_pricing_id.as_deref()
    }
    /// <p>Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.</p>
    pub fn on_device_service_configuration(
        &self,
    ) -> std::option::Option<&crate::model::OnDeviceServiceConfiguration> {
        self.on_device_service_configuration.as_ref()
    }
}
impl std::fmt::Debug for JobMetadata {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("JobMetadata");
        formatter.field("job_id", &self.job_id);
        formatter.field("job_state", &self.job_state);
        formatter.field("job_type", &self.job_type);
        formatter.field("snowball_type", &self.snowball_type);
        formatter.field("creation_date", &self.creation_date);
        formatter.field("resources", &self.resources);
        formatter.field("description", &self.description);
        formatter.field("kms_key_arn", &self.kms_key_arn);
        formatter.field("role_arn", &self.role_arn);
        formatter.field("address_id", &self.address_id);
        formatter.field("shipping_details", &self.shipping_details);
        formatter.field(
            "snowball_capacity_preference",
            &self.snowball_capacity_preference,
        );
        formatter.field("notification", &self.notification);
        formatter.field("data_transfer_progress", &self.data_transfer_progress);
        formatter.field("job_log_info", &self.job_log_info);
        formatter.field("cluster_id", &self.cluster_id);
        formatter.field("forwarding_address_id", &self.forwarding_address_id);
        formatter.field("tax_documents", &self.tax_documents);
        formatter.field("device_configuration", &self.device_configuration);
        formatter.field("remote_management", &self.remote_management);
        formatter.field("long_term_pricing_id", &self.long_term_pricing_id);
        formatter.field(
            "on_device_service_configuration",
            &self.on_device_service_configuration,
        );
        formatter.finish()
    }
}
/// See [`JobMetadata`](crate::model::JobMetadata)
pub mod job_metadata {
    /// A builder for [`JobMetadata`](crate::model::JobMetadata)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) job_id: std::option::Option<std::string::String>,
        pub(crate) job_state: std::option::Option<crate::model::JobState>,
        pub(crate) job_type: std::option::Option<crate::model::JobType>,
        pub(crate) snowball_type: std::option::Option<crate::model::SnowballType>,
        pub(crate) creation_date: std::option::Option<aws_smithy_types::DateTime>,
        pub(crate) resources: std::option::Option<crate::model::JobResource>,
        pub(crate) description: std::option::Option<std::string::String>,
        pub(crate) kms_key_arn: std::option::Option<std::string::String>,
        pub(crate) role_arn: std::option::Option<std::string::String>,
        pub(crate) address_id: std::option::Option<std::string::String>,
        pub(crate) shipping_details: std::option::Option<crate::model::ShippingDetails>,
        pub(crate) snowball_capacity_preference:
            std::option::Option<crate::model::SnowballCapacity>,
        pub(crate) notification: std::option::Option<crate::model::Notification>,
        pub(crate) data_transfer_progress: std::option::Option<crate::model::DataTransfer>,
        pub(crate) job_log_info: std::option::Option<crate::model::JobLogs>,
        pub(crate) cluster_id: std::option::Option<std::string::String>,
        pub(crate) forwarding_address_id: std::option::Option<std::string::String>,
        pub(crate) tax_documents: std::option::Option<crate::model::TaxDocuments>,
        pub(crate) device_configuration: std::option::Option<crate::model::DeviceConfiguration>,
        pub(crate) remote_management: std::option::Option<crate::model::RemoteManagement>,
        pub(crate) long_term_pricing_id: std::option::Option<std::string::String>,
        pub(crate) on_device_service_configuration:
            std::option::Option<crate::model::OnDeviceServiceConfiguration>,
    }
    impl Builder {
        /// <p>The automatically generated ID for a job, for example <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p>
        pub fn job_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.job_id = Some(input.into());
            self
        }
        /// <p>The automatically generated ID for a job, for example <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p>
        pub fn set_job_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.job_id = input;
            self
        }
        /// <p>The current status of the jobs.</p>
        pub fn job_state(mut self, input: crate::model::JobState) -> Self {
            self.job_state = Some(input);
            self
        }
        /// <p>The current status of the jobs.</p>
        pub fn set_job_state(mut self, input: std::option::Option<crate::model::JobState>) -> Self {
            self.job_state = input;
            self
        }
        /// <p>The type of job.</p>
        pub fn job_type(mut self, input: crate::model::JobType) -> Self {
            self.job_type = Some(input);
            self
        }
        /// <p>The type of job.</p>
        pub fn set_job_type(mut self, input: std::option::Option<crate::model::JobType>) -> Self {
            self.job_type = input;
            self
        }
        /// <p>The type of device used with this job.</p>
        pub fn snowball_type(mut self, input: crate::model::SnowballType) -> Self {
            self.snowball_type = Some(input);
            self
        }
        /// <p>The type of device used with this job.</p>
        pub fn set_snowball_type(
            mut self,
            input: std::option::Option<crate::model::SnowballType>,
        ) -> Self {
            self.snowball_type = input;
            self
        }
        /// <p>The creation date for this job.</p>
        pub fn creation_date(mut self, input: aws_smithy_types::DateTime) -> Self {
            self.creation_date = Some(input);
            self
        }
        /// <p>The creation date for this job.</p>
        pub fn set_creation_date(
            mut self,
            input: std::option::Option<aws_smithy_types::DateTime>,
        ) -> Self {
            self.creation_date = input;
            self
        }
        /// <p>An array of <code>S3Resource</code> objects. Each <code>S3Resource</code> object represents an Amazon S3 bucket that your transferred data will be exported from or imported into.</p>
        pub fn resources(mut self, input: crate::model::JobResource) -> Self {
            self.resources = Some(input);
            self
        }
        /// <p>An array of <code>S3Resource</code> objects. Each <code>S3Resource</code> object represents an Amazon S3 bucket that your transferred data will be exported from or imported into.</p>
        pub fn set_resources(
            mut self,
            input: std::option::Option<crate::model::JobResource>,
        ) -> Self {
            self.resources = input;
            self
        }
        /// <p>The description of the job, provided at job creation.</p>
        pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
            self.description = Some(input.into());
            self
        }
        /// <p>The description of the job, provided at job creation.</p>
        pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.description = input;
            self
        }
        /// <p>The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN was created using the <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html">CreateKey</a> API action in KMS.</p>
        pub fn kms_key_arn(mut self, input: impl Into<std::string::String>) -> Self {
            self.kms_key_arn = Some(input.into());
            self
        }
        /// <p>The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN was created using the <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html">CreateKey</a> API action in KMS.</p>
        pub fn set_kms_key_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.kms_key_arn = input;
            self
        }
        /// <p>The role ARN associated with this job. This ARN was created using the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html">CreateRole</a> API action in Identity and Access Management.</p>
        pub fn role_arn(mut self, input: impl Into<std::string::String>) -> Self {
            self.role_arn = Some(input.into());
            self
        }
        /// <p>The role ARN associated with this job. This ARN was created using the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html">CreateRole</a> API action in Identity and Access Management.</p>
        pub fn set_role_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.role_arn = input;
            self
        }
        /// <p>The ID for the address that you want the Snow device shipped to.</p>
        pub fn address_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.address_id = Some(input.into());
            self
        }
        /// <p>The ID for the address that you want the Snow device shipped to.</p>
        pub fn set_address_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.address_id = input;
            self
        }
        /// <p>A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.</p>
        pub fn shipping_details(mut self, input: crate::model::ShippingDetails) -> Self {
            self.shipping_details = Some(input);
            self
        }
        /// <p>A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.</p>
        pub fn set_shipping_details(
            mut self,
            input: std::option::Option<crate::model::ShippingDetails>,
        ) -> Self {
            self.shipping_details = input;
            self
        }
        /// <p>The Snow device capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.</p>
        /// <p>For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the <i>Snowcone User Guide</i> or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the <i>Snowcone User Guide</i>.</p>
        pub fn snowball_capacity_preference(
            mut self,
            input: crate::model::SnowballCapacity,
        ) -> Self {
            self.snowball_capacity_preference = Some(input);
            self
        }
        /// <p>The Snow device capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.</p>
        /// <p>For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the <i>Snowcone User Guide</i> or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the <i>Snowcone User Guide</i>.</p>
        pub fn set_snowball_capacity_preference(
            mut self,
            input: std::option::Option<crate::model::SnowballCapacity>,
        ) -> Self {
            self.snowball_capacity_preference = input;
            self
        }
        /// <p>The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The <code>Notification</code> object is returned as a part of the response syntax of the <code>DescribeJob</code> action in the <code>JobMetadata</code> data type.</p>
        pub fn notification(mut self, input: crate::model::Notification) -> Self {
            self.notification = Some(input);
            self
        }
        /// <p>The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The <code>Notification</code> object is returned as a part of the response syntax of the <code>DescribeJob</code> action in the <code>JobMetadata</code> data type.</p>
        pub fn set_notification(
            mut self,
            input: std::option::Option<crate::model::Notification>,
        ) -> Self {
            self.notification = input;
            self
        }
        /// <p>A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services. This data is only available while a job has a <code>JobState</code> value of <code>InProgress</code>, for both import and export jobs.</p>
        pub fn data_transfer_progress(mut self, input: crate::model::DataTransfer) -> Self {
            self.data_transfer_progress = Some(input);
            self
        }
        /// <p>A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services. This data is only available while a job has a <code>JobState</code> value of <code>InProgress</code>, for both import and export jobs.</p>
        pub fn set_data_transfer_progress(
            mut self,
            input: std::option::Option<crate::model::DataTransfer>,
        ) -> Self {
            self.data_transfer_progress = input;
            self
        }
        /// <p>Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snow device for your job part is being delivered to you.</p>
        pub fn job_log_info(mut self, input: crate::model::JobLogs) -> Self {
            self.job_log_info = Some(input);
            self
        }
        /// <p>Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snow device for your job part is being delivered to you.</p>
        pub fn set_job_log_info(
            mut self,
            input: std::option::Option<crate::model::JobLogs>,
        ) -> Self {
            self.job_log_info = input;
            self
        }
        /// <p>The 39-character ID for the cluster, for example <code>CID123e4567-e89b-12d3-a456-426655440000</code>.</p>
        pub fn cluster_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.cluster_id = Some(input.into());
            self
        }
        /// <p>The 39-character ID for the cluster, for example <code>CID123e4567-e89b-12d3-a456-426655440000</code>.</p>
        pub fn set_cluster_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.cluster_id = input;
            self
        }
        /// <p>The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field is not supported in most regions.</p>
        pub fn forwarding_address_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.forwarding_address_id = Some(input.into());
            self
        }
        /// <p>The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field is not supported in most regions.</p>
        pub fn set_forwarding_address_id(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.forwarding_address_id = input;
            self
        }
        /// <p>The metadata associated with the tax documents required in your Amazon Web Services Region.</p>
        pub fn tax_documents(mut self, input: crate::model::TaxDocuments) -> Self {
            self.tax_documents = Some(input);
            self
        }
        /// <p>The metadata associated with the tax documents required in your Amazon Web Services Region.</p>
        pub fn set_tax_documents(
            mut self,
            input: std::option::Option<crate::model::TaxDocuments>,
        ) -> Self {
            self.tax_documents = input;
            self
        }
        /// <p>The container for <code>SnowconeDeviceConfiguration</code>. </p>
        pub fn device_configuration(mut self, input: crate::model::DeviceConfiguration) -> Self {
            self.device_configuration = Some(input);
            self
        }
        /// <p>The container for <code>SnowconeDeviceConfiguration</code>. </p>
        pub fn set_device_configuration(
            mut self,
            input: std::option::Option<crate::model::DeviceConfiguration>,
        ) -> Self {
            self.device_configuration = input;
            self
        }
        /// <p>Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set to <code>INSTALLED_AUTOSTART</code>, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.</p>
        pub fn remote_management(mut self, input: crate::model::RemoteManagement) -> Self {
            self.remote_management = Some(input);
            self
        }
        /// <p>Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set to <code>INSTALLED_AUTOSTART</code>, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.</p>
        pub fn set_remote_management(
            mut self,
            input: std::option::Option<crate::model::RemoteManagement>,
        ) -> Self {
            self.remote_management = input;
            self
        }
        /// <p>The ID of the long-term pricing type for the device.</p>
        pub fn long_term_pricing_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.long_term_pricing_id = Some(input.into());
            self
        }
        /// <p>The ID of the long-term pricing type for the device.</p>
        pub fn set_long_term_pricing_id(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.long_term_pricing_id = input;
            self
        }
        /// <p>Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.</p>
        pub fn on_device_service_configuration(
            mut self,
            input: crate::model::OnDeviceServiceConfiguration,
        ) -> Self {
            self.on_device_service_configuration = Some(input);
            self
        }
        /// <p>Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.</p>
        pub fn set_on_device_service_configuration(
            mut self,
            input: std::option::Option<crate::model::OnDeviceServiceConfiguration>,
        ) -> Self {
            self.on_device_service_configuration = input;
            self
        }
        /// Consumes the builder and constructs a [`JobMetadata`](crate::model::JobMetadata)
        pub fn build(self) -> crate::model::JobMetadata {
            crate::model::JobMetadata {
                job_id: self.job_id,
                job_state: self.job_state,
                job_type: self.job_type,
                snowball_type: self.snowball_type,
                creation_date: self.creation_date,
                resources: self.resources,
                description: self.description,
                kms_key_arn: self.kms_key_arn,
                role_arn: self.role_arn,
                address_id: self.address_id,
                shipping_details: self.shipping_details,
                snowball_capacity_preference: self.snowball_capacity_preference,
                notification: self.notification,
                data_transfer_progress: self.data_transfer_progress,
                job_log_info: self.job_log_info,
                cluster_id: self.cluster_id,
                forwarding_address_id: self.forwarding_address_id,
                tax_documents: self.tax_documents,
                device_configuration: self.device_configuration,
                remote_management: self.remote_management,
                long_term_pricing_id: self.long_term_pricing_id,
                on_device_service_configuration: self.on_device_service_configuration,
            }
        }
    }
}
impl JobMetadata {
    /// Creates a new builder-style object to manufacture [`JobMetadata`](crate::model::JobMetadata)
    pub fn builder() -> crate::model::job_metadata::Builder {
        crate::model::job_metadata::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(
    std::clone::Clone,
    std::cmp::Eq,
    std::cmp::Ord,
    std::cmp::PartialEq,
    std::cmp::PartialOrd,
    std::fmt::Debug,
    std::hash::Hash,
)]
pub enum RemoteManagement {
    #[allow(missing_docs)] // documentation missing in model
    InstalledAutostart,
    #[allow(missing_docs)] // documentation missing in model
    InstalledOnly,
    /// Unknown contains new variants that have been added since this code was generated.
    Unknown(String),
}
impl std::convert::From<&str> for RemoteManagement {
    fn from(s: &str) -> Self {
        match s {
            "INSTALLED_AUTOSTART" => RemoteManagement::InstalledAutostart,
            "INSTALLED_ONLY" => RemoteManagement::InstalledOnly,
            other => RemoteManagement::Unknown(other.to_owned()),
        }
    }
}
impl std::str::FromStr for RemoteManagement {
    type Err = std::convert::Infallible;

    fn from_str(s: &str) -> std::result::Result<Self, Self::Err> {
        Ok(RemoteManagement::from(s))
    }
}
impl RemoteManagement {
    /// Returns the `&str` value of the enum member.
    pub fn as_str(&self) -> &str {
        match self {
            RemoteManagement::InstalledAutostart => "INSTALLED_AUTOSTART",
            RemoteManagement::InstalledOnly => "INSTALLED_ONLY",
            RemoteManagement::Unknown(s) => s.as_ref(),
        }
    }
    /// Returns all the `&str` values of the enum members.
    pub fn values() -> &'static [&'static str] {
        &["INSTALLED_AUTOSTART", "INSTALLED_ONLY"]
    }
}
impl AsRef<str> for RemoteManagement {
    fn as_ref(&self) -> &str {
        self.as_str()
    }
}

/// <p>The container for <code>SnowconeDeviceConfiguration</code>. </p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeviceConfiguration {
    /// <p>Returns information about the device configuration for an Snowcone job.</p>
    pub snowcone_device_configuration:
        std::option::Option<crate::model::SnowconeDeviceConfiguration>,
}
impl DeviceConfiguration {
    /// <p>Returns information about the device configuration for an Snowcone job.</p>
    pub fn snowcone_device_configuration(
        &self,
    ) -> std::option::Option<&crate::model::SnowconeDeviceConfiguration> {
        self.snowcone_device_configuration.as_ref()
    }
}
impl std::fmt::Debug for DeviceConfiguration {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("DeviceConfiguration");
        formatter.field(
            "snowcone_device_configuration",
            &self.snowcone_device_configuration,
        );
        formatter.finish()
    }
}
/// See [`DeviceConfiguration`](crate::model::DeviceConfiguration)
pub mod device_configuration {
    /// A builder for [`DeviceConfiguration`](crate::model::DeviceConfiguration)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) snowcone_device_configuration:
            std::option::Option<crate::model::SnowconeDeviceConfiguration>,
    }
    impl Builder {
        /// <p>Returns information about the device configuration for an Snowcone job.</p>
        pub fn snowcone_device_configuration(
            mut self,
            input: crate::model::SnowconeDeviceConfiguration,
        ) -> Self {
            self.snowcone_device_configuration = Some(input);
            self
        }
        /// <p>Returns information about the device configuration for an Snowcone job.</p>
        pub fn set_snowcone_device_configuration(
            mut self,
            input: std::option::Option<crate::model::SnowconeDeviceConfiguration>,
        ) -> Self {
            self.snowcone_device_configuration = input;
            self
        }
        /// Consumes the builder and constructs a [`DeviceConfiguration`](crate::model::DeviceConfiguration)
        pub fn build(self) -> crate::model::DeviceConfiguration {
            crate::model::DeviceConfiguration {
                snowcone_device_configuration: self.snowcone_device_configuration,
            }
        }
    }
}
impl DeviceConfiguration {
    /// Creates a new builder-style object to manufacture [`DeviceConfiguration`](crate::model::DeviceConfiguration)
    pub fn builder() -> crate::model::device_configuration::Builder {
        crate::model::device_configuration::Builder::default()
    }
}

/// <p>Specifies the device configuration for an Snowcone job.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct SnowconeDeviceConfiguration {
    /// <p>Configures the wireless connection for the Snowcone device.</p>
    pub wireless_connection: std::option::Option<crate::model::WirelessConnection>,
}
impl SnowconeDeviceConfiguration {
    /// <p>Configures the wireless connection for the Snowcone device.</p>
    pub fn wireless_connection(&self) -> std::option::Option<&crate::model::WirelessConnection> {
        self.wireless_connection.as_ref()
    }
}
impl std::fmt::Debug for SnowconeDeviceConfiguration {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("SnowconeDeviceConfiguration");
        formatter.field("wireless_connection", &self.wireless_connection);
        formatter.finish()
    }
}
/// See [`SnowconeDeviceConfiguration`](crate::model::SnowconeDeviceConfiguration)
pub mod snowcone_device_configuration {
    /// A builder for [`SnowconeDeviceConfiguration`](crate::model::SnowconeDeviceConfiguration)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) wireless_connection: std::option::Option<crate::model::WirelessConnection>,
    }
    impl Builder {
        /// <p>Configures the wireless connection for the Snowcone device.</p>
        pub fn wireless_connection(mut self, input: crate::model::WirelessConnection) -> Self {
            self.wireless_connection = Some(input);
            self
        }
        /// <p>Configures the wireless connection for the Snowcone device.</p>
        pub fn set_wireless_connection(
            mut self,
            input: std::option::Option<crate::model::WirelessConnection>,
        ) -> Self {
            self.wireless_connection = input;
            self
        }
        /// Consumes the builder and constructs a [`SnowconeDeviceConfiguration`](crate::model::SnowconeDeviceConfiguration)
        pub fn build(self) -> crate::model::SnowconeDeviceConfiguration {
            crate::model::SnowconeDeviceConfiguration {
                wireless_connection: self.wireless_connection,
            }
        }
    }
}
impl SnowconeDeviceConfiguration {
    /// Creates a new builder-style object to manufacture [`SnowconeDeviceConfiguration`](crate::model::SnowconeDeviceConfiguration)
    pub fn builder() -> crate::model::snowcone_device_configuration::Builder {
        crate::model::snowcone_device_configuration::Builder::default()
    }
}

/// <p>Configures the wireless connection on an Snowcone device.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct WirelessConnection {
    /// <p>Enables the Wi-Fi adapter on an Snowcone device.</p>
    pub is_wifi_enabled: bool,
}
impl WirelessConnection {
    /// <p>Enables the Wi-Fi adapter on an Snowcone device.</p>
    pub fn is_wifi_enabled(&self) -> bool {
        self.is_wifi_enabled
    }
}
impl std::fmt::Debug for WirelessConnection {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("WirelessConnection");
        formatter.field("is_wifi_enabled", &self.is_wifi_enabled);
        formatter.finish()
    }
}
/// See [`WirelessConnection`](crate::model::WirelessConnection)
pub mod wireless_connection {
    /// A builder for [`WirelessConnection`](crate::model::WirelessConnection)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) is_wifi_enabled: std::option::Option<bool>,
    }
    impl Builder {
        /// <p>Enables the Wi-Fi adapter on an Snowcone device.</p>
        pub fn is_wifi_enabled(mut self, input: bool) -> Self {
            self.is_wifi_enabled = Some(input);
            self
        }
        /// <p>Enables the Wi-Fi adapter on an Snowcone device.</p>
        pub fn set_is_wifi_enabled(mut self, input: std::option::Option<bool>) -> Self {
            self.is_wifi_enabled = input;
            self
        }
        /// Consumes the builder and constructs a [`WirelessConnection`](crate::model::WirelessConnection)
        pub fn build(self) -> crate::model::WirelessConnection {
            crate::model::WirelessConnection {
                is_wifi_enabled: self.is_wifi_enabled.unwrap_or_default(),
            }
        }
    }
}
impl WirelessConnection {
    /// Creates a new builder-style object to manufacture [`WirelessConnection`](crate::model::WirelessConnection)
    pub fn builder() -> crate::model::wireless_connection::Builder {
        crate::model::wireless_connection::Builder::default()
    }
}

/// <p>The tax documents required in your Amazon Web Services Region.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct TaxDocuments {
    /// <p>The tax documents required in Amazon Web Services Region in India.</p>
    pub ind: std::option::Option<crate::model::IndTaxDocuments>,
}
impl TaxDocuments {
    /// <p>The tax documents required in Amazon Web Services Region in India.</p>
    pub fn ind(&self) -> std::option::Option<&crate::model::IndTaxDocuments> {
        self.ind.as_ref()
    }
}
impl std::fmt::Debug for TaxDocuments {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("TaxDocuments");
        formatter.field("ind", &self.ind);
        formatter.finish()
    }
}
/// See [`TaxDocuments`](crate::model::TaxDocuments)
pub mod tax_documents {
    /// A builder for [`TaxDocuments`](crate::model::TaxDocuments)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) ind: std::option::Option<crate::model::IndTaxDocuments>,
    }
    impl Builder {
        /// <p>The tax documents required in Amazon Web Services Region in India.</p>
        pub fn ind(mut self, input: crate::model::IndTaxDocuments) -> Self {
            self.ind = Some(input);
            self
        }
        /// <p>The tax documents required in Amazon Web Services Region in India.</p>
        pub fn set_ind(
            mut self,
            input: std::option::Option<crate::model::IndTaxDocuments>,
        ) -> Self {
            self.ind = input;
            self
        }
        /// Consumes the builder and constructs a [`TaxDocuments`](crate::model::TaxDocuments)
        pub fn build(self) -> crate::model::TaxDocuments {
            crate::model::TaxDocuments { ind: self.ind }
        }
    }
}
impl TaxDocuments {
    /// Creates a new builder-style object to manufacture [`TaxDocuments`](crate::model::TaxDocuments)
    pub fn builder() -> crate::model::tax_documents::Builder {
        crate::model::tax_documents::Builder::default()
    }
}

/// <p>The tax documents required in Amazon Web Services Region in India.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct IndTaxDocuments {
    /// <p>The Goods and Services Tax (GST) documents required in Amazon Web Services Region in India.</p>
    pub gstin: std::option::Option<std::string::String>,
}
impl IndTaxDocuments {
    /// <p>The Goods and Services Tax (GST) documents required in Amazon Web Services Region in India.</p>
    pub fn gstin(&self) -> std::option::Option<&str> {
        self.gstin.as_deref()
    }
}
impl std::fmt::Debug for IndTaxDocuments {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("IndTaxDocuments");
        formatter.field("gstin", &self.gstin);
        formatter.finish()
    }
}
/// See [`IndTaxDocuments`](crate::model::IndTaxDocuments)
pub mod ind_tax_documents {
    /// A builder for [`IndTaxDocuments`](crate::model::IndTaxDocuments)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) gstin: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// <p>The Goods and Services Tax (GST) documents required in Amazon Web Services Region in India.</p>
        pub fn gstin(mut self, input: impl Into<std::string::String>) -> Self {
            self.gstin = Some(input.into());
            self
        }
        /// <p>The Goods and Services Tax (GST) documents required in Amazon Web Services Region in India.</p>
        pub fn set_gstin(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.gstin = input;
            self
        }
        /// Consumes the builder and constructs a [`IndTaxDocuments`](crate::model::IndTaxDocuments)
        pub fn build(self) -> crate::model::IndTaxDocuments {
            crate::model::IndTaxDocuments { gstin: self.gstin }
        }
    }
}
impl IndTaxDocuments {
    /// Creates a new builder-style object to manufacture [`IndTaxDocuments`](crate::model::IndTaxDocuments)
    pub fn builder() -> crate::model::ind_tax_documents::Builder {
        crate::model::ind_tax_documents::Builder::default()
    }
}

/// <p>Contains job logs. Whenever a Snow device is used to import data into or export data out of Amazon S3, you'll have the option of downloading a PDF job report. Job logs are returned as a part of the response syntax of the <code>DescribeJob</code> action in the <code>JobMetadata</code> data type. The job logs can be accessed for up to 60 minutes after this request has been made. To access any of the job logs after 60 minutes have passed, you'll have to make another call to the <code>DescribeJob</code> action.</p>
/// <p>For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snow device for your job part is being delivered to you.</p>
/// <p>The job report provides you insight into the state of your Amazon S3 data transfer. The report includes details about your job or job part for your records.</p>
/// <p>For deeper visibility into the status of your transferred objects, you can look at the two associated logs: a success log and a failure log. The logs are saved in comma-separated value (CSV) format, and the name of each log includes the ID of the job or job part that the log describes.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct JobLogs {
    /// <p>A link to an Amazon S3 presigned URL where the job completion report is located.</p>
    pub job_completion_report_uri: std::option::Option<std::string::String>,
    /// <p>A link to an Amazon S3 presigned URL where the job success log is located.</p>
    pub job_success_log_uri: std::option::Option<std::string::String>,
    /// <p>A link to an Amazon S3 presigned URL where the job failure log is located.</p>
    pub job_failure_log_uri: std::option::Option<std::string::String>,
}
impl JobLogs {
    /// <p>A link to an Amazon S3 presigned URL where the job completion report is located.</p>
    pub fn job_completion_report_uri(&self) -> std::option::Option<&str> {
        self.job_completion_report_uri.as_deref()
    }
    /// <p>A link to an Amazon S3 presigned URL where the job success log is located.</p>
    pub fn job_success_log_uri(&self) -> std::option::Option<&str> {
        self.job_success_log_uri.as_deref()
    }
    /// <p>A link to an Amazon S3 presigned URL where the job failure log is located.</p>
    pub fn job_failure_log_uri(&self) -> std::option::Option<&str> {
        self.job_failure_log_uri.as_deref()
    }
}
impl std::fmt::Debug for JobLogs {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("JobLogs");
        formatter.field("job_completion_report_uri", &self.job_completion_report_uri);
        formatter.field("job_success_log_uri", &self.job_success_log_uri);
        formatter.field("job_failure_log_uri", &self.job_failure_log_uri);
        formatter.finish()
    }
}
/// See [`JobLogs`](crate::model::JobLogs)
pub mod job_logs {
    /// A builder for [`JobLogs`](crate::model::JobLogs)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) job_completion_report_uri: std::option::Option<std::string::String>,
        pub(crate) job_success_log_uri: std::option::Option<std::string::String>,
        pub(crate) job_failure_log_uri: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// <p>A link to an Amazon S3 presigned URL where the job completion report is located.</p>
        pub fn job_completion_report_uri(mut self, input: impl Into<std::string::String>) -> Self {
            self.job_completion_report_uri = Some(input.into());
            self
        }
        /// <p>A link to an Amazon S3 presigned URL where the job completion report is located.</p>
        pub fn set_job_completion_report_uri(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.job_completion_report_uri = input;
            self
        }
        /// <p>A link to an Amazon S3 presigned URL where the job success log is located.</p>
        pub fn job_success_log_uri(mut self, input: impl Into<std::string::String>) -> Self {
            self.job_success_log_uri = Some(input.into());
            self
        }
        /// <p>A link to an Amazon S3 presigned URL where the job success log is located.</p>
        pub fn set_job_success_log_uri(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.job_success_log_uri = input;
            self
        }
        /// <p>A link to an Amazon S3 presigned URL where the job failure log is located.</p>
        pub fn job_failure_log_uri(mut self, input: impl Into<std::string::String>) -> Self {
            self.job_failure_log_uri = Some(input.into());
            self
        }
        /// <p>A link to an Amazon S3 presigned URL where the job failure log is located.</p>
        pub fn set_job_failure_log_uri(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.job_failure_log_uri = input;
            self
        }
        /// Consumes the builder and constructs a [`JobLogs`](crate::model::JobLogs)
        pub fn build(self) -> crate::model::JobLogs {
            crate::model::JobLogs {
                job_completion_report_uri: self.job_completion_report_uri,
                job_success_log_uri: self.job_success_log_uri,
                job_failure_log_uri: self.job_failure_log_uri,
            }
        }
    }
}
impl JobLogs {
    /// Creates a new builder-style object to manufacture [`JobLogs`](crate::model::JobLogs)
    pub fn builder() -> crate::model::job_logs::Builder {
        crate::model::job_logs::Builder::default()
    }
}

/// <p>Defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services. This data is only available while a job has a <code>JobState</code> value of <code>InProgress</code>, for both import and export jobs.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DataTransfer {
    /// <p>The number of bytes transferred between a Snow device and Amazon S3.</p>
    pub bytes_transferred: i64,
    /// <p>The number of objects transferred between a Snow device and Amazon S3.</p>
    pub objects_transferred: i64,
    /// <p>The total bytes of data for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.</p>
    pub total_bytes: i64,
    /// <p>The total number of objects for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.</p>
    pub total_objects: i64,
}
impl DataTransfer {
    /// <p>The number of bytes transferred between a Snow device and Amazon S3.</p>
    pub fn bytes_transferred(&self) -> i64 {
        self.bytes_transferred
    }
    /// <p>The number of objects transferred between a Snow device and Amazon S3.</p>
    pub fn objects_transferred(&self) -> i64 {
        self.objects_transferred
    }
    /// <p>The total bytes of data for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.</p>
    pub fn total_bytes(&self) -> i64 {
        self.total_bytes
    }
    /// <p>The total number of objects for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.</p>
    pub fn total_objects(&self) -> i64 {
        self.total_objects
    }
}
impl std::fmt::Debug for DataTransfer {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("DataTransfer");
        formatter.field("bytes_transferred", &self.bytes_transferred);
        formatter.field("objects_transferred", &self.objects_transferred);
        formatter.field("total_bytes", &self.total_bytes);
        formatter.field("total_objects", &self.total_objects);
        formatter.finish()
    }
}
/// See [`DataTransfer`](crate::model::DataTransfer)
pub mod data_transfer {
    /// A builder for [`DataTransfer`](crate::model::DataTransfer)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) bytes_transferred: std::option::Option<i64>,
        pub(crate) objects_transferred: std::option::Option<i64>,
        pub(crate) total_bytes: std::option::Option<i64>,
        pub(crate) total_objects: std::option::Option<i64>,
    }
    impl Builder {
        /// <p>The number of bytes transferred between a Snow device and Amazon S3.</p>
        pub fn bytes_transferred(mut self, input: i64) -> Self {
            self.bytes_transferred = Some(input);
            self
        }
        /// <p>The number of bytes transferred between a Snow device and Amazon S3.</p>
        pub fn set_bytes_transferred(mut self, input: std::option::Option<i64>) -> Self {
            self.bytes_transferred = input;
            self
        }
        /// <p>The number of objects transferred between a Snow device and Amazon S3.</p>
        pub fn objects_transferred(mut self, input: i64) -> Self {
            self.objects_transferred = Some(input);
            self
        }
        /// <p>The number of objects transferred between a Snow device and Amazon S3.</p>
        pub fn set_objects_transferred(mut self, input: std::option::Option<i64>) -> Self {
            self.objects_transferred = input;
            self
        }
        /// <p>The total bytes of data for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.</p>
        pub fn total_bytes(mut self, input: i64) -> Self {
            self.total_bytes = Some(input);
            self
        }
        /// <p>The total bytes of data for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.</p>
        pub fn set_total_bytes(mut self, input: std::option::Option<i64>) -> Self {
            self.total_bytes = input;
            self
        }
        /// <p>The total number of objects for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.</p>
        pub fn total_objects(mut self, input: i64) -> Self {
            self.total_objects = Some(input);
            self
        }
        /// <p>The total number of objects for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.</p>
        pub fn set_total_objects(mut self, input: std::option::Option<i64>) -> Self {
            self.total_objects = input;
            self
        }
        /// Consumes the builder and constructs a [`DataTransfer`](crate::model::DataTransfer)
        pub fn build(self) -> crate::model::DataTransfer {
            crate::model::DataTransfer {
                bytes_transferred: self.bytes_transferred.unwrap_or_default(),
                objects_transferred: self.objects_transferred.unwrap_or_default(),
                total_bytes: self.total_bytes.unwrap_or_default(),
                total_objects: self.total_objects.unwrap_or_default(),
            }
        }
    }
}
impl DataTransfer {
    /// Creates a new builder-style object to manufacture [`DataTransfer`](crate::model::DataTransfer)
    pub fn builder() -> crate::model::data_transfer::Builder {
        crate::model::data_transfer::Builder::default()
    }
}

/// <p>A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ShippingDetails {
    /// <p>The shipping speed for a particular job. This speed doesn't dictate how soon you'll get the Snow device from the job's creation date. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows:</p>
    /// <ul>
    /// <li> <p>In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day.</p> </li>
    /// <li> <p>In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.</p> </li>
    /// <li> <p>In India, Snow devices are delivered in one to seven days.</p> </li>
    /// <li> <p>In the United States of America (US), you have access to one-day shipping and two-day shipping.</p> </li>
    /// </ul>
    pub shipping_option: std::option::Option<crate::model::ShippingOption>,
    /// <p>The <code>Status</code> and <code>TrackingNumber</code> values for a Snow device being returned to Amazon Web Services for a particular job.</p>
    pub inbound_shipment: std::option::Option<crate::model::Shipment>,
    /// <p>The <code>Status</code> and <code>TrackingNumber</code> values for a Snow device being delivered to the address that you specified for a particular job.</p>
    pub outbound_shipment: std::option::Option<crate::model::Shipment>,
}
impl ShippingDetails {
    /// <p>The shipping speed for a particular job. This speed doesn't dictate how soon you'll get the Snow device from the job's creation date. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows:</p>
    /// <ul>
    /// <li> <p>In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day.</p> </li>
    /// <li> <p>In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.</p> </li>
    /// <li> <p>In India, Snow devices are delivered in one to seven days.</p> </li>
    /// <li> <p>In the United States of America (US), you have access to one-day shipping and two-day shipping.</p> </li>
    /// </ul>
    pub fn shipping_option(&self) -> std::option::Option<&crate::model::ShippingOption> {
        self.shipping_option.as_ref()
    }
    /// <p>The <code>Status</code> and <code>TrackingNumber</code> values for a Snow device being returned to Amazon Web Services for a particular job.</p>
    pub fn inbound_shipment(&self) -> std::option::Option<&crate::model::Shipment> {
        self.inbound_shipment.as_ref()
    }
    /// <p>The <code>Status</code> and <code>TrackingNumber</code> values for a Snow device being delivered to the address that you specified for a particular job.</p>
    pub fn outbound_shipment(&self) -> std::option::Option<&crate::model::Shipment> {
        self.outbound_shipment.as_ref()
    }
}
impl std::fmt::Debug for ShippingDetails {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("ShippingDetails");
        formatter.field("shipping_option", &self.shipping_option);
        formatter.field("inbound_shipment", &self.inbound_shipment);
        formatter.field("outbound_shipment", &self.outbound_shipment);
        formatter.finish()
    }
}
/// See [`ShippingDetails`](crate::model::ShippingDetails)
pub mod shipping_details {
    /// A builder for [`ShippingDetails`](crate::model::ShippingDetails)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) shipping_option: std::option::Option<crate::model::ShippingOption>,
        pub(crate) inbound_shipment: std::option::Option<crate::model::Shipment>,
        pub(crate) outbound_shipment: std::option::Option<crate::model::Shipment>,
    }
    impl Builder {
        /// <p>The shipping speed for a particular job. This speed doesn't dictate how soon you'll get the Snow device from the job's creation date. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows:</p>
        /// <ul>
        /// <li> <p>In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day.</p> </li>
        /// <li> <p>In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.</p> </li>
        /// <li> <p>In India, Snow devices are delivered in one to seven days.</p> </li>
        /// <li> <p>In the United States of America (US), you have access to one-day shipping and two-day shipping.</p> </li>
        /// </ul>
        pub fn shipping_option(mut self, input: crate::model::ShippingOption) -> Self {
            self.shipping_option = Some(input);
            self
        }
        /// <p>The shipping speed for a particular job. This speed doesn't dictate how soon you'll get the Snow device from the job's creation date. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows:</p>
        /// <ul>
        /// <li> <p>In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day.</p> </li>
        /// <li> <p>In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.</p> </li>
        /// <li> <p>In India, Snow devices are delivered in one to seven days.</p> </li>
        /// <li> <p>In the United States of America (US), you have access to one-day shipping and two-day shipping.</p> </li>
        /// </ul>
        pub fn set_shipping_option(
            mut self,
            input: std::option::Option<crate::model::ShippingOption>,
        ) -> Self {
            self.shipping_option = input;
            self
        }
        /// <p>The <code>Status</code> and <code>TrackingNumber</code> values for a Snow device being returned to Amazon Web Services for a particular job.</p>
        pub fn inbound_shipment(mut self, input: crate::model::Shipment) -> Self {
            self.inbound_shipment = Some(input);
            self
        }
        /// <p>The <code>Status</code> and <code>TrackingNumber</code> values for a Snow device being returned to Amazon Web Services for a particular job.</p>
        pub fn set_inbound_shipment(
            mut self,
            input: std::option::Option<crate::model::Shipment>,
        ) -> Self {
            self.inbound_shipment = input;
            self
        }
        /// <p>The <code>Status</code> and <code>TrackingNumber</code> values for a Snow device being delivered to the address that you specified for a particular job.</p>
        pub fn outbound_shipment(mut self, input: crate::model::Shipment) -> Self {
            self.outbound_shipment = Some(input);
            self
        }
        /// <p>The <code>Status</code> and <code>TrackingNumber</code> values for a Snow device being delivered to the address that you specified for a particular job.</p>
        pub fn set_outbound_shipment(
            mut self,
            input: std::option::Option<crate::model::Shipment>,
        ) -> Self {
            self.outbound_shipment = input;
            self
        }
        /// Consumes the builder and constructs a [`ShippingDetails`](crate::model::ShippingDetails)
        pub fn build(self) -> crate::model::ShippingDetails {
            crate::model::ShippingDetails {
                shipping_option: self.shipping_option,
                inbound_shipment: self.inbound_shipment,
                outbound_shipment: self.outbound_shipment,
            }
        }
    }
}
impl ShippingDetails {
    /// Creates a new builder-style object to manufacture [`ShippingDetails`](crate::model::ShippingDetails)
    pub fn builder() -> crate::model::shipping_details::Builder {
        crate::model::shipping_details::Builder::default()
    }
}

/// <p>The <code>Status</code> and <code>TrackingNumber</code> information for an inbound or outbound shipment.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct Shipment {
    /// <p>Status information for a shipment.</p>
    pub status: std::option::Option<std::string::String>,
    /// <p>The tracking number for this job. Using this tracking number with your region's carrier's website, you can track a Snow device as the carrier transports it.</p>
    /// <p>For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier.</p>
    pub tracking_number: std::option::Option<std::string::String>,
}
impl Shipment {
    /// <p>Status information for a shipment.</p>
    pub fn status(&self) -> std::option::Option<&str> {
        self.status.as_deref()
    }
    /// <p>The tracking number for this job. Using this tracking number with your region's carrier's website, you can track a Snow device as the carrier transports it.</p>
    /// <p>For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier.</p>
    pub fn tracking_number(&self) -> std::option::Option<&str> {
        self.tracking_number.as_deref()
    }
}
impl std::fmt::Debug for Shipment {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("Shipment");
        formatter.field("status", &self.status);
        formatter.field("tracking_number", &self.tracking_number);
        formatter.finish()
    }
}
/// See [`Shipment`](crate::model::Shipment)
pub mod shipment {
    /// A builder for [`Shipment`](crate::model::Shipment)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) status: std::option::Option<std::string::String>,
        pub(crate) tracking_number: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// <p>Status information for a shipment.</p>
        pub fn status(mut self, input: impl Into<std::string::String>) -> Self {
            self.status = Some(input.into());
            self
        }
        /// <p>Status information for a shipment.</p>
        pub fn set_status(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.status = input;
            self
        }
        /// <p>The tracking number for this job. Using this tracking number with your region's carrier's website, you can track a Snow device as the carrier transports it.</p>
        /// <p>For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier.</p>
        pub fn tracking_number(mut self, input: impl Into<std::string::String>) -> Self {
            self.tracking_number = Some(input.into());
            self
        }
        /// <p>The tracking number for this job. Using this tracking number with your region's carrier's website, you can track a Snow device as the carrier transports it.</p>
        /// <p>For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier.</p>
        pub fn set_tracking_number(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.tracking_number = input;
            self
        }
        /// Consumes the builder and constructs a [`Shipment`](crate::model::Shipment)
        pub fn build(self) -> crate::model::Shipment {
            crate::model::Shipment {
                status: self.status,
                tracking_number: self.tracking_number,
            }
        }
    }
}
impl Shipment {
    /// Creates a new builder-style object to manufacture [`Shipment`](crate::model::Shipment)
    pub fn builder() -> crate::model::shipment::Builder {
        crate::model::shipment::Builder::default()
    }
}

/// <p>Contains metadata about a specific cluster.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ClusterMetadata {
    /// <p>The automatically generated ID for a cluster.</p>
    pub cluster_id: std::option::Option<std::string::String>,
    /// <p>The optional description of the cluster.</p>
    pub description: std::option::Option<std::string::String>,
    /// <p>The <code>KmsKeyARN</code> Amazon Resource Name (ARN) associated with this cluster. This ARN was created using the <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html">CreateKey</a> API action in Key Management Service (KMS.</p>
    pub kms_key_arn: std::option::Option<std::string::String>,
    /// <p>The role ARN associated with this cluster. This ARN was created using the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html">CreateRole</a> API action in Identity and Access Management (IAM).</p>
    pub role_arn: std::option::Option<std::string::String>,
    /// <p>The current status of the cluster.</p>
    pub cluster_state: std::option::Option<crate::model::ClusterState>,
    /// <p>The type of job for this cluster. Currently, the only job type supported for clusters is <code>LOCAL_USE</code>.</p>
    pub job_type: std::option::Option<crate::model::JobType>,
    /// <p>The type of Snowcone device to use for this cluster. </p> <note>
    /// <p>For cluster jobs, Amazon Web Services Snow Family currently supports only the <code>EDGE</code> device type.</p>
    /// </note>
    pub snowball_type: std::option::Option<crate::model::SnowballType>,
    /// <p>The creation date for this cluster.</p>
    pub creation_date: std::option::Option<aws_smithy_types::DateTime>,
    /// <p>The arrays of <code>JobResource</code> objects that can include updated <code>S3Resource</code> objects or <code>LambdaResource</code> objects.</p>
    pub resources: std::option::Option<crate::model::JobResource>,
    /// <p>The automatically generated ID for a specific address.</p>
    pub address_id: std::option::Option<std::string::String>,
    /// <p>The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds are as follows:</p>
    /// <ul>
    /// <li> <p>In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a day.</p> </li>
    /// <li> <p>In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.</p> </li>
    /// <li> <p>In India, Snow devices are delivered in one to seven days.</p> </li>
    /// <li> <p>In the US, you have access to one-day shipping and two-day shipping.</p> </li>
    /// </ul>
    pub shipping_option: std::option::Option<crate::model::ShippingOption>,
    /// <p>The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.</p>
    pub notification: std::option::Option<crate::model::Notification>,
    /// <p>The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. This field is not supported in most regions.</p>
    pub forwarding_address_id: std::option::Option<std::string::String>,
    /// <p>The tax documents required in your Amazon Web Services Region.</p>
    pub tax_documents: std::option::Option<crate::model::TaxDocuments>,
    /// <p>Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.</p>
    pub on_device_service_configuration:
        std::option::Option<crate::model::OnDeviceServiceConfiguration>,
}
impl ClusterMetadata {
    /// <p>The automatically generated ID for a cluster.</p>
    pub fn cluster_id(&self) -> std::option::Option<&str> {
        self.cluster_id.as_deref()
    }
    /// <p>The optional description of the cluster.</p>
    pub fn description(&self) -> std::option::Option<&str> {
        self.description.as_deref()
    }
    /// <p>The <code>KmsKeyARN</code> Amazon Resource Name (ARN) associated with this cluster. This ARN was created using the <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html">CreateKey</a> API action in Key Management Service (KMS.</p>
    pub fn kms_key_arn(&self) -> std::option::Option<&str> {
        self.kms_key_arn.as_deref()
    }
    /// <p>The role ARN associated with this cluster. This ARN was created using the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html">CreateRole</a> API action in Identity and Access Management (IAM).</p>
    pub fn role_arn(&self) -> std::option::Option<&str> {
        self.role_arn.as_deref()
    }
    /// <p>The current status of the cluster.</p>
    pub fn cluster_state(&self) -> std::option::Option<&crate::model::ClusterState> {
        self.cluster_state.as_ref()
    }
    /// <p>The type of job for this cluster. Currently, the only job type supported for clusters is <code>LOCAL_USE</code>.</p>
    pub fn job_type(&self) -> std::option::Option<&crate::model::JobType> {
        self.job_type.as_ref()
    }
    /// <p>The type of Snowcone device to use for this cluster. </p> <note>
    /// <p>For cluster jobs, Amazon Web Services Snow Family currently supports only the <code>EDGE</code> device type.</p>
    /// </note>
    pub fn snowball_type(&self) -> std::option::Option<&crate::model::SnowballType> {
        self.snowball_type.as_ref()
    }
    /// <p>The creation date for this cluster.</p>
    pub fn creation_date(&self) -> std::option::Option<&aws_smithy_types::DateTime> {
        self.creation_date.as_ref()
    }
    /// <p>The arrays of <code>JobResource</code> objects that can include updated <code>S3Resource</code> objects or <code>LambdaResource</code> objects.</p>
    pub fn resources(&self) -> std::option::Option<&crate::model::JobResource> {
        self.resources.as_ref()
    }
    /// <p>The automatically generated ID for a specific address.</p>
    pub fn address_id(&self) -> std::option::Option<&str> {
        self.address_id.as_deref()
    }
    /// <p>The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds are as follows:</p>
    /// <ul>
    /// <li> <p>In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a day.</p> </li>
    /// <li> <p>In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.</p> </li>
    /// <li> <p>In India, Snow devices are delivered in one to seven days.</p> </li>
    /// <li> <p>In the US, you have access to one-day shipping and two-day shipping.</p> </li>
    /// </ul>
    pub fn shipping_option(&self) -> std::option::Option<&crate::model::ShippingOption> {
        self.shipping_option.as_ref()
    }
    /// <p>The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.</p>
    pub fn notification(&self) -> std::option::Option<&crate::model::Notification> {
        self.notification.as_ref()
    }
    /// <p>The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. This field is not supported in most regions.</p>
    pub fn forwarding_address_id(&self) -> std::option::Option<&str> {
        self.forwarding_address_id.as_deref()
    }
    /// <p>The tax documents required in your Amazon Web Services Region.</p>
    pub fn tax_documents(&self) -> std::option::Option<&crate::model::TaxDocuments> {
        self.tax_documents.as_ref()
    }
    /// <p>Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.</p>
    pub fn on_device_service_configuration(
        &self,
    ) -> std::option::Option<&crate::model::OnDeviceServiceConfiguration> {
        self.on_device_service_configuration.as_ref()
    }
}
impl std::fmt::Debug for ClusterMetadata {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("ClusterMetadata");
        formatter.field("cluster_id", &self.cluster_id);
        formatter.field("description", &self.description);
        formatter.field("kms_key_arn", &self.kms_key_arn);
        formatter.field("role_arn", &self.role_arn);
        formatter.field("cluster_state", &self.cluster_state);
        formatter.field("job_type", &self.job_type);
        formatter.field("snowball_type", &self.snowball_type);
        formatter.field("creation_date", &self.creation_date);
        formatter.field("resources", &self.resources);
        formatter.field("address_id", &self.address_id);
        formatter.field("shipping_option", &self.shipping_option);
        formatter.field("notification", &self.notification);
        formatter.field("forwarding_address_id", &self.forwarding_address_id);
        formatter.field("tax_documents", &self.tax_documents);
        formatter.field(
            "on_device_service_configuration",
            &self.on_device_service_configuration,
        );
        formatter.finish()
    }
}
/// See [`ClusterMetadata`](crate::model::ClusterMetadata)
pub mod cluster_metadata {
    /// A builder for [`ClusterMetadata`](crate::model::ClusterMetadata)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) cluster_id: std::option::Option<std::string::String>,
        pub(crate) description: std::option::Option<std::string::String>,
        pub(crate) kms_key_arn: std::option::Option<std::string::String>,
        pub(crate) role_arn: std::option::Option<std::string::String>,
        pub(crate) cluster_state: std::option::Option<crate::model::ClusterState>,
        pub(crate) job_type: std::option::Option<crate::model::JobType>,
        pub(crate) snowball_type: std::option::Option<crate::model::SnowballType>,
        pub(crate) creation_date: std::option::Option<aws_smithy_types::DateTime>,
        pub(crate) resources: std::option::Option<crate::model::JobResource>,
        pub(crate) address_id: std::option::Option<std::string::String>,
        pub(crate) shipping_option: std::option::Option<crate::model::ShippingOption>,
        pub(crate) notification: std::option::Option<crate::model::Notification>,
        pub(crate) forwarding_address_id: std::option::Option<std::string::String>,
        pub(crate) tax_documents: std::option::Option<crate::model::TaxDocuments>,
        pub(crate) on_device_service_configuration:
            std::option::Option<crate::model::OnDeviceServiceConfiguration>,
    }
    impl Builder {
        /// <p>The automatically generated ID for a cluster.</p>
        pub fn cluster_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.cluster_id = Some(input.into());
            self
        }
        /// <p>The automatically generated ID for a cluster.</p>
        pub fn set_cluster_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.cluster_id = input;
            self
        }
        /// <p>The optional description of the cluster.</p>
        pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
            self.description = Some(input.into());
            self
        }
        /// <p>The optional description of the cluster.</p>
        pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.description = input;
            self
        }
        /// <p>The <code>KmsKeyARN</code> Amazon Resource Name (ARN) associated with this cluster. This ARN was created using the <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html">CreateKey</a> API action in Key Management Service (KMS.</p>
        pub fn kms_key_arn(mut self, input: impl Into<std::string::String>) -> Self {
            self.kms_key_arn = Some(input.into());
            self
        }
        /// <p>The <code>KmsKeyARN</code> Amazon Resource Name (ARN) associated with this cluster. This ARN was created using the <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html">CreateKey</a> API action in Key Management Service (KMS.</p>
        pub fn set_kms_key_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.kms_key_arn = input;
            self
        }
        /// <p>The role ARN associated with this cluster. This ARN was created using the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html">CreateRole</a> API action in Identity and Access Management (IAM).</p>
        pub fn role_arn(mut self, input: impl Into<std::string::String>) -> Self {
            self.role_arn = Some(input.into());
            self
        }
        /// <p>The role ARN associated with this cluster. This ARN was created using the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html">CreateRole</a> API action in Identity and Access Management (IAM).</p>
        pub fn set_role_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.role_arn = input;
            self
        }
        /// <p>The current status of the cluster.</p>
        pub fn cluster_state(mut self, input: crate::model::ClusterState) -> Self {
            self.cluster_state = Some(input);
            self
        }
        /// <p>The current status of the cluster.</p>
        pub fn set_cluster_state(
            mut self,
            input: std::option::Option<crate::model::ClusterState>,
        ) -> Self {
            self.cluster_state = input;
            self
        }
        /// <p>The type of job for this cluster. Currently, the only job type supported for clusters is <code>LOCAL_USE</code>.</p>
        pub fn job_type(mut self, input: crate::model::JobType) -> Self {
            self.job_type = Some(input);
            self
        }
        /// <p>The type of job for this cluster. Currently, the only job type supported for clusters is <code>LOCAL_USE</code>.</p>
        pub fn set_job_type(mut self, input: std::option::Option<crate::model::JobType>) -> Self {
            self.job_type = input;
            self
        }
        /// <p>The type of Snowcone device to use for this cluster. </p> <note>
        /// <p>For cluster jobs, Amazon Web Services Snow Family currently supports only the <code>EDGE</code> device type.</p>
        /// </note>
        pub fn snowball_type(mut self, input: crate::model::SnowballType) -> Self {
            self.snowball_type = Some(input);
            self
        }
        /// <p>The type of Snowcone device to use for this cluster. </p> <note>
        /// <p>For cluster jobs, Amazon Web Services Snow Family currently supports only the <code>EDGE</code> device type.</p>
        /// </note>
        pub fn set_snowball_type(
            mut self,
            input: std::option::Option<crate::model::SnowballType>,
        ) -> Self {
            self.snowball_type = input;
            self
        }
        /// <p>The creation date for this cluster.</p>
        pub fn creation_date(mut self, input: aws_smithy_types::DateTime) -> Self {
            self.creation_date = Some(input);
            self
        }
        /// <p>The creation date for this cluster.</p>
        pub fn set_creation_date(
            mut self,
            input: std::option::Option<aws_smithy_types::DateTime>,
        ) -> Self {
            self.creation_date = input;
            self
        }
        /// <p>The arrays of <code>JobResource</code> objects that can include updated <code>S3Resource</code> objects or <code>LambdaResource</code> objects.</p>
        pub fn resources(mut self, input: crate::model::JobResource) -> Self {
            self.resources = Some(input);
            self
        }
        /// <p>The arrays of <code>JobResource</code> objects that can include updated <code>S3Resource</code> objects or <code>LambdaResource</code> objects.</p>
        pub fn set_resources(
            mut self,
            input: std::option::Option<crate::model::JobResource>,
        ) -> Self {
            self.resources = input;
            self
        }
        /// <p>The automatically generated ID for a specific address.</p>
        pub fn address_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.address_id = Some(input.into());
            self
        }
        /// <p>The automatically generated ID for a specific address.</p>
        pub fn set_address_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.address_id = input;
            self
        }
        /// <p>The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds are as follows:</p>
        /// <ul>
        /// <li> <p>In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a day.</p> </li>
        /// <li> <p>In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.</p> </li>
        /// <li> <p>In India, Snow devices are delivered in one to seven days.</p> </li>
        /// <li> <p>In the US, you have access to one-day shipping and two-day shipping.</p> </li>
        /// </ul>
        pub fn shipping_option(mut self, input: crate::model::ShippingOption) -> Self {
            self.shipping_option = Some(input);
            self
        }
        /// <p>The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds are as follows:</p>
        /// <ul>
        /// <li> <p>In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a day.</p> </li>
        /// <li> <p>In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.</p> </li>
        /// <li> <p>In India, Snow devices are delivered in one to seven days.</p> </li>
        /// <li> <p>In the US, you have access to one-day shipping and two-day shipping.</p> </li>
        /// </ul>
        pub fn set_shipping_option(
            mut self,
            input: std::option::Option<crate::model::ShippingOption>,
        ) -> Self {
            self.shipping_option = input;
            self
        }
        /// <p>The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.</p>
        pub fn notification(mut self, input: crate::model::Notification) -> Self {
            self.notification = Some(input);
            self
        }
        /// <p>The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.</p>
        pub fn set_notification(
            mut self,
            input: std::option::Option<crate::model::Notification>,
        ) -> Self {
            self.notification = input;
            self
        }
        /// <p>The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. This field is not supported in most regions.</p>
        pub fn forwarding_address_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.forwarding_address_id = Some(input.into());
            self
        }
        /// <p>The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. This field is not supported in most regions.</p>
        pub fn set_forwarding_address_id(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.forwarding_address_id = input;
            self
        }
        /// <p>The tax documents required in your Amazon Web Services Region.</p>
        pub fn tax_documents(mut self, input: crate::model::TaxDocuments) -> Self {
            self.tax_documents = Some(input);
            self
        }
        /// <p>The tax documents required in your Amazon Web Services Region.</p>
        pub fn set_tax_documents(
            mut self,
            input: std::option::Option<crate::model::TaxDocuments>,
        ) -> Self {
            self.tax_documents = input;
            self
        }
        /// <p>Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.</p>
        pub fn on_device_service_configuration(
            mut self,
            input: crate::model::OnDeviceServiceConfiguration,
        ) -> Self {
            self.on_device_service_configuration = Some(input);
            self
        }
        /// <p>Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.</p>
        pub fn set_on_device_service_configuration(
            mut self,
            input: std::option::Option<crate::model::OnDeviceServiceConfiguration>,
        ) -> Self {
            self.on_device_service_configuration = input;
            self
        }
        /// Consumes the builder and constructs a [`ClusterMetadata`](crate::model::ClusterMetadata)
        pub fn build(self) -> crate::model::ClusterMetadata {
            crate::model::ClusterMetadata {
                cluster_id: self.cluster_id,
                description: self.description,
                kms_key_arn: self.kms_key_arn,
                role_arn: self.role_arn,
                cluster_state: self.cluster_state,
                job_type: self.job_type,
                snowball_type: self.snowball_type,
                creation_date: self.creation_date,
                resources: self.resources,
                address_id: self.address_id,
                shipping_option: self.shipping_option,
                notification: self.notification,
                forwarding_address_id: self.forwarding_address_id,
                tax_documents: self.tax_documents,
                on_device_service_configuration: self.on_device_service_configuration,
            }
        }
    }
}
impl ClusterMetadata {
    /// Creates a new builder-style object to manufacture [`ClusterMetadata`](crate::model::ClusterMetadata)
    pub fn builder() -> crate::model::cluster_metadata::Builder {
        crate::model::cluster_metadata::Builder::default()
    }
}

/// <p>The address that you want the Snow device(s) associated with a specific job to be shipped to. Addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. Although no individual elements of the <code>Address</code> are required, if the address is invalid or unsupported, then an exception is thrown.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct Address {
    /// <p>The unique ID for an address.</p>
    pub address_id: std::option::Option<std::string::String>,
    /// <p>The name of a person to receive a Snow device at an address.</p>
    pub name: std::option::Option<std::string::String>,
    /// <p>The name of the company to receive a Snow device at an address.</p>
    pub company: std::option::Option<std::string::String>,
    /// <p>The first line in a street address that a Snow device is to be delivered to.</p>
    pub street1: std::option::Option<std::string::String>,
    /// <p>The second line in a street address that a Snow device is to be delivered to.</p>
    pub street2: std::option::Option<std::string::String>,
    /// <p>The third line in a street address that a Snow device is to be delivered to.</p>
    pub street3: std::option::Option<std::string::String>,
    /// <p>The city in an address that a Snow device is to be delivered to.</p>
    pub city: std::option::Option<std::string::String>,
    /// <p>The state or province in an address that a Snow device is to be delivered to.</p>
    pub state_or_province: std::option::Option<std::string::String>,
    /// <p>This field is no longer used and the value is ignored.</p>
    pub prefecture_or_district: std::option::Option<std::string::String>,
    /// <p>This field is no longer used and the value is ignored.</p>
    pub landmark: std::option::Option<std::string::String>,
    /// <p>The country in an address that a Snow device is to be delivered to.</p>
    pub country: std::option::Option<std::string::String>,
    /// <p>The postal code in an address that a Snow device is to be delivered to.</p>
    pub postal_code: std::option::Option<std::string::String>,
    /// <p>The phone number associated with an address that a Snow device is to be delivered to.</p>
    pub phone_number: std::option::Option<std::string::String>,
    /// <p>If the address you are creating is a primary address, then set this option to true. This field is not supported in most regions.</p>
    pub is_restricted: bool,
}
impl Address {
    /// <p>The unique ID for an address.</p>
    pub fn address_id(&self) -> std::option::Option<&str> {
        self.address_id.as_deref()
    }
    /// <p>The name of a person to receive a Snow device at an address.</p>
    pub fn name(&self) -> std::option::Option<&str> {
        self.name.as_deref()
    }
    /// <p>The name of the company to receive a Snow device at an address.</p>
    pub fn company(&self) -> std::option::Option<&str> {
        self.company.as_deref()
    }
    /// <p>The first line in a street address that a Snow device is to be delivered to.</p>
    pub fn street1(&self) -> std::option::Option<&str> {
        self.street1.as_deref()
    }
    /// <p>The second line in a street address that a Snow device is to be delivered to.</p>
    pub fn street2(&self) -> std::option::Option<&str> {
        self.street2.as_deref()
    }
    /// <p>The third line in a street address that a Snow device is to be delivered to.</p>
    pub fn street3(&self) -> std::option::Option<&str> {
        self.street3.as_deref()
    }
    /// <p>The city in an address that a Snow device is to be delivered to.</p>
    pub fn city(&self) -> std::option::Option<&str> {
        self.city.as_deref()
    }
    /// <p>The state or province in an address that a Snow device is to be delivered to.</p>
    pub fn state_or_province(&self) -> std::option::Option<&str> {
        self.state_or_province.as_deref()
    }
    /// <p>This field is no longer used and the value is ignored.</p>
    pub fn prefecture_or_district(&self) -> std::option::Option<&str> {
        self.prefecture_or_district.as_deref()
    }
    /// <p>This field is no longer used and the value is ignored.</p>
    pub fn landmark(&self) -> std::option::Option<&str> {
        self.landmark.as_deref()
    }
    /// <p>The country in an address that a Snow device is to be delivered to.</p>
    pub fn country(&self) -> std::option::Option<&str> {
        self.country.as_deref()
    }
    /// <p>The postal code in an address that a Snow device is to be delivered to.</p>
    pub fn postal_code(&self) -> std::option::Option<&str> {
        self.postal_code.as_deref()
    }
    /// <p>The phone number associated with an address that a Snow device is to be delivered to.</p>
    pub fn phone_number(&self) -> std::option::Option<&str> {
        self.phone_number.as_deref()
    }
    /// <p>If the address you are creating is a primary address, then set this option to true. This field is not supported in most regions.</p>
    pub fn is_restricted(&self) -> bool {
        self.is_restricted
    }
}
impl std::fmt::Debug for Address {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("Address");
        formatter.field("address_id", &self.address_id);
        formatter.field("name", &self.name);
        formatter.field("company", &self.company);
        formatter.field("street1", &self.street1);
        formatter.field("street2", &self.street2);
        formatter.field("street3", &self.street3);
        formatter.field("city", &self.city);
        formatter.field("state_or_province", &self.state_or_province);
        formatter.field("prefecture_or_district", &self.prefecture_or_district);
        formatter.field("landmark", &self.landmark);
        formatter.field("country", &self.country);
        formatter.field("postal_code", &self.postal_code);
        formatter.field("phone_number", &self.phone_number);
        formatter.field("is_restricted", &self.is_restricted);
        formatter.finish()
    }
}
/// See [`Address`](crate::model::Address)
pub mod address {
    /// A builder for [`Address`](crate::model::Address)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) address_id: std::option::Option<std::string::String>,
        pub(crate) name: std::option::Option<std::string::String>,
        pub(crate) company: std::option::Option<std::string::String>,
        pub(crate) street1: std::option::Option<std::string::String>,
        pub(crate) street2: std::option::Option<std::string::String>,
        pub(crate) street3: std::option::Option<std::string::String>,
        pub(crate) city: std::option::Option<std::string::String>,
        pub(crate) state_or_province: std::option::Option<std::string::String>,
        pub(crate) prefecture_or_district: std::option::Option<std::string::String>,
        pub(crate) landmark: std::option::Option<std::string::String>,
        pub(crate) country: std::option::Option<std::string::String>,
        pub(crate) postal_code: std::option::Option<std::string::String>,
        pub(crate) phone_number: std::option::Option<std::string::String>,
        pub(crate) is_restricted: std::option::Option<bool>,
    }
    impl Builder {
        /// <p>The unique ID for an address.</p>
        pub fn address_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.address_id = Some(input.into());
            self
        }
        /// <p>The unique ID for an address.</p>
        pub fn set_address_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.address_id = input;
            self
        }
        /// <p>The name of a person to receive a Snow device at an address.</p>
        pub fn name(mut self, input: impl Into<std::string::String>) -> Self {
            self.name = Some(input.into());
            self
        }
        /// <p>The name of a person to receive a Snow device at an address.</p>
        pub fn set_name(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.name = input;
            self
        }
        /// <p>The name of the company to receive a Snow device at an address.</p>
        pub fn company(mut self, input: impl Into<std::string::String>) -> Self {
            self.company = Some(input.into());
            self
        }
        /// <p>The name of the company to receive a Snow device at an address.</p>
        pub fn set_company(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.company = input;
            self
        }
        /// <p>The first line in a street address that a Snow device is to be delivered to.</p>
        pub fn street1(mut self, input: impl Into<std::string::String>) -> Self {
            self.street1 = Some(input.into());
            self
        }
        /// <p>The first line in a street address that a Snow device is to be delivered to.</p>
        pub fn set_street1(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.street1 = input;
            self
        }
        /// <p>The second line in a street address that a Snow device is to be delivered to.</p>
        pub fn street2(mut self, input: impl Into<std::string::String>) -> Self {
            self.street2 = Some(input.into());
            self
        }
        /// <p>The second line in a street address that a Snow device is to be delivered to.</p>
        pub fn set_street2(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.street2 = input;
            self
        }
        /// <p>The third line in a street address that a Snow device is to be delivered to.</p>
        pub fn street3(mut self, input: impl Into<std::string::String>) -> Self {
            self.street3 = Some(input.into());
            self
        }
        /// <p>The third line in a street address that a Snow device is to be delivered to.</p>
        pub fn set_street3(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.street3 = input;
            self
        }
        /// <p>The city in an address that a Snow device is to be delivered to.</p>
        pub fn city(mut self, input: impl Into<std::string::String>) -> Self {
            self.city = Some(input.into());
            self
        }
        /// <p>The city in an address that a Snow device is to be delivered to.</p>
        pub fn set_city(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.city = input;
            self
        }
        /// <p>The state or province in an address that a Snow device is to be delivered to.</p>
        pub fn state_or_province(mut self, input: impl Into<std::string::String>) -> Self {
            self.state_or_province = Some(input.into());
            self
        }
        /// <p>The state or province in an address that a Snow device is to be delivered to.</p>
        pub fn set_state_or_province(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.state_or_province = input;
            self
        }
        /// <p>This field is no longer used and the value is ignored.</p>
        pub fn prefecture_or_district(mut self, input: impl Into<std::string::String>) -> Self {
            self.prefecture_or_district = Some(input.into());
            self
        }
        /// <p>This field is no longer used and the value is ignored.</p>
        pub fn set_prefecture_or_district(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.prefecture_or_district = input;
            self
        }
        /// <p>This field is no longer used and the value is ignored.</p>
        pub fn landmark(mut self, input: impl Into<std::string::String>) -> Self {
            self.landmark = Some(input.into());
            self
        }
        /// <p>This field is no longer used and the value is ignored.</p>
        pub fn set_landmark(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.landmark = input;
            self
        }
        /// <p>The country in an address that a Snow device is to be delivered to.</p>
        pub fn country(mut self, input: impl Into<std::string::String>) -> Self {
            self.country = Some(input.into());
            self
        }
        /// <p>The country in an address that a Snow device is to be delivered to.</p>
        pub fn set_country(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.country = input;
            self
        }
        /// <p>The postal code in an address that a Snow device is to be delivered to.</p>
        pub fn postal_code(mut self, input: impl Into<std::string::String>) -> Self {
            self.postal_code = Some(input.into());
            self
        }
        /// <p>The postal code in an address that a Snow device is to be delivered to.</p>
        pub fn set_postal_code(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.postal_code = input;
            self
        }
        /// <p>The phone number associated with an address that a Snow device is to be delivered to.</p>
        pub fn phone_number(mut self, input: impl Into<std::string::String>) -> Self {
            self.phone_number = Some(input.into());
            self
        }
        /// <p>The phone number associated with an address that a Snow device is to be delivered to.</p>
        pub fn set_phone_number(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.phone_number = input;
            self
        }
        /// <p>If the address you are creating is a primary address, then set this option to true. This field is not supported in most regions.</p>
        pub fn is_restricted(mut self, input: bool) -> Self {
            self.is_restricted = Some(input);
            self
        }
        /// <p>If the address you are creating is a primary address, then set this option to true. This field is not supported in most regions.</p>
        pub fn set_is_restricted(mut self, input: std::option::Option<bool>) -> Self {
            self.is_restricted = input;
            self
        }
        /// Consumes the builder and constructs a [`Address`](crate::model::Address)
        pub fn build(self) -> crate::model::Address {
            crate::model::Address {
                address_id: self.address_id,
                name: self.name,
                company: self.company,
                street1: self.street1,
                street2: self.street2,
                street3: self.street3,
                city: self.city,
                state_or_province: self.state_or_province,
                prefecture_or_district: self.prefecture_or_district,
                landmark: self.landmark,
                country: self.country,
                postal_code: self.postal_code,
                phone_number: self.phone_number,
                is_restricted: self.is_restricted.unwrap_or_default(),
            }
        }
    }
}
impl Address {
    /// Creates a new builder-style object to manufacture [`Address`](crate::model::Address)
    pub fn builder() -> crate::model::address::Builder {
        crate::model::address::Builder::default()
    }
}