aws-sdk-endusermessaging 1.0.0

AWS SDK for AWS End User Messaging
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub(crate) fn reflens_list_brand_profile_attributes_output_output_next_token(
    input: &crate::operation::list_brand_profile_attributes::ListBrandProfileAttributesOutput,
) -> ::std::option::Option<&::std::string::String> {
    let input = match &input.next_token {
        ::std::option::Option::None => return ::std::option::Option::None,
        ::std::option::Option::Some(t) => t,
    };
    ::std::option::Option::Some(input)
}

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

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

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

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

pub(crate) fn lens_list_brand_profile_attributes_output_output_brand_profile_attributes(
    input: crate::operation::list_brand_profile_attributes::ListBrandProfileAttributesOutput,
) -> ::std::option::Option<::std::vec::Vec<crate::types::BrandProfileAttributeSummary>> {
    let input = input.brand_profile_attributes;
    ::std::option::Option::Some(input)
}

pub(crate) fn lens_list_brand_profiles_output_output_brand_profiles(
    input: crate::operation::list_brand_profiles::ListBrandProfilesOutput,
) -> ::std::option::Option<::std::vec::Vec<crate::types::BrandProfileInfo>> {
    let input = input.brand_profiles;
    ::std::option::Option::Some(input)
}

pub(crate) fn lens_list_jobs_output_output_jobs(
    input: crate::operation::list_jobs::ListJobsOutput,
) -> ::std::option::Option<::std::vec::Vec<crate::types::JobSummary>> {
    let input = input.jobs;
    ::std::option::Option::Some(input)
}

pub(crate) fn lens_list_notify_code_configurations_output_output_notify_code_configurations(
    input: crate::operation::list_notify_code_configurations::ListNotifyCodeConfigurationsOutput,
) -> ::std::option::Option<::std::vec::Vec<crate::types::NotifyCodeConfiguration>> {
    let input = input.notify_code_configurations;
    ::std::option::Option::Some(input)
}

pub(crate) fn lens_list_registrations_from_brand_profile_output_output_registration_associations(
    input: crate::operation::list_registrations_from_brand_profile::ListRegistrationsFromBrandProfileOutput,
) -> ::std::option::Option<::std::vec::Vec<crate::types::RegistrationAssociationSummary>> {
    let input = input.registration_associations;
    ::std::option::Option::Some(input)
}