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