aws-sdk-workspaces 1.143.0

AWS SDK for Amazon WorkSpaces
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DescribeApplicationsInput {
    /// <p>The identifiers of one or more applications.</p>
    pub application_ids: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    /// <p>The compute types supported by the applications.</p>
    pub compute_type_names: ::std::option::Option<::std::vec::Vec<crate::types::Compute>>,
    /// <p>The license availability for the applications.</p>
    pub license_type: ::std::option::Option<crate::types::WorkSpaceApplicationLicenseType>,
    /// <p>The operating systems supported by the applications.</p>
    pub operating_system_names: ::std::option::Option<::std::vec::Vec<crate::types::OperatingSystemName>>,
    /// <p>The owner of the applications.</p>
    pub owner: ::std::option::Option<::std::string::String>,
    /// <p>The maximum number of applications to return.</p>
    pub max_results: ::std::option::Option<i32>,
    /// <p>If you received a <code>NextToken</code> from a previous call that was paginated, provide this token to receive the next set of results.</p>
    pub next_token: ::std::option::Option<::std::string::String>,
}
impl DescribeApplicationsInput {
    /// <p>The identifiers of one or more applications.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.application_ids.is_none()`.
    pub fn application_ids(&self) -> &[::std::string::String] {
        self.application_ids.as_deref().unwrap_or_default()
    }
    /// <p>The compute types supported by the applications.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.compute_type_names.is_none()`.
    pub fn compute_type_names(&self) -> &[crate::types::Compute] {
        self.compute_type_names.as_deref().unwrap_or_default()
    }
    /// <p>The license availability for the applications.</p>
    pub fn license_type(&self) -> ::std::option::Option<&crate::types::WorkSpaceApplicationLicenseType> {
        self.license_type.as_ref()
    }
    /// <p>The operating systems supported by the applications.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.operating_system_names.is_none()`.
    pub fn operating_system_names(&self) -> &[crate::types::OperatingSystemName] {
        self.operating_system_names.as_deref().unwrap_or_default()
    }
    /// <p>The owner of the applications.</p>
    pub fn owner(&self) -> ::std::option::Option<&str> {
        self.owner.as_deref()
    }
    /// <p>The maximum number of applications to return.</p>
    pub fn max_results(&self) -> ::std::option::Option<i32> {
        self.max_results
    }
    /// <p>If you received a <code>NextToken</code> from a previous call that was paginated, provide this token to receive the next set of results.</p>
    pub fn next_token(&self) -> ::std::option::Option<&str> {
        self.next_token.as_deref()
    }
}
static DESCRIBEAPPLICATIONSINPUT_MEMBER_APPLICATION_IDS_MEMBER: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
    ::aws_smithy_schema::ShapeId::from_parts(
        "com.amazonaws.workspaces#WorkSpaceApplicationIdList$member",
        "com.amazonaws.workspaces",
        "WorkSpaceApplicationIdList",
    ),
    ::aws_smithy_schema::ShapeType::String,
    "member",
    0,
);
static DESCRIBEAPPLICATIONSINPUT_MEMBER_APPLICATION_IDS: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
    ::aws_smithy_schema::ShapeId::from_parts(
        "com.amazonaws.workspaces.synthetic#DescribeApplicationsInput$ApplicationIds",
        "com.amazonaws.workspaces.synthetic",
        "DescribeApplicationsInput",
    ),
    ::aws_smithy_schema::ShapeType::List,
    "ApplicationIds",
    0,
)
.with_list_member(&DESCRIBEAPPLICATIONSINPUT_MEMBER_APPLICATION_IDS_MEMBER);
static DESCRIBEAPPLICATIONSINPUT_MEMBER_COMPUTE_TYPE_NAMES_MEMBER: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
    ::aws_smithy_schema::ShapeId::from_parts("com.amazonaws.workspaces#ComputeList$member", "com.amazonaws.workspaces", "ComputeList"),
    ::aws_smithy_schema::ShapeType::String,
    "member",
    0,
);
static DESCRIBEAPPLICATIONSINPUT_MEMBER_COMPUTE_TYPE_NAMES: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
    ::aws_smithy_schema::ShapeId::from_parts(
        "com.amazonaws.workspaces.synthetic#DescribeApplicationsInput$ComputeTypeNames",
        "com.amazonaws.workspaces.synthetic",
        "DescribeApplicationsInput",
    ),
    ::aws_smithy_schema::ShapeType::List,
    "ComputeTypeNames",
    1,
)
.with_list_member(&DESCRIBEAPPLICATIONSINPUT_MEMBER_COMPUTE_TYPE_NAMES_MEMBER);
static DESCRIBEAPPLICATIONSINPUT_MEMBER_LICENSE_TYPE: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
    ::aws_smithy_schema::ShapeId::from_parts(
        "com.amazonaws.workspaces.synthetic#DescribeApplicationsInput$LicenseType",
        "com.amazonaws.workspaces.synthetic",
        "DescribeApplicationsInput",
    ),
    ::aws_smithy_schema::ShapeType::String,
    "LicenseType",
    2,
);
static DESCRIBEAPPLICATIONSINPUT_MEMBER_OPERATING_SYSTEM_NAMES_MEMBER: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
    ::aws_smithy_schema::ShapeId::from_parts(
        "com.amazonaws.workspaces#OperatingSystemNameList$member",
        "com.amazonaws.workspaces",
        "OperatingSystemNameList",
    ),
    ::aws_smithy_schema::ShapeType::String,
    "member",
    0,
);
static DESCRIBEAPPLICATIONSINPUT_MEMBER_OPERATING_SYSTEM_NAMES: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
    ::aws_smithy_schema::ShapeId::from_parts(
        "com.amazonaws.workspaces.synthetic#DescribeApplicationsInput$OperatingSystemNames",
        "com.amazonaws.workspaces.synthetic",
        "DescribeApplicationsInput",
    ),
    ::aws_smithy_schema::ShapeType::List,
    "OperatingSystemNames",
    3,
)
.with_list_member(&DESCRIBEAPPLICATIONSINPUT_MEMBER_OPERATING_SYSTEM_NAMES_MEMBER);
static DESCRIBEAPPLICATIONSINPUT_MEMBER_OWNER: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
    ::aws_smithy_schema::ShapeId::from_parts(
        "com.amazonaws.workspaces.synthetic#DescribeApplicationsInput$Owner",
        "com.amazonaws.workspaces.synthetic",
        "DescribeApplicationsInput",
    ),
    ::aws_smithy_schema::ShapeType::String,
    "Owner",
    4,
);
static DESCRIBEAPPLICATIONSINPUT_MEMBER_MAX_RESULTS: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
    ::aws_smithy_schema::ShapeId::from_parts(
        "com.amazonaws.workspaces.synthetic#DescribeApplicationsInput$MaxResults",
        "com.amazonaws.workspaces.synthetic",
        "DescribeApplicationsInput",
    ),
    ::aws_smithy_schema::ShapeType::Integer,
    "MaxResults",
    5,
);
static DESCRIBEAPPLICATIONSINPUT_MEMBER_NEXT_TOKEN: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
    ::aws_smithy_schema::ShapeId::from_parts(
        "com.amazonaws.workspaces.synthetic#DescribeApplicationsInput$NextToken",
        "com.amazonaws.workspaces.synthetic",
        "DescribeApplicationsInput",
    ),
    ::aws_smithy_schema::ShapeType::String,
    "NextToken",
    6,
);
static DESCRIBEAPPLICATIONSINPUT_SCHEMA: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_struct(
    ::aws_smithy_schema::ShapeId::from_parts(
        "com.amazonaws.workspaces.synthetic#DescribeApplicationsInput",
        "com.amazonaws.workspaces.synthetic",
        "DescribeApplicationsInput",
    ),
    ::aws_smithy_schema::ShapeType::Structure,
    &[
        &DESCRIBEAPPLICATIONSINPUT_MEMBER_APPLICATION_IDS,
        &DESCRIBEAPPLICATIONSINPUT_MEMBER_COMPUTE_TYPE_NAMES,
        &DESCRIBEAPPLICATIONSINPUT_MEMBER_LICENSE_TYPE,
        &DESCRIBEAPPLICATIONSINPUT_MEMBER_OPERATING_SYSTEM_NAMES,
        &DESCRIBEAPPLICATIONSINPUT_MEMBER_OWNER,
        &DESCRIBEAPPLICATIONSINPUT_MEMBER_MAX_RESULTS,
        &DESCRIBEAPPLICATIONSINPUT_MEMBER_NEXT_TOKEN,
    ],
)
.with_payload_hint(::aws_smithy_schema::PayloadHint::NoStructPayload)
.with_original_name("DescribeApplicationsRequest");
impl DescribeApplicationsInput {
    /// The schema for this shape.
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema<'static> = &DESCRIBEAPPLICATIONSINPUT_SCHEMA;
}
impl ::aws_smithy_schema::serde::SerializableStruct for DescribeApplicationsInput {
    fn schema(&self) -> &::aws_smithy_schema::Schema<'_> {
        Self::SCHEMA
    }

    #[allow(unused_variables, clippy::diverging_sub_expression)]
    fn serialize_members(
        &self,
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
        if let Some(ref val) = self.application_ids {
            ser.write_list(
                &DESCRIBEAPPLICATIONSINPUT_MEMBER_APPLICATION_IDS,
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
                    for item in val {
                        ser.write_string(&aws_smithy_schema::prelude::STRING, item)?;
                    }
                    Ok(())
                },
            )?;
        }
        if let Some(ref val) = self.compute_type_names {
            ser.write_list(
                &DESCRIBEAPPLICATIONSINPUT_MEMBER_COMPUTE_TYPE_NAMES,
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
                    for item in val {
                        ser.write_string(&aws_smithy_schema::prelude::STRING, item.as_str())?;
                    }
                    Ok(())
                },
            )?;
        }
        if let Some(ref val) = self.license_type {
            ser.write_string(&DESCRIBEAPPLICATIONSINPUT_MEMBER_LICENSE_TYPE, val.as_str())?;
        }
        if let Some(ref val) = self.operating_system_names {
            ser.write_list(
                &DESCRIBEAPPLICATIONSINPUT_MEMBER_OPERATING_SYSTEM_NAMES,
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
                    for item in val {
                        ser.write_string(&aws_smithy_schema::prelude::STRING, item.as_str())?;
                    }
                    Ok(())
                },
            )?;
        }
        if let Some(ref val) = self.owner {
            ser.write_string(&DESCRIBEAPPLICATIONSINPUT_MEMBER_OWNER, val)?;
        }
        if let Some(ref val) = self.max_results {
            ser.write_integer(&DESCRIBEAPPLICATIONSINPUT_MEMBER_MAX_RESULTS, *val)?;
        }
        if let Some(ref val) = self.next_token {
            ser.write_string(&DESCRIBEAPPLICATIONSINPUT_MEMBER_NEXT_TOKEN, val)?;
        }
        Ok(())
    }
}
impl crate::operation::describe_applications::builders::DescribeApplicationsInputBuilder {
    #[allow(
        unused_variables,
        unreachable_code,
        clippy::single_match,
        clippy::match_single_binding,
        clippy::diverging_sub_expression
    )]
    pub(crate) fn deserialize_members(
        &mut self,
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
        deserializer.read_struct(&DESCRIBEAPPLICATIONSINPUT_SCHEMA, &mut |member, deser| {
            match member.member_index() {
                Some(0) => {
                    if deser.is_null() {
                        deser.read_null()?;
                    } else {
                        self.application_ids = Some(deser.read_string_list(member)?);
                    }
                }
                Some(1) => {
                    if deser.is_null() {
                        deser.read_null()?;
                    } else {
                        self.compute_type_names = Some({
                            let mut container = Vec::new();
                            deser.read_list(member, &mut |deser| {
                                container.push(crate::types::Compute::from(
                                    deser.read_string(&::aws_smithy_schema::prelude::STRING)?.as_str(),
                                ));
                                Ok(())
                            })?;
                            container
                        });
                    }
                }
                Some(2) => {
                    if deser.is_null() {
                        deser.read_null()?;
                    } else {
                        self.license_type = Some(crate::types::WorkSpaceApplicationLicenseType::from(deser.read_string(member)?.as_str()));
                    }
                }
                Some(3) => {
                    if deser.is_null() {
                        deser.read_null()?;
                    } else {
                        self.operating_system_names = Some({
                            let mut container = Vec::new();
                            deser.read_list(member, &mut |deser| {
                                container.push(crate::types::OperatingSystemName::from(
                                    deser.read_string(&::aws_smithy_schema::prelude::STRING)?.as_str(),
                                ));
                                Ok(())
                            })?;
                            container
                        });
                    }
                }
                Some(4) => {
                    if deser.is_null() {
                        deser.read_null()?;
                    } else {
                        self.owner = Some(deser.read_string(member)?);
                    }
                }
                Some(5) => {
                    if deser.is_null() {
                        deser.read_null()?;
                    } else {
                        self.max_results = Some(deser.read_integer(member)?);
                    }
                }
                Some(6) => {
                    if deser.is_null() {
                        deser.read_null()?;
                    } else {
                        self.next_token = Some(deser.read_string(member)?);
                    }
                }
                _ => {}
            }
            Ok(())
        })
    }
}

impl DescribeApplicationsInput {
    /// Deserializes this structure from a [`ShapeDeserializer`].
    pub fn deserialize(
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
        let mut builder = Self::builder();
        builder.deserialize_members(deserializer)?;
        builder.build().map_err(|e| aws_smithy_schema::serde::SerdeError::custom(e.to_string()))
    }
}
impl DescribeApplicationsInput {
    /// Creates a new builder-style object to manufacture [`DescribeApplicationsInput`](crate::operation::describe_applications::DescribeApplicationsInput).
    pub fn builder() -> crate::operation::describe_applications::builders::DescribeApplicationsInputBuilder {
        crate::operation::describe_applications::builders::DescribeApplicationsInputBuilder::default()
    }
}

/// A builder for [`DescribeApplicationsInput`](crate::operation::describe_applications::DescribeApplicationsInput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct DescribeApplicationsInputBuilder {
    pub(crate) application_ids: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) compute_type_names: ::std::option::Option<::std::vec::Vec<crate::types::Compute>>,
    pub(crate) license_type: ::std::option::Option<crate::types::WorkSpaceApplicationLicenseType>,
    pub(crate) operating_system_names: ::std::option::Option<::std::vec::Vec<crate::types::OperatingSystemName>>,
    pub(crate) owner: ::std::option::Option<::std::string::String>,
    pub(crate) max_results: ::std::option::Option<i32>,
    pub(crate) next_token: ::std::option::Option<::std::string::String>,
}
impl DescribeApplicationsInputBuilder {
    /// Appends an item to `application_ids`.
    ///
    /// To override the contents of this collection use [`set_application_ids`](Self::set_application_ids).
    ///
    /// <p>The identifiers of one or more applications.</p>
    pub fn application_ids(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.application_ids.unwrap_or_default();
        v.push(input.into());
        self.application_ids = ::std::option::Option::Some(v);
        self
    }
    /// <p>The identifiers of one or more applications.</p>
    pub fn set_application_ids(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.application_ids = input;
        self
    }
    /// <p>The identifiers of one or more applications.</p>
    pub fn get_application_ids(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.application_ids
    }
    /// Appends an item to `compute_type_names`.
    ///
    /// To override the contents of this collection use [`set_compute_type_names`](Self::set_compute_type_names).
    ///
    /// <p>The compute types supported by the applications.</p>
    pub fn compute_type_names(mut self, input: crate::types::Compute) -> Self {
        let mut v = self.compute_type_names.unwrap_or_default();
        v.push(input);
        self.compute_type_names = ::std::option::Option::Some(v);
        self
    }
    /// <p>The compute types supported by the applications.</p>
    pub fn set_compute_type_names(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::Compute>>) -> Self {
        self.compute_type_names = input;
        self
    }
    /// <p>The compute types supported by the applications.</p>
    pub fn get_compute_type_names(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::Compute>> {
        &self.compute_type_names
    }
    /// <p>The license availability for the applications.</p>
    pub fn license_type(mut self, input: crate::types::WorkSpaceApplicationLicenseType) -> Self {
        self.license_type = ::std::option::Option::Some(input);
        self
    }
    /// <p>The license availability for the applications.</p>
    pub fn set_license_type(mut self, input: ::std::option::Option<crate::types::WorkSpaceApplicationLicenseType>) -> Self {
        self.license_type = input;
        self
    }
    /// <p>The license availability for the applications.</p>
    pub fn get_license_type(&self) -> &::std::option::Option<crate::types::WorkSpaceApplicationLicenseType> {
        &self.license_type
    }
    /// Appends an item to `operating_system_names`.
    ///
    /// To override the contents of this collection use [`set_operating_system_names`](Self::set_operating_system_names).
    ///
    /// <p>The operating systems supported by the applications.</p>
    pub fn operating_system_names(mut self, input: crate::types::OperatingSystemName) -> Self {
        let mut v = self.operating_system_names.unwrap_or_default();
        v.push(input);
        self.operating_system_names = ::std::option::Option::Some(v);
        self
    }
    /// <p>The operating systems supported by the applications.</p>
    pub fn set_operating_system_names(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::OperatingSystemName>>) -> Self {
        self.operating_system_names = input;
        self
    }
    /// <p>The operating systems supported by the applications.</p>
    pub fn get_operating_system_names(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::OperatingSystemName>> {
        &self.operating_system_names
    }
    /// <p>The owner of the applications.</p>
    pub fn owner(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.owner = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The owner of the applications.</p>
    pub fn set_owner(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.owner = input;
        self
    }
    /// <p>The owner of the applications.</p>
    pub fn get_owner(&self) -> &::std::option::Option<::std::string::String> {
        &self.owner
    }
    /// <p>The maximum number of applications to return.</p>
    pub fn max_results(mut self, input: i32) -> Self {
        self.max_results = ::std::option::Option::Some(input);
        self
    }
    /// <p>The maximum number of applications to return.</p>
    pub fn set_max_results(mut self, input: ::std::option::Option<i32>) -> Self {
        self.max_results = input;
        self
    }
    /// <p>The maximum number of applications to return.</p>
    pub fn get_max_results(&self) -> &::std::option::Option<i32> {
        &self.max_results
    }
    /// <p>If you received a <code>NextToken</code> from a previous call that was paginated, provide this token to receive the next set of results.</p>
    pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.next_token = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>If you received a <code>NextToken</code> from a previous call that was paginated, provide this token to receive the next set of results.</p>
    pub fn set_next_token(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.next_token = input;
        self
    }
    /// <p>If you received a <code>NextToken</code> from a previous call that was paginated, provide this token to receive the next set of results.</p>
    pub fn get_next_token(&self) -> &::std::option::Option<::std::string::String> {
        &self.next_token
    }
    /// Consumes the builder and constructs a [`DescribeApplicationsInput`](crate::operation::describe_applications::DescribeApplicationsInput).
    pub fn build(
        self,
    ) -> ::std::result::Result<crate::operation::describe_applications::DescribeApplicationsInput, ::aws_smithy_types::error::operation::BuildError>
    {
        ::std::result::Result::Ok(crate::operation::describe_applications::DescribeApplicationsInput {
            application_ids: self.application_ids,
            compute_type_names: self.compute_type_names,
            license_type: self.license_type,
            operating_system_names: self.operating_system_names,
            owner: self.owner,
            max_results: self.max_results,
            next_token: self.next_token,
        })
    }
}