Client Test

Client Test

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943

Files changed:

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/simple_scalar_xml_properties/builders.rs

@@ -1,1 +110,122 @@
    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::simple_scalar_xml_properties::_simple_scalar_xml_properties_output::SimpleScalarXmlPropertiesOutputBuilder;
    3      4   
           5  +
/* CodegenDelegator.kt:255 */
    4      6   
pub use crate::operation::simple_scalar_xml_properties::_simple_scalar_xml_properties_input::SimpleScalarXmlPropertiesInputBuilder;
    5      7   
           8  +
/* FluentBuilderGenerator.kt:408 */
    6      9   
impl crate::operation::simple_scalar_xml_properties::builders::SimpleScalarXmlPropertiesInputBuilder {
    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::simple_scalar_xml_properties::SimpleScalarXmlPropertiesOutput,
   13     16   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     17   
            crate::operation::simple_scalar_xml_properties::SimpleScalarXmlPropertiesError,
   15     18   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   16     19   
        >,
   17     20   
    > {
   18     21   
        let mut fluent_builder = client.simple_scalar_xml_properties();
   19     22   
        fluent_builder.inner = self;
   20     23   
        fluent_builder.send().await
   21     24   
    }
   22     25   
}
   23         -
/// Fluent builder constructing a request to `SimpleScalarXmlProperties`.
          26  +
/// /* FluentBuilderGenerator.kt:129 */Fluent builder constructing a request to `SimpleScalarXmlProperties`.
   24     27   
///
          28  +
/* RustType.kt:516 */
   25     29   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
          30  +
/* FluentBuilderGenerator.kt:270 */
   26     31   
pub struct SimpleScalarXmlPropertiesFluentBuilder {
   27     32   
    handle: ::std::sync::Arc<crate::client::Handle>,
   28     33   
    inner: crate::operation::simple_scalar_xml_properties::builders::SimpleScalarXmlPropertiesInputBuilder,
   29     34   
    config_override: ::std::option::Option<crate::config::Builder>,
   30     35   
}
          36  +
/* FluentBuilderGenerator.kt:381 */
   31     37   
impl
   32     38   
    crate::client::customize::internal::CustomizableSend<
   33     39   
        crate::operation::simple_scalar_xml_properties::SimpleScalarXmlPropertiesOutput,
   34     40   
        crate::operation::simple_scalar_xml_properties::SimpleScalarXmlPropertiesError,
   35     41   
    > for SimpleScalarXmlPropertiesFluentBuilder
   36     42   
{
   37     43   
    fn send(
   38     44   
        self,
   39     45   
        config_override: crate::config::Builder,
   40     46   
    ) -> crate::client::customize::internal::BoxFuture<
   41     47   
        crate::client::customize::internal::SendResult<
   42     48   
            crate::operation::simple_scalar_xml_properties::SimpleScalarXmlPropertiesOutput,
   43     49   
            crate::operation::simple_scalar_xml_properties::SimpleScalarXmlPropertiesError,
   44     50   
        >,
   45     51   
    > {
   46     52   
        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
   47     53   
    }
   48     54   
}
          55  +
/* FluentBuilderGenerator.kt:282 */
   49     56   
impl SimpleScalarXmlPropertiesFluentBuilder {
          57  +
    /* FluentBuilderGenerator.kt:288 */
   50     58   
    /// Creates a new `SimpleScalarXmlPropertiesFluentBuilder`.
   51     59   
    pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
   52     60   
        Self {
   53     61   
            handle,
   54     62   
            inner: ::std::default::Default::default(),
   55     63   
            config_override: ::std::option::Option::None,
   56     64   
        }
   57     65   
    }
          66  +
    /* FluentBuilderGenerator.kt:301 */
   58     67   
    /// Access the SimpleScalarXmlProperties as a reference.
   59     68   
    pub fn as_input(&self) -> &crate::operation::simple_scalar_xml_properties::builders::SimpleScalarXmlPropertiesInputBuilder {
   60     69   
        &self.inner
   61     70   
    }
          71  +
    /* FluentBuilderGenerator.kt:145 */
   62     72   
    /// Sends the request and returns the response.
   63     73   
    ///
   64     74   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     75   
    /// can be matched against.
   66     76   
    ///
   67     77   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     78   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69     79   
    /// set when configuring the client.
   70     80   
    pub async fn send(
   71     81   
        self,
   72     82   
    ) -> ::std::result::Result<
   73     83   
        crate::operation::simple_scalar_xml_properties::SimpleScalarXmlPropertiesOutput,
   74     84   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     85   
            crate::operation::simple_scalar_xml_properties::SimpleScalarXmlPropertiesError,
   76     86   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     87   
        >,
   78     88   
    > {
   79     89   
        let input = self
   80     90   
            .inner
   81     91   
            .build()
   82     92   
            .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
   83     93   
        let runtime_plugins = crate::operation::simple_scalar_xml_properties::SimpleScalarXmlProperties::operation_runtime_plugins(
   84     94   
            self.handle.runtime_plugins.clone(),
   85     95   
            &self.handle.conf,
   86     96   
            self.config_override,
   87     97   
        );
   88     98   
        crate::operation::simple_scalar_xml_properties::SimpleScalarXmlProperties::orchestrate(&runtime_plugins, input).await
   89     99   
    }
   90    100   
   91    101   
    /// Consumes this builder, creating a customizable operation that can be modified before being sent.
   92    102   
    pub fn customize(
   93    103   
        self,
   94    104   
    ) -> crate::client::customize::CustomizableOperation<
   95    105   
        crate::operation::simple_scalar_xml_properties::SimpleScalarXmlPropertiesOutput,
   96    106   
        crate::operation::simple_scalar_xml_properties::SimpleScalarXmlPropertiesError,
   97    107   
        Self,
   98    108   
    > {
   99    109   
        crate::client::customize::CustomizableOperation::new(self)
  100    110   
    }
         111  +
    /* FluentBuilderGenerator.kt:315 */
  101    112   
    pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
  102    113   
        self.set_config_override(::std::option::Option::Some(config_override.into()));
  103    114   
        self
  104    115   
    }
  105    116   
  106    117   
    pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
  107    118   
        self.config_override = config_override;
  108    119   
        self
  109    120   
    }
         121  +
    /* FluentBuilderGenerator.kt:282 */
  110    122   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/xml_blobs.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 `XmlBlobs`.
           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 XmlBlobs;
          10  +
/* OperationGenerator.kt:85 */
    6     11   
impl XmlBlobs {
    7         -
    /// Creates a new `XmlBlobs`
          12  +
    /// /* OperationGenerator.kt:86 */Creates a new `XmlBlobs`
          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_blobs::XmlBlobsInput,
   14     23   
    ) -> ::std::result::Result<
   15     24   
        crate::operation::xml_blobs::XmlBlobsOutput,
   16     25   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     26   
            crate::operation::xml_blobs::XmlBlobsError,
   18     27   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     28   
        >,
   20     29   
    > {
@@ -53,62 +365,441 @@
   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 XmlBlobs {
   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("XmlBlobs");
   87     98   
   88     99   
        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
   89    100   
            XmlBlobsRequestSerializer,
   90    101   
        ));
   91    102   
        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
   92    103   
            XmlBlobsResponseDeserializer,
   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   
            "XmlBlobs",
  101    112   
            "Query 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("XmlBlobs")
  113    124   
            .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
  114    125   
            .with_interceptor(XmlBlobsEndpointParamsInterceptor)
  115    126   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
  116    127   
                crate::operation::xml_blobs::XmlBlobsError,
  117    128   
            >::new())
  118    129   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
  119    130   
                crate::operation::xml_blobs::XmlBlobsError,
  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 XmlBlobsResponseDeserializer;
  128    140   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for XmlBlobsResponseDeserializer {
  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_blobs::de_xml_blobs_http_error(status, headers, body)
  141    153   
        } else {
  142    154   
            crate::protocol_serde::shape_xml_blobs::de_xml_blobs_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 XmlBlobsRequestSerializer;
  149    162   
impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for XmlBlobsRequestSerializer {
  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_blobs::XmlBlobsInput>().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_blobs::XmlBlobsInput,
  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, "/").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_blobs::XmlBlobsInput,
  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("POST").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/x-www-form-urlencoded");
  181    194   
            builder
  182    195   
        };
  183    196   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_xml_blobs_input::ser_xml_blobs_input_input_input(&input)?);
  184    197   
  185    198   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  186    199   
    }
  187    200   
}
         201  +
/* EndpointParamsInterceptorGenerator.kt:86 */
  188    202   
#[derive(Debug)]
  189    203   
struct XmlBlobsEndpointParamsInterceptor;
  190    204   
  191    205   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for XmlBlobsEndpointParamsInterceptor {
  192    206   
    fn name(&self) -> &'static str {
  193    207   
        "XmlBlobsEndpointParamsInterceptor"
  194    208   
    }
  195    209   
  196    210   
    fn read_before_execution(
  197    211   
        &self,
  198    212   
        context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
  199    213   
            '_,
  200    214   
            ::aws_smithy_runtime_api::client::interceptors::context::Input,
  201    215   
            ::aws_smithy_runtime_api::client::interceptors::context::Output,
  202    216   
            ::aws_smithy_runtime_api::client::interceptors::context::Error,
  203    217   
        >,
  204    218   
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  205    219   
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
  206    220   
        let _input = context
  207    221   
            .input()
  208    222   
            .downcast_ref::<XmlBlobsInput>()
  209    223   
            .ok_or("failed to downcast to XmlBlobsInput")?;
  210    224   
  211    225   
        let params = crate::config::endpoint::Params::builder().build().map_err(|err| {
  212    226   
            ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  213    227   
        })?;
  214    228   
        cfg.interceptor_state()
  215    229   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
  216    230   
        ::std::result::Result::Ok(())
  217    231   
    }
  218    232   
}
  219    233   
  220    234   
// The get_* functions below are generated from JMESPath expressions in the
  221    235   
// operationContextParams trait. They target the operation's input shape.
  222    236   
         237  +
/* RustType.kt:516 */
  223    238   
#[allow(unreachable_code, unused_variables)]
         239  +
/* RustType.kt:516 */
  224    240   
#[cfg(test)]
         241  +
/* ProtocolTestGenerator.kt:98 */
  225    242   
mod xml_blobs_test {
  226    243   
  227    244   
    /// Blobs are base64 encoded
  228    245   
    /// Test ID: QueryXmlBlobs
  229    246   
    #[::tokio::test]
  230    247   
    #[::tracing_test::traced_test]
  231    248   
    async fn query_xml_blobs_response() {
  232    249   
        let expected_output = crate::operation::xml_blobs::XmlBlobsOutput::builder()
  233    250   
            .set_data(::std::option::Option::Some(::aws_smithy_types::Blob::new("value")))
  234    251   
            .build();
  235    252   
        let mut http_response = ::aws_smithy_runtime_api::http::Response::try_from(::http::response::Builder::new()
  236    253   
        .header("Content-Type", "text/xml")
  237    254   
        .status(200)
  238    255   
                    .body(::aws_smithy_types::body::SdkBody::from("<XmlBlobsResponse xmlns=\"https://example.com/\">\n    <XmlBlobsResult>\n        <data>dmFsdWU=</data>\n    </XmlBlobsResult>\n</XmlBlobsResponse>\n"))
  239    256   
                    .unwrap()
  240    257   
                    ).unwrap();
  241    258   
        use ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin;
  242    259   
        use ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse;
  243    260   
  244    261   
        let op = crate::operation::xml_blobs::XmlBlobs::new();
  245    262   
        let config = op.config().expect("the operation has config");
  246    263   
        let de = config
  247    264   
            .load::<::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer>()
  248    265   
            .expect("the config must have a deserializer");
  249    266   
  250    267   
        let parsed = de.deserialize_streaming(&mut http_response);
  251    268   
        let parsed = parsed.unwrap_or_else(|| {
  252    269   
            let http_response = http_response.map(|body| {
  253    270   
                ::aws_smithy_types::body::SdkBody::from(::bytes::Bytes::copy_from_slice(&::aws_smithy_protocol_test::decode_body_data(
  254    271   
                    body.bytes().unwrap(),
  255    272   
                    ::aws_smithy_protocol_test::MediaType::from("application/xml"),
  256    273   
                )))
  257    274   
            });
  258    275   
            de.deserialize_nonstreaming(&http_response)
  259    276   
        });
  260    277   
        let parsed = parsed
  261    278   
            .expect("should be successful response")
  262    279   
            .downcast::<crate::operation::xml_blobs::XmlBlobsOutput>()
  263    280   
            .unwrap();
  264    281   
        ::pretty_assertions::assert_eq!(parsed.data, expected_output.data, "Unexpected value for `data`");
  265    282   
    }
         283  +
         284  +
    /* ProtocolTestGenerator.kt:98 */
  266    285   
}
  267    286   
         287  +
/* OperationErrorGenerator.kt:79 */
  268    288   
/// Error type for the `XmlBlobsError` operation.
         289  +
/* RustType.kt:516 */
  269    290   
#[non_exhaustive]
         291  +
/* RustType.kt:516 */
  270    292   
#[derive(::std::fmt::Debug)]
  271         -
pub enum XmlBlobsError {
         293  +
pub /* OperationErrorGenerator.kt:81 */ enum XmlBlobsError {
         294  +
    /* OperationErrorGenerator.kt:88 */
  272    295   
    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
  273    296   
    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
  274    297   
    variable wildcard pattern and check `.code()`:
  275    298   
     \
  276    299   
    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
  277    300   
     \
  278    301   
    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-XmlBlobsError) for what information is available for the error.")]
  279    302   
    Unhandled(crate::error::sealed_unhandled::Unhandled),
         303  +
    /* OperationErrorGenerator.kt:81 */
  280    304   
}
         305  +
/* OperationErrorGenerator.kt:218 */
  281    306   
impl XmlBlobsError {
         307  +
    /* OperationErrorGenerator.kt:219 */
  282    308   
    /// Creates the `XmlBlobsError::Unhandled` variant from any error type.
  283    309   
    pub fn unhandled(
  284    310   
        err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
  285    311   
    ) -> Self {
  286    312   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  287    313   
            source: err.into(),
  288    314   
            meta: ::std::default::Default::default(),
  289    315   
        })
  290    316   
    }
  291    317   
  292    318   
    /// Creates the `XmlBlobsError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
  293    319   
    pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
  294    320   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  295    321   
            source: err.clone().into(),
  296    322   
            meta: err,
  297    323   
        })
  298    324   
    }
  299         -
    ///
         325  +
    /// /* OperationErrorGenerator.kt:236 */
  300    326   
    /// Returns error metadata, which includes the error code, message,
  301    327   
    /// request ID, and potentially additional information.
  302    328   
    ///
         329  +
    /* OperationErrorGenerator.kt:242 */
  303    330   
    pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         331  +
        /* OperationErrorGenerator.kt:243 */
  304    332   
        match self {
  305         -
            Self::Unhandled(e) => &e.meta,
         333  +
            /* OperationErrorGenerator.kt:251 */ Self::Unhandled(e) => &e.meta,
         334  +
            /* OperationErrorGenerator.kt:243 */
  306    335   
        }
         336  +
        /* OperationErrorGenerator.kt:242 */
  307    337   
    }
         338  +
    /* OperationErrorGenerator.kt:218 */
  308    339   
}
         340  +
/* OperationErrorGenerator.kt:269 */
  309    341   
impl ::std::error::Error for XmlBlobsError {
         342  +
    /* OperationErrorGenerator.kt:270 */
  310    343   
    fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
         344  +
        /* OperationErrorGenerator.kt:318 */
  311    345   
        match self {
  312         -
            Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
         346  +
            /* OperationErrorGenerator.kt:326 */
         347  +
            Self::Unhandled(_inner) => {
         348  +
                /* OperationErrorGenerator.kt:279 */
         349  +
                ::std::option::Option::Some(&*_inner.source)
         350  +
                /* OperationErrorGenerator.kt:326 */
         351  +
            } /* OperationErrorGenerator.kt:318 */
  313    352   
        }
         353  +
        /* OperationErrorGenerator.kt:270 */
  314    354   
    }
         355  +
    /* OperationErrorGenerator.kt:269 */
  315    356   
}
         357  +
/* OperationErrorGenerator.kt:133 */
  316    358   
impl ::std::fmt::Display for XmlBlobsError {
         359  +
    /* OperationErrorGenerator.kt:134 */
  317    360   
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
         361  +
        /* OperationErrorGenerator.kt:318 */
  318    362   
        match self {
         363  +
            /* OperationErrorGenerator.kt:326 */
  319    364   
            Self::Unhandled(_inner) => {
         365  +
                /* OperationErrorGenerator.kt:139 */
  320    366   
                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
  321    367   
                    write!(f, "unhandled error ({code})")
  322    368   
                } else {
  323    369   
                    f.write_str("unhandled error")
  324    370   
                }
  325         -
            }
         371  +
                /* OperationErrorGenerator.kt:326 */
         372  +
            } /* OperationErrorGenerator.kt:318 */
  326    373   
        }
         374  +
        /* OperationErrorGenerator.kt:134 */
  327    375   
    }
         376  +
    /* OperationErrorGenerator.kt:133 */
  328    377   
}
         378  +
/* OperationErrorGenerator.kt:182 */
  329    379   
impl ::aws_smithy_types::retry::ProvideErrorKind for XmlBlobsError {
         380  +
    /* OperationErrorGenerator.kt:186 */
  330    381   
    fn code(&self) -> ::std::option::Option<&str> {
         382  +
        /* OperationErrorGenerator.kt:187 */
  331    383   
        ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
         384  +
        /* OperationErrorGenerator.kt:186 */
  332    385   
    }
         386  +
    /* OperationErrorGenerator.kt:190 */
  333    387   
    fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
         388  +
        /* OperationErrorGenerator.kt:197 */
  334    389   
        ::std::option::Option::None
         390  +
        /* OperationErrorGenerator.kt:190 */
  335    391   
    }
         392  +
    /* OperationErrorGenerator.kt:182 */
  336    393   
}
         394  +
/* OperationErrorGenerator.kt:163 */
  337    395   
impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for XmlBlobsError {
         396  +
    /* OperationErrorGenerator.kt:164 */
  338    397   
    fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         398  +
        /* OperationErrorGenerator.kt:318 */
  339    399   
        match self {
  340         -
            Self::Unhandled(_inner) => &_inner.meta,
         400  +
            /* OperationErrorGenerator.kt:326 */
         401  +
            Self::Unhandled(_inner) => {
         402  +
                /* OperationErrorGenerator.kt:168 */
         403  +
                &_inner.meta
         404  +
                /* OperationErrorGenerator.kt:326 */
         405  +
            } /* OperationErrorGenerator.kt:318 */
  341    406   
        }
         407  +
        /* OperationErrorGenerator.kt:164 */
  342    408   
    }
         409  +
    /* OperationErrorGenerator.kt:163 */
  343    410   
}
         411  +
/* OperationErrorGenerator.kt:109 */
  344    412   
impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for XmlBlobsError {
         413  +
    /* OperationErrorGenerator.kt:110 */
  345    414   
    fn create_unhandled_error(
  346    415   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  347    416   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  348    417   
    ) -> Self {
         418  +
        /* OperationErrorGenerator.kt:121 */
  349    419   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  350    420   
            source,
  351    421   
            meta: meta.unwrap_or_default(),
  352    422   
        })
         423  +
        /* OperationErrorGenerator.kt:110 */
  353    424   
    }
         425  +
    /* OperationErrorGenerator.kt:109 */
  354    426   
}
  355    427   
         428  +
/* CodegenDelegator.kt:255 */
  356    429   
pub use crate::operation::xml_blobs::_xml_blobs_output::XmlBlobsOutput;
  357    430   
         431  +
/* CodegenDelegator.kt:255 */
  358    432   
pub use crate::operation::xml_blobs::_xml_blobs_input::XmlBlobsInput;
  359    433   
         434  +
/* RustModule.kt:172 */
  360    435   
mod _xml_blobs_input;
  361    436   
         437  +
/* RustModule.kt:172 */
  362    438   
mod _xml_blobs_output;
  363    439   
  364         -
/// Builders
         440  +
/// /* CodegenDelegator.kt:51 */Builders
  365    441   
pub mod builders;

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/xml_blobs/_xml_blobs_input.rs

@@ -1,1 +22,42 @@
    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 XmlBlobsInput {}
           8  +
pub /* StructureGenerator.kt:201 */ struct XmlBlobsInput {/* StructureGenerator.kt:201 */}
           9  +
/* ClientCodegenVisitor.kt:237 */
    6     10   
impl XmlBlobsInput {
    7         -
    /// Creates a new builder-style object to manufacture [`XmlBlobsInput`](crate::operation::xml_blobs::XmlBlobsInput).
          11  +
    /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`XmlBlobsInput`](crate::operation::xml_blobs::XmlBlobsInput).
          12  +
    /* BuilderGenerator.kt:175 */
    8     13   
    pub fn builder() -> crate::operation::xml_blobs::builders::XmlBlobsInputBuilder {
          14  +
        /* BuilderGenerator.kt:176 */
    9     15   
        crate::operation::xml_blobs::builders::XmlBlobsInputBuilder::default()
          16  +
        /* BuilderGenerator.kt:175 */
   10     17   
    }
          18  +
    /* ClientCodegenVisitor.kt:237 */
   11     19   
}
   12     20   
   13         -
/// A builder for [`XmlBlobsInput`](crate::operation::xml_blobs::XmlBlobsInput).
          21  +
/// /* BuilderGenerator.kt:342 */A builder for [`XmlBlobsInput`](crate::operation::xml_blobs::XmlBlobsInput).
          22  +
/* RustType.kt:516 */
   14     23   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
          24  +
/* RustType.kt:516 */
   15     25   
#[non_exhaustive]
   16         -
pub struct XmlBlobsInputBuilder {}
          26  +
/* BuilderGenerator.kt:345 */
          27  +
pub struct XmlBlobsInputBuilder {/* BuilderGenerator.kt:345 */}
          28  +
/* BuilderGenerator.kt:355 */
   17     29   
impl XmlBlobsInputBuilder {
   18         -
    /// Consumes the builder and constructs a [`XmlBlobsInput`](crate::operation::xml_blobs::XmlBlobsInput).
          30  +
    /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`XmlBlobsInput`](crate::operation::xml_blobs::XmlBlobsInput).
          31  +
    /* BuilderGenerator.kt:253 */
   19     32   
    pub fn build(self) -> ::std::result::Result<crate::operation::xml_blobs::XmlBlobsInput, ::aws_smithy_types::error::operation::BuildError> {
   20         -
        ::std::result::Result::Ok(crate::operation::xml_blobs::XmlBlobsInput {})
          33  +
        /* BuilderGenerator.kt:254 */
          34  +
        ::std::result::Result::Ok(
          35  +
            /* BuilderGenerator.kt:477 */
          36  +
            crate::operation::xml_blobs::XmlBlobsInput {
          37  +
            /* BuilderGenerator.kt:477 */}, /* BuilderGenerator.kt:254 */
          38  +
        )
          39  +
        /* BuilderGenerator.kt:253 */
   21     40   
    }
          41  +
    /* BuilderGenerator.kt:355 */
   22     42   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/xml_blobs/_xml_blobs_output.rs

@@ -1,1 +47,88 @@
    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 XmlBlobsOutput {
           8  +
pub /* StructureGenerator.kt:201 */ struct XmlBlobsOutput {
           9  +
    /* StructureGenerator.kt:231 */
    6     10   
    #[allow(missing_docs)] // documentation missing in model
    7     11   
    pub data: ::std::option::Option<::aws_smithy_types::Blob>,
          12  +
    /* StructureGenerator.kt:201 */
    8     13   
}
          14  +
/* StructureGenerator.kt:135 */
    9     15   
impl XmlBlobsOutput {
          16  +
    /* StructureGenerator.kt:231 */
   10     17   
    #[allow(missing_docs)] // documentation missing in model
          18  +
                           /* StructureGenerator.kt:166 */
   11     19   
    pub fn data(&self) -> ::std::option::Option<&::aws_smithy_types::Blob> {
          20  +
        /* StructureGenerator.kt:170 */
   12     21   
        self.data.as_ref()
          22  +
        /* StructureGenerator.kt:166 */
   13     23   
    }
          24  +
    /* StructureGenerator.kt:135 */
   14     25   
}
          26  +
/* ClientCodegenVisitor.kt:237 */
   15     27   
impl XmlBlobsOutput {
   16         -
    /// Creates a new builder-style object to manufacture [`XmlBlobsOutput`](crate::operation::xml_blobs::XmlBlobsOutput).
          28  +
    /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`XmlBlobsOutput`](crate::operation::xml_blobs::XmlBlobsOutput).
          29  +
    /* BuilderGenerator.kt:175 */
   17     30   
    pub fn builder() -> crate::operation::xml_blobs::builders::XmlBlobsOutputBuilder {
          31  +
        /* BuilderGenerator.kt:176 */
   18     32   
        crate::operation::xml_blobs::builders::XmlBlobsOutputBuilder::default()
          33  +
        /* BuilderGenerator.kt:175 */
   19     34   
    }
          35  +
    /* ClientCodegenVisitor.kt:237 */
   20     36   
}
   21     37   
   22         -
/// A builder for [`XmlBlobsOutput`](crate::operation::xml_blobs::XmlBlobsOutput).
          38  +
/// /* BuilderGenerator.kt:342 */A builder for [`XmlBlobsOutput`](crate::operation::xml_blobs::XmlBlobsOutput).
          39  +
/* RustType.kt:516 */
   23     40   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
          41  +
/* RustType.kt:516 */
   24     42   
#[non_exhaustive]
          43  +
/* BuilderGenerator.kt:345 */
   25     44   
pub struct XmlBlobsOutputBuilder {
   26         -
    pub(crate) data: ::std::option::Option<::aws_smithy_types::Blob>,
          45  +
    /* BuilderGenerator.kt:275 */ pub(crate) data: ::std::option::Option<::aws_smithy_types::Blob>,
          46  +
    /* BuilderGenerator.kt:345 */
   27     47   
}
          48  +
/* BuilderGenerator.kt:355 */
   28     49   
impl XmlBlobsOutputBuilder {
          50  +
    /* BuilderGenerator.kt:286 */
   29     51   
    #[allow(missing_docs)] // documentation missing in model
          52  +
                           /* BuilderGenerator.kt:291 */
   30     53   
    pub fn data(mut self, input: ::aws_smithy_types::Blob) -> Self {
          54  +
        /* BuilderGenerator.kt:292 */
   31     55   
        self.data = ::std::option::Option::Some(input);
          56  +
        /* BuilderGenerator.kt:293 */
   32     57   
        self
          58  +
        /* BuilderGenerator.kt:291 */
   33     59   
    }
          60  +
    /* BuilderGenerator.kt:312 */
   34     61   
    #[allow(missing_docs)] // documentation missing in model
          62  +
                           /* BuilderGenerator.kt:314 */
   35     63   
    pub fn set_data(mut self, input: ::std::option::Option<::aws_smithy_types::Blob>) -> Self {
          64  +
        /* BuilderGenerator.kt:315 */
   36     65   
        self.data = input;
   37     66   
        self
          67  +
        /* BuilderGenerator.kt:314 */
   38     68   
    }
          69  +
    /* BuilderGenerator.kt:334 */
   39     70   
    #[allow(missing_docs)] // documentation missing in model
          71  +
                           /* BuilderGenerator.kt:336 */
   40     72   
    pub fn get_data(&self) -> &::std::option::Option<::aws_smithy_types::Blob> {
          73  +
        /* BuilderGenerator.kt:337 */
   41     74   
        &self.data
          75  +
        /* BuilderGenerator.kt:336 */
   42     76   
    }
   43         -
    /// Consumes the builder and constructs a [`XmlBlobsOutput`](crate::operation::xml_blobs::XmlBlobsOutput).
          77  +
    /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`XmlBlobsOutput`](crate::operation::xml_blobs::XmlBlobsOutput).
          78  +
    /* BuilderGenerator.kt:253 */
   44     79   
    pub fn build(self) -> crate::operation::xml_blobs::XmlBlobsOutput {
   45         -
        crate::operation::xml_blobs::XmlBlobsOutput { data: self.data }
          80  +
        /* BuilderGenerator.kt:477 */
          81  +
        crate::operation::xml_blobs::XmlBlobsOutput {
          82  +
            /* BuilderGenerator.kt:481 */ data: self.data,
          83  +
            /* BuilderGenerator.kt:477 */
          84  +
        }
          85  +
        /* BuilderGenerator.kt:253 */
   46     86   
    }
          87  +
    /* BuilderGenerator.kt:355 */
   47     88   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/xml_blobs/builders.rs

@@ -1,1 +102,114 @@
    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_blobs::_xml_blobs_output::XmlBlobsOutputBuilder;
    3      4   
           5  +
/* CodegenDelegator.kt:255 */
    4      6   
pub use crate::operation::xml_blobs::_xml_blobs_input::XmlBlobsInputBuilder;
    5      7   
           8  +
/* FluentBuilderGenerator.kt:408 */
    6      9   
impl crate::operation::xml_blobs::builders::XmlBlobsInputBuilder {
    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_blobs::XmlBlobsOutput,
   13     16   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     17   
            crate::operation::xml_blobs::XmlBlobsError,
   15     18   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   16     19   
        >,
   17     20   
    > {
   18     21   
        let mut fluent_builder = client.xml_blobs();
   19     22   
        fluent_builder.inner = self;
   20     23   
        fluent_builder.send().await
   21     24   
    }
   22     25   
}
   23         -
/// Fluent builder constructing a request to `XmlBlobs`.
          26  +
/// /* FluentBuilderGenerator.kt:129 */Fluent builder constructing a request to `XmlBlobs`.
   24     27   
///
   25         -
/// Blobs are base64 encoded
          28  +
/// /* FluentBuilderGenerator.kt:130 */Blobs are base64 encoded
          29  +
/* RustType.kt:516 */
   26     30   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
          31  +
/* FluentBuilderGenerator.kt:270 */
   27     32   
pub struct XmlBlobsFluentBuilder {
   28     33   
    handle: ::std::sync::Arc<crate::client::Handle>,
   29     34   
    inner: crate::operation::xml_blobs::builders::XmlBlobsInputBuilder,
   30     35   
    config_override: ::std::option::Option<crate::config::Builder>,
   31     36   
}
          37  +
/* FluentBuilderGenerator.kt:381 */
   32     38   
impl crate::client::customize::internal::CustomizableSend<crate::operation::xml_blobs::XmlBlobsOutput, crate::operation::xml_blobs::XmlBlobsError>
   33     39   
    for XmlBlobsFluentBuilder
   34     40   
{
   35     41   
    fn send(
   36     42   
        self,
   37     43   
        config_override: crate::config::Builder,
   38     44   
    ) -> crate::client::customize::internal::BoxFuture<
   39     45   
        crate::client::customize::internal::SendResult<crate::operation::xml_blobs::XmlBlobsOutput, crate::operation::xml_blobs::XmlBlobsError>,
   40     46   
    > {
   41     47   
        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
   42     48   
    }
   43     49   
}
          50  +
/* FluentBuilderGenerator.kt:282 */
   44     51   
impl XmlBlobsFluentBuilder {
          52  +
    /* FluentBuilderGenerator.kt:288 */
   45     53   
    /// Creates a new `XmlBlobsFluentBuilder`.
   46     54   
    pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
   47     55   
        Self {
   48     56   
            handle,
   49     57   
            inner: ::std::default::Default::default(),
   50     58   
            config_override: ::std::option::Option::None,
   51     59   
        }
   52     60   
    }
          61  +
    /* FluentBuilderGenerator.kt:301 */
   53     62   
    /// Access the XmlBlobs as a reference.
   54     63   
    pub fn as_input(&self) -> &crate::operation::xml_blobs::builders::XmlBlobsInputBuilder {
   55     64   
        &self.inner
   56     65   
    }
          66  +
    /* FluentBuilderGenerator.kt:145 */
   57     67   
    /// Sends the request and returns the response.
   58     68   
    ///
   59     69   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   60     70   
    /// can be matched against.
   61     71   
    ///
   62     72   
    /// By default, any retryable failures will be retried twice. Retry behavior
   63     73   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   64     74   
    /// set when configuring the client.
   65     75   
    pub async fn send(
   66     76   
        self,
   67     77   
    ) -> ::std::result::Result<
   68     78   
        crate::operation::xml_blobs::XmlBlobsOutput,
   69     79   
        ::aws_smithy_runtime_api::client::result::SdkError<
   70     80   
            crate::operation::xml_blobs::XmlBlobsError,
   71     81   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   72     82   
        >,
   73     83   
    > {
   74     84   
        let input = self
   75     85   
            .inner
   76     86   
            .build()
   77     87   
            .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
   78     88   
        let runtime_plugins = crate::operation::xml_blobs::XmlBlobs::operation_runtime_plugins(
   79     89   
            self.handle.runtime_plugins.clone(),
   80     90   
            &self.handle.conf,
   81     91   
            self.config_override,
   82     92   
        );
   83     93   
        crate::operation::xml_blobs::XmlBlobs::orchestrate(&runtime_plugins, input).await
   84     94   
    }
   85     95   
   86     96   
    /// Consumes this builder, creating a customizable operation that can be modified before being sent.
   87     97   
    pub fn customize(
   88     98   
        self,
   89     99   
    ) -> crate::client::customize::CustomizableOperation<crate::operation::xml_blobs::XmlBlobsOutput, crate::operation::xml_blobs::XmlBlobsError, Self>
   90    100   
    {
   91    101   
        crate::client::customize::CustomizableOperation::new(self)
   92    102   
    }
         103  +
    /* FluentBuilderGenerator.kt:315 */
   93    104   
    pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
   94    105   
        self.set_config_override(::std::option::Option::Some(config_override.into()));
   95    106   
        self
   96    107   
    }
   97    108   
   98    109   
    pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
   99    110   
        self.config_override = config_override;
  100    111   
        self
  101    112   
    }
         113  +
    /* FluentBuilderGenerator.kt:282 */
  102    114   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/xml_empty_blobs.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 `XmlEmptyBlobs`.
           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 XmlEmptyBlobs;
          10  +
/* OperationGenerator.kt:85 */
    6     11   
impl XmlEmptyBlobs {
    7         -
    /// Creates a new `XmlEmptyBlobs`
          12  +
    /// /* OperationGenerator.kt:86 */Creates a new `XmlEmptyBlobs`
          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_empty_blobs::XmlEmptyBlobsInput,
   14     23   
    ) -> ::std::result::Result<
   15     24   
        crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput,
   16     25   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     26   
            crate::operation::xml_empty_blobs::XmlEmptyBlobsError,
   18     27   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     28   
        >,
   20     29   
    > {
@@ -57,66 +262,279 @@
   77     86   
                runtime_plugins = runtime_plugins.with_operation_plugin(plugin);
   78     87   
            }
   79     88   
            runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new(
   80     89   
                config_override,
   81     90   
                client_config.config.clone(),
   82     91   
                &client_config.runtime_components,
   83     92   
            ));
   84     93   
        }
   85     94   
        runtime_plugins
   86     95   
    }
          96  +
    /* OperationGenerator.kt:85 */
   87     97   
}
          98  +
/* OperationRuntimePluginGenerator.kt:55 */
   88     99   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for XmlEmptyBlobs {
   89    100   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
   90    101   
        let mut cfg = ::aws_smithy_types::config_bag::Layer::new("XmlEmptyBlobs");
   91    102   
   92    103   
        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
   93    104   
            XmlEmptyBlobsRequestSerializer,
   94    105   
        ));
   95    106   
        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
   96    107   
            XmlEmptyBlobsResponseDeserializer,
   97    108   
        ));
   98    109   
   99    110   
        cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
  100    111   
            ::aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolverParams::new(),
  101    112   
        ));
  102    113   
  103    114   
        cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
  104    115   
            "XmlEmptyBlobs",
  105    116   
            "Query Protocol",
  106    117   
        ));
  107    118   
  108    119   
        ::std::option::Option::Some(cfg.freeze())
  109    120   
    }
  110    121   
  111    122   
    fn runtime_components(
  112    123   
        &self,
  113    124   
        _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
  114    125   
    ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
  115    126   
        #[allow(unused_mut)]
  116    127   
        let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("XmlEmptyBlobs")
  117    128   
            .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
  118    129   
            .with_interceptor(XmlEmptyBlobsEndpointParamsInterceptor)
  119    130   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
  120    131   
                crate::operation::xml_empty_blobs::XmlEmptyBlobsError,
  121    132   
            >::new())
  122    133   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
  123    134   
                crate::operation::xml_empty_blobs::XmlEmptyBlobsError,
  124    135   
            >::new());
  125    136   
  126    137   
        ::std::borrow::Cow::Owned(rcb)
  127    138   
    }
  128    139   
}
  129    140   
         141  +
/* ResponseDeserializerGenerator.kt:64 */
  130    142   
#[derive(Debug)]
  131    143   
struct XmlEmptyBlobsResponseDeserializer;
  132    144   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for XmlEmptyBlobsResponseDeserializer {
  133    145   
    fn deserialize_nonstreaming(
  134    146   
        &self,
  135    147   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
  136    148   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  137    149   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  138    150   
        let headers = response.headers();
  139    151   
        let body = response.body().bytes().expect("body loaded");
  140    152   
        #[allow(unused_mut)]
  141    153   
        let mut force_error = false;
  142    154   
  143    155   
        let parse_result = if !success && status != 200 || force_error {
  144    156   
            crate::protocol_serde::shape_xml_empty_blobs::de_xml_empty_blobs_http_error(status, headers, body)
  145    157   
        } else {
  146    158   
            crate::protocol_serde::shape_xml_empty_blobs::de_xml_empty_blobs_http_response(status, headers, body)
  147    159   
        };
  148    160   
        crate::protocol_serde::type_erase_result(parse_result)
  149    161   
    }
  150    162   
}
         163  +
/* RequestSerializerGenerator.kt:67 */
  151    164   
#[derive(Debug)]
  152    165   
struct XmlEmptyBlobsRequestSerializer;
  153    166   
impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for XmlEmptyBlobsRequestSerializer {
  154    167   
    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
  155    168   
    fn serialize_input(
  156    169   
        &self,
  157    170   
        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
  158    171   
        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  159    172   
    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
  160    173   
        let input = input
  161    174   
            .downcast::<crate::operation::xml_empty_blobs::XmlEmptyBlobsInput>()
  162    175   
            .expect("correct type");
  163    176   
        let _header_serialization_settings = _cfg
  164    177   
            .load::<crate::serialization_settings::HeaderSerializationSettings>()
  165    178   
            .cloned()
  166    179   
            .unwrap_or_default();
  167    180   
        let mut request_builder = {
  168    181   
            fn uri_base(
  169    182   
                _input: &crate::operation::xml_empty_blobs::XmlEmptyBlobsInput,
  170    183   
                output: &mut ::std::string::String,
  171    184   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  172    185   
                use ::std::fmt::Write as _;
  173    186   
                ::std::write!(output, "/").expect("formatting should succeed");
  174    187   
                ::std::result::Result::Ok(())
  175    188   
            }
  176    189   
            #[allow(clippy::unnecessary_wraps)]
  177    190   
            fn update_http_builder(
  178    191   
                input: &crate::operation::xml_empty_blobs::XmlEmptyBlobsInput,
  179    192   
                builder: ::http::request::Builder,
  180    193   
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  181    194   
                let mut uri = ::std::string::String::new();
  182    195   
                uri_base(input, &mut uri)?;
  183    196   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  184    197   
            }
  185    198   
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  186    199   
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  187    200   
            builder
  188    201   
        };
  189    202   
        let body = ::aws_smithy_types::body::SdkBody::from(
  190    203   
            crate::protocol_serde::shape_xml_empty_blobs_input::ser_xml_empty_blobs_input_input_input(&input)?,
  191    204   
        );
  192    205   
  193    206   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  194    207   
    }
  195    208   
}
         209  +
/* EndpointParamsInterceptorGenerator.kt:86 */
  196    210   
#[derive(Debug)]
  197    211   
struct XmlEmptyBlobsEndpointParamsInterceptor;
  198    212   
  199    213   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for XmlEmptyBlobsEndpointParamsInterceptor {
  200    214   
    fn name(&self) -> &'static str {
  201    215   
        "XmlEmptyBlobsEndpointParamsInterceptor"
  202    216   
    }
  203    217   
  204    218   
    fn read_before_execution(
  205    219   
        &self,
  206    220   
        context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
  207    221   
            '_,
  208    222   
            ::aws_smithy_runtime_api::client::interceptors::context::Input,
  209    223   
            ::aws_smithy_runtime_api::client::interceptors::context::Output,
  210    224   
            ::aws_smithy_runtime_api::client::interceptors::context::Error,
  211    225   
        >,
  212    226   
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  213    227   
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
  214    228   
        let _input = context
  215    229   
            .input()
  216    230   
            .downcast_ref::<XmlEmptyBlobsInput>()
  217    231   
            .ok_or("failed to downcast to XmlEmptyBlobsInput")?;
  218    232   
  219    233   
        let params = crate::config::endpoint::Params::builder().build().map_err(|err| {
  220    234   
            ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  221    235   
        })?;
  222    236   
        cfg.interceptor_state()
  223    237   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
  224    238   
        ::std::result::Result::Ok(())
  225    239   
    }
  226    240   
}
  227    241   
  228    242   
// The get_* functions below are generated from JMESPath expressions in the
  229    243   
// operationContextParams trait. They target the operation's input shape.
  230    244   
         245  +
/* RustType.kt:516 */
  231    246   
#[allow(unreachable_code, unused_variables)]
         247  +
/* RustType.kt:516 */
  232    248   
#[cfg(test)]
         249  +
/* ProtocolTestGenerator.kt:98 */
  233    250   
mod xml_empty_blobs_test {
  234    251   
  235    252   
    /// Empty blobs are deserialized as empty string
  236    253   
    /// Test ID: QueryXmlEmptyBlobs
  237    254   
    #[::tokio::test]
  238    255   
    #[::tracing_test::traced_test]
  239    256   
    async fn query_xml_empty_blobs_response() {
  240    257   
        let expected_output = crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput::builder()
  241    258   
            .set_data(::std::option::Option::Some(::aws_smithy_types::Blob::new("")))
  242    259   
            .build();
@@ -284,301 +413,489 @@
  304    321   
                )))
  305    322   
            });
  306    323   
            de.deserialize_nonstreaming(&http_response)
  307    324   
        });
  308    325   
        let parsed = parsed
  309    326   
            .expect("should be successful response")
  310    327   
            .downcast::<crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput>()
  311    328   
            .unwrap();
  312    329   
        ::pretty_assertions::assert_eq!(parsed.data, expected_output.data, "Unexpected value for `data`");
  313    330   
    }
         331  +
         332  +
    /* ProtocolTestGenerator.kt:98 */
  314    333   
}
  315    334   
         335  +
/* OperationErrorGenerator.kt:79 */
  316    336   
/// Error type for the `XmlEmptyBlobsError` operation.
         337  +
/* RustType.kt:516 */
  317    338   
#[non_exhaustive]
         339  +
/* RustType.kt:516 */
  318    340   
#[derive(::std::fmt::Debug)]
  319         -
pub enum XmlEmptyBlobsError {
         341  +
pub /* OperationErrorGenerator.kt:81 */ enum XmlEmptyBlobsError {
         342  +
    /* OperationErrorGenerator.kt:88 */
  320    343   
    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
  321    344   
    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
  322    345   
    variable wildcard pattern and check `.code()`:
  323    346   
     \
  324    347   
    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
  325    348   
     \
  326    349   
    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-XmlEmptyBlobsError) for what information is available for the error.")]
  327    350   
    Unhandled(crate::error::sealed_unhandled::Unhandled),
         351  +
    /* OperationErrorGenerator.kt:81 */
  328    352   
}
         353  +
/* OperationErrorGenerator.kt:218 */
  329    354   
impl XmlEmptyBlobsError {
         355  +
    /* OperationErrorGenerator.kt:219 */
  330    356   
    /// Creates the `XmlEmptyBlobsError::Unhandled` variant from any error type.
  331    357   
    pub fn unhandled(
  332    358   
        err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
  333    359   
    ) -> Self {
  334    360   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  335    361   
            source: err.into(),
  336    362   
            meta: ::std::default::Default::default(),
  337    363   
        })
  338    364   
    }
  339    365   
  340    366   
    /// Creates the `XmlEmptyBlobsError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
  341    367   
    pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
  342    368   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  343    369   
            source: err.clone().into(),
  344    370   
            meta: err,
  345    371   
        })
  346    372   
    }
  347         -
    ///
         373  +
    /// /* OperationErrorGenerator.kt:236 */
  348    374   
    /// Returns error metadata, which includes the error code, message,
  349    375   
    /// request ID, and potentially additional information.
  350    376   
    ///
         377  +
    /* OperationErrorGenerator.kt:242 */
  351    378   
    pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         379  +
        /* OperationErrorGenerator.kt:243 */
  352    380   
        match self {
  353         -
            Self::Unhandled(e) => &e.meta,
         381  +
            /* OperationErrorGenerator.kt:251 */ Self::Unhandled(e) => &e.meta,
         382  +
            /* OperationErrorGenerator.kt:243 */
  354    383   
        }
         384  +
        /* OperationErrorGenerator.kt:242 */
  355    385   
    }
         386  +
    /* OperationErrorGenerator.kt:218 */
  356    387   
}
         388  +
/* OperationErrorGenerator.kt:269 */
  357    389   
impl ::std::error::Error for XmlEmptyBlobsError {
         390  +
    /* OperationErrorGenerator.kt:270 */
  358    391   
    fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
         392  +
        /* OperationErrorGenerator.kt:318 */
  359    393   
        match self {
  360         -
            Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
         394  +
            /* OperationErrorGenerator.kt:326 */
         395  +
            Self::Unhandled(_inner) => {
         396  +
                /* OperationErrorGenerator.kt:279 */
         397  +
                ::std::option::Option::Some(&*_inner.source)
         398  +
                /* OperationErrorGenerator.kt:326 */
         399  +
            } /* OperationErrorGenerator.kt:318 */
  361    400   
        }
         401  +
        /* OperationErrorGenerator.kt:270 */
  362    402   
    }
         403  +
    /* OperationErrorGenerator.kt:269 */
  363    404   
}
         405  +
/* OperationErrorGenerator.kt:133 */
  364    406   
impl ::std::fmt::Display for XmlEmptyBlobsError {
         407  +
    /* OperationErrorGenerator.kt:134 */
  365    408   
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
         409  +
        /* OperationErrorGenerator.kt:318 */
  366    410   
        match self {
         411  +
            /* OperationErrorGenerator.kt:326 */
  367    412   
            Self::Unhandled(_inner) => {
         413  +
                /* OperationErrorGenerator.kt:139 */
  368    414   
                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
  369    415   
                    write!(f, "unhandled error ({code})")
  370    416   
                } else {
  371    417   
                    f.write_str("unhandled error")
  372    418   
                }
  373         -
            }
         419  +
                /* OperationErrorGenerator.kt:326 */
         420  +
            } /* OperationErrorGenerator.kt:318 */
  374    421   
        }
         422  +
        /* OperationErrorGenerator.kt:134 */
  375    423   
    }
         424  +
    /* OperationErrorGenerator.kt:133 */
  376    425   
}
         426  +
/* OperationErrorGenerator.kt:182 */
  377    427   
impl ::aws_smithy_types::retry::ProvideErrorKind for XmlEmptyBlobsError {
         428  +
    /* OperationErrorGenerator.kt:186 */
  378    429   
    fn code(&self) -> ::std::option::Option<&str> {
         430  +
        /* OperationErrorGenerator.kt:187 */
  379    431   
        ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
         432  +
        /* OperationErrorGenerator.kt:186 */
  380    433   
    }
         434  +
    /* OperationErrorGenerator.kt:190 */
  381    435   
    fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
         436  +
        /* OperationErrorGenerator.kt:197 */
  382    437   
        ::std::option::Option::None
         438  +
        /* OperationErrorGenerator.kt:190 */
  383    439   
    }
         440  +
    /* OperationErrorGenerator.kt:182 */
  384    441   
}
         442  +
/* OperationErrorGenerator.kt:163 */
  385    443   
impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for XmlEmptyBlobsError {
         444  +
    /* OperationErrorGenerator.kt:164 */
  386    445   
    fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         446  +
        /* OperationErrorGenerator.kt:318 */
  387    447   
        match self {
  388         -
            Self::Unhandled(_inner) => &_inner.meta,
         448  +
            /* OperationErrorGenerator.kt:326 */
         449  +
            Self::Unhandled(_inner) => {
         450  +
                /* OperationErrorGenerator.kt:168 */
         451  +
                &_inner.meta
         452  +
                /* OperationErrorGenerator.kt:326 */
         453  +
            } /* OperationErrorGenerator.kt:318 */
  389    454   
        }
         455  +
        /* OperationErrorGenerator.kt:164 */
  390    456   
    }
         457  +
    /* OperationErrorGenerator.kt:163 */
  391    458   
}
         459  +
/* OperationErrorGenerator.kt:109 */
  392    460   
impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for XmlEmptyBlobsError {
         461  +
    /* OperationErrorGenerator.kt:110 */
  393    462   
    fn create_unhandled_error(
  394    463   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  395    464   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  396    465   
    ) -> Self {
         466  +
        /* OperationErrorGenerator.kt:121 */
  397    467   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  398    468   
            source,
  399    469   
            meta: meta.unwrap_or_default(),
  400    470   
        })
         471  +
        /* OperationErrorGenerator.kt:110 */
  401    472   
    }
         473  +
    /* OperationErrorGenerator.kt:109 */
  402    474   
}
  403    475   
         476  +
/* CodegenDelegator.kt:255 */
  404    477   
pub use crate::operation::xml_empty_blobs::_xml_empty_blobs_output::XmlEmptyBlobsOutput;
  405    478   
         479  +
/* CodegenDelegator.kt:255 */
  406    480   
pub use crate::operation::xml_empty_blobs::_xml_empty_blobs_input::XmlEmptyBlobsInput;
  407    481   
         482  +
/* RustModule.kt:172 */
  408    483   
mod _xml_empty_blobs_input;
  409    484   
         485  +
/* RustModule.kt:172 */
  410    486   
mod _xml_empty_blobs_output;
  411    487   
  412         -
/// Builders
         488  +
/// /* CodegenDelegator.kt:51 */Builders
  413    489   
pub mod builders;

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/xml_empty_blobs/_xml_empty_blobs_input.rs

@@ -1,1 +24,44 @@
    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 XmlEmptyBlobsInput {}
           8  +
pub /* StructureGenerator.kt:201 */ struct XmlEmptyBlobsInput {/* StructureGenerator.kt:201 */}
           9  +
/* ClientCodegenVisitor.kt:237 */
    6     10   
impl XmlEmptyBlobsInput {
    7         -
    /// Creates a new builder-style object to manufacture [`XmlEmptyBlobsInput`](crate::operation::xml_empty_blobs::XmlEmptyBlobsInput).
          11  +
    /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`XmlEmptyBlobsInput`](crate::operation::xml_empty_blobs::XmlEmptyBlobsInput).
          12  +
    /* BuilderGenerator.kt:175 */
    8     13   
    pub fn builder() -> crate::operation::xml_empty_blobs::builders::XmlEmptyBlobsInputBuilder {
          14  +
        /* BuilderGenerator.kt:176 */
    9     15   
        crate::operation::xml_empty_blobs::builders::XmlEmptyBlobsInputBuilder::default()
          16  +
        /* BuilderGenerator.kt:175 */
   10     17   
    }
          18  +
    /* ClientCodegenVisitor.kt:237 */
   11     19   
}
   12     20   
   13         -
/// A builder for [`XmlEmptyBlobsInput`](crate::operation::xml_empty_blobs::XmlEmptyBlobsInput).
          21  +
/// /* BuilderGenerator.kt:342 */A builder for [`XmlEmptyBlobsInput`](crate::operation::xml_empty_blobs::XmlEmptyBlobsInput).
          22  +
/* RustType.kt:516 */
   14     23   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
          24  +
/* RustType.kt:516 */
   15     25   
#[non_exhaustive]
   16         -
pub struct XmlEmptyBlobsInputBuilder {}
          26  +
/* BuilderGenerator.kt:345 */
          27  +
pub struct XmlEmptyBlobsInputBuilder {/* BuilderGenerator.kt:345 */}
          28  +
/* BuilderGenerator.kt:355 */
   17     29   
impl XmlEmptyBlobsInputBuilder {
   18         -
    /// Consumes the builder and constructs a [`XmlEmptyBlobsInput`](crate::operation::xml_empty_blobs::XmlEmptyBlobsInput).
          30  +
    /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`XmlEmptyBlobsInput`](crate::operation::xml_empty_blobs::XmlEmptyBlobsInput).
          31  +
    /* BuilderGenerator.kt:253 */
   19     32   
    pub fn build(
   20     33   
        self,
   21     34   
    ) -> ::std::result::Result<crate::operation::xml_empty_blobs::XmlEmptyBlobsInput, ::aws_smithy_types::error::operation::BuildError> {
   22         -
        ::std::result::Result::Ok(crate::operation::xml_empty_blobs::XmlEmptyBlobsInput {})
          35  +
        /* BuilderGenerator.kt:254 */
          36  +
        ::std::result::Result::Ok(
          37  +
            /* BuilderGenerator.kt:477 */
          38  +
            crate::operation::xml_empty_blobs::XmlEmptyBlobsInput {
          39  +
            /* BuilderGenerator.kt:477 */}, /* BuilderGenerator.kt:254 */
          40  +
        )
          41  +
        /* BuilderGenerator.kt:253 */
   23     42   
    }
          43  +
    /* BuilderGenerator.kt:355 */
   24     44   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/xml_empty_blobs/_xml_empty_blobs_output.rs

@@ -1,1 +47,88 @@
    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 XmlEmptyBlobsOutput {
           8  +
pub /* StructureGenerator.kt:201 */ struct XmlEmptyBlobsOutput {
           9  +
    /* StructureGenerator.kt:231 */
    6     10   
    #[allow(missing_docs)] // documentation missing in model
    7     11   
    pub data: ::std::option::Option<::aws_smithy_types::Blob>,
          12  +
    /* StructureGenerator.kt:201 */
    8     13   
}
          14  +
/* StructureGenerator.kt:135 */
    9     15   
impl XmlEmptyBlobsOutput {
          16  +
    /* StructureGenerator.kt:231 */
   10     17   
    #[allow(missing_docs)] // documentation missing in model
          18  +
                           /* StructureGenerator.kt:166 */
   11     19   
    pub fn data(&self) -> ::std::option::Option<&::aws_smithy_types::Blob> {
          20  +
        /* StructureGenerator.kt:170 */
   12     21   
        self.data.as_ref()
          22  +
        /* StructureGenerator.kt:166 */
   13     23   
    }
          24  +
    /* StructureGenerator.kt:135 */
   14     25   
}
          26  +
/* ClientCodegenVisitor.kt:237 */
   15     27   
impl XmlEmptyBlobsOutput {
   16         -
    /// Creates a new builder-style object to manufacture [`XmlEmptyBlobsOutput`](crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput).
          28  +
    /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`XmlEmptyBlobsOutput`](crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput).
          29  +
    /* BuilderGenerator.kt:175 */
   17     30   
    pub fn builder() -> crate::operation::xml_empty_blobs::builders::XmlEmptyBlobsOutputBuilder {
          31  +
        /* BuilderGenerator.kt:176 */
   18     32   
        crate::operation::xml_empty_blobs::builders::XmlEmptyBlobsOutputBuilder::default()
          33  +
        /* BuilderGenerator.kt:175 */
   19     34   
    }
          35  +
    /* ClientCodegenVisitor.kt:237 */
   20     36   
}
   21     37   
   22         -
/// A builder for [`XmlEmptyBlobsOutput`](crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput).
          38  +
/// /* BuilderGenerator.kt:342 */A builder for [`XmlEmptyBlobsOutput`](crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput).
          39  +
/* RustType.kt:516 */
   23     40   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
          41  +
/* RustType.kt:516 */
   24     42   
#[non_exhaustive]
          43  +
/* BuilderGenerator.kt:345 */
   25     44   
pub struct XmlEmptyBlobsOutputBuilder {
   26         -
    pub(crate) data: ::std::option::Option<::aws_smithy_types::Blob>,
          45  +
    /* BuilderGenerator.kt:275 */ pub(crate) data: ::std::option::Option<::aws_smithy_types::Blob>,
          46  +
    /* BuilderGenerator.kt:345 */
   27     47   
}
          48  +
/* BuilderGenerator.kt:355 */
   28     49   
impl XmlEmptyBlobsOutputBuilder {
          50  +
    /* BuilderGenerator.kt:286 */
   29     51   
    #[allow(missing_docs)] // documentation missing in model
          52  +
                           /* BuilderGenerator.kt:291 */
   30     53   
    pub fn data(mut self, input: ::aws_smithy_types::Blob) -> Self {
          54  +
        /* BuilderGenerator.kt:292 */
   31     55   
        self.data = ::std::option::Option::Some(input);
          56  +
        /* BuilderGenerator.kt:293 */
   32     57   
        self
          58  +
        /* BuilderGenerator.kt:291 */
   33     59   
    }
          60  +
    /* BuilderGenerator.kt:312 */
   34     61   
    #[allow(missing_docs)] // documentation missing in model
          62  +
                           /* BuilderGenerator.kt:314 */
   35     63   
    pub fn set_data(mut self, input: ::std::option::Option<::aws_smithy_types::Blob>) -> Self {
          64  +
        /* BuilderGenerator.kt:315 */
   36     65   
        self.data = input;
   37     66   
        self
          67  +
        /* BuilderGenerator.kt:314 */
   38     68   
    }
          69  +
    /* BuilderGenerator.kt:334 */
   39     70   
    #[allow(missing_docs)] // documentation missing in model
          71  +
                           /* BuilderGenerator.kt:336 */
   40     72   
    pub fn get_data(&self) -> &::std::option::Option<::aws_smithy_types::Blob> {
          73  +
        /* BuilderGenerator.kt:337 */
   41     74   
        &self.data
          75  +
        /* BuilderGenerator.kt:336 */
   42     76   
    }
   43         -
    /// Consumes the builder and constructs a [`XmlEmptyBlobsOutput`](crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput).
          77  +
    /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`XmlEmptyBlobsOutput`](crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput).
          78  +
    /* BuilderGenerator.kt:253 */
   44     79   
    pub fn build(self) -> crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput {
   45         -
        crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput { data: self.data }
          80  +
        /* BuilderGenerator.kt:477 */
          81  +
        crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput {
          82  +
            /* BuilderGenerator.kt:481 */ data: self.data,
          83  +
            /* BuilderGenerator.kt:477 */
          84  +
        }
          85  +
        /* BuilderGenerator.kt:253 */
   46     86   
    }
          87  +
    /* BuilderGenerator.kt:355 */
   47     88   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/xml_empty_blobs/builders.rs

@@ -1,1 +110,122 @@
    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_empty_blobs::_xml_empty_blobs_output::XmlEmptyBlobsOutputBuilder;
    3      4   
           5  +
/* CodegenDelegator.kt:255 */
    4      6   
pub use crate::operation::xml_empty_blobs::_xml_empty_blobs_input::XmlEmptyBlobsInputBuilder;
    5      7   
           8  +
/* FluentBuilderGenerator.kt:408 */
    6      9   
impl crate::operation::xml_empty_blobs::builders::XmlEmptyBlobsInputBuilder {
    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_empty_blobs::XmlEmptyBlobsOutput,
   13     16   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     17   
            crate::operation::xml_empty_blobs::XmlEmptyBlobsError,
   15     18   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   16     19   
        >,
   17     20   
    > {
   18     21   
        let mut fluent_builder = client.xml_empty_blobs();
   19     22   
        fluent_builder.inner = self;
   20     23   
        fluent_builder.send().await
   21     24   
    }
   22     25   
}
   23         -
/// Fluent builder constructing a request to `XmlEmptyBlobs`.
          26  +
/// /* FluentBuilderGenerator.kt:129 */Fluent builder constructing a request to `XmlEmptyBlobs`.
   24     27   
///
          28  +
/* RustType.kt:516 */
   25     29   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
          30  +
/* FluentBuilderGenerator.kt:270 */
   26     31   
pub struct XmlEmptyBlobsFluentBuilder {
   27     32   
    handle: ::std::sync::Arc<crate::client::Handle>,
   28     33   
    inner: crate::operation::xml_empty_blobs::builders::XmlEmptyBlobsInputBuilder,
   29     34   
    config_override: ::std::option::Option<crate::config::Builder>,
   30     35   
}
          36  +
/* FluentBuilderGenerator.kt:381 */
   31     37   
impl
   32     38   
    crate::client::customize::internal::CustomizableSend<
   33     39   
        crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput,
   34     40   
        crate::operation::xml_empty_blobs::XmlEmptyBlobsError,
   35     41   
    > for XmlEmptyBlobsFluentBuilder
   36     42   
{
   37     43   
    fn send(
   38     44   
        self,
   39     45   
        config_override: crate::config::Builder,
   40     46   
    ) -> crate::client::customize::internal::BoxFuture<
   41     47   
        crate::client::customize::internal::SendResult<
   42     48   
            crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput,
   43     49   
            crate::operation::xml_empty_blobs::XmlEmptyBlobsError,
   44     50   
        >,
   45     51   
    > {
   46     52   
        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
   47     53   
    }
   48     54   
}
          55  +
/* FluentBuilderGenerator.kt:282 */
   49     56   
impl XmlEmptyBlobsFluentBuilder {
          57  +
    /* FluentBuilderGenerator.kt:288 */
   50     58   
    /// Creates a new `XmlEmptyBlobsFluentBuilder`.
   51     59   
    pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
   52     60   
        Self {
   53     61   
            handle,
   54     62   
            inner: ::std::default::Default::default(),
   55     63   
            config_override: ::std::option::Option::None,
   56     64   
        }
   57     65   
    }
          66  +
    /* FluentBuilderGenerator.kt:301 */
   58     67   
    /// Access the XmlEmptyBlobs as a reference.
   59     68   
    pub fn as_input(&self) -> &crate::operation::xml_empty_blobs::builders::XmlEmptyBlobsInputBuilder {
   60     69   
        &self.inner
   61     70   
    }
          71  +
    /* FluentBuilderGenerator.kt:145 */
   62     72   
    /// Sends the request and returns the response.
   63     73   
    ///
   64     74   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     75   
    /// can be matched against.
   66     76   
    ///
   67     77   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     78   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69     79   
    /// set when configuring the client.
   70     80   
    pub async fn send(
   71     81   
        self,
   72     82   
    ) -> ::std::result::Result<
   73     83   
        crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput,
   74     84   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     85   
            crate::operation::xml_empty_blobs::XmlEmptyBlobsError,
   76     86   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     87   
        >,
   78     88   
    > {
   79     89   
        let input = self
   80     90   
            .inner
   81     91   
            .build()
   82     92   
            .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
   83     93   
        let runtime_plugins = crate::operation::xml_empty_blobs::XmlEmptyBlobs::operation_runtime_plugins(
   84     94   
            self.handle.runtime_plugins.clone(),
   85     95   
            &self.handle.conf,
   86     96   
            self.config_override,
   87     97   
        );
   88     98   
        crate::operation::xml_empty_blobs::XmlEmptyBlobs::orchestrate(&runtime_plugins, input).await
   89     99   
    }
   90    100   
   91    101   
    /// Consumes this builder, creating a customizable operation that can be modified before being sent.
   92    102   
    pub fn customize(
   93    103   
        self,
   94    104   
    ) -> crate::client::customize::CustomizableOperation<
   95    105   
        crate::operation::xml_empty_blobs::XmlEmptyBlobsOutput,
   96    106   
        crate::operation::xml_empty_blobs::XmlEmptyBlobsError,
   97    107   
        Self,
   98    108   
    > {
   99    109   
        crate::client::customize::CustomizableOperation::new(self)
  100    110   
    }
         111  +
    /* FluentBuilderGenerator.kt:315 */
  101    112   
    pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
  102    113   
        self.set_config_override(::std::option::Option::Some(config_override.into()));
  103    114   
        self
  104    115   
    }
  105    116   
  106    117   
    pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
  107    118   
        self.config_override = config_override;
  108    119   
        self
  109    120   
    }
         121  +
    /* FluentBuilderGenerator.kt:282 */
  110    122   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/xml_empty_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 `XmlEmptyLists`.
           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 XmlEmptyLists;
          10  +
/* OperationGenerator.kt:85 */
    6     11   
impl XmlEmptyLists {
    7         -
    /// Creates a new `XmlEmptyLists`
          12  +
    /// /* OperationGenerator.kt:86 */Creates a new `XmlEmptyLists`
          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_empty_lists::XmlEmptyListsInput,
   14     23   
    ) -> ::std::result::Result<
   15     24   
        crate::operation::xml_empty_lists::XmlEmptyListsOutput,
   16     25   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     26   
            crate::operation::xml_empty_lists::XmlEmptyListsError,
   18     27   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     28   
        >,
   20     29   
    > {
@@ -57,66 +262,279 @@
   77     86   
                runtime_plugins = runtime_plugins.with_operation_plugin(plugin);
   78     87   
            }
   79     88   
            runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new(
   80     89   
                config_override,
   81     90   
                client_config.config.clone(),
   82     91   
                &client_config.runtime_components,
   83     92   
            ));
   84     93   
        }
   85     94   
        runtime_plugins
   86     95   
    }
          96  +
    /* OperationGenerator.kt:85 */
   87     97   
}
          98  +
/* OperationRuntimePluginGenerator.kt:55 */
   88     99   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for XmlEmptyLists {
   89    100   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
   90    101   
        let mut cfg = ::aws_smithy_types::config_bag::Layer::new("XmlEmptyLists");
   91    102   
   92    103   
        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
   93    104   
            XmlEmptyListsRequestSerializer,
   94    105   
        ));
   95    106   
        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
   96    107   
            XmlEmptyListsResponseDeserializer,
   97    108   
        ));
   98    109   
   99    110   
        cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
  100    111   
            ::aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolverParams::new(),
  101    112   
        ));
  102    113   
  103    114   
        cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
  104    115   
            "XmlEmptyLists",
  105    116   
            "Query Protocol",
  106    117   
        ));
  107    118   
  108    119   
        ::std::option::Option::Some(cfg.freeze())
  109    120   
    }
  110    121   
  111    122   
    fn runtime_components(
  112    123   
        &self,
  113    124   
        _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
  114    125   
    ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
  115    126   
        #[allow(unused_mut)]
  116    127   
        let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("XmlEmptyLists")
  117    128   
            .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
  118    129   
            .with_interceptor(XmlEmptyListsEndpointParamsInterceptor)
  119    130   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
  120    131   
                crate::operation::xml_empty_lists::XmlEmptyListsError,
  121    132   
            >::new())
  122    133   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
  123    134   
                crate::operation::xml_empty_lists::XmlEmptyListsError,
  124    135   
            >::new());
  125    136   
  126    137   
        ::std::borrow::Cow::Owned(rcb)
  127    138   
    }
  128    139   
}
  129    140   
         141  +
/* ResponseDeserializerGenerator.kt:64 */
  130    142   
#[derive(Debug)]
  131    143   
struct XmlEmptyListsResponseDeserializer;
  132    144   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for XmlEmptyListsResponseDeserializer {
  133    145   
    fn deserialize_nonstreaming(
  134    146   
        &self,
  135    147   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
  136    148   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  137    149   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  138    150   
        let headers = response.headers();
  139    151   
        let body = response.body().bytes().expect("body loaded");
  140    152   
        #[allow(unused_mut)]
  141    153   
        let mut force_error = false;
  142    154   
  143    155   
        let parse_result = if !success && status != 200 || force_error {
  144    156   
            crate::protocol_serde::shape_xml_empty_lists::de_xml_empty_lists_http_error(status, headers, body)
  145    157   
        } else {
  146    158   
            crate::protocol_serde::shape_xml_empty_lists::de_xml_empty_lists_http_response(status, headers, body)
  147    159   
        };
  148    160   
        crate::protocol_serde::type_erase_result(parse_result)
  149    161   
    }
  150    162   
}
         163  +
/* RequestSerializerGenerator.kt:67 */
  151    164   
#[derive(Debug)]
  152    165   
struct XmlEmptyListsRequestSerializer;
  153    166   
impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for XmlEmptyListsRequestSerializer {
  154    167   
    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
  155    168   
    fn serialize_input(
  156    169   
        &self,
  157    170   
        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
  158    171   
        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  159    172   
    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
  160    173   
        let input = input
  161    174   
            .downcast::<crate::operation::xml_empty_lists::XmlEmptyListsInput>()
  162    175   
            .expect("correct type");
  163    176   
        let _header_serialization_settings = _cfg
  164    177   
            .load::<crate::serialization_settings::HeaderSerializationSettings>()
  165    178   
            .cloned()
  166    179   
            .unwrap_or_default();
  167    180   
        let mut request_builder = {
  168    181   
            fn uri_base(
  169    182   
                _input: &crate::operation::xml_empty_lists::XmlEmptyListsInput,
  170    183   
                output: &mut ::std::string::String,
  171    184   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  172    185   
                use ::std::fmt::Write as _;
  173    186   
                ::std::write!(output, "/").expect("formatting should succeed");
  174    187   
                ::std::result::Result::Ok(())
  175    188   
            }
  176    189   
            #[allow(clippy::unnecessary_wraps)]
  177    190   
            fn update_http_builder(
  178    191   
                input: &crate::operation::xml_empty_lists::XmlEmptyListsInput,
  179    192   
                builder: ::http::request::Builder,
  180    193   
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  181    194   
                let mut uri = ::std::string::String::new();
  182    195   
                uri_base(input, &mut uri)?;
  183    196   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  184    197   
            }
  185    198   
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  186    199   
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  187    200   
            builder
  188    201   
        };
  189    202   
        let body = ::aws_smithy_types::body::SdkBody::from(
  190    203   
            crate::protocol_serde::shape_xml_empty_lists_input::ser_xml_empty_lists_input_input_input(&input)?,
  191    204   
        );
  192    205   
  193    206   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  194    207   
    }
  195    208   
}
         209  +
/* EndpointParamsInterceptorGenerator.kt:86 */
  196    210   
#[derive(Debug)]
  197    211   
struct XmlEmptyListsEndpointParamsInterceptor;
  198    212   
  199    213   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for XmlEmptyListsEndpointParamsInterceptor {
  200    214   
    fn name(&self) -> &'static str {
  201    215   
        "XmlEmptyListsEndpointParamsInterceptor"
  202    216   
    }
  203    217   
  204    218   
    fn read_before_execution(
  205    219   
        &self,
  206    220   
        context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
  207    221   
            '_,
  208    222   
            ::aws_smithy_runtime_api::client::interceptors::context::Input,
  209    223   
            ::aws_smithy_runtime_api::client::interceptors::context::Output,
  210    224   
            ::aws_smithy_runtime_api::client::interceptors::context::Error,
  211    225   
        >,
  212    226   
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  213    227   
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
  214    228   
        let _input = context
  215    229   
            .input()
  216    230   
            .downcast_ref::<XmlEmptyListsInput>()
  217    231   
            .ok_or("failed to downcast to XmlEmptyListsInput")?;
  218    232   
  219    233   
        let params = crate::config::endpoint::Params::builder().build().map_err(|err| {
  220    234   
            ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  221    235   
        })?;
  222    236   
        cfg.interceptor_state()
  223    237   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
  224    238   
        ::std::result::Result::Ok(())
  225    239   
    }
  226    240   
}
  227    241   
  228    242   
// The get_* functions below are generated from JMESPath expressions in the
  229    243   
// operationContextParams trait. They target the operation's input shape.
  230    244   
         245  +
/* RustType.kt:516 */
  231    246   
#[allow(unreachable_code, unused_variables)]
         247  +
/* RustType.kt:516 */
  232    248   
#[cfg(test)]
         249  +
/* ProtocolTestGenerator.kt:98 */
  233    250   
mod xml_empty_lists_test {
  234    251   
  235    252   
    /// Deserializes empty XML lists
  236    253   
    /// Test ID: QueryXmlEmptyLists
  237    254   
    #[::tokio::test]
  238    255   
    #[::tracing_test::traced_test]
  239    256   
    async fn query_xml_empty_lists_response() {
  240    257   
        let expected_output = crate::operation::xml_empty_lists::XmlEmptyListsOutput::builder()
  241    258   
            .set_string_list(::std::option::Option::Some(vec![]))
  242    259   
            .set_string_set(::std::option::Option::Some(vec![]))
@@ -294,311 +423,499 @@
  314    331   
            parsed.flattened_list_with_namespace,
  315    332   
            expected_output.flattened_list_with_namespace,
  316    333   
            "Unexpected value for `flattened_list_with_namespace`"
  317    334   
        );
  318    335   
        ::pretty_assertions::assert_eq!(
  319    336   
            parsed.structure_list,
  320    337   
            expected_output.structure_list,
  321    338   
            "Unexpected value for `structure_list`"
  322    339   
        );
  323    340   
    }
         341  +
         342  +
    /* ProtocolTestGenerator.kt:98 */
  324    343   
}
  325    344   
         345  +
/* OperationErrorGenerator.kt:79 */
  326    346   
/// Error type for the `XmlEmptyListsError` operation.
         347  +
/* RustType.kt:516 */
  327    348   
#[non_exhaustive]
         349  +
/* RustType.kt:516 */
  328    350   
#[derive(::std::fmt::Debug)]
  329         -
pub enum XmlEmptyListsError {
         351  +
pub /* OperationErrorGenerator.kt:81 */ enum XmlEmptyListsError {
         352  +
    /* OperationErrorGenerator.kt:88 */
  330    353   
    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
  331    354   
    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
  332    355   
    variable wildcard pattern and check `.code()`:
  333    356   
     \
  334    357   
    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
  335    358   
     \
  336    359   
    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-XmlEmptyListsError) for what information is available for the error.")]
  337    360   
    Unhandled(crate::error::sealed_unhandled::Unhandled),
         361  +
    /* OperationErrorGenerator.kt:81 */
  338    362   
}
         363  +
/* OperationErrorGenerator.kt:218 */
  339    364   
impl XmlEmptyListsError {
         365  +
    /* OperationErrorGenerator.kt:219 */
  340    366   
    /// Creates the `XmlEmptyListsError::Unhandled` variant from any error type.
  341    367   
    pub fn unhandled(
  342    368   
        err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
  343    369   
    ) -> Self {
  344    370   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  345    371   
            source: err.into(),
  346    372   
            meta: ::std::default::Default::default(),
  347    373   
        })
  348    374   
    }
  349    375   
  350    376   
    /// Creates the `XmlEmptyListsError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
  351    377   
    pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
  352    378   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  353    379   
            source: err.clone().into(),
  354    380   
            meta: err,
  355    381   
        })
  356    382   
    }
  357         -
    ///
         383  +
    /// /* OperationErrorGenerator.kt:236 */
  358    384   
    /// Returns error metadata, which includes the error code, message,
  359    385   
    /// request ID, and potentially additional information.
  360    386   
    ///
         387  +
    /* OperationErrorGenerator.kt:242 */
  361    388   
    pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         389  +
        /* OperationErrorGenerator.kt:243 */
  362    390   
        match self {
  363         -
            Self::Unhandled(e) => &e.meta,
         391  +
            /* OperationErrorGenerator.kt:251 */ Self::Unhandled(e) => &e.meta,
         392  +
            /* OperationErrorGenerator.kt:243 */
  364    393   
        }
         394  +
        /* OperationErrorGenerator.kt:242 */
  365    395   
    }
         396  +
    /* OperationErrorGenerator.kt:218 */
  366    397   
}
         398  +
/* OperationErrorGenerator.kt:269 */
  367    399   
impl ::std::error::Error for XmlEmptyListsError {
         400  +
    /* OperationErrorGenerator.kt:270 */
  368    401   
    fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
         402  +
        /* OperationErrorGenerator.kt:318 */
  369    403   
        match self {
  370         -
            Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
         404  +
            /* OperationErrorGenerator.kt:326 */
         405  +
            Self::Unhandled(_inner) => {
         406  +
                /* OperationErrorGenerator.kt:279 */
         407  +
                ::std::option::Option::Some(&*_inner.source)
         408  +
                /* OperationErrorGenerator.kt:326 */
         409  +
            } /* OperationErrorGenerator.kt:318 */
  371    410   
        }
         411  +
        /* OperationErrorGenerator.kt:270 */
  372    412   
    }
         413  +
    /* OperationErrorGenerator.kt:269 */
  373    414   
}
         415  +
/* OperationErrorGenerator.kt:133 */
  374    416   
impl ::std::fmt::Display for XmlEmptyListsError {
         417  +
    /* OperationErrorGenerator.kt:134 */
  375    418   
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
         419  +
        /* OperationErrorGenerator.kt:318 */
  376    420   
        match self {
         421  +
            /* OperationErrorGenerator.kt:326 */
  377    422   
            Self::Unhandled(_inner) => {
         423  +
                /* OperationErrorGenerator.kt:139 */
  378    424   
                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
  379    425   
                    write!(f, "unhandled error ({code})")
  380    426   
                } else {
  381    427   
                    f.write_str("unhandled error")
  382    428   
                }
  383         -
            }
         429  +
                /* OperationErrorGenerator.kt:326 */
         430  +
            } /* OperationErrorGenerator.kt:318 */
  384    431   
        }
         432  +
        /* OperationErrorGenerator.kt:134 */
  385    433   
    }
         434  +
    /* OperationErrorGenerator.kt:133 */
  386    435   
}
         436  +
/* OperationErrorGenerator.kt:182 */
  387    437   
impl ::aws_smithy_types::retry::ProvideErrorKind for XmlEmptyListsError {
         438  +
    /* OperationErrorGenerator.kt:186 */
  388    439   
    fn code(&self) -> ::std::option::Option<&str> {
         440  +
        /* OperationErrorGenerator.kt:187 */
  389    441   
        ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
         442  +
        /* OperationErrorGenerator.kt:186 */
  390    443   
    }
         444  +
    /* OperationErrorGenerator.kt:190 */
  391    445   
    fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
         446  +
        /* OperationErrorGenerator.kt:197 */
  392    447   
        ::std::option::Option::None
         448  +
        /* OperationErrorGenerator.kt:190 */
  393    449   
    }
         450  +
    /* OperationErrorGenerator.kt:182 */
  394    451   
}
         452  +
/* OperationErrorGenerator.kt:163 */
  395    453   
impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for XmlEmptyListsError {
         454  +
    /* OperationErrorGenerator.kt:164 */
  396    455   
    fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         456  +
        /* OperationErrorGenerator.kt:318 */
  397    457   
        match self {
  398         -
            Self::Unhandled(_inner) => &_inner.meta,
         458  +
            /* OperationErrorGenerator.kt:326 */
         459  +
            Self::Unhandled(_inner) => {
         460  +
                /* OperationErrorGenerator.kt:168 */
         461  +
                &_inner.meta
         462  +
                /* OperationErrorGenerator.kt:326 */
         463  +
            } /* OperationErrorGenerator.kt:318 */
  399    464   
        }
         465  +
        /* OperationErrorGenerator.kt:164 */
  400    466   
    }
         467  +
    /* OperationErrorGenerator.kt:163 */
  401    468   
}
         469  +
/* OperationErrorGenerator.kt:109 */
  402    470   
impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for XmlEmptyListsError {
         471  +
    /* OperationErrorGenerator.kt:110 */
  403    472   
    fn create_unhandled_error(
  404    473   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  405    474   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  406    475   
    ) -> Self {
         476  +
        /* OperationErrorGenerator.kt:121 */
  407    477   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  408    478   
            source,
  409    479   
            meta: meta.unwrap_or_default(),
  410    480   
        })
         481  +
        /* OperationErrorGenerator.kt:110 */
  411    482   
    }
         483  +
    /* OperationErrorGenerator.kt:109 */
  412    484   
}
  413    485   
         486  +
/* CodegenDelegator.kt:255 */
  414    487   
pub use crate::operation::xml_empty_lists::_xml_empty_lists_output::XmlEmptyListsOutput;
  415    488   
         489  +
/* CodegenDelegator.kt:255 */
  416    490   
pub use crate::operation::xml_empty_lists::_xml_empty_lists_input::XmlEmptyListsInput;
  417    491   
         492  +
/* RustModule.kt:172 */
  418    493   
mod _xml_empty_lists_input;
  419    494   
         495  +
/* RustModule.kt:172 */
  420    496   
mod _xml_empty_lists_output;
  421    497   
  422         -
/// Builders
         498  +
/// /* CodegenDelegator.kt:51 */Builders
  423    499   
pub mod builders;

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/xml_empty_lists/_xml_empty_lists_input.rs

@@ -1,1 +24,44 @@
    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 XmlEmptyListsInput {}
           8  +
pub /* StructureGenerator.kt:201 */ struct XmlEmptyListsInput {/* StructureGenerator.kt:201 */}
           9  +
/* ClientCodegenVisitor.kt:237 */
    6     10   
impl XmlEmptyListsInput {
    7         -
    /// Creates a new builder-style object to manufacture [`XmlEmptyListsInput`](crate::operation::xml_empty_lists::XmlEmptyListsInput).
          11  +
    /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`XmlEmptyListsInput`](crate::operation::xml_empty_lists::XmlEmptyListsInput).
          12  +
    /* BuilderGenerator.kt:175 */
    8     13   
    pub fn builder() -> crate::operation::xml_empty_lists::builders::XmlEmptyListsInputBuilder {
          14  +
        /* BuilderGenerator.kt:176 */
    9     15   
        crate::operation::xml_empty_lists::builders::XmlEmptyListsInputBuilder::default()
          16  +
        /* BuilderGenerator.kt:175 */
   10     17   
    }
          18  +
    /* ClientCodegenVisitor.kt:237 */
   11     19   
}
   12     20   
   13         -
/// A builder for [`XmlEmptyListsInput`](crate::operation::xml_empty_lists::XmlEmptyListsInput).
          21  +
/// /* BuilderGenerator.kt:342 */A builder for [`XmlEmptyListsInput`](crate::operation::xml_empty_lists::XmlEmptyListsInput).
          22  +
/* RustType.kt:516 */
   14     23   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
          24  +
/* RustType.kt:516 */
   15     25   
#[non_exhaustive]
   16         -
pub struct XmlEmptyListsInputBuilder {}
          26  +
/* BuilderGenerator.kt:345 */
          27  +
pub struct XmlEmptyListsInputBuilder {/* BuilderGenerator.kt:345 */}
          28  +
/* BuilderGenerator.kt:355 */
   17     29   
impl XmlEmptyListsInputBuilder {
   18         -
    /// Consumes the builder and constructs a [`XmlEmptyListsInput`](crate::operation::xml_empty_lists::XmlEmptyListsInput).
          30  +
    /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`XmlEmptyListsInput`](crate::operation::xml_empty_lists::XmlEmptyListsInput).
          31  +
    /* BuilderGenerator.kt:253 */
   19     32   
    pub fn build(
   20     33   
        self,
   21     34   
    ) -> ::std::result::Result<crate::operation::xml_empty_lists::XmlEmptyListsInput, ::aws_smithy_types::error::operation::BuildError> {
   22         -
        ::std::result::Result::Ok(crate::operation::xml_empty_lists::XmlEmptyListsInput {})
          35  +
        /* BuilderGenerator.kt:254 */
          36  +
        ::std::result::Result::Ok(
          37  +
            /* BuilderGenerator.kt:477 */
          38  +
            crate::operation::xml_empty_lists::XmlEmptyListsInput {
          39  +
            /* BuilderGenerator.kt:477 */}, /* BuilderGenerator.kt:254 */
          40  +
        )
          41  +
        /* BuilderGenerator.kt:253 */
   23     42   
    }
          43  +
    /* BuilderGenerator.kt:355 */
   24     44   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/xml_empty_lists/_xml_empty_lists_output.rs

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