Client Test

Client Test

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943 (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/rpcv2Cbor_extras/rust-client-codegen/src/operation/simple_struct_operation.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 `SimpleStructOperation`.
           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 SimpleStructOperation;
          10  +
/* OperationGenerator.kt:85 */
    6     11   
impl SimpleStructOperation {
    7         -
    /// Creates a new `SimpleStructOperation`
          12  +
    /// /* OperationGenerator.kt:86 */Creates a new `SimpleStructOperation`
          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::simple_struct_operation::SimpleStructOperationInput,
   14     23   
    ) -> ::std::result::Result<
   15     24   
        crate::operation::simple_struct_operation::SimpleStructOperationOutput,
   16     25   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     26   
            crate::operation::simple_struct_operation::SimpleStructOperationError,
   18     27   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     28   
        >,
   20     29   
    > {
@@ -63,72 +275,292 @@
   83     92   
                runtime_plugins = runtime_plugins.with_operation_plugin(plugin);
   84     93   
            }
   85     94   
            runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new(
   86     95   
                config_override,
   87     96   
                client_config.config.clone(),
   88     97   
                &client_config.runtime_components,
   89     98   
            ));
   90     99   
        }
   91    100   
        runtime_plugins
   92    101   
    }
         102  +
    /* OperationGenerator.kt:85 */
   93    103   
}
         104  +
/* OperationRuntimePluginGenerator.kt:55 */
   94    105   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for SimpleStructOperation {
   95    106   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
   96    107   
        let mut cfg = ::aws_smithy_types::config_bag::Layer::new("SimpleStructOperation");
   97    108   
   98    109   
        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
   99    110   
            SimpleStructOperationRequestSerializer,
  100    111   
        ));
  101    112   
        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
  102    113   
            SimpleStructOperationResponseDeserializer,
  103    114   
        ));
  104    115   
  105    116   
        cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
  106    117   
            ::aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolverParams::new(),
  107    118   
        ));
  108    119   
  109    120   
        cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
  110    121   
            "SimpleStructOperation",
  111    122   
            "RpcV2CborService",
  112    123   
        ));
  113    124   
  114    125   
        ::std::option::Option::Some(cfg.freeze())
  115    126   
    }
  116    127   
  117    128   
    fn runtime_components(
  118    129   
        &self,
  119    130   
        _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
  120    131   
    ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
  121    132   
        #[allow(unused_mut)]
  122    133   
        let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("SimpleStructOperation")
  123    134   
            .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
  124    135   
            .with_interceptor(SimpleStructOperationEndpointParamsInterceptor)
  125    136   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
  126    137   
                crate::operation::simple_struct_operation::SimpleStructOperationError,
  127    138   
            >::new())
  128    139   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
  129    140   
                crate::operation::simple_struct_operation::SimpleStructOperationError,
  130    141   
            >::new());
  131    142   
  132    143   
        ::std::borrow::Cow::Owned(rcb)
  133    144   
    }
  134    145   
}
  135    146   
         147  +
/* ResponseDeserializerGenerator.kt:64 */
  136    148   
#[derive(Debug)]
  137    149   
struct SimpleStructOperationResponseDeserializer;
  138    150   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for SimpleStructOperationResponseDeserializer {
  139    151   
    fn deserialize_nonstreaming(
  140    152   
        &self,
  141    153   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
  142    154   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  143    155   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  144    156   
        let headers = response.headers();
  145    157   
        let body = response.body().bytes().expect("body loaded");
  146    158   
        #[allow(unused_mut)]
  147    159   
        let mut force_error = false;
  148    160   
  149    161   
        let parse_result = if !success && status != 200 || force_error {
  150    162   
            crate::protocol_serde::shape_simple_struct_operation::de_simple_struct_operation_http_error(status, headers, body)
  151    163   
        } else {
  152    164   
            crate::protocol_serde::shape_simple_struct_operation::de_simple_struct_operation_http_response(status, headers, body)
  153    165   
        };
  154    166   
        crate::protocol_serde::type_erase_result(parse_result)
  155    167   
    }
  156    168   
}
         169  +
/* RequestSerializerGenerator.kt:67 */
  157    170   
#[derive(Debug)]
  158    171   
struct SimpleStructOperationRequestSerializer;
  159    172   
impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for SimpleStructOperationRequestSerializer {
  160    173   
    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
  161    174   
    fn serialize_input(
  162    175   
        &self,
  163    176   
        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
  164    177   
        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  165    178   
    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
  166    179   
        let input = input
  167    180   
            .downcast::<crate::operation::simple_struct_operation::SimpleStructOperationInput>()
  168    181   
            .expect("correct type");
  169    182   
        let _header_serialization_settings = _cfg
  170    183   
            .load::<crate::serialization_settings::HeaderSerializationSettings>()
  171    184   
            .cloned()
  172    185   
            .unwrap_or_default();
  173    186   
        let mut request_builder = {
  174    187   
            fn uri_base(
  175    188   
                _input: &crate::operation::simple_struct_operation::SimpleStructOperationInput,
  176    189   
                output: &mut ::std::string::String,
  177    190   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  178    191   
                use ::std::fmt::Write as _;
  179    192   
                ::std::write!(output, "/service/RpcV2CborService/operation/SimpleStructOperation").expect("formatting should succeed");
  180    193   
                ::std::result::Result::Ok(())
  181    194   
            }
  182    195   
            #[allow(clippy::unnecessary_wraps)]
  183    196   
            fn update_http_builder(
  184    197   
                input: &crate::operation::simple_struct_operation::SimpleStructOperationInput,
  185    198   
                builder: ::http::request::Builder,
  186    199   
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  187    200   
                let mut uri = ::std::string::String::new();
  188    201   
                uri_base(input, &mut uri)?;
  189    202   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  190    203   
            }
  191    204   
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  192    205   
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/cbor");
  193    206   
            builder =
  194    207   
                _header_serialization_settings.set_default_header(builder, ::http::header::HeaderName::from_static("smithy-protocol"), "rpc-v2-cbor");
  195    208   
            builder =
  196    209   
                _header_serialization_settings.set_default_header(builder, ::http::header::HeaderName::from_static("accept"), "application/cbor");
  197    210   
            builder
  198    211   
        };
  199    212   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_simple_struct_operation::ser_simple_struct_operation_input(
  200    213   
            &input,
  201    214   
        )?);
  202    215   
        if let Some(content_length) = body.content_length() {
  203    216   
            let content_length = content_length.to_string();
  204    217   
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
  205    218   
        }
  206    219   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  207    220   
    }
  208    221   
}
         222  +
/* EndpointParamsInterceptorGenerator.kt:86 */
  209    223   
#[derive(Debug)]
  210    224   
struct SimpleStructOperationEndpointParamsInterceptor;
  211    225   
  212    226   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for SimpleStructOperationEndpointParamsInterceptor {
  213    227   
    fn name(&self) -> &'static str {
  214    228   
        "SimpleStructOperationEndpointParamsInterceptor"
  215    229   
    }
  216    230   
  217    231   
    fn read_before_execution(
  218    232   
        &self,
  219    233   
        context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
  220    234   
            '_,
  221    235   
            ::aws_smithy_runtime_api::client::interceptors::context::Input,
  222    236   
            ::aws_smithy_runtime_api::client::interceptors::context::Output,
  223    237   
            ::aws_smithy_runtime_api::client::interceptors::context::Error,
  224    238   
        >,
  225    239   
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  226    240   
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
  227    241   
        let _input = context
  228    242   
            .input()
  229    243   
            .downcast_ref::<SimpleStructOperationInput>()
  230    244   
            .ok_or("failed to downcast to SimpleStructOperationInput")?;
  231    245   
  232    246   
        let params = crate::config::endpoint::Params::builder().build().map_err(|err| {
  233    247   
            ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  234    248   
        })?;
  235    249   
        cfg.interceptor_state()
  236    250   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
  237    251   
        ::std::result::Result::Ok(())
  238    252   
    }
  239    253   
}
  240    254   
  241    255   
// The get_* functions below are generated from JMESPath expressions in the
  242    256   
// operationContextParams trait. They target the operation's input shape.
  243    257   
         258  +
/* RustType.kt:516 */
  244    259   
#[allow(unreachable_code, unused_variables)]
         260  +
/* RustType.kt:516 */
  245    261   
#[cfg(test)]
         262  +
/* ProtocolTestGenerator.kt:98 */
  246    263   
mod simple_struct_operation_test {
  247    264   
    use ::aws_smithy_protocol_test::FloatEquals;
  248    265   
  249    266   
    /// Test ID: SimpleStruct
  250    267   
    #[::tokio::test]
  251    268   
    #[::tracing_test::traced_test]
  252    269   
    async fn simple_struct_response() {
  253    270   
        let expected_output = crate::operation::simple_struct_operation::SimpleStructOperationOutput::builder()
  254    271   
            .set_blob(::std::option::Option::Some(::aws_smithy_types::Blob::new("blobby blob")))
  255    272   
            .set_boolean(::std::option::Option::Some(false))
@@ -502,519 +641,740 @@
  522    539   
            parsed.required_timestamp,
  523    540   
            expected_output.required_timestamp,
  524    541   
            "Unexpected value for `required_timestamp`"
  525    542   
        );
  526    543   
        ::pretty_assertions::assert_eq!(
  527    544   
            parsed.required_enum,
  528    545   
            expected_output.required_enum,
  529    546   
            "Unexpected value for `required_enum`"
  530    547   
        );
  531    548   
    }
         549  +
         550  +
    /* ProtocolTestGenerator.kt:98 */
  532    551   
}
  533    552   
         553  +
/* OperationErrorGenerator.kt:79 */
  534    554   
/// Error type for the `SimpleStructOperationError` operation.
         555  +
/* RustType.kt:516 */
  535    556   
#[non_exhaustive]
         557  +
/* RustType.kt:516 */
  536    558   
#[derive(::std::fmt::Debug)]
  537         -
pub enum SimpleStructOperationError {
  538         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
         559  +
pub /* OperationErrorGenerator.kt:81 */ enum SimpleStructOperationError {
         560  +
    /// /* OperationErrorGenerator.kt:83 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
         561  +
    /* OperationErrorGenerator.kt:86 */
  539    562   
    ValidationError(crate::types::error::ValidationError),
         563  +
    /* OperationErrorGenerator.kt:88 */
  540    564   
    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
  541    565   
    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
  542    566   
    variable wildcard pattern and check `.code()`:
  543    567   
     \
  544    568   
    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
  545    569   
     \
  546    570   
    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-SimpleStructOperationError) for what information is available for the error.")]
  547    571   
    Unhandled(crate::error::sealed_unhandled::Unhandled),
         572  +
    /* OperationErrorGenerator.kt:81 */
  548    573   
}
         574  +
/* OperationErrorGenerator.kt:218 */
  549    575   
impl SimpleStructOperationError {
         576  +
    /* OperationErrorGenerator.kt:219 */
  550    577   
    /// Creates the `SimpleStructOperationError::Unhandled` variant from any error type.
  551    578   
    pub fn unhandled(
  552    579   
        err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
  553    580   
    ) -> Self {
  554    581   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  555    582   
            source: err.into(),
  556    583   
            meta: ::std::default::Default::default(),
  557    584   
        })
  558    585   
    }
  559    586   
  560    587   
    /// Creates the `SimpleStructOperationError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
  561    588   
    pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
  562    589   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  563    590   
            source: err.clone().into(),
  564    591   
            meta: err,
  565    592   
        })
  566    593   
    }
  567         -
    ///
         594  +
    /// /* OperationErrorGenerator.kt:236 */
  568    595   
    /// Returns error metadata, which includes the error code, message,
  569    596   
    /// request ID, and potentially additional information.
  570    597   
    ///
         598  +
    /* OperationErrorGenerator.kt:242 */
  571    599   
    pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         600  +
        /* OperationErrorGenerator.kt:243 */
  572    601   
        match self {
  573         -
            Self::ValidationError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
  574         -
            Self::Unhandled(e) => &e.meta,
         602  +
            /* OperationErrorGenerator.kt:246 */ Self::ValidationError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
         603  +
            /* OperationErrorGenerator.kt:251 */ Self::Unhandled(e) => &e.meta,
         604  +
            /* OperationErrorGenerator.kt:243 */
  575    605   
        }
         606  +
        /* OperationErrorGenerator.kt:242 */
  576    607   
    }
         608  +
    /* OperationErrorGenerator.kt:257 */
  577    609   
    /// Returns `true` if the error kind is `SimpleStructOperationError::ValidationError`.
         610  +
    /* OperationErrorGenerator.kt:258 */
  578    611   
    pub fn is_validation_error(&self) -> bool {
         612  +
        /* OperationErrorGenerator.kt:259 */
  579    613   
        matches!(self, Self::ValidationError(_))
         614  +
        /* OperationErrorGenerator.kt:258 */
  580    615   
    }
         616  +
    /* OperationErrorGenerator.kt:218 */
  581    617   
}
         618  +
/* OperationErrorGenerator.kt:269 */
  582    619   
impl ::std::error::Error for SimpleStructOperationError {
         620  +
    /* OperationErrorGenerator.kt:270 */
  583    621   
    fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
         622  +
        /* OperationErrorGenerator.kt:318 */
  584    623   
        match self {
  585         -
            Self::ValidationError(_inner) => ::std::option::Option::Some(_inner),
  586         -
            Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
         624  +
            /* OperationErrorGenerator.kt:321 */
         625  +
            Self::ValidationError(_inner) =>
         626  +
            /* OperationErrorGenerator.kt:283 */
         627  +
            {
         628  +
                ::std::option::Option::Some(_inner)
         629  +
            }
         630  +
            ,
         631  +
            /* OperationErrorGenerator.kt:326 */
         632  +
            Self::Unhandled(_inner) => {
         633  +
                /* OperationErrorGenerator.kt:279 */
         634  +
                ::std::option::Option::Some(&*_inner.source)
         635  +
                /* OperationErrorGenerator.kt:326 */
         636  +
            } /* OperationErrorGenerator.kt:318 */
  587    637   
        }
         638  +
        /* OperationErrorGenerator.kt:270 */
  588    639   
    }
         640  +
    /* OperationErrorGenerator.kt:269 */
  589    641   
}
         642  +
/* OperationErrorGenerator.kt:133 */
  590    643   
impl ::std::fmt::Display for SimpleStructOperationError {
         644  +
    /* OperationErrorGenerator.kt:134 */
  591    645   
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
         646  +
        /* OperationErrorGenerator.kt:318 */
  592    647   
        match self {
  593         -
            Self::ValidationError(_inner) => _inner.fmt(f),
         648  +
            /* OperationErrorGenerator.kt:321 */
         649  +
            Self::ValidationError(_inner) =>
         650  +
            /* OperationErrorGenerator.kt:151 */
         651  +
            {
         652  +
                _inner.fmt(f)
         653  +
            }
         654  +
            ,
         655  +
            /* OperationErrorGenerator.kt:326 */
  594    656   
            Self::Unhandled(_inner) => {
         657  +
                /* OperationErrorGenerator.kt:139 */
  595    658   
                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
  596    659   
                    write!(f, "unhandled error ({code})")
  597    660   
                } else {
  598    661   
                    f.write_str("unhandled error")
  599    662   
                }
         663  +
                /* OperationErrorGenerator.kt:326 */
         664  +
            } /* OperationErrorGenerator.kt:318 */
  600    665   
        }
         666  +
        /* OperationErrorGenerator.kt:134 */
  601    667   
    }
  602         -
    }
         668  +
    /* OperationErrorGenerator.kt:133 */
  603    669   
}
         670  +
/* OperationErrorGenerator.kt:182 */
  604    671   
impl ::aws_smithy_types::retry::ProvideErrorKind for SimpleStructOperationError {
         672  +
    /* OperationErrorGenerator.kt:186 */
  605    673   
    fn code(&self) -> ::std::option::Option<&str> {
         674  +
        /* OperationErrorGenerator.kt:187 */
  606    675   
        ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
         676  +
        /* OperationErrorGenerator.kt:186 */
  607    677   
    }
         678  +
    /* OperationErrorGenerator.kt:190 */
  608    679   
    fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
         680  +
        /* OperationErrorGenerator.kt:197 */
  609    681   
        ::std::option::Option::None
         682  +
        /* OperationErrorGenerator.kt:190 */
  610    683   
    }
         684  +
    /* OperationErrorGenerator.kt:182 */
  611    685   
}
         686  +
/* OperationErrorGenerator.kt:163 */
  612    687   
impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for SimpleStructOperationError {
         688  +
    /* OperationErrorGenerator.kt:164 */
  613    689   
    fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         690  +
        /* OperationErrorGenerator.kt:318 */
  614    691   
        match self {
  615         -
            Self::ValidationError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
  616         -
            Self::Unhandled(_inner) => &_inner.meta,
         692  +
            /* OperationErrorGenerator.kt:321 */
         693  +
            Self::ValidationError(_inner) =>
         694  +
            /* OperationErrorGenerator.kt:169 */
         695  +
            {
         696  +
                ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
         697  +
            }
         698  +
            ,
         699  +
            /* OperationErrorGenerator.kt:326 */
         700  +
            Self::Unhandled(_inner) => {
         701  +
                /* OperationErrorGenerator.kt:168 */
         702  +
                &_inner.meta
         703  +
                /* OperationErrorGenerator.kt:326 */
         704  +
            } /* OperationErrorGenerator.kt:318 */
  617    705   
        }
         706  +
        /* OperationErrorGenerator.kt:164 */
  618    707   
    }
         708  +
    /* OperationErrorGenerator.kt:163 */
  619    709   
}
         710  +
/* OperationErrorGenerator.kt:109 */
  620    711   
impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for SimpleStructOperationError {
         712  +
    /* OperationErrorGenerator.kt:110 */
  621    713   
    fn create_unhandled_error(
  622    714   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  623    715   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  624    716   
    ) -> Self {
         717  +
        /* OperationErrorGenerator.kt:121 */
  625    718   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  626    719   
            source,
  627    720   
            meta: meta.unwrap_or_default(),
  628    721   
        })
         722  +
        /* OperationErrorGenerator.kt:110 */
  629    723   
    }
         724  +
    /* OperationErrorGenerator.kt:109 */
  630    725   
}
  631    726   
         727  +
/* CodegenDelegator.kt:255 */
  632    728   
pub use crate::operation::simple_struct_operation::_simple_struct_operation_output::SimpleStructOperationOutput;
  633    729   
         730  +
/* CodegenDelegator.kt:255 */
  634    731   
pub use crate::operation::simple_struct_operation::_simple_struct_operation_input::SimpleStructOperationInput;
  635    732   
         733  +
/* RustModule.kt:172 */
  636    734   
mod _simple_struct_operation_input;
  637    735   
         736  +
/* RustModule.kt:172 */
  638    737   
mod _simple_struct_operation_output;
  639    738   
  640         -
/// Builders
         739  +
/// /* CodegenDelegator.kt:51 */Builders
  641    740   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rpcv2Cbor_extras/rust-client-codegen/src/operation/simple_struct_operation/_simple_struct_operation_input.rs

@@ -1,1 +525,957 @@
    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 SimpleStructOperationInput {
           8  +
pub /* StructureGenerator.kt:201 */ struct SimpleStructOperationInput {
           9  +
    /* StructureGenerator.kt:231 */
    6     10   
    #[allow(missing_docs)] // documentation missing in model
    7     11   
    pub blob: ::std::option::Option<::aws_smithy_types::Blob>,
    8         -
    #[allow(missing_docs)] // documentation missing in model
          12  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
    9     13   
    pub boolean: ::std::option::Option<bool>,
          14  +
    /* StructureGenerator.kt:231 */
   10     15   
    #[allow(missing_docs)] // documentation missing in model
   11     16   
    pub string: ::std::option::Option<::std::string::String>,
   12         -
    #[allow(missing_docs)] // documentation missing in model
          17  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   13     18   
    pub byte: ::std::option::Option<i8>,
   14         -
    #[allow(missing_docs)] // documentation missing in model
          19  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   15     20   
    pub short: ::std::option::Option<i16>,
   16         -
    #[allow(missing_docs)] // documentation missing in model
          21  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   17     22   
    pub integer: ::std::option::Option<i32>,
   18         -
    #[allow(missing_docs)] // documentation missing in model
          23  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   19     24   
    pub long: ::std::option::Option<i64>,
   20         -
    #[allow(missing_docs)] // documentation missing in model
          25  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   21     26   
    pub float: ::std::option::Option<f32>,
   22         -
    #[allow(missing_docs)] // documentation missing in model
          27  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   23     28   
    pub double: ::std::option::Option<f64>,
          29  +
    /* StructureGenerator.kt:231 */
   24     30   
    #[allow(missing_docs)] // documentation missing in model
   25     31   
    pub timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
          32  +
    /* StructureGenerator.kt:231 */
   26     33   
    #[allow(missing_docs)] // documentation missing in model
   27     34   
    pub r#enum: ::std::option::Option<crate::types::Suit>,
          35  +
    /* StructureGenerator.kt:231 */
   28     36   
    #[allow(missing_docs)] // documentation missing in model
   29     37   
    pub required_blob: ::std::option::Option<::aws_smithy_types::Blob>,
          38  +
    /* StructureGenerator.kt:231 */
   30     39   
    #[allow(missing_docs)] // documentation missing in model
   31     40   
    pub required_boolean: ::std::option::Option<bool>,
          41  +
    /* StructureGenerator.kt:231 */
   32     42   
    #[allow(missing_docs)] // documentation missing in model
   33     43   
    pub required_string: ::std::option::Option<::std::string::String>,
   34         -
    #[allow(missing_docs)] // documentation missing in model
          44  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   35     45   
    pub required_byte: ::std::option::Option<i8>,
          46  +
    /* StructureGenerator.kt:231 */
   36     47   
    #[allow(missing_docs)] // documentation missing in model
   37     48   
    pub required_short: ::std::option::Option<i16>,
          49  +
    /* StructureGenerator.kt:231 */
   38     50   
    #[allow(missing_docs)] // documentation missing in model
   39     51   
    pub required_integer: ::std::option::Option<i32>,
   40         -
    #[allow(missing_docs)] // documentation missing in model
          52  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   41     53   
    pub required_long: ::std::option::Option<i64>,
          54  +
    /* StructureGenerator.kt:231 */
   42     55   
    #[allow(missing_docs)] // documentation missing in model
   43     56   
    pub required_float: ::std::option::Option<f32>,
          57  +
    /* StructureGenerator.kt:231 */
   44     58   
    #[allow(missing_docs)] // documentation missing in model
   45     59   
    pub required_double: ::std::option::Option<f64>,
          60  +
    /* StructureGenerator.kt:231 */
   46     61   
    #[allow(missing_docs)] // documentation missing in model
   47     62   
    pub required_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
          63  +
    /* StructureGenerator.kt:231 */
   48     64   
    #[allow(missing_docs)] // documentation missing in model
   49     65   
    pub required_enum: ::std::option::Option<crate::types::Suit>,
          66  +
    /* StructureGenerator.kt:201 */
   50     67   
}
          68  +
/* StructureGenerator.kt:135 */
   51     69   
impl SimpleStructOperationInput {
          70  +
    /* StructureGenerator.kt:231 */
   52     71   
    #[allow(missing_docs)] // documentation missing in model
          72  +
                           /* StructureGenerator.kt:166 */
   53     73   
    pub fn blob(&self) -> ::std::option::Option<&::aws_smithy_types::Blob> {
          74  +
        /* StructureGenerator.kt:170 */
   54     75   
        self.blob.as_ref()
          76  +
        /* StructureGenerator.kt:166 */
   55     77   
    }
          78  +
    /* StructureGenerator.kt:231 */
   56     79   
    #[allow(missing_docs)] // documentation missing in model
          80  +
                           /* StructureGenerator.kt:166 */
   57     81   
    pub fn boolean(&self) -> ::std::option::Option<bool> {
          82  +
        /* StructureGenerator.kt:168 */
   58     83   
        self.boolean
          84  +
        /* StructureGenerator.kt:166 */
   59     85   
    }
          86  +
    /* StructureGenerator.kt:231 */
   60     87   
    #[allow(missing_docs)] // documentation missing in model
          88  +
                           /* StructureGenerator.kt:166 */
   61     89   
    pub fn string(&self) -> ::std::option::Option<&str> {
          90  +
        /* StructureGenerator.kt:169 */
   62     91   
        self.string.as_deref()
          92  +
        /* StructureGenerator.kt:166 */
   63     93   
    }
          94  +
    /* StructureGenerator.kt:231 */
   64     95   
    #[allow(missing_docs)] // documentation missing in model
          96  +
                           /* StructureGenerator.kt:166 */
   65     97   
    pub fn byte(&self) -> ::std::option::Option<i8> {
          98  +
        /* StructureGenerator.kt:168 */
   66     99   
        self.byte
         100  +
        /* StructureGenerator.kt:166 */
   67    101   
    }
         102  +
    /* StructureGenerator.kt:231 */
   68    103   
    #[allow(missing_docs)] // documentation missing in model
         104  +
                           /* StructureGenerator.kt:166 */
   69    105   
    pub fn short(&self) -> ::std::option::Option<i16> {
         106  +
        /* StructureGenerator.kt:168 */
   70    107   
        self.short
         108  +
        /* StructureGenerator.kt:166 */
   71    109   
    }
         110  +
    /* StructureGenerator.kt:231 */
   72    111   
    #[allow(missing_docs)] // documentation missing in model
         112  +
                           /* StructureGenerator.kt:166 */
   73    113   
    pub fn integer(&self) -> ::std::option::Option<i32> {
         114  +
        /* StructureGenerator.kt:168 */
   74    115   
        self.integer
         116  +
        /* StructureGenerator.kt:166 */
   75    117   
    }
         118  +
    /* StructureGenerator.kt:231 */
   76    119   
    #[allow(missing_docs)] // documentation missing in model
         120  +
                           /* StructureGenerator.kt:166 */
   77    121   
    pub fn long(&self) -> ::std::option::Option<i64> {
         122  +
        /* StructureGenerator.kt:168 */
   78    123   
        self.long
         124  +
        /* StructureGenerator.kt:166 */
   79    125   
    }
         126  +
    /* StructureGenerator.kt:231 */
   80    127   
    #[allow(missing_docs)] // documentation missing in model
         128  +
                           /* StructureGenerator.kt:166 */
   81    129   
    pub fn float(&self) -> ::std::option::Option<f32> {
         130  +
        /* StructureGenerator.kt:168 */
   82    131   
        self.float
         132  +
        /* StructureGenerator.kt:166 */
   83    133   
    }
         134  +
    /* StructureGenerator.kt:231 */
   84    135   
    #[allow(missing_docs)] // documentation missing in model
         136  +
                           /* StructureGenerator.kt:166 */
   85    137   
    pub fn double(&self) -> ::std::option::Option<f64> {
         138  +
        /* StructureGenerator.kt:168 */
   86    139   
        self.double
         140  +
        /* StructureGenerator.kt:166 */
   87    141   
    }
         142  +
    /* StructureGenerator.kt:231 */
   88    143   
    #[allow(missing_docs)] // documentation missing in model
         144  +
                           /* StructureGenerator.kt:166 */
   89    145   
    pub fn timestamp(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
         146  +
        /* StructureGenerator.kt:170 */
   90    147   
        self.timestamp.as_ref()
         148  +
        /* StructureGenerator.kt:166 */
   91    149   
    }
         150  +
    /* StructureGenerator.kt:231 */
   92    151   
    #[allow(missing_docs)] // documentation missing in model
         152  +
                           /* StructureGenerator.kt:166 */
   93    153   
    pub fn r#enum(&self) -> ::std::option::Option<&crate::types::Suit> {
         154  +
        /* StructureGenerator.kt:170 */
   94    155   
        self.r#enum.as_ref()
         156  +
        /* StructureGenerator.kt:166 */
   95    157   
    }
         158  +
    /* StructureGenerator.kt:231 */
   96    159   
    #[allow(missing_docs)] // documentation missing in model
         160  +
                           /* StructureGenerator.kt:166 */
   97    161   
    pub fn required_blob(&self) -> ::std::option::Option<&::aws_smithy_types::Blob> {
         162  +
        /* StructureGenerator.kt:170 */
   98    163   
        self.required_blob.as_ref()
         164  +
        /* StructureGenerator.kt:166 */
   99    165   
    }
         166  +
    /* StructureGenerator.kt:231 */
  100    167   
    #[allow(missing_docs)] // documentation missing in model
         168  +
                           /* StructureGenerator.kt:166 */
  101    169   
    pub fn required_boolean(&self) -> ::std::option::Option<bool> {
         170  +
        /* StructureGenerator.kt:168 */
  102    171   
        self.required_boolean
         172  +
        /* StructureGenerator.kt:166 */
  103    173   
    }
         174  +
    /* StructureGenerator.kt:231 */
  104    175   
    #[allow(missing_docs)] // documentation missing in model
         176  +
                           /* StructureGenerator.kt:166 */
  105    177   
    pub fn required_string(&self) -> ::std::option::Option<&str> {
         178  +
        /* StructureGenerator.kt:169 */
  106    179   
        self.required_string.as_deref()
         180  +
        /* StructureGenerator.kt:166 */
  107    181   
    }
         182  +
    /* StructureGenerator.kt:231 */
  108    183   
    #[allow(missing_docs)] // documentation missing in model
         184  +
                           /* StructureGenerator.kt:166 */
  109    185   
    pub fn required_byte(&self) -> ::std::option::Option<i8> {
         186  +
        /* StructureGenerator.kt:168 */
  110    187   
        self.required_byte
         188  +
        /* StructureGenerator.kt:166 */
  111    189   
    }
         190  +
    /* StructureGenerator.kt:231 */
  112    191   
    #[allow(missing_docs)] // documentation missing in model
         192  +
                           /* StructureGenerator.kt:166 */
  113    193   
    pub fn required_short(&self) -> ::std::option::Option<i16> {
         194  +
        /* StructureGenerator.kt:168 */
  114    195   
        self.required_short
         196  +
        /* StructureGenerator.kt:166 */
  115    197   
    }
         198  +
    /* StructureGenerator.kt:231 */
  116    199   
    #[allow(missing_docs)] // documentation missing in model
         200  +
                           /* StructureGenerator.kt:166 */
  117    201   
    pub fn required_integer(&self) -> ::std::option::Option<i32> {
         202  +
        /* StructureGenerator.kt:168 */
  118    203   
        self.required_integer
         204  +
        /* StructureGenerator.kt:166 */
  119    205   
    }
         206  +
    /* StructureGenerator.kt:231 */
  120    207   
    #[allow(missing_docs)] // documentation missing in model
         208  +
                           /* StructureGenerator.kt:166 */
  121    209   
    pub fn required_long(&self) -> ::std::option::Option<i64> {
         210  +
        /* StructureGenerator.kt:168 */
  122    211   
        self.required_long
         212  +
        /* StructureGenerator.kt:166 */
  123    213   
    }
         214  +
    /* StructureGenerator.kt:231 */
  124    215   
    #[allow(missing_docs)] // documentation missing in model
         216  +
                           /* StructureGenerator.kt:166 */
  125    217   
    pub fn required_float(&self) -> ::std::option::Option<f32> {
         218  +
        /* StructureGenerator.kt:168 */
  126    219   
        self.required_float
         220  +
        /* StructureGenerator.kt:166 */
  127    221   
    }
         222  +
    /* StructureGenerator.kt:231 */
  128    223   
    #[allow(missing_docs)] // documentation missing in model
         224  +
                           /* StructureGenerator.kt:166 */
  129    225   
    pub fn required_double(&self) -> ::std::option::Option<f64> {
         226  +
        /* StructureGenerator.kt:168 */
  130    227   
        self.required_double
         228  +
        /* StructureGenerator.kt:166 */
  131    229   
    }
         230  +
    /* StructureGenerator.kt:231 */
  132    231   
    #[allow(missing_docs)] // documentation missing in model
         232  +
                           /* StructureGenerator.kt:166 */
  133    233   
    pub fn required_timestamp(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
         234  +
        /* StructureGenerator.kt:170 */
  134    235   
        self.required_timestamp.as_ref()
         236  +
        /* StructureGenerator.kt:166 */
  135    237   
    }
         238  +
    /* StructureGenerator.kt:231 */
  136    239   
    #[allow(missing_docs)] // documentation missing in model
         240  +
                           /* StructureGenerator.kt:166 */
  137    241   
    pub fn required_enum(&self) -> ::std::option::Option<&crate::types::Suit> {
         242  +
        /* StructureGenerator.kt:170 */
  138    243   
        self.required_enum.as_ref()
         244  +
        /* StructureGenerator.kt:166 */
  139    245   
    }
         246  +
    /* StructureGenerator.kt:135 */
  140    247   
}
         248  +
/* ClientCodegenVisitor.kt:237 */
  141    249   
impl SimpleStructOperationInput {
  142         -
    /// Creates a new builder-style object to manufacture [`SimpleStructOperationInput`](crate::operation::simple_struct_operation::SimpleStructOperationInput).
         250  +
    /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`SimpleStructOperationInput`](crate::operation::simple_struct_operation::SimpleStructOperationInput).
         251  +
    /* BuilderGenerator.kt:175 */
  143    252   
    pub fn builder() -> crate::operation::simple_struct_operation::builders::SimpleStructOperationInputBuilder {
         253  +
        /* BuilderGenerator.kt:176 */
  144    254   
        crate::operation::simple_struct_operation::builders::SimpleStructOperationInputBuilder::default()
         255  +
        /* BuilderGenerator.kt:175 */
  145    256   
    }
         257  +
    /* ClientCodegenVisitor.kt:237 */
  146    258   
}
  147    259   
  148         -
/// A builder for [`SimpleStructOperationInput`](crate::operation::simple_struct_operation::SimpleStructOperationInput).
         260  +
/// /* BuilderGenerator.kt:342 */A builder for [`SimpleStructOperationInput`](crate::operation::simple_struct_operation::SimpleStructOperationInput).
         261  +
/* RustType.kt:516 */
  149    262   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
         263  +
/* RustType.kt:516 */
  150    264   
#[non_exhaustive]
         265  +
/* BuilderGenerator.kt:345 */
  151    266   
pub struct SimpleStructOperationInputBuilder {
  152         -
    pub(crate) blob: ::std::option::Option<::aws_smithy_types::Blob>,
  153         -
    pub(crate) boolean: ::std::option::Option<bool>,
  154         -
    pub(crate) string: ::std::option::Option<::std::string::String>,
  155         -
    pub(crate) byte: ::std::option::Option<i8>,
  156         -
    pub(crate) short: ::std::option::Option<i16>,
  157         -
    pub(crate) integer: ::std::option::Option<i32>,
  158         -
    pub(crate) long: ::std::option::Option<i64>,
  159         -
    pub(crate) float: ::std::option::Option<f32>,
  160         -
    pub(crate) double: ::std::option::Option<f64>,
  161         -
    pub(crate) timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
  162         -
    pub(crate) r#enum: ::std::option::Option<crate::types::Suit>,
  163         -
    pub(crate) required_blob: ::std::option::Option<::aws_smithy_types::Blob>,
  164         -
    pub(crate) required_boolean: ::std::option::Option<bool>,
  165         -
    pub(crate) required_string: ::std::option::Option<::std::string::String>,
  166         -
    pub(crate) required_byte: ::std::option::Option<i8>,
  167         -
    pub(crate) required_short: ::std::option::Option<i16>,
  168         -
    pub(crate) required_integer: ::std::option::Option<i32>,
  169         -
    pub(crate) required_long: ::std::option::Option<i64>,
  170         -
    pub(crate) required_float: ::std::option::Option<f32>,
  171         -
    pub(crate) required_double: ::std::option::Option<f64>,
  172         -
    pub(crate) required_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
  173         -
    pub(crate) required_enum: ::std::option::Option<crate::types::Suit>,
         267  +
    /* BuilderGenerator.kt:275 */ pub(crate) blob: ::std::option::Option<::aws_smithy_types::Blob>,
         268  +
    /* BuilderGenerator.kt:275 */ pub(crate) boolean: ::std::option::Option<bool>,
         269  +
    /* BuilderGenerator.kt:275 */ pub(crate) string: ::std::option::Option<::std::string::String>,
         270  +
    /* BuilderGenerator.kt:275 */ pub(crate) byte: ::std::option::Option<i8>,
         271  +
    /* BuilderGenerator.kt:275 */ pub(crate) short: ::std::option::Option<i16>,
         272  +
    /* BuilderGenerator.kt:275 */ pub(crate) integer: ::std::option::Option<i32>,
         273  +
    /* BuilderGenerator.kt:275 */ pub(crate) long: ::std::option::Option<i64>,
         274  +
    /* BuilderGenerator.kt:275 */ pub(crate) float: ::std::option::Option<f32>,
         275  +
    /* BuilderGenerator.kt:275 */ pub(crate) double: ::std::option::Option<f64>,
         276  +
    /* BuilderGenerator.kt:275 */ pub(crate) timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
         277  +
    /* BuilderGenerator.kt:275 */ pub(crate) r#enum: ::std::option::Option<crate::types::Suit>,
         278  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_blob: ::std::option::Option<::aws_smithy_types::Blob>,
         279  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_boolean: ::std::option::Option<bool>,
         280  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_string: ::std::option::Option<::std::string::String>,
         281  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_byte: ::std::option::Option<i8>,
         282  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_short: ::std::option::Option<i16>,
         283  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_integer: ::std::option::Option<i32>,
         284  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_long: ::std::option::Option<i64>,
         285  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_float: ::std::option::Option<f32>,
         286  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_double: ::std::option::Option<f64>,
         287  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
         288  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_enum: ::std::option::Option<crate::types::Suit>,
         289  +
    /* BuilderGenerator.kt:345 */
  174    290   
}
         291  +
/* BuilderGenerator.kt:355 */
  175    292   
impl SimpleStructOperationInputBuilder {
         293  +
    /* BuilderGenerator.kt:286 */
  176    294   
    #[allow(missing_docs)] // documentation missing in model
         295  +
                           /* BuilderGenerator.kt:291 */
  177    296   
    pub fn blob(mut self, input: ::aws_smithy_types::Blob) -> Self {
         297  +
        /* BuilderGenerator.kt:292 */
  178    298   
        self.blob = ::std::option::Option::Some(input);
         299  +
        /* BuilderGenerator.kt:293 */
  179    300   
        self
         301  +
        /* BuilderGenerator.kt:291 */
  180    302   
    }
         303  +
    /* BuilderGenerator.kt:312 */
  181    304   
    #[allow(missing_docs)] // documentation missing in model
         305  +
                           /* BuilderGenerator.kt:314 */
  182    306   
    pub fn set_blob(mut self, input: ::std::option::Option<::aws_smithy_types::Blob>) -> Self {
         307  +
        /* BuilderGenerator.kt:315 */
  183    308   
        self.blob = input;
  184    309   
        self
         310  +
        /* BuilderGenerator.kt:314 */
  185    311   
    }
         312  +
    /* BuilderGenerator.kt:334 */
  186    313   
    #[allow(missing_docs)] // documentation missing in model
         314  +
                           /* BuilderGenerator.kt:336 */
  187    315   
    pub fn get_blob(&self) -> &::std::option::Option<::aws_smithy_types::Blob> {
         316  +
        /* BuilderGenerator.kt:337 */
  188    317   
        &self.blob
         318  +
        /* BuilderGenerator.kt:336 */
  189    319   
    }
         320  +
    /* BuilderGenerator.kt:286 */
  190    321   
    #[allow(missing_docs)] // documentation missing in model
         322  +
                           /* BuilderGenerator.kt:291 */
  191    323   
    pub fn boolean(mut self, input: bool) -> Self {
         324  +
        /* BuilderGenerator.kt:292 */
  192    325   
        self.boolean = ::std::option::Option::Some(input);
         326  +
        /* BuilderGenerator.kt:293 */
  193    327   
        self
         328  +
        /* BuilderGenerator.kt:291 */
  194    329   
    }
         330  +
    /* BuilderGenerator.kt:312 */
  195    331   
    #[allow(missing_docs)] // documentation missing in model
         332  +
                           /* BuilderGenerator.kt:314 */
  196    333   
    pub fn set_boolean(mut self, input: ::std::option::Option<bool>) -> Self {
         334  +
        /* BuilderGenerator.kt:315 */
  197    335   
        self.boolean = input;
  198    336   
        self
         337  +
        /* BuilderGenerator.kt:314 */
  199    338   
    }
         339  +
    /* BuilderGenerator.kt:334 */
  200    340   
    #[allow(missing_docs)] // documentation missing in model
         341  +
                           /* BuilderGenerator.kt:336 */
  201    342   
    pub fn get_boolean(&self) -> &::std::option::Option<bool> {
         343  +
        /* BuilderGenerator.kt:337 */
  202    344   
        &self.boolean
         345  +
        /* BuilderGenerator.kt:336 */
  203    346   
    }
         347  +
    /* BuilderGenerator.kt:286 */
  204    348   
    #[allow(missing_docs)] // documentation missing in model
         349  +
                           /* BuilderGenerator.kt:291 */
  205    350   
    pub fn string(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         351  +
        /* BuilderGenerator.kt:292 */
  206    352   
        self.string = ::std::option::Option::Some(input.into());
         353  +
        /* BuilderGenerator.kt:293 */
  207    354   
        self
         355  +
        /* BuilderGenerator.kt:291 */
  208    356   
    }
         357  +
    /* BuilderGenerator.kt:312 */
  209    358   
    #[allow(missing_docs)] // documentation missing in model
         359  +
                           /* BuilderGenerator.kt:314 */
  210    360   
    pub fn set_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         361  +
        /* BuilderGenerator.kt:315 */
  211    362   
        self.string = input;
  212    363   
        self
         364  +
        /* BuilderGenerator.kt:314 */
  213    365   
    }
         366  +
    /* BuilderGenerator.kt:334 */
  214    367   
    #[allow(missing_docs)] // documentation missing in model
         368  +
                           /* BuilderGenerator.kt:336 */
  215    369   
    pub fn get_string(&self) -> &::std::option::Option<::std::string::String> {
         370  +
        /* BuilderGenerator.kt:337 */
  216    371   
        &self.string
         372  +
        /* BuilderGenerator.kt:336 */
  217    373   
    }
         374  +
    /* BuilderGenerator.kt:286 */
  218    375   
    #[allow(missing_docs)] // documentation missing in model
         376  +
                           /* BuilderGenerator.kt:291 */
  219    377   
    pub fn byte(mut self, input: i8) -> Self {
         378  +
        /* BuilderGenerator.kt:292 */
  220    379   
        self.byte = ::std::option::Option::Some(input);
         380  +
        /* BuilderGenerator.kt:293 */
  221    381   
        self
         382  +
        /* BuilderGenerator.kt:291 */
  222    383   
    }
         384  +
    /* BuilderGenerator.kt:312 */
  223    385   
    #[allow(missing_docs)] // documentation missing in model
         386  +
                           /* BuilderGenerator.kt:314 */
  224    387   
    pub fn set_byte(mut self, input: ::std::option::Option<i8>) -> Self {
         388  +
        /* BuilderGenerator.kt:315 */
  225    389   
        self.byte = input;
  226    390   
        self
         391  +
        /* BuilderGenerator.kt:314 */
  227    392   
    }
         393  +
    /* BuilderGenerator.kt:334 */
  228    394   
    #[allow(missing_docs)] // documentation missing in model
         395  +
                           /* BuilderGenerator.kt:336 */
  229    396   
    pub fn get_byte(&self) -> &::std::option::Option<i8> {
         397  +
        /* BuilderGenerator.kt:337 */
  230    398   
        &self.byte
         399  +
        /* BuilderGenerator.kt:336 */
  231    400   
    }
         401  +
    /* BuilderGenerator.kt:286 */
  232    402   
    #[allow(missing_docs)] // documentation missing in model
         403  +
                           /* BuilderGenerator.kt:291 */
  233    404   
    pub fn short(mut self, input: i16) -> Self {
         405  +
        /* BuilderGenerator.kt:292 */
  234    406   
        self.short = ::std::option::Option::Some(input);
         407  +
        /* BuilderGenerator.kt:293 */
  235    408   
        self
         409  +
        /* BuilderGenerator.kt:291 */
  236    410   
    }
         411  +
    /* BuilderGenerator.kt:312 */
  237    412   
    #[allow(missing_docs)] // documentation missing in model
         413  +
                           /* BuilderGenerator.kt:314 */
  238    414   
    pub fn set_short(mut self, input: ::std::option::Option<i16>) -> Self {
         415  +
        /* BuilderGenerator.kt:315 */
  239    416   
        self.short = input;
  240    417   
        self
         418  +
        /* BuilderGenerator.kt:314 */
  241    419   
    }
         420  +
    /* BuilderGenerator.kt:334 */
  242    421   
    #[allow(missing_docs)] // documentation missing in model
         422  +
                           /* BuilderGenerator.kt:336 */
  243    423   
    pub fn get_short(&self) -> &::std::option::Option<i16> {
         424  +
        /* BuilderGenerator.kt:337 */
  244    425   
        &self.short
         426  +
        /* BuilderGenerator.kt:336 */
  245    427   
    }
         428  +
    /* BuilderGenerator.kt:286 */
  246    429   
    #[allow(missing_docs)] // documentation missing in model
         430  +
                           /* BuilderGenerator.kt:291 */
  247    431   
    pub fn integer(mut self, input: i32) -> Self {
         432  +
        /* BuilderGenerator.kt:292 */
  248    433   
        self.integer = ::std::option::Option::Some(input);
         434  +
        /* BuilderGenerator.kt:293 */
  249    435   
        self
         436  +
        /* BuilderGenerator.kt:291 */
  250    437   
    }
         438  +
    /* BuilderGenerator.kt:312 */
  251    439   
    #[allow(missing_docs)] // documentation missing in model
         440  +
                           /* BuilderGenerator.kt:314 */
  252    441   
    pub fn set_integer(mut self, input: ::std::option::Option<i32>) -> Self {
         442  +
        /* BuilderGenerator.kt:315 */
  253    443   
        self.integer = input;
  254    444   
        self
         445  +
        /* BuilderGenerator.kt:314 */
  255    446   
    }
         447  +
    /* BuilderGenerator.kt:334 */
  256    448   
    #[allow(missing_docs)] // documentation missing in model
         449  +
                           /* BuilderGenerator.kt:336 */
  257    450   
    pub fn get_integer(&self) -> &::std::option::Option<i32> {
         451  +
        /* BuilderGenerator.kt:337 */
  258    452   
        &self.integer
         453  +
        /* BuilderGenerator.kt:336 */
  259    454   
    }
         455  +
    /* BuilderGenerator.kt:286 */
  260    456   
    #[allow(missing_docs)] // documentation missing in model
         457  +
                           /* BuilderGenerator.kt:291 */
  261    458   
    pub fn long(mut self, input: i64) -> Self {
         459  +
        /* BuilderGenerator.kt:292 */
  262    460   
        self.long = ::std::option::Option::Some(input);
         461  +
        /* BuilderGenerator.kt:293 */
  263    462   
        self
         463  +
        /* BuilderGenerator.kt:291 */
  264    464   
    }
         465  +
    /* BuilderGenerator.kt:312 */
  265    466   
    #[allow(missing_docs)] // documentation missing in model
         467  +
                           /* BuilderGenerator.kt:314 */
  266    468   
    pub fn set_long(mut self, input: ::std::option::Option<i64>) -> Self {
         469  +
        /* BuilderGenerator.kt:315 */
  267    470   
        self.long = input;
  268    471   
        self
         472  +
        /* BuilderGenerator.kt:314 */
  269    473   
    }
         474  +
    /* BuilderGenerator.kt:334 */
  270    475   
    #[allow(missing_docs)] // documentation missing in model
         476  +
                           /* BuilderGenerator.kt:336 */
  271    477   
    pub fn get_long(&self) -> &::std::option::Option<i64> {
         478  +
        /* BuilderGenerator.kt:337 */
  272    479   
        &self.long
         480  +
        /* BuilderGenerator.kt:336 */
  273    481   
    }
         482  +
    /* BuilderGenerator.kt:286 */
  274    483   
    #[allow(missing_docs)] // documentation missing in model
         484  +
                           /* BuilderGenerator.kt:291 */
  275    485   
    pub fn float(mut self, input: f32) -> Self {
         486  +
        /* BuilderGenerator.kt:292 */
  276    487   
        self.float = ::std::option::Option::Some(input);
         488  +
        /* BuilderGenerator.kt:293 */
  277    489   
        self
         490  +
        /* BuilderGenerator.kt:291 */
  278    491   
    }
         492  +
    /* BuilderGenerator.kt:312 */
  279    493   
    #[allow(missing_docs)] // documentation missing in model
         494  +
                           /* BuilderGenerator.kt:314 */
  280    495   
    pub fn set_float(mut self, input: ::std::option::Option<f32>) -> Self {
         496  +
        /* BuilderGenerator.kt:315 */
  281    497   
        self.float = input;
  282    498   
        self
         499  +
        /* BuilderGenerator.kt:314 */
  283    500   
    }
         501  +
    /* BuilderGenerator.kt:334 */
  284    502   
    #[allow(missing_docs)] // documentation missing in model
         503  +
                           /* BuilderGenerator.kt:336 */
  285    504   
    pub fn get_float(&self) -> &::std::option::Option<f32> {
         505  +
        /* BuilderGenerator.kt:337 */
  286    506   
        &self.float
         507  +
        /* BuilderGenerator.kt:336 */
  287    508   
    }
         509  +
    /* BuilderGenerator.kt:286 */
  288    510   
    #[allow(missing_docs)] // documentation missing in model
         511  +
                           /* BuilderGenerator.kt:291 */
  289    512   
    pub fn double(mut self, input: f64) -> Self {
         513  +
        /* BuilderGenerator.kt:292 */
  290    514   
        self.double = ::std::option::Option::Some(input);
         515  +
        /* BuilderGenerator.kt:293 */
  291    516   
        self
         517  +
        /* BuilderGenerator.kt:291 */
  292    518   
    }
         519  +
    /* BuilderGenerator.kt:312 */
  293    520   
    #[allow(missing_docs)] // documentation missing in model
         521  +
                           /* BuilderGenerator.kt:314 */
  294    522   
    pub fn set_double(mut self, input: ::std::option::Option<f64>) -> Self {
         523  +
        /* BuilderGenerator.kt:315 */
  295    524   
        self.double = input;
  296    525   
        self
         526  +
        /* BuilderGenerator.kt:314 */
  297    527   
    }
         528  +
    /* BuilderGenerator.kt:334 */
  298    529   
    #[allow(missing_docs)] // documentation missing in model
         530  +
                           /* BuilderGenerator.kt:336 */
  299    531   
    pub fn get_double(&self) -> &::std::option::Option<f64> {
         532  +
        /* BuilderGenerator.kt:337 */
  300    533   
        &self.double
         534  +
        /* BuilderGenerator.kt:336 */
  301    535   
    }
         536  +
    /* BuilderGenerator.kt:286 */
  302    537   
    #[allow(missing_docs)] // documentation missing in model
         538  +
                           /* BuilderGenerator.kt:291 */
  303    539   
    pub fn timestamp(mut self, input: ::aws_smithy_types::DateTime) -> Self {
         540  +
        /* BuilderGenerator.kt:292 */
  304    541   
        self.timestamp = ::std::option::Option::Some(input);
         542  +
        /* BuilderGenerator.kt:293 */
  305    543   
        self
         544  +
        /* BuilderGenerator.kt:291 */
  306    545   
    }
         546  +
    /* BuilderGenerator.kt:312 */
  307    547   
    #[allow(missing_docs)] // documentation missing in model
         548  +
                           /* BuilderGenerator.kt:314 */
  308    549   
    pub fn set_timestamp(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
         550  +
        /* BuilderGenerator.kt:315 */
  309    551   
        self.timestamp = input;
  310    552   
        self
         553  +
        /* BuilderGenerator.kt:314 */
  311    554   
    }
         555  +
    /* BuilderGenerator.kt:334 */
  312    556   
    #[allow(missing_docs)] // documentation missing in model
         557  +
                           /* BuilderGenerator.kt:336 */
  313    558   
    pub fn get_timestamp(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
         559  +
        /* BuilderGenerator.kt:337 */
  314    560   
        &self.timestamp
         561  +
        /* BuilderGenerator.kt:336 */
  315    562   
    }
         563  +
    /* BuilderGenerator.kt:286 */
  316    564   
    #[allow(missing_docs)] // documentation missing in model
         565  +
                           /* BuilderGenerator.kt:291 */
  317    566   
    pub fn r#enum(mut self, input: crate::types::Suit) -> Self {
         567  +
        /* BuilderGenerator.kt:292 */
  318    568   
        self.r#enum = ::std::option::Option::Some(input);
         569  +
        /* BuilderGenerator.kt:293 */
  319    570   
        self
         571  +
        /* BuilderGenerator.kt:291 */
  320    572   
    }
         573  +
    /* BuilderGenerator.kt:312 */
  321    574   
    #[allow(missing_docs)] // documentation missing in model
         575  +
                           /* BuilderGenerator.kt:314 */
  322    576   
    pub fn set_enum(mut self, input: ::std::option::Option<crate::types::Suit>) -> Self {
         577  +
        /* BuilderGenerator.kt:315 */
  323    578   
        self.r#enum = input;
  324    579   
        self
         580  +
        /* BuilderGenerator.kt:314 */
  325    581   
    }
         582  +
    /* BuilderGenerator.kt:334 */
  326    583   
    #[allow(missing_docs)] // documentation missing in model
         584  +
                           /* BuilderGenerator.kt:336 */
  327    585   
    pub fn get_enum(&self) -> &::std::option::Option<crate::types::Suit> {
         586  +
        /* BuilderGenerator.kt:337 */
  328    587   
        &self.r#enum
         588  +
        /* BuilderGenerator.kt:336 */
  329    589   
    }
         590  +
    /* BuilderGenerator.kt:286 */
  330    591   
    #[allow(missing_docs)] // documentation missing in model
  331         -
    /// This field is required.
         592  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         593  +
    /* BuilderGenerator.kt:291 */
  332    594   
    pub fn required_blob(mut self, input: ::aws_smithy_types::Blob) -> Self {
         595  +
        /* BuilderGenerator.kt:292 */
  333    596   
        self.required_blob = ::std::option::Option::Some(input);
         597  +
        /* BuilderGenerator.kt:293 */
  334    598   
        self
         599  +
        /* BuilderGenerator.kt:291 */
  335    600   
    }
         601  +
    /* BuilderGenerator.kt:312 */
  336    602   
    #[allow(missing_docs)] // documentation missing in model
         603  +
                           /* BuilderGenerator.kt:314 */
  337    604   
    pub fn set_required_blob(mut self, input: ::std::option::Option<::aws_smithy_types::Blob>) -> Self {
         605  +
        /* BuilderGenerator.kt:315 */
  338    606   
        self.required_blob = input;
  339    607   
        self
         608  +
        /* BuilderGenerator.kt:314 */
  340    609   
    }
         610  +
    /* BuilderGenerator.kt:334 */
  341    611   
    #[allow(missing_docs)] // documentation missing in model
         612  +
                           /* BuilderGenerator.kt:336 */
  342    613   
    pub fn get_required_blob(&self) -> &::std::option::Option<::aws_smithy_types::Blob> {
         614  +
        /* BuilderGenerator.kt:337 */
  343    615   
        &self.required_blob
         616  +
        /* BuilderGenerator.kt:336 */
  344    617   
    }
         618  +
    /* BuilderGenerator.kt:286 */
  345    619   
    #[allow(missing_docs)] // documentation missing in model
  346         -
    /// This field is required.
         620  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         621  +
    /* BuilderGenerator.kt:291 */
  347    622   
    pub fn required_boolean(mut self, input: bool) -> Self {
         623  +
        /* BuilderGenerator.kt:292 */
  348    624   
        self.required_boolean = ::std::option::Option::Some(input);
         625  +
        /* BuilderGenerator.kt:293 */
  349    626   
        self
         627  +
        /* BuilderGenerator.kt:291 */
  350    628   
    }
         629  +
    /* BuilderGenerator.kt:312 */
  351    630   
    #[allow(missing_docs)] // documentation missing in model
         631  +
                           /* BuilderGenerator.kt:314 */
  352    632   
    pub fn set_required_boolean(mut self, input: ::std::option::Option<bool>) -> Self {
         633  +
        /* BuilderGenerator.kt:315 */
  353    634   
        self.required_boolean = input;
  354    635   
        self
         636  +
        /* BuilderGenerator.kt:314 */
  355    637   
    }
         638  +
    /* BuilderGenerator.kt:334 */
  356    639   
    #[allow(missing_docs)] // documentation missing in model
         640  +
                           /* BuilderGenerator.kt:336 */
  357    641   
    pub fn get_required_boolean(&self) -> &::std::option::Option<bool> {
         642  +
        /* BuilderGenerator.kt:337 */
  358    643   
        &self.required_boolean
         644  +
        /* BuilderGenerator.kt:336 */
  359    645   
    }
         646  +
    /* BuilderGenerator.kt:286 */
  360    647   
    #[allow(missing_docs)] // documentation missing in model
  361         -
    /// This field is required.
         648  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         649  +
    /* BuilderGenerator.kt:291 */
  362    650   
    pub fn required_string(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         651  +
        /* BuilderGenerator.kt:292 */
  363    652   
        self.required_string = ::std::option::Option::Some(input.into());
         653  +
        /* BuilderGenerator.kt:293 */
  364    654   
        self
         655  +
        /* BuilderGenerator.kt:291 */
  365    656   
    }
         657  +
    /* BuilderGenerator.kt:312 */
  366    658   
    #[allow(missing_docs)] // documentation missing in model
         659  +
                           /* BuilderGenerator.kt:314 */
  367    660   
    pub fn set_required_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         661  +
        /* BuilderGenerator.kt:315 */
  368    662   
        self.required_string = input;
  369    663   
        self
         664  +
        /* BuilderGenerator.kt:314 */
  370    665   
    }
         666  +
    /* BuilderGenerator.kt:334 */
  371    667   
    #[allow(missing_docs)] // documentation missing in model
         668  +
                           /* BuilderGenerator.kt:336 */
  372    669   
    pub fn get_required_string(&self) -> &::std::option::Option<::std::string::String> {
         670  +
        /* BuilderGenerator.kt:337 */
  373    671   
        &self.required_string
         672  +
        /* BuilderGenerator.kt:336 */
  374    673   
    }
         674  +
    /* BuilderGenerator.kt:286 */
  375    675   
    #[allow(missing_docs)] // documentation missing in model
  376         -
    /// This field is required.
         676  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         677  +
    /* BuilderGenerator.kt:291 */
  377    678   
    pub fn required_byte(mut self, input: i8) -> Self {
         679  +
        /* BuilderGenerator.kt:292 */
  378    680   
        self.required_byte = ::std::option::Option::Some(input);
         681  +
        /* BuilderGenerator.kt:293 */
  379    682   
        self
         683  +
        /* BuilderGenerator.kt:291 */
  380    684   
    }
         685  +
    /* BuilderGenerator.kt:312 */
  381    686   
    #[allow(missing_docs)] // documentation missing in model
         687  +
                           /* BuilderGenerator.kt:314 */
  382    688   
    pub fn set_required_byte(mut self, input: ::std::option::Option<i8>) -> Self {
         689  +
        /* BuilderGenerator.kt:315 */
  383    690   
        self.required_byte = input;
  384    691   
        self
         692  +
        /* BuilderGenerator.kt:314 */
  385    693   
    }
         694  +
    /* BuilderGenerator.kt:334 */
  386    695   
    #[allow(missing_docs)] // documentation missing in model
         696  +
                           /* BuilderGenerator.kt:336 */
  387    697   
    pub fn get_required_byte(&self) -> &::std::option::Option<i8> {
         698  +
        /* BuilderGenerator.kt:337 */
  388    699   
        &self.required_byte
         700  +
        /* BuilderGenerator.kt:336 */
  389    701   
    }
         702  +
    /* BuilderGenerator.kt:286 */
  390    703   
    #[allow(missing_docs)] // documentation missing in model
  391         -
    /// This field is required.
         704  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         705  +
    /* BuilderGenerator.kt:291 */
  392    706   
    pub fn required_short(mut self, input: i16) -> Self {
         707  +
        /* BuilderGenerator.kt:292 */
  393    708   
        self.required_short = ::std::option::Option::Some(input);
         709  +
        /* BuilderGenerator.kt:293 */
  394    710   
        self
         711  +
        /* BuilderGenerator.kt:291 */
  395    712   
    }
         713  +
    /* BuilderGenerator.kt:312 */
  396    714   
    #[allow(missing_docs)] // documentation missing in model
         715  +
                           /* BuilderGenerator.kt:314 */
  397    716   
    pub fn set_required_short(mut self, input: ::std::option::Option<i16>) -> Self {
         717  +
        /* BuilderGenerator.kt:315 */
  398    718   
        self.required_short = input;
  399    719   
        self
         720  +
        /* BuilderGenerator.kt:314 */
  400    721   
    }
         722  +
    /* BuilderGenerator.kt:334 */
  401    723   
    #[allow(missing_docs)] // documentation missing in model
         724  +
                           /* BuilderGenerator.kt:336 */
  402    725   
    pub fn get_required_short(&self) -> &::std::option::Option<i16> {
         726  +
        /* BuilderGenerator.kt:337 */
  403    727   
        &self.required_short
         728  +
        /* BuilderGenerator.kt:336 */
  404    729   
    }
         730  +
    /* BuilderGenerator.kt:286 */
  405    731   
    #[allow(missing_docs)] // documentation missing in model
  406         -
    /// This field is required.
         732  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         733  +
    /* BuilderGenerator.kt:291 */
  407    734   
    pub fn required_integer(mut self, input: i32) -> Self {
         735  +
        /* BuilderGenerator.kt:292 */
  408    736   
        self.required_integer = ::std::option::Option::Some(input);
         737  +
        /* BuilderGenerator.kt:293 */
  409    738   
        self
         739  +
        /* BuilderGenerator.kt:291 */
  410    740   
    }
         741  +
    /* BuilderGenerator.kt:312 */
  411    742   
    #[allow(missing_docs)] // documentation missing in model
         743  +
                           /* BuilderGenerator.kt:314 */
  412    744   
    pub fn set_required_integer(mut self, input: ::std::option::Option<i32>) -> Self {
         745  +
        /* BuilderGenerator.kt:315 */
  413    746   
        self.required_integer = input;
  414    747   
        self
         748  +
        /* BuilderGenerator.kt:314 */
  415    749   
    }
         750  +
    /* BuilderGenerator.kt:334 */
  416    751   
    #[allow(missing_docs)] // documentation missing in model
         752  +
                           /* BuilderGenerator.kt:336 */
  417    753   
    pub fn get_required_integer(&self) -> &::std::option::Option<i32> {
         754  +
        /* BuilderGenerator.kt:337 */
  418    755   
        &self.required_integer
         756  +
        /* BuilderGenerator.kt:336 */
  419    757   
    }
         758  +
    /* BuilderGenerator.kt:286 */
  420    759   
    #[allow(missing_docs)] // documentation missing in model
  421         -
    /// This field is required.
         760  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         761  +
    /* BuilderGenerator.kt:291 */
  422    762   
    pub fn required_long(mut self, input: i64) -> Self {
         763  +
        /* BuilderGenerator.kt:292 */
  423    764   
        self.required_long = ::std::option::Option::Some(input);
         765  +
        /* BuilderGenerator.kt:293 */
  424    766   
        self
         767  +
        /* BuilderGenerator.kt:291 */
  425    768   
    }
         769  +
    /* BuilderGenerator.kt:312 */
  426    770   
    #[allow(missing_docs)] // documentation missing in model
         771  +
                           /* BuilderGenerator.kt:314 */
  427    772   
    pub fn set_required_long(mut self, input: ::std::option::Option<i64>) -> Self {
         773  +
        /* BuilderGenerator.kt:315 */
  428    774   
        self.required_long = input;
  429    775   
        self
         776  +
        /* BuilderGenerator.kt:314 */
  430    777   
    }
         778  +
    /* BuilderGenerator.kt:334 */
  431    779   
    #[allow(missing_docs)] // documentation missing in model
         780  +
                           /* BuilderGenerator.kt:336 */
  432    781   
    pub fn get_required_long(&self) -> &::std::option::Option<i64> {
         782  +
        /* BuilderGenerator.kt:337 */
  433    783   
        &self.required_long
         784  +
        /* BuilderGenerator.kt:336 */
  434    785   
    }
         786  +
    /* BuilderGenerator.kt:286 */
  435    787   
    #[allow(missing_docs)] // documentation missing in model
  436         -
    /// This field is required.
         788  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         789  +
    /* BuilderGenerator.kt:291 */
  437    790   
    pub fn required_float(mut self, input: f32) -> Self {
         791  +
        /* BuilderGenerator.kt:292 */
  438    792   
        self.required_float = ::std::option::Option::Some(input);
         793  +
        /* BuilderGenerator.kt:293 */
  439    794   
        self
         795  +
        /* BuilderGenerator.kt:291 */
  440    796   
    }
         797  +
    /* BuilderGenerator.kt:312 */
  441    798   
    #[allow(missing_docs)] // documentation missing in model
         799  +
                           /* BuilderGenerator.kt:314 */
  442    800   
    pub fn set_required_float(mut self, input: ::std::option::Option<f32>) -> Self {
         801  +
        /* BuilderGenerator.kt:315 */
  443    802   
        self.required_float = input;
  444    803   
        self
         804  +
        /* BuilderGenerator.kt:314 */
  445    805   
    }
         806  +
    /* BuilderGenerator.kt:334 */
  446    807   
    #[allow(missing_docs)] // documentation missing in model
         808  +
                           /* BuilderGenerator.kt:336 */
  447    809   
    pub fn get_required_float(&self) -> &::std::option::Option<f32> {
         810  +
        /* BuilderGenerator.kt:337 */
  448    811   
        &self.required_float
         812  +
        /* BuilderGenerator.kt:336 */
  449    813   
    }
         814  +
    /* BuilderGenerator.kt:286 */
  450    815   
    #[allow(missing_docs)] // documentation missing in model
  451         -
    /// This field is required.
         816  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         817  +
    /* BuilderGenerator.kt:291 */
  452    818   
    pub fn required_double(mut self, input: f64) -> Self {
         819  +
        /* BuilderGenerator.kt:292 */
  453    820   
        self.required_double = ::std::option::Option::Some(input);
         821  +
        /* BuilderGenerator.kt:293 */
  454    822   
        self
         823  +
        /* BuilderGenerator.kt:291 */
  455    824   
    }
         825  +
    /* BuilderGenerator.kt:312 */
  456    826   
    #[allow(missing_docs)] // documentation missing in model
         827  +
                           /* BuilderGenerator.kt:314 */
  457    828   
    pub fn set_required_double(mut self, input: ::std::option::Option<f64>) -> Self {
         829  +
        /* BuilderGenerator.kt:315 */
  458    830   
        self.required_double = input;
  459    831   
        self
         832  +
        /* BuilderGenerator.kt:314 */
  460    833   
    }
         834  +
    /* BuilderGenerator.kt:334 */
  461    835   
    #[allow(missing_docs)] // documentation missing in model
         836  +
                           /* BuilderGenerator.kt:336 */
  462    837   
    pub fn get_required_double(&self) -> &::std::option::Option<f64> {
         838  +
        /* BuilderGenerator.kt:337 */
  463    839   
        &self.required_double
         840  +
        /* BuilderGenerator.kt:336 */
  464    841   
    }
         842  +
    /* BuilderGenerator.kt:286 */
  465    843   
    #[allow(missing_docs)] // documentation missing in model
  466         -
    /// This field is required.
         844  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         845  +
    /* BuilderGenerator.kt:291 */
  467    846   
    pub fn required_timestamp(mut self, input: ::aws_smithy_types::DateTime) -> Self {
         847  +
        /* BuilderGenerator.kt:292 */
  468    848   
        self.required_timestamp = ::std::option::Option::Some(input);
         849  +
        /* BuilderGenerator.kt:293 */
  469    850   
        self
         851  +
        /* BuilderGenerator.kt:291 */
  470    852   
    }
         853  +
    /* BuilderGenerator.kt:312 */
  471    854   
    #[allow(missing_docs)] // documentation missing in model
         855  +
                           /* BuilderGenerator.kt:314 */
  472    856   
    pub fn set_required_timestamp(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
         857  +
        /* BuilderGenerator.kt:315 */
  473    858   
        self.required_timestamp = input;
  474    859   
        self
         860  +
        /* BuilderGenerator.kt:314 */
  475    861   
    }
         862  +
    /* BuilderGenerator.kt:334 */
  476    863   
    #[allow(missing_docs)] // documentation missing in model
         864  +
                           /* BuilderGenerator.kt:336 */
  477    865   
    pub fn get_required_timestamp(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
         866  +
        /* BuilderGenerator.kt:337 */
  478    867   
        &self.required_timestamp
         868  +
        /* BuilderGenerator.kt:336 */
  479    869   
    }
         870  +
    /* BuilderGenerator.kt:286 */
  480    871   
    #[allow(missing_docs)] // documentation missing in model
  481         -
    /// This field is required.
         872  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         873  +
    /* BuilderGenerator.kt:291 */
  482    874   
    pub fn required_enum(mut self, input: crate::types::Suit) -> Self {
         875  +
        /* BuilderGenerator.kt:292 */
  483    876   
        self.required_enum = ::std::option::Option::Some(input);
         877  +
        /* BuilderGenerator.kt:293 */
  484    878   
        self
         879  +
        /* BuilderGenerator.kt:291 */
  485    880   
    }
         881  +
    /* BuilderGenerator.kt:312 */
  486    882   
    #[allow(missing_docs)] // documentation missing in model
         883  +
                           /* BuilderGenerator.kt:314 */
  487    884   
    pub fn set_required_enum(mut self, input: ::std::option::Option<crate::types::Suit>) -> Self {
         885  +
        /* BuilderGenerator.kt:315 */
  488    886   
        self.required_enum = input;
  489    887   
        self
         888  +
        /* BuilderGenerator.kt:314 */
  490    889   
    }
         890  +
    /* BuilderGenerator.kt:334 */
  491    891   
    #[allow(missing_docs)] // documentation missing in model
         892  +
                           /* BuilderGenerator.kt:336 */
  492    893   
    pub fn get_required_enum(&self) -> &::std::option::Option<crate::types::Suit> {
         894  +
        /* BuilderGenerator.kt:337 */
  493    895   
        &self.required_enum
         896  +
        /* BuilderGenerator.kt:336 */
  494    897   
    }
  495         -
    /// Consumes the builder and constructs a [`SimpleStructOperationInput`](crate::operation::simple_struct_operation::SimpleStructOperationInput).
         898  +
    /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`SimpleStructOperationInput`](crate::operation::simple_struct_operation::SimpleStructOperationInput).
         899  +
    /* BuilderGenerator.kt:253 */
  496    900   
    pub fn build(
  497    901   
        self,
  498    902   
    ) -> ::std::result::Result<crate::operation::simple_struct_operation::SimpleStructOperationInput, ::aws_smithy_types::error::operation::BuildError>
  499    903   
    {
  500         -
        ::std::result::Result::Ok(crate::operation::simple_struct_operation::SimpleStructOperationInput {
  501         -
            blob: self.blob,
         904  +
        /* BuilderGenerator.kt:254 */
         905  +
        ::std::result::Result::Ok(
         906  +
            /* BuilderGenerator.kt:477 */
         907  +
            crate::operation::simple_struct_operation::SimpleStructOperationInput {
         908  +
                /* BuilderGenerator.kt:481 */ blob: self.blob,
         909  +
                /* BuilderGenerator.kt:481 */
  502    910   
                boolean: self.boolean,
         911  +
                /* BuilderGenerator.kt:481 */
  503    912   
                string: self.string,
         913  +
                /* BuilderGenerator.kt:481 */
  504    914   
                byte: self.byte,
         915  +
                /* BuilderGenerator.kt:481 */
  505    916   
                short: self.short,
         917  +
                /* BuilderGenerator.kt:481 */
  506    918   
                integer: self.integer,
         919  +
                /* BuilderGenerator.kt:481 */
  507    920   
                long: self.long,
         921  +
                /* BuilderGenerator.kt:481 */
  508    922   
                float: self.float,
         923  +
                /* BuilderGenerator.kt:481 */
  509    924   
                double: self.double,
         925  +
                /* BuilderGenerator.kt:481 */
  510    926   
                timestamp: self.timestamp,
         927  +
                /* BuilderGenerator.kt:481 */
  511    928   
                r#enum: self.r#enum,
         929  +
                /* BuilderGenerator.kt:481 */
  512    930   
                required_blob: self.required_blob,
         931  +
                /* BuilderGenerator.kt:481 */
  513    932   
                required_boolean: self.required_boolean,
         933  +
                /* BuilderGenerator.kt:481 */
  514    934   
                required_string: self.required_string,
         935  +
                /* BuilderGenerator.kt:481 */
  515    936   
                required_byte: self.required_byte,
         937  +
                /* BuilderGenerator.kt:481 */
  516    938   
                required_short: self.required_short,
         939  +
                /* BuilderGenerator.kt:481 */
  517    940   
                required_integer: self.required_integer,
         941  +
                /* BuilderGenerator.kt:481 */
  518    942   
                required_long: self.required_long,
         943  +
                /* BuilderGenerator.kt:481 */
  519    944   
                required_float: self.required_float,
         945  +
                /* BuilderGenerator.kt:481 */
  520    946   
                required_double: self.required_double,
         947  +
                /* BuilderGenerator.kt:481 */
  521    948   
                required_timestamp: self.required_timestamp,
         949  +
                /* BuilderGenerator.kt:481 */
  522    950   
                required_enum: self.required_enum,
  523         -
        })
         951  +
                /* BuilderGenerator.kt:477 */
         952  +
            }, /* BuilderGenerator.kt:254 */
         953  +
        )
         954  +
        /* BuilderGenerator.kt:253 */
  524    955   
    }
         956  +
    /* BuilderGenerator.kt:355 */
  525    957   
}

tmp-codegen-diff/codegen-client-test/rpcv2Cbor_extras/rust-client-codegen/src/operation/simple_struct_operation/_simple_struct_operation_output.rs

@@ -1,1 +593,995 @@
    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 SimpleStructOperationOutput {
           8  +
pub /* StructureGenerator.kt:201 */ struct SimpleStructOperationOutput {
           9  +
    /* StructureGenerator.kt:231 */
    6     10   
    #[allow(missing_docs)] // documentation missing in model
    7     11   
    pub blob: ::std::option::Option<::aws_smithy_types::Blob>,
    8         -
    #[allow(missing_docs)] // documentation missing in model
          12  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
    9     13   
    pub boolean: ::std::option::Option<bool>,
          14  +
    /* StructureGenerator.kt:231 */
   10     15   
    #[allow(missing_docs)] // documentation missing in model
   11     16   
    pub string: ::std::option::Option<::std::string::String>,
   12         -
    #[allow(missing_docs)] // documentation missing in model
          17  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   13     18   
    pub byte: ::std::option::Option<i8>,
   14         -
    #[allow(missing_docs)] // documentation missing in model
          19  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   15     20   
    pub short: ::std::option::Option<i16>,
   16         -
    #[allow(missing_docs)] // documentation missing in model
          21  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   17     22   
    pub integer: ::std::option::Option<i32>,
   18         -
    #[allow(missing_docs)] // documentation missing in model
          23  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   19     24   
    pub long: ::std::option::Option<i64>,
   20         -
    #[allow(missing_docs)] // documentation missing in model
          25  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   21     26   
    pub float: ::std::option::Option<f32>,
   22         -
    #[allow(missing_docs)] // documentation missing in model
          27  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   23     28   
    pub double: ::std::option::Option<f64>,
          29  +
    /* StructureGenerator.kt:231 */
   24     30   
    #[allow(missing_docs)] // documentation missing in model
   25     31   
    pub timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
          32  +
    /* StructureGenerator.kt:231 */
   26     33   
    #[allow(missing_docs)] // documentation missing in model
   27     34   
    pub r#enum: ::std::option::Option<crate::types::Suit>,
   28         -
    #[allow(missing_docs)] // documentation missing in model
          35  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   29     36   
    pub required_blob: ::aws_smithy_types::Blob,
   30         -
    #[allow(missing_docs)] // documentation missing in model
          37  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   31     38   
    pub required_boolean: bool,
   32         -
    #[allow(missing_docs)] // documentation missing in model
          39  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   33     40   
    pub required_string: ::std::string::String,
   34         -
    #[allow(missing_docs)] // documentation missing in model
          41  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   35     42   
    pub required_byte: i8,
   36         -
    #[allow(missing_docs)] // documentation missing in model
          43  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   37     44   
    pub required_short: i16,
   38         -
    #[allow(missing_docs)] // documentation missing in model
          45  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   39     46   
    pub required_integer: i32,
   40         -
    #[allow(missing_docs)] // documentation missing in model
          47  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   41     48   
    pub required_long: i64,
   42         -
    #[allow(missing_docs)] // documentation missing in model
          49  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   43     50   
    pub required_float: f32,
   44         -
    #[allow(missing_docs)] // documentation missing in model
          51  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   45     52   
    pub required_double: f64,
          53  +
    /* StructureGenerator.kt:231 */
   46     54   
    #[allow(missing_docs)] // documentation missing in model
   47     55   
    pub required_timestamp: ::aws_smithy_types::DateTime,
          56  +
    /* StructureGenerator.kt:231 */
   48     57   
    #[allow(missing_docs)] // documentation missing in model
   49     58   
    pub required_enum: crate::types::Suit,
          59  +
    /* StructureGenerator.kt:201 */
   50     60   
}
          61  +
/* StructureGenerator.kt:135 */
   51     62   
impl SimpleStructOperationOutput {
          63  +
    /* StructureGenerator.kt:231 */
   52     64   
    #[allow(missing_docs)] // documentation missing in model
          65  +
                           /* StructureGenerator.kt:166 */
   53     66   
    pub fn blob(&self) -> ::std::option::Option<&::aws_smithy_types::Blob> {
          67  +
        /* StructureGenerator.kt:170 */
   54     68   
        self.blob.as_ref()
          69  +
        /* StructureGenerator.kt:166 */
   55     70   
    }
          71  +
    /* StructureGenerator.kt:231 */
   56     72   
    #[allow(missing_docs)] // documentation missing in model
          73  +
                           /* StructureGenerator.kt:166 */
   57     74   
    pub fn boolean(&self) -> ::std::option::Option<bool> {
          75  +
        /* StructureGenerator.kt:168 */
   58     76   
        self.boolean
          77  +
        /* StructureGenerator.kt:166 */
   59     78   
    }
          79  +
    /* StructureGenerator.kt:231 */
   60     80   
    #[allow(missing_docs)] // documentation missing in model
          81  +
                           /* StructureGenerator.kt:166 */
   61     82   
    pub fn string(&self) -> ::std::option::Option<&str> {
          83  +
        /* StructureGenerator.kt:169 */
   62     84   
        self.string.as_deref()
          85  +
        /* StructureGenerator.kt:166 */
   63     86   
    }
          87  +
    /* StructureGenerator.kt:231 */
   64     88   
    #[allow(missing_docs)] // documentation missing in model
          89  +
                           /* StructureGenerator.kt:166 */
   65     90   
    pub fn byte(&self) -> ::std::option::Option<i8> {
          91  +
        /* StructureGenerator.kt:168 */
   66     92   
        self.byte
          93  +
        /* StructureGenerator.kt:166 */
   67     94   
    }
          95  +
    /* StructureGenerator.kt:231 */
   68     96   
    #[allow(missing_docs)] // documentation missing in model
          97  +
                           /* StructureGenerator.kt:166 */
   69     98   
    pub fn short(&self) -> ::std::option::Option<i16> {
          99  +
        /* StructureGenerator.kt:168 */
   70    100   
        self.short
         101  +
        /* StructureGenerator.kt:166 */
   71    102   
    }
         103  +
    /* StructureGenerator.kt:231 */
   72    104   
    #[allow(missing_docs)] // documentation missing in model
         105  +
                           /* StructureGenerator.kt:166 */
   73    106   
    pub fn integer(&self) -> ::std::option::Option<i32> {
         107  +
        /* StructureGenerator.kt:168 */
   74    108   
        self.integer
         109  +
        /* StructureGenerator.kt:166 */
   75    110   
    }
         111  +
    /* StructureGenerator.kt:231 */
   76    112   
    #[allow(missing_docs)] // documentation missing in model
         113  +
                           /* StructureGenerator.kt:166 */
   77    114   
    pub fn long(&self) -> ::std::option::Option<i64> {
         115  +
        /* StructureGenerator.kt:168 */
   78    116   
        self.long
         117  +
        /* StructureGenerator.kt:166 */
   79    118   
    }
         119  +
    /* StructureGenerator.kt:231 */
   80    120   
    #[allow(missing_docs)] // documentation missing in model
         121  +
                           /* StructureGenerator.kt:166 */
   81    122   
    pub fn float(&self) -> ::std::option::Option<f32> {
         123  +
        /* StructureGenerator.kt:168 */
   82    124   
        self.float
         125  +
        /* StructureGenerator.kt:166 */
   83    126   
    }
         127  +
    /* StructureGenerator.kt:231 */
   84    128   
    #[allow(missing_docs)] // documentation missing in model
         129  +
                           /* StructureGenerator.kt:166 */
   85    130   
    pub fn double(&self) -> ::std::option::Option<f64> {
         131  +
        /* StructureGenerator.kt:168 */
   86    132   
        self.double
         133  +
        /* StructureGenerator.kt:166 */
   87    134   
    }
         135  +
    /* StructureGenerator.kt:231 */
   88    136   
    #[allow(missing_docs)] // documentation missing in model
         137  +
                           /* StructureGenerator.kt:166 */
   89    138   
    pub fn timestamp(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
         139  +
        /* StructureGenerator.kt:170 */
   90    140   
        self.timestamp.as_ref()
         141  +
        /* StructureGenerator.kt:166 */
   91    142   
    }
         143  +
    /* StructureGenerator.kt:231 */
   92    144   
    #[allow(missing_docs)] // documentation missing in model
         145  +
                           /* StructureGenerator.kt:166 */
   93    146   
    pub fn r#enum(&self) -> ::std::option::Option<&crate::types::Suit> {
         147  +
        /* StructureGenerator.kt:170 */
   94    148   
        self.r#enum.as_ref()
         149  +
        /* StructureGenerator.kt:166 */
   95    150   
    }
         151  +
    /* StructureGenerator.kt:231 */
   96    152   
    #[allow(missing_docs)] // documentation missing in model
         153  +
                           /* StructureGenerator.kt:166 */
   97    154   
    pub fn required_blob(&self) -> &::aws_smithy_types::Blob {
         155  +
        /* StructureGenerator.kt:172 */
   98    156   
        &self.required_blob
         157  +
        /* StructureGenerator.kt:166 */
   99    158   
    }
         159  +
    /* StructureGenerator.kt:231 */
  100    160   
    #[allow(missing_docs)] // documentation missing in model
         161  +
                           /* StructureGenerator.kt:166 */
  101    162   
    pub fn required_boolean(&self) -> bool {
         163  +
        /* StructureGenerator.kt:168 */
  102    164   
        self.required_boolean
         165  +
        /* StructureGenerator.kt:166 */
  103    166   
    }
         167  +
    /* StructureGenerator.kt:231 */
  104    168   
    #[allow(missing_docs)] // documentation missing in model
         169  +
                           /* StructureGenerator.kt:166 */
  105    170   
    pub fn required_string(&self) -> &str {
         171  +
        /* StructureGenerator.kt:171 */
  106    172   
        use std::ops::Deref;
  107    173   
        self.required_string.deref()
         174  +
        /* StructureGenerator.kt:166 */
  108    175   
    }
         176  +
    /* StructureGenerator.kt:231 */
  109    177   
    #[allow(missing_docs)] // documentation missing in model
         178  +
                           /* StructureGenerator.kt:166 */
  110    179   
    pub fn required_byte(&self) -> i8 {
         180  +
        /* StructureGenerator.kt:168 */
  111    181   
        self.required_byte
         182  +
        /* StructureGenerator.kt:166 */
  112    183   
    }
         184  +
    /* StructureGenerator.kt:231 */
  113    185   
    #[allow(missing_docs)] // documentation missing in model
         186  +
                           /* StructureGenerator.kt:166 */
  114    187   
    pub fn required_short(&self) -> i16 {
         188  +
        /* StructureGenerator.kt:168 */
  115    189   
        self.required_short
         190  +
        /* StructureGenerator.kt:166 */
  116    191   
    }
         192  +
    /* StructureGenerator.kt:231 */
  117    193   
    #[allow(missing_docs)] // documentation missing in model
         194  +
                           /* StructureGenerator.kt:166 */
  118    195   
    pub fn required_integer(&self) -> i32 {
         196  +
        /* StructureGenerator.kt:168 */
  119    197   
        self.required_integer
         198  +
        /* StructureGenerator.kt:166 */
  120    199   
    }
         200  +
    /* StructureGenerator.kt:231 */
  121    201   
    #[allow(missing_docs)] // documentation missing in model
         202  +
                           /* StructureGenerator.kt:166 */
  122    203   
    pub fn required_long(&self) -> i64 {
         204  +
        /* StructureGenerator.kt:168 */
  123    205   
        self.required_long
         206  +
        /* StructureGenerator.kt:166 */
  124    207   
    }
         208  +
    /* StructureGenerator.kt:231 */
  125    209   
    #[allow(missing_docs)] // documentation missing in model
         210  +
                           /* StructureGenerator.kt:166 */
  126    211   
    pub fn required_float(&self) -> f32 {
         212  +
        /* StructureGenerator.kt:168 */
  127    213   
        self.required_float
         214  +
        /* StructureGenerator.kt:166 */
  128    215   
    }
         216  +
    /* StructureGenerator.kt:231 */
  129    217   
    #[allow(missing_docs)] // documentation missing in model
         218  +
                           /* StructureGenerator.kt:166 */
  130    219   
    pub fn required_double(&self) -> f64 {
         220  +
        /* StructureGenerator.kt:168 */
  131    221   
        self.required_double
         222  +
        /* StructureGenerator.kt:166 */
  132    223   
    }
         224  +
    /* StructureGenerator.kt:231 */
  133    225   
    #[allow(missing_docs)] // documentation missing in model
         226  +
                           /* StructureGenerator.kt:166 */
  134    227   
    pub fn required_timestamp(&self) -> &::aws_smithy_types::DateTime {
         228  +
        /* StructureGenerator.kt:172 */
  135    229   
        &self.required_timestamp
         230  +
        /* StructureGenerator.kt:166 */
  136    231   
    }
         232  +
    /* StructureGenerator.kt:231 */
  137    233   
    #[allow(missing_docs)] // documentation missing in model
         234  +
                           /* StructureGenerator.kt:166 */
  138    235   
    pub fn required_enum(&self) -> &crate::types::Suit {
         236  +
        /* StructureGenerator.kt:172 */
  139    237   
        &self.required_enum
         238  +
        /* StructureGenerator.kt:166 */
  140    239   
    }
         240  +
    /* StructureGenerator.kt:135 */
  141    241   
}
         242  +
/* ClientCodegenVisitor.kt:237 */
  142    243   
impl SimpleStructOperationOutput {
  143         -
    /// Creates a new builder-style object to manufacture [`SimpleStructOperationOutput`](crate::operation::simple_struct_operation::SimpleStructOperationOutput).
         244  +
    /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`SimpleStructOperationOutput`](crate::operation::simple_struct_operation::SimpleStructOperationOutput).
         245  +
    /* BuilderGenerator.kt:175 */
  144    246   
    pub fn builder() -> crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder {
         247  +
        /* BuilderGenerator.kt:176 */
  145    248   
        crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::default()
         249  +
        /* BuilderGenerator.kt:175 */
  146    250   
    }
         251  +
    /* ClientCodegenVisitor.kt:237 */
  147    252   
}
  148    253   
  149         -
/// A builder for [`SimpleStructOperationOutput`](crate::operation::simple_struct_operation::SimpleStructOperationOutput).
         254  +
/// /* BuilderGenerator.kt:342 */A builder for [`SimpleStructOperationOutput`](crate::operation::simple_struct_operation::SimpleStructOperationOutput).
         255  +
/* RustType.kt:516 */
  150    256   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
         257  +
/* RustType.kt:516 */
  151    258   
#[non_exhaustive]
         259  +
/* BuilderGenerator.kt:345 */
  152    260   
pub struct SimpleStructOperationOutputBuilder {
  153         -
    pub(crate) blob: ::std::option::Option<::aws_smithy_types::Blob>,
  154         -
    pub(crate) boolean: ::std::option::Option<bool>,
  155         -
    pub(crate) string: ::std::option::Option<::std::string::String>,
  156         -
    pub(crate) byte: ::std::option::Option<i8>,
  157         -
    pub(crate) short: ::std::option::Option<i16>,
  158         -
    pub(crate) integer: ::std::option::Option<i32>,
  159         -
    pub(crate) long: ::std::option::Option<i64>,
  160         -
    pub(crate) float: ::std::option::Option<f32>,
  161         -
    pub(crate) double: ::std::option::Option<f64>,
  162         -
    pub(crate) timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
  163         -
    pub(crate) r#enum: ::std::option::Option<crate::types::Suit>,
  164         -
    pub(crate) required_blob: ::std::option::Option<::aws_smithy_types::Blob>,
  165         -
    pub(crate) required_boolean: ::std::option::Option<bool>,
  166         -
    pub(crate) required_string: ::std::option::Option<::std::string::String>,
  167         -
    pub(crate) required_byte: ::std::option::Option<i8>,
  168         -
    pub(crate) required_short: ::std::option::Option<i16>,
  169         -
    pub(crate) required_integer: ::std::option::Option<i32>,
  170         -
    pub(crate) required_long: ::std::option::Option<i64>,
  171         -
    pub(crate) required_float: ::std::option::Option<f32>,
  172         -
    pub(crate) required_double: ::std::option::Option<f64>,
  173         -
    pub(crate) required_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
  174         -
    pub(crate) required_enum: ::std::option::Option<crate::types::Suit>,
         261  +
    /* BuilderGenerator.kt:275 */ pub(crate) blob: ::std::option::Option<::aws_smithy_types::Blob>,
         262  +
    /* BuilderGenerator.kt:275 */ pub(crate) boolean: ::std::option::Option<bool>,
         263  +
    /* BuilderGenerator.kt:275 */ pub(crate) string: ::std::option::Option<::std::string::String>,
         264  +
    /* BuilderGenerator.kt:275 */ pub(crate) byte: ::std::option::Option<i8>,
         265  +
    /* BuilderGenerator.kt:275 */ pub(crate) short: ::std::option::Option<i16>,
         266  +
    /* BuilderGenerator.kt:275 */ pub(crate) integer: ::std::option::Option<i32>,
         267  +
    /* BuilderGenerator.kt:275 */ pub(crate) long: ::std::option::Option<i64>,
         268  +
    /* BuilderGenerator.kt:275 */ pub(crate) float: ::std::option::Option<f32>,
         269  +
    /* BuilderGenerator.kt:275 */ pub(crate) double: ::std::option::Option<f64>,
         270  +
    /* BuilderGenerator.kt:275 */ pub(crate) timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
         271  +
    /* BuilderGenerator.kt:275 */ pub(crate) r#enum: ::std::option::Option<crate::types::Suit>,
         272  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_blob: ::std::option::Option<::aws_smithy_types::Blob>,
         273  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_boolean: ::std::option::Option<bool>,
         274  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_string: ::std::option::Option<::std::string::String>,
         275  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_byte: ::std::option::Option<i8>,
         276  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_short: ::std::option::Option<i16>,
         277  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_integer: ::std::option::Option<i32>,
         278  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_long: ::std::option::Option<i64>,
         279  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_float: ::std::option::Option<f32>,
         280  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_double: ::std::option::Option<f64>,
         281  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
         282  +
    /* BuilderGenerator.kt:275 */ pub(crate) required_enum: ::std::option::Option<crate::types::Suit>,
         283  +
    /* BuilderGenerator.kt:345 */
  175    284   
}
         285  +
/* BuilderGenerator.kt:355 */
  176    286   
impl SimpleStructOperationOutputBuilder {
         287  +
    /* BuilderGenerator.kt:286 */
  177    288   
    #[allow(missing_docs)] // documentation missing in model
         289  +
                           /* BuilderGenerator.kt:291 */
  178    290   
    pub fn blob(mut self, input: ::aws_smithy_types::Blob) -> Self {
         291  +
        /* BuilderGenerator.kt:292 */
  179    292   
        self.blob = ::std::option::Option::Some(input);
         293  +
        /* BuilderGenerator.kt:293 */
  180    294   
        self
         295  +
        /* BuilderGenerator.kt:291 */
  181    296   
    }
         297  +
    /* BuilderGenerator.kt:312 */
  182    298   
    #[allow(missing_docs)] // documentation missing in model
         299  +
                           /* BuilderGenerator.kt:314 */
  183    300   
    pub fn set_blob(mut self, input: ::std::option::Option<::aws_smithy_types::Blob>) -> Self {
         301  +
        /* BuilderGenerator.kt:315 */
  184    302   
        self.blob = input;
  185    303   
        self
         304  +
        /* BuilderGenerator.kt:314 */
  186    305   
    }
         306  +
    /* BuilderGenerator.kt:334 */
  187    307   
    #[allow(missing_docs)] // documentation missing in model
         308  +
                           /* BuilderGenerator.kt:336 */
  188    309   
    pub fn get_blob(&self) -> &::std::option::Option<::aws_smithy_types::Blob> {
         310  +
        /* BuilderGenerator.kt:337 */
  189    311   
        &self.blob
         312  +
        /* BuilderGenerator.kt:336 */
  190    313   
    }
         314  +
    /* BuilderGenerator.kt:286 */
  191    315   
    #[allow(missing_docs)] // documentation missing in model
         316  +
                           /* BuilderGenerator.kt:291 */
  192    317   
    pub fn boolean(mut self, input: bool) -> Self {
         318  +
        /* BuilderGenerator.kt:292 */
  193    319   
        self.boolean = ::std::option::Option::Some(input);
         320  +
        /* BuilderGenerator.kt:293 */
  194    321   
        self
         322  +
        /* BuilderGenerator.kt:291 */
  195    323   
    }
         324  +
    /* BuilderGenerator.kt:312 */
  196    325   
    #[allow(missing_docs)] // documentation missing in model
         326  +
                           /* BuilderGenerator.kt:314 */
  197    327   
    pub fn set_boolean(mut self, input: ::std::option::Option<bool>) -> Self {
         328  +
        /* BuilderGenerator.kt:315 */
  198    329   
        self.boolean = input;
  199    330   
        self
         331  +
        /* BuilderGenerator.kt:314 */
  200    332   
    }
         333  +
    /* BuilderGenerator.kt:334 */
  201    334   
    #[allow(missing_docs)] // documentation missing in model
         335  +
                           /* BuilderGenerator.kt:336 */
  202    336   
    pub fn get_boolean(&self) -> &::std::option::Option<bool> {
         337  +
        /* BuilderGenerator.kt:337 */
  203    338   
        &self.boolean
         339  +
        /* BuilderGenerator.kt:336 */
  204    340   
    }
         341  +
    /* BuilderGenerator.kt:286 */
  205    342   
    #[allow(missing_docs)] // documentation missing in model
         343  +
                           /* BuilderGenerator.kt:291 */
  206    344   
    pub fn string(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         345  +
        /* BuilderGenerator.kt:292 */
  207    346   
        self.string = ::std::option::Option::Some(input.into());
         347  +
        /* BuilderGenerator.kt:293 */
  208    348   
        self
         349  +
        /* BuilderGenerator.kt:291 */
  209    350   
    }
         351  +
    /* BuilderGenerator.kt:312 */
  210    352   
    #[allow(missing_docs)] // documentation missing in model
         353  +
                           /* BuilderGenerator.kt:314 */
  211    354   
    pub fn set_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         355  +
        /* BuilderGenerator.kt:315 */
  212    356   
        self.string = input;
  213    357   
        self
         358  +
        /* BuilderGenerator.kt:314 */
  214    359   
    }
         360  +
    /* BuilderGenerator.kt:334 */
  215    361   
    #[allow(missing_docs)] // documentation missing in model
         362  +
                           /* BuilderGenerator.kt:336 */
  216    363   
    pub fn get_string(&self) -> &::std::option::Option<::std::string::String> {
         364  +
        /* BuilderGenerator.kt:337 */
  217    365   
        &self.string
         366  +
        /* BuilderGenerator.kt:336 */
  218    367   
    }
         368  +
    /* BuilderGenerator.kt:286 */
  219    369   
    #[allow(missing_docs)] // documentation missing in model
         370  +
                           /* BuilderGenerator.kt:291 */
  220    371   
    pub fn byte(mut self, input: i8) -> Self {
         372  +
        /* BuilderGenerator.kt:292 */
  221    373   
        self.byte = ::std::option::Option::Some(input);
         374  +
        /* BuilderGenerator.kt:293 */
  222    375   
        self
         376  +
        /* BuilderGenerator.kt:291 */
  223    377   
    }
         378  +
    /* BuilderGenerator.kt:312 */
  224    379   
    #[allow(missing_docs)] // documentation missing in model
         380  +
                           /* BuilderGenerator.kt:314 */
  225    381   
    pub fn set_byte(mut self, input: ::std::option::Option<i8>) -> Self {
         382  +
        /* BuilderGenerator.kt:315 */
  226    383   
        self.byte = input;
  227    384   
        self
         385  +
        /* BuilderGenerator.kt:314 */
  228    386   
    }
         387  +
    /* BuilderGenerator.kt:334 */
  229    388   
    #[allow(missing_docs)] // documentation missing in model
         389  +
                           /* BuilderGenerator.kt:336 */
  230    390   
    pub fn get_byte(&self) -> &::std::option::Option<i8> {
         391  +
        /* BuilderGenerator.kt:337 */
  231    392   
        &self.byte
         393  +
        /* BuilderGenerator.kt:336 */
  232    394   
    }
         395  +
    /* BuilderGenerator.kt:286 */
  233    396   
    #[allow(missing_docs)] // documentation missing in model
         397  +
                           /* BuilderGenerator.kt:291 */
  234    398   
    pub fn short(mut self, input: i16) -> Self {
         399  +
        /* BuilderGenerator.kt:292 */
  235    400   
        self.short = ::std::option::Option::Some(input);
         401  +
        /* BuilderGenerator.kt:293 */
  236    402   
        self
         403  +
        /* BuilderGenerator.kt:291 */
  237    404   
    }
         405  +
    /* BuilderGenerator.kt:312 */
  238    406   
    #[allow(missing_docs)] // documentation missing in model
         407  +
                           /* BuilderGenerator.kt:314 */
  239    408   
    pub fn set_short(mut self, input: ::std::option::Option<i16>) -> Self {
         409  +
        /* BuilderGenerator.kt:315 */
  240    410   
        self.short = input;
  241    411   
        self
         412  +
        /* BuilderGenerator.kt:314 */
  242    413   
    }
         414  +
    /* BuilderGenerator.kt:334 */
  243    415   
    #[allow(missing_docs)] // documentation missing in model
         416  +
                           /* BuilderGenerator.kt:336 */
  244    417   
    pub fn get_short(&self) -> &::std::option::Option<i16> {
         418  +
        /* BuilderGenerator.kt:337 */
  245    419   
        &self.short
         420  +
        /* BuilderGenerator.kt:336 */
  246    421   
    }
         422  +
    /* BuilderGenerator.kt:286 */
  247    423   
    #[allow(missing_docs)] // documentation missing in model
         424  +
                           /* BuilderGenerator.kt:291 */
  248    425   
    pub fn integer(mut self, input: i32) -> Self {
         426  +
        /* BuilderGenerator.kt:292 */
  249    427   
        self.integer = ::std::option::Option::Some(input);
         428  +
        /* BuilderGenerator.kt:293 */
  250    429   
        self
         430  +
        /* BuilderGenerator.kt:291 */
  251    431   
    }
         432  +
    /* BuilderGenerator.kt:312 */
  252    433   
    #[allow(missing_docs)] // documentation missing in model
         434  +
                           /* BuilderGenerator.kt:314 */
  253    435   
    pub fn set_integer(mut self, input: ::std::option::Option<i32>) -> Self {
         436  +
        /* BuilderGenerator.kt:315 */
  254    437   
        self.integer = input;
  255    438   
        self
         439  +
        /* BuilderGenerator.kt:314 */
  256    440   
    }
         441  +
    /* BuilderGenerator.kt:334 */
  257    442   
    #[allow(missing_docs)] // documentation missing in model
         443  +
                           /* BuilderGenerator.kt:336 */
  258    444   
    pub fn get_integer(&self) -> &::std::option::Option<i32> {
         445  +
        /* BuilderGenerator.kt:337 */
  259    446   
        &self.integer
         447  +
        /* BuilderGenerator.kt:336 */
  260    448   
    }
         449  +
    /* BuilderGenerator.kt:286 */
  261    450   
    #[allow(missing_docs)] // documentation missing in model
         451  +
                           /* BuilderGenerator.kt:291 */
  262    452   
    pub fn long(mut self, input: i64) -> Self {
         453  +
        /* BuilderGenerator.kt:292 */
  263    454   
        self.long = ::std::option::Option::Some(input);
         455  +
        /* BuilderGenerator.kt:293 */
  264    456   
        self
         457  +
        /* BuilderGenerator.kt:291 */
  265    458   
    }
         459  +
    /* BuilderGenerator.kt:312 */
  266    460   
    #[allow(missing_docs)] // documentation missing in model
         461  +
                           /* BuilderGenerator.kt:314 */
  267    462   
    pub fn set_long(mut self, input: ::std::option::Option<i64>) -> Self {
         463  +
        /* BuilderGenerator.kt:315 */
  268    464   
        self.long = input;
  269    465   
        self
         466  +
        /* BuilderGenerator.kt:314 */
  270    467   
    }
         468  +
    /* BuilderGenerator.kt:334 */
  271    469   
    #[allow(missing_docs)] // documentation missing in model
         470  +
                           /* BuilderGenerator.kt:336 */
  272    471   
    pub fn get_long(&self) -> &::std::option::Option<i64> {
         472  +
        /* BuilderGenerator.kt:337 */
  273    473   
        &self.long
         474  +
        /* BuilderGenerator.kt:336 */
  274    475   
    }
         476  +
    /* BuilderGenerator.kt:286 */
  275    477   
    #[allow(missing_docs)] // documentation missing in model
         478  +
                           /* BuilderGenerator.kt:291 */
  276    479   
    pub fn float(mut self, input: f32) -> Self {
         480  +
        /* BuilderGenerator.kt:292 */
  277    481   
        self.float = ::std::option::Option::Some(input);
         482  +
        /* BuilderGenerator.kt:293 */
  278    483   
        self
         484  +
        /* BuilderGenerator.kt:291 */
  279    485   
    }
         486  +
    /* BuilderGenerator.kt:312 */
  280    487   
    #[allow(missing_docs)] // documentation missing in model
         488  +
                           /* BuilderGenerator.kt:314 */
  281    489   
    pub fn set_float(mut self, input: ::std::option::Option<f32>) -> Self {
         490  +
        /* BuilderGenerator.kt:315 */
  282    491   
        self.float = input;
  283    492   
        self
         493  +
        /* BuilderGenerator.kt:314 */
  284    494   
    }
         495  +
    /* BuilderGenerator.kt:334 */
  285    496   
    #[allow(missing_docs)] // documentation missing in model
         497  +
                           /* BuilderGenerator.kt:336 */
  286    498   
    pub fn get_float(&self) -> &::std::option::Option<f32> {
         499  +
        /* BuilderGenerator.kt:337 */
  287    500   
        &self.float
         501  +
        /* BuilderGenerator.kt:336 */
  288    502   
    }
         503  +
    /* BuilderGenerator.kt:286 */
  289    504   
    #[allow(missing_docs)] // documentation missing in model
         505  +
                           /* BuilderGenerator.kt:291 */
  290    506   
    pub fn double(mut self, input: f64) -> Self {
         507  +
        /* BuilderGenerator.kt:292 */
  291    508   
        self.double = ::std::option::Option::Some(input);
         509  +
        /* BuilderGenerator.kt:293 */
  292    510   
        self
         511  +
        /* BuilderGenerator.kt:291 */
  293    512   
    }
         513  +
    /* BuilderGenerator.kt:312 */
  294    514   
    #[allow(missing_docs)] // documentation missing in model
         515  +
                           /* BuilderGenerator.kt:314 */
  295    516   
    pub fn set_double(mut self, input: ::std::option::Option<f64>) -> Self {
         517  +
        /* BuilderGenerator.kt:315 */
  296    518   
        self.double = input;
  297    519   
        self
         520  +
        /* BuilderGenerator.kt:314 */
  298    521   
    }
         522  +
    /* BuilderGenerator.kt:334 */
  299    523   
    #[allow(missing_docs)] // documentation missing in model
         524  +
                           /* BuilderGenerator.kt:336 */
  300    525   
    pub fn get_double(&self) -> &::std::option::Option<f64> {
         526  +
        /* BuilderGenerator.kt:337 */
  301    527   
        &self.double
         528  +
        /* BuilderGenerator.kt:336 */
  302    529   
    }
         530  +
    /* BuilderGenerator.kt:286 */
  303    531   
    #[allow(missing_docs)] // documentation missing in model
         532  +
                           /* BuilderGenerator.kt:291 */
  304    533   
    pub fn timestamp(mut self, input: ::aws_smithy_types::DateTime) -> Self {
         534  +
        /* BuilderGenerator.kt:292 */
  305    535   
        self.timestamp = ::std::option::Option::Some(input);
         536  +
        /* BuilderGenerator.kt:293 */
  306    537   
        self
         538  +
        /* BuilderGenerator.kt:291 */
  307    539   
    }
         540  +
    /* BuilderGenerator.kt:312 */
  308    541   
    #[allow(missing_docs)] // documentation missing in model
         542  +
                           /* BuilderGenerator.kt:314 */
  309    543   
    pub fn set_timestamp(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
         544  +
        /* BuilderGenerator.kt:315 */
  310    545   
        self.timestamp = input;
  311    546   
        self
         547  +
        /* BuilderGenerator.kt:314 */
  312    548   
    }
         549  +
    /* BuilderGenerator.kt:334 */
  313    550   
    #[allow(missing_docs)] // documentation missing in model
         551  +
                           /* BuilderGenerator.kt:336 */
  314    552   
    pub fn get_timestamp(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
         553  +
        /* BuilderGenerator.kt:337 */
  315    554   
        &self.timestamp
         555  +
        /* BuilderGenerator.kt:336 */
  316    556   
    }
         557  +
    /* BuilderGenerator.kt:286 */
  317    558   
    #[allow(missing_docs)] // documentation missing in model
         559  +
                           /* BuilderGenerator.kt:291 */
  318    560   
    pub fn r#enum(mut self, input: crate::types::Suit) -> Self {
         561  +
        /* BuilderGenerator.kt:292 */
  319    562   
        self.r#enum = ::std::option::Option::Some(input);
         563  +
        /* BuilderGenerator.kt:293 */
  320    564   
        self
         565  +
        /* BuilderGenerator.kt:291 */
  321    566   
    }
         567  +
    /* BuilderGenerator.kt:312 */
  322    568   
    #[allow(missing_docs)] // documentation missing in model
         569  +
                           /* BuilderGenerator.kt:314 */
  323    570   
    pub fn set_enum(mut self, input: ::std::option::Option<crate::types::Suit>) -> Self {
         571  +
        /* BuilderGenerator.kt:315 */
  324    572   
        self.r#enum = input;
  325    573   
        self
         574  +
        /* BuilderGenerator.kt:314 */
  326    575   
    }
         576  +
    /* BuilderGenerator.kt:334 */
  327    577   
    #[allow(missing_docs)] // documentation missing in model
         578  +
                           /* BuilderGenerator.kt:336 */
  328    579   
    pub fn get_enum(&self) -> &::std::option::Option<crate::types::Suit> {
         580  +
        /* BuilderGenerator.kt:337 */
  329    581   
        &self.r#enum
         582  +
        /* BuilderGenerator.kt:336 */
  330    583   
    }
         584  +
    /* BuilderGenerator.kt:286 */
  331    585   
    #[allow(missing_docs)] // documentation missing in model
  332         -
    /// This field is required.
         586  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         587  +
    /* BuilderGenerator.kt:291 */
  333    588   
    pub fn required_blob(mut self, input: ::aws_smithy_types::Blob) -> Self {
         589  +
        /* BuilderGenerator.kt:292 */
  334    590   
        self.required_blob = ::std::option::Option::Some(input);
         591  +
        /* BuilderGenerator.kt:293 */
  335    592   
        self
         593  +
        /* BuilderGenerator.kt:291 */
  336    594   
    }
         595  +
    /* BuilderGenerator.kt:312 */
  337    596   
    #[allow(missing_docs)] // documentation missing in model
         597  +
                           /* BuilderGenerator.kt:314 */
  338    598   
    pub fn set_required_blob(mut self, input: ::std::option::Option<::aws_smithy_types::Blob>) -> Self {
         599  +
        /* BuilderGenerator.kt:315 */
  339    600   
        self.required_blob = input;
  340    601   
        self
         602  +
        /* BuilderGenerator.kt:314 */
  341    603   
    }
         604  +
    /* BuilderGenerator.kt:334 */
  342    605   
    #[allow(missing_docs)] // documentation missing in model
         606  +
                           /* BuilderGenerator.kt:336 */
  343    607   
    pub fn get_required_blob(&self) -> &::std::option::Option<::aws_smithy_types::Blob> {
         608  +
        /* BuilderGenerator.kt:337 */
  344    609   
        &self.required_blob
         610  +
        /* BuilderGenerator.kt:336 */
  345    611   
    }
         612  +
    /* BuilderGenerator.kt:286 */
  346    613   
    #[allow(missing_docs)] // documentation missing in model
  347         -
    /// This field is required.
         614  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         615  +
    /* BuilderGenerator.kt:291 */
  348    616   
    pub fn required_boolean(mut self, input: bool) -> Self {
         617  +
        /* BuilderGenerator.kt:292 */
  349    618   
        self.required_boolean = ::std::option::Option::Some(input);
         619  +
        /* BuilderGenerator.kt:293 */
  350    620   
        self
         621  +
        /* BuilderGenerator.kt:291 */
  351    622   
    }
         623  +
    /* BuilderGenerator.kt:312 */
  352    624   
    #[allow(missing_docs)] // documentation missing in model
         625  +
                           /* BuilderGenerator.kt:314 */
  353    626   
    pub fn set_required_boolean(mut self, input: ::std::option::Option<bool>) -> Self {
         627  +
        /* BuilderGenerator.kt:315 */
  354    628   
        self.required_boolean = input;
  355    629   
        self
         630  +
        /* BuilderGenerator.kt:314 */
  356    631   
    }
         632  +
    /* BuilderGenerator.kt:334 */
  357    633   
    #[allow(missing_docs)] // documentation missing in model
         634  +
                           /* BuilderGenerator.kt:336 */
  358    635   
    pub fn get_required_boolean(&self) -> &::std::option::Option<bool> {
         636  +
        /* BuilderGenerator.kt:337 */
  359    637   
        &self.required_boolean
         638  +
        /* BuilderGenerator.kt:336 */
  360    639   
    }
         640  +
    /* BuilderGenerator.kt:286 */
  361    641   
    #[allow(missing_docs)] // documentation missing in model
  362         -
    /// This field is required.
         642  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         643  +
    /* BuilderGenerator.kt:291 */
  363    644   
    pub fn required_string(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         645  +
        /* BuilderGenerator.kt:292 */
  364    646   
        self.required_string = ::std::option::Option::Some(input.into());
         647  +
        /* BuilderGenerator.kt:293 */
  365    648   
        self
         649  +
        /* BuilderGenerator.kt:291 */
  366    650   
    }
         651  +
    /* BuilderGenerator.kt:312 */
  367    652   
    #[allow(missing_docs)] // documentation missing in model
         653  +
                           /* BuilderGenerator.kt:314 */
  368    654   
    pub fn set_required_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         655  +
        /* BuilderGenerator.kt:315 */
  369    656   
        self.required_string = input;
  370    657   
        self
         658  +
        /* BuilderGenerator.kt:314 */
  371    659   
    }
         660  +
    /* BuilderGenerator.kt:334 */
  372    661   
    #[allow(missing_docs)] // documentation missing in model
         662  +
                           /* BuilderGenerator.kt:336 */
  373    663   
    pub fn get_required_string(&self) -> &::std::option::Option<::std::string::String> {
         664  +
        /* BuilderGenerator.kt:337 */
  374    665   
        &self.required_string
         666  +
        /* BuilderGenerator.kt:336 */
  375    667   
    }
         668  +
    /* BuilderGenerator.kt:286 */
  376    669   
    #[allow(missing_docs)] // documentation missing in model
  377         -
    /// This field is required.
         670  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         671  +
    /* BuilderGenerator.kt:291 */
  378    672   
    pub fn required_byte(mut self, input: i8) -> Self {
         673  +
        /* BuilderGenerator.kt:292 */
  379    674   
        self.required_byte = ::std::option::Option::Some(input);
         675  +
        /* BuilderGenerator.kt:293 */
  380    676   
        self
         677  +
        /* BuilderGenerator.kt:291 */
  381    678   
    }
         679  +
    /* BuilderGenerator.kt:312 */
  382    680   
    #[allow(missing_docs)] // documentation missing in model
         681  +
                           /* BuilderGenerator.kt:314 */
  383    682   
    pub fn set_required_byte(mut self, input: ::std::option::Option<i8>) -> Self {
         683  +
        /* BuilderGenerator.kt:315 */
  384    684   
        self.required_byte = input;
  385    685   
        self
         686  +
        /* BuilderGenerator.kt:314 */
  386    687   
    }
         688  +
    /* BuilderGenerator.kt:334 */
  387    689   
    #[allow(missing_docs)] // documentation missing in model
         690  +
                           /* BuilderGenerator.kt:336 */
  388    691   
    pub fn get_required_byte(&self) -> &::std::option::Option<i8> {
         692  +
        /* BuilderGenerator.kt:337 */
  389    693   
        &self.required_byte
         694  +
        /* BuilderGenerator.kt:336 */
  390    695   
    }
         696  +
    /* BuilderGenerator.kt:286 */
  391    697   
    #[allow(missing_docs)] // documentation missing in model
  392         -
    /// This field is required.
         698  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         699  +
    /* BuilderGenerator.kt:291 */
  393    700   
    pub fn required_short(mut self, input: i16) -> Self {
         701  +
        /* BuilderGenerator.kt:292 */
  394    702   
        self.required_short = ::std::option::Option::Some(input);
         703  +
        /* BuilderGenerator.kt:293 */
  395    704   
        self
         705  +
        /* BuilderGenerator.kt:291 */
  396    706   
    }
         707  +
    /* BuilderGenerator.kt:312 */
  397    708   
    #[allow(missing_docs)] // documentation missing in model
         709  +
                           /* BuilderGenerator.kt:314 */
  398    710   
    pub fn set_required_short(mut self, input: ::std::option::Option<i16>) -> Self {
         711  +
        /* BuilderGenerator.kt:315 */
  399    712   
        self.required_short = input;
  400    713   
        self
         714  +
        /* BuilderGenerator.kt:314 */
  401    715   
    }
         716  +
    /* BuilderGenerator.kt:334 */
  402    717   
    #[allow(missing_docs)] // documentation missing in model
         718  +
                           /* BuilderGenerator.kt:336 */
  403    719   
    pub fn get_required_short(&self) -> &::std::option::Option<i16> {
         720  +
        /* BuilderGenerator.kt:337 */
  404    721   
        &self.required_short
         722  +
        /* BuilderGenerator.kt:336 */
  405    723   
    }
         724  +
    /* BuilderGenerator.kt:286 */
  406    725   
    #[allow(missing_docs)] // documentation missing in model
  407         -
    /// This field is required.
         726  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         727  +
    /* BuilderGenerator.kt:291 */
  408    728   
    pub fn required_integer(mut self, input: i32) -> Self {
         729  +
        /* BuilderGenerator.kt:292 */
  409    730   
        self.required_integer = ::std::option::Option::Some(input);
         731  +
        /* BuilderGenerator.kt:293 */
  410    732   
        self
         733  +
        /* BuilderGenerator.kt:291 */
  411    734   
    }
         735  +
    /* BuilderGenerator.kt:312 */
  412    736   
    #[allow(missing_docs)] // documentation missing in model
         737  +
                           /* BuilderGenerator.kt:314 */
  413    738   
    pub fn set_required_integer(mut self, input: ::std::option::Option<i32>) -> Self {
         739  +
        /* BuilderGenerator.kt:315 */
  414    740   
        self.required_integer = input;
  415    741   
        self
         742  +
        /* BuilderGenerator.kt:314 */
  416    743   
    }
         744  +
    /* BuilderGenerator.kt:334 */
  417    745   
    #[allow(missing_docs)] // documentation missing in model
         746  +
                           /* BuilderGenerator.kt:336 */
  418    747   
    pub fn get_required_integer(&self) -> &::std::option::Option<i32> {
         748  +
        /* BuilderGenerator.kt:337 */
  419    749   
        &self.required_integer
         750  +
        /* BuilderGenerator.kt:336 */
  420    751   
    }
         752  +
    /* BuilderGenerator.kt:286 */
  421    753   
    #[allow(missing_docs)] // documentation missing in model
  422         -
    /// This field is required.
         754  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         755  +
    /* BuilderGenerator.kt:291 */
  423    756   
    pub fn required_long(mut self, input: i64) -> Self {
         757  +
        /* BuilderGenerator.kt:292 */
  424    758   
        self.required_long = ::std::option::Option::Some(input);
         759  +
        /* BuilderGenerator.kt:293 */
  425    760   
        self
         761  +
        /* BuilderGenerator.kt:291 */
  426    762   
    }
         763  +
    /* BuilderGenerator.kt:312 */
  427    764   
    #[allow(missing_docs)] // documentation missing in model
         765  +
                           /* BuilderGenerator.kt:314 */
  428    766   
    pub fn set_required_long(mut self, input: ::std::option::Option<i64>) -> Self {
         767  +
        /* BuilderGenerator.kt:315 */
  429    768   
        self.required_long = input;
  430    769   
        self
         770  +
        /* BuilderGenerator.kt:314 */
  431    771   
    }
         772  +
    /* BuilderGenerator.kt:334 */
  432    773   
    #[allow(missing_docs)] // documentation missing in model
         774  +
                           /* BuilderGenerator.kt:336 */
  433    775   
    pub fn get_required_long(&self) -> &::std::option::Option<i64> {
         776  +
        /* BuilderGenerator.kt:337 */
  434    777   
        &self.required_long
         778  +
        /* BuilderGenerator.kt:336 */
  435    779   
    }
         780  +
    /* BuilderGenerator.kt:286 */
  436    781   
    #[allow(missing_docs)] // documentation missing in model
  437         -
    /// This field is required.
         782  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         783  +
    /* BuilderGenerator.kt:291 */
  438    784   
    pub fn required_float(mut self, input: f32) -> Self {
         785  +
        /* BuilderGenerator.kt:292 */
  439    786   
        self.required_float = ::std::option::Option::Some(input);
         787  +
        /* BuilderGenerator.kt:293 */
  440    788   
        self
         789  +
        /* BuilderGenerator.kt:291 */
  441    790   
    }
         791  +
    /* BuilderGenerator.kt:312 */
  442    792   
    #[allow(missing_docs)] // documentation missing in model
         793  +
                           /* BuilderGenerator.kt:314 */
  443    794   
    pub fn set_required_float(mut self, input: ::std::option::Option<f32>) -> Self {
         795  +
        /* BuilderGenerator.kt:315 */
  444    796   
        self.required_float = input;
  445    797   
        self
         798  +
        /* BuilderGenerator.kt:314 */
  446    799   
    }
         800  +
    /* BuilderGenerator.kt:334 */
  447    801   
    #[allow(missing_docs)] // documentation missing in model
         802  +
                           /* BuilderGenerator.kt:336 */
  448    803   
    pub fn get_required_float(&self) -> &::std::option::Option<f32> {
         804  +
        /* BuilderGenerator.kt:337 */
  449    805   
        &self.required_float
         806  +
        /* BuilderGenerator.kt:336 */
  450    807   
    }
         808  +
    /* BuilderGenerator.kt:286 */
  451    809   
    #[allow(missing_docs)] // documentation missing in model
  452         -
    /// This field is required.
         810  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         811  +
    /* BuilderGenerator.kt:291 */
  453    812   
    pub fn required_double(mut self, input: f64) -> Self {
         813  +
        /* BuilderGenerator.kt:292 */
  454    814   
        self.required_double = ::std::option::Option::Some(input);
         815  +
        /* BuilderGenerator.kt:293 */
  455    816   
        self
         817  +
        /* BuilderGenerator.kt:291 */
  456    818   
    }
         819  +
    /* BuilderGenerator.kt:312 */
  457    820   
    #[allow(missing_docs)] // documentation missing in model
         821  +
                           /* BuilderGenerator.kt:314 */
  458    822   
    pub fn set_required_double(mut self, input: ::std::option::Option<f64>) -> Self {
         823  +
        /* BuilderGenerator.kt:315 */
  459    824   
        self.required_double = input;
  460    825   
        self
         826  +
        /* BuilderGenerator.kt:314 */
  461    827   
    }
         828  +
    /* BuilderGenerator.kt:334 */
  462    829   
    #[allow(missing_docs)] // documentation missing in model
         830  +
                           /* BuilderGenerator.kt:336 */
  463    831   
    pub fn get_required_double(&self) -> &::std::option::Option<f64> {
         832  +
        /* BuilderGenerator.kt:337 */
  464    833   
        &self.required_double
         834  +
        /* BuilderGenerator.kt:336 */
  465    835   
    }
         836  +
    /* BuilderGenerator.kt:286 */
  466    837   
    #[allow(missing_docs)] // documentation missing in model
  467         -
    /// This field is required.
         838  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         839  +
    /* BuilderGenerator.kt:291 */
  468    840   
    pub fn required_timestamp(mut self, input: ::aws_smithy_types::DateTime) -> Self {
         841  +
        /* BuilderGenerator.kt:292 */
  469    842   
        self.required_timestamp = ::std::option::Option::Some(input);
         843  +
        /* BuilderGenerator.kt:293 */
  470    844   
        self
         845  +
        /* BuilderGenerator.kt:291 */
  471    846   
    }
         847  +
    /* BuilderGenerator.kt:312 */
  472    848   
    #[allow(missing_docs)] // documentation missing in model
         849  +
                           /* BuilderGenerator.kt:314 */
  473    850   
    pub fn set_required_timestamp(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
         851  +
        /* BuilderGenerator.kt:315 */
  474    852   
        self.required_timestamp = input;
  475    853   
        self
         854  +
        /* BuilderGenerator.kt:314 */
  476    855   
    }
         856  +
    /* BuilderGenerator.kt:334 */
  477    857   
    #[allow(missing_docs)] // documentation missing in model
         858  +
                           /* BuilderGenerator.kt:336 */
  478    859   
    pub fn get_required_timestamp(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
         860  +
        /* BuilderGenerator.kt:337 */
  479    861   
        &self.required_timestamp
         862  +
        /* BuilderGenerator.kt:336 */
  480    863   
    }
         864  +
    /* BuilderGenerator.kt:286 */
  481    865   
    #[allow(missing_docs)] // documentation missing in model
  482         -
    /// This field is required.
         866  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         867  +
    /* BuilderGenerator.kt:291 */
  483    868   
    pub fn required_enum(mut self, input: crate::types::Suit) -> Self {
         869  +
        /* BuilderGenerator.kt:292 */
  484    870   
        self.required_enum = ::std::option::Option::Some(input);
         871  +
        /* BuilderGenerator.kt:293 */
  485    872   
        self
         873  +
        /* BuilderGenerator.kt:291 */
  486    874   
    }
         875  +
    /* BuilderGenerator.kt:312 */
  487    876   
    #[allow(missing_docs)] // documentation missing in model
         877  +
                           /* BuilderGenerator.kt:314 */
  488    878   
    pub fn set_required_enum(mut self, input: ::std::option::Option<crate::types::Suit>) -> Self {
         879  +
        /* BuilderGenerator.kt:315 */
  489    880   
        self.required_enum = input;
  490    881   
        self
         882  +
        /* BuilderGenerator.kt:314 */
  491    883   
    }
         884  +
    /* BuilderGenerator.kt:334 */
  492    885   
    #[allow(missing_docs)] // documentation missing in model
         886  +
                           /* BuilderGenerator.kt:336 */
  493    887   
    pub fn get_required_enum(&self) -> &::std::option::Option<crate::types::Suit> {
         888  +
        /* BuilderGenerator.kt:337 */
  494    889   
        &self.required_enum
  495         -
    }
  496         -
    /// Consumes the builder and constructs a [`SimpleStructOperationOutput`](crate::operation::simple_struct_operation::SimpleStructOperationOutput).
  497         -
    /// This method will fail if any of the following fields are not set:
  498         -
    /// - [`required_blob`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_blob)
  499         -
    /// - [`required_boolean`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_boolean)
  500         -
    /// - [`required_string`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_string)
  501         -
    /// - [`required_byte`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_byte)
  502         -
    /// - [`required_short`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_short)
  503         -
    /// - [`required_integer`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_integer)
  504         -
    /// - [`required_long`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_long)
  505         -
    /// - [`required_float`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_float)
  506         -
    /// - [`required_double`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_double)
  507         -
    /// - [`required_timestamp`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_timestamp)
  508         -
    /// - [`required_enum`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_enum)
         890  +
        /* BuilderGenerator.kt:336 */
         891  +
    }
         892  +
    /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`SimpleStructOperationOutput`](crate::operation::simple_struct_operation::SimpleStructOperationOutput).
         893  +
    /// /* BuilderGenerator.kt:243 */This method will fail if any of the following fields are not set:
         894  +
    /// /* BuilderGenerator.kt:246 */- [`required_blob`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_blob)
         895  +
    /// /* BuilderGenerator.kt:246 */- [`required_boolean`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_boolean)
         896  +
    /// /* BuilderGenerator.kt:246 */- [`required_string`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_string)
         897  +
    /// /* BuilderGenerator.kt:246 */- [`required_byte`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_byte)
         898  +
    /// /* BuilderGenerator.kt:246 */- [`required_short`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_short)
         899  +
    /// /* BuilderGenerator.kt:246 */- [`required_integer`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_integer)
         900  +
    /// /* BuilderGenerator.kt:246 */- [`required_long`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_long)
         901  +
    /// /* BuilderGenerator.kt:246 */- [`required_float`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_float)
         902  +
    /// /* BuilderGenerator.kt:246 */- [`required_double`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_double)
         903  +
    /// /* BuilderGenerator.kt:246 */- [`required_timestamp`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_timestamp)
         904  +
    /// /* BuilderGenerator.kt:246 */- [`required_enum`](crate::operation::simple_struct_operation::builders::SimpleStructOperationOutputBuilder::required_enum)
         905  +
    /* BuilderGenerator.kt:253 */
  509    906   
    pub fn build(
  510    907   
        self,
  511    908   
    ) -> ::std::result::Result<crate::operation::simple_struct_operation::SimpleStructOperationOutput, ::aws_smithy_types::error::operation::BuildError>
  512    909   
    {
  513         -
        ::std::result::Result::Ok(crate::operation::simple_struct_operation::SimpleStructOperationOutput {
  514         -
            blob: self.blob,
  515         -
            boolean: self.boolean,
  516         -
            string: self.string,
  517         -
            byte: self.byte,
  518         -
            short: self.short,
  519         -
            integer: self.integer,
  520         -
            long: self.long,
  521         -
            float: self.float,
  522         -
            double: self.double,
  523         -
            timestamp: self.timestamp,
  524         -
            r#enum: self.r#enum,
  525         -
            required_blob: self.required_blob.ok_or_else(|| {
  526         -
                ::aws_smithy_types::error::operation::BuildError::missing_field(
  527         -
                    "required_blob",
  528         -
                    "required_blob was not specified but it is required when building SimpleStructOperationOutput",
  529         -
                )
  530         -
            })?,
  531         -
            required_boolean: self.required_boolean.ok_or_else(|| {
  532         -
                ::aws_smithy_types::error::operation::BuildError::missing_field(
  533         -
                    "required_boolean",
  534         -
                    "required_boolean was not specified but it is required when building SimpleStructOperationOutput",
  535         -
                )
  536         -
            })?,
  537         -
            required_string: self.required_string.ok_or_else(|| {
  538         -
                ::aws_smithy_types::error::operation::BuildError::missing_field(
  539         -
                    "required_string",
  540         -
                    "required_string was not specified but it is required when building SimpleStructOperationOutput",
  541         -
                )
  542         -
            })?,
  543         -
            required_byte: self.required_byte.ok_or_else(|| {
  544         -
                ::aws_smithy_types::error::operation::BuildError::missing_field(
  545         -
                    "required_byte",
  546         -
                    "required_byte was not specified but it is required when building SimpleStructOperationOutput",
  547         -
                )
  548         -
            })?,
  549         -
            required_short: self.required_short.ok_or_else(|| {
  550         -
                ::aws_smithy_types::error::operation::BuildError::missing_field(
  551         -
                    "required_short",
  552         -
                    "required_short was not specified but it is required when building SimpleStructOperationOutput",
  553         -
                )
  554         -
            })?,
  555         -
            required_integer: self.required_integer.ok_or_else(|| {
  556         -
                ::aws_smithy_types::error::operation::BuildError::missing_field(
  557         -
                    "required_integer",
  558         -
                    "required_integer was not specified but it is required when building SimpleStructOperationOutput",
  559         -
                )
  560         -
            })?,
  561         -
            required_long: self.required_long.ok_or_else(|| {
  562         -
                ::aws_smithy_types::error::operation::BuildError::missing_field(
  563         -
                    "required_long",
  564         -
                    "required_long was not specified but it is required when building SimpleStructOperationOutput",
  565         -
                )
  566         -
            })?,
  567         -
            required_float: self.required_float.ok_or_else(|| {
  568         -
                ::aws_smithy_types::error::operation::BuildError::missing_field(
  569         -
                    "required_float",
  570         -
                    "required_float was not specified but it is required when building SimpleStructOperationOutput",
  571         -
                )
  572         -
            })?,
  573         -
            required_double: self.required_double.ok_or_else(|| {
  574         -
                ::aws_smithy_types::error::operation::BuildError::missing_field(
  575         -
                    "required_double",
  576         -
                    "required_double was not specified but it is required when building SimpleStructOperationOutput",
  577         -
                )
  578         -
            })?,
  579         -
            required_timestamp: self.required_timestamp.ok_or_else(|| {
  580         -
                ::aws_smithy_types::error::operation::BuildError::missing_field(
  581         -
                    "required_timestamp",
  582         -
                    "required_timestamp was not specified but it is required when building SimpleStructOperationOutput",
  583         -
                )
  584         -
            })?,
  585         -
            required_enum: self.required_enum.ok_or_else(|| {
  586         -
                ::aws_smithy_types::error::operation::BuildError::missing_field(
  587         -
                    "required_enum",
  588         -
                    "required_enum was not specified but it is required when building SimpleStructOperationOutput",
  589         -
                )
  590         -
            })?,
  591         -
        })
  592         -
    }
         910  +
        /* BuilderGenerator.kt:254 */
         911  +
        ::std::result::Result::Ok(
         912  +
            /* BuilderGenerator.kt:477 */crate::operation::simple_struct_operation::SimpleStructOperationOutput {
         913  +
                /* BuilderGenerator.kt:481 */blob: self.blob
         914  +
                ,
         915  +
                /* BuilderGenerator.kt:481 */boolean: self.boolean
         916  +
                ,
         917  +
                /* BuilderGenerator.kt:481 */string: self.string
         918  +
                ,
         919  +
                /* BuilderGenerator.kt:481 */byte: self.byte
         920  +
                ,
         921  +
                /* BuilderGenerator.kt:481 */short: self.short
         922  +
                ,
         923  +
                /* BuilderGenerator.kt:481 */integer: self.integer
         924  +
                ,
         925  +
                /* BuilderGenerator.kt:481 */long: self.long
         926  +
                ,
         927  +
                /* BuilderGenerator.kt:481 */float: self.float
         928  +
                ,
         929  +
                /* BuilderGenerator.kt:481 */double: self.double
         930  +
                ,
         931  +
                /* BuilderGenerator.kt:481 */timestamp: self.timestamp
         932  +
                ,
         933  +
                /* BuilderGenerator.kt:481 */r#enum: self.r#enum
         934  +
                ,
         935  +
                /* BuilderGenerator.kt:481 */required_blob: self.required_blob
         936  +
                    /* BuilderGenerator.kt:494 */.ok_or_else(||
         937  +
                        /* BuilderGenerator.kt:117 */::aws_smithy_types::error::operation::BuildError::missing_field("required_blob", "required_blob was not specified but it is required when building SimpleStructOperationOutput")
         938  +
                    /* BuilderGenerator.kt:494 */)?
         939  +
                ,
         940  +
                /* BuilderGenerator.kt:481 */required_boolean: self.required_boolean
         941  +
                    /* BuilderGenerator.kt:494 */.ok_or_else(||
         942  +
                        /* BuilderGenerator.kt:117 */::aws_smithy_types::error::operation::BuildError::missing_field("required_boolean", "required_boolean was not specified but it is required when building SimpleStructOperationOutput")
         943  +
                    /* BuilderGenerator.kt:494 */)?
         944  +
                ,
         945  +
                /* BuilderGenerator.kt:481 */required_string: self.required_string
         946  +
                    /* BuilderGenerator.kt:494 */.ok_or_else(||
         947  +
                        /* BuilderGenerator.kt:117 */::aws_smithy_types::error::operation::BuildError::missing_field("required_string", "required_string was not specified but it is required when building SimpleStructOperationOutput")
         948  +
                    /* BuilderGenerator.kt:494 */)?
         949  +
                ,
         950  +
                /* BuilderGenerator.kt:481 */required_byte: self.required_byte
         951  +
                    /* BuilderGenerator.kt:494 */.ok_or_else(||
         952  +
                        /* BuilderGenerator.kt:117 */::aws_smithy_types::error::operation::BuildError::missing_field("required_byte", "required_byte was not specified but it is required when building SimpleStructOperationOutput")
         953  +
                    /* BuilderGenerator.kt:494 */)?
         954  +
                ,
         955  +
                /* BuilderGenerator.kt:481 */required_short: self.required_short
         956  +
                    /* BuilderGenerator.kt:494 */.ok_or_else(||
         957  +
                        /* BuilderGenerator.kt:117 */::aws_smithy_types::error::operation::BuildError::missing_field("required_short", "required_short was not specified but it is required when building SimpleStructOperationOutput")
         958  +
                    /* BuilderGenerator.kt:494 */)?
         959  +
                ,
         960  +
                /* BuilderGenerator.kt:481 */required_integer: self.required_integer
         961  +
                    /* BuilderGenerator.kt:494 */.ok_or_else(||
         962  +
                        /* BuilderGenerator.kt:117 */::aws_smithy_types::error::operation::BuildError::missing_field("required_integer", "required_integer was not specified but it is required when building SimpleStructOperationOutput")
         963  +
                    /* BuilderGenerator.kt:494 */)?
         964  +
                ,
         965  +
                /* BuilderGenerator.kt:481 */required_long: self.required_long
         966  +
                    /* BuilderGenerator.kt:494 */.ok_or_else(||
         967  +
                        /* BuilderGenerator.kt:117 */::aws_smithy_types::error::operation::BuildError::missing_field("required_long", "required_long was not specified but it is required when building SimpleStructOperationOutput")
         968  +
                    /* BuilderGenerator.kt:494 */)?
         969  +
                ,
         970  +
                /* BuilderGenerator.kt:481 */required_float: self.required_float
         971  +
                    /* BuilderGenerator.kt:494 */.ok_or_else(||
         972  +
                        /* BuilderGenerator.kt:117 */::aws_smithy_types::error::operation::BuildError::missing_field("required_float", "required_float was not specified but it is required when building SimpleStructOperationOutput")
         973  +
                    /* BuilderGenerator.kt:494 */)?
         974  +
                ,
         975  +
                /* BuilderGenerator.kt:481 */required_double: self.required_double
         976  +
                    /* BuilderGenerator.kt:494 */.ok_or_else(||
         977  +
                        /* BuilderGenerator.kt:117 */::aws_smithy_types::error::operation::BuildError::missing_field("required_double", "required_double was not specified but it is required when building SimpleStructOperationOutput")
         978  +
                    /* BuilderGenerator.kt:494 */)?
         979  +
                ,
         980  +
                /* BuilderGenerator.kt:481 */required_timestamp: self.required_timestamp
         981  +
                    /* BuilderGenerator.kt:494 */.ok_or_else(||
         982  +
                        /* BuilderGenerator.kt:117 */::aws_smithy_types::error::operation::BuildError::missing_field("required_timestamp", "required_timestamp was not specified but it is required when building SimpleStructOperationOutput")
         983  +
                    /* BuilderGenerator.kt:494 */)?
         984  +
                ,
         985  +
                /* BuilderGenerator.kt:481 */required_enum: self.required_enum
         986  +
                    /* BuilderGenerator.kt:494 */.ok_or_else(||
         987  +
                        /* BuilderGenerator.kt:117 */::aws_smithy_types::error::operation::BuildError::missing_field("required_enum", "required_enum was not specified but it is required when building SimpleStructOperationOutput")
         988  +
                    /* BuilderGenerator.kt:494 */)?
         989  +
                ,
         990  +
            /* BuilderGenerator.kt:477 */}
         991  +
        /* BuilderGenerator.kt:254 */)
         992  +
        /* BuilderGenerator.kt:253 */
         993  +
    }
         994  +
    /* BuilderGenerator.kt:355 */
  593    995   
}