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 QueryMapsInput {
|
8 + | pub /* StructureGenerator.kt:201 */ struct QueryMapsInput {
|
9 + | /* StructureGenerator.kt:231 */
|
6 10 | #[allow(missing_docs)] // documentation missing in model
|
7 11 | pub map_arg: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
12 + | /* StructureGenerator.kt:231 */
|
8 13 | #[allow(missing_docs)] // documentation missing in model
|
9 14 | pub renamed_map_arg: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
15 + | /* StructureGenerator.kt:231 */
|
10 16 | #[allow(missing_docs)] // documentation missing in model
|
11 17 | pub complex_map_arg: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::GreetingStruct>>,
|
18 + | /* StructureGenerator.kt:231 */
|
12 19 | #[allow(missing_docs)] // documentation missing in model
|
13 20 | pub map_with_xml_member_name: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
21 + | /* StructureGenerator.kt:231 */
|
14 22 | #[allow(missing_docs)] // documentation missing in model
|
15 23 | pub flattened_map: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
24 + | /* StructureGenerator.kt:231 */
|
16 25 | #[allow(missing_docs)] // documentation missing in model
|
17 26 | pub flattened_map_with_xml_name: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
27 + | /* StructureGenerator.kt:231 */
|
18 28 | #[allow(missing_docs)] // documentation missing in model
|
19 29 | pub map_of_lists: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>>,
|
30 + | /* StructureGenerator.kt:231 */
|
20 31 | #[allow(missing_docs)] // documentation missing in model
|
21 32 | pub nested_struct_with_map: ::std::option::Option<crate::types::NestedStructWithMap>,
|
33 + | /* StructureGenerator.kt:201 */
|
22 34 | }
|
35 + | /* StructureGenerator.kt:135 */
|
23 36 | impl QueryMapsInput {
|
37 + | /* StructureGenerator.kt:231 */
|
24 38 | #[allow(missing_docs)] // documentation missing in model
|
39 + | /* StructureGenerator.kt:166 */
|
25 40 | pub fn map_arg(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
|
41 + | /* StructureGenerator.kt:170 */
|
26 42 | self.map_arg.as_ref()
|
43 + | /* StructureGenerator.kt:166 */
|
27 44 | }
|
45 + | /* StructureGenerator.kt:231 */
|
28 46 | #[allow(missing_docs)] // documentation missing in model
|
47 + | /* StructureGenerator.kt:166 */
|
29 48 | pub fn renamed_map_arg(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
|
49 + | /* StructureGenerator.kt:170 */
|
30 50 | self.renamed_map_arg.as_ref()
|
51 + | /* StructureGenerator.kt:166 */
|
31 52 | }
|
53 + | /* StructureGenerator.kt:231 */
|
32 54 | #[allow(missing_docs)] // documentation missing in model
|
55 + | /* StructureGenerator.kt:166 */
|
33 56 | pub fn complex_map_arg(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, crate::types::GreetingStruct>> {
|
57 + | /* StructureGenerator.kt:170 */
|
34 58 | self.complex_map_arg.as_ref()
|
59 + | /* StructureGenerator.kt:166 */
|
35 60 | }
|
61 + | /* StructureGenerator.kt:231 */
|
36 62 | #[allow(missing_docs)] // documentation missing in model
|
63 + | /* StructureGenerator.kt:166 */
|
37 64 | pub fn map_with_xml_member_name(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
|
65 + | /* StructureGenerator.kt:170 */
|
38 66 | self.map_with_xml_member_name.as_ref()
|
67 + | /* StructureGenerator.kt:166 */
|
39 68 | }
|
69 + | /* StructureGenerator.kt:231 */
|
40 70 | #[allow(missing_docs)] // documentation missing in model
|
71 + | /* StructureGenerator.kt:166 */
|
41 72 | pub fn flattened_map(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
|
73 + | /* StructureGenerator.kt:170 */
|
42 74 | self.flattened_map.as_ref()
|
75 + | /* StructureGenerator.kt:166 */
|
43 76 | }
|
77 + | /* StructureGenerator.kt:231 */
|
44 78 | #[allow(missing_docs)] // documentation missing in model
|
79 + | /* StructureGenerator.kt:166 */
|
45 80 | pub fn flattened_map_with_xml_name(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
|
81 + | /* StructureGenerator.kt:170 */
|
46 82 | self.flattened_map_with_xml_name.as_ref()
|
83 + | /* StructureGenerator.kt:166 */
|
47 84 | }
|
85 + | /* StructureGenerator.kt:231 */
|
48 86 | #[allow(missing_docs)] // documentation missing in model
|
87 + | /* StructureGenerator.kt:166 */
|
49 88 | pub fn map_of_lists(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>> {
|
89 + | /* StructureGenerator.kt:170 */
|
50 90 | self.map_of_lists.as_ref()
|
91 + | /* StructureGenerator.kt:166 */
|
51 92 | }
|
93 + | /* StructureGenerator.kt:231 */
|
52 94 | #[allow(missing_docs)] // documentation missing in model
|
95 + | /* StructureGenerator.kt:166 */
|
53 96 | pub fn nested_struct_with_map(&self) -> ::std::option::Option<&crate::types::NestedStructWithMap> {
|
97 + | /* StructureGenerator.kt:170 */
|
54 98 | self.nested_struct_with_map.as_ref()
|
99 + | /* StructureGenerator.kt:166 */
|
55 100 | }
|
101 + | /* StructureGenerator.kt:135 */
|
56 102 | }
|
103 + | /* ClientCodegenVisitor.kt:237 */
|
57 104 | impl QueryMapsInput {
|
58 - | /// Creates a new builder-style object to manufacture [`QueryMapsInput`](crate::operation::query_maps::QueryMapsInput).
|
105 + | /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`QueryMapsInput`](crate::operation::query_maps::QueryMapsInput).
|
106 + | /* BuilderGenerator.kt:175 */
|
59 107 | pub fn builder() -> crate::operation::query_maps::builders::QueryMapsInputBuilder {
|
108 + | /* BuilderGenerator.kt:176 */
|
60 109 | crate::operation::query_maps::builders::QueryMapsInputBuilder::default()
|
110 + | /* BuilderGenerator.kt:175 */
|
61 111 | }
|
112 + | /* ClientCodegenVisitor.kt:237 */
|
62 113 | }
|
63 114 |
|
64 - | /// A builder for [`QueryMapsInput`](crate::operation::query_maps::QueryMapsInput).
|
115 + | /// /* BuilderGenerator.kt:342 */A builder for [`QueryMapsInput`](crate::operation::query_maps::QueryMapsInput).
|
116 + | /* RustType.kt:516 */
|
65 117 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
|
118 + | /* RustType.kt:516 */
|
66 119 | #[non_exhaustive]
|
120 + | /* BuilderGenerator.kt:345 */
|
67 121 | pub struct QueryMapsInputBuilder {
|
122 + | /* BuilderGenerator.kt:275 */
|
68 123 | pub(crate) map_arg: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
124 + | /* BuilderGenerator.kt:275 */
|
69 125 | pub(crate) renamed_map_arg: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
126 + | /* BuilderGenerator.kt:275 */
|
70 127 | pub(crate) complex_map_arg: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::GreetingStruct>>,
|
128 + | /* BuilderGenerator.kt:275 */
|
71 129 | pub(crate) map_with_xml_member_name: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
130 + | /* BuilderGenerator.kt:275 */
|
72 131 | pub(crate) flattened_map: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
132 + | /* BuilderGenerator.kt:275 */
|
73 133 | pub(crate) flattened_map_with_xml_name: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
134 + | /* BuilderGenerator.kt:275 */
|
74 135 | pub(crate) map_of_lists: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>>,
|
136 + | /* BuilderGenerator.kt:275 */
|
75 137 | pub(crate) nested_struct_with_map: ::std::option::Option<crate::types::NestedStructWithMap>,
|
138 + | /* BuilderGenerator.kt:345 */
|
76 139 | }
|
140 + | /* BuilderGenerator.kt:355 */
|
77 141 | impl QueryMapsInputBuilder {
|
78 - | /// Adds a key-value pair to `map_arg`.
|
142 + | /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `map_arg`.
|
143 + | /* BuilderGenerator.kt:437 */
|
79 144 | ///
|
80 - | /// To override the contents of this collection use [`set_map_arg`](Self::set_map_arg).
|
145 + | /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_map_arg`](Self::set_map_arg).
|
146 + | /* BuilderGenerator.kt:439 */
|
81 147 | ///
|
148 + | /* BuilderGenerator.kt:445 */
|
82 149 | pub fn map_arg(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
|
150 + | /* BuilderGenerator.kt:448 */
|
83 151 | let mut hash_map = self.map_arg.unwrap_or_default();
|
84 152 | hash_map.insert(k.into(), v.into());
|
85 153 | self.map_arg = ::std::option::Option::Some(hash_map);
|
86 154 | self
|
155 + | /* BuilderGenerator.kt:445 */
|
87 156 | }
|
157 + | /* BuilderGenerator.kt:312 */
|
88 158 | #[allow(missing_docs)] // documentation missing in model
|
159 + | /* BuilderGenerator.kt:314 */
|
89 160 | pub fn set_map_arg(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
|
161 + | /* BuilderGenerator.kt:315 */
|
90 162 | self.map_arg = input;
|
91 163 | self
|
164 + | /* BuilderGenerator.kt:314 */
|
92 165 | }
|
166 + | /* BuilderGenerator.kt:334 */
|
93 167 | #[allow(missing_docs)] // documentation missing in model
|
168 + | /* BuilderGenerator.kt:336 */
|
94 169 | pub fn get_map_arg(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
|
170 + | /* BuilderGenerator.kt:337 */
|
95 171 | &self.map_arg
|
172 + | /* BuilderGenerator.kt:336 */
|
96 173 | }
|
97 - | /// Adds a key-value pair to `renamed_map_arg`.
|
174 + | /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `renamed_map_arg`.
|
175 + | /* BuilderGenerator.kt:437 */
|
98 176 | ///
|
99 - | /// To override the contents of this collection use [`set_renamed_map_arg`](Self::set_renamed_map_arg).
|
177 + | /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_renamed_map_arg`](Self::set_renamed_map_arg).
|
178 + | /* BuilderGenerator.kt:439 */
|
100 179 | ///
|
180 + | /* BuilderGenerator.kt:445 */
|
101 181 | pub fn renamed_map_arg(
|
102 182 | mut self,
|
103 183 | k: impl ::std::convert::Into<::std::string::String>,
|
104 184 | v: impl ::std::convert::Into<::std::string::String>,
|
105 185 | ) -> Self {
|
186 + | /* BuilderGenerator.kt:448 */
|
106 187 | let mut hash_map = self.renamed_map_arg.unwrap_or_default();
|
107 188 | hash_map.insert(k.into(), v.into());
|
108 189 | self.renamed_map_arg = ::std::option::Option::Some(hash_map);
|
109 190 | self
|
191 + | /* BuilderGenerator.kt:445 */
|
110 192 | }
|
193 + | /* BuilderGenerator.kt:312 */
|
111 194 | #[allow(missing_docs)] // documentation missing in model
|
195 + | /* BuilderGenerator.kt:314 */
|
112 196 | pub fn set_renamed_map_arg(
|
113 197 | mut self,
|
114 198 | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
115 199 | ) -> Self {
|
200 + | /* BuilderGenerator.kt:315 */
|
116 201 | self.renamed_map_arg = input;
|
117 202 | self
|
203 + | /* BuilderGenerator.kt:314 */
|
118 204 | }
|
205 + | /* BuilderGenerator.kt:334 */
|
119 206 | #[allow(missing_docs)] // documentation missing in model
|
207 + | /* BuilderGenerator.kt:336 */
|
120 208 | pub fn get_renamed_map_arg(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
|
209 + | /* BuilderGenerator.kt:337 */
|
121 210 | &self.renamed_map_arg
|
211 + | /* BuilderGenerator.kt:336 */
|
122 212 | }
|
123 - | /// Adds a key-value pair to `complex_map_arg`.
|
213 + | /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `complex_map_arg`.
|
214 + | /* BuilderGenerator.kt:437 */
|
124 215 | ///
|
125 - | /// To override the contents of this collection use [`set_complex_map_arg`](Self::set_complex_map_arg).
|
216 + | /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_complex_map_arg`](Self::set_complex_map_arg).
|
217 + | /* BuilderGenerator.kt:439 */
|
126 218 | ///
|
219 + | /* BuilderGenerator.kt:445 */
|
127 220 | pub fn complex_map_arg(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::GreetingStruct) -> Self {
|
221 + | /* BuilderGenerator.kt:448 */
|
128 222 | let mut hash_map = self.complex_map_arg.unwrap_or_default();
|
129 223 | hash_map.insert(k.into(), v);
|
130 224 | self.complex_map_arg = ::std::option::Option::Some(hash_map);
|
131 225 | self
|
226 + | /* BuilderGenerator.kt:445 */
|
132 227 | }
|
228 + | /* BuilderGenerator.kt:312 */
|
133 229 | #[allow(missing_docs)] // documentation missing in model
|
230 + | /* BuilderGenerator.kt:314 */
|
134 231 | pub fn set_complex_map_arg(
|
135 232 | mut self,
|
136 233 | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::GreetingStruct>>,
|
137 234 | ) -> Self {
|
235 + | /* BuilderGenerator.kt:315 */
|
138 236 | self.complex_map_arg = input;
|
139 237 | self
|
238 + | /* BuilderGenerator.kt:314 */
|
140 239 | }
|
240 + | /* BuilderGenerator.kt:334 */
|
141 241 | #[allow(missing_docs)] // documentation missing in model
|
242 + | /* BuilderGenerator.kt:336 */
|
142 243 | pub fn get_complex_map_arg(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::GreetingStruct>> {
|
244 + | /* BuilderGenerator.kt:337 */
|
143 245 | &self.complex_map_arg
|
246 + | /* BuilderGenerator.kt:336 */
|
144 247 | }
|
145 - | /// Adds a key-value pair to `map_with_xml_member_name`.
|
248 + | /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `map_with_xml_member_name`.
|
249 + | /* BuilderGenerator.kt:437 */
|
146 250 | ///
|
147 - | /// To override the contents of this collection use [`set_map_with_xml_member_name`](Self::set_map_with_xml_member_name).
|
251 + | /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_map_with_xml_member_name`](Self::set_map_with_xml_member_name).
|
252 + | /* BuilderGenerator.kt:439 */
|
148 253 | ///
|
254 + | /* BuilderGenerator.kt:445 */
|
149 255 | pub fn map_with_xml_member_name(
|
150 256 | mut self,
|
151 257 | k: impl ::std::convert::Into<::std::string::String>,
|
152 258 | v: impl ::std::convert::Into<::std::string::String>,
|
153 259 | ) -> Self {
|
260 + | /* BuilderGenerator.kt:448 */
|
154 261 | let mut hash_map = self.map_with_xml_member_name.unwrap_or_default();
|
155 262 | hash_map.insert(k.into(), v.into());
|
156 263 | self.map_with_xml_member_name = ::std::option::Option::Some(hash_map);
|
157 264 | self
|
265 + | /* BuilderGenerator.kt:445 */
|
158 266 | }
|
267 + | /* BuilderGenerator.kt:312 */
|
159 268 | #[allow(missing_docs)] // documentation missing in model
|
269 + | /* BuilderGenerator.kt:314 */
|
160 270 | pub fn set_map_with_xml_member_name(
|
161 271 | mut self,
|
162 272 | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
163 273 | ) -> Self {
|
274 + | /* BuilderGenerator.kt:315 */
|
164 275 | self.map_with_xml_member_name = input;
|
165 276 | self
|
277 + | /* BuilderGenerator.kt:314 */
|
166 278 | }
|
279 + | /* BuilderGenerator.kt:334 */
|
167 280 | #[allow(missing_docs)] // documentation missing in model
|
281 + | /* BuilderGenerator.kt:336 */
|
168 282 | pub fn get_map_with_xml_member_name(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
|
283 + | /* BuilderGenerator.kt:337 */
|
169 284 | &self.map_with_xml_member_name
|
285 + | /* BuilderGenerator.kt:336 */
|
170 286 | }
|
171 - | /// Adds a key-value pair to `flattened_map`.
|
287 + | /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `flattened_map`.
|
288 + | /* BuilderGenerator.kt:437 */
|
172 289 | ///
|
173 - | /// To override the contents of this collection use [`set_flattened_map`](Self::set_flattened_map).
|
290 + | /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_flattened_map`](Self::set_flattened_map).
|
291 + | /* BuilderGenerator.kt:439 */
|
174 292 | ///
|
293 + | /* BuilderGenerator.kt:445 */
|
175 294 | pub fn flattened_map(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
|
295 + | /* BuilderGenerator.kt:448 */
|
176 296 | let mut hash_map = self.flattened_map.unwrap_or_default();
|
177 297 | hash_map.insert(k.into(), v.into());
|
178 298 | self.flattened_map = ::std::option::Option::Some(hash_map);
|
179 299 | self
|
300 + | /* BuilderGenerator.kt:445 */
|
180 301 | }
|
302 + | /* BuilderGenerator.kt:312 */
|
181 303 | #[allow(missing_docs)] // documentation missing in model
|
304 + | /* BuilderGenerator.kt:314 */
|
182 305 | pub fn set_flattened_map(
|
183 306 | mut self,
|
184 307 | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
185 308 | ) -> Self {
|
309 + | /* BuilderGenerator.kt:315 */
|
186 310 | self.flattened_map = input;
|
187 311 | self
|
312 + | /* BuilderGenerator.kt:314 */
|
188 313 | }
|
314 + | /* BuilderGenerator.kt:334 */
|
189 315 | #[allow(missing_docs)] // documentation missing in model
|
316 + | /* BuilderGenerator.kt:336 */
|
190 317 | pub fn get_flattened_map(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
|
318 + | /* BuilderGenerator.kt:337 */
|
191 319 | &self.flattened_map
|
320 + | /* BuilderGenerator.kt:336 */
|
192 321 | }
|
193 - | /// Adds a key-value pair to `flattened_map_with_xml_name`.
|
322 + | /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `flattened_map_with_xml_name`.
|
323 + | /* BuilderGenerator.kt:437 */
|
194 324 | ///
|
195 - | /// To override the contents of this collection use [`set_flattened_map_with_xml_name`](Self::set_flattened_map_with_xml_name).
|
325 + | /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_flattened_map_with_xml_name`](Self::set_flattened_map_with_xml_name).
|
326 + | /* BuilderGenerator.kt:439 */
|
196 327 | ///
|
328 + | /* BuilderGenerator.kt:445 */
|
197 329 | pub fn flattened_map_with_xml_name(
|
198 330 | mut self,
|
199 331 | k: impl ::std::convert::Into<::std::string::String>,
|
200 332 | v: impl ::std::convert::Into<::std::string::String>,
|
201 333 | ) -> Self {
|
334 + | /* BuilderGenerator.kt:448 */
|
202 335 | let mut hash_map = self.flattened_map_with_xml_name.unwrap_or_default();
|
203 336 | hash_map.insert(k.into(), v.into());
|
204 337 | self.flattened_map_with_xml_name = ::std::option::Option::Some(hash_map);
|
205 338 | self
|
339 + | /* BuilderGenerator.kt:445 */
|
206 340 | }
|
341 + | /* BuilderGenerator.kt:312 */
|
207 342 | #[allow(missing_docs)] // documentation missing in model
|
343 + | /* BuilderGenerator.kt:314 */
|
208 344 | pub fn set_flattened_map_with_xml_name(
|
209 345 | mut self,
|
210 346 | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
211 347 | ) -> Self {
|
348 + | /* BuilderGenerator.kt:315 */
|
212 349 | self.flattened_map_with_xml_name = input;
|
213 350 | self
|
351 + | /* BuilderGenerator.kt:314 */
|
214 352 | }
|
353 + | /* BuilderGenerator.kt:334 */
|
215 354 | #[allow(missing_docs)] // documentation missing in model
|
355 + | /* BuilderGenerator.kt:336 */
|
216 356 | pub fn get_flattened_map_with_xml_name(
|
217 357 | &self,
|
218 358 | ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
|
359 + | /* BuilderGenerator.kt:337 */
|
219 360 | &self.flattened_map_with_xml_name
|
361 + | /* BuilderGenerator.kt:336 */
|
220 362 | }
|
221 - | /// Adds a key-value pair to `map_of_lists`.
|
363 + | /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `map_of_lists`.
|
364 + | /* BuilderGenerator.kt:437 */
|
222 365 | ///
|
223 - | /// To override the contents of this collection use [`set_map_of_lists`](Self::set_map_of_lists).
|
366 + | /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_map_of_lists`](Self::set_map_of_lists).
|
367 + | /* BuilderGenerator.kt:439 */
|
224 368 | ///
|
369 + | /* BuilderGenerator.kt:445 */
|
225 370 | pub fn map_of_lists(mut self, k: impl ::std::convert::Into<::std::string::String>, v: ::std::vec::Vec<::std::string::String>) -> Self {
|
371 + | /* BuilderGenerator.kt:448 */
|
226 372 | let mut hash_map = self.map_of_lists.unwrap_or_default();
|
227 373 | hash_map.insert(k.into(), v);
|
228 374 | self.map_of_lists = ::std::option::Option::Some(hash_map);
|
229 375 | self
|
376 + | /* BuilderGenerator.kt:445 */
|
230 377 | }
|
378 + | /* BuilderGenerator.kt:312 */
|
231 379 | #[allow(missing_docs)] // documentation missing in model
|
380 + | /* BuilderGenerator.kt:314 */
|
232 381 | pub fn set_map_of_lists(
|
233 382 | mut self,
|
234 383 | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>>,
|
235 384 | ) -> Self {
|
385 + | /* BuilderGenerator.kt:315 */
|
236 386 | self.map_of_lists = input;
|
237 387 | self
|
388 + | /* BuilderGenerator.kt:314 */
|
238 389 | }
|
390 + | /* BuilderGenerator.kt:334 */
|
239 391 | #[allow(missing_docs)] // documentation missing in model
|
392 + | /* BuilderGenerator.kt:336 */
|
240 393 | pub fn get_map_of_lists(
|
241 394 | &self,
|
242 395 | ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>> {
|
396 + | /* BuilderGenerator.kt:337 */
|
243 397 | &self.map_of_lists
|
398 + | /* BuilderGenerator.kt:336 */
|
244 399 | }
|
400 + | /* BuilderGenerator.kt:286 */
|
245 401 | #[allow(missing_docs)] // documentation missing in model
|
402 + | /* BuilderGenerator.kt:291 */
|
246 403 | pub fn nested_struct_with_map(mut self, input: crate::types::NestedStructWithMap) -> Self {
|
404 + | /* BuilderGenerator.kt:292 */
|
247 405 | self.nested_struct_with_map = ::std::option::Option::Some(input);
|
406 + | /* BuilderGenerator.kt:293 */
|
248 407 | self
|
408 + | /* BuilderGenerator.kt:291 */
|
249 409 | }
|
410 + | /* BuilderGenerator.kt:312 */
|
250 411 | #[allow(missing_docs)] // documentation missing in model
|
412 + | /* BuilderGenerator.kt:314 */
|
251 413 | pub fn set_nested_struct_with_map(mut self, input: ::std::option::Option<crate::types::NestedStructWithMap>) -> Self {
|
414 + | /* BuilderGenerator.kt:315 */
|
252 415 | self.nested_struct_with_map = input;
|
253 416 | self
|
417 + | /* BuilderGenerator.kt:314 */
|
254 418 | }
|
419 + | /* BuilderGenerator.kt:334 */
|
255 420 | #[allow(missing_docs)] // documentation missing in model
|
421 + | /* BuilderGenerator.kt:336 */
|
256 422 | pub fn get_nested_struct_with_map(&self) -> &::std::option::Option<crate::types::NestedStructWithMap> {
|
423 + | /* BuilderGenerator.kt:337 */
|
257 424 | &self.nested_struct_with_map
|
425 + | /* BuilderGenerator.kt:336 */
|
258 426 | }
|
259 - | /// Consumes the builder and constructs a [`QueryMapsInput`](crate::operation::query_maps::QueryMapsInput).
|
427 + | /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`QueryMapsInput`](crate::operation::query_maps::QueryMapsInput).
|
428 + | /* BuilderGenerator.kt:253 */
|
260 429 | pub fn build(self) -> ::std::result::Result<crate::operation::query_maps::QueryMapsInput, ::aws_smithy_types::error::operation::BuildError> {
|
261 - | ::std::result::Result::Ok(crate::operation::query_maps::QueryMapsInput {
|
262 - | map_arg: self.map_arg,
|
263 - | renamed_map_arg: self.renamed_map_arg,
|
264 - | complex_map_arg: self.complex_map_arg,
|
265 - | map_with_xml_member_name: self.map_with_xml_member_name,
|
266 - | flattened_map: self.flattened_map,
|
267 - | flattened_map_with_xml_name: self.flattened_map_with_xml_name,
|
268 - | map_of_lists: self.map_of_lists,
|
269 - | nested_struct_with_map: self.nested_struct_with_map,
|
270 - | })
|
271 - | }
|
430 + | /* BuilderGenerator.kt:254 */
|
431 + | ::std::result::Result::Ok(
|
432 + | /* BuilderGenerator.kt:477 */
|
433 + | crate::operation::query_maps::QueryMapsInput {
|
434 + | /* BuilderGenerator.kt:481 */ map_arg: self.map_arg,
|
435 + | /* BuilderGenerator.kt:481 */
|
436 + | renamed_map_arg: self.renamed_map_arg,
|
437 + | /* BuilderGenerator.kt:481 */
|
438 + | complex_map_arg: self.complex_map_arg,
|
439 + | /* BuilderGenerator.kt:481 */
|
440 + | map_with_xml_member_name: self.map_with_xml_member_name,
|
441 + | /* BuilderGenerator.kt:481 */
|
442 + | flattened_map: self.flattened_map,
|
443 + | /* BuilderGenerator.kt:481 */
|
444 + | flattened_map_with_xml_name: self.flattened_map_with_xml_name,
|
445 + | /* BuilderGenerator.kt:481 */
|
446 + | map_of_lists: self.map_of_lists,
|
447 + | /* BuilderGenerator.kt:481 */
|
448 + | nested_struct_with_map: self.nested_struct_with_map,
|
449 + | /* BuilderGenerator.kt:477 */
|
450 + | }, /* BuilderGenerator.kt:254 */
|
451 + | )
|
452 + | /* BuilderGenerator.kt:253 */
|
453 + | }
|
454 + | /* BuilderGenerator.kt:355 */
|
272 455 | }
|