1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 2 | #[::pyo3::pyclass]
|
3 3 | /// :rtype None:
|
4 4 | #[allow(missing_docs)] // documentation missing in model
|
5 5 | #[derive(
|
6 6 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
7 7 | )]
|
8 - | pub struct ContentTypeParametersOutput {}
|
8 + | pub struct EmptyOperationOutput {}
|
9 9 | #[allow(clippy::new_without_default)]
|
10 10 | #[allow(clippy::too_many_arguments)]
|
11 11 | #[::pyo3::pymethods]
|
12 - | impl ContentTypeParametersOutput {
|
12 + | impl EmptyOperationOutput {
|
13 13 | #[new]
|
14 14 | pub fn new() -> Self {
|
15 15 | Self {}
|
16 16 | }
|
17 17 | fn __repr__(&self) -> String {
|
18 18 | format!("{self:?}")
|
19 19 | }
|
20 20 | fn __str__(&self) -> String {
|
21 21 | format!("{self:?}")
|
22 22 | }
|
23 23 | }
|
24 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ContentTypeParametersOutput> {
|
24 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EmptyOperationOutput> {
|
25 25 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
26 - | ob.extract::<ContentTypeParametersOutput>().map(Box::new)
|
26 + | ob.extract::<EmptyOperationOutput>().map(Box::new)
|
27 27 | }
|
28 28 | }
|
29 29 |
|
30 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ContentTypeParametersOutput> {
|
30 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EmptyOperationOutput> {
|
31 31 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
32 32 | (*self).into_py(py)
|
33 33 | }
|
34 34 | }
|
35 - | impl ContentTypeParametersOutput {
|
36 - | /// Creates a new builder-style object to manufacture [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
37 - | pub fn builder() -> crate::output::content_type_parameters_output::Builder {
|
38 - | crate::output::content_type_parameters_output::Builder::default()
|
35 + | impl EmptyOperationOutput {
|
36 + | /// Creates a new builder-style object to manufacture [`EmptyOperationOutput`](crate::output::EmptyOperationOutput).
|
37 + | pub fn builder() -> crate::output::empty_operation_output::Builder {
|
38 + | crate::output::empty_operation_output::Builder::default()
|
39 39 | }
|
40 40 | }
|
41 41 |
|
42 42 | #[::pyo3::pyclass]
|
43 + | /// :param blob typing.Optional\[json_rpc11.types.Blob\]:
|
44 + | /// :param boolean typing.Optional\[bool\]:
|
45 + | /// :param double typing.Optional\[float\]:
|
46 + | /// :param empty_struct typing.Optional\[json_rpc11.model.EmptyStruct\]:
|
47 + | /// :param float typing.Optional\[float\]:
|
48 + | /// :param httpdate_timestamp typing.Optional\[json_rpc11.types.DateTime\]:
|
49 + | /// :param integer typing.Optional\[int\]:
|
50 + | /// :param iso8601_timestamp typing.Optional\[json_rpc11.types.DateTime\]:
|
51 + | /// :param json_value typing.Optional\[str\]:
|
52 + | /// :param list_of_lists typing.Optional\[typing.List\[typing.List\[str\]\]\]:
|
53 + | /// :param list_of_maps_of_strings typing.Optional\[typing.List\[typing.Dict\[str, str\]\]\]:
|
54 + | /// :param list_of_strings typing.Optional\[typing.List\[str\]\]:
|
55 + | /// :param list_of_structs typing.Optional\[typing.List\[json_rpc11.model.SimpleStruct\]\]:
|
56 + | /// :param long typing.Optional\[int\]:
|
57 + | /// :param map_of_lists_of_strings typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
58 + | /// :param map_of_maps typing.Optional\[typing.Dict\[str, typing.Dict\[str, str\]\]\]:
|
59 + | /// :param map_of_strings typing.Optional\[typing.Dict\[str, str\]\]:
|
60 + | /// :param map_of_structs typing.Optional\[typing.Dict\[str, json_rpc11.model.SimpleStruct\]\]:
|
61 + | /// :param recursive_list typing.Optional\[typing.List\[json_rpc11.model.KitchenSink\]\]:
|
62 + | /// :param recursive_map typing.Optional\[typing.Dict\[str, json_rpc11.model.KitchenSink\]\]:
|
63 + | /// :param recursive_struct typing.Optional\[json_rpc11.model.KitchenSink\]:
|
64 + | /// :param simple_struct typing.Optional\[json_rpc11.model.SimpleStruct\]:
|
65 + | /// :param string typing.Optional\[str\]:
|
66 + | /// :param struct_with_json_name typing.Optional\[json_rpc11.model.StructWithJsonName\]:
|
67 + | /// :param timestamp typing.Optional\[json_rpc11.types.DateTime\]:
|
68 + | /// :param unix_timestamp typing.Optional\[json_rpc11.types.DateTime\]:
|
43 69 | /// :rtype None:
|
44 70 | #[allow(missing_docs)] // documentation missing in model
|
45 - | #[derive(
|
46 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
47 - | )]
|
48 - | pub struct PutWithContentEncodingOutput {}
|
49 - | #[allow(clippy::new_without_default)]
|
50 - | #[allow(clippy::too_many_arguments)]
|
51 - | #[::pyo3::pymethods]
|
52 - | impl PutWithContentEncodingOutput {
|
53 - | #[new]
|
54 - | pub fn new() -> Self {
|
55 - | Self {}
|
71 + | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
72 + | pub struct KitchenSinkOperationOutput {
|
73 + | #[pyo3(get, set)]
|
74 + | /// :type typing.Optional\[json_rpc11.types.Blob\]:
|
75 + | #[allow(missing_docs)] // documentation missing in model
|
76 + | pub blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
77 + | #[pyo3(get, set)]
|
78 + | /// :type typing.Optional\[bool\]:
|
79 + | #[allow(missing_docs)] // documentation missing in model
|
80 + | pub boolean: ::std::option::Option<bool>,
|
81 + | #[pyo3(get, set)]
|
82 + | /// :type typing.Optional\[float\]:
|
83 + | #[allow(missing_docs)] // documentation missing in model
|
84 + | pub double: ::std::option::Option<f64>,
|
85 + | #[pyo3(get, set)]
|
86 + | /// :type typing.Optional\[json_rpc11.model.EmptyStruct\]:
|
87 + | #[allow(missing_docs)] // documentation missing in model
|
88 + | pub empty_struct: ::std::option::Option<crate::model::EmptyStruct>,
|
89 + | #[pyo3(get, set)]
|
90 + | /// :type typing.Optional\[float\]:
|
91 + | #[allow(missing_docs)] // documentation missing in model
|
92 + | pub float: ::std::option::Option<f32>,
|
93 + | #[pyo3(get, set)]
|
94 + | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
95 + | #[allow(missing_docs)] // documentation missing in model
|
96 + | pub httpdate_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
97 + | #[pyo3(get, set)]
|
98 + | /// :type typing.Optional\[int\]:
|
99 + | #[allow(missing_docs)] // documentation missing in model
|
100 + | pub integer: ::std::option::Option<i32>,
|
101 + | #[pyo3(get, set)]
|
102 + | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
103 + | #[allow(missing_docs)] // documentation missing in model
|
104 + | pub iso8601_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
105 + | #[pyo3(get, set)]
|
106 + | /// :type typing.Optional\[str\]:
|
107 + | #[allow(missing_docs)] // documentation missing in model
|
108 + | pub json_value: ::std::option::Option<::std::string::String>,
|
109 + | #[pyo3(get, set)]
|
110 + | /// :type typing.Optional\[typing.List\[typing.List\[str\]\]\]:
|
111 + | #[allow(missing_docs)] // documentation missing in model
|
112 + | pub list_of_lists:
|
113 + | ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
114 + | #[pyo3(get, set)]
|
115 + | /// :type typing.Optional\[typing.List\[typing.Dict\[str, str\]\]\]:
|
116 + | #[allow(missing_docs)] // documentation missing in model
|
117 + | pub list_of_maps_of_strings: ::std::option::Option<
|
118 + | ::std::vec::Vec<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
119 + | >,
|
120 + | #[pyo3(get, set)]
|
121 + | /// :type typing.Optional\[typing.List\[str\]\]:
|
122 + | #[allow(missing_docs)] // documentation missing in model
|
123 + | pub list_of_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
124 + | #[pyo3(get, set)]
|
125 + | /// :type typing.Optional\[typing.List\[json_rpc11.model.SimpleStruct\]\]:
|
126 + | #[allow(missing_docs)] // documentation missing in model
|
127 + | pub list_of_structs: ::std::option::Option<::std::vec::Vec<crate::model::SimpleStruct>>,
|
128 + | #[pyo3(get, set)]
|
129 + | /// :type typing.Optional\[int\]:
|
130 + | #[allow(missing_docs)] // documentation missing in model
|
131 + | pub long: ::std::option::Option<i64>,
|
132 + | #[pyo3(get, set)]
|
133 + | /// :type typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
134 + | #[allow(missing_docs)] // documentation missing in model
|
135 + | pub map_of_lists_of_strings: ::std::option::Option<
|
136 + | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
137 + | >,
|
138 + | #[pyo3(get, set)]
|
139 + | /// :type typing.Optional\[typing.Dict\[str, typing.Dict\[str, str\]\]\]:
|
140 + | #[allow(missing_docs)] // documentation missing in model
|
141 + | pub map_of_maps: ::std::option::Option<
|
142 + | ::std::collections::HashMap<
|
143 + | ::std::string::String,
|
144 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
145 + | >,
|
146 + | >,
|
147 + | #[pyo3(get, set)]
|
148 + | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
149 + | #[allow(missing_docs)] // documentation missing in model
|
150 + | pub map_of_strings: ::std::option::Option<
|
151 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
152 + | >,
|
153 + | #[pyo3(get, set)]
|
154 + | /// :type typing.Optional\[typing.Dict\[str, json_rpc11.model.SimpleStruct\]\]:
|
155 + | #[allow(missing_docs)] // documentation missing in model
|
156 + | pub map_of_structs: ::std::option::Option<
|
157 + | ::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
158 + | >,
|
159 + | #[pyo3(get, set)]
|
160 + | /// :type typing.Optional\[typing.List\[json_rpc11.model.KitchenSink\]\]:
|
161 + | #[allow(missing_docs)] // documentation missing in model
|
162 + | pub recursive_list: ::std::option::Option<::std::vec::Vec<crate::model::KitchenSink>>,
|
163 + | #[pyo3(get, set)]
|
164 + | /// :type typing.Optional\[typing.Dict\[str, json_rpc11.model.KitchenSink\]\]:
|
165 + | #[allow(missing_docs)] // documentation missing in model
|
166 + | pub recursive_map: ::std::option::Option<
|
167 + | ::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
168 + | >,
|
169 + | #[pyo3(get, set)]
|
170 + | /// :type typing.Optional\[json_rpc11.model.KitchenSink\]:
|
171 + | #[allow(missing_docs)] // documentation missing in model
|
172 + | pub recursive_struct: ::std::option::Option<::std::boxed::Box<crate::model::KitchenSink>>,
|
173 + | #[pyo3(get, set)]
|
174 + | /// :type typing.Optional\[json_rpc11.model.SimpleStruct\]:
|
175 + | #[allow(missing_docs)] // documentation missing in model
|
176 + | pub simple_struct: ::std::option::Option<crate::model::SimpleStruct>,
|
177 + | #[pyo3(get, set)]
|
178 + | /// :type typing.Optional\[str\]:
|
179 + | #[allow(missing_docs)] // documentation missing in model
|
180 + | pub string: ::std::option::Option<::std::string::String>,
|
181 + | #[pyo3(get, set)]
|
182 + | /// :type typing.Optional\[json_rpc11.model.StructWithJsonName\]:
|
183 + | #[allow(missing_docs)] // documentation missing in model
|
184 + | pub struct_with_json_name: ::std::option::Option<crate::model::StructWithJsonName>,
|
185 + | #[pyo3(get, set)]
|
186 + | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
187 + | #[allow(missing_docs)] // documentation missing in model
|
188 + | pub timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
189 + | #[pyo3(get, set)]
|
190 + | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
191 + | #[allow(missing_docs)] // documentation missing in model
|
192 + | pub unix_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
193 + | }
|
194 + | impl KitchenSinkOperationOutput {
|
195 + | #[allow(missing_docs)] // documentation missing in model
|
196 + | pub fn blob(&self) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
197 + | self.blob.as_ref()
|
56 198 | }
|
57 - | fn __repr__(&self) -> String {
|
58 - | format!("{self:?}")
|
199 + | #[allow(missing_docs)] // documentation missing in model
|
200 + | pub fn boolean(&self) -> ::std::option::Option<bool> {
|
201 + | self.boolean
|
59 202 | }
|
60 - | fn __str__(&self) -> String {
|
61 - | format!("{self:?}")
|
203 + | #[allow(missing_docs)] // documentation missing in model
|
204 + | pub fn double(&self) -> ::std::option::Option<f64> {
|
205 + | self.double
|
62 206 | }
|
63 - | }
|
64 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PutWithContentEncodingOutput> {
|
65 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
66 - | ob.extract::<PutWithContentEncodingOutput>().map(Box::new)
|
207 + | #[allow(missing_docs)] // documentation missing in model
|
208 + | pub fn empty_struct(&self) -> ::std::option::Option<&crate::model::EmptyStruct> {
|
209 + | self.empty_struct.as_ref()
|
67 210 | }
|
68 - | }
|
69 - |
|
70 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PutWithContentEncodingOutput> {
|
71 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
72 - | (*self).into_py(py)
|
211 + | #[allow(missing_docs)] // documentation missing in model
|
212 + | pub fn float(&self) -> ::std::option::Option<f32> {
|
213 + | self.float
|
73 214 | }
|
74 - | }
|
75 - | impl PutWithContentEncodingOutput {
|
76 - | /// Creates a new builder-style object to manufacture [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
77 - | pub fn builder() -> crate::output::put_with_content_encoding_output::Builder {
|
78 - | crate::output::put_with_content_encoding_output::Builder::default()
|
215 + | #[allow(missing_docs)] // documentation missing in model
|
216 + | pub fn httpdate_timestamp(
|
217 + | &self,
|
218 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
219 + | self.httpdate_timestamp.as_ref()
|
79 220 | }
|
80 - | }
|
81 - |
|
82 - | #[::pyo3::pyclass]
|
83 - | /// :param datetime typing.Optional\[json_rpc11.types.DateTime\]:
|
84 - | /// :rtype None:
|
85 - | #[allow(missing_docs)] // documentation missing in model
|
86 - | #[derive(
|
87 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
88 - | )]
|
89 - | pub struct FractionalSecondsOutput {
|
90 - | #[pyo3(get, set)]
|
91 - | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
92 221 | #[allow(missing_docs)] // documentation missing in model
|
93 - | pub datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
94 - | }
|
95 - | impl FractionalSecondsOutput {
|
222 + | pub fn integer(&self) -> ::std::option::Option<i32> {
|
223 + | self.integer
|
224 + | }
|
96 225 | #[allow(missing_docs)] // documentation missing in model
|
97 - | pub fn datetime(
|
226 + | pub fn iso8601_timestamp(
|
98 227 | &self,
|
99 228 | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
100 - | self.datetime.as_ref()
|
101 - | }
|
102 - | }
|
103 - | #[allow(clippy::new_without_default)]
|
104 - | #[allow(clippy::too_many_arguments)]
|
105 - | #[::pyo3::pymethods]
|
106 - | impl FractionalSecondsOutput {
|
107 - | #[new]
|
108 - | pub fn new(
|
109 - | datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
110 - | ) -> Self {
|
111 - | Self { datetime }
|
229 + | self.iso8601_timestamp.as_ref()
|
112 230 | }
|
113 - | fn __repr__(&self) -> String {
|
114 - | format!("{self:?}")
|
231 + | #[allow(missing_docs)] // documentation missing in model
|
232 + | pub fn json_value(&self) -> ::std::option::Option<&str> {
|
233 + | self.json_value.as_deref()
|
115 234 | }
|
116 - | fn __str__(&self) -> String {
|
235 + | #[allow(missing_docs)] // documentation missing in model
|
236 + | pub fn list_of_lists(
|
237 + | &self,
|
238 + | ) -> ::std::option::Option<&[::std::vec::Vec<::std::string::String>]> {
|
239 + | self.list_of_lists.as_deref()
|
240 + | }
|
241 + | #[allow(missing_docs)] // documentation missing in model
|
242 + | pub fn list_of_maps_of_strings(
|
243 + | &self,
|
244 + | ) -> ::std::option::Option<
|
245 + | &[::std::collections::HashMap<::std::string::String, ::std::string::String>],
|
246 + | > {
|
247 + | self.list_of_maps_of_strings.as_deref()
|
248 + | }
|
249 + | #[allow(missing_docs)] // documentation missing in model
|
250 + | pub fn list_of_strings(&self) -> ::std::option::Option<&[::std::string::String]> {
|
251 + | self.list_of_strings.as_deref()
|
252 + | }
|
253 + | #[allow(missing_docs)] // documentation missing in model
|
254 + | pub fn list_of_structs(&self) -> ::std::option::Option<&[crate::model::SimpleStruct]> {
|
255 + | self.list_of_structs.as_deref()
|
256 + | }
|
257 + | #[allow(missing_docs)] // documentation missing in model
|
258 + | pub fn long(&self) -> ::std::option::Option<i64> {
|
259 + | self.long
|
260 + | }
|
261 + | #[allow(missing_docs)] // documentation missing in model
|
262 + | pub fn map_of_lists_of_strings(
|
263 + | &self,
|
264 + | ) -> ::std::option::Option<
|
265 + | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
266 + | > {
|
267 + | self.map_of_lists_of_strings.as_ref()
|
268 + | }
|
269 + | #[allow(missing_docs)] // documentation missing in model
|
270 + | pub fn map_of_maps(
|
271 + | &self,
|
272 + | ) -> ::std::option::Option<
|
273 + | &::std::collections::HashMap<
|
274 + | ::std::string::String,
|
275 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
276 + | >,
|
277 + | > {
|
278 + | self.map_of_maps.as_ref()
|
279 + | }
|
280 + | #[allow(missing_docs)] // documentation missing in model
|
281 + | pub fn map_of_strings(
|
282 + | &self,
|
283 + | ) -> ::std::option::Option<
|
284 + | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
285 + | > {
|
286 + | self.map_of_strings.as_ref()
|
287 + | }
|
288 + | #[allow(missing_docs)] // documentation missing in model
|
289 + | pub fn map_of_structs(
|
290 + | &self,
|
291 + | ) -> ::std::option::Option<
|
292 + | &::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
293 + | > {
|
294 + | self.map_of_structs.as_ref()
|
295 + | }
|
296 + | #[allow(missing_docs)] // documentation missing in model
|
297 + | pub fn recursive_list(&self) -> ::std::option::Option<&[crate::model::KitchenSink]> {
|
298 + | self.recursive_list.as_deref()
|
299 + | }
|
300 + | #[allow(missing_docs)] // documentation missing in model
|
301 + | pub fn recursive_map(
|
302 + | &self,
|
303 + | ) -> ::std::option::Option<
|
304 + | &::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
305 + | > {
|
306 + | self.recursive_map.as_ref()
|
307 + | }
|
308 + | #[allow(missing_docs)] // documentation missing in model
|
309 + | pub fn recursive_struct(&self) -> ::std::option::Option<&crate::model::KitchenSink> {
|
310 + | self.recursive_struct.as_deref()
|
311 + | }
|
312 + | #[allow(missing_docs)] // documentation missing in model
|
313 + | pub fn simple_struct(&self) -> ::std::option::Option<&crate::model::SimpleStruct> {
|
314 + | self.simple_struct.as_ref()
|
315 + | }
|
316 + | #[allow(missing_docs)] // documentation missing in model
|
317 + | pub fn string(&self) -> ::std::option::Option<&str> {
|
318 + | self.string.as_deref()
|
319 + | }
|
320 + | #[allow(missing_docs)] // documentation missing in model
|
321 + | pub fn struct_with_json_name(
|
322 + | &self,
|
323 + | ) -> ::std::option::Option<&crate::model::StructWithJsonName> {
|
324 + | self.struct_with_json_name.as_ref()
|
325 + | }
|
326 + | #[allow(missing_docs)] // documentation missing in model
|
327 + | pub fn timestamp(
|
328 + | &self,
|
329 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
330 + | self.timestamp.as_ref()
|
331 + | }
|
332 + | #[allow(missing_docs)] // documentation missing in model
|
333 + | pub fn unix_timestamp(
|
334 + | &self,
|
335 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
336 + | self.unix_timestamp.as_ref()
|
337 + | }
|
338 + | }
|
339 + | #[allow(clippy::new_without_default)]
|
340 + | #[allow(clippy::too_many_arguments)]
|
341 + | #[::pyo3::pymethods]
|
342 + | impl KitchenSinkOperationOutput {
|
343 + | #[new]
|
344 + | pub fn new(
|
345 + | blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
346 + | boolean: ::std::option::Option<bool>,
|
347 + | double: ::std::option::Option<f64>,
|
348 + | empty_struct: ::std::option::Option<crate::model::EmptyStruct>,
|
349 + | float: ::std::option::Option<f32>,
|
350 + | httpdate_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
351 + | integer: ::std::option::Option<i32>,
|
352 + | iso8601_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
353 + | json_value: ::std::option::Option<::std::string::String>,
|
354 + | list_of_lists: ::std::option::Option<
|
355 + | ::std::vec::Vec<::std::vec::Vec<::std::string::String>>,
|
356 + | >,
|
357 + | list_of_maps_of_strings: ::std::option::Option<
|
358 + | ::std::vec::Vec<
|
359 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
360 + | >,
|
361 + | >,
|
362 + | list_of_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
363 + | list_of_structs: ::std::option::Option<::std::vec::Vec<crate::model::SimpleStruct>>,
|
364 + | long: ::std::option::Option<i64>,
|
365 + | map_of_lists_of_strings: ::std::option::Option<
|
366 + | ::std::collections::HashMap<
|
367 + | ::std::string::String,
|
368 + | ::std::vec::Vec<::std::string::String>,
|
369 + | >,
|
370 + | >,
|
371 + | map_of_maps: ::std::option::Option<
|
372 + | ::std::collections::HashMap<
|
373 + | ::std::string::String,
|
374 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
375 + | >,
|
376 + | >,
|
377 + | map_of_strings: ::std::option::Option<
|
378 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
379 + | >,
|
380 + | map_of_structs: ::std::option::Option<
|
381 + | ::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
382 + | >,
|
383 + | recursive_list: ::std::option::Option<::std::vec::Vec<crate::model::KitchenSink>>,
|
384 + | recursive_map: ::std::option::Option<
|
385 + | ::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
386 + | >,
|
387 + | recursive_struct: ::std::option::Option<::std::boxed::Box<crate::model::KitchenSink>>,
|
388 + | simple_struct: ::std::option::Option<crate::model::SimpleStruct>,
|
389 + | string: ::std::option::Option<::std::string::String>,
|
390 + | struct_with_json_name: ::std::option::Option<crate::model::StructWithJsonName>,
|
391 + | timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
392 + | unix_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
393 + | ) -> Self {
|
394 + | Self {
|
395 + | blob,
|
396 + | boolean,
|
397 + | double,
|
398 + | empty_struct,
|
399 + | float,
|
400 + | httpdate_timestamp,
|
401 + | integer,
|
402 + | iso8601_timestamp,
|
403 + | json_value,
|
404 + | list_of_lists,
|
405 + | list_of_maps_of_strings,
|
406 + | list_of_strings,
|
407 + | list_of_structs,
|
408 + | long,
|
409 + | map_of_lists_of_strings,
|
410 + | map_of_maps,
|
411 + | map_of_strings,
|
412 + | map_of_structs,
|
413 + | recursive_list,
|
414 + | recursive_map,
|
415 + | recursive_struct,
|
416 + | simple_struct,
|
417 + | string,
|
418 + | struct_with_json_name,
|
419 + | timestamp,
|
420 + | unix_timestamp,
|
421 + | }
|
422 + | }
|
423 + | fn __repr__(&self) -> String {
|
424 + | format!("{self:?}")
|
425 + | }
|
426 + | fn __str__(&self) -> String {
|
117 427 | format!("{self:?}")
|
118 428 | }
|
119 429 | }
|
120 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<FractionalSecondsOutput> {
|
430 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<KitchenSinkOperationOutput> {
|
121 431 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
122 - | ob.extract::<FractionalSecondsOutput>().map(Box::new)
|
432 + | ob.extract::<KitchenSinkOperationOutput>().map(Box::new)
|
123 433 | }
|
124 434 | }
|
125 435 |
|
126 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<FractionalSecondsOutput> {
|
436 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<KitchenSinkOperationOutput> {
|
127 437 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
128 438 | (*self).into_py(py)
|
129 439 | }
|
130 440 | }
|
131 - | impl FractionalSecondsOutput {
|
132 - | /// Creates a new builder-style object to manufacture [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
133 - | pub fn builder() -> crate::output::fractional_seconds_output::Builder {
|
134 - | crate::output::fractional_seconds_output::Builder::default()
|
441 + | impl KitchenSinkOperationOutput {
|
442 + | /// Creates a new builder-style object to manufacture [`KitchenSinkOperationOutput`](crate::output::KitchenSinkOperationOutput).
|
443 + | pub fn builder() -> crate::output::kitchen_sink_operation_output::Builder {
|
444 + | crate::output::kitchen_sink_operation_output::Builder::default()
|
135 445 | }
|
136 446 | }
|
137 447 |
|
138 448 | #[::pyo3::pyclass]
|
139 - | /// :param datetime typing.Optional\[json_rpc11.types.DateTime\]:
|
449 + | /// :param float_value typing.Optional\[float\]:
|
450 + | /// :param double_value typing.Optional\[float\]:
|
140 451 | /// :rtype None:
|
141 452 | #[allow(missing_docs)] // documentation missing in model
|
142 - | #[derive(
|
143 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
144 - | )]
|
145 - | pub struct DatetimeOffsetsOutput {
|
453 + | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
454 + | pub struct SimpleScalarPropertiesOutput {
|
146 455 | #[pyo3(get, set)]
|
147 - | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
456 + | /// :type typing.Optional\[float\]:
|
148 457 | #[allow(missing_docs)] // documentation missing in model
|
149 - | pub datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
458 + | pub float_value: ::std::option::Option<f32>,
|
459 + | #[pyo3(get, set)]
|
460 + | /// :type typing.Optional\[float\]:
|
461 + | #[allow(missing_docs)] // documentation missing in model
|
462 + | pub double_value: ::std::option::Option<f64>,
|
150 463 | }
|
151 - | impl DatetimeOffsetsOutput {
|
464 + | impl SimpleScalarPropertiesOutput {
|
152 465 | #[allow(missing_docs)] // documentation missing in model
|
153 - | pub fn datetime(
|
154 - | &self,
|
155 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
156 - | self.datetime.as_ref()
|
466 + | pub fn float_value(&self) -> ::std::option::Option<f32> {
|
467 + | self.float_value
|
468 + | }
|
469 + | #[allow(missing_docs)] // documentation missing in model
|
470 + | pub fn double_value(&self) -> ::std::option::Option<f64> {
|
471 + | self.double_value
|
157 472 | }
|
158 473 | }
|
159 474 | #[allow(clippy::new_without_default)]
|
160 475 | #[allow(clippy::too_many_arguments)]
|
161 476 | #[::pyo3::pymethods]
|
162 - | impl DatetimeOffsetsOutput {
|
477 + | impl SimpleScalarPropertiesOutput {
|
163 478 | #[new]
|
164 479 | pub fn new(
|
165 - | datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
480 + | float_value: ::std::option::Option<f32>,
|
481 + | double_value: ::std::option::Option<f64>,
|
166 482 | ) -> Self {
|
167 - | Self { datetime }
|
483 + | Self {
|
484 + | float_value,
|
485 + | double_value,
|
486 + | }
|
168 487 | }
|
169 488 | fn __repr__(&self) -> String {
|
170 489 | format!("{self:?}")
|
171 490 | }
|
172 491 | fn __str__(&self) -> String {
|
173 492 | format!("{self:?}")
|
174 493 | }
|
175 494 | }
|
176 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<DatetimeOffsetsOutput> {
|
495 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<SimpleScalarPropertiesOutput> {
|
177 496 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
178 - | ob.extract::<DatetimeOffsetsOutput>().map(Box::new)
|
497 + | ob.extract::<SimpleScalarPropertiesOutput>().map(Box::new)
|
179 498 | }
|
180 499 | }
|
181 500 |
|
182 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<DatetimeOffsetsOutput> {
|
501 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<SimpleScalarPropertiesOutput> {
|
183 502 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
184 503 | (*self).into_py(py)
|
185 504 | }
|
186 505 | }
|
187 - | impl DatetimeOffsetsOutput {
|
188 - | /// Creates a new builder-style object to manufacture [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
189 - | pub fn builder() -> crate::output::datetime_offsets_output::Builder {
|
190 - | crate::output::datetime_offsets_output::Builder::default()
|
191 - | }
|
506 + | impl SimpleScalarPropertiesOutput {
|
507 + | /// Creates a new builder-style object to manufacture [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
508 + | pub fn builder() -> crate::output::simple_scalar_properties_output::Builder {
|
509 + | crate::output::simple_scalar_properties_output::Builder::default()
|
510 + | }
|
192 511 | }
|
193 512 |
|
194 513 | #[::pyo3::pyclass]
|
514 + | /// :param value typing.Optional\[str\]:
|
195 515 | /// :rtype None:
|
196 516 | #[allow(missing_docs)] // documentation missing in model
|
197 517 | #[derive(
|
198 518 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
199 519 | )]
|
200 - | pub struct HostWithPathOperationOutput {}
|
201 - | #[allow(clippy::new_without_default)]
|
202 - | #[allow(clippy::too_many_arguments)]
|
203 - | #[::pyo3::pymethods]
|
204 - | impl HostWithPathOperationOutput {
|
205 - | #[new]
|
206 - | pub fn new() -> Self {
|
207 - | Self {}
|
208 - | }
|
209 - | fn __repr__(&self) -> String {
|
210 - | format!("{self:?}")
|
211 - | }
|
212 - | fn __str__(&self) -> String {
|
213 - | format!("{self:?}")
|
214 - | }
|
215 - | }
|
216 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HostWithPathOperationOutput> {
|
217 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
218 - | ob.extract::<HostWithPathOperationOutput>().map(Box::new)
|
219 - | }
|
220 - | }
|
221 - |
|
222 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HostWithPathOperationOutput> {
|
223 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
224 - | (*self).into_py(py)
|
225 - | }
|
520 + | pub struct OperationWithOptionalInputOutputOutput {
|
521 + | #[pyo3(get, set)]
|
522 + | /// :type typing.Optional\[str\]:
|
523 + | #[allow(missing_docs)] // documentation missing in model
|
524 + | pub value: ::std::option::Option<::std::string::String>,
|
226 525 | }
|
227 - | impl HostWithPathOperationOutput {
|
228 - | /// Creates a new builder-style object to manufacture [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
229 - | pub fn builder() -> crate::output::host_with_path_operation_output::Builder {
|
230 - | crate::output::host_with_path_operation_output::Builder::default()
|
526 + | impl OperationWithOptionalInputOutputOutput {
|
527 + | #[allow(missing_docs)] // documentation missing in model
|
528 + | pub fn value(&self) -> ::std::option::Option<&str> {
|
529 + | self.value.as_deref()
|
231 530 | }
|
232 531 | }
|
233 - |
|
234 - | #[::pyo3::pyclass]
|
235 - | /// :rtype None:
|
236 - | #[allow(missing_docs)] // documentation missing in model
|
237 - | #[derive(
|
238 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
239 - | )]
|
240 - | pub struct EndpointWithHostLabelOperationOutput {}
|
241 532 | #[allow(clippy::new_without_default)]
|
242 533 | #[allow(clippy::too_many_arguments)]
|
243 534 | #[::pyo3::pymethods]
|
244 - | impl EndpointWithHostLabelOperationOutput {
|
535 + | impl OperationWithOptionalInputOutputOutput {
|
245 536 | #[new]
|
246 - | pub fn new() -> Self {
|
247 - | Self {}
|
537 + | pub fn new(value: ::std::option::Option<::std::string::String>) -> Self {
|
538 + | Self { value }
|
248 539 | }
|
249 540 | fn __repr__(&self) -> String {
|
250 541 | format!("{self:?}")
|
251 542 | }
|
252 543 | fn __str__(&self) -> String {
|
253 544 | format!("{self:?}")
|
254 545 | }
|
255 546 | }
|
256 547 | impl<'source> ::pyo3::FromPyObject<'source>
|
257 - | for std::boxed::Box<EndpointWithHostLabelOperationOutput>
|
548 + | for std::boxed::Box<OperationWithOptionalInputOutputOutput>
|
258 549 | {
|
259 550 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
260 - | ob.extract::<EndpointWithHostLabelOperationOutput>()
|
551 + | ob.extract::<OperationWithOptionalInputOutputOutput>()
|
261 552 | .map(Box::new)
|
262 553 | }
|
263 554 | }
|
264 555 |
|
265 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EndpointWithHostLabelOperationOutput> {
|
556 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<OperationWithOptionalInputOutputOutput> {
|
266 557 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
267 558 | (*self).into_py(py)
|
268 559 | }
|
269 560 | }
|
270 - | impl EndpointWithHostLabelOperationOutput {
|
271 - | /// Creates a new builder-style object to manufacture [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
272 - | pub fn builder() -> crate::output::endpoint_with_host_label_operation_output::Builder {
|
273 - | crate::output::endpoint_with_host_label_operation_output::Builder::default()
|
561 + | impl OperationWithOptionalInputOutputOutput {
|
562 + | /// Creates a new builder-style object to manufacture [`OperationWithOptionalInputOutputOutput`](crate::output::OperationWithOptionalInputOutputOutput).
|
563 + | pub fn builder() -> crate::output::operation_with_optional_input_output_output::Builder {
|
564 + | crate::output::operation_with_optional_input_output_output::Builder::default()
|
274 565 | }
|
275 566 | }
|
276 567 |
|
277 568 | #[::pyo3::pyclass]
|
569 + | /// :param inline_document typing.Optional\[json_rpc11.types.Document\]:
|
278 570 | /// :rtype None:
|
279 571 | #[allow(missing_docs)] // documentation missing in model
|
280 - | #[derive(
|
281 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
282 - | )]
|
283 - | pub struct EndpointOperationOutput {}
|
572 + | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
573 + | pub struct PutAndGetInlineDocumentsOutput {
|
574 + | #[pyo3(get, set)]
|
575 + | /// :type typing.Optional\[json_rpc11.types.Document\]:
|
576 + | #[allow(missing_docs)] // documentation missing in model
|
577 + | pub inline_document: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
578 + | }
|
579 + | impl PutAndGetInlineDocumentsOutput {
|
580 + | #[allow(missing_docs)] // documentation missing in model
|
581 + | pub fn inline_document(
|
582 + | &self,
|
583 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Document> {
|
584 + | self.inline_document.as_ref()
|
585 + | }
|
586 + | }
|
284 587 | #[allow(clippy::new_without_default)]
|
285 588 | #[allow(clippy::too_many_arguments)]
|
286 589 | #[::pyo3::pymethods]
|
287 - | impl EndpointOperationOutput {
|
590 + | impl PutAndGetInlineDocumentsOutput {
|
288 591 | #[new]
|
289 - | pub fn new() -> Self {
|
290 - | Self {}
|
592 + | pub fn new(
|
593 + | inline_document: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
594 + | ) -> Self {
|
595 + | Self { inline_document }
|
291 596 | }
|
292 597 | fn __repr__(&self) -> String {
|
293 598 | format!("{self:?}")
|
294 599 | }
|
295 600 | fn __str__(&self) -> String {
|
296 601 | format!("{self:?}")
|
297 602 | }
|
298 603 | }
|
299 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EndpointOperationOutput> {
|
604 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PutAndGetInlineDocumentsOutput> {
|
300 605 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
301 - | ob.extract::<EndpointOperationOutput>().map(Box::new)
|
606 + | ob.extract::<PutAndGetInlineDocumentsOutput>().map(Box::new)
|
302 607 | }
|
303 608 | }
|
304 609 |
|
305 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EndpointOperationOutput> {
|
610 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PutAndGetInlineDocumentsOutput> {
|
306 611 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
307 612 | (*self).into_py(py)
|
308 613 | }
|
309 614 | }
|
310 - | impl EndpointOperationOutput {
|
311 - | /// Creates a new builder-style object to manufacture [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
312 - | pub fn builder() -> crate::output::endpoint_operation_output::Builder {
|
313 - | crate::output::endpoint_operation_output::Builder::default()
|
615 + | impl PutAndGetInlineDocumentsOutput {
|
616 + | /// Creates a new builder-style object to manufacture [`PutAndGetInlineDocumentsOutput`](crate::output::PutAndGetInlineDocumentsOutput).
|
617 + | pub fn builder() -> crate::output::put_and_get_inline_documents_output::Builder {
|
618 + | crate::output::put_and_get_inline_documents_output::Builder::default()
|
314 619 | }
|
315 620 | }
|
316 621 |
|
317 622 | #[::pyo3::pyclass]
|
318 - | /// :param contents typing.Optional\[json_rpc11.model.MyUnion\]:
|
623 + | /// :param foo_enum1 typing.Optional\[json_rpc11.model.FooEnum\]:
|
624 + | /// :param foo_enum2 typing.Optional\[json_rpc11.model.FooEnum\]:
|
625 + | /// :param foo_enum3 typing.Optional\[json_rpc11.model.FooEnum\]:
|
626 + | /// :param foo_enum_list typing.Optional\[typing.List\[json_rpc11.model.FooEnum\]\]:
|
627 + | /// :param foo_enum_set typing.Optional\[typing.List\[json_rpc11.model.FooEnum\]\]:
|
628 + | /// :param foo_enum_map typing.Optional\[typing.Dict\[str, json_rpc11.model.FooEnum\]\]:
|
319 629 | /// :rtype None:
|
320 - | /// A shared structure that contains a single union member.
|
630 + | #[allow(missing_docs)] // documentation missing in model
|
321 631 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
322 - | pub struct JsonUnionsOutput {
|
632 + | pub struct JsonEnumsOutput {
|
323 633 | #[pyo3(get, set)]
|
324 - | /// :type typing.Optional\[json_rpc11.model.MyUnion\]:
|
325 - | /// A union with a representative set of types for members.
|
326 - | pub contents: ::std::option::Option<crate::model::MyUnion>,
|
634 + | /// :type typing.Optional\[json_rpc11.model.FooEnum\]:
|
635 + | #[allow(missing_docs)] // documentation missing in model
|
636 + | pub foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
637 + | #[pyo3(get, set)]
|
638 + | /// :type typing.Optional\[json_rpc11.model.FooEnum\]:
|
639 + | #[allow(missing_docs)] // documentation missing in model
|
640 + | pub foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
641 + | #[pyo3(get, set)]
|
642 + | /// :type typing.Optional\[json_rpc11.model.FooEnum\]:
|
643 + | #[allow(missing_docs)] // documentation missing in model
|
644 + | pub foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
645 + | #[pyo3(get, set)]
|
646 + | /// :type typing.Optional\[typing.List\[json_rpc11.model.FooEnum\]\]:
|
647 + | #[allow(missing_docs)] // documentation missing in model
|
648 + | pub foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
649 + | #[pyo3(get, set)]
|
650 + | /// :type typing.Optional\[typing.List\[json_rpc11.model.FooEnum\]\]:
|
651 + | #[allow(missing_docs)] // documentation missing in model
|
652 + | pub foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
653 + | #[pyo3(get, set)]
|
654 + | /// :type typing.Optional\[typing.Dict\[str, json_rpc11.model.FooEnum\]\]:
|
655 + | #[allow(missing_docs)] // documentation missing in model
|
656 + | pub foo_enum_map: ::std::option::Option<
|
657 + | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
658 + | >,
|
327 659 | }
|
328 - | impl JsonUnionsOutput {
|
329 - | /// A union with a representative set of types for members.
|
330 - | pub fn contents(&self) -> ::std::option::Option<&crate::model::MyUnion> {
|
331 - | self.contents.as_ref()
|
660 + | impl JsonEnumsOutput {
|
661 + | #[allow(missing_docs)] // documentation missing in model
|
662 + | pub fn foo_enum1(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
663 + | self.foo_enum1.as_ref()
|
664 + | }
|
665 + | #[allow(missing_docs)] // documentation missing in model
|
666 + | pub fn foo_enum2(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
667 + | self.foo_enum2.as_ref()
|
668 + | }
|
669 + | #[allow(missing_docs)] // documentation missing in model
|
670 + | pub fn foo_enum3(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
671 + | self.foo_enum3.as_ref()
|
672 + | }
|
673 + | #[allow(missing_docs)] // documentation missing in model
|
674 + | pub fn foo_enum_list(&self) -> ::std::option::Option<&[crate::model::FooEnum]> {
|
675 + | self.foo_enum_list.as_deref()
|
676 + | }
|
677 + | #[allow(missing_docs)] // documentation missing in model
|
678 + | pub fn foo_enum_set(&self) -> ::std::option::Option<&[crate::model::FooEnum]> {
|
679 + | self.foo_enum_set.as_deref()
|
680 + | }
|
681 + | #[allow(missing_docs)] // documentation missing in model
|
682 + | pub fn foo_enum_map(
|
683 + | &self,
|
684 + | ) -> ::std::option::Option<
|
685 + | &::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
686 + | > {
|
687 + | self.foo_enum_map.as_ref()
|
332 688 | }
|
333 689 | }
|
334 690 | #[allow(clippy::new_without_default)]
|
335 691 | #[allow(clippy::too_many_arguments)]
|
336 692 | #[::pyo3::pymethods]
|
337 - | impl JsonUnionsOutput {
|
693 + | impl JsonEnumsOutput {
|
338 694 | #[new]
|
339 - | pub fn new(contents: ::std::option::Option<crate::model::MyUnion>) -> Self {
|
340 - | Self { contents }
|
695 + | pub fn new(
|
696 + | foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
697 + | foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
698 + | foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
699 + | foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
700 + | foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
701 + | foo_enum_map: ::std::option::Option<
|
702 + | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
703 + | >,
|
704 + | ) -> Self {
|
705 + | Self {
|
706 + | foo_enum1,
|
707 + | foo_enum2,
|
708 + | foo_enum3,
|
709 + | foo_enum_list,
|
710 + | foo_enum_set,
|
711 + | foo_enum_map,
|
712 + | }
|
341 713 | }
|
342 714 | fn __repr__(&self) -> String {
|
343 715 | format!("{self:?}")
|
344 716 | }
|
345 717 | fn __str__(&self) -> String {
|
346 718 | format!("{self:?}")
|
347 719 | }
|
348 720 | }
|
349 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonUnionsOutput> {
|
721 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonEnumsOutput> {
|
350 722 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
351 - | ob.extract::<JsonUnionsOutput>().map(Box::new)
|
723 + | ob.extract::<JsonEnumsOutput>().map(Box::new)
|
352 724 | }
|
353 725 | }
|
354 726 |
|
355 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonUnionsOutput> {
|
727 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonEnumsOutput> {
|
356 728 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
357 729 | (*self).into_py(py)
|
358 730 | }
|
359 731 | }
|
360 - | impl JsonUnionsOutput {
|
361 - | /// Creates a new builder-style object to manufacture [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
362 - | pub fn builder() -> crate::output::json_unions_output::Builder {
|
363 - | crate::output::json_unions_output::Builder::default()
|
732 + | impl JsonEnumsOutput {
|
733 + | /// Creates a new builder-style object to manufacture [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
734 + | pub fn builder() -> crate::output::json_enums_output::Builder {
|
735 + | crate::output::json_enums_output::Builder::default()
|
364 736 | }
|
365 737 | }
|
366 738 |
|
367 739 | #[::pyo3::pyclass]
|
368 - | /// :param greeting typing.Optional\[str\]:
|
740 + | /// :param int_enum1 typing.Optional\[int\]:
|
741 + | /// :param int_enum2 typing.Optional\[int\]:
|
742 + | /// :param int_enum3 typing.Optional\[int\]:
|
743 + | /// :param int_enum_list typing.Optional\[typing.List\[int\]\]:
|
744 + | /// :param int_enum_set typing.Optional\[typing.List\[int\]\]:
|
745 + | /// :param int_enum_map typing.Optional\[typing.Dict\[str, int\]\]:
|
369 746 | /// :rtype None:
|
370 747 | #[allow(missing_docs)] // documentation missing in model
|
371 - | #[derive(
|
372 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
373 - | )]
|
374 - | pub struct GreetingWithErrorsOutput {
|
748 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
749 + | pub struct JsonIntEnumsOutput {
|
375 750 | #[pyo3(get, set)]
|
376 - | /// :type typing.Optional\[str\]:
|
751 + | /// :type typing.Optional\[int\]:
|
377 752 | #[allow(missing_docs)] // documentation missing in model
|
378 - | pub greeting: ::std::option::Option<::std::string::String>,
|
379 - | }
|
380 - | impl GreetingWithErrorsOutput {
|
753 + | pub int_enum1: ::std::option::Option<i32>,
|
754 + | #[pyo3(get, set)]
|
755 + | /// :type typing.Optional\[int\]:
|
381 756 | #[allow(missing_docs)] // documentation missing in model
|
382 - | pub fn greeting(&self) -> ::std::option::Option<&str> {
|
383 - | self.greeting.as_deref()
|
384 - | }
|
385 - | }
|
386 - | #[allow(clippy::new_without_default)]
|
387 - | #[allow(clippy::too_many_arguments)]
|
388 - | #[::pyo3::pymethods]
|
389 - | impl GreetingWithErrorsOutput {
|
390 - | #[new]
|
391 - | pub fn new(greeting: ::std::option::Option<::std::string::String>) -> Self {
|
392 - | Self { greeting }
|
393 - | }
|
394 - | fn __repr__(&self) -> String {
|
757 + | pub int_enum2: ::std::option::Option<i32>,
|
758 + | #[pyo3(get, set)]
|
759 + | /// :type typing.Optional\[int\]:
|
760 + | #[allow(missing_docs)] // documentation missing in model
|
761 + | pub int_enum3: ::std::option::Option<i32>,
|
762 + | #[pyo3(get, set)]
|
763 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
764 + | #[allow(missing_docs)] // documentation missing in model
|
765 + | pub int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
766 + | #[pyo3(get, set)]
|
767 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
768 + | #[allow(missing_docs)] // documentation missing in model
|
769 + | pub int_enum_set: ::std::option::Option<::std::vec::Vec<i32>>,
|
770 + | #[pyo3(get, set)]
|
771 + | /// :type typing.Optional\[typing.Dict\[str, int\]\]:
|
772 + | #[allow(missing_docs)] // documentation missing in model
|
773 + | pub int_enum_map:
|
774 + | ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
|
775 + | }
|
776 + | impl JsonIntEnumsOutput {
|
777 + | #[allow(missing_docs)] // documentation missing in model
|
778 + | pub fn int_enum1(&self) -> ::std::option::Option<i32> {
|
779 + | self.int_enum1
|
780 + | }
|
781 + | #[allow(missing_docs)] // documentation missing in model
|
782 + | pub fn int_enum2(&self) -> ::std::option::Option<i32> {
|
783 + | self.int_enum2
|
784 + | }
|
785 + | #[allow(missing_docs)] // documentation missing in model
|
786 + | pub fn int_enum3(&self) -> ::std::option::Option<i32> {
|
787 + | self.int_enum3
|
788 + | }
|
789 + | #[allow(missing_docs)] // documentation missing in model
|
790 + | pub fn int_enum_list(&self) -> ::std::option::Option<&[i32]> {
|
791 + | self.int_enum_list.as_deref()
|
792 + | }
|
793 + | #[allow(missing_docs)] // documentation missing in model
|
794 + | pub fn int_enum_set(&self) -> ::std::option::Option<&[i32]> {
|
795 + | self.int_enum_set.as_deref()
|
796 + | }
|
797 + | #[allow(missing_docs)] // documentation missing in model
|
798 + | pub fn int_enum_map(
|
799 + | &self,
|
800 + | ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, i32>> {
|
801 + | self.int_enum_map.as_ref()
|
802 + | }
|
803 + | }
|
804 + | #[allow(clippy::new_without_default)]
|
805 + | #[allow(clippy::too_many_arguments)]
|
806 + | #[::pyo3::pymethods]
|
807 + | impl JsonIntEnumsOutput {
|
808 + | #[new]
|
809 + | pub fn new(
|
810 + | int_enum1: ::std::option::Option<i32>,
|
811 + | int_enum2: ::std::option::Option<i32>,
|
812 + | int_enum3: ::std::option::Option<i32>,
|
813 + | int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
814 + | int_enum_set: ::std::option::Option<::std::vec::Vec<i32>>,
|
815 + | int_enum_map: ::std::option::Option<
|
816 + | ::std::collections::HashMap<::std::string::String, i32>,
|
817 + | >,
|
818 + | ) -> Self {
|
819 + | Self {
|
820 + | int_enum1,
|
821 + | int_enum2,
|
822 + | int_enum3,
|
823 + | int_enum_list,
|
824 + | int_enum_set,
|
825 + | int_enum_map,
|
826 + | }
|
827 + | }
|
828 + | fn __repr__(&self) -> String {
|
395 829 | format!("{self:?}")
|
396 830 | }
|
397 831 | fn __str__(&self) -> String {
|
398 832 | format!("{self:?}")
|
399 833 | }
|
400 834 | }
|
401 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<GreetingWithErrorsOutput> {
|
835 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonIntEnumsOutput> {
|
402 836 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
403 - | ob.extract::<GreetingWithErrorsOutput>().map(Box::new)
|
837 + | ob.extract::<JsonIntEnumsOutput>().map(Box::new)
|
404 838 | }
|
405 839 | }
|
406 840 |
|
407 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<GreetingWithErrorsOutput> {
|
841 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonIntEnumsOutput> {
|
408 842 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
409 843 | (*self).into_py(py)
|
410 844 | }
|
411 845 | }
|
412 - | impl GreetingWithErrorsOutput {
|
413 - | /// Creates a new builder-style object to manufacture [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
414 - | pub fn builder() -> crate::output::greeting_with_errors_output::Builder {
|
415 - | crate::output::greeting_with_errors_output::Builder::default()
|
846 + | impl JsonIntEnumsOutput {
|
847 + | /// Creates a new builder-style object to manufacture [`JsonIntEnumsOutput`](crate::output::JsonIntEnumsOutput).
|
848 + | pub fn builder() -> crate::output::json_int_enums_output::Builder {
|
849 + | crate::output::json_int_enums_output::Builder::default()
|
850 + | }
|
851 + | }
|
852 + |
|
853 + | #[::pyo3::pyclass]
|
854 + | /// :param string typing.Optional\[str\]:
|
855 + | /// :rtype None:
|
856 + | #[allow(missing_docs)] // documentation missing in model
|
857 + | #[derive(
|
858 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
859 + | )]
|
860 + | pub struct NullOperationOutput {
|
861 + | #[pyo3(get, set)]
|
862 + | /// :type typing.Optional\[str\]:
|
863 + | #[allow(missing_docs)] // documentation missing in model
|
864 + | pub string: ::std::option::Option<::std::string::String>,
|
865 + | }
|
866 + | impl NullOperationOutput {
|
867 + | #[allow(missing_docs)] // documentation missing in model
|
868 + | pub fn string(&self) -> ::std::option::Option<&str> {
|
869 + | self.string.as_deref()
|
870 + | }
|
871 + | }
|
872 + | #[allow(clippy::new_without_default)]
|
873 + | #[allow(clippy::too_many_arguments)]
|
874 + | #[::pyo3::pymethods]
|
875 + | impl NullOperationOutput {
|
876 + | #[new]
|
877 + | pub fn new(string: ::std::option::Option<::std::string::String>) -> Self {
|
878 + | Self { string }
|
879 + | }
|
880 + | fn __repr__(&self) -> String {
|
881 + | format!("{self:?}")
|
882 + | }
|
883 + | fn __str__(&self) -> String {
|
884 + | format!("{self:?}")
|
885 + | }
|
886 + | }
|
887 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NullOperationOutput> {
|
888 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
889 + | ob.extract::<NullOperationOutput>().map(Box::new)
|
890 + | }
|
891 + | }
|
892 + |
|
893 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NullOperationOutput> {
|
894 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
895 + | (*self).into_py(py)
|
896 + | }
|
897 + | }
|
898 + | impl NullOperationOutput {
|
899 + | /// Creates a new builder-style object to manufacture [`NullOperationOutput`](crate::output::NullOperationOutput).
|
900 + | pub fn builder() -> crate::output::null_operation_output::Builder {
|
901 + | crate::output::null_operation_output::Builder::default()
|
416 902 | }
|
417 903 | }
|
418 904 |
|
419 905 | #[::pyo3::pyclass]
|
420 906 | /// :param sparse_string_list typing.Optional\[typing.List\[typing.Optional\[str\]\]\]:
|
421 907 | /// :param sparse_string_map typing.Optional\[typing.Dict\[str, typing.Optional\[str\]\]\]:
|
422 908 | /// :rtype None:
|
423 909 | #[allow(missing_docs)] // documentation missing in model
|
424 910 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
425 911 | pub struct SparseNullsOperationOutput {
|
497 983 | }
|
498 984 | }
|
499 985 | impl SparseNullsOperationOutput {
|
500 986 | /// Creates a new builder-style object to manufacture [`SparseNullsOperationOutput`](crate::output::SparseNullsOperationOutput).
|
501 987 | pub fn builder() -> crate::output::sparse_nulls_operation_output::Builder {
|
502 988 | crate::output::sparse_nulls_operation_output::Builder::default()
|
503 989 | }
|
504 990 | }
|
505 991 |
|
506 992 | #[::pyo3::pyclass]
|
507 - | /// :param string typing.Optional\[str\]:
|
993 + | /// :param greeting typing.Optional\[str\]:
|
508 994 | /// :rtype None:
|
509 995 | #[allow(missing_docs)] // documentation missing in model
|
510 996 | #[derive(
|
511 997 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
512 998 | )]
|
513 - | pub struct NullOperationOutput {
|
999 + | pub struct GreetingWithErrorsOutput {
|
514 1000 | #[pyo3(get, set)]
|
515 1001 | /// :type typing.Optional\[str\]:
|
516 1002 | #[allow(missing_docs)] // documentation missing in model
|
517 - | pub string: ::std::option::Option<::std::string::String>,
|
1003 + | pub greeting: ::std::option::Option<::std::string::String>,
|
518 1004 | }
|
519 - | impl NullOperationOutput {
|
1005 + | impl GreetingWithErrorsOutput {
|
520 1006 | #[allow(missing_docs)] // documentation missing in model
|
521 - | pub fn string(&self) -> ::std::option::Option<&str> {
|
522 - | self.string.as_deref()
|
1007 + | pub fn greeting(&self) -> ::std::option::Option<&str> {
|
1008 + | self.greeting.as_deref()
|
523 1009 | }
|
524 1010 | }
|
525 1011 | #[allow(clippy::new_without_default)]
|
526 1012 | #[allow(clippy::too_many_arguments)]
|
527 1013 | #[::pyo3::pymethods]
|
528 - | impl NullOperationOutput {
|
1014 + | impl GreetingWithErrorsOutput {
|
529 1015 | #[new]
|
530 - | pub fn new(string: ::std::option::Option<::std::string::String>) -> Self {
|
531 - | Self { string }
|
1016 + | pub fn new(greeting: ::std::option::Option<::std::string::String>) -> Self {
|
1017 + | Self { greeting }
|
532 1018 | }
|
533 1019 | fn __repr__(&self) -> String {
|
534 1020 | format!("{self:?}")
|
535 1021 | }
|
536 1022 | fn __str__(&self) -> String {
|
537 1023 | format!("{self:?}")
|
538 1024 | }
|
539 1025 | }
|
540 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NullOperationOutput> {
|
1026 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<GreetingWithErrorsOutput> {
|
541 1027 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
542 - | ob.extract::<NullOperationOutput>().map(Box::new)
|
1028 + | ob.extract::<GreetingWithErrorsOutput>().map(Box::new)
|
543 1029 | }
|
544 1030 | }
|
545 1031 |
|
546 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NullOperationOutput> {
|
1032 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<GreetingWithErrorsOutput> {
|
547 1033 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
548 1034 | (*self).into_py(py)
|
549 1035 | }
|
550 1036 | }
|
551 - | impl NullOperationOutput {
|
552 - | /// Creates a new builder-style object to manufacture [`NullOperationOutput`](crate::output::NullOperationOutput).
|
553 - | pub fn builder() -> crate::output::null_operation_output::Builder {
|
554 - | crate::output::null_operation_output::Builder::default()
|
1037 + | impl GreetingWithErrorsOutput {
|
1038 + | /// Creates a new builder-style object to manufacture [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
1039 + | pub fn builder() -> crate::output::greeting_with_errors_output::Builder {
|
1040 + | crate::output::greeting_with_errors_output::Builder::default()
|
555 1041 | }
|
556 1042 | }
|
557 1043 |
|
558 1044 | #[::pyo3::pyclass]
|
559 - | /// :param int_enum1 typing.Optional\[int\]:
|
560 - | /// :param int_enum2 typing.Optional\[int\]:
|
561 - | /// :param int_enum3 typing.Optional\[int\]:
|
562 - | /// :param int_enum_list typing.Optional\[typing.List\[int\]\]:
|
563 - | /// :param int_enum_set typing.Optional\[typing.List\[int\]\]:
|
564 - | /// :param int_enum_map typing.Optional\[typing.Dict\[str, int\]\]:
|
1045 + | /// :param contents typing.Optional\[json_rpc11.model.MyUnion\]:
|
565 1046 | /// :rtype None:
|
566 - | #[allow(missing_docs)] // documentation missing in model
|
1047 + | /// A shared structure that contains a single union member.
|
567 1048 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
568 - | pub struct JsonIntEnumsOutput {
|
569 - | #[pyo3(get, set)]
|
570 - | /// :type typing.Optional\[int\]:
|
571 - | #[allow(missing_docs)] // documentation missing in model
|
572 - | pub int_enum1: ::std::option::Option<i32>,
|
573 - | #[pyo3(get, set)]
|
574 - | /// :type typing.Optional\[int\]:
|
575 - | #[allow(missing_docs)] // documentation missing in model
|
576 - | pub int_enum2: ::std::option::Option<i32>,
|
577 - | #[pyo3(get, set)]
|
578 - | /// :type typing.Optional\[int\]:
|
579 - | #[allow(missing_docs)] // documentation missing in model
|
580 - | pub int_enum3: ::std::option::Option<i32>,
|
581 - | #[pyo3(get, set)]
|
582 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
583 - | #[allow(missing_docs)] // documentation missing in model
|
584 - | pub int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
585 - | #[pyo3(get, set)]
|
586 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
587 - | #[allow(missing_docs)] // documentation missing in model
|
588 - | pub int_enum_set: ::std::option::Option<::std::vec::Vec<i32>>,
|
1049 + | pub struct JsonUnionsOutput {
|
589 1050 | #[pyo3(get, set)]
|
590 - | /// :type typing.Optional\[typing.Dict\[str, int\]\]:
|
591 - | #[allow(missing_docs)] // documentation missing in model
|
592 - | pub int_enum_map:
|
593 - | ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
|
1051 + | /// :type typing.Optional\[json_rpc11.model.MyUnion\]:
|
1052 + | /// A union with a representative set of types for members.
|
1053 + | pub contents: ::std::option::Option<crate::model::MyUnion>,
|
594 1054 | }
|
595 - | impl JsonIntEnumsOutput {
|
596 - | #[allow(missing_docs)] // documentation missing in model
|
597 - | pub fn int_enum1(&self) -> ::std::option::Option<i32> {
|
598 - | self.int_enum1
|
1055 + | impl JsonUnionsOutput {
|
1056 + | /// A union with a representative set of types for members.
|
1057 + | pub fn contents(&self) -> ::std::option::Option<&crate::model::MyUnion> {
|
1058 + | self.contents.as_ref()
|
599 1059 | }
|
600 - | #[allow(missing_docs)] // documentation missing in model
|
601 - | pub fn int_enum2(&self) -> ::std::option::Option<i32> {
|
602 - | self.int_enum2
|
1060 + | }
|
1061 + | #[allow(clippy::new_without_default)]
|
1062 + | #[allow(clippy::too_many_arguments)]
|
1063 + | #[::pyo3::pymethods]
|
1064 + | impl JsonUnionsOutput {
|
1065 + | #[new]
|
1066 + | pub fn new(contents: ::std::option::Option<crate::model::MyUnion>) -> Self {
|
1067 + | Self { contents }
|
603 1068 | }
|
604 - | #[allow(missing_docs)] // documentation missing in model
|
605 - | pub fn int_enum3(&self) -> ::std::option::Option<i32> {
|
606 - | self.int_enum3
|
1069 + | fn __repr__(&self) -> String {
|
1070 + | format!("{self:?}")
|
607 1071 | }
|
608 - | #[allow(missing_docs)] // documentation missing in model
|
609 - | pub fn int_enum_list(&self) -> ::std::option::Option<&[i32]> {
|
610 - | self.int_enum_list.as_deref()
|
1072 + | fn __str__(&self) -> String {
|
1073 + | format!("{self:?}")
|
611 1074 | }
|
612 - | #[allow(missing_docs)] // documentation missing in model
|
613 - | pub fn int_enum_set(&self) -> ::std::option::Option<&[i32]> {
|
614 - | self.int_enum_set.as_deref()
|
1075 + | }
|
1076 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonUnionsOutput> {
|
1077 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1078 + | ob.extract::<JsonUnionsOutput>().map(Box::new)
|
615 1079 | }
|
616 - | #[allow(missing_docs)] // documentation missing in model
|
617 - | pub fn int_enum_map(
|
618 - | &self,
|
619 - | ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, i32>> {
|
620 - | self.int_enum_map.as_ref()
|
1080 + | }
|
1081 + |
|
1082 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonUnionsOutput> {
|
1083 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1084 + | (*self).into_py(py)
|
621 1085 | }
|
622 1086 | }
|
623 - | #[allow(clippy::new_without_default)]
|
624 - | #[allow(clippy::too_many_arguments)]
|
1087 + | impl JsonUnionsOutput {
|
1088 + | /// Creates a new builder-style object to manufacture [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
1089 + | pub fn builder() -> crate::output::json_unions_output::Builder {
|
1090 + | crate::output::json_unions_output::Builder::default()
|
1091 + | }
|
1092 + | }
|
1093 + |
|
1094 + | #[::pyo3::pyclass]
|
1095 + | /// :rtype None:
|
1096 + | #[allow(missing_docs)] // documentation missing in model
|
1097 + | #[derive(
|
1098 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1099 + | )]
|
1100 + | pub struct EndpointOperationOutput {}
|
1101 + | #[allow(clippy::new_without_default)]
|
1102 + | #[allow(clippy::too_many_arguments)]
|
625 1103 | #[::pyo3::pymethods]
|
626 - | impl JsonIntEnumsOutput {
|
1104 + | impl EndpointOperationOutput {
|
627 1105 | #[new]
|
628 - | pub fn new(
|
629 - | int_enum1: ::std::option::Option<i32>,
|
630 - | int_enum2: ::std::option::Option<i32>,
|
631 - | int_enum3: ::std::option::Option<i32>,
|
632 - | int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
633 - | int_enum_set: ::std::option::Option<::std::vec::Vec<i32>>,
|
634 - | int_enum_map: ::std::option::Option<
|
635 - | ::std::collections::HashMap<::std::string::String, i32>,
|
636 - | >,
|
637 - | ) -> Self {
|
638 - | Self {
|
639 - | int_enum1,
|
640 - | int_enum2,
|
641 - | int_enum3,
|
642 - | int_enum_list,
|
643 - | int_enum_set,
|
644 - | int_enum_map,
|
645 - | }
|
1106 + | pub fn new() -> Self {
|
1107 + | Self {}
|
646 1108 | }
|
647 1109 | fn __repr__(&self) -> String {
|
648 1110 | format!("{self:?}")
|
649 1111 | }
|
650 1112 | fn __str__(&self) -> String {
|
651 1113 | format!("{self:?}")
|
652 1114 | }
|
653 1115 | }
|
654 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonIntEnumsOutput> {
|
1116 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EndpointOperationOutput> {
|
655 1117 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
656 - | ob.extract::<JsonIntEnumsOutput>().map(Box::new)
|
1118 + | ob.extract::<EndpointOperationOutput>().map(Box::new)
|
657 1119 | }
|
658 1120 | }
|
659 1121 |
|
660 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonIntEnumsOutput> {
|
1122 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EndpointOperationOutput> {
|
661 1123 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
662 1124 | (*self).into_py(py)
|
663 1125 | }
|
664 1126 | }
|
665 - | impl JsonIntEnumsOutput {
|
666 - | /// Creates a new builder-style object to manufacture [`JsonIntEnumsOutput`](crate::output::JsonIntEnumsOutput).
|
667 - | pub fn builder() -> crate::output::json_int_enums_output::Builder {
|
668 - | crate::output::json_int_enums_output::Builder::default()
|
1127 + | impl EndpointOperationOutput {
|
1128 + | /// Creates a new builder-style object to manufacture [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
1129 + | pub fn builder() -> crate::output::endpoint_operation_output::Builder {
|
1130 + | crate::output::endpoint_operation_output::Builder::default()
|
669 1131 | }
|
670 1132 | }
|
671 1133 |
|
672 1134 | #[::pyo3::pyclass]
|
673 - | /// :param foo_enum1 typing.Optional\[json_rpc11.model.FooEnum\]:
|
674 - | /// :param foo_enum2 typing.Optional\[json_rpc11.model.FooEnum\]:
|
675 - | /// :param foo_enum3 typing.Optional\[json_rpc11.model.FooEnum\]:
|
676 - | /// :param foo_enum_list typing.Optional\[typing.List\[json_rpc11.model.FooEnum\]\]:
|
677 - | /// :param foo_enum_set typing.Optional\[typing.List\[json_rpc11.model.FooEnum\]\]:
|
678 - | /// :param foo_enum_map typing.Optional\[typing.Dict\[str, json_rpc11.model.FooEnum\]\]:
|
679 1135 | /// :rtype None:
|
680 1136 | #[allow(missing_docs)] // documentation missing in model
|
681 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
682 - | pub struct JsonEnumsOutput {
|
683 - | #[pyo3(get, set)]
|
684 - | /// :type typing.Optional\[json_rpc11.model.FooEnum\]:
|
685 - | #[allow(missing_docs)] // documentation missing in model
|
686 - | pub foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
687 - | #[pyo3(get, set)]
|
688 - | /// :type typing.Optional\[json_rpc11.model.FooEnum\]:
|
689 - | #[allow(missing_docs)] // documentation missing in model
|
690 - | pub foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
691 - | #[pyo3(get, set)]
|
692 - | /// :type typing.Optional\[json_rpc11.model.FooEnum\]:
|
693 - | #[allow(missing_docs)] // documentation missing in model
|
694 - | pub foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
695 - | #[pyo3(get, set)]
|
696 - | /// :type typing.Optional\[typing.List\[json_rpc11.model.FooEnum\]\]:
|
697 - | #[allow(missing_docs)] // documentation missing in model
|
698 - | pub foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
699 - | #[pyo3(get, set)]
|
700 - | /// :type typing.Optional\[typing.List\[json_rpc11.model.FooEnum\]\]:
|
701 - | #[allow(missing_docs)] // documentation missing in model
|
702 - | pub foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
703 - | #[pyo3(get, set)]
|
704 - | /// :type typing.Optional\[typing.Dict\[str, json_rpc11.model.FooEnum\]\]:
|
705 - | #[allow(missing_docs)] // documentation missing in model
|
706 - | pub foo_enum_map: ::std::option::Option<
|
707 - | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
708 - | >,
|
709 - | }
|
710 - | impl JsonEnumsOutput {
|
711 - | #[allow(missing_docs)] // documentation missing in model
|
712 - | pub fn foo_enum1(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
713 - | self.foo_enum1.as_ref()
|
1137 + | #[derive(
|
1138 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1139 + | )]
|
1140 + | pub struct EndpointWithHostLabelOperationOutput {}
|
1141 + | #[allow(clippy::new_without_default)]
|
1142 + | #[allow(clippy::too_many_arguments)]
|
1143 + | #[::pyo3::pymethods]
|
1144 + | impl EndpointWithHostLabelOperationOutput {
|
1145 + | #[new]
|
1146 + | pub fn new() -> Self {
|
1147 + | Self {}
|
714 1148 | }
|
715 - | #[allow(missing_docs)] // documentation missing in model
|
716 - | pub fn foo_enum2(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
717 - | self.foo_enum2.as_ref()
|
1149 + | fn __repr__(&self) -> String {
|
1150 + | format!("{self:?}")
|
718 1151 | }
|
719 - | #[allow(missing_docs)] // documentation missing in model
|
720 - | pub fn foo_enum3(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
721 - | self.foo_enum3.as_ref()
|
1152 + | fn __str__(&self) -> String {
|
1153 + | format!("{self:?}")
|
722 1154 | }
|
723 - | #[allow(missing_docs)] // documentation missing in model
|
724 - | pub fn foo_enum_list(&self) -> ::std::option::Option<&[crate::model::FooEnum]> {
|
725 - | self.foo_enum_list.as_deref()
|
1155 + | }
|
1156 + | impl<'source> ::pyo3::FromPyObject<'source>
|
1157 + | for std::boxed::Box<EndpointWithHostLabelOperationOutput>
|
1158 + | {
|
1159 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1160 + | ob.extract::<EndpointWithHostLabelOperationOutput>()
|
1161 + | .map(Box::new)
|
726 1162 | }
|
727 - | #[allow(missing_docs)] // documentation missing in model
|
728 - | pub fn foo_enum_set(&self) -> ::std::option::Option<&[crate::model::FooEnum]> {
|
729 - | self.foo_enum_set.as_deref()
|
1163 + | }
|
1164 + |
|
1165 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EndpointWithHostLabelOperationOutput> {
|
1166 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1167 + | (*self).into_py(py)
|
730 1168 | }
|
731 - | #[allow(missing_docs)] // documentation missing in model
|
732 - | pub fn foo_enum_map(
|
733 - | &self,
|
734 - | ) -> ::std::option::Option<
|
735 - | &::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
736 - | > {
|
737 - | self.foo_enum_map.as_ref()
|
1169 + | }
|
1170 + | impl EndpointWithHostLabelOperationOutput {
|
1171 + | /// Creates a new builder-style object to manufacture [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
1172 + | pub fn builder() -> crate::output::endpoint_with_host_label_operation_output::Builder {
|
1173 + | crate::output::endpoint_with_host_label_operation_output::Builder::default()
|
738 1174 | }
|
739 1175 | }
|
1176 + |
|
1177 + | #[::pyo3::pyclass]
|
1178 + | /// :rtype None:
|
1179 + | #[allow(missing_docs)] // documentation missing in model
|
1180 + | #[derive(
|
1181 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1182 + | )]
|
1183 + | pub struct HostWithPathOperationOutput {}
|
740 1184 | #[allow(clippy::new_without_default)]
|
741 1185 | #[allow(clippy::too_many_arguments)]
|
742 1186 | #[::pyo3::pymethods]
|
743 - | impl JsonEnumsOutput {
|
1187 + | impl HostWithPathOperationOutput {
|
744 1188 | #[new]
|
745 - | pub fn new(
|
746 - | foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
747 - | foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
748 - | foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
749 - | foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
750 - | foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
751 - | foo_enum_map: ::std::option::Option<
|
752 - | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
753 - | >,
|
754 - | ) -> Self {
|
755 - | Self {
|
756 - | foo_enum1,
|
757 - | foo_enum2,
|
758 - | foo_enum3,
|
759 - | foo_enum_list,
|
760 - | foo_enum_set,
|
761 - | foo_enum_map,
|
762 - | }
|
1189 + | pub fn new() -> Self {
|
1190 + | Self {}
|
763 1191 | }
|
764 1192 | fn __repr__(&self) -> String {
|
765 1193 | format!("{self:?}")
|
766 1194 | }
|
767 1195 | fn __str__(&self) -> String {
|
768 1196 | format!("{self:?}")
|
769 1197 | }
|
770 1198 | }
|
771 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonEnumsOutput> {
|
1199 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HostWithPathOperationOutput> {
|
772 1200 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
773 - | ob.extract::<JsonEnumsOutput>().map(Box::new)
|
1201 + | ob.extract::<HostWithPathOperationOutput>().map(Box::new)
|
774 1202 | }
|
775 1203 | }
|
776 1204 |
|
777 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonEnumsOutput> {
|
1205 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HostWithPathOperationOutput> {
|
778 1206 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
779 1207 | (*self).into_py(py)
|
780 1208 | }
|
781 1209 | }
|
782 - | impl JsonEnumsOutput {
|
783 - | /// Creates a new builder-style object to manufacture [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
784 - | pub fn builder() -> crate::output::json_enums_output::Builder {
|
785 - | crate::output::json_enums_output::Builder::default()
|
1210 + | impl HostWithPathOperationOutput {
|
1211 + | /// Creates a new builder-style object to manufacture [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
1212 + | pub fn builder() -> crate::output::host_with_path_operation_output::Builder {
|
1213 + | crate::output::host_with_path_operation_output::Builder::default()
|
786 1214 | }
|
787 1215 | }
|
788 1216 |
|
789 1217 | #[::pyo3::pyclass]
|
790 - | /// :param inline_document typing.Optional\[json_rpc11.types.Document\]:
|
1218 + | /// :param datetime typing.Optional\[json_rpc11.types.DateTime\]:
|
791 1219 | /// :rtype None:
|
792 1220 | #[allow(missing_docs)] // documentation missing in model
|
793 - | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
794 - | pub struct PutAndGetInlineDocumentsOutput {
|
1221 + | #[derive(
|
1222 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1223 + | )]
|
1224 + | pub struct DatetimeOffsetsOutput {
|
795 1225 | #[pyo3(get, set)]
|
796 - | /// :type typing.Optional\[json_rpc11.types.Document\]:
|
1226 + | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
797 1227 | #[allow(missing_docs)] // documentation missing in model
|
798 - | pub inline_document: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
1228 + | pub datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
799 1229 | }
|
800 - | impl PutAndGetInlineDocumentsOutput {
|
1230 + | impl DatetimeOffsetsOutput {
|
801 1231 | #[allow(missing_docs)] // documentation missing in model
|
802 - | pub fn inline_document(
|
1232 + | pub fn datetime(
|
803 1233 | &self,
|
804 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Document> {
|
805 - | self.inline_document.as_ref()
|
1234 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
1235 + | self.datetime.as_ref()
|
806 1236 | }
|
807 1237 | }
|
808 1238 | #[allow(clippy::new_without_default)]
|
809 1239 | #[allow(clippy::too_many_arguments)]
|
810 1240 | #[::pyo3::pymethods]
|
811 - | impl PutAndGetInlineDocumentsOutput {
|
1241 + | impl DatetimeOffsetsOutput {
|
812 1242 | #[new]
|
813 1243 | pub fn new(
|
814 - | inline_document: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
1244 + | datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
815 1245 | ) -> Self {
|
816 - | Self { inline_document }
|
1246 + | Self { datetime }
|
817 1247 | }
|
818 1248 | fn __repr__(&self) -> String {
|
819 1249 | format!("{self:?}")
|
820 1250 | }
|
821 1251 | fn __str__(&self) -> String {
|
822 1252 | format!("{self:?}")
|
823 1253 | }
|
824 1254 | }
|
825 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PutAndGetInlineDocumentsOutput> {
|
1255 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<DatetimeOffsetsOutput> {
|
826 1256 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
827 - | ob.extract::<PutAndGetInlineDocumentsOutput>().map(Box::new)
|
1257 + | ob.extract::<DatetimeOffsetsOutput>().map(Box::new)
|
828 1258 | }
|
829 1259 | }
|
830 1260 |
|
831 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PutAndGetInlineDocumentsOutput> {
|
1261 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<DatetimeOffsetsOutput> {
|
832 1262 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
833 1263 | (*self).into_py(py)
|
834 1264 | }
|
835 1265 | }
|
836 - | impl PutAndGetInlineDocumentsOutput {
|
837 - | /// Creates a new builder-style object to manufacture [`PutAndGetInlineDocumentsOutput`](crate::output::PutAndGetInlineDocumentsOutput).
|
838 - | pub fn builder() -> crate::output::put_and_get_inline_documents_output::Builder {
|
839 - | crate::output::put_and_get_inline_documents_output::Builder::default()
|
1266 + | impl DatetimeOffsetsOutput {
|
1267 + | /// Creates a new builder-style object to manufacture [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
1268 + | pub fn builder() -> crate::output::datetime_offsets_output::Builder {
|
1269 + | crate::output::datetime_offsets_output::Builder::default()
|
840 1270 | }
|
841 1271 | }
|
842 1272 |
|
843 1273 | #[::pyo3::pyclass]
|
844 - | /// :param value typing.Optional\[str\]:
|
1274 + | /// :param datetime typing.Optional\[json_rpc11.types.DateTime\]:
|
845 1275 | /// :rtype None:
|
846 1276 | #[allow(missing_docs)] // documentation missing in model
|
847 1277 | #[derive(
|
848 1278 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
849 1279 | )]
|
850 - | pub struct OperationWithOptionalInputOutputOutput {
|
1280 + | pub struct FractionalSecondsOutput {
|
851 1281 | #[pyo3(get, set)]
|
852 - | /// :type typing.Optional\[str\]:
|
1282 + | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
853 1283 | #[allow(missing_docs)] // documentation missing in model
|
854 - | pub value: ::std::option::Option<::std::string::String>,
|
1284 + | pub datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
855 1285 | }
|
856 - | impl OperationWithOptionalInputOutputOutput {
|
1286 + | impl FractionalSecondsOutput {
|
857 1287 | #[allow(missing_docs)] // documentation missing in model
|
858 - | pub fn value(&self) -> ::std::option::Option<&str> {
|
859 - | self.value.as_deref()
|
1288 + | pub fn datetime(
|
1289 + | &self,
|
1290 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
1291 + | self.datetime.as_ref()
|
860 1292 | }
|
861 1293 | }
|
862 1294 | #[allow(clippy::new_without_default)]
|
863 1295 | #[allow(clippy::too_many_arguments)]
|
864 1296 | #[::pyo3::pymethods]
|
865 - | impl OperationWithOptionalInputOutputOutput {
|
1297 + | impl FractionalSecondsOutput {
|
866 1298 | #[new]
|
867 - | pub fn new(value: ::std::option::Option<::std::string::String>) -> Self {
|
868 - | Self { value }
|
1299 + | pub fn new(
|
1300 + | datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1301 + | ) -> Self {
|
1302 + | Self { datetime }
|
869 1303 | }
|
870 1304 | fn __repr__(&self) -> String {
|
871 1305 | format!("{self:?}")
|
872 1306 | }
|
873 1307 | fn __str__(&self) -> String {
|
874 1308 | format!("{self:?}")
|
875 1309 | }
|
876 1310 | }
|
877 - | impl<'source> ::pyo3::FromPyObject<'source>
|
878 - | for std::boxed::Box<OperationWithOptionalInputOutputOutput>
|
879 - | {
|
1311 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<FractionalSecondsOutput> {
|
880 1312 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
881 - | ob.extract::<OperationWithOptionalInputOutputOutput>()
|
882 - | .map(Box::new)
|
1313 + | ob.extract::<FractionalSecondsOutput>().map(Box::new)
|
883 1314 | }
|
884 1315 | }
|
885 1316 |
|
886 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<OperationWithOptionalInputOutputOutput> {
|
1317 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<FractionalSecondsOutput> {
|
887 1318 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
888 1319 | (*self).into_py(py)
|
889 1320 | }
|
890 1321 | }
|
891 - | impl OperationWithOptionalInputOutputOutput {
|
892 - | /// Creates a new builder-style object to manufacture [`OperationWithOptionalInputOutputOutput`](crate::output::OperationWithOptionalInputOutputOutput).
|
893 - | pub fn builder() -> crate::output::operation_with_optional_input_output_output::Builder {
|
894 - | crate::output::operation_with_optional_input_output_output::Builder::default()
|
1322 + | impl FractionalSecondsOutput {
|
1323 + | /// Creates a new builder-style object to manufacture [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
1324 + | pub fn builder() -> crate::output::fractional_seconds_output::Builder {
|
1325 + | crate::output::fractional_seconds_output::Builder::default()
|
895 1326 | }
|
896 1327 | }
|
897 1328 |
|
898 1329 | #[::pyo3::pyclass]
|
899 - | /// :param float_value typing.Optional\[float\]:
|
900 - | /// :param double_value typing.Optional\[float\]:
|
901 1330 | /// :rtype None:
|
902 1331 | #[allow(missing_docs)] // documentation missing in model
|
903 - | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
904 - | pub struct SimpleScalarPropertiesOutput {
|
905 - | #[pyo3(get, set)]
|
906 - | /// :type typing.Optional\[float\]:
|
907 - | #[allow(missing_docs)] // documentation missing in model
|
908 - | pub float_value: ::std::option::Option<f32>,
|
909 - | #[pyo3(get, set)]
|
910 - | /// :type typing.Optional\[float\]:
|
911 - | #[allow(missing_docs)] // documentation missing in model
|
912 - | pub double_value: ::std::option::Option<f64>,
|
913 - | }
|
914 - | impl SimpleScalarPropertiesOutput {
|
915 - | #[allow(missing_docs)] // documentation missing in model
|
916 - | pub fn float_value(&self) -> ::std::option::Option<f32> {
|
917 - | self.float_value
|
918 - | }
|
919 - | #[allow(missing_docs)] // documentation missing in model
|
920 - | pub fn double_value(&self) -> ::std::option::Option<f64> {
|
921 - | self.double_value
|
922 - | }
|
923 - | }
|
1332 + | #[derive(
|
1333 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1334 + | )]
|
1335 + | pub struct PutWithContentEncodingOutput {}
|
924 1336 | #[allow(clippy::new_without_default)]
|
925 1337 | #[allow(clippy::too_many_arguments)]
|
926 1338 | #[::pyo3::pymethods]
|
927 - | impl SimpleScalarPropertiesOutput {
|
1339 + | impl PutWithContentEncodingOutput {
|
928 1340 | #[new]
|
929 - | pub fn new(
|
930 - | float_value: ::std::option::Option<f32>,
|
931 - | double_value: ::std::option::Option<f64>,
|
932 - | ) -> Self {
|
933 - | Self {
|
934 - | float_value,
|
935 - | double_value,
|
936 - | }
|
1341 + | pub fn new() -> Self {
|
1342 + | Self {}
|
937 1343 | }
|
938 1344 | fn __repr__(&self) -> String {
|
939 1345 | format!("{self:?}")
|
940 1346 | }
|
941 1347 | fn __str__(&self) -> String {
|
942 1348 | format!("{self:?}")
|
943 1349 | }
|
944 1350 | }
|
945 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<SimpleScalarPropertiesOutput> {
|
1351 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PutWithContentEncodingOutput> {
|
946 1352 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
947 - | ob.extract::<SimpleScalarPropertiesOutput>().map(Box::new)
|
1353 + | ob.extract::<PutWithContentEncodingOutput>().map(Box::new)
|
948 1354 | }
|
949 1355 | }
|
950 1356 |
|
951 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<SimpleScalarPropertiesOutput> {
|
1357 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PutWithContentEncodingOutput> {
|
952 1358 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
953 1359 | (*self).into_py(py)
|
954 1360 | }
|
955 1361 | }
|
956 - | impl SimpleScalarPropertiesOutput {
|
957 - | /// Creates a new builder-style object to manufacture [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
958 - | pub fn builder() -> crate::output::simple_scalar_properties_output::Builder {
|
959 - | crate::output::simple_scalar_properties_output::Builder::default()
|
1362 + | impl PutWithContentEncodingOutput {
|
1363 + | /// Creates a new builder-style object to manufacture [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
1364 + | pub fn builder() -> crate::output::put_with_content_encoding_output::Builder {
|
1365 + | crate::output::put_with_content_encoding_output::Builder::default()
|
960 1366 | }
|
961 1367 | }
|
962 1368 |
|
963 1369 | #[::pyo3::pyclass]
|
964 - | /// :param blob typing.Optional\[json_rpc11.types.Blob\]:
|
965 - | /// :param boolean typing.Optional\[bool\]:
|
966 - | /// :param double typing.Optional\[float\]:
|
967 - | /// :param empty_struct typing.Optional\[json_rpc11.model.EmptyStruct\]:
|
968 - | /// :param float typing.Optional\[float\]:
|
969 - | /// :param httpdate_timestamp typing.Optional\[json_rpc11.types.DateTime\]:
|
970 - | /// :param integer typing.Optional\[int\]:
|
971 - | /// :param iso8601_timestamp typing.Optional\[json_rpc11.types.DateTime\]:
|
972 - | /// :param json_value typing.Optional\[str\]:
|
973 - | /// :param list_of_lists typing.Optional\[typing.List\[typing.List\[str\]\]\]:
|
974 - | /// :param list_of_maps_of_strings typing.Optional\[typing.List\[typing.Dict\[str, str\]\]\]:
|
975 - | /// :param list_of_strings typing.Optional\[typing.List\[str\]\]:
|
976 - | /// :param list_of_structs typing.Optional\[typing.List\[json_rpc11.model.SimpleStruct\]\]:
|
977 - | /// :param long typing.Optional\[int\]:
|
978 - | /// :param map_of_lists_of_strings typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
979 - | /// :param map_of_maps typing.Optional\[typing.Dict\[str, typing.Dict\[str, str\]\]\]:
|
980 - | /// :param map_of_strings typing.Optional\[typing.Dict\[str, str\]\]:
|
981 - | /// :param map_of_structs typing.Optional\[typing.Dict\[str, json_rpc11.model.SimpleStruct\]\]:
|
982 - | /// :param recursive_list typing.Optional\[typing.List\[json_rpc11.model.KitchenSink\]\]:
|
983 - | /// :param recursive_map typing.Optional\[typing.Dict\[str, json_rpc11.model.KitchenSink\]\]:
|
984 - | /// :param recursive_struct typing.Optional\[json_rpc11.model.KitchenSink\]:
|
985 - | /// :param simple_struct typing.Optional\[json_rpc11.model.SimpleStruct\]:
|
986 - | /// :param string typing.Optional\[str\]:
|
987 - | /// :param struct_with_json_name typing.Optional\[json_rpc11.model.StructWithJsonName\]:
|
988 - | /// :param timestamp typing.Optional\[json_rpc11.types.DateTime\]:
|
989 - | /// :param unix_timestamp typing.Optional\[json_rpc11.types.DateTime\]:
|
990 1370 | /// :rtype None:
|
991 1371 | #[allow(missing_docs)] // documentation missing in model
|
992 - | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
993 - | pub struct KitchenSinkOperationOutput {
|
994 - | #[pyo3(get, set)]
|
995 - | /// :type typing.Optional\[json_rpc11.types.Blob\]:
|
996 - | #[allow(missing_docs)] // documentation missing in model
|
997 - | pub blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
998 - | #[pyo3(get, set)]
|
999 - | /// :type typing.Optional\[bool\]:
|
1000 - | #[allow(missing_docs)] // documentation missing in model
|
1001 - | pub boolean: ::std::option::Option<bool>,
|
1002 - | #[pyo3(get, set)]
|
1003 - | /// :type typing.Optional\[float\]:
|
1004 - | #[allow(missing_docs)] // documentation missing in model
|
1005 - | pub double: ::std::option::Option<f64>,
|
1006 - | #[pyo3(get, set)]
|
1007 - | /// :type typing.Optional\[json_rpc11.model.EmptyStruct\]:
|
1008 - | #[allow(missing_docs)] // documentation missing in model
|
1009 - | pub empty_struct: ::std::option::Option<crate::model::EmptyStruct>,
|
1010 - | #[pyo3(get, set)]
|
1011 - | /// :type typing.Optional\[float\]:
|
1012 - | #[allow(missing_docs)] // documentation missing in model
|
1013 - | pub float: ::std::option::Option<f32>,
|
1014 - | #[pyo3(get, set)]
|
1015 - | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
1016 - | #[allow(missing_docs)] // documentation missing in model
|
1017 - | pub httpdate_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1018 - | #[pyo3(get, set)]
|
1019 - | /// :type typing.Optional\[int\]:
|
1020 - | #[allow(missing_docs)] // documentation missing in model
|
1021 - | pub integer: ::std::option::Option<i32>,
|
1022 - | #[pyo3(get, set)]
|
1023 - | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
1024 - | #[allow(missing_docs)] // documentation missing in model
|
1025 - | pub iso8601_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1026 - | #[pyo3(get, set)]
|
1027 - | /// :type typing.Optional\[str\]:
|
1028 - | #[allow(missing_docs)] // documentation missing in model
|
1029 - | pub json_value: ::std::option::Option<::std::string::String>,
|
1030 - | #[pyo3(get, set)]
|
1031 - | /// :type typing.Optional\[typing.List\[typing.List\[str\]\]\]:
|
1032 - | #[allow(missing_docs)] // documentation missing in model
|
1033 - | pub list_of_lists:
|
1034 - | ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
1035 - | #[pyo3(get, set)]
|
1036 - | /// :type typing.Optional\[typing.List\[typing.Dict\[str, str\]\]\]:
|
1037 - | #[allow(missing_docs)] // documentation missing in model
|
1038 - | pub list_of_maps_of_strings: ::std::option::Option<
|
1039 - | ::std::vec::Vec<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
1040 - | >,
|
1041 - | #[pyo3(get, set)]
|
1042 - | /// :type typing.Optional\[typing.List\[str\]\]:
|
1043 - | #[allow(missing_docs)] // documentation missing in model
|
1044 - | pub list_of_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1045 - | #[pyo3(get, set)]
|
1046 - | /// :type typing.Optional\[typing.List\[json_rpc11.model.SimpleStruct\]\]:
|
1047 - | #[allow(missing_docs)] // documentation missing in model
|
1048 - | pub list_of_structs: ::std::option::Option<::std::vec::Vec<crate::model::SimpleStruct>>,
|
1049 - | #[pyo3(get, set)]
|
1050 - | /// :type typing.Optional\[int\]:
|
1051 - | #[allow(missing_docs)] // documentation missing in model
|
1052 - | pub long: ::std::option::Option<i64>,
|
1053 - | #[pyo3(get, set)]
|
1054 - | /// :type typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
1055 - | #[allow(missing_docs)] // documentation missing in model
|
1056 - | pub map_of_lists_of_strings: ::std::option::Option<
|
1057 - | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
1058 - | >,
|
1059 - | #[pyo3(get, set)]
|
1060 - | /// :type typing.Optional\[typing.Dict\[str, typing.Dict\[str, str\]\]\]:
|
1061 - | #[allow(missing_docs)] // documentation missing in model
|
1062 - | pub map_of_maps: ::std::option::Option<
|
1063 - | ::std::collections::HashMap<
|
1064 - | ::std::string::String,
|
1065 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1066 - | >,
|
1067 - | >,
|
1068 - | #[pyo3(get, set)]
|
1069 - | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
1070 - | #[allow(missing_docs)] // documentation missing in model
|
1071 - | pub map_of_strings: ::std::option::Option<
|
1072 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1073 - | >,
|
1074 - | #[pyo3(get, set)]
|
1075 - | /// :type typing.Optional\[typing.Dict\[str, json_rpc11.model.SimpleStruct\]\]:
|
1076 - | #[allow(missing_docs)] // documentation missing in model
|
1077 - | pub map_of_structs: ::std::option::Option<
|
1078 - | ::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
1079 - | >,
|
1080 - | #[pyo3(get, set)]
|
1081 - | /// :type typing.Optional\[typing.List\[json_rpc11.model.KitchenSink\]\]:
|
1082 - | #[allow(missing_docs)] // documentation missing in model
|
1083 - | pub recursive_list: ::std::option::Option<::std::vec::Vec<crate::model::KitchenSink>>,
|
1084 - | #[pyo3(get, set)]
|
1085 - | /// :type typing.Optional\[typing.Dict\[str, json_rpc11.model.KitchenSink\]\]:
|
1086 - | #[allow(missing_docs)] // documentation missing in model
|
1087 - | pub recursive_map: ::std::option::Option<
|
1088 - | ::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
1089 - | >,
|
1090 - | #[pyo3(get, set)]
|
1091 - | /// :type typing.Optional\[json_rpc11.model.KitchenSink\]:
|
1092 - | #[allow(missing_docs)] // documentation missing in model
|
1093 - | pub recursive_struct: ::std::option::Option<::std::boxed::Box<crate::model::KitchenSink>>,
|
1094 - | #[pyo3(get, set)]
|
1095 - | /// :type typing.Optional\[json_rpc11.model.SimpleStruct\]:
|
1096 - | #[allow(missing_docs)] // documentation missing in model
|
1097 - | pub simple_struct: ::std::option::Option<crate::model::SimpleStruct>,
|
1098 - | #[pyo3(get, set)]
|
1099 - | /// :type typing.Optional\[str\]:
|
1100 - | #[allow(missing_docs)] // documentation missing in model
|
1101 - | pub string: ::std::option::Option<::std::string::String>,
|
1102 - | #[pyo3(get, set)]
|
1103 - | /// :type typing.Optional\[json_rpc11.model.StructWithJsonName\]:
|
1104 - | #[allow(missing_docs)] // documentation missing in model
|
1105 - | pub struct_with_json_name: ::std::option::Option<crate::model::StructWithJsonName>,
|
1106 - | #[pyo3(get, set)]
|
1107 - | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
1108 - | #[allow(missing_docs)] // documentation missing in model
|
1109 - | pub timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1110 - | #[pyo3(get, set)]
|
1111 - | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
1112 - | #[allow(missing_docs)] // documentation missing in model
|
1113 - | pub unix_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1114 - | }
|
1115 - | impl KitchenSinkOperationOutput {
|
1116 - | #[allow(missing_docs)] // documentation missing in model
|
1117 - | pub fn blob(&self) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
1118 - | self.blob.as_ref()
|
1372 + | #[derive(
|
1373 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1374 + | )]
|
1375 + | pub struct ContentTypeParametersOutput {}
|
1376 + | #[allow(clippy::new_without_default)]
|
1377 + | #[allow(clippy::too_many_arguments)]
|
1378 + | #[::pyo3::pymethods]
|
1379 + | impl ContentTypeParametersOutput {
|
1380 + | #[new]
|
1381 + | pub fn new() -> Self {
|
1382 + | Self {}
|
1119 1383 | }
|
1120 - | #[allow(missing_docs)] // documentation missing in model
|
1121 - | pub fn boolean(&self) -> ::std::option::Option<bool> {
|
1122 - | self.boolean
|
1384 + | fn __repr__(&self) -> String {
|
1385 + | format!("{self:?}")
|
1123 1386 | }
|
1124 - | #[allow(missing_docs)] // documentation missing in model
|
1125 - | pub fn double(&self) -> ::std::option::Option<f64> {
|
1126 - | self.double
|
1387 + | fn __str__(&self) -> String {
|
1388 + | format!("{self:?}")
|
1127 1389 | }
|
1128 - | #[allow(missing_docs)] // documentation missing in model
|
1129 - | pub fn empty_struct(&self) -> ::std::option::Option<&crate::model::EmptyStruct> {
|
1130 - | self.empty_struct.as_ref()
|
1390 + | }
|
1391 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ContentTypeParametersOutput> {
|
1392 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1393 + | ob.extract::<ContentTypeParametersOutput>().map(Box::new)
|
1131 1394 | }
|
1132 - | #[allow(missing_docs)] // documentation missing in model
|
1133 - | pub fn float(&self) -> ::std::option::Option<f32> {
|
1134 - | self.float
|
1395 + | }
|
1396 + |
|
1397 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ContentTypeParametersOutput> {
|
1398 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1399 + | (*self).into_py(py)
|
1135 1400 | }
|
1136 - | #[allow(missing_docs)] // documentation missing in model
|
1137 - | pub fn httpdate_timestamp(
|
1138 - | &self,
|
1139 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
1140 - | self.httpdate_timestamp.as_ref()
|
1141 - | }
|
1142 - | #[allow(missing_docs)] // documentation missing in model
|
1143 - | pub fn integer(&self) -> ::std::option::Option<i32> {
|
1144 - | self.integer
|
1145 - | }
|
1146 - | #[allow(missing_docs)] // documentation missing in model
|
1147 - | pub fn iso8601_timestamp(
|
1148 - | &self,
|
1149 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
1150 - | self.iso8601_timestamp.as_ref()
|
1151 - | }
|
1152 - | #[allow(missing_docs)] // documentation missing in model
|
1153 - | pub fn json_value(&self) -> ::std::option::Option<&str> {
|
1154 - | self.json_value.as_deref()
|
1155 - | }
|
1156 - | #[allow(missing_docs)] // documentation missing in model
|
1157 - | pub fn list_of_lists(
|
1158 - | &self,
|
1159 - | ) -> ::std::option::Option<&[::std::vec::Vec<::std::string::String>]> {
|
1160 - | self.list_of_lists.as_deref()
|
1161 - | }
|
1162 - | #[allow(missing_docs)] // documentation missing in model
|
1163 - | pub fn list_of_maps_of_strings(
|
1164 - | &self,
|
1165 - | ) -> ::std::option::Option<
|
1166 - | &[::std::collections::HashMap<::std::string::String, ::std::string::String>],
|
1167 - | > {
|
1168 - | self.list_of_maps_of_strings.as_deref()
|
1169 - | }
|
1170 - | #[allow(missing_docs)] // documentation missing in model
|
1171 - | pub fn list_of_strings(&self) -> ::std::option::Option<&[::std::string::String]> {
|
1172 - | self.list_of_strings.as_deref()
|
1173 - | }
|
1174 - | #[allow(missing_docs)] // documentation missing in model
|
1175 - | pub fn list_of_structs(&self) -> ::std::option::Option<&[crate::model::SimpleStruct]> {
|
1176 - | self.list_of_structs.as_deref()
|
1177 - | }
|
1178 - | #[allow(missing_docs)] // documentation missing in model
|
1179 - | pub fn long(&self) -> ::std::option::Option<i64> {
|
1180 - | self.long
|
1181 - | }
|
1182 - | #[allow(missing_docs)] // documentation missing in model
|
1183 - | pub fn map_of_lists_of_strings(
|
1184 - | &self,
|
1185 - | ) -> ::std::option::Option<
|
1186 - | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
1187 - | > {
|
1188 - | self.map_of_lists_of_strings.as_ref()
|
1189 - | }
|
1190 - | #[allow(missing_docs)] // documentation missing in model
|
1191 - | pub fn map_of_maps(
|
1192 - | &self,
|
1193 - | ) -> ::std::option::Option<
|
1194 - | &::std::collections::HashMap<
|
1195 - | ::std::string::String,
|
1196 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1197 - | >,
|
1198 - | > {
|
1199 - | self.map_of_maps.as_ref()
|
1200 - | }
|
1201 - | #[allow(missing_docs)] // documentation missing in model
|
1202 - | pub fn map_of_strings(
|
1203 - | &self,
|
1204 - | ) -> ::std::option::Option<
|
1205 - | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1206 - | > {
|
1207 - | self.map_of_strings.as_ref()
|
1208 - | }
|
1209 - | #[allow(missing_docs)] // documentation missing in model
|
1210 - | pub fn map_of_structs(
|
1211 - | &self,
|
1212 - | ) -> ::std::option::Option<
|
1213 - | &::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
1214 - | > {
|
1215 - | self.map_of_structs.as_ref()
|
1216 - | }
|
1217 - | #[allow(missing_docs)] // documentation missing in model
|
1218 - | pub fn recursive_list(&self) -> ::std::option::Option<&[crate::model::KitchenSink]> {
|
1219 - | self.recursive_list.as_deref()
|
1220 - | }
|
1221 - | #[allow(missing_docs)] // documentation missing in model
|
1222 - | pub fn recursive_map(
|
1223 - | &self,
|
1224 - | ) -> ::std::option::Option<
|
1225 - | &::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
1226 - | > {
|
1227 - | self.recursive_map.as_ref()
|
1228 - | }
|
1229 - | #[allow(missing_docs)] // documentation missing in model
|
1230 - | pub fn recursive_struct(&self) -> ::std::option::Option<&crate::model::KitchenSink> {
|
1231 - | self.recursive_struct.as_deref()
|
1232 - | }
|
1233 - | #[allow(missing_docs)] // documentation missing in model
|
1234 - | pub fn simple_struct(&self) -> ::std::option::Option<&crate::model::SimpleStruct> {
|
1235 - | self.simple_struct.as_ref()
|
1236 - | }
|
1237 - | #[allow(missing_docs)] // documentation missing in model
|
1238 - | pub fn string(&self) -> ::std::option::Option<&str> {
|
1239 - | self.string.as_deref()
|
1240 - | }
|
1241 - | #[allow(missing_docs)] // documentation missing in model
|
1242 - | pub fn struct_with_json_name(
|
1243 - | &self,
|
1244 - | ) -> ::std::option::Option<&crate::model::StructWithJsonName> {
|
1245 - | self.struct_with_json_name.as_ref()
|
1401 + | }
|
1402 + | impl ContentTypeParametersOutput {
|
1403 + | /// Creates a new builder-style object to manufacture [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
1404 + | pub fn builder() -> crate::output::content_type_parameters_output::Builder {
|
1405 + | crate::output::content_type_parameters_output::Builder::default()
|
1246 1406 | }
|
1247 - | #[allow(missing_docs)] // documentation missing in model
|
1248 - | pub fn timestamp(
|
1249 - | &self,
|
1250 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
1251 - | self.timestamp.as_ref()
|
1407 + | }
|
1408 + | /// See [`EmptyOperationOutput`](crate::output::EmptyOperationOutput).
|
1409 + | pub mod empty_operation_output {
|
1410 + |
|
1411 + | impl ::std::convert::From<Builder> for crate::output::EmptyOperationOutput {
|
1412 + | fn from(builder: Builder) -> Self {
|
1413 + | builder.build()
|
1414 + | }
|
1252 1415 | }
|
1253 - | #[allow(missing_docs)] // documentation missing in model
|
1254 - | pub fn unix_timestamp(
|
1255 - | &self,
|
1256 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
1257 - | self.unix_timestamp.as_ref()
|
1416 + | /// A builder for [`EmptyOperationOutput`](crate::output::EmptyOperationOutput).
|
1417 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1418 + | pub struct Builder {}
|
1419 + | impl Builder {
|
1420 + | /// Consumes the builder and constructs a [`EmptyOperationOutput`](crate::output::EmptyOperationOutput).
|
1421 + | pub fn build(self) -> crate::output::EmptyOperationOutput {
|
1422 + | self.build_enforcing_required_and_enum_traits()
|
1423 + | }
|
1424 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::EmptyOperationOutput {
|
1425 + | crate::output::EmptyOperationOutput {}
|
1426 + | }
|
1258 1427 | }
|
1259 1428 | }
|
1260 - | #[allow(clippy::new_without_default)]
|
1261 - | #[allow(clippy::too_many_arguments)]
|
1262 - | #[::pyo3::pymethods]
|
1263 - | impl KitchenSinkOperationOutput {
|
1264 - | #[new]
|
1265 - | pub fn new(
|
1266 - | blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1267 - | boolean: ::std::option::Option<bool>,
|
1268 - | double: ::std::option::Option<f64>,
|
1269 - | empty_struct: ::std::option::Option<crate::model::EmptyStruct>,
|
1270 - | float: ::std::option::Option<f32>,
|
1271 - | httpdate_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1272 - | integer: ::std::option::Option<i32>,
|
1273 - | iso8601_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1274 - | json_value: ::std::option::Option<::std::string::String>,
|
1275 - | list_of_lists: ::std::option::Option<
|
1276 - | ::std::vec::Vec<::std::vec::Vec<::std::string::String>>,
|
1277 - | >,
|
1278 - | list_of_maps_of_strings: ::std::option::Option<
|
1429 + | /// See [`KitchenSinkOperationOutput`](crate::output::KitchenSinkOperationOutput).
|
1430 + | pub mod kitchen_sink_operation_output {
|
1431 + |
|
1432 + | impl ::std::convert::From<Builder> for crate::output::KitchenSinkOperationOutput {
|
1433 + | fn from(builder: Builder) -> Self {
|
1434 + | builder.build()
|
1435 + | }
|
1436 + | }
|
1437 + | /// A builder for [`KitchenSinkOperationOutput`](crate::output::KitchenSinkOperationOutput).
|
1438 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1439 + | pub struct Builder {
|
1440 + | pub(crate) blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1441 + | pub(crate) boolean: ::std::option::Option<bool>,
|
1442 + | pub(crate) double: ::std::option::Option<f64>,
|
1443 + | pub(crate) empty_struct: ::std::option::Option<crate::model::EmptyStruct>,
|
1444 + | pub(crate) float: ::std::option::Option<f32>,
|
1445 + | pub(crate) httpdate_timestamp:
|
1446 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1447 + | pub(crate) integer: ::std::option::Option<i32>,
|
1448 + | pub(crate) iso8601_timestamp:
|
1449 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1450 + | pub(crate) json_value: ::std::option::Option<::std::string::String>,
|
1451 + | pub(crate) list_of_lists:
|
1452 + | ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
1453 + | pub(crate) list_of_maps_of_strings: ::std::option::Option<
|
1279 1454 | ::std::vec::Vec<
|
1280 1455 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1281 1456 | >,
|
1282 1457 | >,
|
1283 - | list_of_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1284 - | list_of_structs: ::std::option::Option<::std::vec::Vec<crate::model::SimpleStruct>>,
|
1285 - | long: ::std::option::Option<i64>,
|
1286 - | map_of_lists_of_strings: ::std::option::Option<
|
1458 + | pub(crate) list_of_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1459 + | pub(crate) list_of_structs:
|
1460 + | ::std::option::Option<::std::vec::Vec<crate::model::SimpleStruct>>,
|
1461 + | pub(crate) long: ::std::option::Option<i64>,
|
1462 + | pub(crate) map_of_lists_of_strings: ::std::option::Option<
|
1287 1463 | ::std::collections::HashMap<
|
1288 1464 | ::std::string::String,
|
1289 1465 | ::std::vec::Vec<::std::string::String>,
|
1290 1466 | >,
|
1291 1467 | >,
|
1292 - | map_of_maps: ::std::option::Option<
|
1468 + | pub(crate) map_of_maps: ::std::option::Option<
|
1293 1469 | ::std::collections::HashMap<
|
1294 1470 | ::std::string::String,
|
1295 1471 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1296 1472 | >,
|
1297 1473 | >,
|
1298 - | map_of_strings: ::std::option::Option<
|
1474 + | pub(crate) map_of_strings: ::std::option::Option<
|
1299 1475 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1300 1476 | >,
|
1301 - | map_of_structs: ::std::option::Option<
|
1477 + | pub(crate) map_of_structs: ::std::option::Option<
|
1302 1478 | ::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
1303 1479 | >,
|
1304 - | recursive_list: ::std::option::Option<::std::vec::Vec<crate::model::KitchenSink>>,
|
1305 - | recursive_map: ::std::option::Option<
|
1480 + | pub(crate) recursive_list:
|
1481 + | ::std::option::Option<::std::vec::Vec<crate::model::KitchenSink>>,
|
1482 + | pub(crate) recursive_map: ::std::option::Option<
|
1306 1483 | ::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
1307 1484 | >,
|
1308 - | recursive_struct: ::std::option::Option<::std::boxed::Box<crate::model::KitchenSink>>,
|
1309 - | simple_struct: ::std::option::Option<crate::model::SimpleStruct>,
|
1310 - | string: ::std::option::Option<::std::string::String>,
|
1311 - | struct_with_json_name: ::std::option::Option<crate::model::StructWithJsonName>,
|
1312 - | timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1313 - | unix_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1314 - | ) -> Self {
|
1315 - | Self {
|
1316 - | blob,
|
1317 - | boolean,
|
1318 - | double,
|
1319 - | empty_struct,
|
1320 - | float,
|
1321 - | httpdate_timestamp,
|
1322 - | integer,
|
1323 - | iso8601_timestamp,
|
1324 - | json_value,
|
1325 - | list_of_lists,
|
1326 - | list_of_maps_of_strings,
|
1327 - | list_of_strings,
|
1328 - | list_of_structs,
|
1329 - | long,
|
1330 - | map_of_lists_of_strings,
|
1331 - | map_of_maps,
|
1332 - | map_of_strings,
|
1333 - | map_of_structs,
|
1334 - | recursive_list,
|
1335 - | recursive_map,
|
1336 - | recursive_struct,
|
1337 - | simple_struct,
|
1338 - | string,
|
1339 - | struct_with_json_name,
|
1340 - | timestamp,
|
1341 - | unix_timestamp,
|
1342 - | }
|
1343 - | }
|
1344 - | fn __repr__(&self) -> String {
|
1345 - | format!("{self:?}")
|
1346 - | }
|
1347 - | fn __str__(&self) -> String {
|
1348 - | format!("{self:?}")
|
1349 - | }
|
1350 - | }
|
1351 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<KitchenSinkOperationOutput> {
|
1352 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1353 - | ob.extract::<KitchenSinkOperationOutput>().map(Box::new)
|
1354 - | }
|
1355 - | }
|
1356 - |
|
1357 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<KitchenSinkOperationOutput> {
|
1358 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1359 - | (*self).into_py(py)
|
1360 - | }
|
1361 - | }
|
1362 - | impl KitchenSinkOperationOutput {
|
1363 - | /// Creates a new builder-style object to manufacture [`KitchenSinkOperationOutput`](crate::output::KitchenSinkOperationOutput).
|
1364 - | pub fn builder() -> crate::output::kitchen_sink_operation_output::Builder {
|
1365 - | crate::output::kitchen_sink_operation_output::Builder::default()
|
1366 - | }
|
1367 - | }
|
1368 - |
|
1369 - | #[::pyo3::pyclass]
|
1370 - | /// :rtype None:
|
1371 - | #[allow(missing_docs)] // documentation missing in model
|
1372 - | #[derive(
|
1373 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1374 - | )]
|
1375 - | pub struct EmptyOperationOutput {}
|
1376 - | #[allow(clippy::new_without_default)]
|
1377 - | #[allow(clippy::too_many_arguments)]
|
1378 - | #[::pyo3::pymethods]
|
1379 - | impl EmptyOperationOutput {
|
1380 - | #[new]
|
1381 - | pub fn new() -> Self {
|
1382 - | Self {}
|
1383 - | }
|
1384 - | fn __repr__(&self) -> String {
|
1385 - | format!("{self:?}")
|
1386 - | }
|
1387 - | fn __str__(&self) -> String {
|
1388 - | format!("{self:?}")
|
1389 - | }
|
1390 - | }
|
1391 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EmptyOperationOutput> {
|
1392 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1393 - | ob.extract::<EmptyOperationOutput>().map(Box::new)
|
1394 - | }
|
1395 - | }
|
1396 - |
|
1397 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EmptyOperationOutput> {
|
1398 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1399 - | (*self).into_py(py)
|
1400 - | }
|
1401 - | }
|
1402 - | impl EmptyOperationOutput {
|
1403 - | /// Creates a new builder-style object to manufacture [`EmptyOperationOutput`](crate::output::EmptyOperationOutput).
|
1404 - | pub fn builder() -> crate::output::empty_operation_output::Builder {
|
1405 - | crate::output::empty_operation_output::Builder::default()
|
1406 - | }
|
1407 - | }
|
1408 - | /// See [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
1409 - | pub mod content_type_parameters_output {
|
1410 - |
|
1411 - | impl ::std::convert::From<Builder> for crate::output::ContentTypeParametersOutput {
|
1412 - | fn from(builder: Builder) -> Self {
|
1413 - | builder.build()
|
1414 - | }
|
1485 + | pub(crate) recursive_struct:
|
1486 + | ::std::option::Option<::std::boxed::Box<crate::model::KitchenSink>>,
|
1487 + | pub(crate) simple_struct: ::std::option::Option<crate::model::SimpleStruct>,
|
1488 + | pub(crate) string: ::std::option::Option<::std::string::String>,
|
1489 + | pub(crate) struct_with_json_name: ::std::option::Option<crate::model::StructWithJsonName>,
|
1490 + | pub(crate) timestamp:
|
1491 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1492 + | pub(crate) unix_timestamp:
|
1493 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1415 1494 | }
|
1416 - | /// A builder for [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
1417 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1418 - | pub struct Builder {}
|
1419 1495 | impl Builder {
|
1420 - | /// Consumes the builder and constructs a [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
1421 - | pub fn build(self) -> crate::output::ContentTypeParametersOutput {
|
1422 - | self.build_enforcing_required_and_enum_traits()
|
1496 + | #[allow(missing_docs)] // documentation missing in model
|
1497 + | pub fn blob(
|
1498 + | mut self,
|
1499 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1500 + | ) -> Self {
|
1501 + | self.blob = input;
|
1502 + | self
|
1503 + | }
|
1504 + | #[allow(missing_docs)] // documentation missing in model
|
1505 + | pub fn boolean(mut self, input: ::std::option::Option<bool>) -> Self {
|
1506 + | self.boolean = input;
|
1507 + | self
|
1508 + | }
|
1509 + | #[allow(missing_docs)] // documentation missing in model
|
1510 + | pub fn double(mut self, input: ::std::option::Option<f64>) -> Self {
|
1511 + | self.double = input;
|
1512 + | self
|
1513 + | }
|
1514 + | #[allow(missing_docs)] // documentation missing in model
|
1515 + | pub fn empty_struct(
|
1516 + | mut self,
|
1517 + | input: ::std::option::Option<crate::model::EmptyStruct>,
|
1518 + | ) -> Self {
|
1519 + | self.empty_struct = input;
|
1520 + | self
|
1521 + | }
|
1522 + | #[allow(missing_docs)] // documentation missing in model
|
1523 + | pub fn float(mut self, input: ::std::option::Option<f32>) -> Self {
|
1524 + | self.float = input;
|
1525 + | self
|
1526 + | }
|
1527 + | #[allow(missing_docs)] // documentation missing in model
|
1528 + | pub fn httpdate_timestamp(
|
1529 + | mut self,
|
1530 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1531 + | ) -> Self {
|
1532 + | self.httpdate_timestamp = input;
|
1533 + | self
|
1534 + | }
|
1535 + | #[allow(missing_docs)] // documentation missing in model
|
1536 + | pub fn integer(mut self, input: ::std::option::Option<i32>) -> Self {
|
1537 + | self.integer = input;
|
1538 + | self
|
1539 + | }
|
1540 + | #[allow(missing_docs)] // documentation missing in model
|
1541 + | pub fn iso8601_timestamp(
|
1542 + | mut self,
|
1543 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1544 + | ) -> Self {
|
1545 + | self.iso8601_timestamp = input;
|
1546 + | self
|
1547 + | }
|
1548 + | #[allow(missing_docs)] // documentation missing in model
|
1549 + | pub fn json_value(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
1550 + | self.json_value = input;
|
1551 + | self
|
1552 + | }
|
1553 + | #[allow(missing_docs)] // documentation missing in model
|
1554 + | pub fn list_of_lists(
|
1555 + | mut self,
|
1556 + | input: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
1557 + | ) -> Self {
|
1558 + | self.list_of_lists = input;
|
1559 + | self
|
1560 + | }
|
1561 + | #[allow(missing_docs)] // documentation missing in model
|
1562 + | pub fn list_of_maps_of_strings(
|
1563 + | mut self,
|
1564 + | input: ::std::option::Option<
|
1565 + | ::std::vec::Vec<
|
1566 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1567 + | >,
|
1568 + | >,
|
1569 + | ) -> Self {
|
1570 + | self.list_of_maps_of_strings = input;
|
1571 + | self
|
1572 + | }
|
1573 + | #[allow(missing_docs)] // documentation missing in model
|
1574 + | pub fn list_of_strings(
|
1575 + | mut self,
|
1576 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1577 + | ) -> Self {
|
1578 + | self.list_of_strings = input;
|
1579 + | self
|
1580 + | }
|
1581 + | #[allow(missing_docs)] // documentation missing in model
|
1582 + | pub fn list_of_structs(
|
1583 + | mut self,
|
1584 + | input: ::std::option::Option<::std::vec::Vec<crate::model::SimpleStruct>>,
|
1585 + | ) -> Self {
|
1586 + | self.list_of_structs = input;
|
1587 + | self
|
1588 + | }
|
1589 + | #[allow(missing_docs)] // documentation missing in model
|
1590 + | pub fn long(mut self, input: ::std::option::Option<i64>) -> Self {
|
1591 + | self.long = input;
|
1592 + | self
|
1593 + | }
|
1594 + | #[allow(missing_docs)] // documentation missing in model
|
1595 + | pub fn map_of_lists_of_strings(
|
1596 + | mut self,
|
1597 + | input: ::std::option::Option<
|
1598 + | ::std::collections::HashMap<
|
1599 + | ::std::string::String,
|
1600 + | ::std::vec::Vec<::std::string::String>,
|
1601 + | >,
|
1602 + | >,
|
1603 + | ) -> Self {
|
1604 + | self.map_of_lists_of_strings = input;
|
1605 + | self
|
1423 1606 | }
|
1424 - | fn build_enforcing_required_and_enum_traits(
|
1425 - | self,
|
1426 - | ) -> crate::output::ContentTypeParametersOutput {
|
1427 - | crate::output::ContentTypeParametersOutput {}
|
1607 + | #[allow(missing_docs)] // documentation missing in model
|
1608 + | pub fn map_of_maps(
|
1609 + | mut self,
|
1610 + | input: ::std::option::Option<
|
1611 + | ::std::collections::HashMap<
|
1612 + | ::std::string::String,
|
1613 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1614 + | >,
|
1615 + | >,
|
1616 + | ) -> Self {
|
1617 + | self.map_of_maps = input;
|
1618 + | self
|
1428 1619 | }
|
1429 - | }
|
1430 - | }
|
1431 - | /// See [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
1432 - | pub mod put_with_content_encoding_output {
|
1433 - |
|
1434 - | impl ::std::convert::From<Builder> for crate::output::PutWithContentEncodingOutput {
|
1435 - | fn from(builder: Builder) -> Self {
|
1436 - | builder.build()
|
1620 + | #[allow(missing_docs)] // documentation missing in model
|
1621 + | pub fn map_of_strings(
|
1622 + | mut self,
|
1623 + | input: ::std::option::Option<
|
1624 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1625 + | >,
|
1626 + | ) -> Self {
|
1627 + | self.map_of_strings = input;
|
1628 + | self
|
1437 1629 | }
|
1438 - | }
|
1439 - | /// A builder for [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
1440 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1441 - | pub struct Builder {}
|
1442 - | impl Builder {
|
1443 - | /// Consumes the builder and constructs a [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
1444 - | pub fn build(self) -> crate::output::PutWithContentEncodingOutput {
|
1445 - | self.build_enforcing_required_and_enum_traits()
|
1630 + | #[allow(missing_docs)] // documentation missing in model
|
1631 + | pub fn map_of_structs(
|
1632 + | mut self,
|
1633 + | input: ::std::option::Option<
|
1634 + | ::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
1635 + | >,
|
1636 + | ) -> Self {
|
1637 + | self.map_of_structs = input;
|
1638 + | self
|
1446 1639 | }
|
1447 - | fn build_enforcing_required_and_enum_traits(
|
1448 - | self,
|
1449 - | ) -> crate::output::PutWithContentEncodingOutput {
|
1450 - | crate::output::PutWithContentEncodingOutput {}
|
1640 + | #[allow(missing_docs)] // documentation missing in model
|
1641 + | pub fn recursive_list(
|
1642 + | mut self,
|
1643 + | input: ::std::option::Option<::std::vec::Vec<crate::model::KitchenSink>>,
|
1644 + | ) -> Self {
|
1645 + | self.recursive_list = input;
|
1646 + | self
|
1451 1647 | }
|
1452 - | }
|
1453 - | }
|
1454 - | /// See [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
1455 - | pub mod fractional_seconds_output {
|
1456 - |
|
1457 - | impl ::std::convert::From<Builder> for crate::output::FractionalSecondsOutput {
|
1458 - | fn from(builder: Builder) -> Self {
|
1459 - | builder.build()
|
1648 + | #[allow(missing_docs)] // documentation missing in model
|
1649 + | pub fn recursive_map(
|
1650 + | mut self,
|
1651 + | input: ::std::option::Option<
|
1652 + | ::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
1653 + | >,
|
1654 + | ) -> Self {
|
1655 + | self.recursive_map = input;
|
1656 + | self
|
1460 1657 | }
|
1461 - | }
|
1462 - | /// A builder for [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
1463 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1464 - | pub struct Builder {
|
1465 - | pub(crate) datetime:
|
1466 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1467 - | }
|
1468 - | impl Builder {
|
1469 1658 | #[allow(missing_docs)] // documentation missing in model
|
1470 - | pub fn datetime(
|
1659 + | pub fn recursive_struct(
|
1471 1660 | mut self,
|
1472 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1661 + | input: ::std::option::Option<::std::boxed::Box<crate::model::KitchenSink>>,
|
1473 1662 | ) -> Self {
|
1474 - | self.datetime = input;
|
1663 + | self.recursive_struct = input;
|
1475 1664 | self
|
1476 1665 | }
|
1477 - | /// Consumes the builder and constructs a [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
1478 - | pub fn build(self) -> crate::output::FractionalSecondsOutput {
|
1479 - | self.build_enforcing_required_and_enum_traits()
|
1666 + | #[allow(missing_docs)] // documentation missing in model
|
1667 + | pub fn simple_struct(
|
1668 + | mut self,
|
1669 + | input: ::std::option::Option<crate::model::SimpleStruct>,
|
1670 + | ) -> Self {
|
1671 + | self.simple_struct = input;
|
1672 + | self
|
1480 1673 | }
|
1481 - | fn build_enforcing_required_and_enum_traits(
|
1482 - | self,
|
1483 - | ) -> crate::output::FractionalSecondsOutput {
|
1484 - | crate::output::FractionalSecondsOutput {
|
1485 - | datetime: self.datetime,
|
1486 - | }
|
1674 + | #[allow(missing_docs)] // documentation missing in model
|
1675 + | pub fn string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
1676 + | self.string = input;
|
1677 + | self
|
1487 1678 | }
|
1488 - | }
|
1489 - | }
|
1490 - | /// See [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
1491 - | pub mod datetime_offsets_output {
|
1492 - |
|
1493 - | impl ::std::convert::From<Builder> for crate::output::DatetimeOffsetsOutput {
|
1494 - | fn from(builder: Builder) -> Self {
|
1495 - | builder.build()
|
1679 + | #[allow(missing_docs)] // documentation missing in model
|
1680 + | pub fn struct_with_json_name(
|
1681 + | mut self,
|
1682 + | input: ::std::option::Option<crate::model::StructWithJsonName>,
|
1683 + | ) -> Self {
|
1684 + | self.struct_with_json_name = input;
|
1685 + | self
|
1496 1686 | }
|
1497 - | }
|
1498 - | /// A builder for [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
1499 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1500 - | pub struct Builder {
|
1501 - | pub(crate) datetime:
|
1502 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1503 - | }
|
1504 - | impl Builder {
|
1505 1687 | #[allow(missing_docs)] // documentation missing in model
|
1506 - | pub fn datetime(
|
1688 + | pub fn timestamp(
|
1507 1689 | mut self,
|
1508 1690 | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1509 1691 | ) -> Self {
|
1510 - | self.datetime = input;
|
1692 + | self.timestamp = input;
|
1511 1693 | self
|
1512 1694 | }
|
1513 - | /// Consumes the builder and constructs a [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
1514 - | pub fn build(self) -> crate::output::DatetimeOffsetsOutput {
|
1515 - | self.build_enforcing_required_and_enum_traits()
|
1516 - | }
|
1517 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::DatetimeOffsetsOutput {
|
1518 - | crate::output::DatetimeOffsetsOutput {
|
1519 - | datetime: self.datetime,
|
1520 - | }
|
1521 - | }
|
1522 - | }
|
1523 - | }
|
1524 - | /// See [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
1525 - | pub mod host_with_path_operation_output {
|
1526 - |
|
1527 - | impl ::std::convert::From<Builder> for crate::output::HostWithPathOperationOutput {
|
1528 - | fn from(builder: Builder) -> Self {
|
1529 - | builder.build()
|
1695 + | #[allow(missing_docs)] // documentation missing in model
|
1696 + | pub fn unix_timestamp(
|
1697 + | mut self,
|
1698 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1699 + | ) -> Self {
|
1700 + | self.unix_timestamp = input;
|
1701 + | self
|
1530 1702 | }
|
1531 - | }
|
1532 - | /// A builder for [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
1533 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1534 - | pub struct Builder {}
|
1535 - | impl Builder {
|
1536 - | /// Consumes the builder and constructs a [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
1537 - | pub fn build(self) -> crate::output::HostWithPathOperationOutput {
|
1703 + | /// Consumes the builder and constructs a [`KitchenSinkOperationOutput`](crate::output::KitchenSinkOperationOutput).
|
1704 + | pub fn build(self) -> crate::output::KitchenSinkOperationOutput {
|
1538 1705 | self.build_enforcing_required_and_enum_traits()
|
1539 1706 | }
|
1540 1707 | fn build_enforcing_required_and_enum_traits(
|
1541 1708 | self,
|
1542 - | ) -> crate::output::HostWithPathOperationOutput {
|
1543 - | crate::output::HostWithPathOperationOutput {}
|
1709 + | ) -> crate::output::KitchenSinkOperationOutput {
|
1710 + | crate::output::KitchenSinkOperationOutput {
|
1711 + | blob: self.blob,
|
1712 + | boolean: self.boolean,
|
1713 + | double: self.double,
|
1714 + | empty_struct: self.empty_struct,
|
1715 + | float: self.float,
|
1716 + | httpdate_timestamp: self.httpdate_timestamp,
|
1717 + | integer: self.integer,
|
1718 + | iso8601_timestamp: self.iso8601_timestamp,
|
1719 + | json_value: self.json_value,
|
1720 + | list_of_lists: self.list_of_lists,
|
1721 + | list_of_maps_of_strings: self.list_of_maps_of_strings,
|
1722 + | list_of_strings: self.list_of_strings,
|
1723 + | list_of_structs: self.list_of_structs,
|
1724 + | long: self.long,
|
1725 + | map_of_lists_of_strings: self.map_of_lists_of_strings,
|
1726 + | map_of_maps: self.map_of_maps,
|
1727 + | map_of_strings: self.map_of_strings,
|
1728 + | map_of_structs: self.map_of_structs,
|
1729 + | recursive_list: self.recursive_list,
|
1730 + | recursive_map: self.recursive_map,
|
1731 + | recursive_struct: self.recursive_struct,
|
1732 + | simple_struct: self.simple_struct,
|
1733 + | string: self.string,
|
1734 + | struct_with_json_name: self.struct_with_json_name,
|
1735 + | timestamp: self.timestamp,
|
1736 + | unix_timestamp: self.unix_timestamp,
|
1737 + | }
|
1544 1738 | }
|
1545 1739 | }
|
1546 1740 | }
|
1547 - | /// See [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
1548 - | pub mod endpoint_with_host_label_operation_output {
|
1741 + | /// See [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
1742 + | pub mod simple_scalar_properties_output {
|
1549 1743 |
|
1550 - | impl ::std::convert::From<Builder> for crate::output::EndpointWithHostLabelOperationOutput {
|
1744 + | impl ::std::convert::From<Builder> for crate::output::SimpleScalarPropertiesOutput {
|
1551 1745 | fn from(builder: Builder) -> Self {
|
1552 1746 | builder.build()
|
1553 1747 | }
|
1554 1748 | }
|
1555 - | /// A builder for [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
1749 + | /// A builder for [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
1556 1750 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1557 - | pub struct Builder {}
|
1751 + | pub struct Builder {
|
1752 + | pub(crate) float_value: ::std::option::Option<f32>,
|
1753 + | pub(crate) double_value: ::std::option::Option<f64>,
|
1754 + | }
|
1558 1755 | impl Builder {
|
1559 - | /// Consumes the builder and constructs a [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
1560 - | pub fn build(self) -> crate::output::EndpointWithHostLabelOperationOutput {
|
1561 - | self.build_enforcing_required_and_enum_traits()
|
1562 - | }
|
1563 - | fn build_enforcing_required_and_enum_traits(
|
1564 - | self,
|
1565 - | ) -> crate::output::EndpointWithHostLabelOperationOutput {
|
1566 - | crate::output::EndpointWithHostLabelOperationOutput {}
|
1756 + | #[allow(missing_docs)] // documentation missing in model
|
1757 + | pub fn float_value(mut self, input: ::std::option::Option<f32>) -> Self {
|
1758 + | self.float_value = input;
|
1759 + | self
|
1567 1760 | }
|
1568 - | }
|
1569 - | }
|
1570 - | /// See [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
1571 - | pub mod endpoint_operation_output {
|
1572 - |
|
1573 - | impl ::std::convert::From<Builder> for crate::output::EndpointOperationOutput {
|
1574 - | fn from(builder: Builder) -> Self {
|
1575 - | builder.build()
|
1761 + | #[allow(missing_docs)] // documentation missing in model
|
1762 + | pub fn double_value(mut self, input: ::std::option::Option<f64>) -> Self {
|
1763 + | self.double_value = input;
|
1764 + | self
|
1576 1765 | }
|
1577 - | }
|
1578 - | /// A builder for [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
1579 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1580 - | pub struct Builder {}
|
1581 - | impl Builder {
|
1582 - | /// Consumes the builder and constructs a [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
1583 - | pub fn build(self) -> crate::output::EndpointOperationOutput {
|
1766 + | /// Consumes the builder and constructs a [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
1767 + | pub fn build(self) -> crate::output::SimpleScalarPropertiesOutput {
|
1584 1768 | self.build_enforcing_required_and_enum_traits()
|
1585 1769 | }
|
1586 1770 | fn build_enforcing_required_and_enum_traits(
|
1587 1771 | self,
|
1588 - | ) -> crate::output::EndpointOperationOutput {
|
1589 - | crate::output::EndpointOperationOutput {}
|
1772 + | ) -> crate::output::SimpleScalarPropertiesOutput {
|
1773 + | crate::output::SimpleScalarPropertiesOutput {
|
1774 + | float_value: self.float_value,
|
1775 + | double_value: self.double_value,
|
1776 + | }
|
1590 1777 | }
|
1591 1778 | }
|
1592 1779 | }
|
1593 - | /// See [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
1594 - | pub mod json_unions_output {
|
1780 + | /// See [`OperationWithOptionalInputOutputOutput`](crate::output::OperationWithOptionalInputOutputOutput).
|
1781 + | pub mod operation_with_optional_input_output_output {
|
1595 1782 |
|
1596 - | impl ::std::convert::From<Builder> for crate::output::JsonUnionsOutput {
|
1783 + | impl ::std::convert::From<Builder> for crate::output::OperationWithOptionalInputOutputOutput {
|
1597 1784 | fn from(builder: Builder) -> Self {
|
1598 1785 | builder.build()
|
1599 1786 | }
|
1600 1787 | }
|
1601 - | /// A builder for [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
1788 + | /// A builder for [`OperationWithOptionalInputOutputOutput`](crate::output::OperationWithOptionalInputOutputOutput).
|
1602 1789 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1603 1790 | pub struct Builder {
|
1604 - | pub(crate) contents: ::std::option::Option<crate::model::MyUnion>,
|
1791 + | pub(crate) value: ::std::option::Option<::std::string::String>,
|
1605 1792 | }
|
1606 1793 | impl Builder {
|
1607 - | /// A union with a representative set of types for members.
|
1608 - | pub fn contents(mut self, input: ::std::option::Option<crate::model::MyUnion>) -> Self {
|
1609 - | self.contents = input;
|
1794 + | #[allow(missing_docs)] // documentation missing in model
|
1795 + | pub fn value(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
1796 + | self.value = input;
|
1610 1797 | self
|
1611 1798 | }
|
1612 - | /// Consumes the builder and constructs a [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
1613 - | pub fn build(self) -> crate::output::JsonUnionsOutput {
|
1799 + | /// Consumes the builder and constructs a [`OperationWithOptionalInputOutputOutput`](crate::output::OperationWithOptionalInputOutputOutput).
|
1800 + | pub fn build(self) -> crate::output::OperationWithOptionalInputOutputOutput {
|
1614 1801 | self.build_enforcing_required_and_enum_traits()
|
1615 1802 | }
|
1616 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonUnionsOutput {
|
1617 - | crate::output::JsonUnionsOutput {
|
1618 - | contents: self.contents,
|
1619 - | }
|
1803 + | fn build_enforcing_required_and_enum_traits(
|
1804 + | self,
|
1805 + | ) -> crate::output::OperationWithOptionalInputOutputOutput {
|
1806 + | crate::output::OperationWithOptionalInputOutputOutput { value: self.value }
|
1620 1807 | }
|
1621 1808 | }
|
1622 1809 | }
|
1623 - | /// See [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
1624 - | pub mod greeting_with_errors_output {
|
1810 + | /// See [`PutAndGetInlineDocumentsOutput`](crate::output::PutAndGetInlineDocumentsOutput).
|
1811 + | pub mod put_and_get_inline_documents_output {
|
1625 1812 |
|
1626 - | impl ::std::convert::From<Builder> for crate::output::GreetingWithErrorsOutput {
|
1813 + | impl ::std::convert::From<Builder> for crate::output::PutAndGetInlineDocumentsOutput {
|
1627 1814 | fn from(builder: Builder) -> Self {
|
1628 1815 | builder.build()
|
1629 1816 | }
|
1630 1817 | }
|
1631 - | /// A builder for [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
1818 + | /// A builder for [`PutAndGetInlineDocumentsOutput`](crate::output::PutAndGetInlineDocumentsOutput).
|
1632 1819 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1633 1820 | pub struct Builder {
|
1634 - | pub(crate) greeting: ::std::option::Option<::std::string::String>,
|
1821 + | pub(crate) inline_document:
|
1822 + | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
1635 1823 | }
|
1636 1824 | impl Builder {
|
1637 1825 | #[allow(missing_docs)] // documentation missing in model
|
1638 - | pub fn greeting(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
1639 - | self.greeting = input;
|
1826 + | pub fn inline_document(
|
1827 + | mut self,
|
1828 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
1829 + | ) -> Self {
|
1830 + | self.inline_document = input;
|
1640 1831 | self
|
1641 1832 | }
|
1642 - | /// Consumes the builder and constructs a [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
1643 - | pub fn build(self) -> crate::output::GreetingWithErrorsOutput {
|
1833 + | /// Consumes the builder and constructs a [`PutAndGetInlineDocumentsOutput`](crate::output::PutAndGetInlineDocumentsOutput).
|
1834 + | pub fn build(self) -> crate::output::PutAndGetInlineDocumentsOutput {
|
1644 1835 | self.build_enforcing_required_and_enum_traits()
|
1645 1836 | }
|
1646 1837 | fn build_enforcing_required_and_enum_traits(
|
1647 1838 | self,
|
1648 - | ) -> crate::output::GreetingWithErrorsOutput {
|
1649 - | crate::output::GreetingWithErrorsOutput {
|
1650 - | greeting: self.greeting,
|
1839 + | ) -> crate::output::PutAndGetInlineDocumentsOutput {
|
1840 + | crate::output::PutAndGetInlineDocumentsOutput {
|
1841 + | inline_document: self.inline_document,
|
1651 1842 | }
|
1652 1843 | }
|
1653 1844 | }
|
1654 1845 | }
|
1655 - | /// See [`SparseNullsOperationOutput`](crate::output::SparseNullsOperationOutput).
|
1656 - | pub mod sparse_nulls_operation_output {
|
1846 + | /// See [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
1847 + | pub mod json_enums_output {
|
1657 1848 |
|
1658 - | impl ::std::convert::From<Builder> for crate::output::SparseNullsOperationOutput {
|
1849 + | impl ::std::convert::From<Builder> for crate::output::JsonEnumsOutput {
|
1659 1850 | fn from(builder: Builder) -> Self {
|
1660 1851 | builder.build()
|
1661 1852 | }
|
1662 1853 | }
|
1663 - | /// A builder for [`SparseNullsOperationOutput`](crate::output::SparseNullsOperationOutput).
|
1854 + | /// A builder for [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
1664 1855 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1665 1856 | pub struct Builder {
|
1666 - | pub(crate) sparse_string_list:
|
1667 - | ::std::option::Option<::std::vec::Vec<::std::option::Option<::std::string::String>>>,
|
1668 - | pub(crate) sparse_string_map: ::std::option::Option<
|
1669 - | ::std::collections::HashMap<
|
1670 - | ::std::string::String,
|
1671 - | ::std::option::Option<::std::string::String>,
|
1672 - | >,
|
1857 + | pub(crate) foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
1858 + | pub(crate) foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
1859 + | pub(crate) foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
1860 + | pub(crate) foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
1861 + | pub(crate) foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
1862 + | pub(crate) foo_enum_map: ::std::option::Option<
|
1863 + | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
1673 1864 | >,
|
1674 1865 | }
|
1675 1866 | impl Builder {
|
1676 1867 | #[allow(missing_docs)] // documentation missing in model
|
1677 - | pub fn sparse_string_list(
|
1868 + | pub fn foo_enum1(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
1869 + | self.foo_enum1 = input;
|
1870 + | self
|
1871 + | }
|
1872 + | #[allow(missing_docs)] // documentation missing in model
|
1873 + | pub fn foo_enum2(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
1874 + | self.foo_enum2 = input;
|
1875 + | self
|
1876 + | }
|
1877 + | #[allow(missing_docs)] // documentation missing in model
|
1878 + | pub fn foo_enum3(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
1879 + | self.foo_enum3 = input;
|
1880 + | self
|
1881 + | }
|
1882 + | #[allow(missing_docs)] // documentation missing in model
|
1883 + | pub fn foo_enum_list(
|
1678 1884 | mut self,
|
1679 - | input: ::std::option::Option<
|
1680 - | ::std::vec::Vec<::std::option::Option<::std::string::String>>,
|
1681 - | >,
|
1885 + | input: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
1682 1886 | ) -> Self {
|
1683 - | self.sparse_string_list = input;
|
1887 + | self.foo_enum_list = input;
|
1684 1888 | self
|
1685 1889 | }
|
1686 1890 | #[allow(missing_docs)] // documentation missing in model
|
1687 - | pub fn sparse_string_map(
|
1891 + | pub fn foo_enum_set(
|
1688 1892 | mut self,
|
1689 - | input: ::std::option::Option<
|
1690 - | ::std::collections::HashMap<
|
1691 - | ::std::string::String,
|
1692 - | ::std::option::Option<::std::string::String>,
|
1693 - | >,
|
1694 - | >,
|
1893 + | input: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
1695 1894 | ) -> Self {
|
1696 - | self.sparse_string_map = input;
|
1895 + | self.foo_enum_set = input;
|
1697 1896 | self
|
1698 1897 | }
|
1699 - | /// Consumes the builder and constructs a [`SparseNullsOperationOutput`](crate::output::SparseNullsOperationOutput).
|
1700 - | pub fn build(self) -> crate::output::SparseNullsOperationOutput {
|
1701 - | self.build_enforcing_required_and_enum_traits()
|
1702 - | }
|
1703 - | fn build_enforcing_required_and_enum_traits(
|
1704 - | self,
|
1705 - | ) -> crate::output::SparseNullsOperationOutput {
|
1706 - | crate::output::SparseNullsOperationOutput {
|
1707 - | sparse_string_list: self.sparse_string_list,
|
1708 - | sparse_string_map: self.sparse_string_map,
|
1709 - | }
|
1710 - | }
|
1711 - | }
|
1712 - | }
|
1713 - | /// See [`NullOperationOutput`](crate::output::NullOperationOutput).
|
1714 - | pub mod null_operation_output {
|
1715 - |
|
1716 - | impl ::std::convert::From<Builder> for crate::output::NullOperationOutput {
|
1717 - | fn from(builder: Builder) -> Self {
|
1718 - | builder.build()
|
1719 - | }
|
1720 - | }
|
1721 - | /// A builder for [`NullOperationOutput`](crate::output::NullOperationOutput).
|
1722 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1723 - | pub struct Builder {
|
1724 - | pub(crate) string: ::std::option::Option<::std::string::String>,
|
1725 - | }
|
1726 - | impl Builder {
|
1727 1898 | #[allow(missing_docs)] // documentation missing in model
|
1728 - | pub fn string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
1729 - | self.string = input;
|
1899 + | pub fn foo_enum_map(
|
1900 + | mut self,
|
1901 + | input: ::std::option::Option<
|
1902 + | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
1903 + | >,
|
1904 + | ) -> Self {
|
1905 + | self.foo_enum_map = input;
|
1730 1906 | self
|
1731 1907 | }
|
1732 - | /// Consumes the builder and constructs a [`NullOperationOutput`](crate::output::NullOperationOutput).
|
1733 - | pub fn build(self) -> crate::output::NullOperationOutput {
|
1908 + | /// Consumes the builder and constructs a [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
1909 + | pub fn build(self) -> crate::output::JsonEnumsOutput {
|
1734 1910 | self.build_enforcing_required_and_enum_traits()
|
1735 1911 | }
|
1736 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::NullOperationOutput {
|
1737 - | crate::output::NullOperationOutput {
|
1738 - | string: self.string,
|
1912 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonEnumsOutput {
|
1913 + | crate::output::JsonEnumsOutput {
|
1914 + | foo_enum1: self.foo_enum1,
|
1915 + | foo_enum2: self.foo_enum2,
|
1916 + | foo_enum3: self.foo_enum3,
|
1917 + | foo_enum_list: self.foo_enum_list,
|
1918 + | foo_enum_set: self.foo_enum_set,
|
1919 + | foo_enum_map: self.foo_enum_map,
|
1739 1920 | }
|
1740 1921 | }
|
1741 1922 | }
|
1742 1923 | }
|
1743 1924 | /// See [`JsonIntEnumsOutput`](crate::output::JsonIntEnumsOutput).
|
1744 1925 | pub mod json_int_enums_output {
|
1745 1926 |
|
1746 1927 | impl ::std::convert::From<Builder> for crate::output::JsonIntEnumsOutput {
|
1747 1928 | fn from(builder: Builder) -> Self {
|
1748 1929 | builder.build()
|
1802 1983 | int_enum1: self.int_enum1,
|
1803 1984 | int_enum2: self.int_enum2,
|
1804 1985 | int_enum3: self.int_enum3,
|
1805 1986 | int_enum_list: self.int_enum_list,
|
1806 1987 | int_enum_set: self.int_enum_set,
|
1807 1988 | int_enum_map: self.int_enum_map,
|
1808 1989 | }
|
1809 1990 | }
|
1810 1991 | }
|
1811 1992 | }
|
1812 - | /// See [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
1813 - | pub mod json_enums_output {
|
1993 + | /// See [`NullOperationOutput`](crate::output::NullOperationOutput).
|
1994 + | pub mod null_operation_output {
|
1814 1995 |
|
1815 - | impl ::std::convert::From<Builder> for crate::output::JsonEnumsOutput {
|
1996 + | impl ::std::convert::From<Builder> for crate::output::NullOperationOutput {
|
1816 1997 | fn from(builder: Builder) -> Self {
|
1817 1998 | builder.build()
|
1818 1999 | }
|
1819 2000 | }
|
1820 - | /// A builder for [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
2001 + | /// A builder for [`NullOperationOutput`](crate::output::NullOperationOutput).
|
1821 2002 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1822 2003 | pub struct Builder {
|
1823 - | pub(crate) foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
1824 - | pub(crate) foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
1825 - | pub(crate) foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
1826 - | pub(crate) foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
1827 - | pub(crate) foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
1828 - | pub(crate) foo_enum_map: ::std::option::Option<
|
1829 - | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
1830 - | >,
|
2004 + | pub(crate) string: ::std::option::Option<::std::string::String>,
|
1831 2005 | }
|
1832 2006 | impl Builder {
|
1833 2007 | #[allow(missing_docs)] // documentation missing in model
|
1834 - | pub fn foo_enum1(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
1835 - | self.foo_enum1 = input;
|
1836 - | self
|
1837 - | }
|
1838 - | #[allow(missing_docs)] // documentation missing in model
|
1839 - | pub fn foo_enum2(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
1840 - | self.foo_enum2 = input;
|
1841 - | self
|
1842 - | }
|
1843 - | #[allow(missing_docs)] // documentation missing in model
|
1844 - | pub fn foo_enum3(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
1845 - | self.foo_enum3 = input;
|
1846 - | self
|
1847 - | }
|
1848 - | #[allow(missing_docs)] // documentation missing in model
|
1849 - | pub fn foo_enum_list(
|
1850 - | mut self,
|
1851 - | input: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
1852 - | ) -> Self {
|
1853 - | self.foo_enum_list = input;
|
1854 - | self
|
1855 - | }
|
1856 - | #[allow(missing_docs)] // documentation missing in model
|
1857 - | pub fn foo_enum_set(
|
1858 - | mut self,
|
1859 - | input: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
1860 - | ) -> Self {
|
1861 - | self.foo_enum_set = input;
|
1862 - | self
|
1863 - | }
|
1864 - | #[allow(missing_docs)] // documentation missing in model
|
1865 - | pub fn foo_enum_map(
|
1866 - | mut self,
|
1867 - | input: ::std::option::Option<
|
1868 - | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
1869 - | >,
|
1870 - | ) -> Self {
|
1871 - | self.foo_enum_map = input;
|
2008 + | pub fn string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
2009 + | self.string = input;
|
1872 2010 | self
|
1873 2011 | }
|
1874 - | /// Consumes the builder and constructs a [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
1875 - | pub fn build(self) -> crate::output::JsonEnumsOutput {
|
2012 + | /// Consumes the builder and constructs a [`NullOperationOutput`](crate::output::NullOperationOutput).
|
2013 + | pub fn build(self) -> crate::output::NullOperationOutput {
|
1876 2014 | self.build_enforcing_required_and_enum_traits()
|
1877 2015 | }
|
1878 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonEnumsOutput {
|
1879 - | crate::output::JsonEnumsOutput {
|
1880 - | foo_enum1: self.foo_enum1,
|
1881 - | foo_enum2: self.foo_enum2,
|
1882 - | foo_enum3: self.foo_enum3,
|
1883 - | foo_enum_list: self.foo_enum_list,
|
1884 - | foo_enum_set: self.foo_enum_set,
|
1885 - | foo_enum_map: self.foo_enum_map,
|
2016 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::NullOperationOutput {
|
2017 + | crate::output::NullOperationOutput {
|
2018 + | string: self.string,
|
1886 2019 | }
|
1887 2020 | }
|
1888 2021 | }
|
1889 2022 | }
|
1890 - | /// See [`PutAndGetInlineDocumentsOutput`](crate::output::PutAndGetInlineDocumentsOutput).
|
1891 - | pub mod put_and_get_inline_documents_output {
|
2023 + | /// See [`SparseNullsOperationOutput`](crate::output::SparseNullsOperationOutput).
|
2024 + | pub mod sparse_nulls_operation_output {
|
1892 2025 |
|
1893 - | impl ::std::convert::From<Builder> for crate::output::PutAndGetInlineDocumentsOutput {
|
2026 + | impl ::std::convert::From<Builder> for crate::output::SparseNullsOperationOutput {
|
1894 2027 | fn from(builder: Builder) -> Self {
|
1895 2028 | builder.build()
|
1896 2029 | }
|
1897 2030 | }
|
1898 - | /// A builder for [`PutAndGetInlineDocumentsOutput`](crate::output::PutAndGetInlineDocumentsOutput).
|
2031 + | /// A builder for [`SparseNullsOperationOutput`](crate::output::SparseNullsOperationOutput).
|
1899 2032 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1900 2033 | pub struct Builder {
|
1901 - | pub(crate) inline_document:
|
1902 - | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
2034 + | pub(crate) sparse_string_list:
|
2035 + | ::std::option::Option<::std::vec::Vec<::std::option::Option<::std::string::String>>>,
|
2036 + | pub(crate) sparse_string_map: ::std::option::Option<
|
2037 + | ::std::collections::HashMap<
|
2038 + | ::std::string::String,
|
2039 + | ::std::option::Option<::std::string::String>,
|
2040 + | >,
|
2041 + | >,
|
1903 2042 | }
|
1904 2043 | impl Builder {
|
1905 2044 | #[allow(missing_docs)] // documentation missing in model
|
1906 - | pub fn inline_document(
|
2045 + | pub fn sparse_string_list(
|
1907 2046 | mut self,
|
1908 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
2047 + | input: ::std::option::Option<
|
2048 + | ::std::vec::Vec<::std::option::Option<::std::string::String>>,
|
2049 + | >,
|
1909 2050 | ) -> Self {
|
1910 - | self.inline_document = input;
|
2051 + | self.sparse_string_list = input;
|
1911 2052 | self
|
1912 2053 | }
|
1913 - | /// Consumes the builder and constructs a [`PutAndGetInlineDocumentsOutput`](crate::output::PutAndGetInlineDocumentsOutput).
|
1914 - | pub fn build(self) -> crate::output::PutAndGetInlineDocumentsOutput {
|
2054 + | #[allow(missing_docs)] // documentation missing in model
|
2055 + | pub fn sparse_string_map(
|
2056 + | mut self,
|
2057 + | input: ::std::option::Option<
|
2058 + | ::std::collections::HashMap<
|
2059 + | ::std::string::String,
|
2060 + | ::std::option::Option<::std::string::String>,
|
2061 + | >,
|
2062 + | >,
|
2063 + | ) -> Self {
|
2064 + | self.sparse_string_map = input;
|
2065 + | self
|
2066 + | }
|
2067 + | /// Consumes the builder and constructs a [`SparseNullsOperationOutput`](crate::output::SparseNullsOperationOutput).
|
2068 + | pub fn build(self) -> crate::output::SparseNullsOperationOutput {
|
1915 2069 | self.build_enforcing_required_and_enum_traits()
|
1916 2070 | }
|
1917 2071 | fn build_enforcing_required_and_enum_traits(
|
1918 2072 | self,
|
1919 - | ) -> crate::output::PutAndGetInlineDocumentsOutput {
|
1920 - | crate::output::PutAndGetInlineDocumentsOutput {
|
1921 - | inline_document: self.inline_document,
|
2073 + | ) -> crate::output::SparseNullsOperationOutput {
|
2074 + | crate::output::SparseNullsOperationOutput {
|
2075 + | sparse_string_list: self.sparse_string_list,
|
2076 + | sparse_string_map: self.sparse_string_map,
|
1922 2077 | }
|
1923 2078 | }
|
1924 2079 | }
|
1925 2080 | }
|
1926 - | /// See [`OperationWithOptionalInputOutputOutput`](crate::output::OperationWithOptionalInputOutputOutput).
|
1927 - | pub mod operation_with_optional_input_output_output {
|
2081 + | /// See [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
2082 + | pub mod greeting_with_errors_output {
|
1928 2083 |
|
1929 - | impl ::std::convert::From<Builder> for crate::output::OperationWithOptionalInputOutputOutput {
|
2084 + | impl ::std::convert::From<Builder> for crate::output::GreetingWithErrorsOutput {
|
1930 2085 | fn from(builder: Builder) -> Self {
|
1931 2086 | builder.build()
|
1932 2087 | }
|
1933 2088 | }
|
1934 - | /// A builder for [`OperationWithOptionalInputOutputOutput`](crate::output::OperationWithOptionalInputOutputOutput).
|
2089 + | /// A builder for [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
1935 2090 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1936 2091 | pub struct Builder {
|
1937 - | pub(crate) value: ::std::option::Option<::std::string::String>,
|
2092 + | pub(crate) greeting: ::std::option::Option<::std::string::String>,
|
1938 2093 | }
|
1939 2094 | impl Builder {
|
1940 2095 | #[allow(missing_docs)] // documentation missing in model
|
1941 - | pub fn value(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
1942 - | self.value = input;
|
2096 + | pub fn greeting(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
2097 + | self.greeting = input;
|
1943 2098 | self
|
1944 2099 | }
|
1945 - | /// Consumes the builder and constructs a [`OperationWithOptionalInputOutputOutput`](crate::output::OperationWithOptionalInputOutputOutput).
|
1946 - | pub fn build(self) -> crate::output::OperationWithOptionalInputOutputOutput {
|
2100 + | /// Consumes the builder and constructs a [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
2101 + | pub fn build(self) -> crate::output::GreetingWithErrorsOutput {
|
1947 2102 | self.build_enforcing_required_and_enum_traits()
|
1948 2103 | }
|
1949 2104 | fn build_enforcing_required_and_enum_traits(
|
1950 2105 | self,
|
1951 - | ) -> crate::output::OperationWithOptionalInputOutputOutput {
|
1952 - | crate::output::OperationWithOptionalInputOutputOutput { value: self.value }
|
2106 + | ) -> crate::output::GreetingWithErrorsOutput {
|
2107 + | crate::output::GreetingWithErrorsOutput {
|
2108 + | greeting: self.greeting,
|
2109 + | }
|
1953 2110 | }
|
1954 2111 | }
|
1955 2112 | }
|
1956 - | /// See [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
1957 - | pub mod simple_scalar_properties_output {
|
2113 + | /// See [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
2114 + | pub mod json_unions_output {
|
1958 2115 |
|
1959 - | impl ::std::convert::From<Builder> for crate::output::SimpleScalarPropertiesOutput {
|
2116 + | impl ::std::convert::From<Builder> for crate::output::JsonUnionsOutput {
|
1960 2117 | fn from(builder: Builder) -> Self {
|
1961 2118 | builder.build()
|
1962 2119 | }
|
1963 2120 | }
|
1964 - | /// A builder for [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
2121 + | /// A builder for [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
1965 2122 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1966 2123 | pub struct Builder {
|
1967 - | pub(crate) float_value: ::std::option::Option<f32>,
|
1968 - | pub(crate) double_value: ::std::option::Option<f64>,
|
2124 + | pub(crate) contents: ::std::option::Option<crate::model::MyUnion>,
|
1969 2125 | }
|
1970 2126 | impl Builder {
|
1971 - | #[allow(missing_docs)] // documentation missing in model
|
1972 - | pub fn float_value(mut self, input: ::std::option::Option<f32>) -> Self {
|
1973 - | self.float_value = input;
|
1974 - | self
|
1975 - | }
|
1976 - | #[allow(missing_docs)] // documentation missing in model
|
1977 - | pub fn double_value(mut self, input: ::std::option::Option<f64>) -> Self {
|
1978 - | self.double_value = input;
|
2127 + | /// A union with a representative set of types for members.
|
2128 + | pub fn contents(mut self, input: ::std::option::Option<crate::model::MyUnion>) -> Self {
|
2129 + | self.contents = input;
|
1979 2130 | self
|
1980 2131 | }
|
1981 - | /// Consumes the builder and constructs a [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
1982 - | pub fn build(self) -> crate::output::SimpleScalarPropertiesOutput {
|
2132 + | /// Consumes the builder and constructs a [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
2133 + | pub fn build(self) -> crate::output::JsonUnionsOutput {
|
1983 2134 | self.build_enforcing_required_and_enum_traits()
|
1984 2135 | }
|
1985 - | fn build_enforcing_required_and_enum_traits(
|
1986 - | self,
|
1987 - | ) -> crate::output::SimpleScalarPropertiesOutput {
|
1988 - | crate::output::SimpleScalarPropertiesOutput {
|
1989 - | float_value: self.float_value,
|
1990 - | double_value: self.double_value,
|
2136 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonUnionsOutput {
|
2137 + | crate::output::JsonUnionsOutput {
|
2138 + | contents: self.contents,
|
1991 2139 | }
|
1992 2140 | }
|
1993 2141 | }
|
1994 2142 | }
|
1995 - | /// See [`KitchenSinkOperationOutput`](crate::output::KitchenSinkOperationOutput).
|
1996 - | pub mod kitchen_sink_operation_output {
|
2143 + | /// See [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
2144 + | pub mod endpoint_operation_output {
|
1997 2145 |
|
1998 - | impl ::std::convert::From<Builder> for crate::output::KitchenSinkOperationOutput {
|
2146 + | impl ::std::convert::From<Builder> for crate::output::EndpointOperationOutput {
|
1999 2147 | fn from(builder: Builder) -> Self {
|
2000 2148 | builder.build()
|
2001 2149 | }
|
2002 2150 | }
|
2003 - | /// A builder for [`KitchenSinkOperationOutput`](crate::output::KitchenSinkOperationOutput).
|
2151 + | /// A builder for [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
2004 2152 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2005 - | pub struct Builder {
|
2006 - | pub(crate) blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
2007 - | pub(crate) boolean: ::std::option::Option<bool>,
|
2008 - | pub(crate) double: ::std::option::Option<f64>,
|
2009 - | pub(crate) empty_struct: ::std::option::Option<crate::model::EmptyStruct>,
|
2010 - | pub(crate) float: ::std::option::Option<f32>,
|
2011 - | pub(crate) httpdate_timestamp:
|
2012 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2013 - | pub(crate) integer: ::std::option::Option<i32>,
|
2014 - | pub(crate) iso8601_timestamp:
|
2015 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2016 - | pub(crate) json_value: ::std::option::Option<::std::string::String>,
|
2017 - | pub(crate) list_of_lists:
|
2018 - | ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
2019 - | pub(crate) list_of_maps_of_strings: ::std::option::Option<
|
2020 - | ::std::vec::Vec<
|
2021 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2022 - | >,
|
2023 - | >,
|
2024 - | pub(crate) list_of_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2025 - | pub(crate) list_of_structs:
|
2026 - | ::std::option::Option<::std::vec::Vec<crate::model::SimpleStruct>>,
|
2027 - | pub(crate) long: ::std::option::Option<i64>,
|
2028 - | pub(crate) map_of_lists_of_strings: ::std::option::Option<
|
2029 - | ::std::collections::HashMap<
|
2030 - | ::std::string::String,
|
2031 - | ::std::vec::Vec<::std::string::String>,
|
2032 - | >,
|
2033 - | >,
|
2034 - | pub(crate) map_of_maps: ::std::option::Option<
|
2035 - | ::std::collections::HashMap<
|
2036 - | ::std::string::String,
|
2037 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2038 - | >,
|
2039 - | >,
|
2040 - | pub(crate) map_of_strings: ::std::option::Option<
|
2041 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2042 - | >,
|
2043 - | pub(crate) map_of_structs: ::std::option::Option<
|
2044 - | ::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
2045 - | >,
|
2046 - | pub(crate) recursive_list:
|
2047 - | ::std::option::Option<::std::vec::Vec<crate::model::KitchenSink>>,
|
2048 - | pub(crate) recursive_map: ::std::option::Option<
|
2049 - | ::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
2050 - | >,
|
2051 - | pub(crate) recursive_struct:
|
2052 - | ::std::option::Option<::std::boxed::Box<crate::model::KitchenSink>>,
|
2053 - | pub(crate) simple_struct: ::std::option::Option<crate::model::SimpleStruct>,
|
2054 - | pub(crate) string: ::std::option::Option<::std::string::String>,
|
2055 - | pub(crate) struct_with_json_name: ::std::option::Option<crate::model::StructWithJsonName>,
|
2056 - | pub(crate) timestamp:
|
2057 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2058 - | pub(crate) unix_timestamp:
|
2059 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2060 - | }
|
2153 + | pub struct Builder {}
|
2061 2154 | impl Builder {
|
2062 - | #[allow(missing_docs)] // documentation missing in model
|
2063 - | pub fn blob(
|
2064 - | mut self,
|
2065 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
2066 - | ) -> Self {
|
2067 - | self.blob = input;
|
2068 - | self
|
2069 - | }
|
2070 - | #[allow(missing_docs)] // documentation missing in model
|
2071 - | pub fn boolean(mut self, input: ::std::option::Option<bool>) -> Self {
|
2072 - | self.boolean = input;
|
2073 - | self
|
2074 - | }
|
2075 - | #[allow(missing_docs)] // documentation missing in model
|
2076 - | pub fn double(mut self, input: ::std::option::Option<f64>) -> Self {
|
2077 - | self.double = input;
|
2078 - | self
|
2079 - | }
|
2080 - | #[allow(missing_docs)] // documentation missing in model
|
2081 - | pub fn empty_struct(
|
2082 - | mut self,
|
2083 - | input: ::std::option::Option<crate::model::EmptyStruct>,
|
2084 - | ) -> Self {
|
2085 - | self.empty_struct = input;
|
2086 - | self
|
2087 - | }
|
2088 - | #[allow(missing_docs)] // documentation missing in model
|
2089 - | pub fn float(mut self, input: ::std::option::Option<f32>) -> Self {
|
2090 - | self.float = input;
|
2091 - | self
|
2092 - | }
|
2093 - | #[allow(missing_docs)] // documentation missing in model
|
2094 - | pub fn httpdate_timestamp(
|
2095 - | mut self,
|
2096 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2097 - | ) -> Self {
|
2098 - | self.httpdate_timestamp = input;
|
2099 - | self
|
2100 - | }
|
2101 - | #[allow(missing_docs)] // documentation missing in model
|
2102 - | pub fn integer(mut self, input: ::std::option::Option<i32>) -> Self {
|
2103 - | self.integer = input;
|
2104 - | self
|
2105 - | }
|
2106 - | #[allow(missing_docs)] // documentation missing in model
|
2107 - | pub fn iso8601_timestamp(
|
2108 - | mut self,
|
2109 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2110 - | ) -> Self {
|
2111 - | self.iso8601_timestamp = input;
|
2112 - | self
|
2113 - | }
|
2114 - | #[allow(missing_docs)] // documentation missing in model
|
2115 - | pub fn json_value(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
2116 - | self.json_value = input;
|
2117 - | self
|
2118 - | }
|
2119 - | #[allow(missing_docs)] // documentation missing in model
|
2120 - | pub fn list_of_lists(
|
2121 - | mut self,
|
2122 - | input: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
2123 - | ) -> Self {
|
2124 - | self.list_of_lists = input;
|
2125 - | self
|
2126 - | }
|
2127 - | #[allow(missing_docs)] // documentation missing in model
|
2128 - | pub fn list_of_maps_of_strings(
|
2129 - | mut self,
|
2130 - | input: ::std::option::Option<
|
2131 - | ::std::vec::Vec<
|
2132 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2133 - | >,
|
2134 - | >,
|
2135 - | ) -> Self {
|
2136 - | self.list_of_maps_of_strings = input;
|
2137 - | self
|
2138 - | }
|
2139 - | #[allow(missing_docs)] // documentation missing in model
|
2140 - | pub fn list_of_strings(
|
2141 - | mut self,
|
2142 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2143 - | ) -> Self {
|
2144 - | self.list_of_strings = input;
|
2145 - | self
|
2146 - | }
|
2147 - | #[allow(missing_docs)] // documentation missing in model
|
2148 - | pub fn list_of_structs(
|
2149 - | mut self,
|
2150 - | input: ::std::option::Option<::std::vec::Vec<crate::model::SimpleStruct>>,
|
2151 - | ) -> Self {
|
2152 - | self.list_of_structs = input;
|
2153 - | self
|
2155 + | /// Consumes the builder and constructs a [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
2156 + | pub fn build(self) -> crate::output::EndpointOperationOutput {
|
2157 + | self.build_enforcing_required_and_enum_traits()
|
2154 2158 | }
|
2155 - | #[allow(missing_docs)] // documentation missing in model
|
2156 - | pub fn long(mut self, input: ::std::option::Option<i64>) -> Self {
|
2157 - | self.long = input;
|
2158 - | self
|
2159 + | fn build_enforcing_required_and_enum_traits(
|
2160 + | self,
|
2161 + | ) -> crate::output::EndpointOperationOutput {
|
2162 + | crate::output::EndpointOperationOutput {}
|
2159 2163 | }
|
2160 - | #[allow(missing_docs)] // documentation missing in model
|
2161 - | pub fn map_of_lists_of_strings(
|
2162 - | mut self,
|
2163 - | input: ::std::option::Option<
|
2164 - | ::std::collections::HashMap<
|
2165 - | ::std::string::String,
|
2166 - | ::std::vec::Vec<::std::string::String>,
|
2167 - | >,
|
2168 - | >,
|
2169 - | ) -> Self {
|
2170 - | self.map_of_lists_of_strings = input;
|
2171 - | self
|
2164 + | }
|
2165 + | }
|
2166 + | /// See [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
2167 + | pub mod endpoint_with_host_label_operation_output {
|
2168 + |
|
2169 + | impl ::std::convert::From<Builder> for crate::output::EndpointWithHostLabelOperationOutput {
|
2170 + | fn from(builder: Builder) -> Self {
|
2171 + | builder.build()
|
2172 2172 | }
|
2173 - | #[allow(missing_docs)] // documentation missing in model
|
2174 - | pub fn map_of_maps(
|
2175 - | mut self,
|
2176 - | input: ::std::option::Option<
|
2177 - | ::std::collections::HashMap<
|
2178 - | ::std::string::String,
|
2179 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2180 - | >,
|
2181 - | >,
|
2182 - | ) -> Self {
|
2183 - | self.map_of_maps = input;
|
2184 - | self
|
2173 + | }
|
2174 + | /// A builder for [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
2175 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2176 + | pub struct Builder {}
|
2177 + | impl Builder {
|
2178 + | /// Consumes the builder and constructs a [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
2179 + | pub fn build(self) -> crate::output::EndpointWithHostLabelOperationOutput {
|
2180 + | self.build_enforcing_required_and_enum_traits()
|
2185 2181 | }
|
2186 - | #[allow(missing_docs)] // documentation missing in model
|
2187 - | pub fn map_of_strings(
|
2188 - | mut self,
|
2189 - | input: ::std::option::Option<
|
2190 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2191 - | >,
|
2192 - | ) -> Self {
|
2193 - | self.map_of_strings = input;
|
2194 - | self
|
2182 + | fn build_enforcing_required_and_enum_traits(
|
2183 + | self,
|
2184 + | ) -> crate::output::EndpointWithHostLabelOperationOutput {
|
2185 + | crate::output::EndpointWithHostLabelOperationOutput {}
|
2195 2186 | }
|
2196 - | #[allow(missing_docs)] // documentation missing in model
|
2197 - | pub fn map_of_structs(
|
2198 - | mut self,
|
2199 - | input: ::std::option::Option<
|
2200 - | ::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
2201 - | >,
|
2202 - | ) -> Self {
|
2203 - | self.map_of_structs = input;
|
2204 - | self
|
2187 + | }
|
2188 + | }
|
2189 + | /// See [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
2190 + | pub mod host_with_path_operation_output {
|
2191 + |
|
2192 + | impl ::std::convert::From<Builder> for crate::output::HostWithPathOperationOutput {
|
2193 + | fn from(builder: Builder) -> Self {
|
2194 + | builder.build()
|
2205 2195 | }
|
2206 - | #[allow(missing_docs)] // documentation missing in model
|
2207 - | pub fn recursive_list(
|
2208 - | mut self,
|
2209 - | input: ::std::option::Option<::std::vec::Vec<crate::model::KitchenSink>>,
|
2210 - | ) -> Self {
|
2211 - | self.recursive_list = input;
|
2212 - | self
|
2196 + | }
|
2197 + | /// A builder for [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
2198 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2199 + | pub struct Builder {}
|
2200 + | impl Builder {
|
2201 + | /// Consumes the builder and constructs a [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
2202 + | pub fn build(self) -> crate::output::HostWithPathOperationOutput {
|
2203 + | self.build_enforcing_required_and_enum_traits()
|
2213 2204 | }
|
2214 - | #[allow(missing_docs)] // documentation missing in model
|
2215 - | pub fn recursive_map(
|
2216 - | mut self,
|
2217 - | input: ::std::option::Option<
|
2218 - | ::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
2219 - | >,
|
2220 - | ) -> Self {
|
2221 - | self.recursive_map = input;
|
2222 - | self
|
2205 + | fn build_enforcing_required_and_enum_traits(
|
2206 + | self,
|
2207 + | ) -> crate::output::HostWithPathOperationOutput {
|
2208 + | crate::output::HostWithPathOperationOutput {}
|
2223 2209 | }
|
2224 - | #[allow(missing_docs)] // documentation missing in model
|
2225 - | pub fn recursive_struct(
|
2226 - | mut self,
|
2227 - | input: ::std::option::Option<::std::boxed::Box<crate::model::KitchenSink>>,
|
2228 - | ) -> Self {
|
2229 - | self.recursive_struct = input;
|
2230 - | self
|
2210 + | }
|
2211 + | }
|
2212 + | /// See [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
2213 + | pub mod datetime_offsets_output {
|
2214 + |
|
2215 + | impl ::std::convert::From<Builder> for crate::output::DatetimeOffsetsOutput {
|
2216 + | fn from(builder: Builder) -> Self {
|
2217 + | builder.build()
|
2231 2218 | }
|
2219 + | }
|
2220 + | /// A builder for [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
2221 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2222 + | pub struct Builder {
|
2223 + | pub(crate) datetime:
|
2224 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2225 + | }
|
2226 + | impl Builder {
|
2232 2227 | #[allow(missing_docs)] // documentation missing in model
|
2233 - | pub fn simple_struct(
|
2228 + | pub fn datetime(
|
2234 2229 | mut self,
|
2235 - | input: ::std::option::Option<crate::model::SimpleStruct>,
|
2230 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2236 2231 | ) -> Self {
|
2237 - | self.simple_struct = input;
|
2232 + | self.datetime = input;
|
2238 2233 | self
|
2239 2234 | }
|
2240 - | #[allow(missing_docs)] // documentation missing in model
|
2241 - | pub fn string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
2242 - | self.string = input;
|
2243 - | self
|
2235 + | /// Consumes the builder and constructs a [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
2236 + | pub fn build(self) -> crate::output::DatetimeOffsetsOutput {
|
2237 + | self.build_enforcing_required_and_enum_traits()
|
2244 2238 | }
|
2245 - | #[allow(missing_docs)] // documentation missing in model
|
2246 - | pub fn struct_with_json_name(
|
2247 - | mut self,
|
2248 - | input: ::std::option::Option<crate::model::StructWithJsonName>,
|
2249 - | ) -> Self {
|
2250 - | self.struct_with_json_name = input;
|
2251 - | self
|
2239 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::DatetimeOffsetsOutput {
|
2240 + | crate::output::DatetimeOffsetsOutput {
|
2241 + | datetime: self.datetime,
|
2242 + | }
|
2252 2243 | }
|
2253 - | #[allow(missing_docs)] // documentation missing in model
|
2254 - | pub fn timestamp(
|
2255 - | mut self,
|
2256 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2257 - | ) -> Self {
|
2258 - | self.timestamp = input;
|
2259 - | self
|
2244 + | }
|
2245 + | }
|
2246 + | /// See [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
2247 + | pub mod fractional_seconds_output {
|
2248 + |
|
2249 + | impl ::std::convert::From<Builder> for crate::output::FractionalSecondsOutput {
|
2250 + | fn from(builder: Builder) -> Self {
|
2251 + | builder.build()
|
2260 2252 | }
|
2253 + | }
|
2254 + | /// A builder for [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
2255 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2256 + | pub struct Builder {
|
2257 + | pub(crate) datetime:
|
2258 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2259 + | }
|
2260 + | impl Builder {
|
2261 2261 | #[allow(missing_docs)] // documentation missing in model
|
2262 - | pub fn unix_timestamp(
|
2262 + | pub fn datetime(
|
2263 2263 | mut self,
|
2264 2264 | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2265 2265 | ) -> Self {
|
2266 - | self.unix_timestamp = input;
|
2266 + | self.datetime = input;
|
2267 2267 | self
|
2268 2268 | }
|
2269 - | /// Consumes the builder and constructs a [`KitchenSinkOperationOutput`](crate::output::KitchenSinkOperationOutput).
|
2270 - | pub fn build(self) -> crate::output::KitchenSinkOperationOutput {
|
2269 + | /// Consumes the builder and constructs a [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
2270 + | pub fn build(self) -> crate::output::FractionalSecondsOutput {
|
2271 2271 | self.build_enforcing_required_and_enum_traits()
|
2272 2272 | }
|
2273 2273 | fn build_enforcing_required_and_enum_traits(
|
2274 2274 | self,
|
2275 - | ) -> crate::output::KitchenSinkOperationOutput {
|
2276 - | crate::output::KitchenSinkOperationOutput {
|
2277 - | blob: self.blob,
|
2278 - | boolean: self.boolean,
|
2279 - | double: self.double,
|
2280 - | empty_struct: self.empty_struct,
|
2281 - | float: self.float,
|
2282 - | httpdate_timestamp: self.httpdate_timestamp,
|
2283 - | integer: self.integer,
|
2284 - | iso8601_timestamp: self.iso8601_timestamp,
|
2285 - | json_value: self.json_value,
|
2286 - | list_of_lists: self.list_of_lists,
|
2287 - | list_of_maps_of_strings: self.list_of_maps_of_strings,
|
2288 - | list_of_strings: self.list_of_strings,
|
2289 - | list_of_structs: self.list_of_structs,
|
2290 - | long: self.long,
|
2291 - | map_of_lists_of_strings: self.map_of_lists_of_strings,
|
2292 - | map_of_maps: self.map_of_maps,
|
2293 - | map_of_strings: self.map_of_strings,
|
2294 - | map_of_structs: self.map_of_structs,
|
2295 - | recursive_list: self.recursive_list,
|
2296 - | recursive_map: self.recursive_map,
|
2297 - | recursive_struct: self.recursive_struct,
|
2298 - | simple_struct: self.simple_struct,
|
2299 - | string: self.string,
|
2300 - | struct_with_json_name: self.struct_with_json_name,
|
2301 - | timestamp: self.timestamp,
|
2302 - | unix_timestamp: self.unix_timestamp,
|
2275 + | ) -> crate::output::FractionalSecondsOutput {
|
2276 + | crate::output::FractionalSecondsOutput {
|
2277 + | datetime: self.datetime,
|
2303 2278 | }
|
2304 2279 | }
|
2305 2280 | }
|
2306 2281 | }
|
2307 - | /// See [`EmptyOperationOutput`](crate::output::EmptyOperationOutput).
|
2308 - | pub mod empty_operation_output {
|
2282 + | /// See [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
2283 + | pub mod put_with_content_encoding_output {
|
2309 2284 |
|
2310 - | impl ::std::convert::From<Builder> for crate::output::EmptyOperationOutput {
|
2285 + | impl ::std::convert::From<Builder> for crate::output::PutWithContentEncodingOutput {
|
2311 2286 | fn from(builder: Builder) -> Self {
|
2312 2287 | builder.build()
|
2313 2288 | }
|
2314 2289 | }
|
2315 - | /// A builder for [`EmptyOperationOutput`](crate::output::EmptyOperationOutput).
|
2290 + | /// A builder for [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
2316 2291 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2317 2292 | pub struct Builder {}
|
2318 2293 | impl Builder {
|
2319 - | /// Consumes the builder and constructs a [`EmptyOperationOutput`](crate::output::EmptyOperationOutput).
|
2320 - | pub fn build(self) -> crate::output::EmptyOperationOutput {
|
2294 + | /// Consumes the builder and constructs a [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
2295 + | pub fn build(self) -> crate::output::PutWithContentEncodingOutput {
|
2321 2296 | self.build_enforcing_required_and_enum_traits()
|
2322 2297 | }
|
2323 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::EmptyOperationOutput {
|
2324 - | crate::output::EmptyOperationOutput {}
|
2298 + | fn build_enforcing_required_and_enum_traits(
|
2299 + | self,
|
2300 + | ) -> crate::output::PutWithContentEncodingOutput {
|
2301 + | crate::output::PutWithContentEncodingOutput {}
|
2302 + | }
|
2303 + | }
|
2304 + | }
|
2305 + | /// See [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
2306 + | pub mod content_type_parameters_output {
|
2307 + |
|
2308 + | impl ::std::convert::From<Builder> for crate::output::ContentTypeParametersOutput {
|
2309 + | fn from(builder: Builder) -> Self {
|
2310 + | builder.build()
|
2311 + | }
|
2312 + | }
|
2313 + | /// A builder for [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
2314 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2315 + | pub struct Builder {}
|
2316 + | impl Builder {
|
2317 + | /// Consumes the builder and constructs a [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
2318 + | pub fn build(self) -> crate::output::ContentTypeParametersOutput {
|
2319 + | self.build_enforcing_required_and_enum_traits()
|
2320 + | }
|
2321 + | fn build_enforcing_required_and_enum_traits(
|
2322 + | self,
|
2323 + | ) -> crate::output::ContentTypeParametersOutput {
|
2324 + | crate::output::ContentTypeParametersOutput {}
|
2325 2325 | }
|
2326 2326 | }
|
2327 2327 | }
|