1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 + | /* StructureGenerator.kt:197 */
|
2 3 | #[allow(missing_docs)] // documentation missing in model
|
4 + | /* RustType.kt:516 */
|
3 5 | #[non_exhaustive]
|
6 + | /* RustType.kt:516 */
|
4 7 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
5 - | pub struct HttpRequestWithLabelsAndTimestampFormatInput {
|
8 + | pub /* StructureGenerator.kt:201 */ struct HttpRequestWithLabelsAndTimestampFormatInput {
|
9 + | /* StructureGenerator.kt:231 */
|
6 10 | #[allow(missing_docs)] // documentation missing in model
|
7 11 | pub member_epoch_seconds: ::std::option::Option<::aws_smithy_types::DateTime>,
|
12 + | /* StructureGenerator.kt:231 */
|
8 13 | #[allow(missing_docs)] // documentation missing in model
|
9 14 | pub member_http_date: ::std::option::Option<::aws_smithy_types::DateTime>,
|
15 + | /* StructureGenerator.kt:231 */
|
10 16 | #[allow(missing_docs)] // documentation missing in model
|
11 17 | pub member_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
18 + | /* StructureGenerator.kt:231 */
|
12 19 | #[allow(missing_docs)] // documentation missing in model
|
13 20 | pub default_format: ::std::option::Option<::aws_smithy_types::DateTime>,
|
21 + | /* StructureGenerator.kt:231 */
|
14 22 | #[allow(missing_docs)] // documentation missing in model
|
15 23 | pub target_epoch_seconds: ::std::option::Option<::aws_smithy_types::DateTime>,
|
24 + | /* StructureGenerator.kt:231 */
|
16 25 | #[allow(missing_docs)] // documentation missing in model
|
17 26 | pub target_http_date: ::std::option::Option<::aws_smithy_types::DateTime>,
|
27 + | /* StructureGenerator.kt:231 */
|
18 28 | #[allow(missing_docs)] // documentation missing in model
|
19 29 | pub target_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
30 + | /* StructureGenerator.kt:201 */
|
20 31 | }
|
32 + | /* StructureGenerator.kt:135 */
|
21 33 | impl HttpRequestWithLabelsAndTimestampFormatInput {
|
34 + | /* StructureGenerator.kt:231 */
|
22 35 | #[allow(missing_docs)] // documentation missing in model
|
36 + | /* StructureGenerator.kt:166 */
|
23 37 | pub fn member_epoch_seconds(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
|
38 + | /* StructureGenerator.kt:170 */
|
24 39 | self.member_epoch_seconds.as_ref()
|
40 + | /* StructureGenerator.kt:166 */
|
25 41 | }
|
42 + | /* StructureGenerator.kt:231 */
|
26 43 | #[allow(missing_docs)] // documentation missing in model
|
44 + | /* StructureGenerator.kt:166 */
|
27 45 | pub fn member_http_date(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
|
46 + | /* StructureGenerator.kt:170 */
|
28 47 | self.member_http_date.as_ref()
|
48 + | /* StructureGenerator.kt:166 */
|
29 49 | }
|
50 + | /* StructureGenerator.kt:231 */
|
30 51 | #[allow(missing_docs)] // documentation missing in model
|
52 + | /* StructureGenerator.kt:166 */
|
31 53 | pub fn member_date_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
|
54 + | /* StructureGenerator.kt:170 */
|
32 55 | self.member_date_time.as_ref()
|
56 + | /* StructureGenerator.kt:166 */
|
33 57 | }
|
58 + | /* StructureGenerator.kt:231 */
|
34 59 | #[allow(missing_docs)] // documentation missing in model
|
60 + | /* StructureGenerator.kt:166 */
|
35 61 | pub fn default_format(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
|
62 + | /* StructureGenerator.kt:170 */
|
36 63 | self.default_format.as_ref()
|
64 + | /* StructureGenerator.kt:166 */
|
37 65 | }
|
66 + | /* StructureGenerator.kt:231 */
|
38 67 | #[allow(missing_docs)] // documentation missing in model
|
68 + | /* StructureGenerator.kt:166 */
|
39 69 | pub fn target_epoch_seconds(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
|
70 + | /* StructureGenerator.kt:170 */
|
40 71 | self.target_epoch_seconds.as_ref()
|
72 + | /* StructureGenerator.kt:166 */
|
41 73 | }
|
74 + | /* StructureGenerator.kt:231 */
|
42 75 | #[allow(missing_docs)] // documentation missing in model
|
76 + | /* StructureGenerator.kt:166 */
|
43 77 | pub fn target_http_date(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
|
78 + | /* StructureGenerator.kt:170 */
|
44 79 | self.target_http_date.as_ref()
|
80 + | /* StructureGenerator.kt:166 */
|
45 81 | }
|
82 + | /* StructureGenerator.kt:231 */
|
46 83 | #[allow(missing_docs)] // documentation missing in model
|
84 + | /* StructureGenerator.kt:166 */
|
47 85 | pub fn target_date_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
|
86 + | /* StructureGenerator.kt:170 */
|
48 87 | self.target_date_time.as_ref()
|
88 + | /* StructureGenerator.kt:166 */
|
49 89 | }
|
90 + | /* StructureGenerator.kt:135 */
|
50 91 | }
|
92 + | /* ClientCodegenVisitor.kt:237 */
|
51 93 | impl HttpRequestWithLabelsAndTimestampFormatInput {
|
52 - | /// Creates a new builder-style object to manufacture [`HttpRequestWithLabelsAndTimestampFormatInput`](crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatInput).
|
94 + | /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`HttpRequestWithLabelsAndTimestampFormatInput`](crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatInput).
|
95 + | /* BuilderGenerator.kt:175 */
|
53 96 | pub fn builder() -> crate::operation::http_request_with_labels_and_timestamp_format::builders::HttpRequestWithLabelsAndTimestampFormatInputBuilder
|
54 97 | {
|
98 + | /* BuilderGenerator.kt:176 */
|
55 99 | crate::operation::http_request_with_labels_and_timestamp_format::builders::HttpRequestWithLabelsAndTimestampFormatInputBuilder::default()
|
100 + | /* BuilderGenerator.kt:175 */
|
56 101 | }
|
102 + | /* ClientCodegenVisitor.kt:237 */
|
57 103 | }
|
58 104 |
|
59 - | /// A builder for [`HttpRequestWithLabelsAndTimestampFormatInput`](crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatInput).
|
105 + | /// /* BuilderGenerator.kt:342 */A builder for [`HttpRequestWithLabelsAndTimestampFormatInput`](crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatInput).
|
106 + | /* RustType.kt:516 */
|
60 107 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
|
108 + | /* RustType.kt:516 */
|
61 109 | #[non_exhaustive]
|
110 + | /* BuilderGenerator.kt:345 */
|
62 111 | pub struct HttpRequestWithLabelsAndTimestampFormatInputBuilder {
|
63 - | pub(crate) member_epoch_seconds: ::std::option::Option<::aws_smithy_types::DateTime>,
|
64 - | pub(crate) member_http_date: ::std::option::Option<::aws_smithy_types::DateTime>,
|
65 - | pub(crate) member_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
66 - | pub(crate) default_format: ::std::option::Option<::aws_smithy_types::DateTime>,
|
67 - | pub(crate) target_epoch_seconds: ::std::option::Option<::aws_smithy_types::DateTime>,
|
68 - | pub(crate) target_http_date: ::std::option::Option<::aws_smithy_types::DateTime>,
|
112 + | /* BuilderGenerator.kt:275 */ pub(crate) member_epoch_seconds: ::std::option::Option<::aws_smithy_types::DateTime>,
|
113 + | /* BuilderGenerator.kt:275 */ pub(crate) member_http_date: ::std::option::Option<::aws_smithy_types::DateTime>,
|
114 + | /* BuilderGenerator.kt:275 */ pub(crate) member_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
115 + | /* BuilderGenerator.kt:275 */ pub(crate) default_format: ::std::option::Option<::aws_smithy_types::DateTime>,
|
116 + | /* BuilderGenerator.kt:275 */ pub(crate) target_epoch_seconds: ::std::option::Option<::aws_smithy_types::DateTime>,
|
117 + | /* BuilderGenerator.kt:275 */ pub(crate) target_http_date: ::std::option::Option<::aws_smithy_types::DateTime>,
|
118 + | /* BuilderGenerator.kt:275 */
|
69 119 | pub(crate) target_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
|
120 + | /* BuilderGenerator.kt:345 */
|
70 121 | }
|
122 + | /* BuilderGenerator.kt:355 */
|
71 123 | impl HttpRequestWithLabelsAndTimestampFormatInputBuilder {
|
124 + | /* BuilderGenerator.kt:286 */
|
72 125 | #[allow(missing_docs)] // documentation missing in model
|
73 - | /// This field is required.
|
126 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
127 + | /* BuilderGenerator.kt:291 */
|
74 128 | pub fn member_epoch_seconds(mut self, input: ::aws_smithy_types::DateTime) -> Self {
|
129 + | /* BuilderGenerator.kt:292 */
|
75 130 | self.member_epoch_seconds = ::std::option::Option::Some(input);
|
131 + | /* BuilderGenerator.kt:293 */
|
76 132 | self
|
133 + | /* BuilderGenerator.kt:291 */
|
77 134 | }
|
135 + | /* BuilderGenerator.kt:312 */
|
78 136 | #[allow(missing_docs)] // documentation missing in model
|
137 + | /* BuilderGenerator.kt:314 */
|
79 138 | pub fn set_member_epoch_seconds(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
|
139 + | /* BuilderGenerator.kt:315 */
|
80 140 | self.member_epoch_seconds = input;
|
81 141 | self
|
142 + | /* BuilderGenerator.kt:314 */
|
82 143 | }
|
144 + | /* BuilderGenerator.kt:334 */
|
83 145 | #[allow(missing_docs)] // documentation missing in model
|
146 + | /* BuilderGenerator.kt:336 */
|
84 147 | pub fn get_member_epoch_seconds(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
|
148 + | /* BuilderGenerator.kt:337 */
|
85 149 | &self.member_epoch_seconds
|
150 + | /* BuilderGenerator.kt:336 */
|
86 151 | }
|
152 + | /* BuilderGenerator.kt:286 */
|
87 153 | #[allow(missing_docs)] // documentation missing in model
|
88 - | /// This field is required.
|
154 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
155 + | /* BuilderGenerator.kt:291 */
|
89 156 | pub fn member_http_date(mut self, input: ::aws_smithy_types::DateTime) -> Self {
|
157 + | /* BuilderGenerator.kt:292 */
|
90 158 | self.member_http_date = ::std::option::Option::Some(input);
|
159 + | /* BuilderGenerator.kt:293 */
|
91 160 | self
|
161 + | /* BuilderGenerator.kt:291 */
|
92 162 | }
|
163 + | /* BuilderGenerator.kt:312 */
|
93 164 | #[allow(missing_docs)] // documentation missing in model
|
165 + | /* BuilderGenerator.kt:314 */
|
94 166 | pub fn set_member_http_date(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
|
167 + | /* BuilderGenerator.kt:315 */
|
95 168 | self.member_http_date = input;
|
96 169 | self
|
170 + | /* BuilderGenerator.kt:314 */
|
97 171 | }
|
172 + | /* BuilderGenerator.kt:334 */
|
98 173 | #[allow(missing_docs)] // documentation missing in model
|
174 + | /* BuilderGenerator.kt:336 */
|
99 175 | pub fn get_member_http_date(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
|
176 + | /* BuilderGenerator.kt:337 */
|
100 177 | &self.member_http_date
|
178 + | /* BuilderGenerator.kt:336 */
|
101 179 | }
|
180 + | /* BuilderGenerator.kt:286 */
|
102 181 | #[allow(missing_docs)] // documentation missing in model
|
103 - | /// This field is required.
|
182 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
183 + | /* BuilderGenerator.kt:291 */
|
104 184 | pub fn member_date_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
|
185 + | /* BuilderGenerator.kt:292 */
|
105 186 | self.member_date_time = ::std::option::Option::Some(input);
|
187 + | /* BuilderGenerator.kt:293 */
|
106 188 | self
|
189 + | /* BuilderGenerator.kt:291 */
|
107 190 | }
|
191 + | /* BuilderGenerator.kt:312 */
|
108 192 | #[allow(missing_docs)] // documentation missing in model
|
193 + | /* BuilderGenerator.kt:314 */
|
109 194 | pub fn set_member_date_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
|
195 + | /* BuilderGenerator.kt:315 */
|
110 196 | self.member_date_time = input;
|
111 197 | self
|
198 + | /* BuilderGenerator.kt:314 */
|
112 199 | }
|
200 + | /* BuilderGenerator.kt:334 */
|
113 201 | #[allow(missing_docs)] // documentation missing in model
|
202 + | /* BuilderGenerator.kt:336 */
|
114 203 | pub fn get_member_date_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
|
204 + | /* BuilderGenerator.kt:337 */
|
115 205 | &self.member_date_time
|
206 + | /* BuilderGenerator.kt:336 */
|
116 207 | }
|
208 + | /* BuilderGenerator.kt:286 */
|
117 209 | #[allow(missing_docs)] // documentation missing in model
|
118 - | /// This field is required.
|
210 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
211 + | /* BuilderGenerator.kt:291 */
|
119 212 | pub fn default_format(mut self, input: ::aws_smithy_types::DateTime) -> Self {
|
213 + | /* BuilderGenerator.kt:292 */
|
120 214 | self.default_format = ::std::option::Option::Some(input);
|
215 + | /* BuilderGenerator.kt:293 */
|
121 216 | self
|
217 + | /* BuilderGenerator.kt:291 */
|
122 218 | }
|
219 + | /* BuilderGenerator.kt:312 */
|
123 220 | #[allow(missing_docs)] // documentation missing in model
|
221 + | /* BuilderGenerator.kt:314 */
|
124 222 | pub fn set_default_format(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
|
223 + | /* BuilderGenerator.kt:315 */
|
125 224 | self.default_format = input;
|
126 225 | self
|
226 + | /* BuilderGenerator.kt:314 */
|
127 227 | }
|
228 + | /* BuilderGenerator.kt:334 */
|
128 229 | #[allow(missing_docs)] // documentation missing in model
|
230 + | /* BuilderGenerator.kt:336 */
|
129 231 | pub fn get_default_format(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
|
232 + | /* BuilderGenerator.kt:337 */
|
130 233 | &self.default_format
|
234 + | /* BuilderGenerator.kt:336 */
|
131 235 | }
|
236 + | /* BuilderGenerator.kt:286 */
|
132 237 | #[allow(missing_docs)] // documentation missing in model
|
133 - | /// This field is required.
|
238 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
239 + | /* BuilderGenerator.kt:291 */
|
134 240 | pub fn target_epoch_seconds(mut self, input: ::aws_smithy_types::DateTime) -> Self {
|
241 + | /* BuilderGenerator.kt:292 */
|
135 242 | self.target_epoch_seconds = ::std::option::Option::Some(input);
|
243 + | /* BuilderGenerator.kt:293 */
|
136 244 | self
|
245 + | /* BuilderGenerator.kt:291 */
|
137 246 | }
|
247 + | /* BuilderGenerator.kt:312 */
|
138 248 | #[allow(missing_docs)] // documentation missing in model
|
249 + | /* BuilderGenerator.kt:314 */
|
139 250 | pub fn set_target_epoch_seconds(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
|
251 + | /* BuilderGenerator.kt:315 */
|
140 252 | self.target_epoch_seconds = input;
|
141 253 | self
|
254 + | /* BuilderGenerator.kt:314 */
|
142 255 | }
|
256 + | /* BuilderGenerator.kt:334 */
|
143 257 | #[allow(missing_docs)] // documentation missing in model
|
258 + | /* BuilderGenerator.kt:336 */
|
144 259 | pub fn get_target_epoch_seconds(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
|
260 + | /* BuilderGenerator.kt:337 */
|
145 261 | &self.target_epoch_seconds
|
262 + | /* BuilderGenerator.kt:336 */
|
146 263 | }
|
264 + | /* BuilderGenerator.kt:286 */
|
147 265 | #[allow(missing_docs)] // documentation missing in model
|
148 - | /// This field is required.
|
266 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
267 + | /* BuilderGenerator.kt:291 */
|
149 268 | pub fn target_http_date(mut self, input: ::aws_smithy_types::DateTime) -> Self {
|
269 + | /* BuilderGenerator.kt:292 */
|
150 270 | self.target_http_date = ::std::option::Option::Some(input);
|
271 + | /* BuilderGenerator.kt:293 */
|
151 272 | self
|
273 + | /* BuilderGenerator.kt:291 */
|
152 274 | }
|
275 + | /* BuilderGenerator.kt:312 */
|
153 276 | #[allow(missing_docs)] // documentation missing in model
|
277 + | /* BuilderGenerator.kt:314 */
|
154 278 | pub fn set_target_http_date(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
|
279 + | /* BuilderGenerator.kt:315 */
|
155 280 | self.target_http_date = input;
|
156 281 | self
|
282 + | /* BuilderGenerator.kt:314 */
|
157 283 | }
|
284 + | /* BuilderGenerator.kt:334 */
|
158 285 | #[allow(missing_docs)] // documentation missing in model
|
286 + | /* BuilderGenerator.kt:336 */
|
159 287 | pub fn get_target_http_date(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
|
288 + | /* BuilderGenerator.kt:337 */
|
160 289 | &self.target_http_date
|
290 + | /* BuilderGenerator.kt:336 */
|
161 291 | }
|
292 + | /* BuilderGenerator.kt:286 */
|
162 293 | #[allow(missing_docs)] // documentation missing in model
|
163 - | /// This field is required.
|
294 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
295 + | /* BuilderGenerator.kt:291 */
|
164 296 | pub fn target_date_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
|
297 + | /* BuilderGenerator.kt:292 */
|
165 298 | self.target_date_time = ::std::option::Option::Some(input);
|
299 + | /* BuilderGenerator.kt:293 */
|
166 300 | self
|
301 + | /* BuilderGenerator.kt:291 */
|
167 302 | }
|
303 + | /* BuilderGenerator.kt:312 */
|
168 304 | #[allow(missing_docs)] // documentation missing in model
|
305 + | /* BuilderGenerator.kt:314 */
|
169 306 | pub fn set_target_date_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
|
307 + | /* BuilderGenerator.kt:315 */
|
170 308 | self.target_date_time = input;
|
171 309 | self
|
310 + | /* BuilderGenerator.kt:314 */
|
172 311 | }
|
312 + | /* BuilderGenerator.kt:334 */
|
173 313 | #[allow(missing_docs)] // documentation missing in model
|
314 + | /* BuilderGenerator.kt:336 */
|
174 315 | pub fn get_target_date_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
|
316 + | /* BuilderGenerator.kt:337 */
|
175 317 | &self.target_date_time
|
318 + | /* BuilderGenerator.kt:336 */
|
176 319 | }
|
177 - | /// Consumes the builder and constructs a [`HttpRequestWithLabelsAndTimestampFormatInput`](crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatInput).
|
320 + | /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`HttpRequestWithLabelsAndTimestampFormatInput`](crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatInput).
|
321 + | /* BuilderGenerator.kt:253 */
|
178 322 | pub fn build(
|
179 323 | self,
|
180 324 | ) -> ::std::result::Result<
|
181 325 | crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatInput,
|
182 326 | ::aws_smithy_types::error::operation::BuildError,
|
183 327 | > {
|
328 + | /* BuilderGenerator.kt:254 */
|
184 329 | ::std::result::Result::Ok(
|
330 + | /* BuilderGenerator.kt:477 */
|
185 331 | crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatInput {
|
186 - | member_epoch_seconds: self.member_epoch_seconds,
|
332 + | /* BuilderGenerator.kt:481 */ member_epoch_seconds: self.member_epoch_seconds,
|
333 + | /* BuilderGenerator.kt:481 */
|
187 334 | member_http_date: self.member_http_date,
|
335 + | /* BuilderGenerator.kt:481 */
|
188 336 | member_date_time: self.member_date_time,
|
337 + | /* BuilderGenerator.kt:481 */
|
189 338 | default_format: self.default_format,
|
339 + | /* BuilderGenerator.kt:481 */
|
190 340 | target_epoch_seconds: self.target_epoch_seconds,
|
341 + | /* BuilderGenerator.kt:481 */
|
191 342 | target_http_date: self.target_http_date,
|
343 + | /* BuilderGenerator.kt:481 */
|
192 344 | target_date_time: self.target_date_time,
|
193 - | },
|
345 + | /* BuilderGenerator.kt:477 */
|
346 + | }, /* BuilderGenerator.kt:254 */
|
194 347 | )
|
348 + | /* BuilderGenerator.kt:253 */
|
195 349 | }
|
350 + | /* BuilderGenerator.kt:355 */
|
196 351 | }
|