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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub(crate) fn reflens_structure_crate_output_list_channels_output_next_token(
    input: &crate::output::ListChannelsOutput,
) -> std::option::Option<&std::string::String> {
    let input = match &input.next_token {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn reflens_structure_crate_output_list_harvest_jobs_output_next_token(
    input: &crate::output::ListHarvestJobsOutput,
) -> std::option::Option<&std::string::String> {
    let input = match &input.next_token {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn reflens_structure_crate_output_list_origin_endpoints_output_next_token(
    input: &crate::output::ListOriginEndpointsOutput,
) -> std::option::Option<&std::string::String> {
    let input = match &input.next_token {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn lens_structure_crate_output_list_channels_output_channels(
    input: crate::output::ListChannelsOutput,
) -> std::option::Option<std::vec::Vec<crate::model::Channel>> {
    let input = match input.channels {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn lens_structure_crate_output_list_harvest_jobs_output_harvest_jobs(
    input: crate::output::ListHarvestJobsOutput,
) -> std::option::Option<std::vec::Vec<crate::model::HarvestJob>> {
    let input = match input.harvest_jobs {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn lens_structure_crate_output_list_origin_endpoints_output_origin_endpoints(
    input: crate::output::ListOriginEndpointsOutput,
) -> std::option::Option<std::vec::Vec<crate::model::OriginEndpoint>> {
    let input = match input.origin_endpoints {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}