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 ErrorSerializationOperationInput {
|
8 + | pub /* StructureGenerator.kt:201 */ struct ErrorSerializationOperationInput {
|
9 + | /* StructureGenerator.kt:231 */
|
6 10 | #[allow(missing_docs)] // documentation missing in model
|
7 11 | pub blob: ::std::option::Option<::aws_smithy_types::Blob>,
|
8 - | #[allow(missing_docs)] // documentation missing in model
|
12 + | /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
|
9 13 | pub boolean: ::std::option::Option<bool>,
|
14 + | /* StructureGenerator.kt:231 */
|
10 15 | #[allow(missing_docs)] // documentation missing in model
|
11 16 | pub string: ::std::option::Option<::std::string::String>,
|
12 - | #[allow(missing_docs)] // documentation missing in model
|
17 + | /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
|
13 18 | pub byte: ::std::option::Option<i8>,
|
14 - | #[allow(missing_docs)] // documentation missing in model
|
19 + | /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
|
15 20 | pub short: ::std::option::Option<i16>,
|
16 - | #[allow(missing_docs)] // documentation missing in model
|
21 + | /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
|
17 22 | pub integer: ::std::option::Option<i32>,
|
18 - | #[allow(missing_docs)] // documentation missing in model
|
23 + | /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
|
19 24 | pub long: ::std::option::Option<i64>,
|
20 - | #[allow(missing_docs)] // documentation missing in model
|
25 + | /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
|
21 26 | pub float: ::std::option::Option<f32>,
|
22 - | #[allow(missing_docs)] // documentation missing in model
|
27 + | /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
|
23 28 | pub double: ::std::option::Option<f64>,
|
29 + | /* StructureGenerator.kt:231 */
|
24 30 | #[allow(missing_docs)] // documentation missing in model
|
25 31 | pub timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
|
32 + | /* StructureGenerator.kt:231 */
|
26 33 | #[allow(missing_docs)] // documentation missing in model
|
27 34 | pub r#enum: ::std::option::Option<crate::types::Suit>,
|
35 + | /* StructureGenerator.kt:231 */
|
28 36 | #[allow(missing_docs)] // documentation missing in model
|
29 37 | pub required_blob: ::std::option::Option<::aws_smithy_types::Blob>,
|
38 + | /* StructureGenerator.kt:231 */
|
30 39 | #[allow(missing_docs)] // documentation missing in model
|
31 40 | pub required_boolean: ::std::option::Option<bool>,
|
41 + | /* StructureGenerator.kt:231 */
|
32 42 | #[allow(missing_docs)] // documentation missing in model
|
33 43 | pub required_string: ::std::option::Option<::std::string::String>,
|
34 - | #[allow(missing_docs)] // documentation missing in model
|
44 + | /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
|
35 45 | pub required_byte: ::std::option::Option<i8>,
|
46 + | /* StructureGenerator.kt:231 */
|
36 47 | #[allow(missing_docs)] // documentation missing in model
|
37 48 | pub required_short: ::std::option::Option<i16>,
|
49 + | /* StructureGenerator.kt:231 */
|
38 50 | #[allow(missing_docs)] // documentation missing in model
|
39 51 | pub required_integer: ::std::option::Option<i32>,
|
40 - | #[allow(missing_docs)] // documentation missing in model
|
52 + | /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
|
41 53 | pub required_long: ::std::option::Option<i64>,
|
54 + | /* StructureGenerator.kt:231 */
|
42 55 | #[allow(missing_docs)] // documentation missing in model
|
43 56 | pub required_float: ::std::option::Option<f32>,
|
57 + | /* StructureGenerator.kt:231 */
|
44 58 | #[allow(missing_docs)] // documentation missing in model
|
45 59 | pub required_double: ::std::option::Option<f64>,
|
60 + | /* StructureGenerator.kt:231 */
|
46 61 | #[allow(missing_docs)] // documentation missing in model
|
47 62 | pub required_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
|
63 + | /* StructureGenerator.kt:231 */
|
48 64 | #[allow(missing_docs)] // documentation missing in model
|
49 65 | pub required_enum: ::std::option::Option<crate::types::Suit>,
|
66 + | /* StructureGenerator.kt:201 */
|
50 67 | }
|
68 + | /* StructureGenerator.kt:135 */
|
51 69 | impl ErrorSerializationOperationInput {
|
70 + | /* StructureGenerator.kt:231 */
|
52 71 | #[allow(missing_docs)] // documentation missing in model
|
72 + | /* StructureGenerator.kt:166 */
|
53 73 | pub fn blob(&self) -> ::std::option::Option<&::aws_smithy_types::Blob> {
|
74 + | /* StructureGenerator.kt:170 */
|
54 75 | self.blob.as_ref()
|
76 + | /* StructureGenerator.kt:166 */
|
55 77 | }
|
78 + | /* StructureGenerator.kt:231 */
|
56 79 | #[allow(missing_docs)] // documentation missing in model
|
80 + | /* StructureGenerator.kt:166 */
|
57 81 | pub fn boolean(&self) -> ::std::option::Option<bool> {
|
82 + | /* StructureGenerator.kt:168 */
|
58 83 | self.boolean
|
84 + | /* StructureGenerator.kt:166 */
|
59 85 | }
|
86 + | /* StructureGenerator.kt:231 */
|
60 87 | #[allow(missing_docs)] // documentation missing in model
|
88 + | /* StructureGenerator.kt:166 */
|
61 89 | pub fn string(&self) -> ::std::option::Option<&str> {
|
90 + | /* StructureGenerator.kt:169 */
|
62 91 | self.string.as_deref()
|
92 + | /* StructureGenerator.kt:166 */
|
63 93 | }
|
94 + | /* StructureGenerator.kt:231 */
|
64 95 | #[allow(missing_docs)] // documentation missing in model
|
96 + | /* StructureGenerator.kt:166 */
|
65 97 | pub fn byte(&self) -> ::std::option::Option<i8> {
|
98 + | /* StructureGenerator.kt:168 */
|
66 99 | self.byte
|
100 + | /* StructureGenerator.kt:166 */
|
67 101 | }
|
102 + | /* StructureGenerator.kt:231 */
|
68 103 | #[allow(missing_docs)] // documentation missing in model
|
104 + | /* StructureGenerator.kt:166 */
|
69 105 | pub fn short(&self) -> ::std::option::Option<i16> {
|
106 + | /* StructureGenerator.kt:168 */
|
70 107 | self.short
|
108 + | /* StructureGenerator.kt:166 */
|
71 109 | }
|
110 + | /* StructureGenerator.kt:231 */
|
72 111 | #[allow(missing_docs)] // documentation missing in model
|
112 + | /* StructureGenerator.kt:166 */
|
73 113 | pub fn integer(&self) -> ::std::option::Option<i32> {
|
114 + | /* StructureGenerator.kt:168 */
|
74 115 | self.integer
|
116 + | /* StructureGenerator.kt:166 */
|
75 117 | }
|
118 + | /* StructureGenerator.kt:231 */
|
76 119 | #[allow(missing_docs)] // documentation missing in model
|
120 + | /* StructureGenerator.kt:166 */
|
77 121 | pub fn long(&self) -> ::std::option::Option<i64> {
|
122 + | /* StructureGenerator.kt:168 */
|
78 123 | self.long
|
124 + | /* StructureGenerator.kt:166 */
|
79 125 | }
|
126 + | /* StructureGenerator.kt:231 */
|
80 127 | #[allow(missing_docs)] // documentation missing in model
|
128 + | /* StructureGenerator.kt:166 */
|
81 129 | pub fn float(&self) -> ::std::option::Option<f32> {
|
130 + | /* StructureGenerator.kt:168 */
|
82 131 | self.float
|
132 + | /* StructureGenerator.kt:166 */
|
83 133 | }
|
134 + | /* StructureGenerator.kt:231 */
|
84 135 | #[allow(missing_docs)] // documentation missing in model
|
136 + | /* StructureGenerator.kt:166 */
|
85 137 | pub fn double(&self) -> ::std::option::Option<f64> {
|
138 + | /* StructureGenerator.kt:168 */
|
86 139 | self.double
|
140 + | /* StructureGenerator.kt:166 */
|
87 141 | }
|
142 + | /* StructureGenerator.kt:231 */
|
88 143 | #[allow(missing_docs)] // documentation missing in model
|
144 + | /* StructureGenerator.kt:166 */
|
89 145 | pub fn timestamp(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
|
146 + | /* StructureGenerator.kt:170 */
|
90 147 | self.timestamp.as_ref()
|
148 + | /* StructureGenerator.kt:166 */
|
91 149 | }
|
150 + | /* StructureGenerator.kt:231 */
|
92 151 | #[allow(missing_docs)] // documentation missing in model
|
152 + | /* StructureGenerator.kt:166 */
|
93 153 | pub fn r#enum(&self) -> ::std::option::Option<&crate::types::Suit> {
|
154 + | /* StructureGenerator.kt:170 */
|
94 155 | self.r#enum.as_ref()
|
156 + | /* StructureGenerator.kt:166 */
|
95 157 | }
|
158 + | /* StructureGenerator.kt:231 */
|
96 159 | #[allow(missing_docs)] // documentation missing in model
|
160 + | /* StructureGenerator.kt:166 */
|
97 161 | pub fn required_blob(&self) -> ::std::option::Option<&::aws_smithy_types::Blob> {
|
162 + | /* StructureGenerator.kt:170 */
|
98 163 | self.required_blob.as_ref()
|
164 + | /* StructureGenerator.kt:166 */
|
99 165 | }
|
166 + | /* StructureGenerator.kt:231 */
|
100 167 | #[allow(missing_docs)] // documentation missing in model
|
168 + | /* StructureGenerator.kt:166 */
|
101 169 | pub fn required_boolean(&self) -> ::std::option::Option<bool> {
|
170 + | /* StructureGenerator.kt:168 */
|
102 171 | self.required_boolean
|
172 + | /* StructureGenerator.kt:166 */
|
103 173 | }
|
174 + | /* StructureGenerator.kt:231 */
|
104 175 | #[allow(missing_docs)] // documentation missing in model
|
176 + | /* StructureGenerator.kt:166 */
|
105 177 | pub fn required_string(&self) -> ::std::option::Option<&str> {
|
178 + | /* StructureGenerator.kt:169 */
|
106 179 | self.required_string.as_deref()
|
180 + | /* StructureGenerator.kt:166 */
|
107 181 | }
|
182 + | /* StructureGenerator.kt:231 */
|
108 183 | #[allow(missing_docs)] // documentation missing in model
|
184 + | /* StructureGenerator.kt:166 */
|
109 185 | pub fn required_byte(&self) -> ::std::option::Option<i8> {
|
186 + | /* StructureGenerator.kt:168 */
|
110 187 | self.required_byte
|
188 + | /* StructureGenerator.kt:166 */
|
111 189 | }
|
190 + | /* StructureGenerator.kt:231 */
|
112 191 | #[allow(missing_docs)] // documentation missing in model
|
192 + | /* StructureGenerator.kt:166 */
|
113 193 | pub fn required_short(&self) -> ::std::option::Option<i16> {
|
194 + | /* StructureGenerator.kt:168 */
|
114 195 | self.required_short
|
196 + | /* StructureGenerator.kt:166 */
|
115 197 | }
|
198 + | /* StructureGenerator.kt:231 */
|
116 199 | #[allow(missing_docs)] // documentation missing in model
|
200 + | /* StructureGenerator.kt:166 */
|
117 201 | pub fn required_integer(&self) -> ::std::option::Option<i32> {
|
202 + | /* StructureGenerator.kt:168 */
|
118 203 | self.required_integer
|
204 + | /* StructureGenerator.kt:166 */
|
119 205 | }
|
206 + | /* StructureGenerator.kt:231 */
|
120 207 | #[allow(missing_docs)] // documentation missing in model
|
208 + | /* StructureGenerator.kt:166 */
|
121 209 | pub fn required_long(&self) -> ::std::option::Option<i64> {
|
210 + | /* StructureGenerator.kt:168 */
|
122 211 | self.required_long
|
212 + | /* StructureGenerator.kt:166 */
|
123 213 | }
|
214 + | /* StructureGenerator.kt:231 */
|
124 215 | #[allow(missing_docs)] // documentation missing in model
|
216 + | /* StructureGenerator.kt:166 */
|
125 217 | pub fn required_float(&self) -> ::std::option::Option<f32> {
|
218 + | /* StructureGenerator.kt:168 */
|
126 219 | self.required_float
|
220 + | /* StructureGenerator.kt:166 */
|
127 221 | }
|
222 + | /* StructureGenerator.kt:231 */
|
128 223 | #[allow(missing_docs)] // documentation missing in model
|
224 + | /* StructureGenerator.kt:166 */
|
129 225 | pub fn required_double(&self) -> ::std::option::Option<f64> {
|
226 + | /* StructureGenerator.kt:168 */
|
130 227 | self.required_double
|
228 + | /* StructureGenerator.kt:166 */
|
131 229 | }
|
230 + | /* StructureGenerator.kt:231 */
|
132 231 | #[allow(missing_docs)] // documentation missing in model
|
232 + | /* StructureGenerator.kt:166 */
|
133 233 | pub fn required_timestamp(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
|
234 + | /* StructureGenerator.kt:170 */
|
134 235 | self.required_timestamp.as_ref()
|
236 + | /* StructureGenerator.kt:166 */
|
135 237 | }
|
238 + | /* StructureGenerator.kt:231 */
|
136 239 | #[allow(missing_docs)] // documentation missing in model
|
240 + | /* StructureGenerator.kt:166 */
|
137 241 | pub fn required_enum(&self) -> ::std::option::Option<&crate::types::Suit> {
|
242 + | /* StructureGenerator.kt:170 */
|
138 243 | self.required_enum.as_ref()
|
244 + | /* StructureGenerator.kt:166 */
|
139 245 | }
|
246 + | /* StructureGenerator.kt:135 */
|
140 247 | }
|
248 + | /* ClientCodegenVisitor.kt:237 */
|
141 249 | impl ErrorSerializationOperationInput {
|
142 - | /// Creates a new builder-style object to manufacture [`ErrorSerializationOperationInput`](crate::operation::error_serialization_operation::ErrorSerializationOperationInput).
|
250 + | /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`ErrorSerializationOperationInput`](crate::operation::error_serialization_operation::ErrorSerializationOperationInput).
|
251 + | /* BuilderGenerator.kt:175 */
|
143 252 | pub fn builder() -> crate::operation::error_serialization_operation::builders::ErrorSerializationOperationInputBuilder {
|
253 + | /* BuilderGenerator.kt:176 */
|
144 254 | crate::operation::error_serialization_operation::builders::ErrorSerializationOperationInputBuilder::default()
|
255 + | /* BuilderGenerator.kt:175 */
|
145 256 | }
|
257 + | /* ClientCodegenVisitor.kt:237 */
|
146 258 | }
|
147 259 |
|
148 - | /// A builder for [`ErrorSerializationOperationInput`](crate::operation::error_serialization_operation::ErrorSerializationOperationInput).
|
260 + | /// /* BuilderGenerator.kt:342 */A builder for [`ErrorSerializationOperationInput`](crate::operation::error_serialization_operation::ErrorSerializationOperationInput).
|
261 + | /* RustType.kt:516 */
|
149 262 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
|
263 + | /* RustType.kt:516 */
|
150 264 | #[non_exhaustive]
|
265 + | /* BuilderGenerator.kt:345 */
|
151 266 | pub struct ErrorSerializationOperationInputBuilder {
|
152 - | pub(crate) blob: ::std::option::Option<::aws_smithy_types::Blob>,
|
153 - | pub(crate) boolean: ::std::option::Option<bool>,
|
154 - | pub(crate) string: ::std::option::Option<::std::string::String>,
|
155 - | pub(crate) byte: ::std::option::Option<i8>,
|
156 - | pub(crate) short: ::std::option::Option<i16>,
|
157 - | pub(crate) integer: ::std::option::Option<i32>,
|
158 - | pub(crate) long: ::std::option::Option<i64>,
|
159 - | pub(crate) float: ::std::option::Option<f32>,
|
160 - | pub(crate) double: ::std::option::Option<f64>,
|
161 - | pub(crate) timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
|
162 - | pub(crate) r#enum: ::std::option::Option<crate::types::Suit>,
|
163 - | pub(crate) required_blob: ::std::option::Option<::aws_smithy_types::Blob>,
|
164 - | pub(crate) required_boolean: ::std::option::Option<bool>,
|
165 - | pub(crate) required_string: ::std::option::Option<::std::string::String>,
|
166 - | pub(crate) required_byte: ::std::option::Option<i8>,
|
167 - | pub(crate) required_short: ::std::option::Option<i16>,
|
168 - | pub(crate) required_integer: ::std::option::Option<i32>,
|
169 - | pub(crate) required_long: ::std::option::Option<i64>,
|
170 - | pub(crate) required_float: ::std::option::Option<f32>,
|
171 - | pub(crate) required_double: ::std::option::Option<f64>,
|
172 - | pub(crate) required_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
|
173 - | pub(crate) required_enum: ::std::option::Option<crate::types::Suit>,
|
267 + | /* BuilderGenerator.kt:275 */ pub(crate) blob: ::std::option::Option<::aws_smithy_types::Blob>,
|
268 + | /* BuilderGenerator.kt:275 */ pub(crate) boolean: ::std::option::Option<bool>,
|
269 + | /* BuilderGenerator.kt:275 */ pub(crate) string: ::std::option::Option<::std::string::String>,
|
270 + | /* BuilderGenerator.kt:275 */ pub(crate) byte: ::std::option::Option<i8>,
|
271 + | /* BuilderGenerator.kt:275 */ pub(crate) short: ::std::option::Option<i16>,
|
272 + | /* BuilderGenerator.kt:275 */ pub(crate) integer: ::std::option::Option<i32>,
|
273 + | /* BuilderGenerator.kt:275 */ pub(crate) long: ::std::option::Option<i64>,
|
274 + | /* BuilderGenerator.kt:275 */ pub(crate) float: ::std::option::Option<f32>,
|
275 + | /* BuilderGenerator.kt:275 */ pub(crate) double: ::std::option::Option<f64>,
|
276 + | /* BuilderGenerator.kt:275 */ pub(crate) timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
|
277 + | /* BuilderGenerator.kt:275 */ pub(crate) r#enum: ::std::option::Option<crate::types::Suit>,
|
278 + | /* BuilderGenerator.kt:275 */ pub(crate) required_blob: ::std::option::Option<::aws_smithy_types::Blob>,
|
279 + | /* BuilderGenerator.kt:275 */ pub(crate) required_boolean: ::std::option::Option<bool>,
|
280 + | /* BuilderGenerator.kt:275 */ pub(crate) required_string: ::std::option::Option<::std::string::String>,
|
281 + | /* BuilderGenerator.kt:275 */ pub(crate) required_byte: ::std::option::Option<i8>,
|
282 + | /* BuilderGenerator.kt:275 */ pub(crate) required_short: ::std::option::Option<i16>,
|
283 + | /* BuilderGenerator.kt:275 */ pub(crate) required_integer: ::std::option::Option<i32>,
|
284 + | /* BuilderGenerator.kt:275 */ pub(crate) required_long: ::std::option::Option<i64>,
|
285 + | /* BuilderGenerator.kt:275 */ pub(crate) required_float: ::std::option::Option<f32>,
|
286 + | /* BuilderGenerator.kt:275 */ pub(crate) required_double: ::std::option::Option<f64>,
|
287 + | /* BuilderGenerator.kt:275 */ pub(crate) required_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
|
288 + | /* BuilderGenerator.kt:275 */ pub(crate) required_enum: ::std::option::Option<crate::types::Suit>,
|
289 + | /* BuilderGenerator.kt:345 */
|
174 290 | }
|
291 + | /* BuilderGenerator.kt:355 */
|
175 292 | impl ErrorSerializationOperationInputBuilder {
|
293 + | /* BuilderGenerator.kt:286 */
|
176 294 | #[allow(missing_docs)] // documentation missing in model
|
295 + | /* BuilderGenerator.kt:291 */
|
177 296 | pub fn blob(mut self, input: ::aws_smithy_types::Blob) -> Self {
|
297 + | /* BuilderGenerator.kt:292 */
|
178 298 | self.blob = ::std::option::Option::Some(input);
|
299 + | /* BuilderGenerator.kt:293 */
|
179 300 | self
|
301 + | /* BuilderGenerator.kt:291 */
|
180 302 | }
|
303 + | /* BuilderGenerator.kt:312 */
|
181 304 | #[allow(missing_docs)] // documentation missing in model
|
305 + | /* BuilderGenerator.kt:314 */
|
182 306 | pub fn set_blob(mut self, input: ::std::option::Option<::aws_smithy_types::Blob>) -> Self {
|
307 + | /* BuilderGenerator.kt:315 */
|
183 308 | self.blob = input;
|
184 309 | self
|
310 + | /* BuilderGenerator.kt:314 */
|
185 311 | }
|
312 + | /* BuilderGenerator.kt:334 */
|
186 313 | #[allow(missing_docs)] // documentation missing in model
|
314 + | /* BuilderGenerator.kt:336 */
|
187 315 | pub fn get_blob(&self) -> &::std::option::Option<::aws_smithy_types::Blob> {
|
316 + | /* BuilderGenerator.kt:337 */
|
188 317 | &self.blob
|
318 + | /* BuilderGenerator.kt:336 */
|
189 319 | }
|
320 + | /* BuilderGenerator.kt:286 */
|
190 321 | #[allow(missing_docs)] // documentation missing in model
|
322 + | /* BuilderGenerator.kt:291 */
|
191 323 | pub fn boolean(mut self, input: bool) -> Self {
|
324 + | /* BuilderGenerator.kt:292 */
|
192 325 | self.boolean = ::std::option::Option::Some(input);
|
326 + | /* BuilderGenerator.kt:293 */
|
193 327 | self
|
328 + | /* BuilderGenerator.kt:291 */
|
194 329 | }
|
330 + | /* BuilderGenerator.kt:312 */
|
195 331 | #[allow(missing_docs)] // documentation missing in model
|
332 + | /* BuilderGenerator.kt:314 */
|
196 333 | pub fn set_boolean(mut self, input: ::std::option::Option<bool>) -> Self {
|
334 + | /* BuilderGenerator.kt:315 */
|
197 335 | self.boolean = input;
|
198 336 | self
|
337 + | /* BuilderGenerator.kt:314 */
|
199 338 | }
|
339 + | /* BuilderGenerator.kt:334 */
|
200 340 | #[allow(missing_docs)] // documentation missing in model
|
341 + | /* BuilderGenerator.kt:336 */
|
201 342 | pub fn get_boolean(&self) -> &::std::option::Option<bool> {
|
343 + | /* BuilderGenerator.kt:337 */
|
202 344 | &self.boolean
|
345 + | /* BuilderGenerator.kt:336 */
|
203 346 | }
|
347 + | /* BuilderGenerator.kt:286 */
|
204 348 | #[allow(missing_docs)] // documentation missing in model
|
349 + | /* BuilderGenerator.kt:291 */
|
205 350 | pub fn string(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
351 + | /* BuilderGenerator.kt:292 */
|
206 352 | self.string = ::std::option::Option::Some(input.into());
|
353 + | /* BuilderGenerator.kt:293 */
|
207 354 | self
|
355 + | /* BuilderGenerator.kt:291 */
|
208 356 | }
|
357 + | /* BuilderGenerator.kt:312 */
|
209 358 | #[allow(missing_docs)] // documentation missing in model
|
359 + | /* BuilderGenerator.kt:314 */
|
210 360 | pub fn set_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
361 + | /* BuilderGenerator.kt:315 */
|
211 362 | self.string = input;
|
212 363 | self
|
364 + | /* BuilderGenerator.kt:314 */
|
213 365 | }
|
366 + | /* BuilderGenerator.kt:334 */
|
214 367 | #[allow(missing_docs)] // documentation missing in model
|
368 + | /* BuilderGenerator.kt:336 */
|
215 369 | pub fn get_string(&self) -> &::std::option::Option<::std::string::String> {
|
370 + | /* BuilderGenerator.kt:337 */
|
216 371 | &self.string
|
372 + | /* BuilderGenerator.kt:336 */
|
217 373 | }
|
374 + | /* BuilderGenerator.kt:286 */
|
218 375 | #[allow(missing_docs)] // documentation missing in model
|
376 + | /* BuilderGenerator.kt:291 */
|
219 377 | pub fn byte(mut self, input: i8) -> Self {
|
378 + | /* BuilderGenerator.kt:292 */
|
220 379 | self.byte = ::std::option::Option::Some(input);
|
380 + | /* BuilderGenerator.kt:293 */
|
221 381 | self
|
382 + | /* BuilderGenerator.kt:291 */
|
222 383 | }
|
384 + | /* BuilderGenerator.kt:312 */
|
223 385 | #[allow(missing_docs)] // documentation missing in model
|
386 + | /* BuilderGenerator.kt:314 */
|
224 387 | pub fn set_byte(mut self, input: ::std::option::Option<i8>) -> Self {
|
388 + | /* BuilderGenerator.kt:315 */
|
225 389 | self.byte = input;
|
226 390 | self
|
391 + | /* BuilderGenerator.kt:314 */
|
227 392 | }
|
393 + | /* BuilderGenerator.kt:334 */
|
228 394 | #[allow(missing_docs)] // documentation missing in model
|
395 + | /* BuilderGenerator.kt:336 */
|
229 396 | pub fn get_byte(&self) -> &::std::option::Option<i8> {
|
397 + | /* BuilderGenerator.kt:337 */
|
230 398 | &self.byte
|
399 + | /* BuilderGenerator.kt:336 */
|
231 400 | }
|
401 + | /* BuilderGenerator.kt:286 */
|
232 402 | #[allow(missing_docs)] // documentation missing in model
|
403 + | /* BuilderGenerator.kt:291 */
|
233 404 | pub fn short(mut self, input: i16) -> Self {
|
405 + | /* BuilderGenerator.kt:292 */
|
234 406 | self.short = ::std::option::Option::Some(input);
|
407 + | /* BuilderGenerator.kt:293 */
|
235 408 | self
|
409 + | /* BuilderGenerator.kt:291 */
|
236 410 | }
|
411 + | /* BuilderGenerator.kt:312 */
|
237 412 | #[allow(missing_docs)] // documentation missing in model
|
413 + | /* BuilderGenerator.kt:314 */
|
238 414 | pub fn set_short(mut self, input: ::std::option::Option<i16>) -> Self {
|
415 + | /* BuilderGenerator.kt:315 */
|
239 416 | self.short = input;
|
240 417 | self
|
418 + | /* BuilderGenerator.kt:314 */
|
241 419 | }
|
420 + | /* BuilderGenerator.kt:334 */
|
242 421 | #[allow(missing_docs)] // documentation missing in model
|
422 + | /* BuilderGenerator.kt:336 */
|
243 423 | pub fn get_short(&self) -> &::std::option::Option<i16> {
|
424 + | /* BuilderGenerator.kt:337 */
|
244 425 | &self.short
|
426 + | /* BuilderGenerator.kt:336 */
|
245 427 | }
|
428 + | /* BuilderGenerator.kt:286 */
|
246 429 | #[allow(missing_docs)] // documentation missing in model
|
430 + | /* BuilderGenerator.kt:291 */
|
247 431 | pub fn integer(mut self, input: i32) -> Self {
|
432 + | /* BuilderGenerator.kt:292 */
|
248 433 | self.integer = ::std::option::Option::Some(input);
|
434 + | /* BuilderGenerator.kt:293 */
|
249 435 | self
|
436 + | /* BuilderGenerator.kt:291 */
|
250 437 | }
|
438 + | /* BuilderGenerator.kt:312 */
|
251 439 | #[allow(missing_docs)] // documentation missing in model
|
440 + | /* BuilderGenerator.kt:314 */
|
252 441 | pub fn set_integer(mut self, input: ::std::option::Option<i32>) -> Self {
|
442 + | /* BuilderGenerator.kt:315 */
|
253 443 | self.integer = input;
|
254 444 | self
|
445 + | /* BuilderGenerator.kt:314 */
|
255 446 | }
|
447 + | /* BuilderGenerator.kt:334 */
|
256 448 | #[allow(missing_docs)] // documentation missing in model
|
449 + | /* BuilderGenerator.kt:336 */
|
257 450 | pub fn get_integer(&self) -> &::std::option::Option<i32> {
|
451 + | /* BuilderGenerator.kt:337 */
|
258 452 | &self.integer
|
453 + | /* BuilderGenerator.kt:336 */
|
259 454 | }
|
455 + | /* BuilderGenerator.kt:286 */
|
260 456 | #[allow(missing_docs)] // documentation missing in model
|
457 + | /* BuilderGenerator.kt:291 */
|
261 458 | pub fn long(mut self, input: i64) -> Self {
|
459 + | /* BuilderGenerator.kt:292 */
|
262 460 | self.long = ::std::option::Option::Some(input);
|
461 + | /* BuilderGenerator.kt:293 */
|
263 462 | self
|
463 + | /* BuilderGenerator.kt:291 */
|
264 464 | }
|
465 + | /* BuilderGenerator.kt:312 */
|
265 466 | #[allow(missing_docs)] // documentation missing in model
|
467 + | /* BuilderGenerator.kt:314 */
|
266 468 | pub fn set_long(mut self, input: ::std::option::Option<i64>) -> Self {
|
469 + | /* BuilderGenerator.kt:315 */
|
267 470 | self.long = input;
|
268 471 | self
|
472 + | /* BuilderGenerator.kt:314 */
|
269 473 | }
|
474 + | /* BuilderGenerator.kt:334 */
|
270 475 | #[allow(missing_docs)] // documentation missing in model
|
476 + | /* BuilderGenerator.kt:336 */
|
271 477 | pub fn get_long(&self) -> &::std::option::Option<i64> {
|
478 + | /* BuilderGenerator.kt:337 */
|
272 479 | &self.long
|
480 + | /* BuilderGenerator.kt:336 */
|
273 481 | }
|
482 + | /* BuilderGenerator.kt:286 */
|
274 483 | #[allow(missing_docs)] // documentation missing in model
|
484 + | /* BuilderGenerator.kt:291 */
|
275 485 | pub fn float(mut self, input: f32) -> Self {
|
486 + | /* BuilderGenerator.kt:292 */
|
276 487 | self.float = ::std::option::Option::Some(input);
|
488 + | /* BuilderGenerator.kt:293 */
|
277 489 | self
|
490 + | /* BuilderGenerator.kt:291 */
|
278 491 | }
|
492 + | /* BuilderGenerator.kt:312 */
|
279 493 | #[allow(missing_docs)] // documentation missing in model
|
494 + | /* BuilderGenerator.kt:314 */
|
280 495 | pub fn set_float(mut self, input: ::std::option::Option<f32>) -> Self {
|
496 + | /* BuilderGenerator.kt:315 */
|
281 497 | self.float = input;
|
282 498 | self
|
499 + | /* BuilderGenerator.kt:314 */
|
283 500 | }
|
501 + | /* BuilderGenerator.kt:334 */
|
284 502 | #[allow(missing_docs)] // documentation missing in model
|
503 + | /* BuilderGenerator.kt:336 */
|
285 504 | pub fn get_float(&self) -> &::std::option::Option<f32> {
|
505 + | /* BuilderGenerator.kt:337 */
|
286 506 | &self.float
|
507 + | /* BuilderGenerator.kt:336 */
|
287 508 | }
|
509 + | /* BuilderGenerator.kt:286 */
|
288 510 | #[allow(missing_docs)] // documentation missing in model
|
511 + | /* BuilderGenerator.kt:291 */
|
289 512 | pub fn double(mut self, input: f64) -> Self {
|
513 + | /* BuilderGenerator.kt:292 */
|
290 514 | self.double = ::std::option::Option::Some(input);
|
515 + | /* BuilderGenerator.kt:293 */
|
291 516 | self
|
517 + | /* BuilderGenerator.kt:291 */
|
292 518 | }
|
519 + | /* BuilderGenerator.kt:312 */
|
293 520 | #[allow(missing_docs)] // documentation missing in model
|
521 + | /* BuilderGenerator.kt:314 */
|
294 522 | pub fn set_double(mut self, input: ::std::option::Option<f64>) -> Self {
|
523 + | /* BuilderGenerator.kt:315 */
|
295 524 | self.double = input;
|
296 525 | self
|
526 + | /* BuilderGenerator.kt:314 */
|
297 527 | }
|
528 + | /* BuilderGenerator.kt:334 */
|
298 529 | #[allow(missing_docs)] // documentation missing in model
|
530 + | /* BuilderGenerator.kt:336 */
|
299 531 | pub fn get_double(&self) -> &::std::option::Option<f64> {
|
532 + | /* BuilderGenerator.kt:337 */
|
300 533 | &self.double
|
534 + | /* BuilderGenerator.kt:336 */
|
301 535 | }
|
536 + | /* BuilderGenerator.kt:286 */
|
302 537 | #[allow(missing_docs)] // documentation missing in model
|
538 + | /* BuilderGenerator.kt:291 */
|
303 539 | pub fn timestamp(mut self, input: ::aws_smithy_types::DateTime) -> Self {
|
540 + | /* BuilderGenerator.kt:292 */
|
304 541 | self.timestamp = ::std::option::Option::Some(input);
|
542 + | /* BuilderGenerator.kt:293 */
|
305 543 | self
|
544 + | /* BuilderGenerator.kt:291 */
|
306 545 | }
|
546 + | /* BuilderGenerator.kt:312 */
|
307 547 | #[allow(missing_docs)] // documentation missing in model
|
548 + | /* BuilderGenerator.kt:314 */
|
308 549 | pub fn set_timestamp(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
|
550 + | /* BuilderGenerator.kt:315 */
|
309 551 | self.timestamp = input;
|
310 552 | self
|
553 + | /* BuilderGenerator.kt:314 */
|
311 554 | }
|
555 + | /* BuilderGenerator.kt:334 */
|
312 556 | #[allow(missing_docs)] // documentation missing in model
|
557 + | /* BuilderGenerator.kt:336 */
|
313 558 | pub fn get_timestamp(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
|
559 + | /* BuilderGenerator.kt:337 */
|
314 560 | &self.timestamp
|
561 + | /* BuilderGenerator.kt:336 */
|
315 562 | }
|
563 + | /* BuilderGenerator.kt:286 */
|
316 564 | #[allow(missing_docs)] // documentation missing in model
|
565 + | /* BuilderGenerator.kt:291 */
|
317 566 | pub fn r#enum(mut self, input: crate::types::Suit) -> Self {
|
567 + | /* BuilderGenerator.kt:292 */
|
318 568 | self.r#enum = ::std::option::Option::Some(input);
|
569 + | /* BuilderGenerator.kt:293 */
|
319 570 | self
|
571 + | /* BuilderGenerator.kt:291 */
|
320 572 | }
|
573 + | /* BuilderGenerator.kt:312 */
|
321 574 | #[allow(missing_docs)] // documentation missing in model
|
575 + | /* BuilderGenerator.kt:314 */
|
322 576 | pub fn set_enum(mut self, input: ::std::option::Option<crate::types::Suit>) -> Self {
|
577 + | /* BuilderGenerator.kt:315 */
|
323 578 | self.r#enum = input;
|
324 579 | self
|
580 + | /* BuilderGenerator.kt:314 */
|
325 581 | }
|
582 + | /* BuilderGenerator.kt:334 */
|
326 583 | #[allow(missing_docs)] // documentation missing in model
|
584 + | /* BuilderGenerator.kt:336 */
|
327 585 | pub fn get_enum(&self) -> &::std::option::Option<crate::types::Suit> {
|
586 + | /* BuilderGenerator.kt:337 */
|
328 587 | &self.r#enum
|
588 + | /* BuilderGenerator.kt:336 */
|
329 589 | }
|
590 + | /* BuilderGenerator.kt:286 */
|
330 591 | #[allow(missing_docs)] // documentation missing in model
|
331 - | /// This field is required.
|
592 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
593 + | /* BuilderGenerator.kt:291 */
|
332 594 | pub fn required_blob(mut self, input: ::aws_smithy_types::Blob) -> Self {
|
595 + | /* BuilderGenerator.kt:292 */
|
333 596 | self.required_blob = ::std::option::Option::Some(input);
|
597 + | /* BuilderGenerator.kt:293 */
|
334 598 | self
|
599 + | /* BuilderGenerator.kt:291 */
|
335 600 | }
|
601 + | /* BuilderGenerator.kt:312 */
|
336 602 | #[allow(missing_docs)] // documentation missing in model
|
603 + | /* BuilderGenerator.kt:314 */
|
337 604 | pub fn set_required_blob(mut self, input: ::std::option::Option<::aws_smithy_types::Blob>) -> Self {
|
605 + | /* BuilderGenerator.kt:315 */
|
338 606 | self.required_blob = input;
|
339 607 | self
|
608 + | /* BuilderGenerator.kt:314 */
|
340 609 | }
|
610 + | /* BuilderGenerator.kt:334 */
|
341 611 | #[allow(missing_docs)] // documentation missing in model
|
612 + | /* BuilderGenerator.kt:336 */
|
342 613 | pub fn get_required_blob(&self) -> &::std::option::Option<::aws_smithy_types::Blob> {
|
614 + | /* BuilderGenerator.kt:337 */
|
343 615 | &self.required_blob
|
616 + | /* BuilderGenerator.kt:336 */
|
344 617 | }
|
618 + | /* BuilderGenerator.kt:286 */
|
345 619 | #[allow(missing_docs)] // documentation missing in model
|
346 - | /// This field is required.
|
620 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
621 + | /* BuilderGenerator.kt:291 */
|
347 622 | pub fn required_boolean(mut self, input: bool) -> Self {
|
623 + | /* BuilderGenerator.kt:292 */
|
348 624 | self.required_boolean = ::std::option::Option::Some(input);
|
625 + | /* BuilderGenerator.kt:293 */
|
349 626 | self
|
627 + | /* BuilderGenerator.kt:291 */
|
350 628 | }
|
629 + | /* BuilderGenerator.kt:312 */
|
351 630 | #[allow(missing_docs)] // documentation missing in model
|
631 + | /* BuilderGenerator.kt:314 */
|
352 632 | pub fn set_required_boolean(mut self, input: ::std::option::Option<bool>) -> Self {
|
633 + | /* BuilderGenerator.kt:315 */
|
353 634 | self.required_boolean = input;
|
354 635 | self
|
636 + | /* BuilderGenerator.kt:314 */
|
355 637 | }
|
638 + | /* BuilderGenerator.kt:334 */
|
356 639 | #[allow(missing_docs)] // documentation missing in model
|
640 + | /* BuilderGenerator.kt:336 */
|
357 641 | pub fn get_required_boolean(&self) -> &::std::option::Option<bool> {
|
642 + | /* BuilderGenerator.kt:337 */
|
358 643 | &self.required_boolean
|
644 + | /* BuilderGenerator.kt:336 */
|
359 645 | }
|
646 + | /* BuilderGenerator.kt:286 */
|
360 647 | #[allow(missing_docs)] // documentation missing in model
|
361 - | /// This field is required.
|
648 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
649 + | /* BuilderGenerator.kt:291 */
|
362 650 | pub fn required_string(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
651 + | /* BuilderGenerator.kt:292 */
|
363 652 | self.required_string = ::std::option::Option::Some(input.into());
|
653 + | /* BuilderGenerator.kt:293 */
|
364 654 | self
|
655 + | /* BuilderGenerator.kt:291 */
|
365 656 | }
|
657 + | /* BuilderGenerator.kt:312 */
|
366 658 | #[allow(missing_docs)] // documentation missing in model
|
659 + | /* BuilderGenerator.kt:314 */
|
367 660 | pub fn set_required_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
661 + | /* BuilderGenerator.kt:315 */
|
368 662 | self.required_string = input;
|
369 663 | self
|
664 + | /* BuilderGenerator.kt:314 */
|
370 665 | }
|
666 + | /* BuilderGenerator.kt:334 */
|
371 667 | #[allow(missing_docs)] // documentation missing in model
|
668 + | /* BuilderGenerator.kt:336 */
|
372 669 | pub fn get_required_string(&self) -> &::std::option::Option<::std::string::String> {
|
670 + | /* BuilderGenerator.kt:337 */
|
373 671 | &self.required_string
|
672 + | /* BuilderGenerator.kt:336 */
|
374 673 | }
|
674 + | /* BuilderGenerator.kt:286 */
|
375 675 | #[allow(missing_docs)] // documentation missing in model
|
376 - | /// This field is required.
|
676 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
677 + | /* BuilderGenerator.kt:291 */
|
377 678 | pub fn required_byte(mut self, input: i8) -> Self {
|
679 + | /* BuilderGenerator.kt:292 */
|
378 680 | self.required_byte = ::std::option::Option::Some(input);
|
681 + | /* BuilderGenerator.kt:293 */
|
379 682 | self
|
683 + | /* BuilderGenerator.kt:291 */
|
380 684 | }
|
685 + | /* BuilderGenerator.kt:312 */
|
381 686 | #[allow(missing_docs)] // documentation missing in model
|
687 + | /* BuilderGenerator.kt:314 */
|
382 688 | pub fn set_required_byte(mut self, input: ::std::option::Option<i8>) -> Self {
|
689 + | /* BuilderGenerator.kt:315 */
|
383 690 | self.required_byte = input;
|
384 691 | self
|
692 + | /* BuilderGenerator.kt:314 */
|
385 693 | }
|
694 + | /* BuilderGenerator.kt:334 */
|
386 695 | #[allow(missing_docs)] // documentation missing in model
|
696 + | /* BuilderGenerator.kt:336 */
|
387 697 | pub fn get_required_byte(&self) -> &::std::option::Option<i8> {
|
698 + | /* BuilderGenerator.kt:337 */
|
388 699 | &self.required_byte
|
700 + | /* BuilderGenerator.kt:336 */
|
389 701 | }
|
702 + | /* BuilderGenerator.kt:286 */
|
390 703 | #[allow(missing_docs)] // documentation missing in model
|
391 - | /// This field is required.
|
704 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
705 + | /* BuilderGenerator.kt:291 */
|
392 706 | pub fn required_short(mut self, input: i16) -> Self {
|
707 + | /* BuilderGenerator.kt:292 */
|
393 708 | self.required_short = ::std::option::Option::Some(input);
|
709 + | /* BuilderGenerator.kt:293 */
|
394 710 | self
|
711 + | /* BuilderGenerator.kt:291 */
|
395 712 | }
|
713 + | /* BuilderGenerator.kt:312 */
|
396 714 | #[allow(missing_docs)] // documentation missing in model
|
715 + | /* BuilderGenerator.kt:314 */
|
397 716 | pub fn set_required_short(mut self, input: ::std::option::Option<i16>) -> Self {
|
717 + | /* BuilderGenerator.kt:315 */
|
398 718 | self.required_short = input;
|
399 719 | self
|
720 + | /* BuilderGenerator.kt:314 */
|
400 721 | }
|
722 + | /* BuilderGenerator.kt:334 */
|
401 723 | #[allow(missing_docs)] // documentation missing in model
|
724 + | /* BuilderGenerator.kt:336 */
|
402 725 | pub fn get_required_short(&self) -> &::std::option::Option<i16> {
|
726 + | /* BuilderGenerator.kt:337 */
|
403 727 | &self.required_short
|
728 + | /* BuilderGenerator.kt:336 */
|
404 729 | }
|
730 + | /* BuilderGenerator.kt:286 */
|
405 731 | #[allow(missing_docs)] // documentation missing in model
|
406 - | /// This field is required.
|
732 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
733 + | /* BuilderGenerator.kt:291 */
|
407 734 | pub fn required_integer(mut self, input: i32) -> Self {
|
735 + | /* BuilderGenerator.kt:292 */
|
408 736 | self.required_integer = ::std::option::Option::Some(input);
|
737 + | /* BuilderGenerator.kt:293 */
|
409 738 | self
|
739 + | /* BuilderGenerator.kt:291 */
|
410 740 | }
|
741 + | /* BuilderGenerator.kt:312 */
|
411 742 | #[allow(missing_docs)] // documentation missing in model
|
743 + | /* BuilderGenerator.kt:314 */
|
412 744 | pub fn set_required_integer(mut self, input: ::std::option::Option<i32>) -> Self {
|
745 + | /* BuilderGenerator.kt:315 */
|
413 746 | self.required_integer = input;
|
414 747 | self
|
748 + | /* BuilderGenerator.kt:314 */
|
415 749 | }
|
750 + | /* BuilderGenerator.kt:334 */
|
416 751 | #[allow(missing_docs)] // documentation missing in model
|
752 + | /* BuilderGenerator.kt:336 */
|
417 753 | pub fn get_required_integer(&self) -> &::std::option::Option<i32> {
|
754 + | /* BuilderGenerator.kt:337 */
|
418 755 | &self.required_integer
|
756 + | /* BuilderGenerator.kt:336 */
|
419 757 | }
|
758 + | /* BuilderGenerator.kt:286 */
|
420 759 | #[allow(missing_docs)] // documentation missing in model
|
421 - | /// This field is required.
|
760 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
761 + | /* BuilderGenerator.kt:291 */
|
422 762 | pub fn required_long(mut self, input: i64) -> Self {
|
763 + | /* BuilderGenerator.kt:292 */
|
423 764 | self.required_long = ::std::option::Option::Some(input);
|
765 + | /* BuilderGenerator.kt:293 */
|
424 766 | self
|
767 + | /* BuilderGenerator.kt:291 */
|
425 768 | }
|
769 + | /* BuilderGenerator.kt:312 */
|
426 770 | #[allow(missing_docs)] // documentation missing in model
|
771 + | /* BuilderGenerator.kt:314 */
|
427 772 | pub fn set_required_long(mut self, input: ::std::option::Option<i64>) -> Self {
|
773 + | /* BuilderGenerator.kt:315 */
|
428 774 | self.required_long = input;
|
429 775 | self
|
776 + | /* BuilderGenerator.kt:314 */
|
430 777 | }
|
778 + | /* BuilderGenerator.kt:334 */
|
431 779 | #[allow(missing_docs)] // documentation missing in model
|
780 + | /* BuilderGenerator.kt:336 */
|
432 781 | pub fn get_required_long(&self) -> &::std::option::Option<i64> {
|
782 + | /* BuilderGenerator.kt:337 */
|
433 783 | &self.required_long
|
784 + | /* BuilderGenerator.kt:336 */
|
434 785 | }
|
786 + | /* BuilderGenerator.kt:286 */
|
435 787 | #[allow(missing_docs)] // documentation missing in model
|
436 - | /// This field is required.
|
788 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
789 + | /* BuilderGenerator.kt:291 */
|
437 790 | pub fn required_float(mut self, input: f32) -> Self {
|
791 + | /* BuilderGenerator.kt:292 */
|
438 792 | self.required_float = ::std::option::Option::Some(input);
|
793 + | /* BuilderGenerator.kt:293 */
|
439 794 | self
|
795 + | /* BuilderGenerator.kt:291 */
|
440 796 | }
|
797 + | /* BuilderGenerator.kt:312 */
|
441 798 | #[allow(missing_docs)] // documentation missing in model
|
799 + | /* BuilderGenerator.kt:314 */
|
442 800 | pub fn set_required_float(mut self, input: ::std::option::Option<f32>) -> Self {
|
801 + | /* BuilderGenerator.kt:315 */
|
443 802 | self.required_float = input;
|
444 803 | self
|
804 + | /* BuilderGenerator.kt:314 */
|
445 805 | }
|
806 + | /* BuilderGenerator.kt:334 */
|
446 807 | #[allow(missing_docs)] // documentation missing in model
|
808 + | /* BuilderGenerator.kt:336 */
|
447 809 | pub fn get_required_float(&self) -> &::std::option::Option<f32> {
|
810 + | /* BuilderGenerator.kt:337 */
|
448 811 | &self.required_float
|
812 + | /* BuilderGenerator.kt:336 */
|
449 813 | }
|
814 + | /* BuilderGenerator.kt:286 */
|
450 815 | #[allow(missing_docs)] // documentation missing in model
|
451 - | /// This field is required.
|
816 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
817 + | /* BuilderGenerator.kt:291 */
|
452 818 | pub fn required_double(mut self, input: f64) -> Self {
|
819 + | /* BuilderGenerator.kt:292 */
|
453 820 | self.required_double = ::std::option::Option::Some(input);
|
821 + | /* BuilderGenerator.kt:293 */
|
454 822 | self
|
823 + | /* BuilderGenerator.kt:291 */
|
455 824 | }
|
825 + | /* BuilderGenerator.kt:312 */
|
456 826 | #[allow(missing_docs)] // documentation missing in model
|
827 + | /* BuilderGenerator.kt:314 */
|
457 828 | pub fn set_required_double(mut self, input: ::std::option::Option<f64>) -> Self {
|
829 + | /* BuilderGenerator.kt:315 */
|
458 830 | self.required_double = input;
|
459 831 | self
|
832 + | /* BuilderGenerator.kt:314 */
|
460 833 | }
|
834 + | /* BuilderGenerator.kt:334 */
|
461 835 | #[allow(missing_docs)] // documentation missing in model
|
836 + | /* BuilderGenerator.kt:336 */
|
462 837 | pub fn get_required_double(&self) -> &::std::option::Option<f64> {
|
838 + | /* BuilderGenerator.kt:337 */
|
463 839 | &self.required_double
|
840 + | /* BuilderGenerator.kt:336 */
|
464 841 | }
|
842 + | /* BuilderGenerator.kt:286 */
|
465 843 | #[allow(missing_docs)] // documentation missing in model
|
466 - | /// This field is required.
|
844 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
845 + | /* BuilderGenerator.kt:291 */
|
467 846 | pub fn required_timestamp(mut self, input: ::aws_smithy_types::DateTime) -> Self {
|
847 + | /* BuilderGenerator.kt:292 */
|
468 848 | self.required_timestamp = ::std::option::Option::Some(input);
|
849 + | /* BuilderGenerator.kt:293 */
|
469 850 | self
|
851 + | /* BuilderGenerator.kt:291 */
|
470 852 | }
|
853 + | /* BuilderGenerator.kt:312 */
|
471 854 | #[allow(missing_docs)] // documentation missing in model
|
855 + | /* BuilderGenerator.kt:314 */
|
472 856 | pub fn set_required_timestamp(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
|
857 + | /* BuilderGenerator.kt:315 */
|
473 858 | self.required_timestamp = input;
|
474 859 | self
|
860 + | /* BuilderGenerator.kt:314 */
|
475 861 | }
|
862 + | /* BuilderGenerator.kt:334 */
|
476 863 | #[allow(missing_docs)] // documentation missing in model
|
864 + | /* BuilderGenerator.kt:336 */
|
477 865 | pub fn get_required_timestamp(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
|
866 + | /* BuilderGenerator.kt:337 */
|
478 867 | &self.required_timestamp
|
868 + | /* BuilderGenerator.kt:336 */
|
479 869 | }
|
870 + | /* BuilderGenerator.kt:286 */
|
480 871 | #[allow(missing_docs)] // documentation missing in model
|
481 - | /// This field is required.
|
872 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
873 + | /* BuilderGenerator.kt:291 */
|
482 874 | pub fn required_enum(mut self, input: crate::types::Suit) -> Self {
|
875 + | /* BuilderGenerator.kt:292 */
|
483 876 | self.required_enum = ::std::option::Option::Some(input);
|
877 + | /* BuilderGenerator.kt:293 */
|
484 878 | self
|
879 + | /* BuilderGenerator.kt:291 */
|
485 880 | }
|
881 + | /* BuilderGenerator.kt:312 */
|
486 882 | #[allow(missing_docs)] // documentation missing in model
|
883 + | /* BuilderGenerator.kt:314 */
|
487 884 | pub fn set_required_enum(mut self, input: ::std::option::Option<crate::types::Suit>) -> Self {
|
885 + | /* BuilderGenerator.kt:315 */
|
488 886 | self.required_enum = input;
|
489 887 | self
|
888 + | /* BuilderGenerator.kt:314 */
|
490 889 | }
|
890 + | /* BuilderGenerator.kt:334 */
|
491 891 | #[allow(missing_docs)] // documentation missing in model
|
892 + | /* BuilderGenerator.kt:336 */
|
492 893 | pub fn get_required_enum(&self) -> &::std::option::Option<crate::types::Suit> {
|
894 + | /* BuilderGenerator.kt:337 */
|
493 895 | &self.required_enum
|
896 + | /* BuilderGenerator.kt:336 */
|
494 897 | }
|
495 - | /// Consumes the builder and constructs a [`ErrorSerializationOperationInput`](crate::operation::error_serialization_operation::ErrorSerializationOperationInput).
|
898 + | /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`ErrorSerializationOperationInput`](crate::operation::error_serialization_operation::ErrorSerializationOperationInput).
|
899 + | /* BuilderGenerator.kt:253 */
|
496 900 | pub fn build(
|
497 901 | self,
|
498 902 | ) -> ::std::result::Result<
|
499 903 | crate::operation::error_serialization_operation::ErrorSerializationOperationInput,
|
500 904 | ::aws_smithy_types::error::operation::BuildError,
|
501 905 | > {
|
502 - | ::std::result::Result::Ok(crate::operation::error_serialization_operation::ErrorSerializationOperationInput {
|
503 - | blob: self.blob,
|
906 + | /* BuilderGenerator.kt:254 */
|
907 + | ::std::result::Result::Ok(
|
908 + | /* BuilderGenerator.kt:477 */
|
909 + | crate::operation::error_serialization_operation::ErrorSerializationOperationInput {
|
910 + | /* BuilderGenerator.kt:481 */ blob: self.blob,
|
911 + | /* BuilderGenerator.kt:481 */
|
504 912 | boolean: self.boolean,
|
913 + | /* BuilderGenerator.kt:481 */
|
505 914 | string: self.string,
|
915 + | /* BuilderGenerator.kt:481 */
|
506 916 | byte: self.byte,
|
917 + | /* BuilderGenerator.kt:481 */
|
507 918 | short: self.short,
|
919 + | /* BuilderGenerator.kt:481 */
|
508 920 | integer: self.integer,
|
921 + | /* BuilderGenerator.kt:481 */
|
509 922 | long: self.long,
|
923 + | /* BuilderGenerator.kt:481 */
|
510 924 | float: self.float,
|
925 + | /* BuilderGenerator.kt:481 */
|
511 926 | double: self.double,
|
927 + | /* BuilderGenerator.kt:481 */
|
512 928 | timestamp: self.timestamp,
|
929 + | /* BuilderGenerator.kt:481 */
|
513 930 | r#enum: self.r#enum,
|
931 + | /* BuilderGenerator.kt:481 */
|
514 932 | required_blob: self.required_blob,
|
933 + | /* BuilderGenerator.kt:481 */
|
515 934 | required_boolean: self.required_boolean,
|
935 + | /* BuilderGenerator.kt:481 */
|
516 936 | required_string: self.required_string,
|
937 + | /* BuilderGenerator.kt:481 */
|
517 938 | required_byte: self.required_byte,
|
939 + | /* BuilderGenerator.kt:481 */
|
518 940 | required_short: self.required_short,
|
941 + | /* BuilderGenerator.kt:481 */
|
519 942 | required_integer: self.required_integer,
|
943 + | /* BuilderGenerator.kt:481 */
|
520 944 | required_long: self.required_long,
|
945 + | /* BuilderGenerator.kt:481 */
|
521 946 | required_float: self.required_float,
|
947 + | /* BuilderGenerator.kt:481 */
|
522 948 | required_double: self.required_double,
|
949 + | /* BuilderGenerator.kt:481 */
|
523 950 | required_timestamp: self.required_timestamp,
|
951 + | /* BuilderGenerator.kt:481 */
|
524 952 | required_enum: self.required_enum,
|
525 - | })
|
953 + | /* BuilderGenerator.kt:477 */
|
954 + | }, /* BuilderGenerator.kt:254 */
|
955 + | )
|
956 + | /* BuilderGenerator.kt:253 */
|
526 957 | }
|
958 + | /* BuilderGenerator.kt:355 */
|
527 959 | }
|