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