1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 + | /* StructureGenerator.kt:197 */
|
2 3 | #[allow(missing_docs)] // documentation missing in model
|
4 + | /* RustType.kt:516 */
|
3 5 | #[non_exhaustive]
|
6 + | /* RustType.kt:516 */
|
4 7 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
5 - | pub struct JsonListsInput {
|
8 + | pub /* StructureGenerator.kt:201 */ struct JsonListsInput {
|
9 + | /* StructureGenerator.kt:231 */
|
6 10 | #[allow(missing_docs)] // documentation missing in model
|
7 11 | pub string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
12 + | /* StructureGenerator.kt:231 */
|
8 13 | #[allow(missing_docs)] // documentation missing in model
|
9 14 | pub string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
15 + | /* StructureGenerator.kt:231 */
|
10 16 | #[allow(missing_docs)] // documentation missing in model
|
11 17 | pub integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
18 + | /* StructureGenerator.kt:231 */
|
12 19 | #[allow(missing_docs)] // documentation missing in model
|
13 20 | pub boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
21 + | /* StructureGenerator.kt:231 */
|
14 22 | #[allow(missing_docs)] // documentation missing in model
|
15 23 | pub timestamp_list: ::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>>,
|
24 + | /* StructureGenerator.kt:231 */
|
16 25 | #[allow(missing_docs)] // documentation missing in model
|
17 26 | pub enum_list: ::std::option::Option<::std::vec::Vec<crate::types::FooEnum>>,
|
27 + | /* StructureGenerator.kt:231 */
|
18 28 | #[allow(missing_docs)] // documentation missing in model
|
19 29 | pub int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
20 - | /// A list of lists of strings.
|
30 + | /// /* StructureGenerator.kt:231 */A list of lists of strings.
|
21 31 | pub nested_string_list: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
32 + | /* StructureGenerator.kt:231 */
|
22 33 | #[allow(missing_docs)] // documentation missing in model
|
23 34 | pub structure_list: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>,
|
35 + | /* StructureGenerator.kt:201 */
|
24 36 | }
|
37 + | /* StructureGenerator.kt:135 */
|
25 38 | impl JsonListsInput {
|
39 + | /* StructureGenerator.kt:231 */
|
26 40 | #[allow(missing_docs)] // documentation missing in model
|
27 - | ///
|
28 - | /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.string_list.is_none()`.
|
41 + | /// /* StructureGenerator.kt:162 */
|
42 + | /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.string_list.is_none()`.
|
43 + | /* StructureGenerator.kt:166 */
|
29 44 | pub fn string_list(&self) -> &[::std::string::String] {
|
30 - | self.string_list.as_deref().unwrap_or_default()
|
31 - | }
|
32 - | #[allow(missing_docs)] // documentation missing in model
|
33 - | ///
|
34 - | /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.string_set.is_none()`.
|
45 + | /* StructureGenerator.kt:169 */
|
46 + | self.string_list
|
47 + | .as_deref()
|
48 + | /* StructureGenerator.kt:175 */
|
49 + | .unwrap_or_default()
|
50 + | /* StructureGenerator.kt:166 */
|
51 + | }
|
52 + | /* StructureGenerator.kt:231 */
|
53 + | #[allow(missing_docs)] // documentation missing in model
|
54 + | /// /* StructureGenerator.kt:162 */
|
55 + | /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.string_set.is_none()`.
|
56 + | /* StructureGenerator.kt:166 */
|
35 57 | pub fn string_set(&self) -> &[::std::string::String] {
|
36 - | self.string_set.as_deref().unwrap_or_default()
|
37 - | }
|
38 - | #[allow(missing_docs)] // documentation missing in model
|
39 - | ///
|
40 - | /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.integer_list.is_none()`.
|
58 + | /* StructureGenerator.kt:169 */
|
59 + | self.string_set
|
60 + | .as_deref()
|
61 + | /* StructureGenerator.kt:175 */
|
62 + | .unwrap_or_default()
|
63 + | /* StructureGenerator.kt:166 */
|
64 + | }
|
65 + | /* StructureGenerator.kt:231 */
|
66 + | #[allow(missing_docs)] // documentation missing in model
|
67 + | /// /* StructureGenerator.kt:162 */
|
68 + | /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.integer_list.is_none()`.
|
69 + | /* StructureGenerator.kt:166 */
|
41 70 | pub fn integer_list(&self) -> &[i32] {
|
42 - | self.integer_list.as_deref().unwrap_or_default()
|
43 - | }
|
44 - | #[allow(missing_docs)] // documentation missing in model
|
45 - | ///
|
46 - | /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.boolean_list.is_none()`.
|
71 + | /* StructureGenerator.kt:169 */
|
72 + | self.integer_list
|
73 + | .as_deref()
|
74 + | /* StructureGenerator.kt:175 */
|
75 + | .unwrap_or_default()
|
76 + | /* StructureGenerator.kt:166 */
|
77 + | }
|
78 + | /* StructureGenerator.kt:231 */
|
79 + | #[allow(missing_docs)] // documentation missing in model
|
80 + | /// /* StructureGenerator.kt:162 */
|
81 + | /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.boolean_list.is_none()`.
|
82 + | /* StructureGenerator.kt:166 */
|
47 83 | pub fn boolean_list(&self) -> &[bool] {
|
48 - | self.boolean_list.as_deref().unwrap_or_default()
|
49 - | }
|
50 - | #[allow(missing_docs)] // documentation missing in model
|
51 - | ///
|
52 - | /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.timestamp_list.is_none()`.
|
84 + | /* StructureGenerator.kt:169 */
|
85 + | self.boolean_list
|
86 + | .as_deref()
|
87 + | /* StructureGenerator.kt:175 */
|
88 + | .unwrap_or_default()
|
89 + | /* StructureGenerator.kt:166 */
|
90 + | }
|
91 + | /* StructureGenerator.kt:231 */
|
92 + | #[allow(missing_docs)] // documentation missing in model
|
93 + | /// /* StructureGenerator.kt:162 */
|
94 + | /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.timestamp_list.is_none()`.
|
95 + | /* StructureGenerator.kt:166 */
|
53 96 | pub fn timestamp_list(&self) -> &[::aws_smithy_types::DateTime] {
|
54 - | self.timestamp_list.as_deref().unwrap_or_default()
|
55 - | }
|
56 - | #[allow(missing_docs)] // documentation missing in model
|
57 - | ///
|
58 - | /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.enum_list.is_none()`.
|
97 + | /* StructureGenerator.kt:169 */
|
98 + | self.timestamp_list
|
99 + | .as_deref()
|
100 + | /* StructureGenerator.kt:175 */
|
101 + | .unwrap_or_default()
|
102 + | /* StructureGenerator.kt:166 */
|
103 + | }
|
104 + | /* StructureGenerator.kt:231 */
|
105 + | #[allow(missing_docs)] // documentation missing in model
|
106 + | /// /* StructureGenerator.kt:162 */
|
107 + | /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.enum_list.is_none()`.
|
108 + | /* StructureGenerator.kt:166 */
|
59 109 | pub fn enum_list(&self) -> &[crate::types::FooEnum] {
|
60 - | self.enum_list.as_deref().unwrap_or_default()
|
61 - | }
|
62 - | #[allow(missing_docs)] // documentation missing in model
|
63 - | ///
|
64 - | /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.int_enum_list.is_none()`.
|
110 + | /* StructureGenerator.kt:169 */
|
111 + | self.enum_list
|
112 + | .as_deref()
|
113 + | /* StructureGenerator.kt:175 */
|
114 + | .unwrap_or_default()
|
115 + | /* StructureGenerator.kt:166 */
|
116 + | }
|
117 + | /* StructureGenerator.kt:231 */
|
118 + | #[allow(missing_docs)] // documentation missing in model
|
119 + | /// /* StructureGenerator.kt:162 */
|
120 + | /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.int_enum_list.is_none()`.
|
121 + | /* StructureGenerator.kt:166 */
|
65 122 | pub fn int_enum_list(&self) -> &[i32] {
|
66 - | self.int_enum_list.as_deref().unwrap_or_default()
|
67 - | }
|
68 - | /// A list of lists of strings.
|
69 - | ///
|
70 - | /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.nested_string_list.is_none()`.
|
123 + | /* StructureGenerator.kt:169 */
|
124 + | self.int_enum_list
|
125 + | .as_deref()
|
126 + | /* StructureGenerator.kt:175 */
|
127 + | .unwrap_or_default()
|
128 + | /* StructureGenerator.kt:166 */
|
129 + | }
|
130 + | /// /* StructureGenerator.kt:231 */A list of lists of strings.
|
131 + | /// /* StructureGenerator.kt:162 */
|
132 + | /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.nested_string_list.is_none()`.
|
133 + | /* StructureGenerator.kt:166 */
|
71 134 | pub fn nested_string_list(&self) -> &[::std::vec::Vec<::std::string::String>] {
|
72 - | self.nested_string_list.as_deref().unwrap_or_default()
|
73 - | }
|
74 - | #[allow(missing_docs)] // documentation missing in model
|
75 - | ///
|
76 - | /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.structure_list.is_none()`.
|
135 + | /* StructureGenerator.kt:169 */
|
136 + | self.nested_string_list
|
137 + | .as_deref()
|
138 + | /* StructureGenerator.kt:175 */
|
139 + | .unwrap_or_default()
|
140 + | /* StructureGenerator.kt:166 */
|
141 + | }
|
142 + | /* StructureGenerator.kt:231 */
|
143 + | #[allow(missing_docs)] // documentation missing in model
|
144 + | /// /* StructureGenerator.kt:162 */
|
145 + | /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.structure_list.is_none()`.
|
146 + | /* StructureGenerator.kt:166 */
|
77 147 | pub fn structure_list(&self) -> &[crate::types::StructureListMember] {
|
78 - | self.structure_list.as_deref().unwrap_or_default()
|
79 - | }
|
148 + | /* StructureGenerator.kt:169 */
|
149 + | self.structure_list
|
150 + | .as_deref()
|
151 + | /* StructureGenerator.kt:175 */
|
152 + | .unwrap_or_default()
|
153 + | /* StructureGenerator.kt:166 */
|
154 + | }
|
155 + | /* StructureGenerator.kt:135 */
|
80 156 | }
|
157 + | /* ClientCodegenVisitor.kt:237 */
|
81 158 | impl JsonListsInput {
|
82 - | /// Creates a new builder-style object to manufacture [`JsonListsInput`](crate::operation::json_lists::JsonListsInput).
|
159 + | /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`JsonListsInput`](crate::operation::json_lists::JsonListsInput).
|
160 + | /* BuilderGenerator.kt:175 */
|
83 161 | pub fn builder() -> crate::operation::json_lists::builders::JsonListsInputBuilder {
|
162 + | /* BuilderGenerator.kt:176 */
|
84 163 | crate::operation::json_lists::builders::JsonListsInputBuilder::default()
|
164 + | /* BuilderGenerator.kt:175 */
|
85 165 | }
|
166 + | /* ClientCodegenVisitor.kt:237 */
|
86 167 | }
|
87 168 |
|
88 - | /// A builder for [`JsonListsInput`](crate::operation::json_lists::JsonListsInput).
|
169 + | /// /* BuilderGenerator.kt:342 */A builder for [`JsonListsInput`](crate::operation::json_lists::JsonListsInput).
|
170 + | /* RustType.kt:516 */
|
89 171 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
|
172 + | /* RustType.kt:516 */
|
90 173 | #[non_exhaustive]
|
174 + | /* BuilderGenerator.kt:345 */
|
91 175 | pub struct JsonListsInputBuilder {
|
92 - | pub(crate) string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
93 - | pub(crate) string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
94 - | pub(crate) integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
95 - | pub(crate) boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
96 - | pub(crate) timestamp_list: ::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>>,
|
97 - | pub(crate) enum_list: ::std::option::Option<::std::vec::Vec<crate::types::FooEnum>>,
|
98 - | pub(crate) int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
176 + | /* BuilderGenerator.kt:275 */ pub(crate) string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
177 + | /* BuilderGenerator.kt:275 */ pub(crate) string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
178 + | /* BuilderGenerator.kt:275 */ pub(crate) integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
179 + | /* BuilderGenerator.kt:275 */ pub(crate) boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
180 + | /* BuilderGenerator.kt:275 */ pub(crate) timestamp_list: ::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>>,
|
181 + | /* BuilderGenerator.kt:275 */ pub(crate) enum_list: ::std::option::Option<::std::vec::Vec<crate::types::FooEnum>>,
|
182 + | /* BuilderGenerator.kt:275 */ pub(crate) int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
183 + | /* BuilderGenerator.kt:275 */
|
99 184 | pub(crate) nested_string_list: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
185 + | /* BuilderGenerator.kt:275 */
|
100 186 | pub(crate) structure_list: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>,
|
187 + | /* BuilderGenerator.kt:345 */
|
101 188 | }
|
189 + | /* BuilderGenerator.kt:355 */
|
102 190 | impl JsonListsInputBuilder {
|
103 - | /// Appends an item to `string_list`.
|
191 + | /// /* BuilderGenerator.kt:410 */Appends an item to `string_list`.
|
192 + | /* BuilderGenerator.kt:411 */
|
104 193 | ///
|
105 - | /// To override the contents of this collection use [`set_string_list`](Self::set_string_list).
|
194 + | /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_string_list`](Self::set_string_list).
|
195 + | /* BuilderGenerator.kt:413 */
|
106 196 | ///
|
197 + | /* BuilderGenerator.kt:418 */
|
107 198 | pub fn string_list(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
199 + | /* BuilderGenerator.kt:419 */
|
108 200 | let mut v = self.string_list.unwrap_or_default();
|
109 201 | v.push(input.into());
|
110 202 | self.string_list = ::std::option::Option::Some(v);
|
111 203 | self
|
204 + | /* BuilderGenerator.kt:418 */
|
112 205 | }
|
206 + | /* BuilderGenerator.kt:312 */
|
113 207 | #[allow(missing_docs)] // documentation missing in model
|
208 + | /* BuilderGenerator.kt:314 */
|
114 209 | pub fn set_string_list(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
|
210 + | /* BuilderGenerator.kt:315 */
|
115 211 | self.string_list = input;
|
116 212 | self
|
213 + | /* BuilderGenerator.kt:314 */
|
117 214 | }
|
215 + | /* BuilderGenerator.kt:334 */
|
118 216 | #[allow(missing_docs)] // documentation missing in model
|
217 + | /* BuilderGenerator.kt:336 */
|
119 218 | pub fn get_string_list(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
|
219 + | /* BuilderGenerator.kt:337 */
|
120 220 | &self.string_list
|
221 + | /* BuilderGenerator.kt:336 */
|
121 222 | }
|
122 - | /// Appends an item to `string_set`.
|
223 + | /// /* BuilderGenerator.kt:410 */Appends an item to `string_set`.
|
224 + | /* BuilderGenerator.kt:411 */
|
123 225 | ///
|
124 - | /// To override the contents of this collection use [`set_string_set`](Self::set_string_set).
|
226 + | /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_string_set`](Self::set_string_set).
|
227 + | /* BuilderGenerator.kt:413 */
|
125 228 | ///
|
229 + | /* BuilderGenerator.kt:418 */
|
126 230 | pub fn string_set(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
231 + | /* BuilderGenerator.kt:419 */
|
127 232 | let mut v = self.string_set.unwrap_or_default();
|
128 233 | v.push(input.into());
|
129 234 | self.string_set = ::std::option::Option::Some(v);
|
130 235 | self
|
236 + | /* BuilderGenerator.kt:418 */
|
131 237 | }
|
238 + | /* BuilderGenerator.kt:312 */
|
132 239 | #[allow(missing_docs)] // documentation missing in model
|
240 + | /* BuilderGenerator.kt:314 */
|
133 241 | pub fn set_string_set(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
|
242 + | /* BuilderGenerator.kt:315 */
|
134 243 | self.string_set = input;
|
135 244 | self
|
245 + | /* BuilderGenerator.kt:314 */
|
136 246 | }
|
247 + | /* BuilderGenerator.kt:334 */
|
137 248 | #[allow(missing_docs)] // documentation missing in model
|
249 + | /* BuilderGenerator.kt:336 */
|
138 250 | pub fn get_string_set(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
|
251 + | /* BuilderGenerator.kt:337 */
|
139 252 | &self.string_set
|
253 + | /* BuilderGenerator.kt:336 */
|
140 254 | }
|
141 - | /// Appends an item to `integer_list`.
|
255 + | /// /* BuilderGenerator.kt:410 */Appends an item to `integer_list`.
|
256 + | /* BuilderGenerator.kt:411 */
|
142 257 | ///
|
143 - | /// To override the contents of this collection use [`set_integer_list`](Self::set_integer_list).
|
258 + | /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_integer_list`](Self::set_integer_list).
|
259 + | /* BuilderGenerator.kt:413 */
|
144 260 | ///
|
261 + | /* BuilderGenerator.kt:418 */
|
145 262 | pub fn integer_list(mut self, input: i32) -> Self {
|
263 + | /* BuilderGenerator.kt:419 */
|
146 264 | let mut v = self.integer_list.unwrap_or_default();
|
147 265 | v.push(input);
|
148 266 | self.integer_list = ::std::option::Option::Some(v);
|
149 267 | self
|
268 + | /* BuilderGenerator.kt:418 */
|
150 269 | }
|
270 + | /* BuilderGenerator.kt:312 */
|
151 271 | #[allow(missing_docs)] // documentation missing in model
|
272 + | /* BuilderGenerator.kt:314 */
|
152 273 | pub fn set_integer_list(mut self, input: ::std::option::Option<::std::vec::Vec<i32>>) -> Self {
|
274 + | /* BuilderGenerator.kt:315 */
|
153 275 | self.integer_list = input;
|
154 276 | self
|
277 + | /* BuilderGenerator.kt:314 */
|
155 278 | }
|
279 + | /* BuilderGenerator.kt:334 */
|
156 280 | #[allow(missing_docs)] // documentation missing in model
|
281 + | /* BuilderGenerator.kt:336 */
|
157 282 | pub fn get_integer_list(&self) -> &::std::option::Option<::std::vec::Vec<i32>> {
|
283 + | /* BuilderGenerator.kt:337 */
|
158 284 | &self.integer_list
|
285 + | /* BuilderGenerator.kt:336 */
|
159 286 | }
|
160 - | /// Appends an item to `boolean_list`.
|
287 + | /// /* BuilderGenerator.kt:410 */Appends an item to `boolean_list`.
|
288 + | /* BuilderGenerator.kt:411 */
|
161 289 | ///
|
162 - | /// To override the contents of this collection use [`set_boolean_list`](Self::set_boolean_list).
|
290 + | /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_boolean_list`](Self::set_boolean_list).
|
291 + | /* BuilderGenerator.kt:413 */
|
163 292 | ///
|
293 + | /* BuilderGenerator.kt:418 */
|
164 294 | pub fn boolean_list(mut self, input: bool) -> Self {
|
295 + | /* BuilderGenerator.kt:419 */
|
165 296 | let mut v = self.boolean_list.unwrap_or_default();
|
166 297 | v.push(input);
|
167 298 | self.boolean_list = ::std::option::Option::Some(v);
|
168 299 | self
|
300 + | /* BuilderGenerator.kt:418 */
|
169 301 | }
|
302 + | /* BuilderGenerator.kt:312 */
|
170 303 | #[allow(missing_docs)] // documentation missing in model
|
304 + | /* BuilderGenerator.kt:314 */
|
171 305 | pub fn set_boolean_list(mut self, input: ::std::option::Option<::std::vec::Vec<bool>>) -> Self {
|
306 + | /* BuilderGenerator.kt:315 */
|
172 307 | self.boolean_list = input;
|
173 308 | self
|
309 + | /* BuilderGenerator.kt:314 */
|
174 310 | }
|
311 + | /* BuilderGenerator.kt:334 */
|
175 312 | #[allow(missing_docs)] // documentation missing in model
|
313 + | /* BuilderGenerator.kt:336 */
|
176 314 | pub fn get_boolean_list(&self) -> &::std::option::Option<::std::vec::Vec<bool>> {
|
315 + | /* BuilderGenerator.kt:337 */
|
177 316 | &self.boolean_list
|
317 + | /* BuilderGenerator.kt:336 */
|
178 318 | }
|
179 - | /// Appends an item to `timestamp_list`.
|
319 + | /// /* BuilderGenerator.kt:410 */Appends an item to `timestamp_list`.
|
320 + | /* BuilderGenerator.kt:411 */
|
180 321 | ///
|
181 - | /// To override the contents of this collection use [`set_timestamp_list`](Self::set_timestamp_list).
|
322 + | /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_timestamp_list`](Self::set_timestamp_list).
|
323 + | /* BuilderGenerator.kt:413 */
|
182 324 | ///
|
325 + | /* BuilderGenerator.kt:418 */
|
183 326 | pub fn timestamp_list(mut self, input: ::aws_smithy_types::DateTime) -> Self {
|
327 + | /* BuilderGenerator.kt:419 */
|
184 328 | let mut v = self.timestamp_list.unwrap_or_default();
|
185 329 | v.push(input);
|
186 330 | self.timestamp_list = ::std::option::Option::Some(v);
|
187 331 | self
|
332 + | /* BuilderGenerator.kt:418 */
|
188 333 | }
|
334 + | /* BuilderGenerator.kt:312 */
|
189 335 | #[allow(missing_docs)] // documentation missing in model
|
336 + | /* BuilderGenerator.kt:314 */
|
190 337 | pub fn set_timestamp_list(mut self, input: ::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>>) -> Self {
|
338 + | /* BuilderGenerator.kt:315 */
|
191 339 | self.timestamp_list = input;
|
192 340 | self
|
341 + | /* BuilderGenerator.kt:314 */
|
193 342 | }
|
343 + | /* BuilderGenerator.kt:334 */
|
194 344 | #[allow(missing_docs)] // documentation missing in model
|
345 + | /* BuilderGenerator.kt:336 */
|
195 346 | pub fn get_timestamp_list(&self) -> &::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>> {
|
347 + | /* BuilderGenerator.kt:337 */
|
196 348 | &self.timestamp_list
|
349 + | /* BuilderGenerator.kt:336 */
|
197 350 | }
|
198 - | /// Appends an item to `enum_list`.
|
351 + | /// /* BuilderGenerator.kt:410 */Appends an item to `enum_list`.
|
352 + | /* BuilderGenerator.kt:411 */
|
199 353 | ///
|
200 - | /// To override the contents of this collection use [`set_enum_list`](Self::set_enum_list).
|
354 + | /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_enum_list`](Self::set_enum_list).
|
355 + | /* BuilderGenerator.kt:413 */
|
201 356 | ///
|
357 + | /* BuilderGenerator.kt:418 */
|
202 358 | pub fn enum_list(mut self, input: crate::types::FooEnum) -> Self {
|
359 + | /* BuilderGenerator.kt:419 */
|
203 360 | let mut v = self.enum_list.unwrap_or_default();
|
204 361 | v.push(input);
|
205 362 | self.enum_list = ::std::option::Option::Some(v);
|
206 363 | self
|
364 + | /* BuilderGenerator.kt:418 */
|
207 365 | }
|
366 + | /* BuilderGenerator.kt:312 */
|
208 367 | #[allow(missing_docs)] // documentation missing in model
|
368 + | /* BuilderGenerator.kt:314 */
|
209 369 | pub fn set_enum_list(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::FooEnum>>) -> Self {
|
370 + | /* BuilderGenerator.kt:315 */
|
210 371 | self.enum_list = input;
|
211 372 | self
|
373 + | /* BuilderGenerator.kt:314 */
|
212 374 | }
|
375 + | /* BuilderGenerator.kt:334 */
|
213 376 | #[allow(missing_docs)] // documentation missing in model
|
377 + | /* BuilderGenerator.kt:336 */
|
214 378 | pub fn get_enum_list(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::FooEnum>> {
|
379 + | /* BuilderGenerator.kt:337 */
|
215 380 | &self.enum_list
|
381 + | /* BuilderGenerator.kt:336 */
|
216 382 | }
|
217 - | /// Appends an item to `int_enum_list`.
|
383 + | /// /* BuilderGenerator.kt:410 */Appends an item to `int_enum_list`.
|
384 + | /* BuilderGenerator.kt:411 */
|
218 385 | ///
|
219 - | /// To override the contents of this collection use [`set_int_enum_list`](Self::set_int_enum_list).
|
386 + | /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_int_enum_list`](Self::set_int_enum_list).
|
387 + | /* BuilderGenerator.kt:413 */
|
220 388 | ///
|
389 + | /* BuilderGenerator.kt:418 */
|
221 390 | pub fn int_enum_list(mut self, input: i32) -> Self {
|
391 + | /* BuilderGenerator.kt:419 */
|
222 392 | let mut v = self.int_enum_list.unwrap_or_default();
|
223 393 | v.push(input);
|
224 394 | self.int_enum_list = ::std::option::Option::Some(v);
|
225 395 | self
|
396 + | /* BuilderGenerator.kt:418 */
|
226 397 | }
|
398 + | /* BuilderGenerator.kt:312 */
|
227 399 | #[allow(missing_docs)] // documentation missing in model
|
400 + | /* BuilderGenerator.kt:314 */
|
228 401 | pub fn set_int_enum_list(mut self, input: ::std::option::Option<::std::vec::Vec<i32>>) -> Self {
|
402 + | /* BuilderGenerator.kt:315 */
|
229 403 | self.int_enum_list = input;
|
230 404 | self
|
405 + | /* BuilderGenerator.kt:314 */
|
231 406 | }
|
407 + | /* BuilderGenerator.kt:334 */
|
232 408 | #[allow(missing_docs)] // documentation missing in model
|
409 + | /* BuilderGenerator.kt:336 */
|
233 410 | pub fn get_int_enum_list(&self) -> &::std::option::Option<::std::vec::Vec<i32>> {
|
411 + | /* BuilderGenerator.kt:337 */
|
234 412 | &self.int_enum_list
|
413 + | /* BuilderGenerator.kt:336 */
|
235 414 | }
|
236 - | /// Appends an item to `nested_string_list`.
|
415 + | /// /* BuilderGenerator.kt:410 */Appends an item to `nested_string_list`.
|
416 + | /* BuilderGenerator.kt:411 */
|
237 417 | ///
|
238 - | /// To override the contents of this collection use [`set_nested_string_list`](Self::set_nested_string_list).
|
418 + | /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_nested_string_list`](Self::set_nested_string_list).
|
419 + | /* BuilderGenerator.kt:413 */
|
239 420 | ///
|
240 - | /// A list of lists of strings.
|
421 + | /// /* BuilderGenerator.kt:414 */A list of lists of strings.
|
422 + | /* BuilderGenerator.kt:418 */
|
241 423 | pub fn nested_string_list(mut self, input: ::std::vec::Vec<::std::string::String>) -> Self {
|
424 + | /* BuilderGenerator.kt:419 */
|
242 425 | let mut v = self.nested_string_list.unwrap_or_default();
|
243 426 | v.push(input);
|
244 427 | self.nested_string_list = ::std::option::Option::Some(v);
|
245 428 | self
|
429 + | /* BuilderGenerator.kt:418 */
|
246 430 | }
|
247 - | /// A list of lists of strings.
|
431 + | /// /* BuilderGenerator.kt:312 */A list of lists of strings.
|
432 + | /* BuilderGenerator.kt:314 */
|
248 433 | pub fn set_nested_string_list(mut self, input: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>) -> Self {
|
434 + | /* BuilderGenerator.kt:315 */
|
249 435 | self.nested_string_list = input;
|
250 436 | self
|
437 + | /* BuilderGenerator.kt:314 */
|
251 438 | }
|
252 - | /// A list of lists of strings.
|
439 + | /// /* BuilderGenerator.kt:334 */A list of lists of strings.
|
440 + | /* BuilderGenerator.kt:336 */
|
253 441 | pub fn get_nested_string_list(&self) -> &::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>> {
|
442 + | /* BuilderGenerator.kt:337 */
|
254 443 | &self.nested_string_list
|
444 + | /* BuilderGenerator.kt:336 */
|
255 445 | }
|
256 - | /// Appends an item to `structure_list`.
|
446 + | /// /* BuilderGenerator.kt:410 */Appends an item to `structure_list`.
|
447 + | /* BuilderGenerator.kt:411 */
|
257 448 | ///
|
258 - | /// To override the contents of this collection use [`set_structure_list`](Self::set_structure_list).
|
449 + | /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_structure_list`](Self::set_structure_list).
|
450 + | /* BuilderGenerator.kt:413 */
|
259 451 | ///
|
452 + | /* BuilderGenerator.kt:418 */
|
260 453 | pub fn structure_list(mut self, input: crate::types::StructureListMember) -> Self {
|
454 + | /* BuilderGenerator.kt:419 */
|
261 455 | let mut v = self.structure_list.unwrap_or_default();
|
262 456 | v.push(input);
|
263 457 | self.structure_list = ::std::option::Option::Some(v);
|
264 458 | self
|
459 + | /* BuilderGenerator.kt:418 */
|
265 460 | }
|
461 + | /* BuilderGenerator.kt:312 */
|
266 462 | #[allow(missing_docs)] // documentation missing in model
|
463 + | /* BuilderGenerator.kt:314 */
|
267 464 | pub fn set_structure_list(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>) -> Self {
|
465 + | /* BuilderGenerator.kt:315 */
|
268 466 | self.structure_list = input;
|
269 467 | self
|
468 + | /* BuilderGenerator.kt:314 */
|
270 469 | }
|
470 + | /* BuilderGenerator.kt:334 */
|
271 471 | #[allow(missing_docs)] // documentation missing in model
|
472 + | /* BuilderGenerator.kt:336 */
|
272 473 | pub fn get_structure_list(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>> {
|
474 + | /* BuilderGenerator.kt:337 */
|
273 475 | &self.structure_list
|
476 + | /* BuilderGenerator.kt:336 */
|
274 477 | }
|
275 - | /// Consumes the builder and constructs a [`JsonListsInput`](crate::operation::json_lists::JsonListsInput).
|
478 + | /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`JsonListsInput`](crate::operation::json_lists::JsonListsInput).
|
479 + | /* BuilderGenerator.kt:253 */
|
276 480 | pub fn build(self) -> ::std::result::Result<crate::operation::json_lists::JsonListsInput, ::aws_smithy_types::error::operation::BuildError> {
|
277 - | ::std::result::Result::Ok(crate::operation::json_lists::JsonListsInput {
|
278 - | string_list: self.string_list,
|
481 + | /* BuilderGenerator.kt:254 */
|
482 + | ::std::result::Result::Ok(
|
483 + | /* BuilderGenerator.kt:477 */
|
484 + | crate::operation::json_lists::JsonListsInput {
|
485 + | /* BuilderGenerator.kt:481 */ string_list: self.string_list,
|
486 + | /* BuilderGenerator.kt:481 */
|
279 487 | string_set: self.string_set,
|
488 + | /* BuilderGenerator.kt:481 */
|
280 489 | integer_list: self.integer_list,
|
490 + | /* BuilderGenerator.kt:481 */
|
281 491 | boolean_list: self.boolean_list,
|
492 + | /* BuilderGenerator.kt:481 */
|
282 493 | timestamp_list: self.timestamp_list,
|
494 + | /* BuilderGenerator.kt:481 */
|
283 495 | enum_list: self.enum_list,
|
496 + | /* BuilderGenerator.kt:481 */
|
284 497 | int_enum_list: self.int_enum_list,
|
498 + | /* BuilderGenerator.kt:481 */
|
285 499 | nested_string_list: self.nested_string_list,
|
500 + | /* BuilderGenerator.kt:481 */
|
286 501 | structure_list: self.structure_list,
|
287 - | })
|
502 + | /* BuilderGenerator.kt:477 */
|
503 + | }, /* BuilderGenerator.kt:254 */
|
504 + | )
|
505 + | /* BuilderGenerator.kt:253 */
|
288 506 | }
|
507 + | /* BuilderGenerator.kt:355 */
|
289 508 | }
|