Client Test

Client Test

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943

Files changed:

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_int_enums/builders.rs

@@ -1,1 +210,258 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* CodegenDelegator.kt:255 */
    2      3   
pub use crate::operation::xml_int_enums::_xml_int_enums_output::XmlIntEnumsOutputBuilder;
    3      4   
           5  +
/* CodegenDelegator.kt:255 */
    4      6   
pub use crate::operation::xml_int_enums::_xml_int_enums_input::XmlIntEnumsInputBuilder;
    5      7   
           8  +
/* FluentBuilderGenerator.kt:408 */
    6      9   
impl crate::operation::xml_int_enums::builders::XmlIntEnumsInputBuilder {
    7     10   
    /// Sends a request with this input using the given client.
    8     11   
    pub async fn send_with(
    9     12   
        self,
   10     13   
        client: &crate::Client,
   11     14   
    ) -> ::std::result::Result<
   12     15   
        crate::operation::xml_int_enums::XmlIntEnumsOutput,
   13     16   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     17   
            crate::operation::xml_int_enums::XmlIntEnumsError,
   15     18   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   16     19   
        >,
   17     20   
    > {
   18     21   
        let mut fluent_builder = client.xml_int_enums();
   19     22   
        fluent_builder.inner = self;
   20     23   
        fluent_builder.send().await
   21     24   
    }
   22     25   
}
   23         -
/// Fluent builder constructing a request to `XmlIntEnums`.
          26  +
/// /* FluentBuilderGenerator.kt:129 */Fluent builder constructing a request to `XmlIntEnums`.
   24     27   
///
   25         -
/// This example serializes enums as top level properties, in lists, sets, and maps.
          28  +
/// /* FluentBuilderGenerator.kt:130 */This example serializes enums as top level properties, in lists, sets, and maps.
          29  +
/* RustType.kt:516 */
   26     30   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
          31  +
/* FluentBuilderGenerator.kt:270 */
   27     32   
pub struct XmlIntEnumsFluentBuilder {
   28     33   
    handle: ::std::sync::Arc<crate::client::Handle>,
   29     34   
    inner: crate::operation::xml_int_enums::builders::XmlIntEnumsInputBuilder,
   30     35   
    config_override: ::std::option::Option<crate::config::Builder>,
   31     36   
}
          37  +
/* FluentBuilderGenerator.kt:381 */
   32     38   
impl
   33     39   
    crate::client::customize::internal::CustomizableSend<
   34     40   
        crate::operation::xml_int_enums::XmlIntEnumsOutput,
   35     41   
        crate::operation::xml_int_enums::XmlIntEnumsError,
   36     42   
    > for XmlIntEnumsFluentBuilder
   37     43   
{
   38     44   
    fn send(
   39     45   
        self,
   40     46   
        config_override: crate::config::Builder,
   41     47   
    ) -> crate::client::customize::internal::BoxFuture<
   42     48   
        crate::client::customize::internal::SendResult<
   43     49   
            crate::operation::xml_int_enums::XmlIntEnumsOutput,
   44     50   
            crate::operation::xml_int_enums::XmlIntEnumsError,
   45     51   
        >,
   46     52   
    > {
   47     53   
        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
   48     54   
    }
   49     55   
}
          56  +
/* FluentBuilderGenerator.kt:282 */
   50     57   
impl XmlIntEnumsFluentBuilder {
          58  +
    /* FluentBuilderGenerator.kt:288 */
   51     59   
    /// Creates a new `XmlIntEnumsFluentBuilder`.
   52     60   
    pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
   53     61   
        Self {
   54     62   
            handle,
   55     63   
            inner: ::std::default::Default::default(),
   56     64   
            config_override: ::std::option::Option::None,
   57     65   
        }
   58     66   
    }
          67  +
    /* FluentBuilderGenerator.kt:301 */
   59     68   
    /// Access the XmlIntEnums as a reference.
   60     69   
    pub fn as_input(&self) -> &crate::operation::xml_int_enums::builders::XmlIntEnumsInputBuilder {
   61     70   
        &self.inner
   62     71   
    }
          72  +
    /* FluentBuilderGenerator.kt:145 */
   63     73   
    /// Sends the request and returns the response.
   64     74   
    ///
   65     75   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     76   
    /// can be matched against.
   67     77   
    ///
   68     78   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     79   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70     80   
    /// set when configuring the client.
   71     81   
    pub async fn send(
   72     82   
        self,
   73     83   
    ) -> ::std::result::Result<
   74     84   
        crate::operation::xml_int_enums::XmlIntEnumsOutput,
   75     85   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     86   
            crate::operation::xml_int_enums::XmlIntEnumsError,
   77     87   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     88   
        >,
   79     89   
    > {
   80     90   
        let input = self
   81     91   
            .inner
   82     92   
            .build()
   83     93   
            .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
   84     94   
        let runtime_plugins = crate::operation::xml_int_enums::XmlIntEnums::operation_runtime_plugins(
   85     95   
            self.handle.runtime_plugins.clone(),
   86     96   
            &self.handle.conf,
   87     97   
            self.config_override,
   88     98   
        );
   89     99   
        crate::operation::xml_int_enums::XmlIntEnums::orchestrate(&runtime_plugins, input).await
   90    100   
    }
   91    101   
   92    102   
    /// Consumes this builder, creating a customizable operation that can be modified before being sent.
   93    103   
    pub fn customize(
   94    104   
        self,
   95    105   
    ) -> crate::client::customize::CustomizableOperation<
   96    106   
        crate::operation::xml_int_enums::XmlIntEnumsOutput,
   97    107   
        crate::operation::xml_int_enums::XmlIntEnumsError,
   98    108   
        Self,
   99    109   
    > {
  100    110   
        crate::client::customize::CustomizableOperation::new(self)
  101    111   
    }
         112  +
    /* FluentBuilderGenerator.kt:315 */
  102    113   
    pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
  103    114   
        self.set_config_override(::std::option::Option::Some(config_override.into()));
  104    115   
        self
  105    116   
    }
  106    117   
  107    118   
    pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
  108    119   
        self.config_override = config_override;
  109    120   
        self
  110    121   
    }
         122  +
    /* FluentBuilderGenerator.kt:498 */
  111    123   
    #[allow(missing_docs)] // documentation missing in model
         124  +
                           /* FluentBuilderGenerator.kt:500 */
  112    125   
    pub fn int_enum1(mut self, input: i32) -> Self {
  113    126   
        self.inner = self.inner.int_enum1(input);
  114    127   
        self
  115    128   
    }
         129  +
    /* FluentBuilderGenerator.kt:498 */
  116    130   
    #[allow(missing_docs)] // documentation missing in model
         131  +
                           /* FluentBuilderGenerator.kt:500 */
  117    132   
    pub fn set_int_enum1(mut self, input: ::std::option::Option<i32>) -> Self {
  118    133   
        self.inner = self.inner.set_int_enum1(input);
  119    134   
        self
  120    135   
    }
         136  +
    /* FluentBuilderGenerator.kt:518 */
  121    137   
    #[allow(missing_docs)] // documentation missing in model
         138  +
                           /* FluentBuilderGenerator.kt:520 */
  122    139   
    pub fn get_int_enum1(&self) -> &::std::option::Option<i32> {
  123    140   
        self.inner.get_int_enum1()
  124    141   
    }
         142  +
    /* FluentBuilderGenerator.kt:498 */
  125    143   
    #[allow(missing_docs)] // documentation missing in model
         144  +
                           /* FluentBuilderGenerator.kt:500 */
  126    145   
    pub fn int_enum2(mut self, input: i32) -> Self {
  127    146   
        self.inner = self.inner.int_enum2(input);
  128    147   
        self
  129    148   
    }
         149  +
    /* FluentBuilderGenerator.kt:498 */
  130    150   
    #[allow(missing_docs)] // documentation missing in model
         151  +
                           /* FluentBuilderGenerator.kt:500 */
  131    152   
    pub fn set_int_enum2(mut self, input: ::std::option::Option<i32>) -> Self {
  132    153   
        self.inner = self.inner.set_int_enum2(input);
  133    154   
        self
  134    155   
    }
         156  +
    /* FluentBuilderGenerator.kt:518 */
  135    157   
    #[allow(missing_docs)] // documentation missing in model
         158  +
                           /* FluentBuilderGenerator.kt:520 */
  136    159   
    pub fn get_int_enum2(&self) -> &::std::option::Option<i32> {
  137    160   
        self.inner.get_int_enum2()
  138    161   
    }
         162  +
    /* FluentBuilderGenerator.kt:498 */
  139    163   
    #[allow(missing_docs)] // documentation missing in model
         164  +
                           /* FluentBuilderGenerator.kt:500 */
  140    165   
    pub fn int_enum3(mut self, input: i32) -> Self {
  141    166   
        self.inner = self.inner.int_enum3(input);
  142    167   
        self
  143    168   
    }
         169  +
    /* FluentBuilderGenerator.kt:498 */
  144    170   
    #[allow(missing_docs)] // documentation missing in model
         171  +
                           /* FluentBuilderGenerator.kt:500 */
  145    172   
    pub fn set_int_enum3(mut self, input: ::std::option::Option<i32>) -> Self {
  146    173   
        self.inner = self.inner.set_int_enum3(input);
  147    174   
        self
  148    175   
    }
         176  +
    /* FluentBuilderGenerator.kt:518 */
  149    177   
    #[allow(missing_docs)] // documentation missing in model
         178  +
                           /* FluentBuilderGenerator.kt:520 */
  150    179   
    pub fn get_int_enum3(&self) -> &::std::option::Option<i32> {
  151    180   
        self.inner.get_int_enum3()
  152    181   
    }
  153         -
    ///
         182  +
    /// /* FluentBuilderGenerator.kt:436 */
  154    183   
    /// Appends an item to `intEnumList`.
  155    184   
    ///
  156    185   
    /// To override the contents of this collection use [`set_int_enum_list`](Self::set_int_enum_list).
  157    186   
    ///
         187  +
    /* FluentBuilderGenerator.kt:443 */
  158    188   
    #[allow(missing_docs)] // documentation missing in model
         189  +
                           /* FluentBuilderGenerator.kt:446 */
  159    190   
    pub fn int_enum_list(mut self, input: i32) -> Self {
  160    191   
        self.inner = self.inner.int_enum_list(input);
  161    192   
        self
  162    193   
    }
         194  +
    /* FluentBuilderGenerator.kt:498 */
  163    195   
    #[allow(missing_docs)] // documentation missing in model
         196  +
                           /* FluentBuilderGenerator.kt:500 */
  164    197   
    pub fn set_int_enum_list(mut self, input: ::std::option::Option<::std::vec::Vec<i32>>) -> Self {
  165    198   
        self.inner = self.inner.set_int_enum_list(input);
  166    199   
        self
  167    200   
    }
         201  +
    /* FluentBuilderGenerator.kt:518 */
  168    202   
    #[allow(missing_docs)] // documentation missing in model
         203  +
                           /* FluentBuilderGenerator.kt:520 */
  169    204   
    pub fn get_int_enum_list(&self) -> &::std::option::Option<::std::vec::Vec<i32>> {
  170    205   
        self.inner.get_int_enum_list()
  171    206   
    }
  172         -
    ///
         207  +
    /// /* FluentBuilderGenerator.kt:436 */
  173    208   
    /// Appends an item to `intEnumSet`.
  174    209   
    ///
  175    210   
    /// To override the contents of this collection use [`set_int_enum_set`](Self::set_int_enum_set).
  176    211   
    ///
         212  +
    /* FluentBuilderGenerator.kt:443 */
  177    213   
    #[allow(missing_docs)] // documentation missing in model
         214  +
                           /* FluentBuilderGenerator.kt:446 */
  178    215   
    pub fn int_enum_set(mut self, input: i32) -> Self {
  179    216   
        self.inner = self.inner.int_enum_set(input);
  180    217   
        self
  181    218   
    }
         219  +
    /* FluentBuilderGenerator.kt:498 */
  182    220   
    #[allow(missing_docs)] // documentation missing in model
         221  +
                           /* FluentBuilderGenerator.kt:500 */
  183    222   
    pub fn set_int_enum_set(mut self, input: ::std::option::Option<::std::vec::Vec<i32>>) -> Self {
  184    223   
        self.inner = self.inner.set_int_enum_set(input);
  185    224   
        self
  186    225   
    }
         226  +
    /* FluentBuilderGenerator.kt:518 */
  187    227   
    #[allow(missing_docs)] // documentation missing in model
         228  +
                           /* FluentBuilderGenerator.kt:520 */
  188    229   
    pub fn get_int_enum_set(&self) -> &::std::option::Option<::std::vec::Vec<i32>> {
  189    230   
        self.inner.get_int_enum_set()
  190    231   
    }
  191         -
    ///
         232  +
    /// /* FluentBuilderGenerator.kt:466 */
  192    233   
    /// Adds a key-value pair to `intEnumMap`.
  193    234   
    ///
  194    235   
    /// To override the contents of this collection use [`set_int_enum_map`](Self::set_int_enum_map).
  195    236   
    ///
         237  +
    /* FluentBuilderGenerator.kt:473 */
  196    238   
    #[allow(missing_docs)] // documentation missing in model
         239  +
                           /* FluentBuilderGenerator.kt:475 */
  197    240   
    pub fn int_enum_map(mut self, k: impl ::std::convert::Into<::std::string::String>, v: i32) -> Self {
  198    241   
        self.inner = self.inner.int_enum_map(k.into(), v);
  199    242   
        self
  200    243   
    }
         244  +
    /* FluentBuilderGenerator.kt:498 */
  201    245   
    #[allow(missing_docs)] // documentation missing in model
         246  +
                           /* FluentBuilderGenerator.kt:500 */
  202    247   
    pub fn set_int_enum_map(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>) -> Self {
  203    248   
        self.inner = self.inner.set_int_enum_map(input);
  204    249   
        self
  205    250   
    }
         251  +
    /* FluentBuilderGenerator.kt:518 */
  206    252   
    #[allow(missing_docs)] // documentation missing in model
         253  +
                           /* FluentBuilderGenerator.kt:520 */
  207    254   
    pub fn get_int_enum_map(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, i32>> {
  208    255   
        self.inner.get_int_enum_map()
  209    256   
    }
         257  +
    /* FluentBuilderGenerator.kt:282 */
  210    258   
}

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_lists.rs

@@ -1,1 +40,49 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* OperationGenerator.kt:77 */
    2      3   
/// Orchestration and serialization glue logic for `XmlLists`.
           4  +
/* RustType.kt:516 */
    3      5   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
           6  +
/* RustType.kt:516 */
    4      7   
#[non_exhaustive]
           8  +
/* OperationGenerator.kt:84 */
    5      9   
pub struct XmlLists;
          10  +
/* OperationGenerator.kt:85 */
    6     11   
impl XmlLists {
    7         -
    /// Creates a new `XmlLists`
          12  +
    /// /* OperationGenerator.kt:86 */Creates a new `XmlLists`
          13  +
    /* OperationGenerator.kt:87 */
    8     14   
    pub fn new() -> Self {
          15  +
        /* OperationGenerator.kt:88 */
    9     16   
        Self
          17  +
        /* OperationGenerator.kt:87 */
   10     18   
    }
          19  +
    /* OperationGenerator.kt:138 */
   11     20   
    pub(crate) async fn orchestrate(
   12     21   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     22   
        input: crate::operation::xml_lists::XmlListsInput,
   14     23   
    ) -> ::std::result::Result<
   15     24   
        crate::operation::xml_lists::XmlListsOutput,
   16     25   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     26   
            crate::operation::xml_lists::XmlListsError,
   18     27   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     28   
        >,
   20     29   
    > {
@@ -53,62 +257,274 @@
   73     82   
                runtime_plugins = runtime_plugins.with_operation_plugin(plugin);
   74     83   
            }
   75     84   
            runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new(
   76     85   
                config_override,
   77     86   
                client_config.config.clone(),
   78     87   
                &client_config.runtime_components,
   79     88   
            ));
   80     89   
        }
   81     90   
        runtime_plugins
   82     91   
    }
          92  +
    /* OperationGenerator.kt:85 */
   83     93   
}
          94  +
/* OperationRuntimePluginGenerator.kt:55 */
   84     95   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for XmlLists {
   85     96   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
   86     97   
        let mut cfg = ::aws_smithy_types::config_bag::Layer::new("XmlLists");
   87     98   
   88     99   
        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
   89    100   
            XmlListsRequestSerializer,
   90    101   
        ));
   91    102   
        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
   92    103   
            XmlListsResponseDeserializer,
   93    104   
        ));
   94    105   
   95    106   
        cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
   96    107   
            ::aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolverParams::new(),
   97    108   
        ));
   98    109   
   99    110   
        cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
  100    111   
            "XmlLists",
  101    112   
            "Rest Xml Protocol",
  102    113   
        ));
  103    114   
  104    115   
        ::std::option::Option::Some(cfg.freeze())
  105    116   
    }
  106    117   
  107    118   
    fn runtime_components(
  108    119   
        &self,
  109    120   
        _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
  110    121   
    ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
  111    122   
        #[allow(unused_mut)]
  112    123   
        let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("XmlLists")
  113    124   
            .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
  114    125   
            .with_interceptor(XmlListsEndpointParamsInterceptor)
  115    126   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
  116    127   
                crate::operation::xml_lists::XmlListsError,
  117    128   
            >::new())
  118    129   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
  119    130   
                crate::operation::xml_lists::XmlListsError,
  120    131   
            >::new());
  121    132   
  122    133   
        ::std::borrow::Cow::Owned(rcb)
  123    134   
    }
  124    135   
}
  125    136   
         137  +
/* ResponseDeserializerGenerator.kt:64 */
  126    138   
#[derive(Debug)]
  127    139   
struct XmlListsResponseDeserializer;
  128    140   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for XmlListsResponseDeserializer {
  129    141   
    fn deserialize_nonstreaming(
  130    142   
        &self,
  131    143   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
  132    144   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  133    145   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  134    146   
        let headers = response.headers();
  135    147   
        let body = response.body().bytes().expect("body loaded");
  136    148   
        #[allow(unused_mut)]
  137    149   
        let mut force_error = false;
  138    150   
  139    151   
        let parse_result = if !success && status != 200 || force_error {
  140    152   
            crate::protocol_serde::shape_xml_lists::de_xml_lists_http_error(status, headers, body)
  141    153   
        } else {
  142    154   
            crate::protocol_serde::shape_xml_lists::de_xml_lists_http_response(status, headers, body)
  143    155   
        };
  144    156   
        crate::protocol_serde::type_erase_result(parse_result)
  145    157   
    }
  146    158   
}
         159  +
/* RequestSerializerGenerator.kt:67 */
  147    160   
#[derive(Debug)]
  148    161   
struct XmlListsRequestSerializer;
  149    162   
impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for XmlListsRequestSerializer {
  150    163   
    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
  151    164   
    fn serialize_input(
  152    165   
        &self,
  153    166   
        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
  154    167   
        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  155    168   
    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
  156    169   
        let input = input.downcast::<crate::operation::xml_lists::XmlListsInput>().expect("correct type");
  157    170   
        let _header_serialization_settings = _cfg
  158    171   
            .load::<crate::serialization_settings::HeaderSerializationSettings>()
  159    172   
            .cloned()
  160    173   
            .unwrap_or_default();
  161    174   
        let mut request_builder = {
  162    175   
            fn uri_base(
  163    176   
                _input: &crate::operation::xml_lists::XmlListsInput,
  164    177   
                output: &mut ::std::string::String,
  165    178   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  166    179   
                use ::std::fmt::Write as _;
  167    180   
                ::std::write!(output, "/XmlLists").expect("formatting should succeed");
  168    181   
                ::std::result::Result::Ok(())
  169    182   
            }
  170    183   
            #[allow(clippy::unnecessary_wraps)]
  171    184   
            fn update_http_builder(
  172    185   
                input: &crate::operation::xml_lists::XmlListsInput,
  173    186   
                builder: ::http::request::Builder,
  174    187   
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  175    188   
                let mut uri = ::std::string::String::new();
  176    189   
                uri_base(input, &mut uri)?;
  177    190   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  178    191   
            }
  179    192   
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  180    193   
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
  181    194   
            builder
  182    195   
        };
  183    196   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_xml_lists::ser_xml_lists_op_input(&input)?);
  184    197   
        if let Some(content_length) = body.content_length() {
  185    198   
            let content_length = content_length.to_string();
  186    199   
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
  187    200   
        }
  188    201   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  189    202   
    }
  190    203   
}
         204  +
/* EndpointParamsInterceptorGenerator.kt:86 */
  191    205   
#[derive(Debug)]
  192    206   
struct XmlListsEndpointParamsInterceptor;
  193    207   
  194    208   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for XmlListsEndpointParamsInterceptor {
  195    209   
    fn name(&self) -> &'static str {
  196    210   
        "XmlListsEndpointParamsInterceptor"
  197    211   
    }
  198    212   
  199    213   
    fn read_before_execution(
  200    214   
        &self,
  201    215   
        context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
  202    216   
            '_,
  203    217   
            ::aws_smithy_runtime_api::client::interceptors::context::Input,
  204    218   
            ::aws_smithy_runtime_api::client::interceptors::context::Output,
  205    219   
            ::aws_smithy_runtime_api::client::interceptors::context::Error,
  206    220   
        >,
  207    221   
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  208    222   
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
  209    223   
        let _input = context
  210    224   
            .input()
  211    225   
            .downcast_ref::<XmlListsInput>()
  212    226   
            .ok_or("failed to downcast to XmlListsInput")?;
  213    227   
  214    228   
        let params = crate::config::endpoint::Params::builder().build().map_err(|err| {
  215    229   
            ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  216    230   
        })?;
  217    231   
        cfg.interceptor_state()
  218    232   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
  219    233   
        ::std::result::Result::Ok(())
  220    234   
    }
  221    235   
}
  222    236   
  223    237   
// The get_* functions below are generated from JMESPath expressions in the
  224    238   
// operationContextParams trait. They target the operation's input shape.
  225    239   
         240  +
/* RustType.kt:516 */
  226    241   
#[allow(unreachable_code, unused_variables)]
         242  +
/* RustType.kt:516 */
  227    243   
#[cfg(test)]
         244  +
/* ProtocolTestGenerator.kt:98 */
  228    245   
mod xml_lists_test {
  229    246   
  230    247   
    /// Tests for XML list serialization
  231    248   
    /// Test ID: XmlLists
  232    249   
    #[::tokio::test]
  233    250   
    #[::tracing_test::traced_test]
  234    251   
    async fn xml_lists_request() {
  235    252   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  236    253   
        let config_builder = crate::config::Config::builder().with_test_defaults().endpoint_url("https://example.com");
  237    254   
@@ -400,417 +529,605 @@
  420    437   
            parsed.structure_list,
  421    438   
            expected_output.structure_list,
  422    439   
            "Unexpected value for `structure_list`"
  423    440   
        );
  424    441   
        ::pretty_assertions::assert_eq!(
  425    442   
            parsed.flattened_structure_list,
  426    443   
            expected_output.flattened_structure_list,
  427    444   
            "Unexpected value for `flattened_structure_list`"
  428    445   
        );
  429    446   
    }
         447  +
         448  +
    /* ProtocolTestGenerator.kt:98 */
  430    449   
}
  431    450   
         451  +
/* OperationErrorGenerator.kt:79 */
  432    452   
/// Error type for the `XmlListsError` operation.
         453  +
/* RustType.kt:516 */
  433    454   
#[non_exhaustive]
         455  +
/* RustType.kt:516 */
  434    456   
#[derive(::std::fmt::Debug)]
  435         -
pub enum XmlListsError {
         457  +
pub /* OperationErrorGenerator.kt:81 */ enum XmlListsError {
         458  +
    /* OperationErrorGenerator.kt:88 */
  436    459   
    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
  437    460   
    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
  438    461   
    variable wildcard pattern and check `.code()`:
  439    462   
     \
  440    463   
    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
  441    464   
     \
  442    465   
    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-XmlListsError) for what information is available for the error.")]
  443    466   
    Unhandled(crate::error::sealed_unhandled::Unhandled),
         467  +
    /* OperationErrorGenerator.kt:81 */
  444    468   
}
         469  +
/* OperationErrorGenerator.kt:218 */
  445    470   
impl XmlListsError {
         471  +
    /* OperationErrorGenerator.kt:219 */
  446    472   
    /// Creates the `XmlListsError::Unhandled` variant from any error type.
  447    473   
    pub fn unhandled(
  448    474   
        err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
  449    475   
    ) -> Self {
  450    476   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  451    477   
            source: err.into(),
  452    478   
            meta: ::std::default::Default::default(),
  453    479   
        })
  454    480   
    }
  455    481   
  456    482   
    /// Creates the `XmlListsError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
  457    483   
    pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
  458    484   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  459    485   
            source: err.clone().into(),
  460    486   
            meta: err,
  461    487   
        })
  462    488   
    }
  463         -
    ///
         489  +
    /// /* OperationErrorGenerator.kt:236 */
  464    490   
    /// Returns error metadata, which includes the error code, message,
  465    491   
    /// request ID, and potentially additional information.
  466    492   
    ///
         493  +
    /* OperationErrorGenerator.kt:242 */
  467    494   
    pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         495  +
        /* OperationErrorGenerator.kt:243 */
  468    496   
        match self {
  469         -
            Self::Unhandled(e) => &e.meta,
         497  +
            /* OperationErrorGenerator.kt:251 */ Self::Unhandled(e) => &e.meta,
         498  +
            /* OperationErrorGenerator.kt:243 */
  470    499   
        }
         500  +
        /* OperationErrorGenerator.kt:242 */
  471    501   
    }
         502  +
    /* OperationErrorGenerator.kt:218 */
  472    503   
}
         504  +
/* OperationErrorGenerator.kt:269 */
  473    505   
impl ::std::error::Error for XmlListsError {
         506  +
    /* OperationErrorGenerator.kt:270 */
  474    507   
    fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
         508  +
        /* OperationErrorGenerator.kt:318 */
  475    509   
        match self {
  476         -
            Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
         510  +
            /* OperationErrorGenerator.kt:326 */
         511  +
            Self::Unhandled(_inner) => {
         512  +
                /* OperationErrorGenerator.kt:279 */
         513  +
                ::std::option::Option::Some(&*_inner.source)
         514  +
                /* OperationErrorGenerator.kt:326 */
         515  +
            } /* OperationErrorGenerator.kt:318 */
  477    516   
        }
         517  +
        /* OperationErrorGenerator.kt:270 */
  478    518   
    }
         519  +
    /* OperationErrorGenerator.kt:269 */
  479    520   
}
         521  +
/* OperationErrorGenerator.kt:133 */
  480    522   
impl ::std::fmt::Display for XmlListsError {
         523  +
    /* OperationErrorGenerator.kt:134 */
  481    524   
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
         525  +
        /* OperationErrorGenerator.kt:318 */
  482    526   
        match self {
         527  +
            /* OperationErrorGenerator.kt:326 */
  483    528   
            Self::Unhandled(_inner) => {
         529  +
                /* OperationErrorGenerator.kt:139 */
  484    530   
                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
  485    531   
                    write!(f, "unhandled error ({code})")
  486    532   
                } else {
  487    533   
                    f.write_str("unhandled error")
  488    534   
                }
  489         -
            }
         535  +
                /* OperationErrorGenerator.kt:326 */
         536  +
            } /* OperationErrorGenerator.kt:318 */
  490    537   
        }
         538  +
        /* OperationErrorGenerator.kt:134 */
  491    539   
    }
         540  +
    /* OperationErrorGenerator.kt:133 */
  492    541   
}
         542  +
/* OperationErrorGenerator.kt:182 */
  493    543   
impl ::aws_smithy_types::retry::ProvideErrorKind for XmlListsError {
         544  +
    /* OperationErrorGenerator.kt:186 */
  494    545   
    fn code(&self) -> ::std::option::Option<&str> {
         546  +
        /* OperationErrorGenerator.kt:187 */
  495    547   
        ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
         548  +
        /* OperationErrorGenerator.kt:186 */
  496    549   
    }
         550  +
    /* OperationErrorGenerator.kt:190 */
  497    551   
    fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
         552  +
        /* OperationErrorGenerator.kt:197 */
  498    553   
        ::std::option::Option::None
         554  +
        /* OperationErrorGenerator.kt:190 */
  499    555   
    }
         556  +
    /* OperationErrorGenerator.kt:182 */
  500    557   
}
         558  +
/* OperationErrorGenerator.kt:163 */
  501    559   
impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for XmlListsError {
         560  +
    /* OperationErrorGenerator.kt:164 */
  502    561   
    fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         562  +
        /* OperationErrorGenerator.kt:318 */
  503    563   
        match self {
  504         -
            Self::Unhandled(_inner) => &_inner.meta,
         564  +
            /* OperationErrorGenerator.kt:326 */
         565  +
            Self::Unhandled(_inner) => {
         566  +
                /* OperationErrorGenerator.kt:168 */
         567  +
                &_inner.meta
         568  +
                /* OperationErrorGenerator.kt:326 */
         569  +
            } /* OperationErrorGenerator.kt:318 */
  505    570   
        }
         571  +
        /* OperationErrorGenerator.kt:164 */
  506    572   
    }
         573  +
    /* OperationErrorGenerator.kt:163 */
  507    574   
}
         575  +
/* OperationErrorGenerator.kt:109 */
  508    576   
impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for XmlListsError {
         577  +
    /* OperationErrorGenerator.kt:110 */
  509    578   
    fn create_unhandled_error(
  510    579   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  511    580   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  512    581   
    ) -> Self {
         582  +
        /* OperationErrorGenerator.kt:121 */
  513    583   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  514    584   
            source,
  515    585   
            meta: meta.unwrap_or_default(),
  516    586   
        })
         587  +
        /* OperationErrorGenerator.kt:110 */
  517    588   
    }
         589  +
    /* OperationErrorGenerator.kt:109 */
  518    590   
}
  519    591   
         592  +
/* CodegenDelegator.kt:255 */
  520    593   
pub use crate::operation::xml_lists::_xml_lists_output::XmlListsOutput;
  521    594   
         595  +
/* CodegenDelegator.kt:255 */
  522    596   
pub use crate::operation::xml_lists::_xml_lists_input::XmlListsInput;
  523    597   
         598  +
/* RustModule.kt:172 */
  524    599   
mod _xml_lists_input;
  525    600   
         601  +
/* RustModule.kt:172 */
  526    602   
mod _xml_lists_output;
  527    603   
  528         -
/// Builders
         604  +
/// /* CodegenDelegator.kt:51 */Builders
  529    605   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_lists/_xml_lists_input.rs

@@ -1,1 +463,815 @@
    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 XmlListsInput {
           8  +
pub /* StructureGenerator.kt:201 */ struct XmlListsInput {
           9  +
    /* StructureGenerator.kt:231 */
    6     10   
    #[allow(missing_docs)] // documentation missing in model
    7     11   
    pub string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          12  +
    /* StructureGenerator.kt:231 */
    8     13   
    #[allow(missing_docs)] // documentation missing in model
    9     14   
    pub string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          15  +
    /* StructureGenerator.kt:231 */
   10     16   
    #[allow(missing_docs)] // documentation missing in model
   11     17   
    pub integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
          18  +
    /* StructureGenerator.kt:231 */
   12     19   
    #[allow(missing_docs)] // documentation missing in model
   13     20   
    pub boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
          21  +
    /* StructureGenerator.kt:231 */
   14     22   
    #[allow(missing_docs)] // documentation missing in model
   15     23   
    pub timestamp_list: ::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>>,
          24  +
    /* StructureGenerator.kt:231 */
   16     25   
    #[allow(missing_docs)] // documentation missing in model
   17     26   
    pub enum_list: ::std::option::Option<::std::vec::Vec<crate::types::FooEnum>>,
          27  +
    /* StructureGenerator.kt:231 */
   18     28   
    #[allow(missing_docs)] // documentation missing in model
   19     29   
    pub int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
   20         -
    /// A list of lists of strings.
          30  +
    /// /* StructureGenerator.kt:231 */A list of lists of strings.
   21     31   
    pub nested_string_list: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
          32  +
    /* StructureGenerator.kt:231 */
   22     33   
    #[allow(missing_docs)] // documentation missing in model
   23     34   
    pub renamed_list_members: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          35  +
    /* StructureGenerator.kt:231 */
   24     36   
    #[allow(missing_docs)] // documentation missing in model
   25     37   
    pub flattened_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          38  +
    /* StructureGenerator.kt:231 */
   26     39   
    #[allow(missing_docs)] // documentation missing in model
   27     40   
    pub flattened_list2: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          41  +
    /* StructureGenerator.kt:231 */
   28     42   
    #[allow(missing_docs)] // documentation missing in model
   29     43   
    pub flattened_list_with_member_namespace: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          44  +
    /* StructureGenerator.kt:231 */
   30     45   
    #[allow(missing_docs)] // documentation missing in model
   31     46   
    pub flattened_list_with_namespace: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          47  +
    /* StructureGenerator.kt:231 */
   32     48   
    #[allow(missing_docs)] // documentation missing in model
   33     49   
    pub structure_list: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>,
          50  +
    /* StructureGenerator.kt:231 */
   34     51   
    #[allow(missing_docs)] // documentation missing in model
   35     52   
    pub flattened_structure_list: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>,
          53  +
    /* StructureGenerator.kt:201 */
   36     54   
}
          55  +
/* StructureGenerator.kt:135 */
   37     56   
impl XmlListsInput {
          57  +
    /* StructureGenerator.kt:231 */
   38     58   
    #[allow(missing_docs)] // documentation missing in model
   39         -
    ///
   40         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.string_list.is_none()`.
          59  +
    /// /* StructureGenerator.kt:162 */
          60  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.string_list.is_none()`.
          61  +
    /* StructureGenerator.kt:166 */
   41     62   
    pub fn string_list(&self) -> &[::std::string::String] {
   42         -
        self.string_list.as_deref().unwrap_or_default()
   43         -
    }
   44         -
    #[allow(missing_docs)] // documentation missing in model
   45         -
    ///
   46         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.string_set.is_none()`.
          63  +
        /* StructureGenerator.kt:169 */
          64  +
        self.string_list
          65  +
            .as_deref()
          66  +
            /* StructureGenerator.kt:175 */
          67  +
            .unwrap_or_default()
          68  +
        /* StructureGenerator.kt:166 */
          69  +
    }
          70  +
    /* StructureGenerator.kt:231 */
          71  +
    #[allow(missing_docs)] // documentation missing in model
          72  +
    /// /* StructureGenerator.kt:162 */
          73  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.string_set.is_none()`.
          74  +
    /* StructureGenerator.kt:166 */
   47     75   
    pub fn string_set(&self) -> &[::std::string::String] {
   48         -
        self.string_set.as_deref().unwrap_or_default()
   49         -
    }
   50         -
    #[allow(missing_docs)] // documentation missing in model
   51         -
    ///
   52         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.integer_list.is_none()`.
          76  +
        /* StructureGenerator.kt:169 */
          77  +
        self.string_set
          78  +
            .as_deref()
          79  +
            /* StructureGenerator.kt:175 */
          80  +
            .unwrap_or_default()
          81  +
        /* StructureGenerator.kt:166 */
          82  +
    }
          83  +
    /* StructureGenerator.kt:231 */
          84  +
    #[allow(missing_docs)] // documentation missing in model
          85  +
    /// /* StructureGenerator.kt:162 */
          86  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.integer_list.is_none()`.
          87  +
    /* StructureGenerator.kt:166 */
   53     88   
    pub fn integer_list(&self) -> &[i32] {
   54         -
        self.integer_list.as_deref().unwrap_or_default()
   55         -
    }
   56         -
    #[allow(missing_docs)] // documentation missing in model
   57         -
    ///
   58         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.boolean_list.is_none()`.
          89  +
        /* StructureGenerator.kt:169 */
          90  +
        self.integer_list
          91  +
            .as_deref()
          92  +
            /* StructureGenerator.kt:175 */
          93  +
            .unwrap_or_default()
          94  +
        /* StructureGenerator.kt:166 */
          95  +
    }
          96  +
    /* StructureGenerator.kt:231 */
          97  +
    #[allow(missing_docs)] // documentation missing in model
          98  +
    /// /* StructureGenerator.kt:162 */
          99  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.boolean_list.is_none()`.
         100  +
    /* StructureGenerator.kt:166 */
   59    101   
    pub fn boolean_list(&self) -> &[bool] {
   60         -
        self.boolean_list.as_deref().unwrap_or_default()
   61         -
    }
   62         -
    #[allow(missing_docs)] // documentation missing in model
   63         -
    ///
   64         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.timestamp_list.is_none()`.
         102  +
        /* StructureGenerator.kt:169 */
         103  +
        self.boolean_list
         104  +
            .as_deref()
         105  +
            /* StructureGenerator.kt:175 */
         106  +
            .unwrap_or_default()
         107  +
        /* StructureGenerator.kt:166 */
         108  +
    }
         109  +
    /* StructureGenerator.kt:231 */
         110  +
    #[allow(missing_docs)] // documentation missing in model
         111  +
    /// /* StructureGenerator.kt:162 */
         112  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.timestamp_list.is_none()`.
         113  +
    /* StructureGenerator.kt:166 */
   65    114   
    pub fn timestamp_list(&self) -> &[::aws_smithy_types::DateTime] {
   66         -
        self.timestamp_list.as_deref().unwrap_or_default()
   67         -
    }
   68         -
    #[allow(missing_docs)] // documentation missing in model
   69         -
    ///
   70         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.enum_list.is_none()`.
         115  +
        /* StructureGenerator.kt:169 */
         116  +
        self.timestamp_list
         117  +
            .as_deref()
         118  +
            /* StructureGenerator.kt:175 */
         119  +
            .unwrap_or_default()
         120  +
        /* StructureGenerator.kt:166 */
         121  +
    }
         122  +
    /* StructureGenerator.kt:231 */
         123  +
    #[allow(missing_docs)] // documentation missing in model
         124  +
    /// /* StructureGenerator.kt:162 */
         125  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.enum_list.is_none()`.
         126  +
    /* StructureGenerator.kt:166 */
   71    127   
    pub fn enum_list(&self) -> &[crate::types::FooEnum] {
   72         -
        self.enum_list.as_deref().unwrap_or_default()
   73         -
    }
   74         -
    #[allow(missing_docs)] // documentation missing in model
   75         -
    ///
   76         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.int_enum_list.is_none()`.
         128  +
        /* StructureGenerator.kt:169 */
         129  +
        self.enum_list
         130  +
            .as_deref()
         131  +
            /* StructureGenerator.kt:175 */
         132  +
            .unwrap_or_default()
         133  +
        /* StructureGenerator.kt:166 */
         134  +
    }
         135  +
    /* StructureGenerator.kt:231 */
         136  +
    #[allow(missing_docs)] // documentation missing in model
         137  +
    /// /* StructureGenerator.kt:162 */
         138  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.int_enum_list.is_none()`.
         139  +
    /* StructureGenerator.kt:166 */
   77    140   
    pub fn int_enum_list(&self) -> &[i32] {
   78         -
        self.int_enum_list.as_deref().unwrap_or_default()
   79         -
    }
   80         -
    /// A list of lists of strings.
   81         -
    ///
   82         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.nested_string_list.is_none()`.
         141  +
        /* StructureGenerator.kt:169 */
         142  +
        self.int_enum_list
         143  +
            .as_deref()
         144  +
            /* StructureGenerator.kt:175 */
         145  +
            .unwrap_or_default()
         146  +
        /* StructureGenerator.kt:166 */
         147  +
    }
         148  +
    /// /* StructureGenerator.kt:231 */A list of lists of strings.
         149  +
    /// /* StructureGenerator.kt:162 */
         150  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.nested_string_list.is_none()`.
         151  +
    /* StructureGenerator.kt:166 */
   83    152   
    pub fn nested_string_list(&self) -> &[::std::vec::Vec<::std::string::String>] {
   84         -
        self.nested_string_list.as_deref().unwrap_or_default()
   85         -
    }
   86         -
    #[allow(missing_docs)] // documentation missing in model
   87         -
    ///
   88         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.renamed_list_members.is_none()`.
         153  +
        /* StructureGenerator.kt:169 */
         154  +
        self.nested_string_list
         155  +
            .as_deref()
         156  +
            /* StructureGenerator.kt:175 */
         157  +
            .unwrap_or_default()
         158  +
        /* StructureGenerator.kt:166 */
         159  +
    }
         160  +
    /* StructureGenerator.kt:231 */
         161  +
    #[allow(missing_docs)] // documentation missing in model
         162  +
    /// /* StructureGenerator.kt:162 */
         163  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.renamed_list_members.is_none()`.
         164  +
    /* StructureGenerator.kt:166 */
   89    165   
    pub fn renamed_list_members(&self) -> &[::std::string::String] {
   90         -
        self.renamed_list_members.as_deref().unwrap_or_default()
   91         -
    }
   92         -
    #[allow(missing_docs)] // documentation missing in model
   93         -
    ///
   94         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list.is_none()`.
         166  +
        /* StructureGenerator.kt:169 */
         167  +
        self.renamed_list_members
         168  +
            .as_deref()
         169  +
            /* StructureGenerator.kt:175 */
         170  +
            .unwrap_or_default()
         171  +
        /* StructureGenerator.kt:166 */
         172  +
    }
         173  +
    /* StructureGenerator.kt:231 */
         174  +
    #[allow(missing_docs)] // documentation missing in model
         175  +
    /// /* StructureGenerator.kt:162 */
         176  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list.is_none()`.
         177  +
    /* StructureGenerator.kt:166 */
   95    178   
    pub fn flattened_list(&self) -> &[::std::string::String] {
   96         -
        self.flattened_list.as_deref().unwrap_or_default()
   97         -
    }
   98         -
    #[allow(missing_docs)] // documentation missing in model
   99         -
    ///
  100         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list2.is_none()`.
         179  +
        /* StructureGenerator.kt:169 */
         180  +
        self.flattened_list
         181  +
            .as_deref()
         182  +
            /* StructureGenerator.kt:175 */
         183  +
            .unwrap_or_default()
         184  +
        /* StructureGenerator.kt:166 */
         185  +
    }
         186  +
    /* StructureGenerator.kt:231 */
         187  +
    #[allow(missing_docs)] // documentation missing in model
         188  +
    /// /* StructureGenerator.kt:162 */
         189  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list2.is_none()`.
         190  +
    /* StructureGenerator.kt:166 */
  101    191   
    pub fn flattened_list2(&self) -> &[::std::string::String] {
  102         -
        self.flattened_list2.as_deref().unwrap_or_default()
  103         -
    }
  104         -
    #[allow(missing_docs)] // documentation missing in model
  105         -
    ///
  106         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list_with_member_namespace.is_none()`.
         192  +
        /* StructureGenerator.kt:169 */
         193  +
        self.flattened_list2
         194  +
            .as_deref()
         195  +
            /* StructureGenerator.kt:175 */
         196  +
            .unwrap_or_default()
         197  +
        /* StructureGenerator.kt:166 */
         198  +
    }
         199  +
    /* StructureGenerator.kt:231 */
         200  +
    #[allow(missing_docs)] // documentation missing in model
         201  +
    /// /* StructureGenerator.kt:162 */
         202  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list_with_member_namespace.is_none()`.
         203  +
    /* StructureGenerator.kt:166 */
  107    204   
    pub fn flattened_list_with_member_namespace(&self) -> &[::std::string::String] {
  108         -
        self.flattened_list_with_member_namespace.as_deref().unwrap_or_default()
  109         -
    }
  110         -
    #[allow(missing_docs)] // documentation missing in model
  111         -
    ///
  112         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list_with_namespace.is_none()`.
         205  +
        /* StructureGenerator.kt:169 */
         206  +
        self.flattened_list_with_member_namespace
         207  +
            .as_deref()
         208  +
            /* StructureGenerator.kt:175 */
         209  +
            .unwrap_or_default()
         210  +
        /* StructureGenerator.kt:166 */
         211  +
    }
         212  +
    /* StructureGenerator.kt:231 */
         213  +
    #[allow(missing_docs)] // documentation missing in model
         214  +
    /// /* StructureGenerator.kt:162 */
         215  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list_with_namespace.is_none()`.
         216  +
    /* StructureGenerator.kt:166 */
  113    217   
    pub fn flattened_list_with_namespace(&self) -> &[::std::string::String] {
  114         -
        self.flattened_list_with_namespace.as_deref().unwrap_or_default()
  115         -
    }
  116         -
    #[allow(missing_docs)] // documentation missing in model
  117         -
    ///
  118         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.structure_list.is_none()`.
         218  +
        /* StructureGenerator.kt:169 */
         219  +
        self.flattened_list_with_namespace
         220  +
            .as_deref()
         221  +
            /* StructureGenerator.kt:175 */
         222  +
            .unwrap_or_default()
         223  +
        /* StructureGenerator.kt:166 */
         224  +
    }
         225  +
    /* StructureGenerator.kt:231 */
         226  +
    #[allow(missing_docs)] // documentation missing in model
         227  +
    /// /* StructureGenerator.kt:162 */
         228  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.structure_list.is_none()`.
         229  +
    /* StructureGenerator.kt:166 */
  119    230   
    pub fn structure_list(&self) -> &[crate::types::StructureListMember] {
  120         -
        self.structure_list.as_deref().unwrap_or_default()
  121         -
    }
  122         -
    #[allow(missing_docs)] // documentation missing in model
  123         -
    ///
  124         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_structure_list.is_none()`.
         231  +
        /* StructureGenerator.kt:169 */
         232  +
        self.structure_list
         233  +
            .as_deref()
         234  +
            /* StructureGenerator.kt:175 */
         235  +
            .unwrap_or_default()
         236  +
        /* StructureGenerator.kt:166 */
         237  +
    }
         238  +
    /* StructureGenerator.kt:231 */
         239  +
    #[allow(missing_docs)] // documentation missing in model
         240  +
    /// /* StructureGenerator.kt:162 */
         241  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_structure_list.is_none()`.
         242  +
    /* StructureGenerator.kt:166 */
  125    243   
    pub fn flattened_structure_list(&self) -> &[crate::types::StructureListMember] {
  126         -
        self.flattened_structure_list.as_deref().unwrap_or_default()
  127         -
    }
         244  +
        /* StructureGenerator.kt:169 */
         245  +
        self.flattened_structure_list
         246  +
            .as_deref()
         247  +
            /* StructureGenerator.kt:175 */
         248  +
            .unwrap_or_default()
         249  +
        /* StructureGenerator.kt:166 */
         250  +
    }
         251  +
    /* StructureGenerator.kt:135 */
  128    252   
}
         253  +
/* ClientCodegenVisitor.kt:237 */
  129    254   
impl XmlListsInput {
  130         -
    /// Creates a new builder-style object to manufacture [`XmlListsInput`](crate::operation::xml_lists::XmlListsInput).
         255  +
    /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`XmlListsInput`](crate::operation::xml_lists::XmlListsInput).
         256  +
    /* BuilderGenerator.kt:175 */
  131    257   
    pub fn builder() -> crate::operation::xml_lists::builders::XmlListsInputBuilder {
         258  +
        /* BuilderGenerator.kt:176 */
  132    259   
        crate::operation::xml_lists::builders::XmlListsInputBuilder::default()
         260  +
        /* BuilderGenerator.kt:175 */
  133    261   
    }
         262  +
    /* ClientCodegenVisitor.kt:237 */
  134    263   
}
  135    264   
  136         -
/// A builder for [`XmlListsInput`](crate::operation::xml_lists::XmlListsInput).
         265  +
/// /* BuilderGenerator.kt:342 */A builder for [`XmlListsInput`](crate::operation::xml_lists::XmlListsInput).
         266  +
/* RustType.kt:516 */
  137    267   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
         268  +
/* RustType.kt:516 */
  138    269   
#[non_exhaustive]
         270  +
/* BuilderGenerator.kt:345 */
  139    271   
pub struct XmlListsInputBuilder {
  140         -
    pub(crate) string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  141         -
    pub(crate) string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  142         -
    pub(crate) integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
  143         -
    pub(crate) boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
  144         -
    pub(crate) timestamp_list: ::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>>,
  145         -
    pub(crate) enum_list: ::std::option::Option<::std::vec::Vec<crate::types::FooEnum>>,
  146         -
    pub(crate) int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
         272  +
    /* BuilderGenerator.kt:275 */ pub(crate) string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         273  +
    /* BuilderGenerator.kt:275 */ pub(crate) string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         274  +
    /* BuilderGenerator.kt:275 */ pub(crate) integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
         275  +
    /* BuilderGenerator.kt:275 */ pub(crate) boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
         276  +
    /* BuilderGenerator.kt:275 */ pub(crate) timestamp_list: ::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>>,
         277  +
    /* BuilderGenerator.kt:275 */ pub(crate) enum_list: ::std::option::Option<::std::vec::Vec<crate::types::FooEnum>>,
         278  +
    /* BuilderGenerator.kt:275 */ pub(crate) int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
         279  +
    /* BuilderGenerator.kt:275 */
  147    280   
    pub(crate) nested_string_list: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
  148         -
    pub(crate) renamed_list_members: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  149         -
    pub(crate) flattened_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  150         -
    pub(crate) flattened_list2: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         281  +
    /* BuilderGenerator.kt:275 */ pub(crate) renamed_list_members: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         282  +
    /* BuilderGenerator.kt:275 */ pub(crate) flattened_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         283  +
    /* BuilderGenerator.kt:275 */ pub(crate) flattened_list2: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         284  +
    /* BuilderGenerator.kt:275 */
  151    285   
    pub(crate) flattened_list_with_member_namespace: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  152         -
    pub(crate) flattened_list_with_namespace: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  153         -
    pub(crate) structure_list: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>,
         286  +
    /* BuilderGenerator.kt:275 */ pub(crate) flattened_list_with_namespace: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         287  +
    /* BuilderGenerator.kt:275 */ pub(crate) structure_list: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>,
         288  +
    /* BuilderGenerator.kt:275 */
  154    289   
    pub(crate) flattened_structure_list: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>,
         290  +
    /* BuilderGenerator.kt:345 */
  155    291   
}
         292  +
/* BuilderGenerator.kt:355 */
  156    293   
impl XmlListsInputBuilder {
  157         -
    /// Appends an item to `string_list`.
         294  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `string_list`.
         295  +
    /* BuilderGenerator.kt:411 */
  158    296   
    ///
  159         -
    /// To override the contents of this collection use [`set_string_list`](Self::set_string_list).
         297  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_string_list`](Self::set_string_list).
         298  +
    /* BuilderGenerator.kt:413 */
  160    299   
    ///
         300  +
    /* BuilderGenerator.kt:418 */
  161    301   
    pub fn string_list(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         302  +
        /* BuilderGenerator.kt:419 */
  162    303   
        let mut v = self.string_list.unwrap_or_default();
  163    304   
        v.push(input.into());
  164    305   
        self.string_list = ::std::option::Option::Some(v);
  165    306   
        self
         307  +
        /* BuilderGenerator.kt:418 */
  166    308   
    }
         309  +
    /* BuilderGenerator.kt:312 */
  167    310   
    #[allow(missing_docs)] // documentation missing in model
         311  +
                           /* BuilderGenerator.kt:314 */
  168    312   
    pub fn set_string_list(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         313  +
        /* BuilderGenerator.kt:315 */
  169    314   
        self.string_list = input;
  170    315   
        self
         316  +
        /* BuilderGenerator.kt:314 */
  171    317   
    }
         318  +
    /* BuilderGenerator.kt:334 */
  172    319   
    #[allow(missing_docs)] // documentation missing in model
         320  +
                           /* BuilderGenerator.kt:336 */
  173    321   
    pub fn get_string_list(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         322  +
        /* BuilderGenerator.kt:337 */
  174    323   
        &self.string_list
         324  +
        /* BuilderGenerator.kt:336 */
  175    325   
    }
  176         -
    /// Appends an item to `string_set`.
         326  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `string_set`.
         327  +
    /* BuilderGenerator.kt:411 */
  177    328   
    ///
  178         -
    /// To override the contents of this collection use [`set_string_set`](Self::set_string_set).
         329  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_string_set`](Self::set_string_set).
         330  +
    /* BuilderGenerator.kt:413 */
  179    331   
    ///
         332  +
    /* BuilderGenerator.kt:418 */
  180    333   
    pub fn string_set(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         334  +
        /* BuilderGenerator.kt:419 */
  181    335   
        let mut v = self.string_set.unwrap_or_default();
  182    336   
        v.push(input.into());
  183    337   
        self.string_set = ::std::option::Option::Some(v);
  184    338   
        self
         339  +
        /* BuilderGenerator.kt:418 */
  185    340   
    }
         341  +
    /* BuilderGenerator.kt:312 */
  186    342   
    #[allow(missing_docs)] // documentation missing in model
         343  +
                           /* BuilderGenerator.kt:314 */
  187    344   
    pub fn set_string_set(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         345  +
        /* BuilderGenerator.kt:315 */
  188    346   
        self.string_set = input;
  189    347   
        self
         348  +
        /* BuilderGenerator.kt:314 */
  190    349   
    }
         350  +
    /* BuilderGenerator.kt:334 */
  191    351   
    #[allow(missing_docs)] // documentation missing in model
         352  +
                           /* BuilderGenerator.kt:336 */
  192    353   
    pub fn get_string_set(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         354  +
        /* BuilderGenerator.kt:337 */
  193    355   
        &self.string_set
         356  +
        /* BuilderGenerator.kt:336 */
  194    357   
    }
  195         -
    /// Appends an item to `integer_list`.
         358  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `integer_list`.
         359  +
    /* BuilderGenerator.kt:411 */
  196    360   
    ///
  197         -
    /// To override the contents of this collection use [`set_integer_list`](Self::set_integer_list).
         361  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_integer_list`](Self::set_integer_list).
         362  +
    /* BuilderGenerator.kt:413 */
  198    363   
    ///
         364  +
    /* BuilderGenerator.kt:418 */
  199    365   
    pub fn integer_list(mut self, input: i32) -> Self {
         366  +
        /* BuilderGenerator.kt:419 */
  200    367   
        let mut v = self.integer_list.unwrap_or_default();
  201    368   
        v.push(input);
  202    369   
        self.integer_list = ::std::option::Option::Some(v);
  203    370   
        self
         371  +
        /* BuilderGenerator.kt:418 */
  204    372   
    }
         373  +
    /* BuilderGenerator.kt:312 */
  205    374   
    #[allow(missing_docs)] // documentation missing in model
         375  +
                           /* BuilderGenerator.kt:314 */
  206    376   
    pub fn set_integer_list(mut self, input: ::std::option::Option<::std::vec::Vec<i32>>) -> Self {
         377  +
        /* BuilderGenerator.kt:315 */
  207    378   
        self.integer_list = input;
  208    379   
        self
         380  +
        /* BuilderGenerator.kt:314 */
  209    381   
    }
         382  +
    /* BuilderGenerator.kt:334 */
  210    383   
    #[allow(missing_docs)] // documentation missing in model
         384  +
                           /* BuilderGenerator.kt:336 */
  211    385   
    pub fn get_integer_list(&self) -> &::std::option::Option<::std::vec::Vec<i32>> {
         386  +
        /* BuilderGenerator.kt:337 */
  212    387   
        &self.integer_list
         388  +
        /* BuilderGenerator.kt:336 */
  213    389   
    }
  214         -
    /// Appends an item to `boolean_list`.
         390  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `boolean_list`.
         391  +
    /* BuilderGenerator.kt:411 */
  215    392   
    ///
  216         -
    /// To override the contents of this collection use [`set_boolean_list`](Self::set_boolean_list).
         393  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_boolean_list`](Self::set_boolean_list).
         394  +
    /* BuilderGenerator.kt:413 */
  217    395   
    ///
         396  +
    /* BuilderGenerator.kt:418 */
  218    397   
    pub fn boolean_list(mut self, input: bool) -> Self {
         398  +
        /* BuilderGenerator.kt:419 */
  219    399   
        let mut v = self.boolean_list.unwrap_or_default();
  220    400   
        v.push(input);
  221    401   
        self.boolean_list = ::std::option::Option::Some(v);
  222    402   
        self
         403  +
        /* BuilderGenerator.kt:418 */
  223    404   
    }
         405  +
    /* BuilderGenerator.kt:312 */
  224    406   
    #[allow(missing_docs)] // documentation missing in model
         407  +
                           /* BuilderGenerator.kt:314 */
  225    408   
    pub fn set_boolean_list(mut self, input: ::std::option::Option<::std::vec::Vec<bool>>) -> Self {
         409  +
        /* BuilderGenerator.kt:315 */
  226    410   
        self.boolean_list = input;
  227    411   
        self
         412  +
        /* BuilderGenerator.kt:314 */
  228    413   
    }
         414  +
    /* BuilderGenerator.kt:334 */
  229    415   
    #[allow(missing_docs)] // documentation missing in model
         416  +
                           /* BuilderGenerator.kt:336 */
  230    417   
    pub fn get_boolean_list(&self) -> &::std::option::Option<::std::vec::Vec<bool>> {
         418  +
        /* BuilderGenerator.kt:337 */
  231    419   
        &self.boolean_list
         420  +
        /* BuilderGenerator.kt:336 */
  232    421   
    }
  233         -
    /// Appends an item to `timestamp_list`.
         422  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `timestamp_list`.
         423  +
    /* BuilderGenerator.kt:411 */
  234    424   
    ///
  235         -
    /// To override the contents of this collection use [`set_timestamp_list`](Self::set_timestamp_list).
         425  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_timestamp_list`](Self::set_timestamp_list).
         426  +
    /* BuilderGenerator.kt:413 */
  236    427   
    ///
         428  +
    /* BuilderGenerator.kt:418 */
  237    429   
    pub fn timestamp_list(mut self, input: ::aws_smithy_types::DateTime) -> Self {
         430  +
        /* BuilderGenerator.kt:419 */
  238    431   
        let mut v = self.timestamp_list.unwrap_or_default();
  239    432   
        v.push(input);
  240    433   
        self.timestamp_list = ::std::option::Option::Some(v);
  241    434   
        self
         435  +
        /* BuilderGenerator.kt:418 */
  242    436   
    }
         437  +
    /* BuilderGenerator.kt:312 */
  243    438   
    #[allow(missing_docs)] // documentation missing in model
         439  +
                           /* BuilderGenerator.kt:314 */
  244    440   
    pub fn set_timestamp_list(mut self, input: ::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>>) -> Self {
         441  +
        /* BuilderGenerator.kt:315 */
  245    442   
        self.timestamp_list = input;
  246    443   
        self
         444  +
        /* BuilderGenerator.kt:314 */
  247    445   
    }
         446  +
    /* BuilderGenerator.kt:334 */
  248    447   
    #[allow(missing_docs)] // documentation missing in model
         448  +
                           /* BuilderGenerator.kt:336 */
  249    449   
    pub fn get_timestamp_list(&self) -> &::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>> {
         450  +
        /* BuilderGenerator.kt:337 */
  250    451   
        &self.timestamp_list
         452  +
        /* BuilderGenerator.kt:336 */
  251    453   
    }
  252         -
    /// Appends an item to `enum_list`.
         454  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `enum_list`.
         455  +
    /* BuilderGenerator.kt:411 */
  253    456   
    ///
  254         -
    /// To override the contents of this collection use [`set_enum_list`](Self::set_enum_list).
         457  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_enum_list`](Self::set_enum_list).
         458  +
    /* BuilderGenerator.kt:413 */
  255    459   
    ///
         460  +
    /* BuilderGenerator.kt:418 */
  256    461   
    pub fn enum_list(mut self, input: crate::types::FooEnum) -> Self {
         462  +
        /* BuilderGenerator.kt:419 */
  257    463   
        let mut v = self.enum_list.unwrap_or_default();
  258    464   
        v.push(input);
  259    465   
        self.enum_list = ::std::option::Option::Some(v);
  260    466   
        self
         467  +
        /* BuilderGenerator.kt:418 */
  261    468   
    }
         469  +
    /* BuilderGenerator.kt:312 */
  262    470   
    #[allow(missing_docs)] // documentation missing in model
         471  +
                           /* BuilderGenerator.kt:314 */
  263    472   
    pub fn set_enum_list(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::FooEnum>>) -> Self {
         473  +
        /* BuilderGenerator.kt:315 */
  264    474   
        self.enum_list = input;
  265    475   
        self
         476  +
        /* BuilderGenerator.kt:314 */
  266    477   
    }
         478  +
    /* BuilderGenerator.kt:334 */
  267    479   
    #[allow(missing_docs)] // documentation missing in model
         480  +
                           /* BuilderGenerator.kt:336 */
  268    481   
    pub fn get_enum_list(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::FooEnum>> {
         482  +
        /* BuilderGenerator.kt:337 */
  269    483   
        &self.enum_list
         484  +
        /* BuilderGenerator.kt:336 */
  270    485   
    }
  271         -
    /// Appends an item to `int_enum_list`.
         486  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `int_enum_list`.
         487  +
    /* BuilderGenerator.kt:411 */
  272    488   
    ///
  273         -
    /// To override the contents of this collection use [`set_int_enum_list`](Self::set_int_enum_list).
         489  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_int_enum_list`](Self::set_int_enum_list).
         490  +
    /* BuilderGenerator.kt:413 */
  274    491   
    ///
         492  +
    /* BuilderGenerator.kt:418 */
  275    493   
    pub fn int_enum_list(mut self, input: i32) -> Self {
         494  +
        /* BuilderGenerator.kt:419 */
  276    495   
        let mut v = self.int_enum_list.unwrap_or_default();
  277    496   
        v.push(input);
  278    497   
        self.int_enum_list = ::std::option::Option::Some(v);
  279    498   
        self
         499  +
        /* BuilderGenerator.kt:418 */
  280    500   
    }
         501  +
    /* BuilderGenerator.kt:312 */
  281    502   
    #[allow(missing_docs)] // documentation missing in model
         503  +
                           /* BuilderGenerator.kt:314 */
  282    504   
    pub fn set_int_enum_list(mut self, input: ::std::option::Option<::std::vec::Vec<i32>>) -> Self {
         505  +
        /* BuilderGenerator.kt:315 */
  283    506   
        self.int_enum_list = input;
  284    507   
        self
         508  +
        /* BuilderGenerator.kt:314 */
  285    509   
    }
         510  +
    /* BuilderGenerator.kt:334 */
  286    511   
    #[allow(missing_docs)] // documentation missing in model
         512  +
                           /* BuilderGenerator.kt:336 */
  287    513   
    pub fn get_int_enum_list(&self) -> &::std::option::Option<::std::vec::Vec<i32>> {
         514  +
        /* BuilderGenerator.kt:337 */
  288    515   
        &self.int_enum_list
         516  +
        /* BuilderGenerator.kt:336 */
  289    517   
    }
  290         -
    /// Appends an item to `nested_string_list`.
         518  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `nested_string_list`.
         519  +
    /* BuilderGenerator.kt:411 */
  291    520   
    ///
  292         -
    /// To override the contents of this collection use [`set_nested_string_list`](Self::set_nested_string_list).
         521  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_nested_string_list`](Self::set_nested_string_list).
         522  +
    /* BuilderGenerator.kt:413 */
  293    523   
    ///
  294         -
    /// A list of lists of strings.
         524  +
    /// /* BuilderGenerator.kt:414 */A list of lists of strings.
         525  +
    /* BuilderGenerator.kt:418 */
  295    526   
    pub fn nested_string_list(mut self, input: ::std::vec::Vec<::std::string::String>) -> Self {
         527  +
        /* BuilderGenerator.kt:419 */
  296    528   
        let mut v = self.nested_string_list.unwrap_or_default();
  297    529   
        v.push(input);
  298    530   
        self.nested_string_list = ::std::option::Option::Some(v);
  299    531   
        self
         532  +
        /* BuilderGenerator.kt:418 */
  300    533   
    }
  301         -
    /// A list of lists of strings.
         534  +
    /// /* BuilderGenerator.kt:312 */A list of lists of strings.
         535  +
    /* BuilderGenerator.kt:314 */
  302    536   
    pub fn set_nested_string_list(mut self, input: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>) -> Self {
         537  +
        /* BuilderGenerator.kt:315 */
  303    538   
        self.nested_string_list = input;
  304    539   
        self
         540  +
        /* BuilderGenerator.kt:314 */
  305    541   
    }
  306         -
    /// A list of lists of strings.
         542  +
    /// /* BuilderGenerator.kt:334 */A list of lists of strings.
         543  +
    /* BuilderGenerator.kt:336 */
  307    544   
    pub fn get_nested_string_list(&self) -> &::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>> {
         545  +
        /* BuilderGenerator.kt:337 */
  308    546   
        &self.nested_string_list
         547  +
        /* BuilderGenerator.kt:336 */
  309    548   
    }
  310         -
    /// Appends an item to `renamed_list_members`.
         549  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `renamed_list_members`.
         550  +
    /* BuilderGenerator.kt:411 */
  311    551   
    ///
  312         -
    /// To override the contents of this collection use [`set_renamed_list_members`](Self::set_renamed_list_members).
         552  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_renamed_list_members`](Self::set_renamed_list_members).
         553  +
    /* BuilderGenerator.kt:413 */
  313    554   
    ///
         555  +
    /* BuilderGenerator.kt:418 */
  314    556   
    pub fn renamed_list_members(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         557  +
        /* BuilderGenerator.kt:419 */
  315    558   
        let mut v = self.renamed_list_members.unwrap_or_default();
  316    559   
        v.push(input.into());
  317    560   
        self.renamed_list_members = ::std::option::Option::Some(v);
  318    561   
        self
         562  +
        /* BuilderGenerator.kt:418 */
  319    563   
    }
         564  +
    /* BuilderGenerator.kt:312 */
  320    565   
    #[allow(missing_docs)] // documentation missing in model
         566  +
                           /* BuilderGenerator.kt:314 */
  321    567   
    pub fn set_renamed_list_members(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         568  +
        /* BuilderGenerator.kt:315 */
  322    569   
        self.renamed_list_members = input;
  323    570   
        self
         571  +
        /* BuilderGenerator.kt:314 */
  324    572   
    }
         573  +
    /* BuilderGenerator.kt:334 */
  325    574   
    #[allow(missing_docs)] // documentation missing in model
         575  +
                           /* BuilderGenerator.kt:336 */
  326    576   
    pub fn get_renamed_list_members(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         577  +
        /* BuilderGenerator.kt:337 */
  327    578   
        &self.renamed_list_members
         579  +
        /* BuilderGenerator.kt:336 */
  328    580   
    }
  329         -
    /// Appends an item to `flattened_list`.
         581  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `flattened_list`.
         582  +
    /* BuilderGenerator.kt:411 */
  330    583   
    ///
  331         -
    /// To override the contents of this collection use [`set_flattened_list`](Self::set_flattened_list).
         584  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_flattened_list`](Self::set_flattened_list).
         585  +
    /* BuilderGenerator.kt:413 */
  332    586   
    ///
         587  +
    /* BuilderGenerator.kt:418 */
  333    588   
    pub fn flattened_list(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         589  +
        /* BuilderGenerator.kt:419 */
  334    590   
        let mut v = self.flattened_list.unwrap_or_default();
  335    591   
        v.push(input.into());
  336    592   
        self.flattened_list = ::std::option::Option::Some(v);
  337    593   
        self
         594  +
        /* BuilderGenerator.kt:418 */
  338    595   
    }
         596  +
    /* BuilderGenerator.kt:312 */
  339    597   
    #[allow(missing_docs)] // documentation missing in model
         598  +
                           /* BuilderGenerator.kt:314 */
  340    599   
    pub fn set_flattened_list(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         600  +
        /* BuilderGenerator.kt:315 */
  341    601   
        self.flattened_list = input;
  342    602   
        self
         603  +
        /* BuilderGenerator.kt:314 */
  343    604   
    }
         605  +
    /* BuilderGenerator.kt:334 */
  344    606   
    #[allow(missing_docs)] // documentation missing in model
         607  +
                           /* BuilderGenerator.kt:336 */
  345    608   
    pub fn get_flattened_list(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         609  +
        /* BuilderGenerator.kt:337 */
  346    610   
        &self.flattened_list
         611  +
        /* BuilderGenerator.kt:336 */
  347    612   
    }
  348         -
    /// Appends an item to `flattened_list2`.
         613  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `flattened_list2`.
         614  +
    /* BuilderGenerator.kt:411 */
  349    615   
    ///
  350         -
    /// To override the contents of this collection use [`set_flattened_list2`](Self::set_flattened_list2).
         616  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_flattened_list2`](Self::set_flattened_list2).
         617  +
    /* BuilderGenerator.kt:413 */
  351    618   
    ///
         619  +
    /* BuilderGenerator.kt:418 */
  352    620   
    pub fn flattened_list2(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         621  +
        /* BuilderGenerator.kt:419 */
  353    622   
        let mut v = self.flattened_list2.unwrap_or_default();
  354    623   
        v.push(input.into());
  355    624   
        self.flattened_list2 = ::std::option::Option::Some(v);
  356    625   
        self
         626  +
        /* BuilderGenerator.kt:418 */
  357    627   
    }
         628  +
    /* BuilderGenerator.kt:312 */
  358    629   
    #[allow(missing_docs)] // documentation missing in model
         630  +
                           /* BuilderGenerator.kt:314 */
  359    631   
    pub fn set_flattened_list2(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         632  +
        /* BuilderGenerator.kt:315 */
  360    633   
        self.flattened_list2 = input;
  361    634   
        self
         635  +
        /* BuilderGenerator.kt:314 */
  362    636   
    }
         637  +
    /* BuilderGenerator.kt:334 */
  363    638   
    #[allow(missing_docs)] // documentation missing in model
         639  +
                           /* BuilderGenerator.kt:336 */
  364    640   
    pub fn get_flattened_list2(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         641  +
        /* BuilderGenerator.kt:337 */
  365    642   
        &self.flattened_list2
         643  +
        /* BuilderGenerator.kt:336 */
  366    644   
    }
  367         -
    /// Appends an item to `flattened_list_with_member_namespace`.
         645  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `flattened_list_with_member_namespace`.
         646  +
    /* BuilderGenerator.kt:411 */
  368    647   
    ///
  369         -
    /// To override the contents of this collection use [`set_flattened_list_with_member_namespace`](Self::set_flattened_list_with_member_namespace).
         648  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_flattened_list_with_member_namespace`](Self::set_flattened_list_with_member_namespace).
         649  +
    /* BuilderGenerator.kt:413 */
  370    650   
    ///
         651  +
    /* BuilderGenerator.kt:418 */
  371    652   
    pub fn flattened_list_with_member_namespace(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         653  +
        /* BuilderGenerator.kt:419 */
  372    654   
        let mut v = self.flattened_list_with_member_namespace.unwrap_or_default();
  373    655   
        v.push(input.into());
  374    656   
        self.flattened_list_with_member_namespace = ::std::option::Option::Some(v);
  375    657   
        self
         658  +
        /* BuilderGenerator.kt:418 */
  376    659   
    }
         660  +
    /* BuilderGenerator.kt:312 */
  377    661   
    #[allow(missing_docs)] // documentation missing in model
         662  +
                           /* BuilderGenerator.kt:314 */
  378    663   
    pub fn set_flattened_list_with_member_namespace(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         664  +
        /* BuilderGenerator.kt:315 */
  379    665   
        self.flattened_list_with_member_namespace = input;
  380    666   
        self
         667  +
        /* BuilderGenerator.kt:314 */
  381    668   
    }
         669  +
    /* BuilderGenerator.kt:334 */
  382    670   
    #[allow(missing_docs)] // documentation missing in model
         671  +
                           /* BuilderGenerator.kt:336 */
  383    672   
    pub fn get_flattened_list_with_member_namespace(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         673  +
        /* BuilderGenerator.kt:337 */
  384    674   
        &self.flattened_list_with_member_namespace
         675  +
        /* BuilderGenerator.kt:336 */
  385    676   
    }
  386         -
    /// Appends an item to `flattened_list_with_namespace`.
         677  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `flattened_list_with_namespace`.
         678  +
    /* BuilderGenerator.kt:411 */
  387    679   
    ///
  388         -
    /// To override the contents of this collection use [`set_flattened_list_with_namespace`](Self::set_flattened_list_with_namespace).
         680  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_flattened_list_with_namespace`](Self::set_flattened_list_with_namespace).
         681  +
    /* BuilderGenerator.kt:413 */
  389    682   
    ///
         683  +
    /* BuilderGenerator.kt:418 */
  390    684   
    pub fn flattened_list_with_namespace(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         685  +
        /* BuilderGenerator.kt:419 */
  391    686   
        let mut v = self.flattened_list_with_namespace.unwrap_or_default();
  392    687   
        v.push(input.into());
  393    688   
        self.flattened_list_with_namespace = ::std::option::Option::Some(v);
  394    689   
        self
         690  +
        /* BuilderGenerator.kt:418 */
  395    691   
    }
         692  +
    /* BuilderGenerator.kt:312 */
  396    693   
    #[allow(missing_docs)] // documentation missing in model
         694  +
                           /* BuilderGenerator.kt:314 */
  397    695   
    pub fn set_flattened_list_with_namespace(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         696  +
        /* BuilderGenerator.kt:315 */
  398    697   
        self.flattened_list_with_namespace = input;
  399    698   
        self
         699  +
        /* BuilderGenerator.kt:314 */
  400    700   
    }
         701  +
    /* BuilderGenerator.kt:334 */
  401    702   
    #[allow(missing_docs)] // documentation missing in model
         703  +
                           /* BuilderGenerator.kt:336 */
  402    704   
    pub fn get_flattened_list_with_namespace(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         705  +
        /* BuilderGenerator.kt:337 */
  403    706   
        &self.flattened_list_with_namespace
         707  +
        /* BuilderGenerator.kt:336 */
  404    708   
    }
  405         -
    /// Appends an item to `structure_list`.
         709  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `structure_list`.
         710  +
    /* BuilderGenerator.kt:411 */
  406    711   
    ///
  407         -
    /// To override the contents of this collection use [`set_structure_list`](Self::set_structure_list).
         712  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_structure_list`](Self::set_structure_list).
         713  +
    /* BuilderGenerator.kt:413 */
  408    714   
    ///
         715  +
    /* BuilderGenerator.kt:418 */
  409    716   
    pub fn structure_list(mut self, input: crate::types::StructureListMember) -> Self {
         717  +
        /* BuilderGenerator.kt:419 */
  410    718   
        let mut v = self.structure_list.unwrap_or_default();
  411    719   
        v.push(input);
  412    720   
        self.structure_list = ::std::option::Option::Some(v);
  413    721   
        self
         722  +
        /* BuilderGenerator.kt:418 */
  414    723   
    }
         724  +
    /* BuilderGenerator.kt:312 */
  415    725   
    #[allow(missing_docs)] // documentation missing in model
         726  +
                           /* BuilderGenerator.kt:314 */
  416    727   
    pub fn set_structure_list(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>) -> Self {
         728  +
        /* BuilderGenerator.kt:315 */
  417    729   
        self.structure_list = input;
  418    730   
        self
         731  +
        /* BuilderGenerator.kt:314 */
  419    732   
    }
         733  +
    /* BuilderGenerator.kt:334 */
  420    734   
    #[allow(missing_docs)] // documentation missing in model
         735  +
                           /* BuilderGenerator.kt:336 */
  421    736   
    pub fn get_structure_list(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>> {
         737  +
        /* BuilderGenerator.kt:337 */
  422    738   
        &self.structure_list
         739  +
        /* BuilderGenerator.kt:336 */
  423    740   
    }
  424         -
    /// Appends an item to `flattened_structure_list`.
         741  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `flattened_structure_list`.
         742  +
    /* BuilderGenerator.kt:411 */
  425    743   
    ///
  426         -
    /// To override the contents of this collection use [`set_flattened_structure_list`](Self::set_flattened_structure_list).
         744  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_flattened_structure_list`](Self::set_flattened_structure_list).
         745  +
    /* BuilderGenerator.kt:413 */
  427    746   
    ///
         747  +
    /* BuilderGenerator.kt:418 */
  428    748   
    pub fn flattened_structure_list(mut self, input: crate::types::StructureListMember) -> Self {
         749  +
        /* BuilderGenerator.kt:419 */
  429    750   
        let mut v = self.flattened_structure_list.unwrap_or_default();
  430    751   
        v.push(input);
  431    752   
        self.flattened_structure_list = ::std::option::Option::Some(v);
  432    753   
        self
         754  +
        /* BuilderGenerator.kt:418 */
  433    755   
    }
         756  +
    /* BuilderGenerator.kt:312 */
  434    757   
    #[allow(missing_docs)] // documentation missing in model
         758  +
                           /* BuilderGenerator.kt:314 */
  435    759   
    pub fn set_flattened_structure_list(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>) -> Self {
         760  +
        /* BuilderGenerator.kt:315 */
  436    761   
        self.flattened_structure_list = input;
  437    762   
        self
         763  +
        /* BuilderGenerator.kt:314 */
  438    764   
    }
         765  +
    /* BuilderGenerator.kt:334 */
  439    766   
    #[allow(missing_docs)] // documentation missing in model
         767  +
                           /* BuilderGenerator.kt:336 */
  440    768   
    pub fn get_flattened_structure_list(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>> {
         769  +
        /* BuilderGenerator.kt:337 */
  441    770   
        &self.flattened_structure_list
         771  +
        /* BuilderGenerator.kt:336 */
  442    772   
    }
  443         -
    /// Consumes the builder and constructs a [`XmlListsInput`](crate::operation::xml_lists::XmlListsInput).
         773  +
    /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`XmlListsInput`](crate::operation::xml_lists::XmlListsInput).
         774  +
    /* BuilderGenerator.kt:253 */
  444    775   
    pub fn build(self) -> ::std::result::Result<crate::operation::xml_lists::XmlListsInput, ::aws_smithy_types::error::operation::BuildError> {
  445         -
        ::std::result::Result::Ok(crate::operation::xml_lists::XmlListsInput {
  446         -
            string_list: self.string_list,
  447         -
            string_set: self.string_set,
  448         -
            integer_list: self.integer_list,
  449         -
            boolean_list: self.boolean_list,
  450         -
            timestamp_list: self.timestamp_list,
  451         -
            enum_list: self.enum_list,
  452         -
            int_enum_list: self.int_enum_list,
  453         -
            nested_string_list: self.nested_string_list,
  454         -
            renamed_list_members: self.renamed_list_members,
  455         -
            flattened_list: self.flattened_list,
  456         -
            flattened_list2: self.flattened_list2,
  457         -
            flattened_list_with_member_namespace: self.flattened_list_with_member_namespace,
  458         -
            flattened_list_with_namespace: self.flattened_list_with_namespace,
  459         -
            structure_list: self.structure_list,
  460         -
            flattened_structure_list: self.flattened_structure_list,
  461         -
        })
  462         -
    }
         776  +
        /* BuilderGenerator.kt:254 */
         777  +
        ::std::result::Result::Ok(
         778  +
            /* BuilderGenerator.kt:477 */
         779  +
            crate::operation::xml_lists::XmlListsInput {
         780  +
                /* BuilderGenerator.kt:481 */ string_list: self.string_list,
         781  +
                /* BuilderGenerator.kt:481 */
         782  +
                string_set: self.string_set,
         783  +
                /* BuilderGenerator.kt:481 */
         784  +
                integer_list: self.integer_list,
         785  +
                /* BuilderGenerator.kt:481 */
         786  +
                boolean_list: self.boolean_list,
         787  +
                /* BuilderGenerator.kt:481 */
         788  +
                timestamp_list: self.timestamp_list,
         789  +
                /* BuilderGenerator.kt:481 */
         790  +
                enum_list: self.enum_list,
         791  +
                /* BuilderGenerator.kt:481 */
         792  +
                int_enum_list: self.int_enum_list,
         793  +
                /* BuilderGenerator.kt:481 */
         794  +
                nested_string_list: self.nested_string_list,
         795  +
                /* BuilderGenerator.kt:481 */
         796  +
                renamed_list_members: self.renamed_list_members,
         797  +
                /* BuilderGenerator.kt:481 */
         798  +
                flattened_list: self.flattened_list,
         799  +
                /* BuilderGenerator.kt:481 */
         800  +
                flattened_list2: self.flattened_list2,
         801  +
                /* BuilderGenerator.kt:481 */
         802  +
                flattened_list_with_member_namespace: self.flattened_list_with_member_namespace,
         803  +
                /* BuilderGenerator.kt:481 */
         804  +
                flattened_list_with_namespace: self.flattened_list_with_namespace,
         805  +
                /* BuilderGenerator.kt:481 */
         806  +
                structure_list: self.structure_list,
         807  +
                /* BuilderGenerator.kt:481 */
         808  +
                flattened_structure_list: self.flattened_structure_list,
         809  +
                /* BuilderGenerator.kt:477 */
         810  +
            }, /* BuilderGenerator.kt:254 */
         811  +
        )
         812  +
        /* BuilderGenerator.kt:253 */
         813  +
    }
         814  +
    /* BuilderGenerator.kt:355 */
  463    815   
}

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_lists/_xml_lists_output.rs

@@ -1,1 +463,812 @@
    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 XmlListsOutput {
           8  +
pub /* StructureGenerator.kt:201 */ struct XmlListsOutput {
           9  +
    /* StructureGenerator.kt:231 */
    6     10   
    #[allow(missing_docs)] // documentation missing in model
    7     11   
    pub string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          12  +
    /* StructureGenerator.kt:231 */
    8     13   
    #[allow(missing_docs)] // documentation missing in model
    9     14   
    pub string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          15  +
    /* StructureGenerator.kt:231 */
   10     16   
    #[allow(missing_docs)] // documentation missing in model
   11     17   
    pub integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
          18  +
    /* StructureGenerator.kt:231 */
   12     19   
    #[allow(missing_docs)] // documentation missing in model
   13     20   
    pub boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
          21  +
    /* StructureGenerator.kt:231 */
   14     22   
    #[allow(missing_docs)] // documentation missing in model
   15     23   
    pub timestamp_list: ::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>>,
          24  +
    /* StructureGenerator.kt:231 */
   16     25   
    #[allow(missing_docs)] // documentation missing in model
   17     26   
    pub enum_list: ::std::option::Option<::std::vec::Vec<crate::types::FooEnum>>,
          27  +
    /* StructureGenerator.kt:231 */
   18     28   
    #[allow(missing_docs)] // documentation missing in model
   19     29   
    pub int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
   20         -
    /// A list of lists of strings.
          30  +
    /// /* StructureGenerator.kt:231 */A list of lists of strings.
   21     31   
    pub nested_string_list: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
          32  +
    /* StructureGenerator.kt:231 */
   22     33   
    #[allow(missing_docs)] // documentation missing in model
   23     34   
    pub renamed_list_members: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          35  +
    /* StructureGenerator.kt:231 */
   24     36   
    #[allow(missing_docs)] // documentation missing in model
   25     37   
    pub flattened_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          38  +
    /* StructureGenerator.kt:231 */
   26     39   
    #[allow(missing_docs)] // documentation missing in model
   27     40   
    pub flattened_list2: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          41  +
    /* StructureGenerator.kt:231 */
   28     42   
    #[allow(missing_docs)] // documentation missing in model
   29     43   
    pub flattened_list_with_member_namespace: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          44  +
    /* StructureGenerator.kt:231 */
   30     45   
    #[allow(missing_docs)] // documentation missing in model
   31     46   
    pub flattened_list_with_namespace: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          47  +
    /* StructureGenerator.kt:231 */
   32     48   
    #[allow(missing_docs)] // documentation missing in model
   33     49   
    pub structure_list: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>,
          50  +
    /* StructureGenerator.kt:231 */
   34     51   
    #[allow(missing_docs)] // documentation missing in model
   35     52   
    pub flattened_structure_list: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>,
          53  +
    /* StructureGenerator.kt:201 */
   36     54   
}
          55  +
/* StructureGenerator.kt:135 */
   37     56   
impl XmlListsOutput {
          57  +
    /* StructureGenerator.kt:231 */
   38     58   
    #[allow(missing_docs)] // documentation missing in model
   39         -
    ///
   40         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.string_list.is_none()`.
          59  +
    /// /* StructureGenerator.kt:162 */
          60  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.string_list.is_none()`.
          61  +
    /* StructureGenerator.kt:166 */
   41     62   
    pub fn string_list(&self) -> &[::std::string::String] {
   42         -
        self.string_list.as_deref().unwrap_or_default()
   43         -
    }
   44         -
    #[allow(missing_docs)] // documentation missing in model
   45         -
    ///
   46         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.string_set.is_none()`.
          63  +
        /* StructureGenerator.kt:169 */
          64  +
        self.string_list
          65  +
            .as_deref()
          66  +
            /* StructureGenerator.kt:175 */
          67  +
            .unwrap_or_default()
          68  +
        /* StructureGenerator.kt:166 */
          69  +
    }
          70  +
    /* StructureGenerator.kt:231 */
          71  +
    #[allow(missing_docs)] // documentation missing in model
          72  +
    /// /* StructureGenerator.kt:162 */
          73  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.string_set.is_none()`.
          74  +
    /* StructureGenerator.kt:166 */
   47     75   
    pub fn string_set(&self) -> &[::std::string::String] {
   48         -
        self.string_set.as_deref().unwrap_or_default()
   49         -
    }
   50         -
    #[allow(missing_docs)] // documentation missing in model
   51         -
    ///
   52         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.integer_list.is_none()`.
          76  +
        /* StructureGenerator.kt:169 */
          77  +
        self.string_set
          78  +
            .as_deref()
          79  +
            /* StructureGenerator.kt:175 */
          80  +
            .unwrap_or_default()
          81  +
        /* StructureGenerator.kt:166 */
          82  +
    }
          83  +
    /* StructureGenerator.kt:231 */
          84  +
    #[allow(missing_docs)] // documentation missing in model
          85  +
    /// /* StructureGenerator.kt:162 */
          86  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.integer_list.is_none()`.
          87  +
    /* StructureGenerator.kt:166 */
   53     88   
    pub fn integer_list(&self) -> &[i32] {
   54         -
        self.integer_list.as_deref().unwrap_or_default()
   55         -
    }
   56         -
    #[allow(missing_docs)] // documentation missing in model
   57         -
    ///
   58         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.boolean_list.is_none()`.
          89  +
        /* StructureGenerator.kt:169 */
          90  +
        self.integer_list
          91  +
            .as_deref()
          92  +
            /* StructureGenerator.kt:175 */
          93  +
            .unwrap_or_default()
          94  +
        /* StructureGenerator.kt:166 */
          95  +
    }
          96  +
    /* StructureGenerator.kt:231 */
          97  +
    #[allow(missing_docs)] // documentation missing in model
          98  +
    /// /* StructureGenerator.kt:162 */
          99  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.boolean_list.is_none()`.
         100  +
    /* StructureGenerator.kt:166 */
   59    101   
    pub fn boolean_list(&self) -> &[bool] {
   60         -
        self.boolean_list.as_deref().unwrap_or_default()
   61         -
    }
   62         -
    #[allow(missing_docs)] // documentation missing in model
   63         -
    ///
   64         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.timestamp_list.is_none()`.
         102  +
        /* StructureGenerator.kt:169 */
         103  +
        self.boolean_list
         104  +
            .as_deref()
         105  +
            /* StructureGenerator.kt:175 */
         106  +
            .unwrap_or_default()
         107  +
        /* StructureGenerator.kt:166 */
         108  +
    }
         109  +
    /* StructureGenerator.kt:231 */
         110  +
    #[allow(missing_docs)] // documentation missing in model
         111  +
    /// /* StructureGenerator.kt:162 */
         112  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.timestamp_list.is_none()`.
         113  +
    /* StructureGenerator.kt:166 */
   65    114   
    pub fn timestamp_list(&self) -> &[::aws_smithy_types::DateTime] {
   66         -
        self.timestamp_list.as_deref().unwrap_or_default()
   67         -
    }
   68         -
    #[allow(missing_docs)] // documentation missing in model
   69         -
    ///
   70         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.enum_list.is_none()`.
         115  +
        /* StructureGenerator.kt:169 */
         116  +
        self.timestamp_list
         117  +
            .as_deref()
         118  +
            /* StructureGenerator.kt:175 */
         119  +
            .unwrap_or_default()
         120  +
        /* StructureGenerator.kt:166 */
         121  +
    }
         122  +
    /* StructureGenerator.kt:231 */
         123  +
    #[allow(missing_docs)] // documentation missing in model
         124  +
    /// /* StructureGenerator.kt:162 */
         125  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.enum_list.is_none()`.
         126  +
    /* StructureGenerator.kt:166 */
   71    127   
    pub fn enum_list(&self) -> &[crate::types::FooEnum] {
   72         -
        self.enum_list.as_deref().unwrap_or_default()
   73         -
    }
   74         -
    #[allow(missing_docs)] // documentation missing in model
   75         -
    ///
   76         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.int_enum_list.is_none()`.
         128  +
        /* StructureGenerator.kt:169 */
         129  +
        self.enum_list
         130  +
            .as_deref()
         131  +
            /* StructureGenerator.kt:175 */
         132  +
            .unwrap_or_default()
         133  +
        /* StructureGenerator.kt:166 */
         134  +
    }
         135  +
    /* StructureGenerator.kt:231 */
         136  +
    #[allow(missing_docs)] // documentation missing in model
         137  +
    /// /* StructureGenerator.kt:162 */
         138  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.int_enum_list.is_none()`.
         139  +
    /* StructureGenerator.kt:166 */
   77    140   
    pub fn int_enum_list(&self) -> &[i32] {
   78         -
        self.int_enum_list.as_deref().unwrap_or_default()
   79         -
    }
   80         -
    /// A list of lists of strings.
   81         -
    ///
   82         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.nested_string_list.is_none()`.
         141  +
        /* StructureGenerator.kt:169 */
         142  +
        self.int_enum_list
         143  +
            .as_deref()
         144  +
            /* StructureGenerator.kt:175 */
         145  +
            .unwrap_or_default()
         146  +
        /* StructureGenerator.kt:166 */
         147  +
    }
         148  +
    /// /* StructureGenerator.kt:231 */A list of lists of strings.
         149  +
    /// /* StructureGenerator.kt:162 */
         150  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.nested_string_list.is_none()`.
         151  +
    /* StructureGenerator.kt:166 */
   83    152   
    pub fn nested_string_list(&self) -> &[::std::vec::Vec<::std::string::String>] {
   84         -
        self.nested_string_list.as_deref().unwrap_or_default()
   85         -
    }
   86         -
    #[allow(missing_docs)] // documentation missing in model
   87         -
    ///
   88         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.renamed_list_members.is_none()`.
         153  +
        /* StructureGenerator.kt:169 */
         154  +
        self.nested_string_list
         155  +
            .as_deref()
         156  +
            /* StructureGenerator.kt:175 */
         157  +
            .unwrap_or_default()
         158  +
        /* StructureGenerator.kt:166 */
         159  +
    }
         160  +
    /* StructureGenerator.kt:231 */
         161  +
    #[allow(missing_docs)] // documentation missing in model
         162  +
    /// /* StructureGenerator.kt:162 */
         163  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.renamed_list_members.is_none()`.
         164  +
    /* StructureGenerator.kt:166 */
   89    165   
    pub fn renamed_list_members(&self) -> &[::std::string::String] {
   90         -
        self.renamed_list_members.as_deref().unwrap_or_default()
   91         -
    }
   92         -
    #[allow(missing_docs)] // documentation missing in model
   93         -
    ///
   94         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list.is_none()`.
         166  +
        /* StructureGenerator.kt:169 */
         167  +
        self.renamed_list_members
         168  +
            .as_deref()
         169  +
            /* StructureGenerator.kt:175 */
         170  +
            .unwrap_or_default()
         171  +
        /* StructureGenerator.kt:166 */
         172  +
    }
         173  +
    /* StructureGenerator.kt:231 */
         174  +
    #[allow(missing_docs)] // documentation missing in model
         175  +
    /// /* StructureGenerator.kt:162 */
         176  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list.is_none()`.
         177  +
    /* StructureGenerator.kt:166 */
   95    178   
    pub fn flattened_list(&self) -> &[::std::string::String] {
   96         -
        self.flattened_list.as_deref().unwrap_or_default()
   97         -
    }
   98         -
    #[allow(missing_docs)] // documentation missing in model
   99         -
    ///
  100         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list2.is_none()`.
         179  +
        /* StructureGenerator.kt:169 */
         180  +
        self.flattened_list
         181  +
            .as_deref()
         182  +
            /* StructureGenerator.kt:175 */
         183  +
            .unwrap_or_default()
         184  +
        /* StructureGenerator.kt:166 */
         185  +
    }
         186  +
    /* StructureGenerator.kt:231 */
         187  +
    #[allow(missing_docs)] // documentation missing in model
         188  +
    /// /* StructureGenerator.kt:162 */
         189  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list2.is_none()`.
         190  +
    /* StructureGenerator.kt:166 */
  101    191   
    pub fn flattened_list2(&self) -> &[::std::string::String] {
  102         -
        self.flattened_list2.as_deref().unwrap_or_default()
  103         -
    }
  104         -
    #[allow(missing_docs)] // documentation missing in model
  105         -
    ///
  106         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list_with_member_namespace.is_none()`.
         192  +
        /* StructureGenerator.kt:169 */
         193  +
        self.flattened_list2
         194  +
            .as_deref()
         195  +
            /* StructureGenerator.kt:175 */
         196  +
            .unwrap_or_default()
         197  +
        /* StructureGenerator.kt:166 */
         198  +
    }
         199  +
    /* StructureGenerator.kt:231 */
         200  +
    #[allow(missing_docs)] // documentation missing in model
         201  +
    /// /* StructureGenerator.kt:162 */
         202  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list_with_member_namespace.is_none()`.
         203  +
    /* StructureGenerator.kt:166 */
  107    204   
    pub fn flattened_list_with_member_namespace(&self) -> &[::std::string::String] {
  108         -
        self.flattened_list_with_member_namespace.as_deref().unwrap_or_default()
  109         -
    }
  110         -
    #[allow(missing_docs)] // documentation missing in model
  111         -
    ///
  112         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list_with_namespace.is_none()`.
         205  +
        /* StructureGenerator.kt:169 */
         206  +
        self.flattened_list_with_member_namespace
         207  +
            .as_deref()
         208  +
            /* StructureGenerator.kt:175 */
         209  +
            .unwrap_or_default()
         210  +
        /* StructureGenerator.kt:166 */
         211  +
    }
         212  +
    /* StructureGenerator.kt:231 */
         213  +
    #[allow(missing_docs)] // documentation missing in model
         214  +
    /// /* StructureGenerator.kt:162 */
         215  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_list_with_namespace.is_none()`.
         216  +
    /* StructureGenerator.kt:166 */
  113    217   
    pub fn flattened_list_with_namespace(&self) -> &[::std::string::String] {
  114         -
        self.flattened_list_with_namespace.as_deref().unwrap_or_default()
  115         -
    }
  116         -
    #[allow(missing_docs)] // documentation missing in model
  117         -
    ///
  118         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.structure_list.is_none()`.
         218  +
        /* StructureGenerator.kt:169 */
         219  +
        self.flattened_list_with_namespace
         220  +
            .as_deref()
         221  +
            /* StructureGenerator.kt:175 */
         222  +
            .unwrap_or_default()
         223  +
        /* StructureGenerator.kt:166 */
         224  +
    }
         225  +
    /* StructureGenerator.kt:231 */
         226  +
    #[allow(missing_docs)] // documentation missing in model
         227  +
    /// /* StructureGenerator.kt:162 */
         228  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.structure_list.is_none()`.
         229  +
    /* StructureGenerator.kt:166 */
  119    230   
    pub fn structure_list(&self) -> &[crate::types::StructureListMember] {
  120         -
        self.structure_list.as_deref().unwrap_or_default()
  121         -
    }
  122         -
    #[allow(missing_docs)] // documentation missing in model
  123         -
    ///
  124         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_structure_list.is_none()`.
         231  +
        /* StructureGenerator.kt:169 */
         232  +
        self.structure_list
         233  +
            .as_deref()
         234  +
            /* StructureGenerator.kt:175 */
         235  +
            .unwrap_or_default()
         236  +
        /* StructureGenerator.kt:166 */
         237  +
    }
         238  +
    /* StructureGenerator.kt:231 */
         239  +
    #[allow(missing_docs)] // documentation missing in model
         240  +
    /// /* StructureGenerator.kt:162 */
         241  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.flattened_structure_list.is_none()`.
         242  +
    /* StructureGenerator.kt:166 */
  125    243   
    pub fn flattened_structure_list(&self) -> &[crate::types::StructureListMember] {
  126         -
        self.flattened_structure_list.as_deref().unwrap_or_default()
  127         -
    }
         244  +
        /* StructureGenerator.kt:169 */
         245  +
        self.flattened_structure_list
         246  +
            .as_deref()
         247  +
            /* StructureGenerator.kt:175 */
         248  +
            .unwrap_or_default()
         249  +
        /* StructureGenerator.kt:166 */
         250  +
    }
         251  +
    /* StructureGenerator.kt:135 */
  128    252   
}
         253  +
/* ClientCodegenVisitor.kt:237 */
  129    254   
impl XmlListsOutput {
  130         -
    /// Creates a new builder-style object to manufacture [`XmlListsOutput`](crate::operation::xml_lists::XmlListsOutput).
         255  +
    /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`XmlListsOutput`](crate::operation::xml_lists::XmlListsOutput).
         256  +
    /* BuilderGenerator.kt:175 */
  131    257   
    pub fn builder() -> crate::operation::xml_lists::builders::XmlListsOutputBuilder {
         258  +
        /* BuilderGenerator.kt:176 */
  132    259   
        crate::operation::xml_lists::builders::XmlListsOutputBuilder::default()
         260  +
        /* BuilderGenerator.kt:175 */
  133    261   
    }
         262  +
    /* ClientCodegenVisitor.kt:237 */
  134    263   
}
  135    264   
  136         -
/// A builder for [`XmlListsOutput`](crate::operation::xml_lists::XmlListsOutput).
         265  +
/// /* BuilderGenerator.kt:342 */A builder for [`XmlListsOutput`](crate::operation::xml_lists::XmlListsOutput).
         266  +
/* RustType.kt:516 */
  137    267   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
         268  +
/* RustType.kt:516 */
  138    269   
#[non_exhaustive]
         270  +
/* BuilderGenerator.kt:345 */
  139    271   
pub struct XmlListsOutputBuilder {
  140         -
    pub(crate) string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  141         -
    pub(crate) string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  142         -
    pub(crate) integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
  143         -
    pub(crate) boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
  144         -
    pub(crate) timestamp_list: ::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>>,
  145         -
    pub(crate) enum_list: ::std::option::Option<::std::vec::Vec<crate::types::FooEnum>>,
  146         -
    pub(crate) int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
         272  +
    /* BuilderGenerator.kt:275 */ pub(crate) string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         273  +
    /* BuilderGenerator.kt:275 */ pub(crate) string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         274  +
    /* BuilderGenerator.kt:275 */ pub(crate) integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
         275  +
    /* BuilderGenerator.kt:275 */ pub(crate) boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
         276  +
    /* BuilderGenerator.kt:275 */ pub(crate) timestamp_list: ::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>>,
         277  +
    /* BuilderGenerator.kt:275 */ pub(crate) enum_list: ::std::option::Option<::std::vec::Vec<crate::types::FooEnum>>,
         278  +
    /* BuilderGenerator.kt:275 */ pub(crate) int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
         279  +
    /* BuilderGenerator.kt:275 */
  147    280   
    pub(crate) nested_string_list: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
  148         -
    pub(crate) renamed_list_members: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  149         -
    pub(crate) flattened_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  150         -
    pub(crate) flattened_list2: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         281  +
    /* BuilderGenerator.kt:275 */ pub(crate) renamed_list_members: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         282  +
    /* BuilderGenerator.kt:275 */ pub(crate) flattened_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         283  +
    /* BuilderGenerator.kt:275 */ pub(crate) flattened_list2: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         284  +
    /* BuilderGenerator.kt:275 */
  151    285   
    pub(crate) flattened_list_with_member_namespace: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  152         -
    pub(crate) flattened_list_with_namespace: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  153         -
    pub(crate) structure_list: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>,
         286  +
    /* BuilderGenerator.kt:275 */ pub(crate) flattened_list_with_namespace: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         287  +
    /* BuilderGenerator.kt:275 */ pub(crate) structure_list: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>,
         288  +
    /* BuilderGenerator.kt:275 */
  154    289   
    pub(crate) flattened_structure_list: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>,
         290  +
    /* BuilderGenerator.kt:345 */
  155    291   
}
         292  +
/* BuilderGenerator.kt:355 */
  156    293   
impl XmlListsOutputBuilder {
  157         -
    /// Appends an item to `string_list`.
         294  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `string_list`.
         295  +
    /* BuilderGenerator.kt:411 */
  158    296   
    ///
  159         -
    /// To override the contents of this collection use [`set_string_list`](Self::set_string_list).
         297  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_string_list`](Self::set_string_list).
         298  +
    /* BuilderGenerator.kt:413 */
  160    299   
    ///
         300  +
    /* BuilderGenerator.kt:418 */
  161    301   
    pub fn string_list(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         302  +
        /* BuilderGenerator.kt:419 */
  162    303   
        let mut v = self.string_list.unwrap_or_default();
  163    304   
        v.push(input.into());
  164    305   
        self.string_list = ::std::option::Option::Some(v);
  165    306   
        self
         307  +
        /* BuilderGenerator.kt:418 */
  166    308   
    }
         309  +
    /* BuilderGenerator.kt:312 */
  167    310   
    #[allow(missing_docs)] // documentation missing in model
         311  +
                           /* BuilderGenerator.kt:314 */
  168    312   
    pub fn set_string_list(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         313  +
        /* BuilderGenerator.kt:315 */
  169    314   
        self.string_list = input;
  170    315   
        self
         316  +
        /* BuilderGenerator.kt:314 */
  171    317   
    }
         318  +
    /* BuilderGenerator.kt:334 */
  172    319   
    #[allow(missing_docs)] // documentation missing in model
         320  +
                           /* BuilderGenerator.kt:336 */
  173    321   
    pub fn get_string_list(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         322  +
        /* BuilderGenerator.kt:337 */
  174    323   
        &self.string_list
         324  +
        /* BuilderGenerator.kt:336 */
  175    325   
    }
  176         -
    /// Appends an item to `string_set`.
         326  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `string_set`.
         327  +
    /* BuilderGenerator.kt:411 */
  177    328   
    ///
  178         -
    /// To override the contents of this collection use [`set_string_set`](Self::set_string_set).
         329  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_string_set`](Self::set_string_set).
         330  +
    /* BuilderGenerator.kt:413 */
  179    331   
    ///
         332  +
    /* BuilderGenerator.kt:418 */
  180    333   
    pub fn string_set(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         334  +
        /* BuilderGenerator.kt:419 */
  181    335   
        let mut v = self.string_set.unwrap_or_default();
  182    336   
        v.push(input.into());
  183    337   
        self.string_set = ::std::option::Option::Some(v);
  184    338   
        self
         339  +
        /* BuilderGenerator.kt:418 */
  185    340   
    }
         341  +
    /* BuilderGenerator.kt:312 */
  186    342   
    #[allow(missing_docs)] // documentation missing in model
         343  +
                           /* BuilderGenerator.kt:314 */
  187    344   
    pub fn set_string_set(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         345  +
        /* BuilderGenerator.kt:315 */
  188    346   
        self.string_set = input;
  189    347   
        self
         348  +
        /* BuilderGenerator.kt:314 */
  190    349   
    }
         350  +
    /* BuilderGenerator.kt:334 */
  191    351   
    #[allow(missing_docs)] // documentation missing in model
         352  +
                           /* BuilderGenerator.kt:336 */
  192    353   
    pub fn get_string_set(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         354  +
        /* BuilderGenerator.kt:337 */
  193    355   
        &self.string_set
         356  +
        /* BuilderGenerator.kt:336 */
  194    357   
    }
  195         -
    /// Appends an item to `integer_list`.
         358  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `integer_list`.
         359  +
    /* BuilderGenerator.kt:411 */
  196    360   
    ///
  197         -
    /// To override the contents of this collection use [`set_integer_list`](Self::set_integer_list).
         361  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_integer_list`](Self::set_integer_list).
         362  +
    /* BuilderGenerator.kt:413 */
  198    363   
    ///
         364  +
    /* BuilderGenerator.kt:418 */
  199    365   
    pub fn integer_list(mut self, input: i32) -> Self {
         366  +
        /* BuilderGenerator.kt:419 */
  200    367   
        let mut v = self.integer_list.unwrap_or_default();
  201    368   
        v.push(input);
  202    369   
        self.integer_list = ::std::option::Option::Some(v);
  203    370   
        self
         371  +
        /* BuilderGenerator.kt:418 */
  204    372   
    }
         373  +
    /* BuilderGenerator.kt:312 */
  205    374   
    #[allow(missing_docs)] // documentation missing in model
         375  +
                           /* BuilderGenerator.kt:314 */
  206    376   
    pub fn set_integer_list(mut self, input: ::std::option::Option<::std::vec::Vec<i32>>) -> Self {
         377  +
        /* BuilderGenerator.kt:315 */
  207    378   
        self.integer_list = input;
  208    379   
        self
         380  +
        /* BuilderGenerator.kt:314 */
  209    381   
    }
         382  +
    /* BuilderGenerator.kt:334 */
  210    383   
    #[allow(missing_docs)] // documentation missing in model
         384  +
                           /* BuilderGenerator.kt:336 */
  211    385   
    pub fn get_integer_list(&self) -> &::std::option::Option<::std::vec::Vec<i32>> {
         386  +
        /* BuilderGenerator.kt:337 */
  212    387   
        &self.integer_list
         388  +
        /* BuilderGenerator.kt:336 */
  213    389   
    }
  214         -
    /// Appends an item to `boolean_list`.
         390  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `boolean_list`.
         391  +
    /* BuilderGenerator.kt:411 */
  215    392   
    ///
  216         -
    /// To override the contents of this collection use [`set_boolean_list`](Self::set_boolean_list).
         393  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_boolean_list`](Self::set_boolean_list).
         394  +
    /* BuilderGenerator.kt:413 */
  217    395   
    ///
         396  +
    /* BuilderGenerator.kt:418 */
  218    397   
    pub fn boolean_list(mut self, input: bool) -> Self {
         398  +
        /* BuilderGenerator.kt:419 */
  219    399   
        let mut v = self.boolean_list.unwrap_or_default();
  220    400   
        v.push(input);
  221    401   
        self.boolean_list = ::std::option::Option::Some(v);
  222    402   
        self
         403  +
        /* BuilderGenerator.kt:418 */
  223    404   
    }
         405  +
    /* BuilderGenerator.kt:312 */
  224    406   
    #[allow(missing_docs)] // documentation missing in model
         407  +
                           /* BuilderGenerator.kt:314 */
  225    408   
    pub fn set_boolean_list(mut self, input: ::std::option::Option<::std::vec::Vec<bool>>) -> Self {
         409  +
        /* BuilderGenerator.kt:315 */
  226    410   
        self.boolean_list = input;
  227    411   
        self
         412  +
        /* BuilderGenerator.kt:314 */
  228    413   
    }
         414  +
    /* BuilderGenerator.kt:334 */
  229    415   
    #[allow(missing_docs)] // documentation missing in model
         416  +
                           /* BuilderGenerator.kt:336 */
  230    417   
    pub fn get_boolean_list(&self) -> &::std::option::Option<::std::vec::Vec<bool>> {
         418  +
        /* BuilderGenerator.kt:337 */
  231    419   
        &self.boolean_list
         420  +
        /* BuilderGenerator.kt:336 */
  232    421   
    }
  233         -
    /// Appends an item to `timestamp_list`.
         422  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `timestamp_list`.
         423  +
    /* BuilderGenerator.kt:411 */
  234    424   
    ///
  235         -
    /// To override the contents of this collection use [`set_timestamp_list`](Self::set_timestamp_list).
         425  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_timestamp_list`](Self::set_timestamp_list).
         426  +
    /* BuilderGenerator.kt:413 */
  236    427   
    ///
         428  +
    /* BuilderGenerator.kt:418 */
  237    429   
    pub fn timestamp_list(mut self, input: ::aws_smithy_types::DateTime) -> Self {
         430  +
        /* BuilderGenerator.kt:419 */
  238    431   
        let mut v = self.timestamp_list.unwrap_or_default();
  239    432   
        v.push(input);
  240    433   
        self.timestamp_list = ::std::option::Option::Some(v);
  241    434   
        self
         435  +
        /* BuilderGenerator.kt:418 */
  242    436   
    }
         437  +
    /* BuilderGenerator.kt:312 */
  243    438   
    #[allow(missing_docs)] // documentation missing in model
         439  +
                           /* BuilderGenerator.kt:314 */
  244    440   
    pub fn set_timestamp_list(mut self, input: ::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>>) -> Self {
         441  +
        /* BuilderGenerator.kt:315 */
  245    442   
        self.timestamp_list = input;
  246    443   
        self
         444  +
        /* BuilderGenerator.kt:314 */
  247    445   
    }
         446  +
    /* BuilderGenerator.kt:334 */
  248    447   
    #[allow(missing_docs)] // documentation missing in model
         448  +
                           /* BuilderGenerator.kt:336 */
  249    449   
    pub fn get_timestamp_list(&self) -> &::std::option::Option<::std::vec::Vec<::aws_smithy_types::DateTime>> {
         450  +
        /* BuilderGenerator.kt:337 */
  250    451   
        &self.timestamp_list
         452  +
        /* BuilderGenerator.kt:336 */
  251    453   
    }
  252         -
    /// Appends an item to `enum_list`.
         454  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `enum_list`.
         455  +
    /* BuilderGenerator.kt:411 */
  253    456   
    ///
  254         -
    /// To override the contents of this collection use [`set_enum_list`](Self::set_enum_list).
         457  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_enum_list`](Self::set_enum_list).
         458  +
    /* BuilderGenerator.kt:413 */
  255    459   
    ///
         460  +
    /* BuilderGenerator.kt:418 */
  256    461   
    pub fn enum_list(mut self, input: crate::types::FooEnum) -> Self {
         462  +
        /* BuilderGenerator.kt:419 */
  257    463   
        let mut v = self.enum_list.unwrap_or_default();
  258    464   
        v.push(input);
  259    465   
        self.enum_list = ::std::option::Option::Some(v);
  260    466   
        self
         467  +
        /* BuilderGenerator.kt:418 */
  261    468   
    }
         469  +
    /* BuilderGenerator.kt:312 */
  262    470   
    #[allow(missing_docs)] // documentation missing in model
         471  +
                           /* BuilderGenerator.kt:314 */
  263    472   
    pub fn set_enum_list(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::FooEnum>>) -> Self {
         473  +
        /* BuilderGenerator.kt:315 */
  264    474   
        self.enum_list = input;
  265    475   
        self
         476  +
        /* BuilderGenerator.kt:314 */
  266    477   
    }
         478  +
    /* BuilderGenerator.kt:334 */
  267    479   
    #[allow(missing_docs)] // documentation missing in model
         480  +
                           /* BuilderGenerator.kt:336 */
  268    481   
    pub fn get_enum_list(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::FooEnum>> {
         482  +
        /* BuilderGenerator.kt:337 */
  269    483   
        &self.enum_list
         484  +
        /* BuilderGenerator.kt:336 */
  270    485   
    }
  271         -
    /// Appends an item to `int_enum_list`.
         486  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `int_enum_list`.
         487  +
    /* BuilderGenerator.kt:411 */
  272    488   
    ///
  273         -
    /// To override the contents of this collection use [`set_int_enum_list`](Self::set_int_enum_list).
         489  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_int_enum_list`](Self::set_int_enum_list).
         490  +
    /* BuilderGenerator.kt:413 */
  274    491   
    ///
         492  +
    /* BuilderGenerator.kt:418 */
  275    493   
    pub fn int_enum_list(mut self, input: i32) -> Self {
         494  +
        /* BuilderGenerator.kt:419 */
  276    495   
        let mut v = self.int_enum_list.unwrap_or_default();
  277    496   
        v.push(input);
  278    497   
        self.int_enum_list = ::std::option::Option::Some(v);
  279    498   
        self
         499  +
        /* BuilderGenerator.kt:418 */
  280    500   
    }
         501  +
    /* BuilderGenerator.kt:312 */
  281    502   
    #[allow(missing_docs)] // documentation missing in model
         503  +
                           /* BuilderGenerator.kt:314 */
  282    504   
    pub fn set_int_enum_list(mut self, input: ::std::option::Option<::std::vec::Vec<i32>>) -> Self {
         505  +
        /* BuilderGenerator.kt:315 */
  283    506   
        self.int_enum_list = input;
  284    507   
        self
         508  +
        /* BuilderGenerator.kt:314 */
  285    509   
    }
         510  +
    /* BuilderGenerator.kt:334 */
  286    511   
    #[allow(missing_docs)] // documentation missing in model
         512  +
                           /* BuilderGenerator.kt:336 */
  287    513   
    pub fn get_int_enum_list(&self) -> &::std::option::Option<::std::vec::Vec<i32>> {
         514  +
        /* BuilderGenerator.kt:337 */
  288    515   
        &self.int_enum_list
         516  +
        /* BuilderGenerator.kt:336 */
  289    517   
    }
  290         -
    /// Appends an item to `nested_string_list`.
         518  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `nested_string_list`.
         519  +
    /* BuilderGenerator.kt:411 */
  291    520   
    ///
  292         -
    /// To override the contents of this collection use [`set_nested_string_list`](Self::set_nested_string_list).
         521  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_nested_string_list`](Self::set_nested_string_list).
         522  +
    /* BuilderGenerator.kt:413 */
  293    523   
    ///
  294         -
    /// A list of lists of strings.
         524  +
    /// /* BuilderGenerator.kt:414 */A list of lists of strings.
         525  +
    /* BuilderGenerator.kt:418 */
  295    526   
    pub fn nested_string_list(mut self, input: ::std::vec::Vec<::std::string::String>) -> Self {
         527  +
        /* BuilderGenerator.kt:419 */
  296    528   
        let mut v = self.nested_string_list.unwrap_or_default();
  297    529   
        v.push(input);
  298    530   
        self.nested_string_list = ::std::option::Option::Some(v);
  299    531   
        self
         532  +
        /* BuilderGenerator.kt:418 */
  300    533   
    }
  301         -
    /// A list of lists of strings.
         534  +
    /// /* BuilderGenerator.kt:312 */A list of lists of strings.
         535  +
    /* BuilderGenerator.kt:314 */
  302    536   
    pub fn set_nested_string_list(mut self, input: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>) -> Self {
         537  +
        /* BuilderGenerator.kt:315 */
  303    538   
        self.nested_string_list = input;
  304    539   
        self
         540  +
        /* BuilderGenerator.kt:314 */
  305    541   
    }
  306         -
    /// A list of lists of strings.
         542  +
    /// /* BuilderGenerator.kt:334 */A list of lists of strings.
         543  +
    /* BuilderGenerator.kt:336 */
  307    544   
    pub fn get_nested_string_list(&self) -> &::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>> {
         545  +
        /* BuilderGenerator.kt:337 */
  308    546   
        &self.nested_string_list
         547  +
        /* BuilderGenerator.kt:336 */
  309    548   
    }
  310         -
    /// Appends an item to `renamed_list_members`.
         549  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `renamed_list_members`.
         550  +
    /* BuilderGenerator.kt:411 */
  311    551   
    ///
  312         -
    /// To override the contents of this collection use [`set_renamed_list_members`](Self::set_renamed_list_members).
         552  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_renamed_list_members`](Self::set_renamed_list_members).
         553  +
    /* BuilderGenerator.kt:413 */
  313    554   
    ///
         555  +
    /* BuilderGenerator.kt:418 */
  314    556   
    pub fn renamed_list_members(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         557  +
        /* BuilderGenerator.kt:419 */
  315    558   
        let mut v = self.renamed_list_members.unwrap_or_default();
  316    559   
        v.push(input.into());
  317    560   
        self.renamed_list_members = ::std::option::Option::Some(v);
  318    561   
        self
         562  +
        /* BuilderGenerator.kt:418 */
  319    563   
    }
         564  +
    /* BuilderGenerator.kt:312 */
  320    565   
    #[allow(missing_docs)] // documentation missing in model
         566  +
                           /* BuilderGenerator.kt:314 */
  321    567   
    pub fn set_renamed_list_members(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         568  +
        /* BuilderGenerator.kt:315 */
  322    569   
        self.renamed_list_members = input;
  323    570   
        self
         571  +
        /* BuilderGenerator.kt:314 */
  324    572   
    }
         573  +
    /* BuilderGenerator.kt:334 */
  325    574   
    #[allow(missing_docs)] // documentation missing in model
         575  +
                           /* BuilderGenerator.kt:336 */
  326    576   
    pub fn get_renamed_list_members(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         577  +
        /* BuilderGenerator.kt:337 */
  327    578   
        &self.renamed_list_members
         579  +
        /* BuilderGenerator.kt:336 */
  328    580   
    }
  329         -
    /// Appends an item to `flattened_list`.
         581  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `flattened_list`.
         582  +
    /* BuilderGenerator.kt:411 */
  330    583   
    ///
  331         -
    /// To override the contents of this collection use [`set_flattened_list`](Self::set_flattened_list).
         584  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_flattened_list`](Self::set_flattened_list).
         585  +
    /* BuilderGenerator.kt:413 */
  332    586   
    ///
         587  +
    /* BuilderGenerator.kt:418 */
  333    588   
    pub fn flattened_list(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         589  +
        /* BuilderGenerator.kt:419 */
  334    590   
        let mut v = self.flattened_list.unwrap_or_default();
  335    591   
        v.push(input.into());
  336    592   
        self.flattened_list = ::std::option::Option::Some(v);
  337    593   
        self
         594  +
        /* BuilderGenerator.kt:418 */
  338    595   
    }
         596  +
    /* BuilderGenerator.kt:312 */
  339    597   
    #[allow(missing_docs)] // documentation missing in model
         598  +
                           /* BuilderGenerator.kt:314 */
  340    599   
    pub fn set_flattened_list(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         600  +
        /* BuilderGenerator.kt:315 */
  341    601   
        self.flattened_list = input;
  342    602   
        self
         603  +
        /* BuilderGenerator.kt:314 */
  343    604   
    }
         605  +
    /* BuilderGenerator.kt:334 */
  344    606   
    #[allow(missing_docs)] // documentation missing in model
         607  +
                           /* BuilderGenerator.kt:336 */
  345    608   
    pub fn get_flattened_list(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         609  +
        /* BuilderGenerator.kt:337 */
  346    610   
        &self.flattened_list
         611  +
        /* BuilderGenerator.kt:336 */
  347    612   
    }
  348         -
    /// Appends an item to `flattened_list2`.
         613  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `flattened_list2`.
         614  +
    /* BuilderGenerator.kt:411 */
  349    615   
    ///
  350         -
    /// To override the contents of this collection use [`set_flattened_list2`](Self::set_flattened_list2).
         616  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_flattened_list2`](Self::set_flattened_list2).
         617  +
    /* BuilderGenerator.kt:413 */
  351    618   
    ///
         619  +
    /* BuilderGenerator.kt:418 */
  352    620   
    pub fn flattened_list2(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         621  +
        /* BuilderGenerator.kt:419 */
  353    622   
        let mut v = self.flattened_list2.unwrap_or_default();
  354    623   
        v.push(input.into());
  355    624   
        self.flattened_list2 = ::std::option::Option::Some(v);
  356    625   
        self
         626  +
        /* BuilderGenerator.kt:418 */
  357    627   
    }
         628  +
    /* BuilderGenerator.kt:312 */
  358    629   
    #[allow(missing_docs)] // documentation missing in model
         630  +
                           /* BuilderGenerator.kt:314 */
  359    631   
    pub fn set_flattened_list2(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         632  +
        /* BuilderGenerator.kt:315 */
  360    633   
        self.flattened_list2 = input;
  361    634   
        self
         635  +
        /* BuilderGenerator.kt:314 */
  362    636   
    }
         637  +
    /* BuilderGenerator.kt:334 */
  363    638   
    #[allow(missing_docs)] // documentation missing in model
         639  +
                           /* BuilderGenerator.kt:336 */
  364    640   
    pub fn get_flattened_list2(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         641  +
        /* BuilderGenerator.kt:337 */
  365    642   
        &self.flattened_list2
         643  +
        /* BuilderGenerator.kt:336 */
  366    644   
    }
  367         -
    /// Appends an item to `flattened_list_with_member_namespace`.
         645  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `flattened_list_with_member_namespace`.
         646  +
    /* BuilderGenerator.kt:411 */
  368    647   
    ///
  369         -
    /// To override the contents of this collection use [`set_flattened_list_with_member_namespace`](Self::set_flattened_list_with_member_namespace).
         648  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_flattened_list_with_member_namespace`](Self::set_flattened_list_with_member_namespace).
         649  +
    /* BuilderGenerator.kt:413 */
  370    650   
    ///
         651  +
    /* BuilderGenerator.kt:418 */
  371    652   
    pub fn flattened_list_with_member_namespace(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         653  +
        /* BuilderGenerator.kt:419 */
  372    654   
        let mut v = self.flattened_list_with_member_namespace.unwrap_or_default();
  373    655   
        v.push(input.into());
  374    656   
        self.flattened_list_with_member_namespace = ::std::option::Option::Some(v);
  375    657   
        self
         658  +
        /* BuilderGenerator.kt:418 */
  376    659   
    }
         660  +
    /* BuilderGenerator.kt:312 */
  377    661   
    #[allow(missing_docs)] // documentation missing in model
         662  +
                           /* BuilderGenerator.kt:314 */
  378    663   
    pub fn set_flattened_list_with_member_namespace(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         664  +
        /* BuilderGenerator.kt:315 */
  379    665   
        self.flattened_list_with_member_namespace = input;
  380    666   
        self
         667  +
        /* BuilderGenerator.kt:314 */
  381    668   
    }
         669  +
    /* BuilderGenerator.kt:334 */
  382    670   
    #[allow(missing_docs)] // documentation missing in model
         671  +
                           /* BuilderGenerator.kt:336 */
  383    672   
    pub fn get_flattened_list_with_member_namespace(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         673  +
        /* BuilderGenerator.kt:337 */
  384    674   
        &self.flattened_list_with_member_namespace
         675  +
        /* BuilderGenerator.kt:336 */
  385    676   
    }
  386         -
    /// Appends an item to `flattened_list_with_namespace`.
         677  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `flattened_list_with_namespace`.
         678  +
    /* BuilderGenerator.kt:411 */
  387    679   
    ///
  388         -
    /// To override the contents of this collection use [`set_flattened_list_with_namespace`](Self::set_flattened_list_with_namespace).
         680  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_flattened_list_with_namespace`](Self::set_flattened_list_with_namespace).
         681  +
    /* BuilderGenerator.kt:413 */
  389    682   
    ///
         683  +
    /* BuilderGenerator.kt:418 */
  390    684   
    pub fn flattened_list_with_namespace(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         685  +
        /* BuilderGenerator.kt:419 */
  391    686   
        let mut v = self.flattened_list_with_namespace.unwrap_or_default();
  392    687   
        v.push(input.into());
  393    688   
        self.flattened_list_with_namespace = ::std::option::Option::Some(v);
  394    689   
        self
         690  +
        /* BuilderGenerator.kt:418 */
  395    691   
    }
         692  +
    /* BuilderGenerator.kt:312 */
  396    693   
    #[allow(missing_docs)] // documentation missing in model
         694  +
                           /* BuilderGenerator.kt:314 */
  397    695   
    pub fn set_flattened_list_with_namespace(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         696  +
        /* BuilderGenerator.kt:315 */
  398    697   
        self.flattened_list_with_namespace = input;
  399    698   
        self
         699  +
        /* BuilderGenerator.kt:314 */
  400    700   
    }
         701  +
    /* BuilderGenerator.kt:334 */
  401    702   
    #[allow(missing_docs)] // documentation missing in model
         703  +
                           /* BuilderGenerator.kt:336 */
  402    704   
    pub fn get_flattened_list_with_namespace(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         705  +
        /* BuilderGenerator.kt:337 */
  403    706   
        &self.flattened_list_with_namespace
         707  +
        /* BuilderGenerator.kt:336 */
  404    708   
    }
  405         -
    /// Appends an item to `structure_list`.
         709  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `structure_list`.
         710  +
    /* BuilderGenerator.kt:411 */
  406    711   
    ///
  407         -
    /// To override the contents of this collection use [`set_structure_list`](Self::set_structure_list).
         712  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_structure_list`](Self::set_structure_list).
         713  +
    /* BuilderGenerator.kt:413 */
  408    714   
    ///
         715  +
    /* BuilderGenerator.kt:418 */
  409    716   
    pub fn structure_list(mut self, input: crate::types::StructureListMember) -> Self {
         717  +
        /* BuilderGenerator.kt:419 */
  410    718   
        let mut v = self.structure_list.unwrap_or_default();
  411    719   
        v.push(input);
  412    720   
        self.structure_list = ::std::option::Option::Some(v);
  413    721   
        self
         722  +
        /* BuilderGenerator.kt:418 */
  414    723   
    }
         724  +
    /* BuilderGenerator.kt:312 */
  415    725   
    #[allow(missing_docs)] // documentation missing in model
         726  +
                           /* BuilderGenerator.kt:314 */
  416    727   
    pub fn set_structure_list(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>) -> Self {
         728  +
        /* BuilderGenerator.kt:315 */
  417    729   
        self.structure_list = input;
  418    730   
        self
         731  +
        /* BuilderGenerator.kt:314 */
  419    732   
    }
         733  +
    /* BuilderGenerator.kt:334 */
  420    734   
    #[allow(missing_docs)] // documentation missing in model
         735  +
                           /* BuilderGenerator.kt:336 */
  421    736   
    pub fn get_structure_list(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>> {
         737  +
        /* BuilderGenerator.kt:337 */
  422    738   
        &self.structure_list
         739  +
        /* BuilderGenerator.kt:336 */
  423    740   
    }
  424         -
    /// Appends an item to `flattened_structure_list`.
         741  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `flattened_structure_list`.
         742  +
    /* BuilderGenerator.kt:411 */
  425    743   
    ///
  426         -
    /// To override the contents of this collection use [`set_flattened_structure_list`](Self::set_flattened_structure_list).
         744  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_flattened_structure_list`](Self::set_flattened_structure_list).
         745  +
    /* BuilderGenerator.kt:413 */
  427    746   
    ///
         747  +
    /* BuilderGenerator.kt:418 */
  428    748   
    pub fn flattened_structure_list(mut self, input: crate::types::StructureListMember) -> Self {
         749  +
        /* BuilderGenerator.kt:419 */
  429    750   
        let mut v = self.flattened_structure_list.unwrap_or_default();
  430    751   
        v.push(input);
  431    752   
        self.flattened_structure_list = ::std::option::Option::Some(v);
  432    753   
        self
         754  +
        /* BuilderGenerator.kt:418 */
  433    755   
    }
         756  +
    /* BuilderGenerator.kt:312 */
  434    757   
    #[allow(missing_docs)] // documentation missing in model
         758  +
                           /* BuilderGenerator.kt:314 */
  435    759   
    pub fn set_flattened_structure_list(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>>) -> Self {
         760  +
        /* BuilderGenerator.kt:315 */
  436    761   
        self.flattened_structure_list = input;
  437    762   
        self
         763  +
        /* BuilderGenerator.kt:314 */
  438    764   
    }
         765  +
    /* BuilderGenerator.kt:334 */
  439    766   
    #[allow(missing_docs)] // documentation missing in model
         767  +
                           /* BuilderGenerator.kt:336 */
  440    768   
    pub fn get_flattened_structure_list(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::StructureListMember>> {
         769  +
        /* BuilderGenerator.kt:337 */
  441    770   
        &self.flattened_structure_list
         771  +
        /* BuilderGenerator.kt:336 */
  442    772   
    }
  443         -
    /// Consumes the builder and constructs a [`XmlListsOutput`](crate::operation::xml_lists::XmlListsOutput).
         773  +
    /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`XmlListsOutput`](crate::operation::xml_lists::XmlListsOutput).
         774  +
    /* BuilderGenerator.kt:253 */
  444    775   
    pub fn build(self) -> crate::operation::xml_lists::XmlListsOutput {
         776  +
        /* BuilderGenerator.kt:477 */
  445    777   
        crate::operation::xml_lists::XmlListsOutput {
  446         -
            string_list: self.string_list,
         778  +
            /* BuilderGenerator.kt:481 */ string_list: self.string_list,
         779  +
            /* BuilderGenerator.kt:481 */
  447    780   
            string_set: self.string_set,
         781  +
            /* BuilderGenerator.kt:481 */
  448    782   
            integer_list: self.integer_list,
         783  +
            /* BuilderGenerator.kt:481 */
  449    784   
            boolean_list: self.boolean_list,
         785  +
            /* BuilderGenerator.kt:481 */
  450    786   
            timestamp_list: self.timestamp_list,
         787  +
            /* BuilderGenerator.kt:481 */
  451    788   
            enum_list: self.enum_list,
         789  +
            /* BuilderGenerator.kt:481 */
  452    790   
            int_enum_list: self.int_enum_list,
         791  +
            /* BuilderGenerator.kt:481 */
  453    792   
            nested_string_list: self.nested_string_list,
         793  +
            /* BuilderGenerator.kt:481 */
  454    794   
            renamed_list_members: self.renamed_list_members,
         795  +
            /* BuilderGenerator.kt:481 */
  455    796   
            flattened_list: self.flattened_list,
         797  +
            /* BuilderGenerator.kt:481 */
  456    798   
            flattened_list2: self.flattened_list2,
         799  +
            /* BuilderGenerator.kt:481 */
  457    800   
            flattened_list_with_member_namespace: self.flattened_list_with_member_namespace,
         801  +
            /* BuilderGenerator.kt:481 */
  458    802   
            flattened_list_with_namespace: self.flattened_list_with_namespace,
         803  +
            /* BuilderGenerator.kt:481 */
  459    804   
            structure_list: self.structure_list,
         805  +
            /* BuilderGenerator.kt:481 */
  460    806   
            flattened_structure_list: self.flattened_structure_list,
         807  +
            /* BuilderGenerator.kt:477 */
  461    808   
        }
         809  +
        /* BuilderGenerator.kt:253 */
  462    810   
    }
         811  +
    /* BuilderGenerator.kt:355 */
  463    812   
}