85 85 | }
|
86 86 | #[allow(missing_docs)] // documentation missing in model
|
87 87 | pub fn required_enum(&self) -> &crate::types::RequiredEnum {
|
88 88 | &self.required_enum
|
89 89 | }
|
90 90 | #[allow(missing_docs)] // documentation missing in model
|
91 91 | pub fn required_int_enum(&self) -> i32 {
|
92 92 | self.required_int_enum
|
93 93 | }
|
94 94 | }
|
95 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_STRING: ::aws_smithy_schema::Schema<'static> =
|
96 + | ::aws_smithy_schema::Schema::new_member(
|
97 + | ::aws_smithy_schema::ShapeId::from_parts(
|
98 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput$requiredString",
|
99 + | "aws.protocoltests.json10.synthetic",
|
100 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
101 + | ),
|
102 + | ::aws_smithy_schema::ShapeType::String,
|
103 + | "requiredString",
|
104 + | 0,
|
105 + | );
|
106 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_BOOLEAN: ::aws_smithy_schema::Schema<'static> =
|
107 + | ::aws_smithy_schema::Schema::new_member(
|
108 + | ::aws_smithy_schema::ShapeId::from_parts(
|
109 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput$requiredBoolean",
|
110 + | "aws.protocoltests.json10.synthetic",
|
111 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
112 + | ),
|
113 + | ::aws_smithy_schema::ShapeType::Boolean,
|
114 + | "requiredBoolean",
|
115 + | 1,
|
116 + | );
|
117 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_LIST_MEMBER: ::aws_smithy_schema::Schema<'static> =
|
118 + | ::aws_smithy_schema::Schema::new_member(
|
119 + | ::aws_smithy_schema::ShapeId::from_parts(
|
120 + | "aws.protocoltests.json10#RequiredStringList$member",
|
121 + | "aws.protocoltests.json10",
|
122 + | "RequiredStringList",
|
123 + | ),
|
124 + | ::aws_smithy_schema::ShapeType::String,
|
125 + | "member",
|
126 + | 0,
|
127 + | );
|
128 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_LIST: ::aws_smithy_schema::Schema<'static> =
|
129 + | ::aws_smithy_schema::Schema::new_member(
|
130 + | ::aws_smithy_schema::ShapeId::from_parts(
|
131 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput$requiredList",
|
132 + | "aws.protocoltests.json10.synthetic",
|
133 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
134 + | ),
|
135 + | ::aws_smithy_schema::ShapeType::List,
|
136 + | "requiredList",
|
137 + | 2,
|
138 + | )
|
139 + | .with_list_member(&OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_LIST_MEMBER);
|
140 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_TIMESTAMP: ::aws_smithy_schema::Schema<'static> =
|
141 + | ::aws_smithy_schema::Schema::new_member(
|
142 + | ::aws_smithy_schema::ShapeId::from_parts(
|
143 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput$requiredTimestamp",
|
144 + | "aws.protocoltests.json10.synthetic",
|
145 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
146 + | ),
|
147 + | ::aws_smithy_schema::ShapeType::Timestamp,
|
148 + | "requiredTimestamp",
|
149 + | 3,
|
150 + | );
|
151 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_BLOB: ::aws_smithy_schema::Schema<'static> =
|
152 + | ::aws_smithy_schema::Schema::new_member(
|
153 + | ::aws_smithy_schema::ShapeId::from_parts(
|
154 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput$requiredBlob",
|
155 + | "aws.protocoltests.json10.synthetic",
|
156 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
157 + | ),
|
158 + | ::aws_smithy_schema::ShapeType::Blob,
|
159 + | "requiredBlob",
|
160 + | 4,
|
161 + | );
|
162 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_BYTE: ::aws_smithy_schema::Schema<'static> =
|
163 + | ::aws_smithy_schema::Schema::new_member(
|
164 + | ::aws_smithy_schema::ShapeId::from_parts(
|
165 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput$requiredByte",
|
166 + | "aws.protocoltests.json10.synthetic",
|
167 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
168 + | ),
|
169 + | ::aws_smithy_schema::ShapeType::Byte,
|
170 + | "requiredByte",
|
171 + | 5,
|
172 + | );
|
173 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_SHORT: ::aws_smithy_schema::Schema<'static> =
|
174 + | ::aws_smithy_schema::Schema::new_member(
|
175 + | ::aws_smithy_schema::ShapeId::from_parts(
|
176 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput$requiredShort",
|
177 + | "aws.protocoltests.json10.synthetic",
|
178 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
179 + | ),
|
180 + | ::aws_smithy_schema::ShapeType::Short,
|
181 + | "requiredShort",
|
182 + | 6,
|
183 + | );
|
184 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_INTEGER: ::aws_smithy_schema::Schema<'static> =
|
185 + | ::aws_smithy_schema::Schema::new_member(
|
186 + | ::aws_smithy_schema::ShapeId::from_parts(
|
187 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput$requiredInteger",
|
188 + | "aws.protocoltests.json10.synthetic",
|
189 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
190 + | ),
|
191 + | ::aws_smithy_schema::ShapeType::Integer,
|
192 + | "requiredInteger",
|
193 + | 7,
|
194 + | );
|
195 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_LONG: ::aws_smithy_schema::Schema<'static> =
|
196 + | ::aws_smithy_schema::Schema::new_member(
|
197 + | ::aws_smithy_schema::ShapeId::from_parts(
|
198 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput$requiredLong",
|
199 + | "aws.protocoltests.json10.synthetic",
|
200 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
201 + | ),
|
202 + | ::aws_smithy_schema::ShapeType::Long,
|
203 + | "requiredLong",
|
204 + | 8,
|
205 + | );
|
206 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_FLOAT: ::aws_smithy_schema::Schema<'static> =
|
207 + | ::aws_smithy_schema::Schema::new_member(
|
208 + | ::aws_smithy_schema::ShapeId::from_parts(
|
209 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput$requiredFloat",
|
210 + | "aws.protocoltests.json10.synthetic",
|
211 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
212 + | ),
|
213 + | ::aws_smithy_schema::ShapeType::Float,
|
214 + | "requiredFloat",
|
215 + | 9,
|
216 + | );
|
217 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_DOUBLE: ::aws_smithy_schema::Schema<'static> =
|
218 + | ::aws_smithy_schema::Schema::new_member(
|
219 + | ::aws_smithy_schema::ShapeId::from_parts(
|
220 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput$requiredDouble",
|
221 + | "aws.protocoltests.json10.synthetic",
|
222 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
223 + | ),
|
224 + | ::aws_smithy_schema::ShapeType::Double,
|
225 + | "requiredDouble",
|
226 + | 10,
|
227 + | );
|
228 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_MAP_KEY: ::aws_smithy_schema::Schema<'static> =
|
229 + | ::aws_smithy_schema::Schema::new_member(
|
230 + | ::aws_smithy_schema::ShapeId::from_parts(
|
231 + | "aws.protocoltests.json10#RequiredStringMap$key",
|
232 + | "aws.protocoltests.json10",
|
233 + | "RequiredStringMap",
|
234 + | ),
|
235 + | ::aws_smithy_schema::ShapeType::String,
|
236 + | "key",
|
237 + | 0,
|
238 + | );
|
239 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_MAP_VALUE: ::aws_smithy_schema::Schema<'static> =
|
240 + | ::aws_smithy_schema::Schema::new_member(
|
241 + | ::aws_smithy_schema::ShapeId::from_parts(
|
242 + | "aws.protocoltests.json10#RequiredStringMap$value",
|
243 + | "aws.protocoltests.json10",
|
244 + | "RequiredStringMap",
|
245 + | ),
|
246 + | ::aws_smithy_schema::ShapeType::String,
|
247 + | "value",
|
248 + | 1,
|
249 + | );
|
250 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_MAP: ::aws_smithy_schema::Schema<'static> =
|
251 + | ::aws_smithy_schema::Schema::new_member(
|
252 + | ::aws_smithy_schema::ShapeId::from_parts(
|
253 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput$requiredMap",
|
254 + | "aws.protocoltests.json10.synthetic",
|
255 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
256 + | ),
|
257 + | ::aws_smithy_schema::ShapeType::Map,
|
258 + | "requiredMap",
|
259 + | 11,
|
260 + | )
|
261 + | .with_map_members(
|
262 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_MAP_KEY,
|
263 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_MAP_VALUE,
|
264 + | );
|
265 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_ENUM: ::aws_smithy_schema::Schema<'static> =
|
266 + | ::aws_smithy_schema::Schema::new_member(
|
267 + | ::aws_smithy_schema::ShapeId::from_parts(
|
268 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput$requiredEnum",
|
269 + | "aws.protocoltests.json10.synthetic",
|
270 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
271 + | ),
|
272 + | ::aws_smithy_schema::ShapeType::String,
|
273 + | "requiredEnum",
|
274 + | 12,
|
275 + | );
|
276 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_INT_ENUM: ::aws_smithy_schema::Schema<'static> =
|
277 + | ::aws_smithy_schema::Schema::new_member(
|
278 + | ::aws_smithy_schema::ShapeId::from_parts(
|
279 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput$requiredIntEnum",
|
280 + | "aws.protocoltests.json10.synthetic",
|
281 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
282 + | ),
|
283 + | ::aws_smithy_schema::ShapeType::Integer,
|
284 + | "requiredIntEnum",
|
285 + | 13,
|
286 + | );
|
287 + | static OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_SCHEMA: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_struct(
|
288 + | ::aws_smithy_schema::ShapeId::from_parts(
|
289 + | "aws.protocoltests.json10.synthetic#OperationWithRequiredMembersWithDefaultsOutput",
|
290 + | "aws.protocoltests.json10.synthetic",
|
291 + | "OperationWithRequiredMembersWithDefaultsOutput",
|
292 + | ),
|
293 + | ::aws_smithy_schema::ShapeType::Structure,
|
294 + | &[
|
295 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_STRING,
|
296 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_BOOLEAN,
|
297 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_LIST,
|
298 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_TIMESTAMP,
|
299 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_BLOB,
|
300 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_BYTE,
|
301 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_SHORT,
|
302 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_INTEGER,
|
303 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_LONG,
|
304 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_FLOAT,
|
305 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_DOUBLE,
|
306 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_MAP,
|
307 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_ENUM,
|
308 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_INT_ENUM,
|
309 + | ],
|
310 + | )
|
311 + | .with_original_name("OperationWithRequiredMembersWithDefaultsOutput");
|
312 + | impl OperationWithRequiredMembersWithDefaultsOutput {
|
313 + | /// The schema for this shape.
|
314 + | pub const SCHEMA: &'static ::aws_smithy_schema::Schema<'static> = &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_SCHEMA;
|
315 + | }
|
316 + | impl ::aws_smithy_schema::serde::SerializableStruct for OperationWithRequiredMembersWithDefaultsOutput {
|
317 + | #[allow(unused_variables, clippy::diverging_sub_expression)]
|
318 + | fn serialize_members(
|
319 + | &self,
|
320 + | ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
|
321 + | ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
|
322 + | {
|
323 + | let val = &self.required_string;
|
324 + | ser.write_string(&OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_STRING, val)?;
|
325 + | }
|
326 + | {
|
327 + | let val = &self.required_boolean;
|
328 + | ser.write_boolean(&OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_BOOLEAN, *val)?;
|
329 + | }
|
330 + | {
|
331 + | let val = &self.required_list;
|
332 + |
|
333 + | ser.write_list(
|
334 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_LIST,
|
335 + | &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
|
336 + | for item in val {
|
337 + | ser.write_string(&aws_smithy_schema::prelude::STRING, item)?;
|
338 + | }
|
339 + | Ok(())
|
340 + | },
|
341 + | )?;
|
342 + | }
|
343 + | {
|
344 + | let val = &self.required_timestamp;
|
345 + | ser.write_timestamp(&OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_TIMESTAMP, val)?;
|
346 + | }
|
347 + | {
|
348 + | let val = &self.required_blob;
|
349 + | ser.write_blob(&OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_BLOB, val.clone())?;
|
350 + | }
|
351 + | {
|
352 + | let val = &self.required_byte;
|
353 + | ser.write_byte(&OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_BYTE, *val)?;
|
354 + | }
|
355 + | {
|
356 + | let val = &self.required_short;
|
357 + | ser.write_short(&OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_SHORT, *val)?;
|
358 + | }
|
359 + | {
|
360 + | let val = &self.required_integer;
|
361 + | ser.write_integer(&OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_INTEGER, *val)?;
|
362 + | }
|
363 + | {
|
364 + | let val = &self.required_long;
|
365 + | ser.write_long(&OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_LONG, *val)?;
|
366 + | }
|
367 + | {
|
368 + | let val = &self.required_float;
|
369 + | ser.write_float(&OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_FLOAT, *val)?;
|
370 + | }
|
371 + | {
|
372 + | let val = &self.required_double;
|
373 + | ser.write_double(&OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_DOUBLE, *val)?;
|
374 + | }
|
375 + | {
|
376 + | let val = &self.required_map;
|
377 + |
|
378 + | ser.write_map(
|
379 + | &OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_MAP,
|
380 + | &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
|
381 + | for (key, value) in val {
|
382 + | ser.write_string(&::aws_smithy_schema::prelude::STRING, key)?;
|
383 + | ser.write_string(&::aws_smithy_schema::prelude::STRING, value)?;
|
384 + | }
|
385 + | Ok(())
|
386 + | },
|
387 + | )?;
|
388 + | }
|
389 + | {
|
390 + | let val = &self.required_enum;
|
391 + | ser.write_string(&OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_ENUM, val.as_str())?;
|
392 + | }
|
393 + | {
|
394 + | let val = &self.required_int_enum;
|
395 + | ser.write_integer(&OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_MEMBER_REQUIRED_INT_ENUM, *val)?;
|
396 + | }
|
397 + | Ok(())
|
398 + | }
|
399 + | }
|
400 + | impl OperationWithRequiredMembersWithDefaultsOutput {
|
401 + | /// Deserializes this structure from a [`ShapeDeserializer`].
|
402 + | pub fn deserialize(
|
403 + | deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
|
404 + | ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
|
405 + | #[allow(unused_variables, unused_mut)]
|
406 + | let mut builder = Self::builder();
|
407 + | #[allow(
|
408 + | unused_variables,
|
409 + | unreachable_code,
|
410 + | clippy::single_match,
|
411 + | clippy::match_single_binding,
|
412 + | clippy::diverging_sub_expression
|
413 + | )]
|
414 + | deserializer.read_struct(&OPERATIONWITHREQUIREDMEMBERSWITHDEFAULTSOUTPUT_SCHEMA, &mut |member, deser| {
|
415 + | match member.member_index() {
|
416 + | Some(0) => {
|
417 + | builder.required_string = Some(deser.read_string(member)?);
|
418 + | }
|
419 + | Some(1) => {
|
420 + | builder.required_boolean = Some(deser.read_boolean(member)?);
|
421 + | }
|
422 + | Some(2) => {
|
423 + | builder.required_list = Some(deser.read_string_list(member)?);
|
424 + | }
|
425 + | Some(3) => {
|
426 + | builder.required_timestamp = Some(deser.read_timestamp(member)?);
|
427 + | }
|
428 + | Some(4) => {
|
429 + | builder.required_blob = Some(deser.read_blob(member)?);
|
430 + | }
|
431 + | Some(5) => {
|
432 + | builder.required_byte = Some(deser.read_byte(member)?);
|
433 + | }
|
434 + | Some(6) => {
|
435 + | builder.required_short = Some(deser.read_short(member)?);
|
436 + | }
|
437 + | Some(7) => {
|
438 + | builder.required_integer = Some(deser.read_integer(member)?);
|
439 + | }
|
440 + | Some(8) => {
|
441 + | builder.required_long = Some(deser.read_long(member)?);
|
442 + | }
|
443 + | Some(9) => {
|
444 + | builder.required_float = Some(deser.read_float(member)?);
|
445 + | }
|
446 + | Some(10) => {
|
447 + | builder.required_double = Some(deser.read_double(member)?);
|
448 + | }
|
449 + | Some(11) => {
|
450 + | builder.required_map = Some(deser.read_string_string_map(member)?);
|
451 + | }
|
452 + | Some(12) => {
|
453 + | builder.required_enum = Some(crate::types::RequiredEnum::from(deser.read_string(member)?.as_str()));
|
454 + | }
|
455 + | Some(13) => {
|
456 + | builder.required_int_enum = Some(deser.read_integer(member)?);
|
457 + | }
|
458 + | _ => {}
|
459 + | }
|
460 + | Ok(())
|
461 + | })?;
|
462 + | Ok(builder.build())
|
463 + | }
|
464 + | }
|
465 + | impl OperationWithRequiredMembersWithDefaultsOutput {
|
466 + | /// Deserializes this structure from a body deserializer and HTTP response.
|
467 + | pub fn deserialize_with_response(
|
468 + | deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
|
469 + | _headers: &::aws_smithy_runtime_api::http::Headers,
|
470 + | _status: u16,
|
471 + | _body: &[u8],
|
472 + | ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
|
473 + | Self::deserialize(deserializer)
|
474 + | }
|
475 + | }
|
95 476 | impl OperationWithRequiredMembersWithDefaultsOutput {
|
96 477 | /// Creates a new builder-style object to manufacture [`OperationWithRequiredMembersWithDefaultsOutput`](crate::operation::operation_with_required_members_with_defaults::OperationWithRequiredMembersWithDefaultsOutput).
|
97 478 | pub fn builder(
|
98 479 | ) -> crate::operation::operation_with_required_members_with_defaults::builders::OperationWithRequiredMembersWithDefaultsOutputBuilder {
|
99 480 | crate::operation::operation_with_required_members_with_defaults::builders::OperationWithRequiredMembersWithDefaultsOutputBuilder::default()
|
100 481 | }
|
101 482 | }
|
102 483 |
|
103 484 | /// A builder for [`OperationWithRequiredMembersWithDefaultsOutput`](crate::operation::operation_with_required_members_with_defaults::OperationWithRequiredMembersWithDefaultsOutput).
|
104 485 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
|