Server Test

Server Test

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943 (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-server-test/constraints/rust-server-codegen/src/lib.rs

@@ -1,1 +52,53 @@
   13     13   
#![allow(clippy::result_large_err)]
   14     14   
#![allow(clippy::unnecessary_map_on_constructor)]
   15     15   
#![allow(rustdoc::bare_urls)]
   16     16   
#![allow(rustdoc::redundant_explicit_links)]
   17     17   
#![allow(rustdoc::invalid_html_tags)]
   18     18   
#![forbid(unsafe_code)]
   19     19   
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
   20     20   
//! A service to test aspects of code generation where shapes have constraint traits.
   21     21   
   22     22   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
          23  +
/* ServerRootGenerator.kt:65 */
   23     24   
//! A fast and customizable Rust implementation of the ConstraintsService Smithy service.
   24     25   
//!
   25     26   
//! # Using ConstraintsService
   26     27   
//!
   27     28   
//! The primary entrypoint is [`ConstraintsService`]: it satisfies the [`Service<http::Request, Response = http::Response>`](::tower::Service)
   28     29   
//! trait and therefore can be handed to a [`hyper` server](https://github.com/hyperium/hyper) via [`ConstraintsService::into_make_service`]
   29     30   
//! or used in AWS Lambda
   30     31   
#![cfg_attr(
   31     32   
    feature = "aws-lambda",
   32     33   
    doc = " via [`LambdaHandler`](crate::server::routing::LambdaHandler)."
@@ -262,263 +343,353 @@
  282    283   
//! }
  283    284   
//!
  284    285   
//! ```
  285    286   
//!
  286    287   
//! [`serve`]: https://docs.rs/hyper/0.14.16/hyper/server/struct.Builder.html#method.serve
  287    288   
//! [`tower::make::MakeService`]: https://docs.rs/tower/latest/tower/make/trait.MakeService.html
  288    289   
//! [HTTP binding traits]: https://smithy.io/2.0/spec/http-bindings.html
  289    290   
//! [operations]: https://smithy.io/2.0/spec/service-types.html#operation
  290    291   
//! [hyper server]: https://docs.rs/hyper/latest/hyper/server/index.html
  291    292   
//! [Service]: https://docs.rs/tower-service/latest/tower_service/trait.Service.html
         293  +
/* ServerRootGenerator.kt:261 */
  292    294   
pub use crate::service::{
  293    295   
    ConstraintsService, ConstraintsServiceBuilder, ConstraintsServiceConfig,
  294    296   
    ConstraintsServiceConfigBuilder, MissingOperationsError,
  295    297   
};
  296    298   
  297         -
/// Contains the types that are re-exported from the `aws-smithy-http-server` crate.
         299  +
/// /* ServerRustModule.kt:55 */Contains the types that are re-exported from the `aws-smithy-http-server` crate.
  298    300   
pub mod server {
  299    301   
    // Re-export all types from the `aws-smithy-http-server` crate.
  300    302   
    pub use ::aws_smithy_http_server::*;
         303  +
         304  +
    /* CodegenDelegator.kt:200 */
  301    305   
}
  302    306   
         307  +
/* CrateVersionCustomization.kt:23 */
  303    308   
/// Crate version number.
  304    309   
pub static PKG_VERSION: &str = env!("CARGO_PKG_VERSION");
  305    310   
  306         -
/// Constrained types for constrained shapes.
         311  +
/// /* ServerRustModule.kt:55 */Constrained types for constrained shapes.
         312  +
/* RustModule.kt:172 */
  307    313   
mod constrained;
  308    314   
  309         -
/// All error types that operations can return. Documentation on these types is copied from the model.
         315  +
/// /* ServerRustModule.kt:55 */All error types that operations can return. Documentation on these types is copied from the model.
  310    316   
pub mod error;
  311    317   
  312         -
/// Input structures for operations. Documentation on these types is copied from the model.
         318  +
/// /* ServerRustModule.kt:55 */Input structures for operations. Documentation on these types is copied from the model.
  313    319   
pub mod input;
  314    320   
  315         -
/// Data structures used by operation inputs/outputs. Documentation on these types is copied from the model.
         321  +
/// /* ServerRustModule.kt:55 */Data structures used by operation inputs/outputs. Documentation on these types is copied from the model.
  316    322   
pub mod model;
  317    323   
  318         -
/// All operations that this crate can perform.
         324  +
/// /* ServerRustModule.kt:55 */All operations that this crate can perform.
  319    325   
pub mod operation;
  320    326   
         327  +
/* ServerRustModule.kt:79 */
  321    328   
/// A collection of types representing each operation defined in the service closure.
  322    329   
///
  323    330   
/// The [plugin system](::aws_smithy_http_server::plugin) makes use of these
  324    331   
/// [zero-sized types](https://doc.rust-lang.org/nomicon/exotic-sizes.html#zero-sized-types-zsts) (ZSTs) to
  325    332   
/// parameterize [`Plugin`](::aws_smithy_http_server::plugin::Plugin) implementations. Their traits, such as
  326    333   
/// [`OperationShape`](::aws_smithy_http_server::operation::OperationShape), can be used to provide
  327    334   
/// operation specific information to the [`Layer`](::tower::Layer) being applied.
  328    335   
pub mod operation_shape;
  329    336   
  330         -
/// Output structures for operations. Documentation on these types is copied from the model.
         337  +
/// /* ServerRustModule.kt:55 */Output structures for operations. Documentation on these types is copied from the model.
  331    338   
pub mod output;
  332    339   
         340  +
/* RustModule.kt:172 */
  333    341   
mod service;
  334    342   
  335         -
/// Data primitives referenced by other data types.
         343  +
/// /* ServerRustModule.kt:55 */Data primitives referenced by other data types.
  336    344   
pub mod types;
  337    345   
  338         -
/// Unconstrained types for constrained shapes.
         346  +
/// /* ServerRustModule.kt:55 */Unconstrained types for constrained shapes.
         347  +
/* RustModule.kt:172 */
  339    348   
mod unconstrained;
  340    349   
         350  +
/* RustModule.kt:172 */
  341    351   
mod event_stream_serde;
  342    352   
  343    353   
pub(crate) mod protocol_serde;

tmp-codegen-diff/codegen-server-test/constraints/rust-server-codegen/src/model.rs

@@ -1,1 +5781,7115 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
    3         -
/// Describes one specific validation failure for an input member.
           2  +
/* StructureGenerator.kt:197 */
           3  +
/// /* StructureGenerator.kt:197 */Describes one specific validation failure for an input member.
           4  +
/* RustType.kt:516 */
    4      5   
#[derive(
    5      6   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
    6      7   
)]
    7         -
pub struct ValidationExceptionField {
    8         -
    /// A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
           8  +
pub /* StructureGenerator.kt:201 */ struct ValidationExceptionField {
           9  +
    /// /* StructureGenerator.kt:231 */A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
    9     10   
    pub path: ::std::string::String,
   10         -
    /// A detailed description of the validation failure.
          11  +
    /// /* StructureGenerator.kt:231 */A detailed description of the validation failure.
   11     12   
    pub message: ::std::string::String,
          13  +
    /* StructureGenerator.kt:201 */
   12     14   
}
          15  +
/* StructureGenerator.kt:135 */
   13     16   
impl ValidationExceptionField {
   14         -
    /// A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
          17  +
    /// /* StructureGenerator.kt:231 */A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
          18  +
    /* StructureGenerator.kt:166 */
   15     19   
    pub fn path(&self) -> &str {
          20  +
        /* StructureGenerator.kt:171 */
   16     21   
        use std::ops::Deref;
   17     22   
        self.path.deref()
          23  +
        /* StructureGenerator.kt:166 */
   18     24   
    }
   19         -
    /// A detailed description of the validation failure.
          25  +
    /// /* StructureGenerator.kt:231 */A detailed description of the validation failure.
          26  +
    /* StructureGenerator.kt:166 */
   20     27   
    pub fn message(&self) -> &str {
          28  +
        /* StructureGenerator.kt:171 */
   21     29   
        use std::ops::Deref;
   22     30   
        self.message.deref()
          31  +
        /* StructureGenerator.kt:166 */
   23     32   
    }
          33  +
    /* StructureGenerator.kt:135 */
   24     34   
}
          35  +
/* ServerCodegenVisitor.kt:345 */
   25     36   
impl ValidationExceptionField {
   26         -
    /// Creates a new builder-style object to manufacture [`ValidationExceptionField`](crate::model::ValidationExceptionField).
          37  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`ValidationExceptionField`](crate::model::ValidationExceptionField).
          38  +
    /* ServerBuilderGenerator.kt:295 */
   27     39   
    pub fn builder() -> crate::model::validation_exception_field::Builder {
          40  +
        /* ServerBuilderGenerator.kt:296 */
   28     41   
        crate::model::validation_exception_field::Builder::default()
          42  +
        /* ServerBuilderGenerator.kt:295 */
   29     43   
    }
          44  +
    /* ServerCodegenVisitor.kt:345 */
   30     45   
}
   31     46   
          47  +
/* UnionGenerator.kt:67 */
   32     48   
#[allow(missing_docs)] // documentation missing in model
          49  +
/* RustType.kt:516 */
   33     50   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
   34         -
pub enum Event {
          51  +
pub /* UnionGenerator.kt:85 */ enum Event {
          52  +
    /* UnionGenerator.kt:90 */
   35     53   
    #[allow(missing_docs)] // documentation missing in model
          54  +
    /* UnionGenerator.kt:190 */
   36     55   
    RegularMessage(crate::model::EventStreamRegularMessage),
          56  +
    /* UnionGenerator.kt:85 */
   37     57   
}
          58  +
/* UnionGenerator.kt:111 */
   38     59   
impl Event {
          60  +
    /* RustType.kt:516 */
   39     61   
    #[allow(irrefutable_let_patterns)]
          62  +
    /* UnionGenerator.kt:217 */
   40     63   
    /// Tries to convert the enum instance into [`RegularMessage`](crate::model::Event::RegularMessage), extracting the inner [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
          64  +
    /* UnionGenerator.kt:222 */
   41     65   
    /// Returns `Err(&Self)` if it can't be converted.
          66  +
    /* UnionGenerator.kt:223 */
   42     67   
    pub fn as_regular_message(
   43     68   
        &self,
   44     69   
    ) -> ::std::result::Result<&crate::model::EventStreamRegularMessage, &Self> {
          70  +
        /* UnionGenerator.kt:227 */
   45     71   
        if let Event::RegularMessage(val) = &self {
   46     72   
            ::std::result::Result::Ok(val)
   47     73   
        } else {
   48     74   
            ::std::result::Result::Err(self)
   49     75   
        }
          76  +
        /* UnionGenerator.kt:223 */
   50     77   
    }
          78  +
    /* UnionGenerator.kt:121 */
   51     79   
    /// Returns true if this is a [`RegularMessage`](crate::model::Event::RegularMessage).
          80  +
    /* UnionGenerator.kt:122 */
   52     81   
    pub fn is_regular_message(&self) -> bool {
          82  +
        /* UnionGenerator.kt:123 */
   53     83   
        self.as_regular_message().is_ok()
          84  +
        /* UnionGenerator.kt:122 */
   54     85   
    }
          86  +
    /* UnionGenerator.kt:111 */
   55     87   
}
   56     88   
          89  +
/* StructureGenerator.kt:197 */
   57     90   
#[allow(missing_docs)] // documentation missing in model
          91  +
/* RustType.kt:516 */
   58     92   
#[derive(
   59     93   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
   60     94   
)]
   61         -
pub struct EventStreamRegularMessage {
          95  +
pub /* StructureGenerator.kt:201 */ struct EventStreamRegularMessage {
          96  +
    /* StructureGenerator.kt:231 */
   62     97   
    #[allow(missing_docs)] // documentation missing in model
   63     98   
    pub message_content: ::std::option::Option<::std::string::String>,
          99  +
    /* StructureGenerator.kt:201 */
   64    100   
}
         101  +
/* StructureGenerator.kt:135 */
   65    102   
impl EventStreamRegularMessage {
         103  +
    /* StructureGenerator.kt:231 */
   66    104   
    #[allow(missing_docs)] // documentation missing in model
         105  +
                           /* StructureGenerator.kt:166 */
   67    106   
    pub fn message_content(&self) -> ::std::option::Option<&str> {
         107  +
        /* StructureGenerator.kt:169 */
   68    108   
        self.message_content.as_deref()
         109  +
        /* StructureGenerator.kt:166 */
   69    110   
    }
         111  +
    /* StructureGenerator.kt:135 */
   70    112   
}
         113  +
/* ServerCodegenVisitor.kt:345 */
   71    114   
impl EventStreamRegularMessage {
   72         -
    /// Creates a new builder-style object to manufacture [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
         115  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
         116  +
    /* ServerBuilderGenerator.kt:295 */
   73    117   
    pub fn builder() -> crate::model::event_stream_regular_message::Builder {
         118  +
        /* ServerBuilderGenerator.kt:296 */
   74    119   
        crate::model::event_stream_regular_message::Builder::default()
         120  +
        /* ServerBuilderGenerator.kt:295 */
   75    121   
    }
         122  +
    /* ServerCodegenVisitor.kt:345 */
   76    123   
}
         124  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
   77    125   
impl crate::constrained::Constrained for crate::model::EventStreamRegularMessage {
   78    126   
    type Unconstrained = crate::model::event_stream_regular_message::Builder;
   79    127   
}
   80    128   
         129  +
/* EnumGenerator.kt:154 */
   81    130   
#[allow(missing_docs)] // documentation missing in model
         131  +
/* RustType.kt:516 */
   82    132   
#[derive(
   83    133   
    ::std::clone::Clone,
   84    134   
    ::std::cmp::Eq,
   85    135   
    ::std::cmp::Ord,
   86    136   
    ::std::cmp::PartialEq,
   87    137   
    ::std::cmp::PartialOrd,
   88    138   
    ::std::fmt::Debug,
   89    139   
    ::std::hash::Hash,
   90    140   
)]
   91         -
pub enum EnumString {
         141  +
pub /* EnumGenerator.kt:267 */ enum EnumString {
         142  +
    /* EnumGenerator.kt:154 */
   92    143   
    #[allow(missing_docs)] // documentation missing in model
         144  +
    /* EnumGenerator.kt:143 */
   93    145   
    M256Mega,
         146  +
    /* EnumGenerator.kt:154 */
   94    147   
    #[allow(missing_docs)] // documentation missing in model
         148  +
    /* EnumGenerator.kt:143 */
   95    149   
    T2Micro,
         150  +
    /* EnumGenerator.kt:154 */
   96    151   
    #[allow(missing_docs)] // documentation missing in model
         152  +
    /* EnumGenerator.kt:143 */
   97    153   
    T2Nano,
         154  +
    /* EnumGenerator.kt:267 */
   98    155   
}
   99         -
/// See [`EnumString`](crate::model::EnumString).
         156  +
/// /* CodegenDelegator.kt:51 */See [`EnumString`](crate::model::EnumString).
  100    157   
pub mod enum_string {
  101    158   
    #[derive(Debug, PartialEq)]
  102    159   
    pub struct ConstraintViolation(pub(crate) ::std::string::String);
  103    160   
  104    161   
    impl ::std::fmt::Display for ConstraintViolation {
  105    162   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  106    163   
            write!(
  107    164   
                f,
  108    165   
                r#"Value provided for 'com.amazonaws.constraints#EnumString' failed to satisfy constraint: Member must satisfy enum value set: [t2.nano, t2.micro, m256.mega]"#
  109    166   
            )
  110    167   
        }
  111    168   
    }
  112    169   
  113    170   
    impl ::std::error::Error for ConstraintViolation {}
  114    171   
    impl ConstraintViolation {
  115    172   
        pub(crate) fn as_validation_exception_field(
  116    173   
            self,
  117    174   
            path: ::std::string::String,
  118    175   
        ) -> crate::model::ValidationExceptionField {
  119    176   
            crate::model::ValidationExceptionField {
  120    177   
                message: format!(
  121    178   
                    r#"Value at '{}' failed to satisfy constraint: Member must satisfy enum value set: [t2.nano, t2.micro, m256.mega]"#,
  122    179   
                    &path
  123    180   
                ),
  124    181   
                path,
  125    182   
            }
  126    183   
        }
  127    184   
    }
         185  +
         186  +
    /* ServerEnumGenerator.kt:46 */
  128    187   
}
         188  +
/* ServerEnumGenerator.kt:85 */
  129    189   
impl ::std::convert::TryFrom<&str> for EnumString {
  130    190   
    type Error = crate::model::enum_string::ConstraintViolation;
  131    191   
    fn try_from(
  132    192   
        s: &str,
  133    193   
    ) -> ::std::result::Result<Self, <Self as ::std::convert::TryFrom<&str>>::Error> {
  134    194   
        match s {
  135    195   
            "m256.mega" => Ok(EnumString::M256Mega),
  136    196   
            "t2.micro" => Ok(EnumString::T2Micro),
  137    197   
            "t2.nano" => Ok(EnumString::T2Nano),
  138    198   
            _ => Err(crate::model::enum_string::ConstraintViolation(s.to_owned())),
  139    199   
        }
  140    200   
    }
  141    201   
}
  142    202   
impl ::std::convert::TryFrom<::std::string::String> for EnumString {
  143    203   
    type Error = crate::model::enum_string::ConstraintViolation;
  144    204   
    fn try_from(
  145    205   
        s: ::std::string::String,
  146    206   
    ) -> ::std::result::Result<Self, <Self as ::std::convert::TryFrom<::std::string::String>>::Error>
  147    207   
    {
  148    208   
        s.as_str().try_into()
  149    209   
    }
  150    210   
}
         211  +
/* ServerEnumGenerator.kt:145 */
  151    212   
impl std::str::FromStr for EnumString {
  152    213   
    type Err = crate::model::enum_string::ConstraintViolation;
  153    214   
    fn from_str(s: &str) -> std::result::Result<Self, <Self as std::str::FromStr>::Err> {
  154    215   
        Self::try_from(s)
  155    216   
    }
  156    217   
}
         218  +
/* EnumGenerator.kt:274 */
  157    219   
impl EnumString {
  158    220   
    /// Returns the `&str` value of the enum member.
  159    221   
    pub fn as_str(&self) -> &str {
  160    222   
        match self {
  161    223   
            EnumString::M256Mega => "m256.mega",
  162    224   
            EnumString::T2Micro => "t2.micro",
  163    225   
            EnumString::T2Nano => "t2.nano",
  164    226   
        }
  165    227   
    }
  166    228   
    /// Returns all the `&str` representations of the enum members.
  167    229   
    pub const fn values() -> &'static [&'static str] {
  168    230   
        &["m256.mega", "t2.micro", "t2.nano"]
  169    231   
    }
  170    232   
}
         233  +
/* EnumGenerator.kt:223 */
  171    234   
impl ::std::convert::AsRef<str> for EnumString {
  172    235   
    fn as_ref(&self) -> &str {
  173    236   
        self.as_str()
  174    237   
    }
  175    238   
}
         239  +
/* ConstrainedTraitForEnumGenerator.kt:36 */
  176    240   
impl crate::constrained::Constrained for EnumString {
  177    241   
    type Unconstrained = ::std::string::String;
  178    242   
}
  179    243   
  180    244   
impl ::std::convert::From<::std::string::String>
  181    245   
    for crate::constrained::MaybeConstrained<crate::model::EnumString>
  182    246   
{
  183    247   
    fn from(value: ::std::string::String) -> Self {
  184    248   
        Self::Unconstrained(value)
  185    249   
    }
  186    250   
}
  187    251   
         252  +
/* ConstrainedMapGenerator.kt:78 */
  188    253   
#[allow(missing_docs)] // documentation missing in model
  189         -
///
         254  +
/// /* ConstrainedMapGenerator.kt:79 */
  190    255   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
  191    256   
/// [constraint traits]. Use [`ConBMap::try_from`] to construct values of this type.
  192    257   
///
  193    258   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
  194    259   
///
         260  +
/* RustType.kt:516 */
  195    261   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  196         -
pub struct ConBMap(
         262  +
pub /* ConstrainedMapGenerator.kt:82 */ struct ConBMap(
  197    263   
    pub(crate) ::std::collections::HashMap<::std::string::String, crate::model::LengthString>,
  198    264   
);
         265  +
/* ConstrainedMapGenerator.kt:83 */
  199    266   
impl ConBMap {
         267  +
    /* ConstrainedMapGenerator.kt:85 */
  200    268   
    /// Returns an immutable reference to the underlying [`::std::collections::HashMap<::std::string::String, crate::model::LengthString>`].
  201    269   
    pub fn inner(
  202    270   
        &self,
  203    271   
    ) -> &::std::collections::HashMap<::std::string::String, crate::model::LengthString> {
  204    272   
        &self.0
  205    273   
    }
         274  +
    /* ConstrainedMapGenerator.kt:95 */
  206    275   
    /// Consumes the value, returning the underlying [`::std::collections::HashMap<::std::string::String, crate::model::LengthString>`].
  207    276   
    pub fn into_inner(
  208    277   
        self,
  209    278   
    ) -> ::std::collections::HashMap<::std::string::String, crate::model::LengthString> {
  210    279   
        self.0
  211    280   
    }
         281  +
    /* ConstrainedMapGenerator.kt:83 */
  212    282   
}
         283  +
/* ConstrainedMapGenerator.kt:106 */
  213    284   
impl
  214    285   
    ::std::convert::TryFrom<
  215    286   
        ::std::collections::HashMap<::std::string::String, crate::model::LengthString>,
  216    287   
    > for ConBMap
  217    288   
{
  218    289   
    type Error = crate::model::con_b_map::ConstraintViolation;
  219    290   
  220    291   
    /// Constructs a `ConBMap` from an [`::std::collections::HashMap<::std::string::String, crate::model::LengthString>`], failing when the provided value does not satisfy the modeled constraints.
  221    292   
    fn try_from(
  222    293   
        value: ::std::collections::HashMap<::std::string::String, crate::model::LengthString>,
  223    294   
    ) -> ::std::result::Result<Self, Self::Error> {
  224    295   
        let length = value.len();
  225    296   
        if (1..=69).contains(&length) {
  226    297   
            Ok(Self(value))
  227    298   
        } else {
  228    299   
            Err(crate::model::con_b_map::ConstraintViolation::Length(length))
  229    300   
        }
  230    301   
    }
  231    302   
}
  232    303   
  233    304   
impl ::std::convert::From<ConBMap>
  234    305   
    for ::std::collections::HashMap<::std::string::String, crate::model::LengthString>
  235    306   
{
  236    307   
    fn from(value: ConBMap) -> Self {
  237    308   
        value.into_inner()
  238    309   
    }
  239    310   
}
         311  +
/* ConstrainedMapGenerator.kt:164 */
  240    312   
impl crate::constrained::Constrained for ConBMap {
  241    313   
    type Unconstrained = crate::unconstrained::con_b_map_unconstrained::ConBMapUnconstrained;
  242    314   
}
  243    315   
         316  +
/* ConstrainedStringGenerator.kt:82 */
  244    317   
#[allow(missing_docs)] // documentation missing in model
  245         -
///
         318  +
/// /* ConstrainedStringGenerator.kt:83 */
  246    319   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
  247    320   
/// [constraint traits]. Use [`LengthString::try_from`] to construct values of this type.
  248    321   
///
  249    322   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
  250    323   
///
         324  +
/* RustType.kt:516 */
  251    325   
#[derive(
  252    326   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  253    327   
)]
  254         -
pub struct LengthString(pub(crate) ::std::string::String);
         328  +
pub /* ConstrainedStringGenerator.kt:86 */ struct LengthString(pub(crate) ::std::string::String);
         329  +
/* ConstrainedStringGenerator.kt:90 */
  255    330   
impl LengthString {
  256    331   
    /// Extracts a string slice containing the entire underlying `String`.
  257    332   
    pub fn as_str(&self) -> &str {
  258    333   
        &self.0
  259    334   
    }
  260    335   
  261    336   
    /// Returns an immutable reference to the underlying [`::std::string::String`].
  262    337   
    pub fn inner(&self) -> &::std::string::String {
  263    338   
        &self.0
  264    339   
    }
  265    340   
  266    341   
    /// Consumes the value, returning the underlying [`::std::string::String`].
  267    342   
    pub fn into_inner(self) -> ::std::string::String {
  268    343   
        self.0
  269    344   
    }
  270    345   
}
         346  +
/* TraitInfo.kt:41 */
  271    347   
impl LengthString {
  272    348   
    fn check_length(
  273    349   
        string: &str,
  274    350   
    ) -> ::std::result::Result<(), crate::model::length_string::ConstraintViolation> {
  275    351   
        let length = string.chars().count();
  276    352   
  277    353   
        if (2..=69).contains(&length) {
  278    354   
            Ok(())
  279    355   
        } else {
  280    356   
            Err(crate::model::length_string::ConstraintViolation::Length(
  281    357   
                length,
  282    358   
            ))
  283    359   
        }
  284    360   
    }
  285    361   
}
         362  +
/* TraitInfo.kt:57 */
  286    363   
impl ::std::convert::TryFrom<::std::string::String> for LengthString {
  287    364   
    type Error = crate::model::length_string::ConstraintViolation;
  288    365   
  289    366   
    /// Constructs a `LengthString` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
  290    367   
    fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
  291    368   
        Self::check_length(&value)?;
  292    369   
  293    370   
        Ok(Self(value))
  294    371   
    }
  295    372   
}
         373  +
/* ConstrainedStringGenerator.kt:112 */
  296    374   
impl crate::constrained::Constrained for LengthString {
  297    375   
    type Unconstrained = ::std::string::String;
  298    376   
}
  299    377   
  300    378   
impl ::std::convert::From<::std::string::String>
  301    379   
    for crate::constrained::MaybeConstrained<crate::model::LengthString>
  302    380   
{
  303    381   
    fn from(value: ::std::string::String) -> Self {
  304    382   
        Self::Unconstrained(value)
  305    383   
    }
  306    384   
}
  307    385   
  308    386   
impl ::std::fmt::Display for LengthString {
  309    387   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  310    388   
        self.0.fmt(f)
  311    389   
    }
  312    390   
}
  313    391   
  314    392   
impl ::std::convert::From<LengthString> for ::std::string::String {
  315    393   
    fn from(value: LengthString) -> Self {
  316    394   
        value.into_inner()
  317    395   
    }
  318    396   
}
  319    397   
         398  +
/* ConstrainedStringGenerator.kt:82 */
  320    399   
#[allow(missing_docs)] // documentation missing in model
  321         -
///
         400  +
/// /* ConstrainedStringGenerator.kt:83 */
  322    401   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
  323    402   
/// [constraint traits]. Use [`LengthPatternString::try_from`] to construct values of this type.
  324    403   
///
  325    404   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
  326    405   
///
         406  +
/* RustType.kt:516 */
  327    407   
#[derive(
  328    408   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  329    409   
)]
  330         -
pub struct LengthPatternString(pub(crate) ::std::string::String);
         410  +
pub /* ConstrainedStringGenerator.kt:86 */ struct LengthPatternString(
         411  +
    pub(crate) ::std::string::String,
         412  +
);
         413  +
/* ConstrainedStringGenerator.kt:90 */
  331    414   
impl LengthPatternString {
  332    415   
    /// Extracts a string slice containing the entire underlying `String`.
  333    416   
    pub fn as_str(&self) -> &str {
  334    417   
        &self.0
  335    418   
    }
  336    419   
  337    420   
    /// Returns an immutable reference to the underlying [`::std::string::String`].
  338    421   
    pub fn inner(&self) -> &::std::string::String {
  339    422   
        &self.0
  340    423   
    }
  341    424   
  342    425   
    /// Consumes the value, returning the underlying [`::std::string::String`].
  343    426   
    pub fn into_inner(self) -> ::std::string::String {
  344    427   
        self.0
  345    428   
    }
  346    429   
}
         430  +
/* TraitInfo.kt:41 */
  347    431   
impl LengthPatternString {
  348    432   
    fn check_length(
  349    433   
        string: &str,
  350    434   
    ) -> ::std::result::Result<(), crate::model::length_pattern_string::ConstraintViolation> {
  351    435   
        let length = string.chars().count();
  352    436   
  353    437   
        if (5..=10).contains(&length) {
  354    438   
            Ok(())
  355    439   
        } else {
  356    440   
            Err(crate::model::length_pattern_string::ConstraintViolation::Length(length))
  357    441   
        }
  358    442   
    }
  359    443   
  360    444   
    fn check_pattern(
  361    445   
        string: ::std::string::String,
  362    446   
    ) -> ::std::result::Result<
  363    447   
        ::std::string::String,
  364    448   
        crate::model::length_pattern_string::ConstraintViolation,
  365    449   
    > {
  366    450   
        let regex = Self::compile_regex();
  367    451   
  368    452   
        if regex.is_match(&string) {
  369    453   
            Ok(string)
  370    454   
        } else {
  371    455   
            Err(crate::model::length_pattern_string::ConstraintViolation::Pattern(string))
  372    456   
        }
  373    457   
    }
  374    458   
  375    459   
    /// Attempts to compile the regex for this constrained type's `@pattern`.
  376    460   
    /// This can fail if the specified regex is not supported by the `::regex` crate.
  377    461   
    pub fn compile_regex() -> &'static ::regex::Regex {
  378    462   
        static REGEX: std::sync::LazyLock<::regex::Regex> = std::sync::LazyLock::new(|| {
  379    463   
            ::regex::Regex::new(r#"[a-f0-5]*"#).expect(r#"The regular expression [a-f0-5]* is not supported by the `regex` crate; feel free to file an issue under https://github.com/smithy-lang/smithy-rs/issues for support"#)
  380    464   
        });
  381    465   
  382    466   
        &REGEX
  383    467   
    }
  384    468   
}
         469  +
/* TraitInfo.kt:57 */
  385    470   
impl ::std::convert::TryFrom<::std::string::String> for LengthPatternString {
  386    471   
    type Error = crate::model::length_pattern_string::ConstraintViolation;
  387    472   
  388    473   
    /// Constructs a `LengthPatternString` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
  389    474   
    fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
  390    475   
        Self::check_length(&value)?;
  391    476   
  392    477   
        let value = Self::check_pattern(value)?;
  393    478   
  394    479   
        Ok(Self(value))
  395    480   
    }
  396    481   
}
         482  +
/* ConstrainedStringGenerator.kt:112 */
  397    483   
impl crate::constrained::Constrained for LengthPatternString {
  398    484   
    type Unconstrained = ::std::string::String;
  399    485   
}
  400    486   
  401    487   
impl ::std::convert::From<::std::string::String>
  402    488   
    for crate::constrained::MaybeConstrained<crate::model::LengthPatternString>
  403    489   
{
  404    490   
    fn from(value: ::std::string::String) -> Self {
  405    491   
        Self::Unconstrained(value)
  406    492   
    }
  407    493   
}
  408    494   
  409    495   
impl ::std::fmt::Display for LengthPatternString {
  410    496   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  411    497   
        self.0.fmt(f)
  412    498   
    }
  413    499   
}
  414    500   
  415    501   
impl ::std::convert::From<LengthPatternString> for ::std::string::String {
  416    502   
    fn from(value: LengthPatternString) -> Self {
  417    503   
        value.into_inner()
  418    504   
    }
  419    505   
}
  420    506   
         507  +
/* RustType.kt:516 */
  421    508   
#[cfg(test)]
         509  +
/* ConstrainedStringGenerator.kt:205 */
  422    510   
mod test_length_pattern_string {
  423    511   
    #[test]
  424    512   
    fn regex_compiles() {
  425    513   
        crate::model::LengthPatternString::compile_regex();
  426    514   
    }
         515  +
         516  +
    /* ConstrainedStringGenerator.kt:205 */
  427    517   
}
  428    518   
         519  +
/* ConstrainedStringGenerator.kt:82 */
  429    520   
#[allow(missing_docs)] // documentation missing in model
  430         -
///
         521  +
/// /* ConstrainedStringGenerator.kt:83 */
  431    522   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
  432    523   
/// [constraint traits]. Use [`PatternString::try_from`] to construct values of this type.
  433    524   
///
  434    525   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
  435    526   
///
         527  +
/* RustType.kt:516 */
  436    528   
#[derive(
  437    529   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  438    530   
)]
  439         -
pub struct PatternString(pub(crate) ::std::string::String);
         531  +
pub /* ConstrainedStringGenerator.kt:86 */ struct PatternString(pub(crate) ::std::string::String);
         532  +
/* ConstrainedStringGenerator.kt:90 */
  440    533   
impl PatternString {
  441    534   
    /// Extracts a string slice containing the entire underlying `String`.
  442    535   
    pub fn as_str(&self) -> &str {
  443    536   
        &self.0
  444    537   
    }
  445    538   
  446    539   
    /// Returns an immutable reference to the underlying [`::std::string::String`].
  447    540   
    pub fn inner(&self) -> &::std::string::String {
  448    541   
        &self.0
  449    542   
    }
  450    543   
  451    544   
    /// Consumes the value, returning the underlying [`::std::string::String`].
  452    545   
    pub fn into_inner(self) -> ::std::string::String {
  453    546   
        self.0
  454    547   
    }
  455    548   
}
         549  +
/* TraitInfo.kt:41 */
  456    550   
impl PatternString {
  457    551   
    fn check_pattern(
  458    552   
        string: ::std::string::String,
  459    553   
    ) -> ::std::result::Result<
  460    554   
        ::std::string::String,
  461    555   
        crate::model::pattern_string::ConstraintViolation,
  462    556   
    > {
  463    557   
        let regex = Self::compile_regex();
  464    558   
  465    559   
        if regex.is_match(&string) {
  466    560   
            Ok(string)
  467    561   
        } else {
  468    562   
            Err(crate::model::pattern_string::ConstraintViolation::Pattern(
  469    563   
                string,
  470    564   
            ))
  471    565   
        }
  472    566   
    }
  473    567   
  474    568   
    /// Attempts to compile the regex for this constrained type's `@pattern`.
  475    569   
    /// This can fail if the specified regex is not supported by the `::regex` crate.
  476    570   
    pub fn compile_regex() -> &'static ::regex::Regex {
  477    571   
        static REGEX: std::sync::LazyLock<::regex::Regex> = std::sync::LazyLock::new(|| {
  478    572   
            ::regex::Regex::new(r#"[a-d]{5}"#).expect(r#"The regular expression [a-d]{5} is not supported by the `regex` crate; feel free to file an issue under https://github.com/smithy-lang/smithy-rs/issues for support"#)
  479    573   
        });
  480    574   
  481    575   
        &REGEX
  482    576   
    }
  483    577   
}
         578  +
/* TraitInfo.kt:57 */
  484    579   
impl ::std::convert::TryFrom<::std::string::String> for PatternString {
  485    580   
    type Error = crate::model::pattern_string::ConstraintViolation;
  486    581   
  487    582   
    /// Constructs a `PatternString` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
  488    583   
    fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
  489    584   
        let value = Self::check_pattern(value)?;
  490    585   
  491    586   
        Ok(Self(value))
  492    587   
    }
  493    588   
}
         589  +
/* ConstrainedStringGenerator.kt:112 */
  494    590   
impl crate::constrained::Constrained for PatternString {
  495    591   
    type Unconstrained = ::std::string::String;
  496    592   
}
  497    593   
  498    594   
impl ::std::convert::From<::std::string::String>
  499    595   
    for crate::constrained::MaybeConstrained<crate::model::PatternString>
  500    596   
{
  501    597   
    fn from(value: ::std::string::String) -> Self {
  502    598   
        Self::Unconstrained(value)
  503    599   
    }
  504    600   
}
  505    601   
  506    602   
impl ::std::fmt::Display for PatternString {
  507    603   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  508    604   
        self.0.fmt(f)
  509    605   
    }
  510    606   
}
  511    607   
  512    608   
impl ::std::convert::From<PatternString> for ::std::string::String {
  513    609   
    fn from(value: PatternString) -> Self {
  514    610   
        value.into_inner()
  515    611   
    }
  516    612   
}
  517    613   
         614  +
/* RustType.kt:516 */
  518    615   
#[cfg(test)]
         616  +
/* ConstrainedStringGenerator.kt:205 */
  519    617   
mod test_pattern_string {
  520    618   
    #[test]
  521    619   
    fn regex_compiles() {
  522    620   
        crate::model::PatternString::compile_regex();
  523    621   
    }
         622  +
         623  +
    /* ConstrainedStringGenerator.kt:205 */
  524    624   
}
  525    625   
         626  +
/* ConstrainedCollectionGenerator.kt:93 */
  526    627   
#[allow(missing_docs)] // documentation missing in model
  527         -
///
         628  +
/// /* ConstrainedCollectionGenerator.kt:94 */
  528    629   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
  529    630   
/// [constraint traits]. Use [`LengthListOfPatternString::try_from`] to construct values of this type.
  530    631   
///
  531    632   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
  532    633   
///
         634  +
/* RustType.kt:516 */
  533    635   
#[derive(
  534    636   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  535    637   
)]
  536         -
pub struct LengthListOfPatternString(pub(crate) ::std::vec::Vec<crate::model::PatternString>);
         638  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct LengthListOfPatternString(
         639  +
    pub(crate) ::std::vec::Vec<crate::model::PatternString>,
         640  +
);
         641  +
/* ConstrainedCollectionGenerator.kt:104 */
  537    642   
impl LengthListOfPatternString {
         643  +
    /* ConstrainedCollectionGenerator.kt:106 */
  538    644   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<crate::model::PatternString>`].
  539    645   
    pub fn inner(&self) -> &::std::vec::Vec<crate::model::PatternString> {
  540    646   
        &self.0
  541    647   
    }
         648  +
    /* ConstrainedCollectionGenerator.kt:116 */
  542    649   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::PatternString>`].
  543    650   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::PatternString> {
  544    651   
        self.0
  545    652   
    }
  546    653   
  547    654   
    fn check_length(
  548    655   
        length: usize,
  549    656   
    ) -> ::std::result::Result<(), crate::model::length_list_of_pattern_string::ConstraintViolation>
  550    657   
    {
  551    658   
        if (12..=39).contains(&length) {
  552    659   
            Ok(())
  553    660   
        } else {
  554    661   
            Err(crate::model::length_list_of_pattern_string::ConstraintViolation::Length(length))
  555    662   
        }
  556    663   
    }
         664  +
    /* ConstrainedCollectionGenerator.kt:104 */
  557    665   
}
         666  +
/* ConstrainedCollectionGenerator.kt:133 */
  558    667   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::PatternString>>
  559    668   
    for LengthListOfPatternString
  560    669   
{
  561    670   
    type Error = crate::model::length_list_of_pattern_string::ConstraintViolation;
  562    671   
  563    672   
    /// Constructs a `LengthListOfPatternString` from an [`::std::vec::Vec<crate::model::PatternString>`], failing when the provided value does not satisfy the modeled constraints.
  564    673   
    fn try_from(
  565    674   
        value: ::std::vec::Vec<crate::model::PatternString>,
  566    675   
    ) -> ::std::result::Result<Self, Self::Error> {
  567    676   
        Self::check_length(value.len())?;
  568    677   
  569    678   
        Ok(Self(value))
  570    679   
    }
  571    680   
}
  572    681   
  573    682   
impl ::std::convert::From<LengthListOfPatternString>
  574    683   
    for ::std::vec::Vec<crate::model::PatternString>
  575    684   
{
  576    685   
    fn from(value: LengthListOfPatternString) -> Self {
  577    686   
        value.into_inner()
  578    687   
    }
  579    688   
}
         689  +
/* ConstrainedCollectionGenerator.kt:181 */
  580    690   
impl crate::constrained::Constrained for LengthListOfPatternString {
  581    691   
    type Unconstrained = crate::unconstrained::length_list_of_pattern_string_unconstrained::LengthListOfPatternStringUnconstrained;
  582    692   
}
  583    693   
         694  +
/* ConstrainedCollectionGenerator.kt:93 */
  584    695   
#[allow(missing_docs)] // documentation missing in model
  585         -
///
         696  +
/// /* ConstrainedCollectionGenerator.kt:94 */
  586    697   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
  587    698   
/// [constraint traits]. Use [`SetOfLengthString::try_from`] to construct values of this type.
  588    699   
///
  589    700   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
  590    701   
///
         702  +
/* RustType.kt:516 */
  591    703   
#[derive(
  592    704   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  593    705   
)]
  594         -
pub struct SetOfLengthString(pub(crate) ::std::vec::Vec<crate::model::LengthString>);
         706  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct SetOfLengthString(
         707  +
    pub(crate) ::std::vec::Vec<crate::model::LengthString>,
         708  +
);
         709  +
/* ConstrainedCollectionGenerator.kt:104 */
  595    710   
impl SetOfLengthString {
         711  +
    /* ConstrainedCollectionGenerator.kt:106 */
  596    712   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<crate::model::LengthString>`].
  597    713   
    pub fn inner(&self) -> &::std::vec::Vec<crate::model::LengthString> {
  598    714   
        &self.0
  599    715   
    }
         716  +
    /* ConstrainedCollectionGenerator.kt:116 */
  600    717   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::LengthString>`].
  601    718   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::LengthString> {
  602    719   
        self.0
  603    720   
    }
  604    721   
  605    722   
    fn check_unique_items(
  606    723   
        items: ::std::vec::Vec<crate::model::LengthString>,
  607    724   
    ) -> ::std::result::Result<
  608    725   
        ::std::vec::Vec<crate::model::LengthString>,
  609    726   
        crate::model::set_of_length_string::ConstraintViolation,
  610    727   
    > {
  611    728   
        let mut seen = ::std::collections::HashMap::new();
  612    729   
        let mut duplicate_indices = ::std::vec::Vec::new();
  613    730   
        for (idx, item) in items.iter().enumerate() {
  614    731   
            if let Some(prev_idx) = seen.insert(item, idx) {
  615    732   
                duplicate_indices.push(prev_idx);
  616    733   
            }
  617    734   
        }
  618    735   
  619    736   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
  620    737   
        for idx in &duplicate_indices {
  621    738   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
  622    739   
                last_duplicate_indices.push(prev_idx);
  623    740   
            }
  624    741   
        }
  625    742   
        duplicate_indices.extend(last_duplicate_indices);
  626    743   
  627    744   
        if !duplicate_indices.is_empty() {
  628    745   
            debug_assert!(duplicate_indices.len() >= 2);
  629    746   
            Err(
  630    747   
                crate::model::set_of_length_string::ConstraintViolation::UniqueItems {
  631    748   
                    duplicate_indices,
  632    749   
                    original: items,
  633    750   
                },
  634    751   
            )
  635    752   
        } else {
  636    753   
            Ok(items)
  637    754   
        }
  638    755   
    }
         756  +
    /* ConstrainedCollectionGenerator.kt:104 */
  639    757   
}
         758  +
/* ConstrainedCollectionGenerator.kt:133 */
  640    759   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::LengthString>> for SetOfLengthString {
  641    760   
    type Error = crate::model::set_of_length_string::ConstraintViolation;
  642    761   
  643    762   
    /// Constructs a `SetOfLengthString` from an [`::std::vec::Vec<crate::model::LengthString>`], failing when the provided value does not satisfy the modeled constraints.
  644    763   
    fn try_from(
  645    764   
        value: ::std::vec::Vec<crate::model::LengthString>,
  646    765   
    ) -> ::std::result::Result<Self, Self::Error> {
  647    766   
        let value = Self::check_unique_items(value)?;
  648    767   
  649    768   
        Ok(Self(value))
  650    769   
    }
  651    770   
}
  652    771   
  653    772   
impl ::std::convert::From<SetOfLengthString> for ::std::vec::Vec<crate::model::LengthString> {
  654    773   
    fn from(value: SetOfLengthString) -> Self {
  655    774   
        value.into_inner()
  656    775   
    }
  657    776   
}
         777  +
/* ConstrainedCollectionGenerator.kt:181 */
  658    778   
impl crate::constrained::Constrained for SetOfLengthString {
  659    779   
    type Unconstrained =
  660    780   
        crate::unconstrained::set_of_length_string_unconstrained::SetOfLengthStringUnconstrained;
  661    781   
}
  662    782   
         783  +
/* StructureGenerator.kt:197 */
  663    784   
#[allow(missing_docs)] // documentation missing in model
         785  +
/* RustType.kt:516 */
  664    786   
#[derive(
  665    787   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  666    788   
)]
  667         -
pub struct RecursiveShapesInputOutputNested1 {
         789  +
pub /* StructureGenerator.kt:201 */ struct RecursiveShapesInputOutputNested1 {
         790  +
    /* StructureGenerator.kt:231 */
  668    791   
    #[allow(missing_docs)] // documentation missing in model
  669    792   
    pub recursive_member: ::std::boxed::Box<crate::model::RecursiveShapesInputOutputNested2>,
         793  +
    /* StructureGenerator.kt:201 */
  670    794   
}
         795  +
/* StructureGenerator.kt:135 */
  671    796   
impl RecursiveShapesInputOutputNested1 {
         797  +
    /* StructureGenerator.kt:231 */
  672    798   
    #[allow(missing_docs)] // documentation missing in model
         799  +
                           /* StructureGenerator.kt:166 */
  673    800   
    pub fn recursive_member(&self) -> &crate::model::RecursiveShapesInputOutputNested2 {
         801  +
        /* StructureGenerator.kt:171 */
  674    802   
        use std::ops::Deref;
  675    803   
        self.recursive_member.deref()
         804  +
        /* StructureGenerator.kt:166 */
  676    805   
    }
         806  +
    /* StructureGenerator.kt:135 */
  677    807   
}
         808  +
/* ServerCodegenVisitor.kt:345 */
  678    809   
impl RecursiveShapesInputOutputNested1 {
  679         -
    /// Creates a new builder-style object to manufacture [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
         810  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
         811  +
    /* ServerBuilderGenerator.kt:295 */
  680    812   
    pub fn builder() -> crate::model::recursive_shapes_input_output_nested1::Builder {
         813  +
        /* ServerBuilderGenerator.kt:296 */
  681    814   
        crate::model::recursive_shapes_input_output_nested1::Builder::default()
         815  +
        /* ServerBuilderGenerator.kt:295 */
  682    816   
    }
         817  +
    /* ServerCodegenVisitor.kt:345 */
  683    818   
}
         819  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  684    820   
impl crate::constrained::Constrained for crate::model::RecursiveShapesInputOutputNested1 {
  685    821   
    type Unconstrained = crate::model::recursive_shapes_input_output_nested1::Builder;
  686    822   
}
  687    823   
         824  +
/* StructureGenerator.kt:197 */
  688    825   
#[allow(missing_docs)] // documentation missing in model
         826  +
/* RustType.kt:516 */
  689    827   
#[derive(
  690    828   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  691    829   
)]
  692         -
pub struct RecursiveShapesInputOutputNested2 {
         830  +
pub /* StructureGenerator.kt:201 */ struct RecursiveShapesInputOutputNested2 {
         831  +
    /* StructureGenerator.kt:231 */
  693    832   
    #[allow(missing_docs)] // documentation missing in model
  694    833   
    pub recursive_member: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
         834  +
    /* StructureGenerator.kt:201 */
  695    835   
}
         836  +
/* StructureGenerator.kt:135 */
  696    837   
impl RecursiveShapesInputOutputNested2 {
         838  +
    /* StructureGenerator.kt:231 */
  697    839   
    #[allow(missing_docs)] // documentation missing in model
         840  +
                           /* StructureGenerator.kt:166 */
  698    841   
    pub fn recursive_member(
  699    842   
        &self,
  700    843   
    ) -> ::std::option::Option<&crate::model::RecursiveShapesInputOutputNested1> {
         844  +
        /* StructureGenerator.kt:170 */
  701    845   
        self.recursive_member.as_ref()
         846  +
        /* StructureGenerator.kt:166 */
  702    847   
    }
         848  +
    /* StructureGenerator.kt:135 */
  703    849   
}
         850  +
/* ServerCodegenVisitor.kt:345 */
  704    851   
impl RecursiveShapesInputOutputNested2 {
  705         -
    /// Creates a new builder-style object to manufacture [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
         852  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
         853  +
    /* ServerBuilderGenerator.kt:295 */
  706    854   
    pub fn builder() -> crate::model::recursive_shapes_input_output_nested2::Builder {
         855  +
        /* ServerBuilderGenerator.kt:296 */
  707    856   
        crate::model::recursive_shapes_input_output_nested2::Builder::default()
         857  +
        /* ServerBuilderGenerator.kt:295 */
  708    858   
    }
         859  +
    /* ServerCodegenVisitor.kt:345 */
  709    860   
}
         861  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  710    862   
impl crate::constrained::Constrained for crate::model::RecursiveShapesInputOutputNested2 {
  711    863   
    type Unconstrained = crate::model::recursive_shapes_input_output_nested2::Builder;
  712    864   
}
  713    865   
         866  +
/* StructureGenerator.kt:197 */
  714    867   
#[allow(missing_docs)] // documentation missing in model
         868  +
/* RustType.kt:516 */
  715    869   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  716         -
pub struct ConA {
         870  +
pub /* StructureGenerator.kt:201 */ struct ConA {
         871  +
    /* StructureGenerator.kt:231 */
  717    872   
    #[allow(missing_docs)] // documentation missing in model
  718    873   
    pub con_b: crate::model::ConB,
         874  +
    /* StructureGenerator.kt:231 */
  719    875   
    #[allow(missing_docs)] // documentation missing in model
  720    876   
    pub opt_con_b: ::std::option::Option<crate::model::ConB>,
         877  +
    /* StructureGenerator.kt:231 */
  721    878   
    #[allow(missing_docs)] // documentation missing in model
  722    879   
    pub length_string: ::std::option::Option<crate::model::LengthString>,
         880  +
    /* StructureGenerator.kt:231 */
  723    881   
    #[allow(missing_docs)] // documentation missing in model
  724    882   
    pub min_length_string: ::std::option::Option<crate::model::MinLengthString>,
         883  +
    /* StructureGenerator.kt:231 */
  725    884   
    #[allow(missing_docs)] // documentation missing in model
  726    885   
    pub max_length_string: ::std::option::Option<crate::model::MaxLengthString>,
         886  +
    /* StructureGenerator.kt:231 */
  727    887   
    #[allow(missing_docs)] // documentation missing in model
  728    888   
    pub fixed_length_string: ::std::option::Option<crate::model::FixedLengthString>,
         889  +
    /* StructureGenerator.kt:231 */
  729    890   
    #[allow(missing_docs)] // documentation missing in model
  730    891   
    pub length_blob: ::std::option::Option<crate::model::LengthBlob>,
         892  +
    /* StructureGenerator.kt:231 */
  731    893   
    #[allow(missing_docs)] // documentation missing in model
  732    894   
    pub min_length_blob: ::std::option::Option<crate::model::MinLengthBlob>,
         895  +
    /* StructureGenerator.kt:231 */
  733    896   
    #[allow(missing_docs)] // documentation missing in model
  734    897   
    pub max_length_blob: ::std::option::Option<crate::model::MaxLengthBlob>,
         898  +
    /* StructureGenerator.kt:231 */
  735    899   
    #[allow(missing_docs)] // documentation missing in model
  736    900   
    pub fixed_length_blob: ::std::option::Option<crate::model::FixedLengthBlob>,
         901  +
    /* StructureGenerator.kt:231 */
  737    902   
    #[allow(missing_docs)] // documentation missing in model
  738    903   
    pub range_integer: crate::model::RangeInteger,
         904  +
    /* StructureGenerator.kt:231 */
  739    905   
    #[allow(missing_docs)] // documentation missing in model
  740    906   
    pub min_range_integer: crate::model::MinRangeInteger,
         907  +
    /* StructureGenerator.kt:231 */
  741    908   
    #[allow(missing_docs)] // documentation missing in model
  742    909   
    pub max_range_integer: crate::model::MaxRangeInteger,
         910  +
    /* StructureGenerator.kt:231 */
  743    911   
    #[allow(missing_docs)] // documentation missing in model
  744    912   
    pub fixed_value_integer: crate::model::FixedValueInteger,
         913  +
    /* StructureGenerator.kt:231 */
  745    914   
    #[allow(missing_docs)] // documentation missing in model
  746    915   
    pub range_short: crate::model::RangeShort,
         916  +
    /* StructureGenerator.kt:231 */
  747    917   
    #[allow(missing_docs)] // documentation missing in model
  748    918   
    pub min_range_short: crate::model::MinRangeShort,
         919  +
    /* StructureGenerator.kt:231 */
  749    920   
    #[allow(missing_docs)] // documentation missing in model
  750    921   
    pub max_range_short: crate::model::MaxRangeShort,
         922  +
    /* StructureGenerator.kt:231 */
  751    923   
    #[allow(missing_docs)] // documentation missing in model
  752    924   
    pub fixed_value_short: crate::model::FixedValueShort,
         925  +
    /* StructureGenerator.kt:231 */
  753    926   
    #[allow(missing_docs)] // documentation missing in model
  754    927   
    pub range_long: crate::model::RangeLong,
         928  +
    /* StructureGenerator.kt:231 */
  755    929   
    #[allow(missing_docs)] // documentation missing in model
  756    930   
    pub min_range_long: crate::model::MinRangeLong,
         931  +
    /* StructureGenerator.kt:231 */
  757    932   
    #[allow(missing_docs)] // documentation missing in model
  758    933   
    pub max_range_long: crate::model::MaxRangeLong,
         934  +
    /* StructureGenerator.kt:231 */
  759    935   
    #[allow(missing_docs)] // documentation missing in model
  760    936   
    pub fixed_value_long: crate::model::FixedValueLong,
         937  +
    /* StructureGenerator.kt:231 */
  761    938   
    #[allow(missing_docs)] // documentation missing in model
  762    939   
    pub range_byte: crate::model::RangeByte,
         940  +
    /* StructureGenerator.kt:231 */
  763    941   
    #[allow(missing_docs)] // documentation missing in model
  764    942   
    pub min_range_byte: crate::model::MinRangeByte,
         943  +
    /* StructureGenerator.kt:231 */
  765    944   
    #[allow(missing_docs)] // documentation missing in model
  766    945   
    pub max_range_byte: crate::model::MaxRangeByte,
         946  +
    /* StructureGenerator.kt:231 */
  767    947   
    #[allow(missing_docs)] // documentation missing in model
  768    948   
    pub fixed_value_byte: crate::model::FixedValueByte,
         949  +
    /* StructureGenerator.kt:231 */
  769    950   
    #[allow(missing_docs)] // documentation missing in model
  770    951   
    pub con_b_list: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>>,
         952  +
    /* StructureGenerator.kt:231 */
  771    953   
    #[allow(missing_docs)] // documentation missing in model
  772    954   
    pub length_list: ::std::option::Option<crate::model::LengthList>,
         955  +
    /* StructureGenerator.kt:231 */
  773    956   
    #[allow(missing_docs)] // documentation missing in model
  774    957   
    pub sensitive_length_list: ::std::option::Option<crate::model::SensitiveLengthList>,
         958  +
    /* StructureGenerator.kt:231 */
  775    959   
    #[allow(missing_docs)] // documentation missing in model
  776    960   
    pub con_b_set: ::std::option::Option<crate::model::ConBSet>,
         961  +
    /* StructureGenerator.kt:231 */
  777    962   
    #[allow(missing_docs)] // documentation missing in model
  778    963   
    pub con_b_map: ::std::option::Option<crate::model::ConBMap>,
         964  +
    /* StructureGenerator.kt:231 */
  779    965   
    #[allow(missing_docs)] // documentation missing in model
  780    966   
    pub length_map: ::std::option::Option<crate::model::LengthMap>,
         967  +
    /* StructureGenerator.kt:231 */
  781    968   
    #[allow(missing_docs)] // documentation missing in model
  782    969   
    pub map_of_map_of_list_of_list_of_con_b: ::std::option::Option<
  783    970   
        ::std::collections::HashMap<
  784    971   
            ::std::string::String,
  785    972   
            ::std::collections::HashMap<
  786    973   
                ::std::string::String,
  787    974   
                ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
  788    975   
            >,
  789    976   
        >,
  790    977   
    >,
         978  +
    /* StructureGenerator.kt:231 */
  791    979   
    #[allow(missing_docs)] // documentation missing in model
  792    980   
    pub sparse_map: ::std::option::Option<
  793    981   
        ::std::collections::HashMap<
  794    982   
            ::std::string::String,
  795    983   
            ::std::option::Option<crate::model::UniqueItemsList>,
  796    984   
        >,
  797    985   
    >,
         986  +
    /* StructureGenerator.kt:231 */
  798    987   
    #[allow(missing_docs)] // documentation missing in model
  799    988   
    pub sparse_list:
  800    989   
        ::std::option::Option<::std::vec::Vec<::std::option::Option<crate::model::LengthString>>>,
         990  +
    /* StructureGenerator.kt:231 */
  801    991   
    #[allow(missing_docs)] // documentation missing in model
  802    992   
    pub sparse_length_map: ::std::option::Option<crate::model::SparseLengthMap>,
         993  +
    /* StructureGenerator.kt:231 */
  803    994   
    #[allow(missing_docs)] // documentation missing in model
  804    995   
    pub sparse_length_list: ::std::option::Option<crate::model::SparseLengthList>,
  805         -
    /// A union with constrained members.
         996  +
    /// /* StructureGenerator.kt:231 */A union with constrained members.
  806    997   
    pub constrained_union: ::std::option::Option<crate::model::ConstrainedUnion>,
         998  +
    /* StructureGenerator.kt:231 */
  807    999   
    #[allow(missing_docs)] // documentation missing in model
  808   1000   
    pub enum_string: ::std::option::Option<crate::model::EnumString>,
        1001  +
    /* StructureGenerator.kt:231 */
  809   1002   
    #[allow(missing_docs)] // documentation missing in model
  810   1003   
    pub list_of_length_string: ::std::option::Option<::std::vec::Vec<crate::model::LengthString>>,
        1004  +
    /* StructureGenerator.kt:231 */
  811   1005   
    #[allow(missing_docs)] // documentation missing in model
  812   1006   
    pub set_of_length_string: ::std::option::Option<crate::model::SetOfLengthString>,
        1007  +
    /* StructureGenerator.kt:231 */
  813   1008   
    #[allow(missing_docs)] // documentation missing in model
  814   1009   
    pub map_of_length_string: ::std::option::Option<
  815   1010   
        ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
  816   1011   
    >,
        1012  +
    /* StructureGenerator.kt:231 */
  817   1013   
    #[allow(missing_docs)] // documentation missing in model
  818   1014   
    pub list_of_length_blob: ::std::option::Option<::std::vec::Vec<crate::model::LengthBlob>>,
        1015  +
    /* StructureGenerator.kt:231 */
  819   1016   
    #[allow(missing_docs)] // documentation missing in model
  820   1017   
    pub map_of_length_blob: ::std::option::Option<
  821   1018   
        ::std::collections::HashMap<::std::string::String, crate::model::LengthBlob>,
  822   1019   
    >,
        1020  +
    /* StructureGenerator.kt:231 */
  823   1021   
    #[allow(missing_docs)] // documentation missing in model
  824   1022   
    pub list_of_range_integer: ::std::option::Option<::std::vec::Vec<crate::model::RangeInteger>>,
        1023  +
    /* StructureGenerator.kt:231 */
  825   1024   
    #[allow(missing_docs)] // documentation missing in model
  826   1025   
    pub set_of_range_integer: ::std::option::Option<crate::model::SetOfRangeInteger>,
        1026  +
    /* StructureGenerator.kt:231 */
  827   1027   
    #[allow(missing_docs)] // documentation missing in model
  828   1028   
    pub map_of_range_integer: ::std::option::Option<
  829   1029   
        ::std::collections::HashMap<::std::string::String, crate::model::RangeInteger>,
  830   1030   
    >,
        1031  +
    /* StructureGenerator.kt:231 */
  831   1032   
    #[allow(missing_docs)] // documentation missing in model
  832   1033   
    pub list_of_range_short: ::std::option::Option<::std::vec::Vec<crate::model::RangeShort>>,
        1034  +
    /* StructureGenerator.kt:231 */
  833   1035   
    #[allow(missing_docs)] // documentation missing in model
  834   1036   
    pub set_of_range_short: ::std::option::Option<crate::model::SetOfRangeShort>,
        1037  +
    /* StructureGenerator.kt:231 */
  835   1038   
    #[allow(missing_docs)] // documentation missing in model
  836   1039   
    pub map_of_range_short: ::std::option::Option<
  837   1040   
        ::std::collections::HashMap<::std::string::String, crate::model::RangeShort>,
  838   1041   
    >,
        1042  +
    /* StructureGenerator.kt:231 */
  839   1043   
    #[allow(missing_docs)] // documentation missing in model
  840   1044   
    pub list_of_range_long: ::std::option::Option<::std::vec::Vec<crate::model::RangeLong>>,
        1045  +
    /* StructureGenerator.kt:231 */
  841   1046   
    #[allow(missing_docs)] // documentation missing in model
  842   1047   
    pub set_of_range_long: ::std::option::Option<crate::model::SetOfRangeLong>,
        1048  +
    /* StructureGenerator.kt:231 */
  843   1049   
    #[allow(missing_docs)] // documentation missing in model
  844   1050   
    pub map_of_range_long: ::std::option::Option<
  845   1051   
        ::std::collections::HashMap<::std::string::String, crate::model::RangeLong>,
  846   1052   
    >,
        1053  +
    /* StructureGenerator.kt:231 */
  847   1054   
    #[allow(missing_docs)] // documentation missing in model
  848   1055   
    pub list_of_range_byte: ::std::option::Option<::std::vec::Vec<crate::model::RangeByte>>,
        1056  +
    /* StructureGenerator.kt:231 */
  849   1057   
    #[allow(missing_docs)] // documentation missing in model
  850   1058   
    pub set_of_range_byte: ::std::option::Option<crate::model::SetOfRangeByte>,
        1059  +
    /* StructureGenerator.kt:231 */
  851   1060   
    #[allow(missing_docs)] // documentation missing in model
  852   1061   
    pub map_of_range_byte: ::std::option::Option<
  853   1062   
        ::std::collections::HashMap<::std::string::String, crate::model::RangeByte>,
  854   1063   
    >,
        1064  +
    /* StructureGenerator.kt:231 */
  855   1065   
    #[allow(missing_docs)] // documentation missing in model
  856   1066   
    pub non_streaming_blob: ::std::option::Option<::aws_smithy_types::Blob>,
        1067  +
    /* StructureGenerator.kt:231 */
  857   1068   
    #[allow(missing_docs)] // documentation missing in model
  858   1069   
    pub pattern_string: ::std::option::Option<crate::model::PatternString>,
        1070  +
    /* StructureGenerator.kt:231 */
  859   1071   
    #[allow(missing_docs)] // documentation missing in model
  860   1072   
    pub map_of_pattern_string: ::std::option::Option<
  861   1073   
        ::std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
  862   1074   
    >,
        1075  +
    /* StructureGenerator.kt:231 */
  863   1076   
    #[allow(missing_docs)] // documentation missing in model
  864   1077   
    pub list_of_pattern_string: ::std::option::Option<::std::vec::Vec<crate::model::PatternString>>,
        1078  +
    /* StructureGenerator.kt:231 */
  865   1079   
    #[allow(missing_docs)] // documentation missing in model
  866   1080   
    pub set_of_pattern_string: ::std::option::Option<crate::model::SetOfPatternString>,
        1081  +
    /* StructureGenerator.kt:231 */
  867   1082   
    #[allow(missing_docs)] // documentation missing in model
  868   1083   
    pub length_length_pattern_string: ::std::option::Option<crate::model::LengthPatternString>,
        1084  +
    /* StructureGenerator.kt:231 */
  869   1085   
    #[allow(missing_docs)] // documentation missing in model
  870   1086   
    pub map_of_length_pattern_string: ::std::option::Option<
  871   1087   
        ::std::collections::HashMap<
  872   1088   
            crate::model::LengthPatternString,
  873   1089   
            crate::model::LengthPatternString,
  874   1090   
        >,
  875   1091   
    >,
        1092  +
    /* StructureGenerator.kt:231 */
  876   1093   
    #[allow(missing_docs)] // documentation missing in model
  877   1094   
    pub list_of_length_pattern_string:
  878   1095   
        ::std::option::Option<::std::vec::Vec<crate::model::LengthPatternString>>,
        1096  +
    /* StructureGenerator.kt:231 */
  879   1097   
    #[allow(missing_docs)] // documentation missing in model
  880   1098   
    pub set_of_length_pattern_string: ::std::option::Option<crate::model::SetOfLengthPatternString>,
        1099  +
    /* StructureGenerator.kt:231 */
  881   1100   
    #[allow(missing_docs)] // documentation missing in model
  882   1101   
    pub length_list_of_pattern_string:
  883   1102   
        ::std::option::Option<crate::model::LengthListOfPatternString>,
        1103  +
    /* StructureGenerator.kt:231 */
  884   1104   
    #[allow(missing_docs)] // documentation missing in model
  885   1105   
    pub length_set_of_pattern_string: ::std::option::Option<crate::model::LengthSetOfPatternString>,
        1106  +
    /* StructureGenerator.kt:201 */
  886   1107   
}
        1108  +
/* StructureGenerator.kt:135 */
  887   1109   
impl ConA {
        1110  +
    /* StructureGenerator.kt:231 */
  888   1111   
    #[allow(missing_docs)] // documentation missing in model
        1112  +
                           /* StructureGenerator.kt:166 */
  889   1113   
    pub fn con_b(&self) -> &crate::model::ConB {
        1114  +
        /* StructureGenerator.kt:172 */
  890   1115   
        &self.con_b
        1116  +
        /* StructureGenerator.kt:166 */
  891   1117   
    }
        1118  +
    /* StructureGenerator.kt:231 */
  892   1119   
    #[allow(missing_docs)] // documentation missing in model
        1120  +
                           /* StructureGenerator.kt:166 */
  893   1121   
    pub fn opt_con_b(&self) -> ::std::option::Option<&crate::model::ConB> {
        1122  +
        /* StructureGenerator.kt:170 */
  894   1123   
        self.opt_con_b.as_ref()
        1124  +
        /* StructureGenerator.kt:166 */
  895   1125   
    }
        1126  +
    /* StructureGenerator.kt:231 */
  896   1127   
    #[allow(missing_docs)] // documentation missing in model
        1128  +
                           /* StructureGenerator.kt:166 */
  897   1129   
    pub fn length_string(&self) -> ::std::option::Option<&crate::model::LengthString> {
        1130  +
        /* StructureGenerator.kt:170 */
  898   1131   
        self.length_string.as_ref()
        1132  +
        /* StructureGenerator.kt:166 */
  899   1133   
    }
        1134  +
    /* StructureGenerator.kt:231 */
  900   1135   
    #[allow(missing_docs)] // documentation missing in model
        1136  +
                           /* StructureGenerator.kt:166 */
  901   1137   
    pub fn min_length_string(&self) -> ::std::option::Option<&crate::model::MinLengthString> {
        1138  +
        /* StructureGenerator.kt:170 */
  902   1139   
        self.min_length_string.as_ref()
        1140  +
        /* StructureGenerator.kt:166 */
  903   1141   
    }
        1142  +
    /* StructureGenerator.kt:231 */
  904   1143   
    #[allow(missing_docs)] // documentation missing in model
        1144  +
                           /* StructureGenerator.kt:166 */
  905   1145   
    pub fn max_length_string(&self) -> ::std::option::Option<&crate::model::MaxLengthString> {
        1146  +
        /* StructureGenerator.kt:170 */
  906   1147   
        self.max_length_string.as_ref()
        1148  +
        /* StructureGenerator.kt:166 */
  907   1149   
    }
        1150  +
    /* StructureGenerator.kt:231 */
  908   1151   
    #[allow(missing_docs)] // documentation missing in model
        1152  +
                           /* StructureGenerator.kt:166 */
  909   1153   
    pub fn fixed_length_string(&self) -> ::std::option::Option<&crate::model::FixedLengthString> {
        1154  +
        /* StructureGenerator.kt:170 */
  910   1155   
        self.fixed_length_string.as_ref()
        1156  +
        /* StructureGenerator.kt:166 */
  911   1157   
    }
        1158  +
    /* StructureGenerator.kt:231 */
  912   1159   
    #[allow(missing_docs)] // documentation missing in model
        1160  +
                           /* StructureGenerator.kt:166 */
  913   1161   
    pub fn length_blob(&self) -> ::std::option::Option<&crate::model::LengthBlob> {
        1162  +
        /* StructureGenerator.kt:170 */
  914   1163   
        self.length_blob.as_ref()
        1164  +
        /* StructureGenerator.kt:166 */
  915   1165   
    }
        1166  +
    /* StructureGenerator.kt:231 */
  916   1167   
    #[allow(missing_docs)] // documentation missing in model
        1168  +
                           /* StructureGenerator.kt:166 */
  917   1169   
    pub fn min_length_blob(&self) -> ::std::option::Option<&crate::model::MinLengthBlob> {
        1170  +
        /* StructureGenerator.kt:170 */
  918   1171   
        self.min_length_blob.as_ref()
        1172  +
        /* StructureGenerator.kt:166 */
  919   1173   
    }
        1174  +
    /* StructureGenerator.kt:231 */
  920   1175   
    #[allow(missing_docs)] // documentation missing in model
        1176  +
                           /* StructureGenerator.kt:166 */
  921   1177   
    pub fn max_length_blob(&self) -> ::std::option::Option<&crate::model::MaxLengthBlob> {
        1178  +
        /* StructureGenerator.kt:170 */
  922   1179   
        self.max_length_blob.as_ref()
        1180  +
        /* StructureGenerator.kt:166 */
  923   1181   
    }
        1182  +
    /* StructureGenerator.kt:231 */
  924   1183   
    #[allow(missing_docs)] // documentation missing in model
        1184  +
                           /* StructureGenerator.kt:166 */
  925   1185   
    pub fn fixed_length_blob(&self) -> ::std::option::Option<&crate::model::FixedLengthBlob> {
        1186  +
        /* StructureGenerator.kt:170 */
  926   1187   
        self.fixed_length_blob.as_ref()
        1188  +
        /* StructureGenerator.kt:166 */
  927   1189   
    }
        1190  +
    /* StructureGenerator.kt:231 */
  928   1191   
    #[allow(missing_docs)] // documentation missing in model
        1192  +
                           /* StructureGenerator.kt:166 */
  929   1193   
    pub fn range_integer(&self) -> &crate::model::RangeInteger {
        1194  +
        /* StructureGenerator.kt:172 */
  930   1195   
        &self.range_integer
        1196  +
        /* StructureGenerator.kt:166 */
  931   1197   
    }
        1198  +
    /* StructureGenerator.kt:231 */
  932   1199   
    #[allow(missing_docs)] // documentation missing in model
        1200  +
                           /* StructureGenerator.kt:166 */
  933   1201   
    pub fn min_range_integer(&self) -> &crate::model::MinRangeInteger {
        1202  +
        /* StructureGenerator.kt:172 */
  934   1203   
        &self.min_range_integer
        1204  +
        /* StructureGenerator.kt:166 */
  935   1205   
    }
        1206  +
    /* StructureGenerator.kt:231 */
  936   1207   
    #[allow(missing_docs)] // documentation missing in model
        1208  +
                           /* StructureGenerator.kt:166 */
  937   1209   
    pub fn max_range_integer(&self) -> &crate::model::MaxRangeInteger {
        1210  +
        /* StructureGenerator.kt:172 */
  938   1211   
        &self.max_range_integer
        1212  +
        /* StructureGenerator.kt:166 */
  939   1213   
    }
        1214  +
    /* StructureGenerator.kt:231 */
  940   1215   
    #[allow(missing_docs)] // documentation missing in model
        1216  +
                           /* StructureGenerator.kt:166 */
  941   1217   
    pub fn fixed_value_integer(&self) -> &crate::model::FixedValueInteger {
        1218  +
        /* StructureGenerator.kt:172 */
  942   1219   
        &self.fixed_value_integer
        1220  +
        /* StructureGenerator.kt:166 */
  943   1221   
    }
        1222  +
    /* StructureGenerator.kt:231 */
  944   1223   
    #[allow(missing_docs)] // documentation missing in model
        1224  +
                           /* StructureGenerator.kt:166 */
  945   1225   
    pub fn range_short(&self) -> &crate::model::RangeShort {
        1226  +
        /* StructureGenerator.kt:172 */
  946   1227   
        &self.range_short
        1228  +
        /* StructureGenerator.kt:166 */
  947   1229   
    }
        1230  +
    /* StructureGenerator.kt:231 */
  948   1231   
    #[allow(missing_docs)] // documentation missing in model
        1232  +
                           /* StructureGenerator.kt:166 */
  949   1233   
    pub fn min_range_short(&self) -> &crate::model::MinRangeShort {
        1234  +
        /* StructureGenerator.kt:172 */
  950   1235   
        &self.min_range_short
        1236  +
        /* StructureGenerator.kt:166 */
  951   1237   
    }
        1238  +
    /* StructureGenerator.kt:231 */
  952   1239   
    #[allow(missing_docs)] // documentation missing in model
        1240  +
                           /* StructureGenerator.kt:166 */
  953   1241   
    pub fn max_range_short(&self) -> &crate::model::MaxRangeShort {
        1242  +
        /* StructureGenerator.kt:172 */
  954   1243   
        &self.max_range_short
        1244  +
        /* StructureGenerator.kt:166 */
  955   1245   
    }
        1246  +
    /* StructureGenerator.kt:231 */
  956   1247   
    #[allow(missing_docs)] // documentation missing in model
        1248  +
                           /* StructureGenerator.kt:166 */
  957   1249   
    pub fn fixed_value_short(&self) -> &crate::model::FixedValueShort {
        1250  +
        /* StructureGenerator.kt:172 */
  958   1251   
        &self.fixed_value_short
        1252  +
        /* StructureGenerator.kt:166 */
  959   1253   
    }
        1254  +
    /* StructureGenerator.kt:231 */
  960   1255   
    #[allow(missing_docs)] // documentation missing in model
        1256  +
                           /* StructureGenerator.kt:166 */
  961   1257   
    pub fn range_long(&self) -> &crate::model::RangeLong {
        1258  +
        /* StructureGenerator.kt:172 */
  962   1259   
        &self.range_long
        1260  +
        /* StructureGenerator.kt:166 */
  963   1261   
    }
        1262  +
    /* StructureGenerator.kt:231 */
  964   1263   
    #[allow(missing_docs)] // documentation missing in model
        1264  +
                           /* StructureGenerator.kt:166 */
  965   1265   
    pub fn min_range_long(&self) -> &crate::model::MinRangeLong {
        1266  +
        /* StructureGenerator.kt:172 */
  966   1267   
        &self.min_range_long
        1268  +
        /* StructureGenerator.kt:166 */
  967   1269   
    }
        1270  +
    /* StructureGenerator.kt:231 */
  968   1271   
    #[allow(missing_docs)] // documentation missing in model
        1272  +
                           /* StructureGenerator.kt:166 */
  969   1273   
    pub fn max_range_long(&self) -> &crate::model::MaxRangeLong {
        1274  +
        /* StructureGenerator.kt:172 */
  970   1275   
        &self.max_range_long
        1276  +
        /* StructureGenerator.kt:166 */
  971   1277   
    }
        1278  +
    /* StructureGenerator.kt:231 */
  972   1279   
    #[allow(missing_docs)] // documentation missing in model
        1280  +
                           /* StructureGenerator.kt:166 */
  973   1281   
    pub fn fixed_value_long(&self) -> &crate::model::FixedValueLong {
        1282  +
        /* StructureGenerator.kt:172 */
  974   1283   
        &self.fixed_value_long
        1284  +
        /* StructureGenerator.kt:166 */
  975   1285   
    }
        1286  +
    /* StructureGenerator.kt:231 */
  976   1287   
    #[allow(missing_docs)] // documentation missing in model
        1288  +
                           /* StructureGenerator.kt:166 */
  977   1289   
    pub fn range_byte(&self) -> &crate::model::RangeByte {
        1290  +
        /* StructureGenerator.kt:172 */
  978   1291   
        &self.range_byte
        1292  +
        /* StructureGenerator.kt:166 */
  979   1293   
    }
        1294  +
    /* StructureGenerator.kt:231 */
  980   1295   
    #[allow(missing_docs)] // documentation missing in model
        1296  +
                           /* StructureGenerator.kt:166 */
  981   1297   
    pub fn min_range_byte(&self) -> &crate::model::MinRangeByte {
        1298  +
        /* StructureGenerator.kt:172 */
  982   1299   
        &self.min_range_byte
        1300  +
        /* StructureGenerator.kt:166 */
  983   1301   
    }
        1302  +
    /* StructureGenerator.kt:231 */
  984   1303   
    #[allow(missing_docs)] // documentation missing in model
        1304  +
                           /* StructureGenerator.kt:166 */
  985   1305   
    pub fn max_range_byte(&self) -> &crate::model::MaxRangeByte {
        1306  +
        /* StructureGenerator.kt:172 */
  986   1307   
        &self.max_range_byte
        1308  +
        /* StructureGenerator.kt:166 */
  987   1309   
    }
        1310  +
    /* StructureGenerator.kt:231 */
  988   1311   
    #[allow(missing_docs)] // documentation missing in model
        1312  +
                           /* StructureGenerator.kt:166 */
  989   1313   
    pub fn fixed_value_byte(&self) -> &crate::model::FixedValueByte {
        1314  +
        /* StructureGenerator.kt:172 */
  990   1315   
        &self.fixed_value_byte
        1316  +
        /* StructureGenerator.kt:166 */
  991   1317   
    }
        1318  +
    /* StructureGenerator.kt:231 */
  992   1319   
    #[allow(missing_docs)] // documentation missing in model
        1320  +
                           /* StructureGenerator.kt:166 */
  993   1321   
    pub fn con_b_list(&self) -> ::std::option::Option<&[::std::vec::Vec<crate::model::ConB>]> {
        1322  +
        /* StructureGenerator.kt:169 */
  994   1323   
        self.con_b_list.as_deref()
        1324  +
        /* StructureGenerator.kt:166 */
  995   1325   
    }
        1326  +
    /* StructureGenerator.kt:231 */
  996   1327   
    #[allow(missing_docs)] // documentation missing in model
        1328  +
                           /* StructureGenerator.kt:166 */
  997   1329   
    pub fn length_list(&self) -> ::std::option::Option<&crate::model::LengthList> {
        1330  +
        /* StructureGenerator.kt:170 */
  998   1331   
        self.length_list.as_ref()
        1332  +
        /* StructureGenerator.kt:166 */
  999   1333   
    }
        1334  +
    /* StructureGenerator.kt:231 */
 1000   1335   
    #[allow(missing_docs)] // documentation missing in model
        1336  +
                           /* StructureGenerator.kt:166 */
 1001   1337   
    pub fn sensitive_length_list(
 1002   1338   
        &self,
 1003   1339   
    ) -> ::std::option::Option<&crate::model::SensitiveLengthList> {
        1340  +
        /* StructureGenerator.kt:170 */
 1004   1341   
        self.sensitive_length_list.as_ref()
        1342  +
        /* StructureGenerator.kt:166 */
 1005   1343   
    }
        1344  +
    /* StructureGenerator.kt:231 */
 1006   1345   
    #[allow(missing_docs)] // documentation missing in model
        1346  +
                           /* StructureGenerator.kt:166 */
 1007   1347   
    pub fn con_b_set(&self) -> ::std::option::Option<&crate::model::ConBSet> {
        1348  +
        /* StructureGenerator.kt:170 */
 1008   1349   
        self.con_b_set.as_ref()
        1350  +
        /* StructureGenerator.kt:166 */
 1009   1351   
    }
        1352  +
    /* StructureGenerator.kt:231 */
 1010   1353   
    #[allow(missing_docs)] // documentation missing in model
        1354  +
                           /* StructureGenerator.kt:166 */
 1011   1355   
    pub fn con_b_map(&self) -> ::std::option::Option<&crate::model::ConBMap> {
        1356  +
        /* StructureGenerator.kt:170 */
 1012   1357   
        self.con_b_map.as_ref()
        1358  +
        /* StructureGenerator.kt:166 */
 1013   1359   
    }
        1360  +
    /* StructureGenerator.kt:231 */
 1014   1361   
    #[allow(missing_docs)] // documentation missing in model
        1362  +
                           /* StructureGenerator.kt:166 */
 1015   1363   
    pub fn length_map(&self) -> ::std::option::Option<&crate::model::LengthMap> {
        1364  +
        /* StructureGenerator.kt:170 */
 1016   1365   
        self.length_map.as_ref()
        1366  +
        /* StructureGenerator.kt:166 */
 1017   1367   
    }
        1368  +
    /* StructureGenerator.kt:231 */
 1018   1369   
    #[allow(missing_docs)] // documentation missing in model
        1370  +
                           /* StructureGenerator.kt:166 */
 1019   1371   
    pub fn map_of_map_of_list_of_list_of_con_b(
 1020   1372   
        &self,
 1021   1373   
    ) -> ::std::option::Option<
 1022   1374   
        &::std::collections::HashMap<
 1023   1375   
            ::std::string::String,
 1024   1376   
            ::std::collections::HashMap<
 1025   1377   
                ::std::string::String,
 1026   1378   
                ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
 1027   1379   
            >,
 1028   1380   
        >,
 1029   1381   
    > {
        1382  +
        /* StructureGenerator.kt:170 */
 1030   1383   
        self.map_of_map_of_list_of_list_of_con_b.as_ref()
        1384  +
        /* StructureGenerator.kt:166 */
 1031   1385   
    }
        1386  +
    /* StructureGenerator.kt:231 */
 1032   1387   
    #[allow(missing_docs)] // documentation missing in model
        1388  +
                           /* StructureGenerator.kt:166 */
 1033   1389   
    pub fn sparse_map(
 1034   1390   
        &self,
 1035   1391   
    ) -> ::std::option::Option<
 1036   1392   
        &::std::collections::HashMap<
 1037   1393   
            ::std::string::String,
 1038   1394   
            ::std::option::Option<crate::model::UniqueItemsList>,
 1039   1395   
        >,
 1040   1396   
    > {
        1397  +
        /* StructureGenerator.kt:170 */
 1041   1398   
        self.sparse_map.as_ref()
        1399  +
        /* StructureGenerator.kt:166 */
 1042   1400   
    }
        1401  +
    /* StructureGenerator.kt:231 */
 1043   1402   
    #[allow(missing_docs)] // documentation missing in model
        1403  +
                           /* StructureGenerator.kt:166 */
 1044   1404   
    pub fn sparse_list(
 1045   1405   
        &self,
 1046   1406   
    ) -> ::std::option::Option<&[::std::option::Option<crate::model::LengthString>]> {
        1407  +
        /* StructureGenerator.kt:169 */
 1047   1408   
        self.sparse_list.as_deref()
        1409  +
        /* StructureGenerator.kt:166 */
 1048   1410   
    }
        1411  +
    /* StructureGenerator.kt:231 */
 1049   1412   
    #[allow(missing_docs)] // documentation missing in model
        1413  +
                           /* StructureGenerator.kt:166 */
 1050   1414   
    pub fn sparse_length_map(&self) -> ::std::option::Option<&crate::model::SparseLengthMap> {
        1415  +
        /* StructureGenerator.kt:170 */
 1051   1416   
        self.sparse_length_map.as_ref()
        1417  +
        /* StructureGenerator.kt:166 */
 1052   1418   
    }
        1419  +
    /* StructureGenerator.kt:231 */
 1053   1420   
    #[allow(missing_docs)] // documentation missing in model
        1421  +
                           /* StructureGenerator.kt:166 */
 1054   1422   
    pub fn sparse_length_list(&self) -> ::std::option::Option<&crate::model::SparseLengthList> {
        1423  +
        /* StructureGenerator.kt:170 */
 1055   1424   
        self.sparse_length_list.as_ref()
        1425  +
        /* StructureGenerator.kt:166 */
 1056   1426   
    }
 1057         -
    /// A union with constrained members.
        1427  +
    /// /* StructureGenerator.kt:231 */A union with constrained members.
        1428  +
    /* StructureGenerator.kt:166 */
 1058   1429   
    pub fn constrained_union(&self) -> ::std::option::Option<&crate::model::ConstrainedUnion> {
        1430  +
        /* StructureGenerator.kt:170 */
 1059   1431   
        self.constrained_union.as_ref()
        1432  +
        /* StructureGenerator.kt:166 */
 1060   1433   
    }
        1434  +
    /* StructureGenerator.kt:231 */
 1061   1435   
    #[allow(missing_docs)] // documentation missing in model
        1436  +
                           /* StructureGenerator.kt:166 */
 1062   1437   
    pub fn enum_string(&self) -> ::std::option::Option<&crate::model::EnumString> {
        1438  +
        /* StructureGenerator.kt:170 */
 1063   1439   
        self.enum_string.as_ref()
        1440  +
        /* StructureGenerator.kt:166 */
 1064   1441   
    }
        1442  +
    /* StructureGenerator.kt:231 */
 1065   1443   
    #[allow(missing_docs)] // documentation missing in model
        1444  +
                           /* StructureGenerator.kt:166 */
 1066   1445   
    pub fn list_of_length_string(&self) -> ::std::option::Option<&[crate::model::LengthString]> {
        1446  +
        /* StructureGenerator.kt:169 */
 1067   1447   
        self.list_of_length_string.as_deref()
        1448  +
        /* StructureGenerator.kt:166 */
 1068   1449   
    }
        1450  +
    /* StructureGenerator.kt:231 */
 1069   1451   
    #[allow(missing_docs)] // documentation missing in model
        1452  +
                           /* StructureGenerator.kt:166 */
 1070   1453   
    pub fn set_of_length_string(&self) -> ::std::option::Option<&crate::model::SetOfLengthString> {
        1454  +
        /* StructureGenerator.kt:170 */
 1071   1455   
        self.set_of_length_string.as_ref()
        1456  +
        /* StructureGenerator.kt:166 */
 1072   1457   
    }
        1458  +
    /* StructureGenerator.kt:231 */
 1073   1459   
    #[allow(missing_docs)] // documentation missing in model
        1460  +
                           /* StructureGenerator.kt:166 */
 1074   1461   
    pub fn map_of_length_string(
 1075   1462   
        &self,
 1076   1463   
    ) -> ::std::option::Option<
 1077   1464   
        &::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
 1078   1465   
    > {
        1466  +
        /* StructureGenerator.kt:170 */
 1079   1467   
        self.map_of_length_string.as_ref()
        1468  +
        /* StructureGenerator.kt:166 */
 1080   1469   
    }
        1470  +
    /* StructureGenerator.kt:231 */
 1081   1471   
    #[allow(missing_docs)] // documentation missing in model
        1472  +
                           /* StructureGenerator.kt:166 */
 1082   1473   
    pub fn list_of_length_blob(&self) -> ::std::option::Option<&[crate::model::LengthBlob]> {
        1474  +
        /* StructureGenerator.kt:169 */
 1083   1475   
        self.list_of_length_blob.as_deref()
        1476  +
        /* StructureGenerator.kt:166 */
 1084   1477   
    }
        1478  +
    /* StructureGenerator.kt:231 */
 1085   1479   
    #[allow(missing_docs)] // documentation missing in model
        1480  +
                           /* StructureGenerator.kt:166 */
 1086   1481   
    pub fn map_of_length_blob(
 1087   1482   
        &self,
 1088   1483   
    ) -> ::std::option::Option<
 1089   1484   
        &::std::collections::HashMap<::std::string::String, crate::model::LengthBlob>,
 1090   1485   
    > {
        1486  +
        /* StructureGenerator.kt:170 */
 1091   1487   
        self.map_of_length_blob.as_ref()
        1488  +
        /* StructureGenerator.kt:166 */
 1092   1489   
    }
        1490  +
    /* StructureGenerator.kt:231 */
 1093   1491   
    #[allow(missing_docs)] // documentation missing in model
        1492  +
                           /* StructureGenerator.kt:166 */
 1094   1493   
    pub fn list_of_range_integer(&self) -> ::std::option::Option<&[crate::model::RangeInteger]> {
        1494  +
        /* StructureGenerator.kt:169 */
 1095   1495   
        self.list_of_range_integer.as_deref()
        1496  +
        /* StructureGenerator.kt:166 */
 1096   1497   
    }
        1498  +
    /* StructureGenerator.kt:231 */
 1097   1499   
    #[allow(missing_docs)] // documentation missing in model
        1500  +
                           /* StructureGenerator.kt:166 */
 1098   1501   
    pub fn set_of_range_integer(&self) -> ::std::option::Option<&crate::model::SetOfRangeInteger> {
        1502  +
        /* StructureGenerator.kt:170 */
 1099   1503   
        self.set_of_range_integer.as_ref()
        1504  +
        /* StructureGenerator.kt:166 */
 1100   1505   
    }
        1506  +
    /* StructureGenerator.kt:231 */
 1101   1507   
    #[allow(missing_docs)] // documentation missing in model
        1508  +
                           /* StructureGenerator.kt:166 */
 1102   1509   
    pub fn map_of_range_integer(
 1103   1510   
        &self,
 1104   1511   
    ) -> ::std::option::Option<
 1105   1512   
        &::std::collections::HashMap<::std::string::String, crate::model::RangeInteger>,
 1106   1513   
    > {
        1514  +
        /* StructureGenerator.kt:170 */
 1107   1515   
        self.map_of_range_integer.as_ref()
        1516  +
        /* StructureGenerator.kt:166 */
 1108   1517   
    }
        1518  +
    /* StructureGenerator.kt:231 */
 1109   1519   
    #[allow(missing_docs)] // documentation missing in model
        1520  +
                           /* StructureGenerator.kt:166 */
 1110   1521   
    pub fn list_of_range_short(&self) -> ::std::option::Option<&[crate::model::RangeShort]> {
        1522  +
        /* StructureGenerator.kt:169 */
 1111   1523   
        self.list_of_range_short.as_deref()
        1524  +
        /* StructureGenerator.kt:166 */
 1112   1525   
    }
        1526  +
    /* StructureGenerator.kt:231 */
 1113   1527   
    #[allow(missing_docs)] // documentation missing in model
        1528  +
                           /* StructureGenerator.kt:166 */
 1114   1529   
    pub fn set_of_range_short(&self) -> ::std::option::Option<&crate::model::SetOfRangeShort> {
        1530  +
        /* StructureGenerator.kt:170 */
 1115   1531   
        self.set_of_range_short.as_ref()
        1532  +
        /* StructureGenerator.kt:166 */
 1116   1533   
    }
        1534  +
    /* StructureGenerator.kt:231 */
 1117   1535   
    #[allow(missing_docs)] // documentation missing in model
        1536  +
                           /* StructureGenerator.kt:166 */
 1118   1537   
    pub fn map_of_range_short(
 1119   1538   
        &self,
 1120   1539   
    ) -> ::std::option::Option<
 1121   1540   
        &::std::collections::HashMap<::std::string::String, crate::model::RangeShort>,
 1122   1541   
    > {
        1542  +
        /* StructureGenerator.kt:170 */
 1123   1543   
        self.map_of_range_short.as_ref()
        1544  +
        /* StructureGenerator.kt:166 */
 1124   1545   
    }
        1546  +
    /* StructureGenerator.kt:231 */
 1125   1547   
    #[allow(missing_docs)] // documentation missing in model
        1548  +
                           /* StructureGenerator.kt:166 */
 1126   1549   
    pub fn list_of_range_long(&self) -> ::std::option::Option<&[crate::model::RangeLong]> {
        1550  +
        /* StructureGenerator.kt:169 */
 1127   1551   
        self.list_of_range_long.as_deref()
        1552  +
        /* StructureGenerator.kt:166 */
 1128   1553   
    }
        1554  +
    /* StructureGenerator.kt:231 */
 1129   1555   
    #[allow(missing_docs)] // documentation missing in model
        1556  +
                           /* StructureGenerator.kt:166 */
 1130   1557   
    pub fn set_of_range_long(&self) -> ::std::option::Option<&crate::model::SetOfRangeLong> {
        1558  +
        /* StructureGenerator.kt:170 */
 1131   1559   
        self.set_of_range_long.as_ref()
        1560  +
        /* StructureGenerator.kt:166 */
 1132   1561   
    }
        1562  +
    /* StructureGenerator.kt:231 */
 1133   1563   
    #[allow(missing_docs)] // documentation missing in model
        1564  +
                           /* StructureGenerator.kt:166 */
 1134   1565   
    pub fn map_of_range_long(
 1135   1566   
        &self,
 1136   1567   
    ) -> ::std::option::Option<
 1137   1568   
        &::std::collections::HashMap<::std::string::String, crate::model::RangeLong>,
 1138   1569   
    > {
        1570  +
        /* StructureGenerator.kt:170 */
 1139   1571   
        self.map_of_range_long.as_ref()
        1572  +
        /* StructureGenerator.kt:166 */
 1140   1573   
    }
        1574  +
    /* StructureGenerator.kt:231 */
 1141   1575   
    #[allow(missing_docs)] // documentation missing in model
        1576  +
                           /* StructureGenerator.kt:166 */
 1142   1577   
    pub fn list_of_range_byte(&self) -> ::std::option::Option<&[crate::model::RangeByte]> {
        1578  +
        /* StructureGenerator.kt:169 */
 1143   1579   
        self.list_of_range_byte.as_deref()
        1580  +
        /* StructureGenerator.kt:166 */
 1144   1581   
    }
        1582  +
    /* StructureGenerator.kt:231 */
 1145   1583   
    #[allow(missing_docs)] // documentation missing in model
        1584  +
                           /* StructureGenerator.kt:166 */
 1146   1585   
    pub fn set_of_range_byte(&self) -> ::std::option::Option<&crate::model::SetOfRangeByte> {
        1586  +
        /* StructureGenerator.kt:170 */
 1147   1587   
        self.set_of_range_byte.as_ref()
        1588  +
        /* StructureGenerator.kt:166 */
 1148   1589   
    }
        1590  +
    /* StructureGenerator.kt:231 */
 1149   1591   
    #[allow(missing_docs)] // documentation missing in model
        1592  +
                           /* StructureGenerator.kt:166 */
 1150   1593   
    pub fn map_of_range_byte(
 1151   1594   
        &self,
 1152   1595   
    ) -> ::std::option::Option<
 1153   1596   
        &::std::collections::HashMap<::std::string::String, crate::model::RangeByte>,
 1154   1597   
    > {
        1598  +
        /* StructureGenerator.kt:170 */
 1155   1599   
        self.map_of_range_byte.as_ref()
        1600  +
        /* StructureGenerator.kt:166 */
 1156   1601   
    }
        1602  +
    /* StructureGenerator.kt:231 */
 1157   1603   
    #[allow(missing_docs)] // documentation missing in model
        1604  +
                           /* StructureGenerator.kt:166 */
 1158   1605   
    pub fn non_streaming_blob(&self) -> ::std::option::Option<&::aws_smithy_types::Blob> {
        1606  +
        /* StructureGenerator.kt:170 */
 1159   1607   
        self.non_streaming_blob.as_ref()
        1608  +
        /* StructureGenerator.kt:166 */
 1160   1609   
    }
        1610  +
    /* StructureGenerator.kt:231 */
 1161   1611   
    #[allow(missing_docs)] // documentation missing in model
        1612  +
                           /* StructureGenerator.kt:166 */
 1162   1613   
    pub fn pattern_string(&self) -> ::std::option::Option<&crate::model::PatternString> {
        1614  +
        /* StructureGenerator.kt:170 */
 1163   1615   
        self.pattern_string.as_ref()
        1616  +
        /* StructureGenerator.kt:166 */
 1164   1617   
    }
        1618  +
    /* StructureGenerator.kt:231 */
 1165   1619   
    #[allow(missing_docs)] // documentation missing in model
        1620  +
                           /* StructureGenerator.kt:166 */
 1166   1621   
    pub fn map_of_pattern_string(
 1167   1622   
        &self,
 1168   1623   
    ) -> ::std::option::Option<
 1169   1624   
        &::std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
 1170   1625   
    > {
        1626  +
        /* StructureGenerator.kt:170 */
 1171   1627   
        self.map_of_pattern_string.as_ref()
        1628  +
        /* StructureGenerator.kt:166 */
 1172   1629   
    }
        1630  +
    /* StructureGenerator.kt:231 */
 1173   1631   
    #[allow(missing_docs)] // documentation missing in model
        1632  +
                           /* StructureGenerator.kt:166 */
 1174   1633   
    pub fn list_of_pattern_string(&self) -> ::std::option::Option<&[crate::model::PatternString]> {
        1634  +
        /* StructureGenerator.kt:169 */
 1175   1635   
        self.list_of_pattern_string.as_deref()
        1636  +
        /* StructureGenerator.kt:166 */
 1176   1637   
    }
        1638  +
    /* StructureGenerator.kt:231 */
 1177   1639   
    #[allow(missing_docs)] // documentation missing in model
        1640  +
                           /* StructureGenerator.kt:166 */
 1178   1641   
    pub fn set_of_pattern_string(
 1179   1642   
        &self,
 1180   1643   
    ) -> ::std::option::Option<&crate::model::SetOfPatternString> {
        1644  +
        /* StructureGenerator.kt:170 */
 1181   1645   
        self.set_of_pattern_string.as_ref()
        1646  +
        /* StructureGenerator.kt:166 */
 1182   1647   
    }
        1648  +
    /* StructureGenerator.kt:231 */
 1183   1649   
    #[allow(missing_docs)] // documentation missing in model
        1650  +
                           /* StructureGenerator.kt:166 */
 1184   1651   
    pub fn length_length_pattern_string(
 1185   1652   
        &self,
 1186   1653   
    ) -> ::std::option::Option<&crate::model::LengthPatternString> {
        1654  +
        /* StructureGenerator.kt:170 */
 1187   1655   
        self.length_length_pattern_string.as_ref()
        1656  +
        /* StructureGenerator.kt:166 */
 1188   1657   
    }
        1658  +
    /* StructureGenerator.kt:231 */
 1189   1659   
    #[allow(missing_docs)] // documentation missing in model
        1660  +
                           /* StructureGenerator.kt:166 */
 1190   1661   
    pub fn map_of_length_pattern_string(
 1191   1662   
        &self,
 1192   1663   
    ) -> ::std::option::Option<
 1193   1664   
        &::std::collections::HashMap<
 1194   1665   
            crate::model::LengthPatternString,
 1195   1666   
            crate::model::LengthPatternString,
 1196   1667   
        >,
 1197   1668   
    > {
        1669  +
        /* StructureGenerator.kt:170 */
 1198   1670   
        self.map_of_length_pattern_string.as_ref()
        1671  +
        /* StructureGenerator.kt:166 */
 1199   1672   
    }
        1673  +
    /* StructureGenerator.kt:231 */
 1200   1674   
    #[allow(missing_docs)] // documentation missing in model
        1675  +
                           /* StructureGenerator.kt:166 */
 1201   1676   
    pub fn list_of_length_pattern_string(
 1202   1677   
        &self,
 1203   1678   
    ) -> ::std::option::Option<&[crate::model::LengthPatternString]> {
        1679  +
        /* StructureGenerator.kt:169 */
 1204   1680   
        self.list_of_length_pattern_string.as_deref()
        1681  +
        /* StructureGenerator.kt:166 */
 1205   1682   
    }
        1683  +
    /* StructureGenerator.kt:231 */
 1206   1684   
    #[allow(missing_docs)] // documentation missing in model
        1685  +
                           /* StructureGenerator.kt:166 */
 1207   1686   
    pub fn set_of_length_pattern_string(
 1208   1687   
        &self,
 1209   1688   
    ) -> ::std::option::Option<&crate::model::SetOfLengthPatternString> {
        1689  +
        /* StructureGenerator.kt:170 */
 1210   1690   
        self.set_of_length_pattern_string.as_ref()
        1691  +
        /* StructureGenerator.kt:166 */
 1211   1692   
    }
        1693  +
    /* StructureGenerator.kt:231 */
 1212   1694   
    #[allow(missing_docs)] // documentation missing in model
        1695  +
                           /* StructureGenerator.kt:166 */
 1213   1696   
    pub fn length_list_of_pattern_string(
 1214   1697   
        &self,
 1215   1698   
    ) -> ::std::option::Option<&crate::model::LengthListOfPatternString> {
        1699  +
        /* StructureGenerator.kt:170 */
 1216   1700   
        self.length_list_of_pattern_string.as_ref()
        1701  +
        /* StructureGenerator.kt:166 */
 1217   1702   
    }
        1703  +
    /* StructureGenerator.kt:231 */
 1218   1704   
    #[allow(missing_docs)] // documentation missing in model
        1705  +
                           /* StructureGenerator.kt:166 */
 1219   1706   
    pub fn length_set_of_pattern_string(
 1220   1707   
        &self,
 1221   1708   
    ) -> ::std::option::Option<&crate::model::LengthSetOfPatternString> {
        1709  +
        /* StructureGenerator.kt:170 */
 1222   1710   
        self.length_set_of_pattern_string.as_ref()
        1711  +
        /* StructureGenerator.kt:166 */
 1223   1712   
    }
        1713  +
    /* StructureGenerator.kt:135 */
 1224   1714   
}
        1715  +
/* ServerCodegenVisitor.kt:345 */
 1225   1716   
impl ConA {
 1226         -
    /// Creates a new builder-style object to manufacture [`ConA`](crate::model::ConA).
        1717  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`ConA`](crate::model::ConA).
        1718  +
    /* ServerBuilderGenerator.kt:295 */
 1227   1719   
    pub fn builder() -> crate::model::con_a::Builder {
        1720  +
        /* ServerBuilderGenerator.kt:296 */
 1228   1721   
        crate::model::con_a::Builder::default()
        1722  +
        /* ServerBuilderGenerator.kt:295 */
 1229   1723   
    }
        1724  +
    /* ServerCodegenVisitor.kt:345 */
 1230   1725   
}
        1726  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
 1231   1727   
impl crate::constrained::Constrained for crate::model::ConA {
 1232   1728   
    type Unconstrained = crate::model::con_a::Builder;
 1233   1729   
}
 1234   1730   
        1731  +
/* ConstrainedCollectionGenerator.kt:93 */
 1235   1732   
#[allow(missing_docs)] // documentation missing in model
 1236         -
///
        1733  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 1237   1734   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 1238   1735   
/// [constraint traits]. Use [`LengthSetOfPatternString::try_from`] to construct values of this type.
 1239   1736   
///
 1240   1737   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 1241   1738   
///
        1739  +
/* RustType.kt:516 */
 1242   1740   
#[derive(
 1243   1741   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1244   1742   
)]
 1245         -
pub struct LengthSetOfPatternString(pub(crate) ::std::vec::Vec<crate::model::PatternString>);
        1743  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct LengthSetOfPatternString(
        1744  +
    pub(crate) ::std::vec::Vec<crate::model::PatternString>,
        1745  +
);
        1746  +
/* ConstrainedCollectionGenerator.kt:104 */
 1246   1747   
impl LengthSetOfPatternString {
        1748  +
    /* ConstrainedCollectionGenerator.kt:106 */
 1247   1749   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<crate::model::PatternString>`].
 1248   1750   
    pub fn inner(&self) -> &::std::vec::Vec<crate::model::PatternString> {
 1249   1751   
        &self.0
 1250   1752   
    }
        1753  +
    /* ConstrainedCollectionGenerator.kt:116 */
 1251   1754   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::PatternString>`].
 1252   1755   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::PatternString> {
 1253   1756   
        self.0
 1254   1757   
    }
 1255   1758   
 1256   1759   
    fn check_length(
 1257   1760   
        length: usize,
 1258   1761   
    ) -> ::std::result::Result<(), crate::model::length_set_of_pattern_string::ConstraintViolation>
 1259   1762   
    {
 1260   1763   
        if (5..=9).contains(&length) {
 1261   1764   
            Ok(())
 1262   1765   
        } else {
 1263   1766   
            Err(crate::model::length_set_of_pattern_string::ConstraintViolation::Length(length))
 1264   1767   
        }
 1265   1768   
    }
 1266   1769   
 1267   1770   
    fn check_unique_items(
 1268   1771   
        items: ::std::vec::Vec<crate::model::PatternString>,
 1269   1772   
    ) -> ::std::result::Result<
 1270   1773   
        ::std::vec::Vec<crate::model::PatternString>,
 1271   1774   
        crate::model::length_set_of_pattern_string::ConstraintViolation,
 1272   1775   
    > {
 1273   1776   
        let mut seen = ::std::collections::HashMap::new();
 1274   1777   
        let mut duplicate_indices = ::std::vec::Vec::new();
 1275   1778   
        for (idx, item) in items.iter().enumerate() {
 1276   1779   
            if let Some(prev_idx) = seen.insert(item, idx) {
 1277   1780   
                duplicate_indices.push(prev_idx);
 1278   1781   
            }
 1279   1782   
        }
 1280   1783   
 1281   1784   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 1282   1785   
        for idx in &duplicate_indices {
 1283   1786   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 1284   1787   
                last_duplicate_indices.push(prev_idx);
 1285   1788   
            }
 1286   1789   
        }
 1287   1790   
        duplicate_indices.extend(last_duplicate_indices);
 1288   1791   
 1289   1792   
        if !duplicate_indices.is_empty() {
 1290   1793   
            debug_assert!(duplicate_indices.len() >= 2);
 1291   1794   
            Err(
 1292   1795   
                crate::model::length_set_of_pattern_string::ConstraintViolation::UniqueItems {
 1293   1796   
                    duplicate_indices,
 1294   1797   
                    original: items,
 1295   1798   
                },
 1296   1799   
            )
 1297   1800   
        } else {
 1298   1801   
            Ok(items)
 1299   1802   
        }
 1300   1803   
    }
        1804  +
    /* ConstrainedCollectionGenerator.kt:104 */
 1301   1805   
}
        1806  +
/* ConstrainedCollectionGenerator.kt:133 */
 1302   1807   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::PatternString>>
 1303   1808   
    for LengthSetOfPatternString
 1304   1809   
{
 1305   1810   
    type Error = crate::model::length_set_of_pattern_string::ConstraintViolation;
 1306   1811   
 1307   1812   
    /// Constructs a `LengthSetOfPatternString` from an [`::std::vec::Vec<crate::model::PatternString>`], failing when the provided value does not satisfy the modeled constraints.
 1308   1813   
    fn try_from(
 1309   1814   
        value: ::std::vec::Vec<crate::model::PatternString>,
 1310   1815   
    ) -> ::std::result::Result<Self, Self::Error> {
 1311   1816   
        Self::check_length(value.len())?;
 1312   1817   
 1313   1818   
        let value = Self::check_unique_items(value)?;
 1314   1819   
 1315   1820   
        Ok(Self(value))
 1316   1821   
    }
 1317   1822   
}
 1318   1823   
 1319   1824   
impl ::std::convert::From<LengthSetOfPatternString>
 1320   1825   
    for ::std::vec::Vec<crate::model::PatternString>
 1321   1826   
{
 1322   1827   
    fn from(value: LengthSetOfPatternString) -> Self {
 1323   1828   
        value.into_inner()
 1324   1829   
    }
 1325   1830   
}
        1831  +
/* ConstrainedCollectionGenerator.kt:181 */
 1326   1832   
impl crate::constrained::Constrained for LengthSetOfPatternString {
 1327   1833   
    type Unconstrained = crate::unconstrained::length_set_of_pattern_string_unconstrained::LengthSetOfPatternStringUnconstrained;
 1328   1834   
}
 1329   1835   
        1836  +
/* ConstrainedCollectionGenerator.kt:93 */
 1330   1837   
#[allow(missing_docs)] // documentation missing in model
 1331         -
///
        1838  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 1332   1839   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 1333   1840   
/// [constraint traits]. Use [`SetOfLengthPatternString::try_from`] to construct values of this type.
 1334   1841   
///
 1335   1842   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 1336   1843   
///
        1844  +
/* RustType.kt:516 */
 1337   1845   
#[derive(
 1338   1846   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1339   1847   
)]
 1340         -
pub struct SetOfLengthPatternString(pub(crate) ::std::vec::Vec<crate::model::LengthPatternString>);
        1848  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct SetOfLengthPatternString(
        1849  +
    pub(crate) ::std::vec::Vec<crate::model::LengthPatternString>,
        1850  +
);
        1851  +
/* ConstrainedCollectionGenerator.kt:104 */
 1341   1852   
impl SetOfLengthPatternString {
        1853  +
    /* ConstrainedCollectionGenerator.kt:106 */
 1342   1854   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<crate::model::LengthPatternString>`].
 1343   1855   
    pub fn inner(&self) -> &::std::vec::Vec<crate::model::LengthPatternString> {
 1344   1856   
        &self.0
 1345   1857   
    }
        1858  +
    /* ConstrainedCollectionGenerator.kt:116 */
 1346   1859   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::LengthPatternString>`].
 1347   1860   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::LengthPatternString> {
 1348   1861   
        self.0
 1349   1862   
    }
 1350   1863   
 1351   1864   
    fn check_unique_items(
 1352   1865   
        items: ::std::vec::Vec<crate::model::LengthPatternString>,
 1353   1866   
    ) -> ::std::result::Result<
 1354   1867   
        ::std::vec::Vec<crate::model::LengthPatternString>,
 1355   1868   
        crate::model::set_of_length_pattern_string::ConstraintViolation,
 1356   1869   
    > {
 1357   1870   
        let mut seen = ::std::collections::HashMap::new();
 1358   1871   
        let mut duplicate_indices = ::std::vec::Vec::new();
 1359   1872   
        for (idx, item) in items.iter().enumerate() {
 1360   1873   
            if let Some(prev_idx) = seen.insert(item, idx) {
 1361   1874   
                duplicate_indices.push(prev_idx);
 1362   1875   
            }
 1363   1876   
        }
 1364   1877   
 1365   1878   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 1366   1879   
        for idx in &duplicate_indices {
 1367   1880   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 1368   1881   
                last_duplicate_indices.push(prev_idx);
 1369   1882   
            }
 1370   1883   
        }
 1371   1884   
        duplicate_indices.extend(last_duplicate_indices);
 1372   1885   
 1373   1886   
        if !duplicate_indices.is_empty() {
 1374   1887   
            debug_assert!(duplicate_indices.len() >= 2);
 1375   1888   
            Err(
 1376   1889   
                crate::model::set_of_length_pattern_string::ConstraintViolation::UniqueItems {
 1377   1890   
                    duplicate_indices,
 1378   1891   
                    original: items,
 1379   1892   
                },
 1380   1893   
            )
 1381   1894   
        } else {
 1382   1895   
            Ok(items)
 1383   1896   
        }
 1384   1897   
    }
        1898  +
    /* ConstrainedCollectionGenerator.kt:104 */
 1385   1899   
}
        1900  +
/* ConstrainedCollectionGenerator.kt:133 */
 1386   1901   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::LengthPatternString>>
 1387   1902   
    for SetOfLengthPatternString
 1388   1903   
{
 1389   1904   
    type Error = crate::model::set_of_length_pattern_string::ConstraintViolation;
 1390   1905   
 1391   1906   
    /// Constructs a `SetOfLengthPatternString` from an [`::std::vec::Vec<crate::model::LengthPatternString>`], failing when the provided value does not satisfy the modeled constraints.
 1392   1907   
    fn try_from(
 1393   1908   
        value: ::std::vec::Vec<crate::model::LengthPatternString>,
 1394   1909   
    ) -> ::std::result::Result<Self, Self::Error> {
 1395   1910   
        let value = Self::check_unique_items(value)?;
 1396   1911   
 1397   1912   
        Ok(Self(value))
 1398   1913   
    }
 1399   1914   
}
 1400   1915   
 1401   1916   
impl ::std::convert::From<SetOfLengthPatternString>
 1402   1917   
    for ::std::vec::Vec<crate::model::LengthPatternString>
 1403   1918   
{
 1404   1919   
    fn from(value: SetOfLengthPatternString) -> Self {
 1405   1920   
        value.into_inner()
 1406   1921   
    }
 1407   1922   
}
        1923  +
/* ConstrainedCollectionGenerator.kt:181 */
 1408   1924   
impl crate::constrained::Constrained for SetOfLengthPatternString {
 1409   1925   
    type Unconstrained = crate::unconstrained::set_of_length_pattern_string_unconstrained::SetOfLengthPatternStringUnconstrained;
 1410   1926   
}
 1411   1927   
        1928  +
/* ConstrainedCollectionGenerator.kt:93 */
 1412   1929   
#[allow(missing_docs)] // documentation missing in model
 1413         -
///
        1930  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 1414   1931   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 1415   1932   
/// [constraint traits]. Use [`SetOfPatternString::try_from`] to construct values of this type.
 1416   1933   
///
 1417   1934   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 1418   1935   
///
        1936  +
/* RustType.kt:516 */
 1419   1937   
#[derive(
 1420   1938   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1421   1939   
)]
 1422         -
pub struct SetOfPatternString(pub(crate) ::std::vec::Vec<crate::model::PatternString>);
        1940  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct SetOfPatternString(
        1941  +
    pub(crate) ::std::vec::Vec<crate::model::PatternString>,
        1942  +
);
        1943  +
/* ConstrainedCollectionGenerator.kt:104 */
 1423   1944   
impl SetOfPatternString {
        1945  +
    /* ConstrainedCollectionGenerator.kt:106 */
 1424   1946   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<crate::model::PatternString>`].
 1425   1947   
    pub fn inner(&self) -> &::std::vec::Vec<crate::model::PatternString> {
 1426   1948   
        &self.0
 1427   1949   
    }
        1950  +
    /* ConstrainedCollectionGenerator.kt:116 */
 1428   1951   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::PatternString>`].
 1429   1952   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::PatternString> {
 1430   1953   
        self.0
 1431   1954   
    }
 1432   1955   
 1433   1956   
    fn check_unique_items(
 1434   1957   
        items: ::std::vec::Vec<crate::model::PatternString>,
 1435   1958   
    ) -> ::std::result::Result<
 1436   1959   
        ::std::vec::Vec<crate::model::PatternString>,
 1437   1960   
        crate::model::set_of_pattern_string::ConstraintViolation,
 1438   1961   
    > {
 1439   1962   
        let mut seen = ::std::collections::HashMap::new();
 1440   1963   
        let mut duplicate_indices = ::std::vec::Vec::new();
 1441   1964   
        for (idx, item) in items.iter().enumerate() {
 1442   1965   
            if let Some(prev_idx) = seen.insert(item, idx) {
 1443   1966   
                duplicate_indices.push(prev_idx);
 1444   1967   
            }
 1445   1968   
        }
 1446   1969   
 1447   1970   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 1448   1971   
        for idx in &duplicate_indices {
 1449   1972   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 1450   1973   
                last_duplicate_indices.push(prev_idx);
 1451   1974   
            }
 1452   1975   
        }
 1453   1976   
        duplicate_indices.extend(last_duplicate_indices);
 1454   1977   
 1455   1978   
        if !duplicate_indices.is_empty() {
 1456   1979   
            debug_assert!(duplicate_indices.len() >= 2);
 1457   1980   
            Err(
 1458   1981   
                crate::model::set_of_pattern_string::ConstraintViolation::UniqueItems {
 1459   1982   
                    duplicate_indices,
 1460   1983   
                    original: items,
 1461   1984   
                },
 1462   1985   
            )
 1463   1986   
        } else {
 1464   1987   
            Ok(items)
 1465   1988   
        }
 1466   1989   
    }
        1990  +
    /* ConstrainedCollectionGenerator.kt:104 */
 1467   1991   
}
        1992  +
/* ConstrainedCollectionGenerator.kt:133 */
 1468   1993   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::PatternString>> for SetOfPatternString {
 1469   1994   
    type Error = crate::model::set_of_pattern_string::ConstraintViolation;
 1470   1995   
 1471   1996   
    /// Constructs a `SetOfPatternString` from an [`::std::vec::Vec<crate::model::PatternString>`], failing when the provided value does not satisfy the modeled constraints.
 1472   1997   
    fn try_from(
 1473   1998   
        value: ::std::vec::Vec<crate::model::PatternString>,
 1474   1999   
    ) -> ::std::result::Result<Self, Self::Error> {
 1475   2000   
        let value = Self::check_unique_items(value)?;
 1476   2001   
 1477   2002   
        Ok(Self(value))
 1478   2003   
    }
 1479   2004   
}
 1480   2005   
 1481   2006   
impl ::std::convert::From<SetOfPatternString> for ::std::vec::Vec<crate::model::PatternString> {
 1482   2007   
    fn from(value: SetOfPatternString) -> Self {
 1483   2008   
        value.into_inner()
 1484   2009   
    }
 1485   2010   
}
        2011  +
/* ConstrainedCollectionGenerator.kt:181 */
 1486   2012   
impl crate::constrained::Constrained for SetOfPatternString {
 1487   2013   
    type Unconstrained =
 1488   2014   
        crate::unconstrained::set_of_pattern_string_unconstrained::SetOfPatternStringUnconstrained;
 1489   2015   
}
 1490   2016   
        2017  +
/* ConstrainedNumberGenerator.kt:82 */
 1491   2018   
#[allow(missing_docs)] // documentation missing in model
 1492         -
///
        2019  +
/// /* ConstrainedNumberGenerator.kt:83 */
 1493   2020   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 1494   2021   
/// [constraint traits]. Use [`RangeByte::try_from`] to construct values of this type.
 1495   2022   
///
 1496   2023   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 1497   2024   
///
        2025  +
/* RustType.kt:516 */
 1498   2026   
#[derive(
 1499   2027   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1500   2028   
)]
 1501         -
pub struct RangeByte(pub(crate) i8);
        2029  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct RangeByte(pub(crate) i8);
        2030  +
/* ConstrainedNumberGenerator.kt:91 */
 1502   2031   
impl RangeByte {
 1503   2032   
    /// Returns an immutable reference to the underlying [`i8`].
 1504   2033   
    pub fn inner(&self) -> &i8 {
 1505   2034   
        &self.0
 1506   2035   
    }
 1507   2036   
 1508   2037   
    /// Consumes the value, returning the underlying [`i8`].
 1509   2038   
    pub fn into_inner(self) -> i8 {
 1510   2039   
        self.0
 1511   2040   
    }
 1512   2041   
}
 1513   2042   
 1514   2043   
impl crate::constrained::Constrained for RangeByte {
 1515   2044   
    type Unconstrained = i8;
 1516   2045   
}
 1517   2046   
 1518   2047   
impl ::std::convert::From<i8> for crate::constrained::MaybeConstrained<crate::model::RangeByte> {
 1519   2048   
    fn from(value: i8) -> Self {
 1520   2049   
        Self::Unconstrained(value)
 1521   2050   
    }
 1522   2051   
}
 1523   2052   
 1524   2053   
impl ::std::fmt::Display for RangeByte {
 1525   2054   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1526   2055   
        self.0.fmt(f)
 1527   2056   
    }
 1528   2057   
}
 1529   2058   
 1530   2059   
impl ::std::convert::From<RangeByte> for i8 {
 1531   2060   
    fn from(value: RangeByte) -> Self {
 1532   2061   
        value.into_inner()
 1533   2062   
    }
 1534   2063   
}
        2064  +
/* TraitInfo.kt:41 */
 1535   2065   
impl RangeByte {
 1536   2066   
    fn check_range(
 1537   2067   
        value: i8,
 1538   2068   
    ) -> ::std::result::Result<(), crate::model::range_byte::ConstraintViolation> {
 1539   2069   
        if (0..=10).contains(&value) {
 1540   2070   
            Ok(())
 1541   2071   
        } else {
 1542   2072   
            Err(crate::model::range_byte::ConstraintViolation::Range(value))
 1543   2073   
        }
 1544   2074   
    }
 1545   2075   
}
        2076  +
/* TraitInfo.kt:57 */
 1546   2077   
impl ::std::convert::TryFrom<i8> for RangeByte {
 1547   2078   
    type Error = crate::model::range_byte::ConstraintViolation;
 1548   2079   
 1549   2080   
    /// Constructs a `RangeByte` from an [`i8`], failing when the provided value does not satisfy the modeled constraints.
 1550   2081   
    fn try_from(value: i8) -> ::std::result::Result<Self, Self::Error> {
 1551   2082   
        Self::check_range(value)?;
 1552   2083   
 1553   2084   
        Ok(Self(value))
 1554   2085   
    }
 1555   2086   
}
 1556   2087   
        2088  +
/* ConstrainedCollectionGenerator.kt:93 */
 1557   2089   
#[allow(missing_docs)] // documentation missing in model
 1558         -
///
        2090  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 1559   2091   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 1560   2092   
/// [constraint traits]. Use [`SetOfRangeByte::try_from`] to construct values of this type.
 1561   2093   
///
 1562   2094   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 1563   2095   
///
        2096  +
/* RustType.kt:516 */
 1564   2097   
#[derive(
 1565   2098   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1566   2099   
)]
 1567         -
pub struct SetOfRangeByte(pub(crate) ::std::vec::Vec<crate::model::RangeByte>);
        2100  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct SetOfRangeByte(
        2101  +
    pub(crate) ::std::vec::Vec<crate::model::RangeByte>,
        2102  +
);
        2103  +
/* ConstrainedCollectionGenerator.kt:104 */
 1568   2104   
impl SetOfRangeByte {
        2105  +
    /* ConstrainedCollectionGenerator.kt:106 */
 1569   2106   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<crate::model::RangeByte>`].
 1570   2107   
    pub fn inner(&self) -> &::std::vec::Vec<crate::model::RangeByte> {
 1571   2108   
        &self.0
 1572   2109   
    }
        2110  +
    /* ConstrainedCollectionGenerator.kt:116 */
 1573   2111   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::RangeByte>`].
 1574   2112   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::RangeByte> {
 1575   2113   
        self.0
 1576   2114   
    }
 1577   2115   
 1578   2116   
    fn check_unique_items(
 1579   2117   
        items: ::std::vec::Vec<crate::model::RangeByte>,
 1580   2118   
    ) -> ::std::result::Result<
 1581   2119   
        ::std::vec::Vec<crate::model::RangeByte>,
 1582   2120   
        crate::model::set_of_range_byte::ConstraintViolation,
 1583   2121   
    > {
 1584   2122   
        let mut seen = ::std::collections::HashMap::new();
 1585   2123   
        let mut duplicate_indices = ::std::vec::Vec::new();
 1586   2124   
        for (idx, item) in items.iter().enumerate() {
 1587   2125   
            if let Some(prev_idx) = seen.insert(item, idx) {
 1588   2126   
                duplicate_indices.push(prev_idx);
 1589   2127   
            }
 1590   2128   
        }
 1591   2129   
 1592   2130   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 1593   2131   
        for idx in &duplicate_indices {
 1594   2132   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 1595   2133   
                last_duplicate_indices.push(prev_idx);
 1596   2134   
            }
 1597   2135   
        }
 1598   2136   
        duplicate_indices.extend(last_duplicate_indices);
 1599   2137   
 1600   2138   
        if !duplicate_indices.is_empty() {
 1601   2139   
            debug_assert!(duplicate_indices.len() >= 2);
 1602   2140   
            Err(
 1603   2141   
                crate::model::set_of_range_byte::ConstraintViolation::UniqueItems {
 1604   2142   
                    duplicate_indices,
 1605   2143   
                    original: items,
 1606   2144   
                },
 1607   2145   
            )
 1608   2146   
        } else {
 1609   2147   
            Ok(items)
 1610   2148   
        }
 1611   2149   
    }
        2150  +
    /* ConstrainedCollectionGenerator.kt:104 */
 1612   2151   
}
        2152  +
/* ConstrainedCollectionGenerator.kt:133 */
 1613   2153   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::RangeByte>> for SetOfRangeByte {
 1614   2154   
    type Error = crate::model::set_of_range_byte::ConstraintViolation;
 1615   2155   
 1616   2156   
    /// Constructs a `SetOfRangeByte` from an [`::std::vec::Vec<crate::model::RangeByte>`], failing when the provided value does not satisfy the modeled constraints.
 1617   2157   
    fn try_from(
 1618   2158   
        value: ::std::vec::Vec<crate::model::RangeByte>,
 1619   2159   
    ) -> ::std::result::Result<Self, Self::Error> {
 1620   2160   
        let value = Self::check_unique_items(value)?;
 1621   2161   
 1622   2162   
        Ok(Self(value))
 1623   2163   
    }
 1624   2164   
}
 1625   2165   
 1626   2166   
impl ::std::convert::From<SetOfRangeByte> for ::std::vec::Vec<crate::model::RangeByte> {
 1627   2167   
    fn from(value: SetOfRangeByte) -> Self {
 1628   2168   
        value.into_inner()
 1629   2169   
    }
 1630   2170   
}
        2171  +
/* ConstrainedCollectionGenerator.kt:181 */
 1631   2172   
impl crate::constrained::Constrained for SetOfRangeByte {
 1632   2173   
    type Unconstrained =
 1633   2174   
        crate::unconstrained::set_of_range_byte_unconstrained::SetOfRangeByteUnconstrained;
 1634   2175   
}
 1635   2176   
        2177  +
/* ConstrainedNumberGenerator.kt:82 */
 1636   2178   
#[allow(missing_docs)] // documentation missing in model
 1637         -
///
        2179  +
/// /* ConstrainedNumberGenerator.kt:83 */
 1638   2180   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 1639   2181   
/// [constraint traits]. Use [`RangeLong::try_from`] to construct values of this type.
 1640   2182   
///
 1641   2183   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 1642   2184   
///
        2185  +
/* RustType.kt:516 */
 1643   2186   
#[derive(
 1644   2187   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1645   2188   
)]
 1646         -
pub struct RangeLong(pub(crate) i64);
        2189  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct RangeLong(pub(crate) i64);
        2190  +
/* ConstrainedNumberGenerator.kt:91 */
 1647   2191   
impl RangeLong {
 1648   2192   
    /// Returns an immutable reference to the underlying [`i64`].
 1649   2193   
    pub fn inner(&self) -> &i64 {
 1650   2194   
        &self.0
 1651   2195   
    }
 1652   2196   
 1653   2197   
    /// Consumes the value, returning the underlying [`i64`].
 1654   2198   
    pub fn into_inner(self) -> i64 {
 1655   2199   
        self.0
 1656   2200   
    }
 1657   2201   
}
 1658   2202   
 1659   2203   
impl crate::constrained::Constrained for RangeLong {
 1660   2204   
    type Unconstrained = i64;
 1661   2205   
}
 1662   2206   
 1663   2207   
impl ::std::convert::From<i64> for crate::constrained::MaybeConstrained<crate::model::RangeLong> {
 1664   2208   
    fn from(value: i64) -> Self {
 1665   2209   
        Self::Unconstrained(value)
 1666   2210   
    }
 1667   2211   
}
 1668   2212   
 1669   2213   
impl ::std::fmt::Display for RangeLong {
 1670   2214   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1671   2215   
        self.0.fmt(f)
 1672   2216   
    }
 1673   2217   
}
 1674   2218   
 1675   2219   
impl ::std::convert::From<RangeLong> for i64 {
 1676   2220   
    fn from(value: RangeLong) -> Self {
 1677   2221   
        value.into_inner()
 1678   2222   
    }
 1679   2223   
}
        2224  +
/* TraitInfo.kt:41 */
 1680   2225   
impl RangeLong {
 1681   2226   
    fn check_range(
 1682   2227   
        value: i64,
 1683   2228   
    ) -> ::std::result::Result<(), crate::model::range_long::ConstraintViolation> {
 1684   2229   
        if (0..=10).contains(&value) {
 1685   2230   
            Ok(())
 1686   2231   
        } else {
 1687   2232   
            Err(crate::model::range_long::ConstraintViolation::Range(value))
 1688   2233   
        }
 1689   2234   
    }
 1690   2235   
}
        2236  +
/* TraitInfo.kt:57 */
 1691   2237   
impl ::std::convert::TryFrom<i64> for RangeLong {
 1692   2238   
    type Error = crate::model::range_long::ConstraintViolation;
 1693   2239   
 1694   2240   
    /// Constructs a `RangeLong` from an [`i64`], failing when the provided value does not satisfy the modeled constraints.
 1695   2241   
    fn try_from(value: i64) -> ::std::result::Result<Self, Self::Error> {
 1696   2242   
        Self::check_range(value)?;
 1697   2243   
 1698   2244   
        Ok(Self(value))
 1699   2245   
    }
 1700   2246   
}
 1701   2247   
        2248  +
/* ConstrainedCollectionGenerator.kt:93 */
 1702   2249   
#[allow(missing_docs)] // documentation missing in model
 1703         -
///
        2250  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 1704   2251   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 1705   2252   
/// [constraint traits]. Use [`SetOfRangeLong::try_from`] to construct values of this type.
 1706   2253   
///
 1707   2254   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 1708   2255   
///
        2256  +
/* RustType.kt:516 */
 1709   2257   
#[derive(
 1710   2258   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1711   2259   
)]
 1712         -
pub struct SetOfRangeLong(pub(crate) ::std::vec::Vec<crate::model::RangeLong>);
        2260  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct SetOfRangeLong(
        2261  +
    pub(crate) ::std::vec::Vec<crate::model::RangeLong>,
        2262  +
);
        2263  +
/* ConstrainedCollectionGenerator.kt:104 */
 1713   2264   
impl SetOfRangeLong {
        2265  +
    /* ConstrainedCollectionGenerator.kt:106 */
 1714   2266   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<crate::model::RangeLong>`].
 1715   2267   
    pub fn inner(&self) -> &::std::vec::Vec<crate::model::RangeLong> {
 1716   2268   
        &self.0
 1717   2269   
    }
        2270  +
    /* ConstrainedCollectionGenerator.kt:116 */
 1718   2271   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::RangeLong>`].
 1719   2272   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::RangeLong> {
 1720   2273   
        self.0
 1721   2274   
    }
 1722   2275   
 1723   2276   
    fn check_unique_items(
 1724   2277   
        items: ::std::vec::Vec<crate::model::RangeLong>,
 1725   2278   
    ) -> ::std::result::Result<
 1726   2279   
        ::std::vec::Vec<crate::model::RangeLong>,
 1727   2280   
        crate::model::set_of_range_long::ConstraintViolation,
 1728   2281   
    > {
 1729   2282   
        let mut seen = ::std::collections::HashMap::new();
 1730   2283   
        let mut duplicate_indices = ::std::vec::Vec::new();
 1731   2284   
        for (idx, item) in items.iter().enumerate() {
 1732   2285   
            if let Some(prev_idx) = seen.insert(item, idx) {
 1733   2286   
                duplicate_indices.push(prev_idx);
 1734   2287   
            }
 1735   2288   
        }
 1736   2289   
 1737   2290   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 1738   2291   
        for idx in &duplicate_indices {
 1739   2292   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 1740   2293   
                last_duplicate_indices.push(prev_idx);
 1741   2294   
            }
 1742   2295   
        }
 1743   2296   
        duplicate_indices.extend(last_duplicate_indices);
 1744   2297   
 1745   2298   
        if !duplicate_indices.is_empty() {
 1746   2299   
            debug_assert!(duplicate_indices.len() >= 2);
 1747   2300   
            Err(
 1748   2301   
                crate::model::set_of_range_long::ConstraintViolation::UniqueItems {
 1749   2302   
                    duplicate_indices,
 1750   2303   
                    original: items,
 1751   2304   
                },
 1752   2305   
            )
 1753   2306   
        } else {
 1754   2307   
            Ok(items)
 1755   2308   
        }
 1756   2309   
    }
        2310  +
    /* ConstrainedCollectionGenerator.kt:104 */
 1757   2311   
}
        2312  +
/* ConstrainedCollectionGenerator.kt:133 */
 1758   2313   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::RangeLong>> for SetOfRangeLong {
 1759   2314   
    type Error = crate::model::set_of_range_long::ConstraintViolation;
 1760   2315   
 1761   2316   
    /// Constructs a `SetOfRangeLong` from an [`::std::vec::Vec<crate::model::RangeLong>`], failing when the provided value does not satisfy the modeled constraints.
 1762   2317   
    fn try_from(
 1763   2318   
        value: ::std::vec::Vec<crate::model::RangeLong>,
 1764   2319   
    ) -> ::std::result::Result<Self, Self::Error> {
 1765   2320   
        let value = Self::check_unique_items(value)?;
 1766   2321   
 1767   2322   
        Ok(Self(value))
 1768   2323   
    }
 1769   2324   
}
 1770   2325   
 1771   2326   
impl ::std::convert::From<SetOfRangeLong> for ::std::vec::Vec<crate::model::RangeLong> {
 1772   2327   
    fn from(value: SetOfRangeLong) -> Self {
 1773   2328   
        value.into_inner()
 1774   2329   
    }
 1775   2330   
}
        2331  +
/* ConstrainedCollectionGenerator.kt:181 */
 1776   2332   
impl crate::constrained::Constrained for SetOfRangeLong {
 1777   2333   
    type Unconstrained =
 1778   2334   
        crate::unconstrained::set_of_range_long_unconstrained::SetOfRangeLongUnconstrained;
 1779   2335   
}
 1780   2336   
        2337  +
/* ConstrainedNumberGenerator.kt:82 */
 1781   2338   
#[allow(missing_docs)] // documentation missing in model
 1782         -
///
        2339  +
/// /* ConstrainedNumberGenerator.kt:83 */
 1783   2340   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 1784   2341   
/// [constraint traits]. Use [`RangeShort::try_from`] to construct values of this type.
 1785   2342   
///
 1786   2343   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 1787   2344   
///
        2345  +
/* RustType.kt:516 */
 1788   2346   
#[derive(
 1789   2347   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1790   2348   
)]
 1791         -
pub struct RangeShort(pub(crate) i16);
        2349  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct RangeShort(pub(crate) i16);
        2350  +
/* ConstrainedNumberGenerator.kt:91 */
 1792   2351   
impl RangeShort {
 1793   2352   
    /// Returns an immutable reference to the underlying [`i16`].
 1794   2353   
    pub fn inner(&self) -> &i16 {
 1795   2354   
        &self.0
 1796   2355   
    }
 1797   2356   
 1798   2357   
    /// Consumes the value, returning the underlying [`i16`].
 1799   2358   
    pub fn into_inner(self) -> i16 {
 1800   2359   
        self.0
 1801   2360   
    }
 1802   2361   
}
 1803   2362   
 1804   2363   
impl crate::constrained::Constrained for RangeShort {
 1805   2364   
    type Unconstrained = i16;
 1806   2365   
}
 1807   2366   
 1808   2367   
impl ::std::convert::From<i16> for crate::constrained::MaybeConstrained<crate::model::RangeShort> {
 1809   2368   
    fn from(value: i16) -> Self {
 1810   2369   
        Self::Unconstrained(value)
 1811   2370   
    }
 1812   2371   
}
 1813   2372   
 1814   2373   
impl ::std::fmt::Display for RangeShort {
 1815   2374   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1816   2375   
        self.0.fmt(f)
 1817   2376   
    }
 1818   2377   
}
 1819   2378   
 1820   2379   
impl ::std::convert::From<RangeShort> for i16 {
 1821   2380   
    fn from(value: RangeShort) -> Self {
 1822   2381   
        value.into_inner()
 1823   2382   
    }
 1824   2383   
}
        2384  +
/* TraitInfo.kt:41 */
 1825   2385   
impl RangeShort {
 1826   2386   
    fn check_range(
 1827   2387   
        value: i16,
 1828   2388   
    ) -> ::std::result::Result<(), crate::model::range_short::ConstraintViolation> {
 1829   2389   
        if (0..=10).contains(&value) {
 1830   2390   
            Ok(())
 1831   2391   
        } else {
 1832   2392   
            Err(crate::model::range_short::ConstraintViolation::Range(value))
 1833   2393   
        }
 1834   2394   
    }
 1835   2395   
}
        2396  +
/* TraitInfo.kt:57 */
 1836   2397   
impl ::std::convert::TryFrom<i16> for RangeShort {
 1837   2398   
    type Error = crate::model::range_short::ConstraintViolation;
 1838   2399   
 1839   2400   
    /// Constructs a `RangeShort` from an [`i16`], failing when the provided value does not satisfy the modeled constraints.
 1840   2401   
    fn try_from(value: i16) -> ::std::result::Result<Self, Self::Error> {
 1841   2402   
        Self::check_range(value)?;
 1842   2403   
 1843   2404   
        Ok(Self(value))
 1844   2405   
    }
 1845   2406   
}
 1846   2407   
        2408  +
/* ConstrainedCollectionGenerator.kt:93 */
 1847   2409   
#[allow(missing_docs)] // documentation missing in model
 1848         -
///
        2410  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 1849   2411   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 1850   2412   
/// [constraint traits]. Use [`SetOfRangeShort::try_from`] to construct values of this type.
 1851   2413   
///
 1852   2414   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 1853   2415   
///
        2416  +
/* RustType.kt:516 */
 1854   2417   
#[derive(
 1855   2418   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1856   2419   
)]
 1857         -
pub struct SetOfRangeShort(pub(crate) ::std::vec::Vec<crate::model::RangeShort>);
        2420  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct SetOfRangeShort(
        2421  +
    pub(crate) ::std::vec::Vec<crate::model::RangeShort>,
        2422  +
);
        2423  +
/* ConstrainedCollectionGenerator.kt:104 */
 1858   2424   
impl SetOfRangeShort {
        2425  +
    /* ConstrainedCollectionGenerator.kt:106 */
 1859   2426   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<crate::model::RangeShort>`].
 1860   2427   
    pub fn inner(&self) -> &::std::vec::Vec<crate::model::RangeShort> {
 1861   2428   
        &self.0
 1862   2429   
    }
        2430  +
    /* ConstrainedCollectionGenerator.kt:116 */
 1863   2431   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::RangeShort>`].
 1864   2432   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::RangeShort> {
 1865   2433   
        self.0
 1866   2434   
    }
 1867   2435   
 1868   2436   
    fn check_unique_items(
 1869   2437   
        items: ::std::vec::Vec<crate::model::RangeShort>,
 1870   2438   
    ) -> ::std::result::Result<
 1871   2439   
        ::std::vec::Vec<crate::model::RangeShort>,
 1872   2440   
        crate::model::set_of_range_short::ConstraintViolation,
 1873   2441   
    > {
 1874   2442   
        let mut seen = ::std::collections::HashMap::new();
 1875   2443   
        let mut duplicate_indices = ::std::vec::Vec::new();
 1876   2444   
        for (idx, item) in items.iter().enumerate() {
 1877   2445   
            if let Some(prev_idx) = seen.insert(item, idx) {
 1878   2446   
                duplicate_indices.push(prev_idx);
 1879   2447   
            }
 1880   2448   
        }
 1881   2449   
 1882   2450   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 1883   2451   
        for idx in &duplicate_indices {
 1884   2452   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 1885   2453   
                last_duplicate_indices.push(prev_idx);
 1886   2454   
            }
 1887   2455   
        }
 1888   2456   
        duplicate_indices.extend(last_duplicate_indices);
 1889   2457   
 1890   2458   
        if !duplicate_indices.is_empty() {
 1891   2459   
            debug_assert!(duplicate_indices.len() >= 2);
 1892   2460   
            Err(
 1893   2461   
                crate::model::set_of_range_short::ConstraintViolation::UniqueItems {
 1894   2462   
                    duplicate_indices,
 1895   2463   
                    original: items,
 1896   2464   
                },
 1897   2465   
            )
 1898   2466   
        } else {
 1899   2467   
            Ok(items)
 1900   2468   
        }
 1901   2469   
    }
        2470  +
    /* ConstrainedCollectionGenerator.kt:104 */
 1902   2471   
}
        2472  +
/* ConstrainedCollectionGenerator.kt:133 */
 1903   2473   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::RangeShort>> for SetOfRangeShort {
 1904   2474   
    type Error = crate::model::set_of_range_short::ConstraintViolation;
 1905   2475   
 1906   2476   
    /// Constructs a `SetOfRangeShort` from an [`::std::vec::Vec<crate::model::RangeShort>`], failing when the provided value does not satisfy the modeled constraints.
 1907   2477   
    fn try_from(
 1908   2478   
        value: ::std::vec::Vec<crate::model::RangeShort>,
 1909   2479   
    ) -> ::std::result::Result<Self, Self::Error> {
 1910   2480   
        let value = Self::check_unique_items(value)?;
 1911   2481   
 1912   2482   
        Ok(Self(value))
 1913   2483   
    }
 1914   2484   
}
 1915   2485   
 1916   2486   
impl ::std::convert::From<SetOfRangeShort> for ::std::vec::Vec<crate::model::RangeShort> {
 1917   2487   
    fn from(value: SetOfRangeShort) -> Self {
 1918   2488   
        value.into_inner()
 1919   2489   
    }
 1920   2490   
}
        2491  +
/* ConstrainedCollectionGenerator.kt:181 */
 1921   2492   
impl crate::constrained::Constrained for SetOfRangeShort {
 1922   2493   
    type Unconstrained =
 1923   2494   
        crate::unconstrained::set_of_range_short_unconstrained::SetOfRangeShortUnconstrained;
 1924   2495   
}
 1925   2496   
        2497  +
/* ConstrainedNumberGenerator.kt:82 */
 1926   2498   
#[allow(missing_docs)] // documentation missing in model
 1927         -
///
        2499  +
/// /* ConstrainedNumberGenerator.kt:83 */
 1928   2500   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 1929   2501   
/// [constraint traits]. Use [`RangeInteger::try_from`] to construct values of this type.
 1930   2502   
///
 1931   2503   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 1932   2504   
///
        2505  +
/* RustType.kt:516 */
 1933   2506   
#[derive(
 1934   2507   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1935   2508   
)]
 1936         -
pub struct RangeInteger(pub(crate) i32);
        2509  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct RangeInteger(pub(crate) i32);
        2510  +
/* ConstrainedNumberGenerator.kt:91 */
 1937   2511   
impl RangeInteger {
 1938   2512   
    /// Returns an immutable reference to the underlying [`i32`].
 1939   2513   
    pub fn inner(&self) -> &i32 {
 1940   2514   
        &self.0
 1941   2515   
    }
 1942   2516   
 1943   2517   
    /// Consumes the value, returning the underlying [`i32`].
 1944   2518   
    pub fn into_inner(self) -> i32 {
 1945   2519   
        self.0
 1946   2520   
    }
 1947   2521   
}
 1948   2522   
 1949   2523   
impl crate::constrained::Constrained for RangeInteger {
 1950   2524   
    type Unconstrained = i32;
 1951   2525   
}
 1952   2526   
 1953   2527   
impl ::std::convert::From<i32>
 1954   2528   
    for crate::constrained::MaybeConstrained<crate::model::RangeInteger>
 1955   2529   
{
 1956   2530   
    fn from(value: i32) -> Self {
 1957   2531   
        Self::Unconstrained(value)
 1958   2532   
    }
 1959   2533   
}
 1960   2534   
 1961   2535   
impl ::std::fmt::Display for RangeInteger {
 1962   2536   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1963   2537   
        self.0.fmt(f)
 1964   2538   
    }
 1965   2539   
}
 1966   2540   
 1967   2541   
impl ::std::convert::From<RangeInteger> for i32 {
 1968   2542   
    fn from(value: RangeInteger) -> Self {
 1969   2543   
        value.into_inner()
 1970   2544   
    }
 1971   2545   
}
        2546  +
/* TraitInfo.kt:41 */
 1972   2547   
impl RangeInteger {
 1973   2548   
    fn check_range(
 1974   2549   
        value: i32,
 1975   2550   
    ) -> ::std::result::Result<(), crate::model::range_integer::ConstraintViolation> {
 1976   2551   
        if (0..=69).contains(&value) {
 1977   2552   
            Ok(())
 1978   2553   
        } else {
 1979   2554   
            Err(crate::model::range_integer::ConstraintViolation::Range(
 1980   2555   
                value,
 1981   2556   
            ))
 1982   2557   
        }
 1983   2558   
    }
 1984   2559   
}
        2560  +
/* TraitInfo.kt:57 */
 1985   2561   
impl ::std::convert::TryFrom<i32> for RangeInteger {
 1986   2562   
    type Error = crate::model::range_integer::ConstraintViolation;
 1987   2563   
 1988   2564   
    /// Constructs a `RangeInteger` from an [`i32`], failing when the provided value does not satisfy the modeled constraints.
 1989   2565   
    fn try_from(value: i32) -> ::std::result::Result<Self, Self::Error> {
 1990   2566   
        Self::check_range(value)?;
 1991   2567   
 1992   2568   
        Ok(Self(value))
 1993   2569   
    }
 1994   2570   
}
 1995   2571   
        2572  +
/* ConstrainedCollectionGenerator.kt:93 */
 1996   2573   
#[allow(missing_docs)] // documentation missing in model
 1997         -
///
        2574  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 1998   2575   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 1999   2576   
/// [constraint traits]. Use [`SetOfRangeInteger::try_from`] to construct values of this type.
 2000   2577   
///
 2001   2578   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2002   2579   
///
        2580  +
/* RustType.kt:516 */
 2003   2581   
#[derive(
 2004   2582   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2005   2583   
)]
 2006         -
pub struct SetOfRangeInteger(pub(crate) ::std::vec::Vec<crate::model::RangeInteger>);
        2584  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct SetOfRangeInteger(
        2585  +
    pub(crate) ::std::vec::Vec<crate::model::RangeInteger>,
        2586  +
);
        2587  +
/* ConstrainedCollectionGenerator.kt:104 */
 2007   2588   
impl SetOfRangeInteger {
        2589  +
    /* ConstrainedCollectionGenerator.kt:106 */
 2008   2590   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<crate::model::RangeInteger>`].
 2009   2591   
    pub fn inner(&self) -> &::std::vec::Vec<crate::model::RangeInteger> {
 2010   2592   
        &self.0
 2011   2593   
    }
        2594  +
    /* ConstrainedCollectionGenerator.kt:116 */
 2012   2595   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::RangeInteger>`].
 2013   2596   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::RangeInteger> {
 2014   2597   
        self.0
 2015   2598   
    }
 2016   2599   
 2017   2600   
    fn check_unique_items(
 2018   2601   
        items: ::std::vec::Vec<crate::model::RangeInteger>,
 2019   2602   
    ) -> ::std::result::Result<
 2020   2603   
        ::std::vec::Vec<crate::model::RangeInteger>,
 2021   2604   
        crate::model::set_of_range_integer::ConstraintViolation,
 2022   2605   
    > {
 2023   2606   
        let mut seen = ::std::collections::HashMap::new();
 2024   2607   
        let mut duplicate_indices = ::std::vec::Vec::new();
 2025   2608   
        for (idx, item) in items.iter().enumerate() {
 2026   2609   
            if let Some(prev_idx) = seen.insert(item, idx) {
 2027   2610   
                duplicate_indices.push(prev_idx);
 2028   2611   
            }
 2029   2612   
        }
 2030   2613   
 2031   2614   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 2032   2615   
        for idx in &duplicate_indices {
 2033   2616   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 2034   2617   
                last_duplicate_indices.push(prev_idx);
 2035   2618   
            }
 2036   2619   
        }
 2037   2620   
        duplicate_indices.extend(last_duplicate_indices);
 2038   2621   
 2039   2622   
        if !duplicate_indices.is_empty() {
 2040   2623   
            debug_assert!(duplicate_indices.len() >= 2);
 2041   2624   
            Err(
 2042   2625   
                crate::model::set_of_range_integer::ConstraintViolation::UniqueItems {
 2043   2626   
                    duplicate_indices,
 2044   2627   
                    original: items,
 2045   2628   
                },
 2046   2629   
            )
 2047   2630   
        } else {
 2048   2631   
            Ok(items)
 2049   2632   
        }
 2050   2633   
    }
        2634  +
    /* ConstrainedCollectionGenerator.kt:104 */
 2051   2635   
}
        2636  +
/* ConstrainedCollectionGenerator.kt:133 */
 2052   2637   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::RangeInteger>> for SetOfRangeInteger {
 2053   2638   
    type Error = crate::model::set_of_range_integer::ConstraintViolation;
 2054   2639   
 2055   2640   
    /// Constructs a `SetOfRangeInteger` from an [`::std::vec::Vec<crate::model::RangeInteger>`], failing when the provided value does not satisfy the modeled constraints.
 2056   2641   
    fn try_from(
 2057   2642   
        value: ::std::vec::Vec<crate::model::RangeInteger>,
 2058   2643   
    ) -> ::std::result::Result<Self, Self::Error> {
 2059   2644   
        let value = Self::check_unique_items(value)?;
 2060   2645   
 2061   2646   
        Ok(Self(value))
 2062   2647   
    }
 2063   2648   
}
 2064   2649   
 2065   2650   
impl ::std::convert::From<SetOfRangeInteger> for ::std::vec::Vec<crate::model::RangeInteger> {
 2066   2651   
    fn from(value: SetOfRangeInteger) -> Self {
 2067   2652   
        value.into_inner()
 2068   2653   
    }
 2069   2654   
}
        2655  +
/* ConstrainedCollectionGenerator.kt:181 */
 2070   2656   
impl crate::constrained::Constrained for SetOfRangeInteger {
 2071   2657   
    type Unconstrained =
 2072   2658   
        crate::unconstrained::set_of_range_integer_unconstrained::SetOfRangeIntegerUnconstrained;
 2073   2659   
}
 2074   2660   
        2661  +
/* ConstrainedBlobGenerator.kt:66 */
 2075   2662   
#[allow(missing_docs)] // documentation missing in model
 2076         -
///
        2663  +
/// /* ConstrainedBlobGenerator.kt:67 */
 2077   2664   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2078   2665   
/// [constraint traits]. Use [`LengthBlob::try_from`] to construct values of this type.
 2079   2666   
///
 2080   2667   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2081   2668   
///
        2669  +
/* RustType.kt:516 */
 2082   2670   
#[derive(
 2083   2671   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2084   2672   
)]
 2085         -
pub struct LengthBlob(pub(crate) ::aws_smithy_types::Blob);
        2673  +
pub /* ConstrainedBlobGenerator.kt:70 */ struct LengthBlob(pub(crate) ::aws_smithy_types::Blob);
        2674  +
/* ConstrainedBlobGenerator.kt:71 */
 2086   2675   
impl LengthBlob {
        2676  +
    /* ConstrainedBlobGenerator.kt:73 */
 2087   2677   
    /// Returns an immutable reference to the underlying [`::aws_smithy_types::Blob`].
 2088   2678   
    pub fn inner(&self) -> &::aws_smithy_types::Blob {
 2089   2679   
        &self.0
 2090   2680   
    }
        2681  +
    /* ConstrainedBlobGenerator.kt:82 */
 2091   2682   
    /// Consumes the value, returning the underlying [`::aws_smithy_types::Blob`].
 2092   2683   
    pub fn into_inner(self) -> ::aws_smithy_types::Blob {
 2093   2684   
        self.0
 2094   2685   
    }
        2686  +
    /* ConstrainedBlobGenerator.kt:71 */
 2095   2687   
}
        2688  +
/* TraitInfo.kt:41 */
 2096   2689   
impl LengthBlob {
 2097   2690   
    fn check_length(
 2098   2691   
        blob: &::aws_smithy_types::Blob,
 2099   2692   
    ) -> ::std::result::Result<(), crate::model::length_blob::ConstraintViolation> {
 2100   2693   
        let length = blob.as_ref().len();
 2101   2694   
 2102   2695   
        if (2..=70).contains(&length) {
 2103   2696   
            Ok(())
 2104   2697   
        } else {
 2105   2698   
            Err(crate::model::length_blob::ConstraintViolation::Length(
 2106   2699   
                length,
 2107   2700   
            ))
 2108   2701   
        }
 2109   2702   
    }
 2110   2703   
}
        2704  +
/* TraitInfo.kt:57 */
 2111   2705   
impl ::std::convert::TryFrom<::aws_smithy_types::Blob> for LengthBlob {
 2112   2706   
    type Error = crate::model::length_blob::ConstraintViolation;
 2113   2707   
 2114   2708   
    /// Constructs a `LengthBlob` from an [`::aws_smithy_types::Blob`], failing when the provided value does not satisfy the modeled constraints.
 2115   2709   
    fn try_from(value: ::aws_smithy_types::Blob) -> ::std::result::Result<Self, Self::Error> {
 2116   2710   
        Self::check_length(&value)?;
 2117   2711   
 2118   2712   
        Ok(Self(value))
 2119   2713   
    }
 2120   2714   
}
        2715  +
/* ConstrainedBlobGenerator.kt:94 */
 2121   2716   
impl crate::constrained::Constrained for LengthBlob {
 2122   2717   
    type Unconstrained = ::aws_smithy_types::Blob;
 2123   2718   
}
 2124   2719   
 2125   2720   
impl ::std::convert::From<::aws_smithy_types::Blob>
 2126   2721   
    for crate::constrained::MaybeConstrained<crate::model::LengthBlob>
 2127   2722   
{
 2128   2723   
    fn from(value: ::aws_smithy_types::Blob) -> Self {
 2129   2724   
        Self::Unconstrained(value)
 2130   2725   
    }
 2131   2726   
}
 2132   2727   
 2133   2728   
impl ::std::convert::From<LengthBlob> for ::aws_smithy_types::Blob {
 2134   2729   
    fn from(value: LengthBlob) -> Self {
 2135   2730   
        value.into_inner()
 2136   2731   
    }
 2137   2732   
}
 2138   2733   
 2139         -
/// A union with constrained members.
        2734  +
/// /* UnionGenerator.kt:67 */A union with constrained members.
        2735  +
/* RustType.kt:516 */
 2140   2736   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
 2141         -
pub enum ConstrainedUnion {
        2737  +
pub /* UnionGenerator.kt:85 */ enum ConstrainedUnion {
        2738  +
    /* UnionGenerator.kt:90 */
 2142   2739   
    #[allow(missing_docs)] // documentation missing in model
        2740  +
    /* UnionGenerator.kt:190 */
 2143   2741   
    ConBList(::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>),
        2742  +
    /* UnionGenerator.kt:90 */
 2144   2743   
    #[allow(missing_docs)] // documentation missing in model
        2744  +
    /* UnionGenerator.kt:190 */
 2145   2745   
    ConBMap(crate::model::ConBMap),
        2746  +
    /* UnionGenerator.kt:90 */
 2146   2747   
    #[allow(missing_docs)] // documentation missing in model
        2748  +
    /* UnionGenerator.kt:190 */
 2147   2749   
    ConBSet(crate::model::ConBSet),
        2750  +
    /* UnionGenerator.kt:90 */
 2148   2751   
    #[allow(missing_docs)] // documentation missing in model
        2752  +
    /* UnionGenerator.kt:190 */
 2149   2753   
    ConstrainedStructure(crate::model::ConB),
        2754  +
    /* UnionGenerator.kt:90 */
 2150   2755   
    #[allow(missing_docs)] // documentation missing in model
        2756  +
    /* UnionGenerator.kt:190 */
 2151   2757   
    EnumString(crate::model::EnumString),
        2758  +
    /* UnionGenerator.kt:90 */
 2152   2759   
    #[allow(missing_docs)] // documentation missing in model
        2760  +
    /* UnionGenerator.kt:190 */
 2153   2761   
    LengthString(crate::model::LengthString),
        2762  +
    /* UnionGenerator.kt:85 */
 2154   2763   
}
        2764  +
/* UnionGenerator.kt:111 */
 2155   2765   
impl ConstrainedUnion {
        2766  +
    /* UnionGenerator.kt:217 */
 2156   2767   
    /// Tries to convert the enum instance into [`ConBList`](crate::model::ConstrainedUnion::ConBList), extracting the inner [`Vec`](::std::vec::Vec).
        2768  +
    /* UnionGenerator.kt:222 */
 2157   2769   
    /// Returns `Err(&Self)` if it can't be converted.
        2770  +
    /* UnionGenerator.kt:223 */
 2158   2771   
    pub fn as_con_b_list(
 2159   2772   
        &self,
 2160   2773   
    ) -> ::std::result::Result<&::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>, &Self> {
        2774  +
        /* UnionGenerator.kt:227 */
 2161   2775   
        if let ConstrainedUnion::ConBList(val) = &self {
 2162   2776   
            ::std::result::Result::Ok(val)
 2163   2777   
        } else {
 2164   2778   
            ::std::result::Result::Err(self)
 2165   2779   
        }
        2780  +
        /* UnionGenerator.kt:223 */
 2166   2781   
    }
        2782  +
    /* UnionGenerator.kt:121 */
 2167   2783   
    /// Returns true if this is a [`ConBList`](crate::model::ConstrainedUnion::ConBList).
        2784  +
    /* UnionGenerator.kt:122 */
 2168   2785   
    pub fn is_con_b_list(&self) -> bool {
        2786  +
        /* UnionGenerator.kt:123 */
 2169   2787   
        self.as_con_b_list().is_ok()
        2788  +
        /* UnionGenerator.kt:122 */
 2170   2789   
    }
        2790  +
    /* UnionGenerator.kt:217 */
 2171   2791   
    /// Tries to convert the enum instance into [`ConBMap`](crate::model::ConstrainedUnion::ConBMap), extracting the inner [`ConBMap`](crate::model::ConBMap).
        2792  +
    /* UnionGenerator.kt:222 */
 2172   2793   
    /// Returns `Err(&Self)` if it can't be converted.
        2794  +
    /* UnionGenerator.kt:223 */
 2173   2795   
    pub fn as_con_b_map(&self) -> ::std::result::Result<&crate::model::ConBMap, &Self> {
        2796  +
        /* UnionGenerator.kt:227 */
 2174   2797   
        if let ConstrainedUnion::ConBMap(val) = &self {
 2175   2798   
            ::std::result::Result::Ok(val)
 2176   2799   
        } else {
 2177   2800   
            ::std::result::Result::Err(self)
 2178   2801   
        }
        2802  +
        /* UnionGenerator.kt:223 */
 2179   2803   
    }
        2804  +
    /* UnionGenerator.kt:121 */
 2180   2805   
    /// Returns true if this is a [`ConBMap`](crate::model::ConstrainedUnion::ConBMap).
        2806  +
    /* UnionGenerator.kt:122 */
 2181   2807   
    pub fn is_con_b_map(&self) -> bool {
        2808  +
        /* UnionGenerator.kt:123 */
 2182   2809   
        self.as_con_b_map().is_ok()
        2810  +
        /* UnionGenerator.kt:122 */
 2183   2811   
    }
        2812  +
    /* UnionGenerator.kt:217 */
 2184   2813   
    /// Tries to convert the enum instance into [`ConBSet`](crate::model::ConstrainedUnion::ConBSet), extracting the inner [`ConBSet`](crate::model::ConBSet).
        2814  +
    /* UnionGenerator.kt:222 */
 2185   2815   
    /// Returns `Err(&Self)` if it can't be converted.
        2816  +
    /* UnionGenerator.kt:223 */
 2186   2817   
    pub fn as_con_b_set(&self) -> ::std::result::Result<&crate::model::ConBSet, &Self> {
        2818  +
        /* UnionGenerator.kt:227 */
 2187   2819   
        if let ConstrainedUnion::ConBSet(val) = &self {
 2188   2820   
            ::std::result::Result::Ok(val)
 2189   2821   
        } else {
 2190   2822   
            ::std::result::Result::Err(self)
 2191   2823   
        }
        2824  +
        /* UnionGenerator.kt:223 */
 2192   2825   
    }
        2826  +
    /* UnionGenerator.kt:121 */
 2193   2827   
    /// Returns true if this is a [`ConBSet`](crate::model::ConstrainedUnion::ConBSet).
        2828  +
    /* UnionGenerator.kt:122 */
 2194   2829   
    pub fn is_con_b_set(&self) -> bool {
        2830  +
        /* UnionGenerator.kt:123 */
 2195   2831   
        self.as_con_b_set().is_ok()
        2832  +
        /* UnionGenerator.kt:122 */
 2196   2833   
    }
        2834  +
    /* UnionGenerator.kt:217 */
 2197   2835   
    /// Tries to convert the enum instance into [`ConstrainedStructure`](crate::model::ConstrainedUnion::ConstrainedStructure), extracting the inner [`ConB`](crate::model::ConB).
        2836  +
    /* UnionGenerator.kt:222 */
 2198   2837   
    /// Returns `Err(&Self)` if it can't be converted.
        2838  +
    /* UnionGenerator.kt:223 */
 2199   2839   
    pub fn as_constrained_structure(&self) -> ::std::result::Result<&crate::model::ConB, &Self> {
        2840  +
        /* UnionGenerator.kt:227 */
 2200   2841   
        if let ConstrainedUnion::ConstrainedStructure(val) = &self {
 2201   2842   
            ::std::result::Result::Ok(val)
 2202   2843   
        } else {
 2203   2844   
            ::std::result::Result::Err(self)
 2204   2845   
        }
        2846  +
        /* UnionGenerator.kt:223 */
 2205   2847   
    }
        2848  +
    /* UnionGenerator.kt:121 */
 2206   2849   
    /// Returns true if this is a [`ConstrainedStructure`](crate::model::ConstrainedUnion::ConstrainedStructure).
        2850  +
    /* UnionGenerator.kt:122 */
 2207   2851   
    pub fn is_constrained_structure(&self) -> bool {
        2852  +
        /* UnionGenerator.kt:123 */
 2208   2853   
        self.as_constrained_structure().is_ok()
        2854  +
        /* UnionGenerator.kt:122 */
 2209   2855   
    }
        2856  +
    /* UnionGenerator.kt:217 */
 2210   2857   
    /// Tries to convert the enum instance into [`EnumString`](crate::model::ConstrainedUnion::EnumString), extracting the inner [`EnumString`](crate::model::EnumString).
        2858  +
    /* UnionGenerator.kt:222 */
 2211   2859   
    /// Returns `Err(&Self)` if it can't be converted.
        2860  +
    /* UnionGenerator.kt:223 */
 2212   2861   
    pub fn as_enum_string(&self) -> ::std::result::Result<&crate::model::EnumString, &Self> {
        2862  +
        /* UnionGenerator.kt:227 */
 2213   2863   
        if let ConstrainedUnion::EnumString(val) = &self {
 2214   2864   
            ::std::result::Result::Ok(val)
 2215   2865   
        } else {
 2216   2866   
            ::std::result::Result::Err(self)
 2217   2867   
        }
        2868  +
        /* UnionGenerator.kt:223 */
 2218   2869   
    }
        2870  +
    /* UnionGenerator.kt:121 */
 2219   2871   
    /// Returns true if this is a [`EnumString`](crate::model::ConstrainedUnion::EnumString).
        2872  +
    /* UnionGenerator.kt:122 */
 2220   2873   
    pub fn is_enum_string(&self) -> bool {
        2874  +
        /* UnionGenerator.kt:123 */
 2221   2875   
        self.as_enum_string().is_ok()
        2876  +
        /* UnionGenerator.kt:122 */
 2222   2877   
    }
        2878  +
    /* UnionGenerator.kt:217 */
 2223   2879   
    /// Tries to convert the enum instance into [`LengthString`](crate::model::ConstrainedUnion::LengthString), extracting the inner [`LengthString`](crate::model::LengthString).
        2880  +
    /* UnionGenerator.kt:222 */
 2224   2881   
    /// Returns `Err(&Self)` if it can't be converted.
        2882  +
    /* UnionGenerator.kt:223 */
 2225   2883   
    pub fn as_length_string(&self) -> ::std::result::Result<&crate::model::LengthString, &Self> {
        2884  +
        /* UnionGenerator.kt:227 */
 2226   2885   
        if let ConstrainedUnion::LengthString(val) = &self {
 2227   2886   
            ::std::result::Result::Ok(val)
 2228   2887   
        } else {
 2229   2888   
            ::std::result::Result::Err(self)
 2230   2889   
        }
        2890  +
        /* UnionGenerator.kt:223 */
 2231   2891   
    }
        2892  +
    /* UnionGenerator.kt:121 */
 2232   2893   
    /// Returns true if this is a [`LengthString`](crate::model::ConstrainedUnion::LengthString).
        2894  +
    /* UnionGenerator.kt:122 */
 2233   2895   
    pub fn is_length_string(&self) -> bool {
        2896  +
        /* UnionGenerator.kt:123 */
 2234   2897   
        self.as_length_string().is_ok()
        2898  +
        /* UnionGenerator.kt:122 */
 2235   2899   
    }
        2900  +
    /* UnionGenerator.kt:111 */
 2236   2901   
}
 2237   2902   
        2903  +
/* ConstrainedCollectionGenerator.kt:93 */
 2238   2904   
#[allow(missing_docs)] // documentation missing in model
 2239         -
///
        2905  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 2240   2906   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2241   2907   
/// [constraint traits]. Use [`ConBSet::try_from`] to construct values of this type.
 2242   2908   
///
 2243   2909   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2244   2910   
///
        2911  +
/* RustType.kt:516 */
 2245   2912   
#[derive(
 2246   2913   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2247   2914   
)]
 2248         -
pub struct ConBSet(pub(crate) ::std::vec::Vec<crate::model::ConBSetInner>);
        2915  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct ConBSet(
        2916  +
    pub(crate) ::std::vec::Vec<crate::model::ConBSetInner>,
        2917  +
);
        2918  +
/* ConstrainedCollectionGenerator.kt:104 */
 2249   2919   
impl ConBSet {
        2920  +
    /* ConstrainedCollectionGenerator.kt:106 */
 2250   2921   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<crate::model::ConBSetInner>`].
 2251   2922   
    pub fn inner(&self) -> &::std::vec::Vec<crate::model::ConBSetInner> {
 2252   2923   
        &self.0
 2253   2924   
    }
        2925  +
    /* ConstrainedCollectionGenerator.kt:116 */
 2254   2926   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::ConBSetInner>`].
 2255   2927   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::ConBSetInner> {
 2256   2928   
        self.0
 2257   2929   
    }
 2258   2930   
 2259   2931   
    fn check_unique_items(
 2260   2932   
        items: ::std::vec::Vec<crate::model::ConBSetInner>,
 2261   2933   
    ) -> ::std::result::Result<
 2262   2934   
        ::std::vec::Vec<crate::model::ConBSetInner>,
 2263   2935   
        crate::model::con_b_set::ConstraintViolation,
 2264   2936   
    > {
 2265   2937   
        let mut seen = ::std::collections::HashMap::new();
 2266   2938   
        let mut duplicate_indices = ::std::vec::Vec::new();
 2267   2939   
        for (idx, item) in items.iter().enumerate() {
 2268   2940   
            if let Some(prev_idx) = seen.insert(item, idx) {
 2269   2941   
                duplicate_indices.push(prev_idx);
 2270   2942   
            }
 2271   2943   
        }
 2272   2944   
 2273   2945   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 2274   2946   
        for idx in &duplicate_indices {
 2275   2947   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 2276   2948   
                last_duplicate_indices.push(prev_idx);
 2277   2949   
            }
 2278   2950   
        }
 2279   2951   
        duplicate_indices.extend(last_duplicate_indices);
 2280   2952   
 2281   2953   
        if !duplicate_indices.is_empty() {
 2282   2954   
            debug_assert!(duplicate_indices.len() >= 2);
 2283   2955   
            Err(crate::model::con_b_set::ConstraintViolation::UniqueItems {
 2284   2956   
                duplicate_indices,
 2285   2957   
                original: items,
 2286   2958   
            })
 2287   2959   
        } else {
 2288   2960   
            Ok(items)
 2289   2961   
        }
 2290   2962   
    }
        2963  +
    /* ConstrainedCollectionGenerator.kt:104 */
 2291   2964   
}
        2965  +
/* ConstrainedCollectionGenerator.kt:133 */
 2292   2966   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::ConBSetInner>> for ConBSet {
 2293   2967   
    type Error = crate::model::con_b_set::ConstraintViolation;
 2294   2968   
 2295   2969   
    /// Constructs a `ConBSet` from an [`::std::vec::Vec<crate::model::ConBSetInner>`], failing when the provided value does not satisfy the modeled constraints.
 2296   2970   
    fn try_from(
 2297   2971   
        value: ::std::vec::Vec<crate::model::ConBSetInner>,
 2298   2972   
    ) -> ::std::result::Result<Self, Self::Error> {
 2299   2973   
        let value = Self::check_unique_items(value)?;
 2300   2974   
 2301   2975   
        Ok(Self(value))
 2302   2976   
    }
 2303   2977   
}
 2304   2978   
 2305   2979   
impl ::std::convert::From<ConBSet> for ::std::vec::Vec<crate::model::ConBSetInner> {
 2306   2980   
    fn from(value: ConBSet) -> Self {
 2307   2981   
        value.into_inner()
 2308   2982   
    }
 2309   2983   
}
        2984  +
/* ConstrainedCollectionGenerator.kt:181 */
 2310   2985   
impl crate::constrained::Constrained for ConBSet {
 2311   2986   
    type Unconstrained = crate::unconstrained::con_b_set_unconstrained::ConBSetUnconstrained;
 2312   2987   
}
 2313   2988   
        2989  +
/* ConstrainedCollectionGenerator.kt:93 */
 2314   2990   
#[allow(missing_docs)] // documentation missing in model
 2315         -
///
        2991  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 2316   2992   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2317   2993   
/// [constraint traits]. Use [`ConBSetInner::try_from`] to construct values of this type.
 2318   2994   
///
 2319   2995   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2320   2996   
///
        2997  +
/* RustType.kt:516 */
 2321   2998   
#[derive(
 2322   2999   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2323   3000   
)]
 2324         -
pub struct ConBSetInner(pub(crate) ::std::vec::Vec<::std::string::String>);
        3001  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct ConBSetInner(
        3002  +
    pub(crate) ::std::vec::Vec<::std::string::String>,
        3003  +
);
        3004  +
/* ConstrainedCollectionGenerator.kt:104 */
 2325   3005   
impl ConBSetInner {
        3006  +
    /* ConstrainedCollectionGenerator.kt:106 */
 2326   3007   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<::std::string::String>`].
 2327   3008   
    pub fn inner(&self) -> &::std::vec::Vec<::std::string::String> {
 2328   3009   
        &self.0
 2329   3010   
    }
        3011  +
    /* ConstrainedCollectionGenerator.kt:116 */
 2330   3012   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<::std::string::String>`].
 2331   3013   
    pub fn into_inner(self) -> ::std::vec::Vec<::std::string::String> {
 2332   3014   
        self.0
 2333   3015   
    }
 2334   3016   
 2335   3017   
    fn check_unique_items(
 2336   3018   
        items: ::std::vec::Vec<::std::string::String>,
 2337   3019   
    ) -> ::std::result::Result<
 2338   3020   
        ::std::vec::Vec<::std::string::String>,
 2339   3021   
        crate::model::con_b_set_inner::ConstraintViolation,
 2340   3022   
    > {
 2341   3023   
        let mut seen = ::std::collections::HashMap::new();
 2342   3024   
        let mut duplicate_indices = ::std::vec::Vec::new();
 2343   3025   
        for (idx, item) in items.iter().enumerate() {
 2344   3026   
            if let Some(prev_idx) = seen.insert(item, idx) {
 2345   3027   
                duplicate_indices.push(prev_idx);
 2346   3028   
            }
 2347   3029   
        }
 2348   3030   
 2349   3031   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 2350   3032   
        for idx in &duplicate_indices {
 2351   3033   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 2352   3034   
                last_duplicate_indices.push(prev_idx);
 2353   3035   
            }
 2354   3036   
        }
 2355   3037   
        duplicate_indices.extend(last_duplicate_indices);
 2356   3038   
 2357   3039   
        if !duplicate_indices.is_empty() {
 2358   3040   
            debug_assert!(duplicate_indices.len() >= 2);
 2359   3041   
            Err(
 2360   3042   
                crate::model::con_b_set_inner::ConstraintViolation::UniqueItems {
 2361   3043   
                    duplicate_indices,
 2362   3044   
                    original: items,
 2363   3045   
                },
 2364   3046   
            )
 2365   3047   
        } else {
 2366   3048   
            Ok(items)
 2367   3049   
        }
 2368   3050   
    }
        3051  +
    /* ConstrainedCollectionGenerator.kt:104 */
 2369   3052   
}
        3053  +
/* ConstrainedCollectionGenerator.kt:133 */
 2370   3054   
impl ::std::convert::TryFrom<::std::vec::Vec<::std::string::String>> for ConBSetInner {
 2371   3055   
    type Error = crate::model::con_b_set_inner::ConstraintViolation;
 2372   3056   
 2373   3057   
    /// Constructs a `ConBSetInner` from an [`::std::vec::Vec<::std::string::String>`], failing when the provided value does not satisfy the modeled constraints.
 2374   3058   
    fn try_from(
 2375   3059   
        value: ::std::vec::Vec<::std::string::String>,
 2376   3060   
    ) -> ::std::result::Result<Self, Self::Error> {
 2377   3061   
        let value = Self::check_unique_items(value)?;
 2378   3062   
 2379   3063   
        Ok(Self(value))
 2380   3064   
    }
 2381   3065   
}
 2382   3066   
 2383   3067   
impl ::std::convert::From<ConBSetInner> for ::std::vec::Vec<::std::string::String> {
 2384   3068   
    fn from(value: ConBSetInner) -> Self {
 2385   3069   
        value.into_inner()
 2386   3070   
    }
 2387   3071   
}
        3072  +
/* ConstrainedCollectionGenerator.kt:181 */
 2388   3073   
impl crate::constrained::Constrained for ConBSetInner {
 2389   3074   
    type Unconstrained =
 2390   3075   
        crate::unconstrained::con_b_set_inner_unconstrained::ConBSetInnerUnconstrained;
 2391   3076   
}
 2392   3077   
        3078  +
/* StructureGenerator.kt:197 */
 2393   3079   
#[allow(missing_docs)] // documentation missing in model
        3080  +
/* RustType.kt:516 */
 2394   3081   
#[derive(
 2395   3082   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2396   3083   
)]
 2397         -
pub struct ConB {
        3084  +
pub /* StructureGenerator.kt:201 */ struct ConB {
        3085  +
    /* StructureGenerator.kt:231 */
 2398   3086   
    #[allow(missing_docs)] // documentation missing in model
 2399   3087   
    pub nice: ::std::string::String,
        3088  +
    /* StructureGenerator.kt:231 */
 2400   3089   
    #[allow(missing_docs)] // documentation missing in model
 2401   3090   
    pub int: i32,
        3091  +
    /* StructureGenerator.kt:231 */
 2402   3092   
    #[allow(missing_docs)] // documentation missing in model
 2403   3093   
    pub opt_nice: ::std::option::Option<::std::string::String>,
        3094  +
    /* StructureGenerator.kt:231 */
 2404   3095   
    #[allow(missing_docs)] // documentation missing in model
 2405   3096   
    pub opt_int: ::std::option::Option<i32>,
        3097  +
    /* StructureGenerator.kt:201 */
 2406   3098   
}
        3099  +
/* StructureGenerator.kt:135 */
 2407   3100   
impl ConB {
        3101  +
    /* StructureGenerator.kt:231 */
 2408   3102   
    #[allow(missing_docs)] // documentation missing in model
        3103  +
                           /* StructureGenerator.kt:166 */
 2409   3104   
    pub fn nice(&self) -> &str {
        3105  +
        /* StructureGenerator.kt:171 */
 2410   3106   
        use std::ops::Deref;
 2411   3107   
        self.nice.deref()
        3108  +
        /* StructureGenerator.kt:166 */
 2412   3109   
    }
        3110  +
    /* StructureGenerator.kt:231 */
 2413   3111   
    #[allow(missing_docs)] // documentation missing in model
        3112  +
                           /* StructureGenerator.kt:166 */
 2414   3113   
    pub fn int(&self) -> i32 {
        3114  +
        /* StructureGenerator.kt:168 */
 2415   3115   
        self.int
        3116  +
        /* StructureGenerator.kt:166 */
 2416   3117   
    }
        3118  +
    /* StructureGenerator.kt:231 */
 2417   3119   
    #[allow(missing_docs)] // documentation missing in model
        3120  +
                           /* StructureGenerator.kt:166 */
 2418   3121   
    pub fn opt_nice(&self) -> ::std::option::Option<&str> {
        3122  +
        /* StructureGenerator.kt:169 */
 2419   3123   
        self.opt_nice.as_deref()
        3124  +
        /* StructureGenerator.kt:166 */
 2420   3125   
    }
        3126  +
    /* StructureGenerator.kt:231 */
 2421   3127   
    #[allow(missing_docs)] // documentation missing in model
        3128  +
                           /* StructureGenerator.kt:166 */
 2422   3129   
    pub fn opt_int(&self) -> ::std::option::Option<i32> {
        3130  +
        /* StructureGenerator.kt:168 */
 2423   3131   
        self.opt_int
        3132  +
        /* StructureGenerator.kt:166 */
 2424   3133   
    }
        3134  +
    /* StructureGenerator.kt:135 */
 2425   3135   
}
        3136  +
/* ServerCodegenVisitor.kt:345 */
 2426   3137   
impl ConB {
 2427         -
    /// Creates a new builder-style object to manufacture [`ConB`](crate::model::ConB).
        3138  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`ConB`](crate::model::ConB).
        3139  +
    /* ServerBuilderGenerator.kt:295 */
 2428   3140   
    pub fn builder() -> crate::model::con_b::Builder {
        3141  +
        /* ServerBuilderGenerator.kt:296 */
 2429   3142   
        crate::model::con_b::Builder::default()
        3143  +
        /* ServerBuilderGenerator.kt:295 */
 2430   3144   
    }
        3145  +
    /* ServerCodegenVisitor.kt:345 */
 2431   3146   
}
        3147  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
 2432   3148   
impl crate::constrained::Constrained for crate::model::ConB {
 2433   3149   
    type Unconstrained = crate::model::con_b::Builder;
 2434   3150   
}
 2435   3151   
        3152  +
/* ConstrainedCollectionGenerator.kt:93 */
 2436   3153   
#[allow(missing_docs)] // documentation missing in model
 2437         -
///
        3154  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 2438   3155   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2439   3156   
/// [constraint traits]. Use [`SparseLengthList::try_from`] to construct values of this type.
 2440   3157   
///
 2441   3158   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2442   3159   
///
        3160  +
/* RustType.kt:516 */
 2443   3161   
#[derive(
 2444   3162   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2445   3163   
)]
 2446         -
pub struct SparseLengthList(
        3164  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct SparseLengthList(
 2447   3165   
    pub(crate) ::std::vec::Vec<::std::option::Option<::std::string::String>>,
 2448   3166   
);
        3167  +
/* ConstrainedCollectionGenerator.kt:104 */
 2449   3168   
impl SparseLengthList {
        3169  +
    /* ConstrainedCollectionGenerator.kt:106 */
 2450   3170   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<::std::option::Option<::std::string::String>>`].
 2451   3171   
    pub fn inner(&self) -> &::std::vec::Vec<::std::option::Option<::std::string::String>> {
 2452   3172   
        &self.0
 2453   3173   
    }
        3174  +
    /* ConstrainedCollectionGenerator.kt:116 */
 2454   3175   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<::std::option::Option<::std::string::String>>`].
 2455   3176   
    pub fn into_inner(self) -> ::std::vec::Vec<::std::option::Option<::std::string::String>> {
 2456   3177   
        self.0
 2457   3178   
    }
 2458   3179   
 2459   3180   
    fn check_length(
 2460   3181   
        length: usize,
 2461   3182   
    ) -> ::std::result::Result<(), crate::model::sparse_length_list::ConstraintViolation> {
 2462   3183   
        if 69 <= length {
 2463   3184   
            Ok(())
 2464   3185   
        } else {
 2465   3186   
            Err(crate::model::sparse_length_list::ConstraintViolation::Length(length))
 2466   3187   
        }
 2467   3188   
    }
        3189  +
    /* ConstrainedCollectionGenerator.kt:104 */
 2468   3190   
}
        3191  +
/* ConstrainedCollectionGenerator.kt:133 */
 2469   3192   
impl ::std::convert::TryFrom<::std::vec::Vec<::std::option::Option<::std::string::String>>>
 2470   3193   
    for SparseLengthList
 2471   3194   
{
 2472   3195   
    type Error = crate::model::sparse_length_list::ConstraintViolation;
 2473   3196   
 2474   3197   
    /// Constructs a `SparseLengthList` from an [`::std::vec::Vec<::std::option::Option<::std::string::String>>`], failing when the provided value does not satisfy the modeled constraints.
 2475   3198   
    fn try_from(
 2476   3199   
        value: ::std::vec::Vec<::std::option::Option<::std::string::String>>,
 2477   3200   
    ) -> ::std::result::Result<Self, Self::Error> {
 2478   3201   
        Self::check_length(value.len())?;
 2479   3202   
 2480   3203   
        Ok(Self(value))
 2481   3204   
    }
 2482   3205   
}
 2483   3206   
 2484   3207   
impl ::std::convert::From<SparseLengthList>
 2485   3208   
    for ::std::vec::Vec<::std::option::Option<::std::string::String>>
 2486   3209   
{
 2487   3210   
    fn from(value: SparseLengthList) -> Self {
 2488   3211   
        value.into_inner()
 2489   3212   
    }
 2490   3213   
}
        3214  +
/* ConstrainedCollectionGenerator.kt:181 */
 2491   3215   
impl crate::constrained::Constrained for SparseLengthList {
 2492   3216   
    type Unconstrained =
 2493   3217   
        crate::unconstrained::sparse_length_list_unconstrained::SparseLengthListUnconstrained;
 2494   3218   
}
 2495   3219   
        3220  +
/* ConstrainedMapGenerator.kt:78 */
 2496   3221   
#[allow(missing_docs)] // documentation missing in model
 2497         -
///
        3222  +
/// /* ConstrainedMapGenerator.kt:79 */
 2498   3223   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2499   3224   
/// [constraint traits]. Use [`SparseLengthMap::try_from`] to construct values of this type.
 2500   3225   
///
 2501   3226   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2502   3227   
///
        3228  +
/* RustType.kt:516 */
 2503   3229   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
 2504         -
pub struct SparseLengthMap(
        3230  +
pub /* ConstrainedMapGenerator.kt:82 */ struct SparseLengthMap(
 2505   3231   
    pub(crate)  ::std::collections::HashMap<
 2506   3232   
        ::std::string::String,
 2507   3233   
        ::std::option::Option<::std::string::String>,
 2508   3234   
    >,
 2509   3235   
);
        3236  +
/* ConstrainedMapGenerator.kt:83 */
 2510   3237   
impl SparseLengthMap {
        3238  +
    /* ConstrainedMapGenerator.kt:85 */
 2511   3239   
    /// Returns an immutable reference to the underlying [`::std::collections::HashMap<::std::string::String, ::std::option::Option<::std::string::String>>`].
 2512   3240   
    pub fn inner(
 2513   3241   
        &self,
 2514   3242   
    ) -> &::std::collections::HashMap<
 2515   3243   
        ::std::string::String,
 2516   3244   
        ::std::option::Option<::std::string::String>,
 2517   3245   
    > {
 2518   3246   
        &self.0
 2519   3247   
    }
        3248  +
    /* ConstrainedMapGenerator.kt:95 */
 2520   3249   
    /// Consumes the value, returning the underlying [`::std::collections::HashMap<::std::string::String, ::std::option::Option<::std::string::String>>`].
 2521   3250   
    pub fn into_inner(
 2522   3251   
        self,
 2523   3252   
    ) -> ::std::collections::HashMap<
 2524   3253   
        ::std::string::String,
 2525   3254   
        ::std::option::Option<::std::string::String>,
 2526   3255   
    > {
 2527   3256   
        self.0
 2528   3257   
    }
        3258  +
    /* ConstrainedMapGenerator.kt:83 */
 2529   3259   
}
        3260  +
/* ConstrainedMapGenerator.kt:106 */
 2530   3261   
impl
 2531   3262   
    ::std::convert::TryFrom<
 2532   3263   
        ::std::collections::HashMap<
 2533   3264   
            ::std::string::String,
 2534   3265   
            ::std::option::Option<::std::string::String>,
 2535   3266   
        >,
 2536   3267   
    > for SparseLengthMap
 2537   3268   
{
 2538   3269   
    type Error = crate::model::sparse_length_map::ConstraintViolation;
 2539   3270   
 2540   3271   
    /// Constructs a `SparseLengthMap` from an [`::std::collections::HashMap<::std::string::String, ::std::option::Option<::std::string::String>>`], failing when the provided value does not satisfy the modeled constraints.
 2541   3272   
    fn try_from(
 2542   3273   
        value: ::std::collections::HashMap<
 2543   3274   
            ::std::string::String,
 2544   3275   
            ::std::option::Option<::std::string::String>,
 2545   3276   
        >,
 2546   3277   
    ) -> ::std::result::Result<Self, Self::Error> {
 2547   3278   
        let length = value.len();
 2548   3279   
        if 69 <= length {
 2549   3280   
            Ok(Self(value))
 2550   3281   
        } else {
 2551   3282   
            Err(crate::model::sparse_length_map::ConstraintViolation::Length(length))
 2552   3283   
        }
 2553   3284   
    }
 2554   3285   
}
 2555   3286   
 2556   3287   
impl ::std::convert::From<SparseLengthMap>
 2557   3288   
    for ::std::collections::HashMap<
 2558   3289   
        ::std::string::String,
 2559   3290   
        ::std::option::Option<::std::string::String>,
 2560   3291   
    >
 2561   3292   
{
 2562   3293   
    fn from(value: SparseLengthMap) -> Self {
 2563   3294   
        value.into_inner()
 2564   3295   
    }
 2565   3296   
}
        3297  +
/* ConstrainedMapGenerator.kt:164 */
 2566   3298   
impl crate::constrained::Constrained for SparseLengthMap {
 2567   3299   
    type Unconstrained =
 2568   3300   
        crate::unconstrained::sparse_length_map_unconstrained::SparseLengthMapUnconstrained;
 2569   3301   
}
 2570   3302   
        3303  +
/* ConstrainedCollectionGenerator.kt:93 */
 2571   3304   
#[allow(missing_docs)] // documentation missing in model
 2572         -
///
        3305  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 2573   3306   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2574   3307   
/// [constraint traits]. Use [`UniqueItemsList::try_from`] to construct values of this type.
 2575   3308   
///
 2576   3309   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2577   3310   
///
        3311  +
/* RustType.kt:516 */
 2578   3312   
#[derive(
 2579   3313   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2580   3314   
)]
 2581         -
pub struct UniqueItemsList(pub(crate) ::std::vec::Vec<::std::string::String>);
        3315  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct UniqueItemsList(
        3316  +
    pub(crate) ::std::vec::Vec<::std::string::String>,
        3317  +
);
        3318  +
/* ConstrainedCollectionGenerator.kt:104 */
 2582   3319   
impl UniqueItemsList {
        3320  +
    /* ConstrainedCollectionGenerator.kt:106 */
 2583   3321   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<::std::string::String>`].
 2584   3322   
    pub fn inner(&self) -> &::std::vec::Vec<::std::string::String> {
 2585   3323   
        &self.0
 2586   3324   
    }
        3325  +
    /* ConstrainedCollectionGenerator.kt:116 */
 2587   3326   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<::std::string::String>`].
 2588   3327   
    pub fn into_inner(self) -> ::std::vec::Vec<::std::string::String> {
 2589   3328   
        self.0
 2590   3329   
    }
 2591   3330   
 2592   3331   
    fn check_unique_items(
 2593   3332   
        items: ::std::vec::Vec<::std::string::String>,
 2594   3333   
    ) -> ::std::result::Result<
 2595   3334   
        ::std::vec::Vec<::std::string::String>,
 2596   3335   
        crate::model::unique_items_list::ConstraintViolation,
 2597   3336   
    > {
 2598   3337   
        let mut seen = ::std::collections::HashMap::new();
 2599   3338   
        let mut duplicate_indices = ::std::vec::Vec::new();
 2600   3339   
        for (idx, item) in items.iter().enumerate() {
 2601   3340   
            if let Some(prev_idx) = seen.insert(item, idx) {
 2602   3341   
                duplicate_indices.push(prev_idx);
 2603   3342   
            }
 2604   3343   
        }
 2605   3344   
 2606   3345   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 2607   3346   
        for idx in &duplicate_indices {
 2608   3347   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 2609   3348   
                last_duplicate_indices.push(prev_idx);
 2610   3349   
            }
 2611   3350   
        }
 2612   3351   
        duplicate_indices.extend(last_duplicate_indices);
 2613   3352   
 2614   3353   
        if !duplicate_indices.is_empty() {
 2615   3354   
            debug_assert!(duplicate_indices.len() >= 2);
 2616   3355   
            Err(
 2617   3356   
                crate::model::unique_items_list::ConstraintViolation::UniqueItems {
 2618   3357   
                    duplicate_indices,
 2619   3358   
                    original: items,
 2620   3359   
                },
 2621   3360   
            )
 2622   3361   
        } else {
 2623   3362   
            Ok(items)
 2624   3363   
        }
 2625   3364   
    }
        3365  +
    /* ConstrainedCollectionGenerator.kt:104 */
 2626   3366   
}
        3367  +
/* ConstrainedCollectionGenerator.kt:133 */
 2627   3368   
impl ::std::convert::TryFrom<::std::vec::Vec<::std::string::String>> for UniqueItemsList {
 2628   3369   
    type Error = crate::model::unique_items_list::ConstraintViolation;
 2629   3370   
 2630   3371   
    /// Constructs a `UniqueItemsList` from an [`::std::vec::Vec<::std::string::String>`], failing when the provided value does not satisfy the modeled constraints.
 2631   3372   
    fn try_from(
 2632   3373   
        value: ::std::vec::Vec<::std::string::String>,
 2633   3374   
    ) -> ::std::result::Result<Self, Self::Error> {
 2634   3375   
        let value = Self::check_unique_items(value)?;
 2635   3376   
 2636   3377   
        Ok(Self(value))
 2637   3378   
    }
 2638   3379   
}
 2639   3380   
 2640   3381   
impl ::std::convert::From<UniqueItemsList> for ::std::vec::Vec<::std::string::String> {
 2641   3382   
    fn from(value: UniqueItemsList) -> Self {
 2642   3383   
        value.into_inner()
 2643   3384   
    }
 2644   3385   
}
        3386  +
/* ConstrainedCollectionGenerator.kt:181 */
 2645   3387   
impl crate::constrained::Constrained for UniqueItemsList {
 2646   3388   
    type Unconstrained =
 2647   3389   
        crate::unconstrained::unique_items_list_unconstrained::UniqueItemsListUnconstrained;
 2648   3390   
}
 2649   3391   
        3392  +
/* ConstrainedMapGenerator.kt:78 */
 2650   3393   
#[allow(missing_docs)] // documentation missing in model
 2651         -
///
        3394  +
/// /* ConstrainedMapGenerator.kt:79 */
 2652   3395   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2653   3396   
/// [constraint traits]. Use [`LengthMap::try_from`] to construct values of this type.
 2654   3397   
///
 2655   3398   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2656   3399   
///
        3400  +
/* RustType.kt:516 */
 2657   3401   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
 2658         -
pub struct LengthMap(
        3402  +
pub /* ConstrainedMapGenerator.kt:82 */ struct LengthMap(
 2659   3403   
    pub(crate) ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 2660   3404   
);
        3405  +
/* ConstrainedMapGenerator.kt:83 */
 2661   3406   
impl LengthMap {
        3407  +
    /* ConstrainedMapGenerator.kt:85 */
 2662   3408   
    /// Returns an immutable reference to the underlying [`::std::collections::HashMap<::std::string::String, ::std::string::String>`].
 2663   3409   
    pub fn inner(
 2664   3410   
        &self,
 2665   3411   
    ) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> {
 2666   3412   
        &self.0
 2667   3413   
    }
        3414  +
    /* ConstrainedMapGenerator.kt:95 */
 2668   3415   
    /// Consumes the value, returning the underlying [`::std::collections::HashMap<::std::string::String, ::std::string::String>`].
 2669   3416   
    pub fn into_inner(
 2670   3417   
        self,
 2671   3418   
    ) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> {
 2672   3419   
        self.0
 2673   3420   
    }
        3421  +
    /* ConstrainedMapGenerator.kt:83 */
 2674   3422   
}
        3423  +
/* ConstrainedMapGenerator.kt:106 */
 2675   3424   
impl
 2676   3425   
    ::std::convert::TryFrom<
 2677   3426   
        ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 2678   3427   
    > for LengthMap
 2679   3428   
{
 2680   3429   
    type Error = crate::model::length_map::ConstraintViolation;
 2681   3430   
 2682   3431   
    /// Constructs a `LengthMap` from an [`::std::collections::HashMap<::std::string::String, ::std::string::String>`], failing when the provided value does not satisfy the modeled constraints.
 2683   3432   
    fn try_from(
 2684   3433   
        value: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 2685   3434   
    ) -> ::std::result::Result<Self, Self::Error> {
 2686   3435   
        let length = value.len();
 2687   3436   
        if (1..=69).contains(&length) {
 2688   3437   
            Ok(Self(value))
 2689   3438   
        } else {
 2690   3439   
            Err(crate::model::length_map::ConstraintViolation::Length(
 2691   3440   
                length,
 2692   3441   
            ))
 2693   3442   
        }
 2694   3443   
    }
 2695   3444   
}
 2696   3445   
 2697   3446   
impl ::std::convert::From<LengthMap>
 2698   3447   
    for ::std::collections::HashMap<::std::string::String, ::std::string::String>
 2699   3448   
{
 2700   3449   
    fn from(value: LengthMap) -> Self {
 2701   3450   
        value.into_inner()
 2702   3451   
    }
 2703   3452   
}
        3453  +
/* ConstrainedMapGenerator.kt:164 */
 2704   3454   
impl crate::constrained::Constrained for LengthMap {
 2705   3455   
    type Unconstrained = crate::unconstrained::length_map_unconstrained::LengthMapUnconstrained;
 2706   3456   
}
 2707   3457   
        3458  +
/* ConstrainedCollectionGenerator.kt:93 */
 2708   3459   
#[allow(missing_docs)] // documentation missing in model
 2709         -
///
        3460  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 2710   3461   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2711   3462   
/// [constraint traits]. Use [`SensitiveLengthList::try_from`] to construct values of this type.
 2712   3463   
///
 2713   3464   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2714   3465   
///
        3466  +
/* RustType.kt:516 */
 2715   3467   
#[derive(
 2716   3468   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2717   3469   
)]
 2718         -
pub struct SensitiveLengthList(pub(crate) ::std::vec::Vec<crate::model::SensitiveStructure>);
        3470  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct SensitiveLengthList(
        3471  +
    pub(crate) ::std::vec::Vec<crate::model::SensitiveStructure>,
        3472  +
);
        3473  +
/* ConstrainedCollectionGenerator.kt:104 */
 2719   3474   
impl SensitiveLengthList {
        3475  +
    /* ConstrainedCollectionGenerator.kt:106 */
 2720   3476   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<crate::model::SensitiveStructure>`].
 2721   3477   
    pub fn inner(&self) -> &::std::vec::Vec<crate::model::SensitiveStructure> {
 2722   3478   
        &self.0
 2723   3479   
    }
        3480  +
    /* ConstrainedCollectionGenerator.kt:116 */
 2724   3481   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::SensitiveStructure>`].
 2725   3482   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::SensitiveStructure> {
 2726   3483   
        self.0
 2727   3484   
    }
 2728   3485   
 2729   3486   
    fn check_length(
 2730   3487   
        length: usize,
 2731   3488   
    ) -> ::std::result::Result<(), crate::model::sensitive_length_list::ConstraintViolation> {
 2732   3489   
        if length <= 69 {
 2733   3490   
            Ok(())
 2734   3491   
        } else {
 2735   3492   
            Err(crate::model::sensitive_length_list::ConstraintViolation::Length(length))
 2736   3493   
        }
 2737   3494   
    }
        3495  +
    /* ConstrainedCollectionGenerator.kt:104 */
 2738   3496   
}
        3497  +
/* ConstrainedCollectionGenerator.kt:133 */
 2739   3498   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::SensitiveStructure>>
 2740   3499   
    for SensitiveLengthList
 2741   3500   
{
 2742   3501   
    type Error = crate::model::sensitive_length_list::ConstraintViolation;
 2743   3502   
 2744   3503   
    /// Constructs a `SensitiveLengthList` from an [`::std::vec::Vec<crate::model::SensitiveStructure>`], failing when the provided value does not satisfy the modeled constraints.
 2745   3504   
    fn try_from(
 2746   3505   
        value: ::std::vec::Vec<crate::model::SensitiveStructure>,
 2747   3506   
    ) -> ::std::result::Result<Self, Self::Error> {
 2748   3507   
        Self::check_length(value.len())?;
 2749   3508   
 2750   3509   
        Ok(Self(value))
 2751   3510   
    }
 2752   3511   
}
 2753   3512   
 2754   3513   
impl ::std::convert::From<SensitiveLengthList>
 2755   3514   
    for ::std::vec::Vec<crate::model::SensitiveStructure>
 2756   3515   
{
 2757   3516   
    fn from(value: SensitiveLengthList) -> Self {
 2758   3517   
        value.into_inner()
 2759   3518   
    }
 2760   3519   
}
        3520  +
/* ConstrainedCollectionGenerator.kt:181 */
 2761   3521   
impl crate::constrained::Constrained for SensitiveLengthList {
 2762   3522   
    type Unconstrained =
 2763   3523   
        crate::unconstrained::sensitive_length_list_unconstrained::SensitiveLengthListUnconstrained;
 2764   3524   
}
 2765   3525   
        3526  +
/* StructureGenerator.kt:197 */
 2766   3527   
#[allow(missing_docs)] // documentation missing in model
        3528  +
/* RustType.kt:516 */
 2767   3529   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::hash::Hash)]
 2768         -
pub struct SensitiveStructure {}
        3530  +
pub /* StructureGenerator.kt:201 */ struct SensitiveStructure {/* StructureGenerator.kt:201 */}
        3531  +
/* StructureGenerator.kt:101 */
 2769   3532   
impl ::std::fmt::Debug for SensitiveStructure {
        3533  +
    /* StructureGenerator.kt:105 */
 2770   3534   
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        3535  +
        /* StructureGenerator.kt:106 */
 2771   3536   
        let mut formatter = f.debug_struct("SensitiveStructure");
        3537  +
        /* StructureGenerator.kt:126 */
 2772   3538   
        formatter.finish()
        3539  +
        /* StructureGenerator.kt:105 */
 2773   3540   
    }
        3541  +
    /* StructureGenerator.kt:101 */
 2774   3542   
}
        3543  +
/* ServerCodegenVisitor.kt:345 */
 2775   3544   
impl SensitiveStructure {
 2776         -
    /// Creates a new builder-style object to manufacture [`SensitiveStructure`](crate::model::SensitiveStructure).
        3545  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`SensitiveStructure`](crate::model::SensitiveStructure).
        3546  +
    /* ServerBuilderGenerator.kt:295 */
 2777   3547   
    pub fn builder() -> crate::model::sensitive_structure::Builder {
        3548  +
        /* ServerBuilderGenerator.kt:296 */
 2778   3549   
        crate::model::sensitive_structure::Builder::default()
        3550  +
        /* ServerBuilderGenerator.kt:295 */
 2779   3551   
    }
        3552  +
    /* ServerCodegenVisitor.kt:345 */
 2780   3553   
}
        3554  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
 2781   3555   
impl crate::constrained::Constrained for crate::model::SensitiveStructure {
 2782   3556   
    type Unconstrained = crate::model::sensitive_structure::Builder;
 2783   3557   
}
 2784   3558   
        3559  +
/* ConstrainedCollectionGenerator.kt:93 */
 2785   3560   
#[allow(missing_docs)] // documentation missing in model
 2786         -
///
        3561  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 2787   3562   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2788   3563   
/// [constraint traits]. Use [`LengthList::try_from`] to construct values of this type.
 2789   3564   
///
 2790   3565   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2791   3566   
///
        3567  +
/* RustType.kt:516 */
 2792   3568   
#[derive(
 2793   3569   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2794   3570   
)]
 2795         -
pub struct LengthList(pub(crate) ::std::vec::Vec<::std::string::String>);
        3571  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct LengthList(
        3572  +
    pub(crate) ::std::vec::Vec<::std::string::String>,
        3573  +
);
        3574  +
/* ConstrainedCollectionGenerator.kt:104 */
 2796   3575   
impl LengthList {
        3576  +
    /* ConstrainedCollectionGenerator.kt:106 */
 2797   3577   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<::std::string::String>`].
 2798   3578   
    pub fn inner(&self) -> &::std::vec::Vec<::std::string::String> {
 2799   3579   
        &self.0
 2800   3580   
    }
        3581  +
    /* ConstrainedCollectionGenerator.kt:116 */
 2801   3582   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<::std::string::String>`].
 2802   3583   
    pub fn into_inner(self) -> ::std::vec::Vec<::std::string::String> {
 2803   3584   
        self.0
 2804   3585   
    }
 2805   3586   
 2806   3587   
    fn check_length(
 2807   3588   
        length: usize,
 2808   3589   
    ) -> ::std::result::Result<(), crate::model::length_list::ConstraintViolation> {
 2809   3590   
        if length <= 69 {
 2810   3591   
            Ok(())
 2811   3592   
        } else {
 2812   3593   
            Err(crate::model::length_list::ConstraintViolation::Length(
 2813   3594   
                length,
 2814   3595   
            ))
 2815   3596   
        }
 2816   3597   
    }
        3598  +
    /* ConstrainedCollectionGenerator.kt:104 */
 2817   3599   
}
        3600  +
/* ConstrainedCollectionGenerator.kt:133 */
 2818   3601   
impl ::std::convert::TryFrom<::std::vec::Vec<::std::string::String>> for LengthList {
 2819   3602   
    type Error = crate::model::length_list::ConstraintViolation;
 2820   3603   
 2821   3604   
    /// Constructs a `LengthList` from an [`::std::vec::Vec<::std::string::String>`], failing when the provided value does not satisfy the modeled constraints.
 2822   3605   
    fn try_from(
 2823   3606   
        value: ::std::vec::Vec<::std::string::String>,
 2824   3607   
    ) -> ::std::result::Result<Self, Self::Error> {
 2825   3608   
        Self::check_length(value.len())?;
 2826   3609   
 2827   3610   
        Ok(Self(value))
 2828   3611   
    }
 2829   3612   
}
 2830   3613   
 2831   3614   
impl ::std::convert::From<LengthList> for ::std::vec::Vec<::std::string::String> {
 2832   3615   
    fn from(value: LengthList) -> Self {
 2833   3616   
        value.into_inner()
 2834   3617   
    }
 2835   3618   
}
        3619  +
/* ConstrainedCollectionGenerator.kt:181 */
 2836   3620   
impl crate::constrained::Constrained for LengthList {
 2837   3621   
    type Unconstrained = crate::unconstrained::length_list_unconstrained::LengthListUnconstrained;
 2838   3622   
}
 2839   3623   
        3624  +
/* ConstrainedNumberGenerator.kt:82 */
 2840   3625   
#[allow(missing_docs)] // documentation missing in model
 2841         -
///
        3626  +
/// /* ConstrainedNumberGenerator.kt:83 */
 2842   3627   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2843   3628   
/// [constraint traits]. Use [`FixedValueByte::try_from`] to construct values of this type.
 2844   3629   
///
 2845   3630   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2846   3631   
///
        3632  +
/* RustType.kt:516 */
 2847   3633   
#[derive(
 2848   3634   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2849   3635   
)]
 2850         -
pub struct FixedValueByte(pub(crate) i8);
        3636  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct FixedValueByte(pub(crate) i8);
        3637  +
/* ConstrainedNumberGenerator.kt:91 */
 2851   3638   
impl FixedValueByte {
 2852   3639   
    /// Returns an immutable reference to the underlying [`i8`].
 2853   3640   
    pub fn inner(&self) -> &i8 {
 2854   3641   
        &self.0
 2855   3642   
    }
 2856   3643   
 2857   3644   
    /// Consumes the value, returning the underlying [`i8`].
 2858   3645   
    pub fn into_inner(self) -> i8 {
 2859   3646   
        self.0
 2860   3647   
    }
 2861   3648   
}
 2862   3649   
 2863   3650   
impl crate::constrained::Constrained for FixedValueByte {
 2864   3651   
    type Unconstrained = i8;
 2865   3652   
}
 2866   3653   
 2867   3654   
impl ::std::convert::From<i8>
 2868   3655   
    for crate::constrained::MaybeConstrained<crate::model::FixedValueByte>
 2869   3656   
{
 2870   3657   
    fn from(value: i8) -> Self {
 2871   3658   
        Self::Unconstrained(value)
 2872   3659   
    }
 2873   3660   
}
 2874   3661   
 2875   3662   
impl ::std::fmt::Display for FixedValueByte {
 2876   3663   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2877   3664   
        self.0.fmt(f)
 2878   3665   
    }
 2879   3666   
}
 2880   3667   
 2881   3668   
impl ::std::convert::From<FixedValueByte> for i8 {
 2882   3669   
    fn from(value: FixedValueByte) -> Self {
 2883   3670   
        value.into_inner()
 2884   3671   
    }
 2885   3672   
}
        3673  +
/* TraitInfo.kt:41 */
 2886   3674   
impl FixedValueByte {
 2887   3675   
    fn check_range(
 2888   3676   
        value: i8,
 2889   3677   
    ) -> ::std::result::Result<(), crate::model::fixed_value_byte::ConstraintViolation> {
 2890   3678   
        if (10..=10).contains(&value) {
 2891   3679   
            Ok(())
 2892   3680   
        } else {
 2893   3681   
            Err(crate::model::fixed_value_byte::ConstraintViolation::Range(
 2894   3682   
                value,
 2895   3683   
            ))
 2896   3684   
        }
 2897   3685   
    }
 2898   3686   
}
        3687  +
/* TraitInfo.kt:57 */
 2899   3688   
impl ::std::convert::TryFrom<i8> for FixedValueByte {
 2900   3689   
    type Error = crate::model::fixed_value_byte::ConstraintViolation;
 2901   3690   
 2902   3691   
    /// Constructs a `FixedValueByte` from an [`i8`], failing when the provided value does not satisfy the modeled constraints.
 2903   3692   
    fn try_from(value: i8) -> ::std::result::Result<Self, Self::Error> {
 2904   3693   
        Self::check_range(value)?;
 2905   3694   
 2906   3695   
        Ok(Self(value))
 2907   3696   
    }
 2908   3697   
}
 2909   3698   
        3699  +
/* ConstrainedNumberGenerator.kt:82 */
 2910   3700   
#[allow(missing_docs)] // documentation missing in model
 2911         -
///
        3701  +
/// /* ConstrainedNumberGenerator.kt:83 */
 2912   3702   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2913   3703   
/// [constraint traits]. Use [`MaxRangeByte::try_from`] to construct values of this type.
 2914   3704   
///
 2915   3705   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2916   3706   
///
        3707  +
/* RustType.kt:516 */
 2917   3708   
#[derive(
 2918   3709   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2919   3710   
)]
 2920         -
pub struct MaxRangeByte(pub(crate) i8);
        3711  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct MaxRangeByte(pub(crate) i8);
        3712  +
/* ConstrainedNumberGenerator.kt:91 */
 2921   3713   
impl MaxRangeByte {
 2922   3714   
    /// Returns an immutable reference to the underlying [`i8`].
 2923   3715   
    pub fn inner(&self) -> &i8 {
 2924   3716   
        &self.0
 2925   3717   
    }
 2926   3718   
 2927   3719   
    /// Consumes the value, returning the underlying [`i8`].
 2928   3720   
    pub fn into_inner(self) -> i8 {
 2929   3721   
        self.0
 2930   3722   
    }
 2931   3723   
}
 2932   3724   
 2933   3725   
impl crate::constrained::Constrained for MaxRangeByte {
 2934   3726   
    type Unconstrained = i8;
 2935   3727   
}
 2936   3728   
 2937   3729   
impl ::std::convert::From<i8> for crate::constrained::MaybeConstrained<crate::model::MaxRangeByte> {
 2938   3730   
    fn from(value: i8) -> Self {
 2939   3731   
        Self::Unconstrained(value)
 2940   3732   
    }
 2941   3733   
}
 2942   3734   
 2943   3735   
impl ::std::fmt::Display for MaxRangeByte {
 2944   3736   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2945   3737   
        self.0.fmt(f)
 2946   3738   
    }
 2947   3739   
}
 2948   3740   
 2949   3741   
impl ::std::convert::From<MaxRangeByte> for i8 {
 2950   3742   
    fn from(value: MaxRangeByte) -> Self {
 2951   3743   
        value.into_inner()
 2952   3744   
    }
 2953   3745   
}
        3746  +
/* TraitInfo.kt:41 */
 2954   3747   
impl MaxRangeByte {
 2955   3748   
    fn check_range(
 2956   3749   
        value: i8,
 2957   3750   
    ) -> ::std::result::Result<(), crate::model::max_range_byte::ConstraintViolation> {
 2958   3751   
        if value <= 11 {
 2959   3752   
            Ok(())
 2960   3753   
        } else {
 2961   3754   
            Err(crate::model::max_range_byte::ConstraintViolation::Range(
 2962   3755   
                value,
 2963   3756   
            ))
 2964   3757   
        }
 2965   3758   
    }
 2966   3759   
}
        3760  +
/* TraitInfo.kt:57 */
 2967   3761   
impl ::std::convert::TryFrom<i8> for MaxRangeByte {
 2968   3762   
    type Error = crate::model::max_range_byte::ConstraintViolation;
 2969   3763   
 2970   3764   
    /// Constructs a `MaxRangeByte` from an [`i8`], failing when the provided value does not satisfy the modeled constraints.
 2971   3765   
    fn try_from(value: i8) -> ::std::result::Result<Self, Self::Error> {
 2972   3766   
        Self::check_range(value)?;
 2973   3767   
 2974   3768   
        Ok(Self(value))
 2975   3769   
    }
 2976   3770   
}
 2977   3771   
        3772  +
/* ConstrainedNumberGenerator.kt:82 */
 2978   3773   
#[allow(missing_docs)] // documentation missing in model
 2979         -
///
        3774  +
/// /* ConstrainedNumberGenerator.kt:83 */
 2980   3775   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2981   3776   
/// [constraint traits]. Use [`MinRangeByte::try_from`] to construct values of this type.
 2982   3777   
///
 2983   3778   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2984   3779   
///
        3780  +
/* RustType.kt:516 */
 2985   3781   
#[derive(
 2986   3782   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2987   3783   
)]
 2988         -
pub struct MinRangeByte(pub(crate) i8);
        3784  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct MinRangeByte(pub(crate) i8);
        3785  +
/* ConstrainedNumberGenerator.kt:91 */
 2989   3786   
impl MinRangeByte {
 2990   3787   
    /// Returns an immutable reference to the underlying [`i8`].
 2991   3788   
    pub fn inner(&self) -> &i8 {
 2992   3789   
        &self.0
 2993   3790   
    }
 2994   3791   
 2995   3792   
    /// Consumes the value, returning the underlying [`i8`].
 2996   3793   
    pub fn into_inner(self) -> i8 {
 2997   3794   
        self.0
 2998   3795   
    }
 2999   3796   
}
 3000   3797   
 3001   3798   
impl crate::constrained::Constrained for MinRangeByte {
 3002   3799   
    type Unconstrained = i8;
 3003   3800   
}
 3004   3801   
 3005   3802   
impl ::std::convert::From<i8> for crate::constrained::MaybeConstrained<crate::model::MinRangeByte> {
 3006   3803   
    fn from(value: i8) -> Self {
 3007   3804   
        Self::Unconstrained(value)
 3008   3805   
    }
 3009   3806   
}
 3010   3807   
 3011   3808   
impl ::std::fmt::Display for MinRangeByte {
 3012   3809   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3013   3810   
        self.0.fmt(f)
 3014   3811   
    }
 3015   3812   
}
 3016   3813   
 3017   3814   
impl ::std::convert::From<MinRangeByte> for i8 {
 3018   3815   
    fn from(value: MinRangeByte) -> Self {
 3019   3816   
        value.into_inner()
 3020   3817   
    }
 3021   3818   
}
        3819  +
/* TraitInfo.kt:41 */
 3022   3820   
impl MinRangeByte {
 3023   3821   
    fn check_range(
 3024   3822   
        value: i8,
 3025   3823   
    ) -> ::std::result::Result<(), crate::model::min_range_byte::ConstraintViolation> {
 3026   3824   
        if -10 <= value {
 3027   3825   
            Ok(())
 3028   3826   
        } else {
 3029   3827   
            Err(crate::model::min_range_byte::ConstraintViolation::Range(
 3030   3828   
                value,
 3031   3829   
            ))
 3032   3830   
        }
 3033   3831   
    }
 3034   3832   
}
        3833  +
/* TraitInfo.kt:57 */
 3035   3834   
impl ::std::convert::TryFrom<i8> for MinRangeByte {
 3036   3835   
    type Error = crate::model::min_range_byte::ConstraintViolation;
 3037   3836   
 3038   3837   
    /// Constructs a `MinRangeByte` from an [`i8`], failing when the provided value does not satisfy the modeled constraints.
 3039   3838   
    fn try_from(value: i8) -> ::std::result::Result<Self, Self::Error> {
 3040   3839   
        Self::check_range(value)?;
 3041   3840   
 3042   3841   
        Ok(Self(value))
 3043   3842   
    }
 3044   3843   
}
 3045   3844   
        3845  +
/* ConstrainedNumberGenerator.kt:82 */
 3046   3846   
#[allow(missing_docs)] // documentation missing in model
 3047         -
///
        3847  +
/// /* ConstrainedNumberGenerator.kt:83 */
 3048   3848   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3049   3849   
/// [constraint traits]. Use [`FixedValueLong::try_from`] to construct values of this type.
 3050   3850   
///
 3051   3851   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3052   3852   
///
        3853  +
/* RustType.kt:516 */
 3053   3854   
#[derive(
 3054   3855   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3055   3856   
)]
 3056         -
pub struct FixedValueLong(pub(crate) i64);
        3857  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct FixedValueLong(pub(crate) i64);
        3858  +
/* ConstrainedNumberGenerator.kt:91 */
 3057   3859   
impl FixedValueLong {
 3058   3860   
    /// Returns an immutable reference to the underlying [`i64`].
 3059   3861   
    pub fn inner(&self) -> &i64 {
 3060   3862   
        &self.0
 3061   3863   
    }
 3062   3864   
 3063   3865   
    /// Consumes the value, returning the underlying [`i64`].
 3064   3866   
    pub fn into_inner(self) -> i64 {
 3065   3867   
        self.0
 3066   3868   
    }
 3067   3869   
}
 3068   3870   
 3069   3871   
impl crate::constrained::Constrained for FixedValueLong {
 3070   3872   
    type Unconstrained = i64;
 3071   3873   
}
 3072   3874   
 3073   3875   
impl ::std::convert::From<i64>
 3074   3876   
    for crate::constrained::MaybeConstrained<crate::model::FixedValueLong>
 3075   3877   
{
 3076   3878   
    fn from(value: i64) -> Self {
 3077   3879   
        Self::Unconstrained(value)
 3078   3880   
    }
 3079   3881   
}
 3080   3882   
 3081   3883   
impl ::std::fmt::Display for FixedValueLong {
 3082   3884   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3083   3885   
        self.0.fmt(f)
 3084   3886   
    }
 3085   3887   
}
 3086   3888   
 3087   3889   
impl ::std::convert::From<FixedValueLong> for i64 {
 3088   3890   
    fn from(value: FixedValueLong) -> Self {
 3089   3891   
        value.into_inner()
 3090   3892   
    }
 3091   3893   
}
        3894  +
/* TraitInfo.kt:41 */
 3092   3895   
impl FixedValueLong {
 3093   3896   
    fn check_range(
 3094   3897   
        value: i64,
 3095   3898   
    ) -> ::std::result::Result<(), crate::model::fixed_value_long::ConstraintViolation> {
 3096   3899   
        if (10..=10).contains(&value) {
 3097   3900   
            Ok(())
 3098   3901   
        } else {
 3099   3902   
            Err(crate::model::fixed_value_long::ConstraintViolation::Range(
 3100   3903   
                value,
 3101   3904   
            ))
 3102   3905   
        }
 3103   3906   
    }
 3104   3907   
}
        3908  +
/* TraitInfo.kt:57 */
 3105   3909   
impl ::std::convert::TryFrom<i64> for FixedValueLong {
 3106   3910   
    type Error = crate::model::fixed_value_long::ConstraintViolation;
 3107   3911   
 3108   3912   
    /// Constructs a `FixedValueLong` from an [`i64`], failing when the provided value does not satisfy the modeled constraints.
 3109   3913   
    fn try_from(value: i64) -> ::std::result::Result<Self, Self::Error> {
 3110   3914   
        Self::check_range(value)?;
 3111   3915   
 3112   3916   
        Ok(Self(value))
 3113   3917   
    }
 3114   3918   
}
 3115   3919   
        3920  +
/* ConstrainedNumberGenerator.kt:82 */
 3116   3921   
#[allow(missing_docs)] // documentation missing in model
 3117         -
///
        3922  +
/// /* ConstrainedNumberGenerator.kt:83 */
 3118   3923   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3119   3924   
/// [constraint traits]. Use [`MaxRangeLong::try_from`] to construct values of this type.
 3120   3925   
///
 3121   3926   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3122   3927   
///
        3928  +
/* RustType.kt:516 */
 3123   3929   
#[derive(
 3124   3930   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3125   3931   
)]
 3126         -
pub struct MaxRangeLong(pub(crate) i64);
        3932  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct MaxRangeLong(pub(crate) i64);
        3933  +
/* ConstrainedNumberGenerator.kt:91 */
 3127   3934   
impl MaxRangeLong {
 3128   3935   
    /// Returns an immutable reference to the underlying [`i64`].
 3129   3936   
    pub fn inner(&self) -> &i64 {
 3130   3937   
        &self.0
 3131   3938   
    }
 3132   3939   
 3133   3940   
    /// Consumes the value, returning the underlying [`i64`].
 3134   3941   
    pub fn into_inner(self) -> i64 {
 3135   3942   
        self.0
 3136   3943   
    }
 3137   3944   
}
 3138   3945   
 3139   3946   
impl crate::constrained::Constrained for MaxRangeLong {
 3140   3947   
    type Unconstrained = i64;
 3141   3948   
}
 3142   3949   
 3143   3950   
impl ::std::convert::From<i64>
 3144   3951   
    for crate::constrained::MaybeConstrained<crate::model::MaxRangeLong>
 3145   3952   
{
 3146   3953   
    fn from(value: i64) -> Self {
 3147   3954   
        Self::Unconstrained(value)
 3148   3955   
    }
 3149   3956   
}
 3150   3957   
 3151   3958   
impl ::std::fmt::Display for MaxRangeLong {
 3152   3959   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3153   3960   
        self.0.fmt(f)
 3154   3961   
    }
 3155   3962   
}
 3156   3963   
 3157   3964   
impl ::std::convert::From<MaxRangeLong> for i64 {
 3158   3965   
    fn from(value: MaxRangeLong) -> Self {
 3159   3966   
        value.into_inner()
 3160   3967   
    }
 3161   3968   
}
        3969  +
/* TraitInfo.kt:41 */
 3162   3970   
impl MaxRangeLong {
 3163   3971   
    fn check_range(
 3164   3972   
        value: i64,
 3165   3973   
    ) -> ::std::result::Result<(), crate::model::max_range_long::ConstraintViolation> {
 3166   3974   
        if value <= 11 {
 3167   3975   
            Ok(())
 3168   3976   
        } else {
 3169   3977   
            Err(crate::model::max_range_long::ConstraintViolation::Range(
 3170   3978   
                value,
 3171   3979   
            ))
 3172   3980   
        }
 3173   3981   
    }
 3174   3982   
}
        3983  +
/* TraitInfo.kt:57 */
 3175   3984   
impl ::std::convert::TryFrom<i64> for MaxRangeLong {
 3176   3985   
    type Error = crate::model::max_range_long::ConstraintViolation;
 3177   3986   
 3178   3987   
    /// Constructs a `MaxRangeLong` from an [`i64`], failing when the provided value does not satisfy the modeled constraints.
 3179   3988   
    fn try_from(value: i64) -> ::std::result::Result<Self, Self::Error> {
 3180   3989   
        Self::check_range(value)?;
 3181   3990   
 3182   3991   
        Ok(Self(value))
 3183   3992   
    }
 3184   3993   
}
 3185   3994   
        3995  +
/* ConstrainedNumberGenerator.kt:82 */
 3186   3996   
#[allow(missing_docs)] // documentation missing in model
 3187         -
///
        3997  +
/// /* ConstrainedNumberGenerator.kt:83 */
 3188   3998   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3189   3999   
/// [constraint traits]. Use [`MinRangeLong::try_from`] to construct values of this type.
 3190   4000   
///
 3191   4001   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3192   4002   
///
        4003  +
/* RustType.kt:516 */
 3193   4004   
#[derive(
 3194   4005   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3195   4006   
)]
 3196         -
pub struct MinRangeLong(pub(crate) i64);
        4007  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct MinRangeLong(pub(crate) i64);
        4008  +
/* ConstrainedNumberGenerator.kt:91 */
 3197   4009   
impl MinRangeLong {
 3198   4010   
    /// Returns an immutable reference to the underlying [`i64`].
 3199   4011   
    pub fn inner(&self) -> &i64 {
 3200   4012   
        &self.0
 3201   4013   
    }
 3202   4014   
 3203   4015   
    /// Consumes the value, returning the underlying [`i64`].
 3204   4016   
    pub fn into_inner(self) -> i64 {
 3205   4017   
        self.0
 3206   4018   
    }
 3207   4019   
}
 3208   4020   
 3209   4021   
impl crate::constrained::Constrained for MinRangeLong {
 3210   4022   
    type Unconstrained = i64;
 3211   4023   
}
 3212   4024   
 3213   4025   
impl ::std::convert::From<i64>
 3214   4026   
    for crate::constrained::MaybeConstrained<crate::model::MinRangeLong>
 3215   4027   
{
 3216   4028   
    fn from(value: i64) -> Self {
 3217   4029   
        Self::Unconstrained(value)
 3218   4030   
    }
 3219   4031   
}
 3220   4032   
 3221   4033   
impl ::std::fmt::Display for MinRangeLong {
 3222   4034   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3223   4035   
        self.0.fmt(f)
 3224   4036   
    }
 3225   4037   
}
 3226   4038   
 3227   4039   
impl ::std::convert::From<MinRangeLong> for i64 {
 3228   4040   
    fn from(value: MinRangeLong) -> Self {
 3229   4041   
        value.into_inner()
 3230   4042   
    }
 3231   4043   
}
        4044  +
/* TraitInfo.kt:41 */
 3232   4045   
impl MinRangeLong {
 3233   4046   
    fn check_range(
 3234   4047   
        value: i64,
 3235   4048   
    ) -> ::std::result::Result<(), crate::model::min_range_long::ConstraintViolation> {
 3236   4049   
        if -10 <= value {
 3237   4050   
            Ok(())
 3238   4051   
        } else {
 3239   4052   
            Err(crate::model::min_range_long::ConstraintViolation::Range(
 3240   4053   
                value,
 3241   4054   
            ))
 3242   4055   
        }
 3243   4056   
    }
 3244   4057   
}
        4058  +
/* TraitInfo.kt:57 */
 3245   4059   
impl ::std::convert::TryFrom<i64> for MinRangeLong {
 3246   4060   
    type Error = crate::model::min_range_long::ConstraintViolation;
 3247   4061   
 3248   4062   
    /// Constructs a `MinRangeLong` from an [`i64`], failing when the provided value does not satisfy the modeled constraints.
 3249   4063   
    fn try_from(value: i64) -> ::std::result::Result<Self, Self::Error> {
 3250   4064   
        Self::check_range(value)?;
 3251   4065   
 3252   4066   
        Ok(Self(value))
 3253   4067   
    }
 3254   4068   
}
 3255   4069   
        4070  +
/* ConstrainedNumberGenerator.kt:82 */
 3256   4071   
#[allow(missing_docs)] // documentation missing in model
 3257         -
///
        4072  +
/// /* ConstrainedNumberGenerator.kt:83 */
 3258   4073   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3259   4074   
/// [constraint traits]. Use [`FixedValueShort::try_from`] to construct values of this type.
 3260   4075   
///
 3261   4076   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3262   4077   
///
        4078  +
/* RustType.kt:516 */
 3263   4079   
#[derive(
 3264   4080   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3265   4081   
)]
 3266         -
pub struct FixedValueShort(pub(crate) i16);
        4082  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct FixedValueShort(pub(crate) i16);
        4083  +
/* ConstrainedNumberGenerator.kt:91 */
 3267   4084   
impl FixedValueShort {
 3268   4085   
    /// Returns an immutable reference to the underlying [`i16`].
 3269   4086   
    pub fn inner(&self) -> &i16 {
 3270   4087   
        &self.0
 3271   4088   
    }
 3272   4089   
 3273   4090   
    /// Consumes the value, returning the underlying [`i16`].
 3274   4091   
    pub fn into_inner(self) -> i16 {
 3275   4092   
        self.0
 3276   4093   
    }
 3277   4094   
}
 3278   4095   
 3279   4096   
impl crate::constrained::Constrained for FixedValueShort {
 3280   4097   
    type Unconstrained = i16;
 3281   4098   
}
 3282   4099   
 3283   4100   
impl ::std::convert::From<i16>
 3284   4101   
    for crate::constrained::MaybeConstrained<crate::model::FixedValueShort>
 3285   4102   
{
 3286   4103   
    fn from(value: i16) -> Self {
 3287   4104   
        Self::Unconstrained(value)
 3288   4105   
    }
 3289   4106   
}
 3290   4107   
 3291   4108   
impl ::std::fmt::Display for FixedValueShort {
 3292   4109   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3293   4110   
        self.0.fmt(f)
 3294   4111   
    }
 3295   4112   
}
 3296   4113   
 3297   4114   
impl ::std::convert::From<FixedValueShort> for i16 {
 3298   4115   
    fn from(value: FixedValueShort) -> Self {
 3299   4116   
        value.into_inner()
 3300   4117   
    }
 3301   4118   
}
        4119  +
/* TraitInfo.kt:41 */
 3302   4120   
impl FixedValueShort {
 3303   4121   
    fn check_range(
 3304   4122   
        value: i16,
 3305   4123   
    ) -> ::std::result::Result<(), crate::model::fixed_value_short::ConstraintViolation> {
 3306   4124   
        if (10..=10).contains(&value) {
 3307   4125   
            Ok(())
 3308   4126   
        } else {
 3309   4127   
            Err(crate::model::fixed_value_short::ConstraintViolation::Range(
 3310   4128   
                value,
 3311   4129   
            ))
 3312   4130   
        }
 3313   4131   
    }
 3314   4132   
}
        4133  +
/* TraitInfo.kt:57 */
 3315   4134   
impl ::std::convert::TryFrom<i16> for FixedValueShort {
 3316   4135   
    type Error = crate::model::fixed_value_short::ConstraintViolation;
 3317   4136   
 3318   4137   
    /// Constructs a `FixedValueShort` from an [`i16`], failing when the provided value does not satisfy the modeled constraints.
 3319   4138   
    fn try_from(value: i16) -> ::std::result::Result<Self, Self::Error> {
 3320   4139   
        Self::check_range(value)?;
 3321   4140   
 3322   4141   
        Ok(Self(value))
 3323   4142   
    }
 3324   4143   
}
 3325   4144   
        4145  +
/* ConstrainedNumberGenerator.kt:82 */
 3326   4146   
#[allow(missing_docs)] // documentation missing in model
 3327         -
///
        4147  +
/// /* ConstrainedNumberGenerator.kt:83 */
 3328   4148   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3329   4149   
/// [constraint traits]. Use [`MaxRangeShort::try_from`] to construct values of this type.
 3330   4150   
///
 3331   4151   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3332   4152   
///
        4153  +
/* RustType.kt:516 */
 3333   4154   
#[derive(
 3334   4155   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3335   4156   
)]
 3336         -
pub struct MaxRangeShort(pub(crate) i16);
        4157  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct MaxRangeShort(pub(crate) i16);
        4158  +
/* ConstrainedNumberGenerator.kt:91 */
 3337   4159   
impl MaxRangeShort {
 3338   4160   
    /// Returns an immutable reference to the underlying [`i16`].
 3339   4161   
    pub fn inner(&self) -> &i16 {
 3340   4162   
        &self.0
 3341   4163   
    }
 3342   4164   
 3343   4165   
    /// Consumes the value, returning the underlying [`i16`].
 3344   4166   
    pub fn into_inner(self) -> i16 {
 3345   4167   
        self.0
 3346   4168   
    }
 3347   4169   
}
 3348   4170   
 3349   4171   
impl crate::constrained::Constrained for MaxRangeShort {
 3350   4172   
    type Unconstrained = i16;
 3351   4173   
}
 3352   4174   
 3353   4175   
impl ::std::convert::From<i16>
 3354   4176   
    for crate::constrained::MaybeConstrained<crate::model::MaxRangeShort>
 3355   4177   
{
 3356   4178   
    fn from(value: i16) -> Self {
 3357   4179   
        Self::Unconstrained(value)
 3358   4180   
    }
 3359   4181   
}
 3360   4182   
 3361   4183   
impl ::std::fmt::Display for MaxRangeShort {
 3362   4184   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3363   4185   
        self.0.fmt(f)
 3364   4186   
    }
 3365   4187   
}
 3366   4188   
 3367   4189   
impl ::std::convert::From<MaxRangeShort> for i16 {
 3368   4190   
    fn from(value: MaxRangeShort) -> Self {
 3369   4191   
        value.into_inner()
 3370   4192   
    }
 3371   4193   
}
        4194  +
/* TraitInfo.kt:41 */
 3372   4195   
impl MaxRangeShort {
 3373   4196   
    fn check_range(
 3374   4197   
        value: i16,
 3375   4198   
    ) -> ::std::result::Result<(), crate::model::max_range_short::ConstraintViolation> {
 3376   4199   
        if value <= 11 {
 3377   4200   
            Ok(())
 3378   4201   
        } else {
 3379   4202   
            Err(crate::model::max_range_short::ConstraintViolation::Range(
 3380   4203   
                value,
 3381   4204   
            ))
 3382   4205   
        }
 3383   4206   
    }
 3384   4207   
}
        4208  +
/* TraitInfo.kt:57 */
 3385   4209   
impl ::std::convert::TryFrom<i16> for MaxRangeShort {
 3386   4210   
    type Error = crate::model::max_range_short::ConstraintViolation;
 3387   4211   
 3388   4212   
    /// Constructs a `MaxRangeShort` from an [`i16`], failing when the provided value does not satisfy the modeled constraints.
 3389   4213   
    fn try_from(value: i16) -> ::std::result::Result<Self, Self::Error> {
 3390   4214   
        Self::check_range(value)?;
 3391   4215   
 3392   4216   
        Ok(Self(value))
 3393   4217   
    }
 3394   4218   
}
 3395   4219   
        4220  +
/* ConstrainedNumberGenerator.kt:82 */
 3396   4221   
#[allow(missing_docs)] // documentation missing in model
 3397         -
///
        4222  +
/// /* ConstrainedNumberGenerator.kt:83 */
 3398   4223   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3399   4224   
/// [constraint traits]. Use [`MinRangeShort::try_from`] to construct values of this type.
 3400   4225   
///
 3401   4226   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3402   4227   
///
        4228  +
/* RustType.kt:516 */
 3403   4229   
#[derive(
 3404   4230   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3405   4231   
)]
 3406         -
pub struct MinRangeShort(pub(crate) i16);
        4232  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct MinRangeShort(pub(crate) i16);
        4233  +
/* ConstrainedNumberGenerator.kt:91 */
 3407   4234   
impl MinRangeShort {
 3408   4235   
    /// Returns an immutable reference to the underlying [`i16`].
 3409   4236   
    pub fn inner(&self) -> &i16 {
 3410   4237   
        &self.0
 3411   4238   
    }
 3412   4239   
 3413   4240   
    /// Consumes the value, returning the underlying [`i16`].
 3414   4241   
    pub fn into_inner(self) -> i16 {
 3415   4242   
        self.0
 3416   4243   
    }
 3417   4244   
}
 3418   4245   
 3419   4246   
impl crate::constrained::Constrained for MinRangeShort {
 3420   4247   
    type Unconstrained = i16;
 3421   4248   
}
 3422   4249   
 3423   4250   
impl ::std::convert::From<i16>
 3424   4251   
    for crate::constrained::MaybeConstrained<crate::model::MinRangeShort>
 3425   4252   
{
 3426   4253   
    fn from(value: i16) -> Self {
 3427   4254   
        Self::Unconstrained(value)
 3428   4255   
    }
 3429   4256   
}
 3430   4257   
 3431   4258   
impl ::std::fmt::Display for MinRangeShort {
 3432   4259   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3433   4260   
        self.0.fmt(f)
 3434   4261   
    }
 3435   4262   
}
 3436   4263   
 3437   4264   
impl ::std::convert::From<MinRangeShort> for i16 {
 3438   4265   
    fn from(value: MinRangeShort) -> Self {
 3439   4266   
        value.into_inner()
 3440   4267   
    }
 3441   4268   
}
        4269  +
/* TraitInfo.kt:41 */
 3442   4270   
impl MinRangeShort {
 3443   4271   
    fn check_range(
 3444   4272   
        value: i16,
 3445   4273   
    ) -> ::std::result::Result<(), crate::model::min_range_short::ConstraintViolation> {
 3446   4274   
        if -10 <= value {
 3447   4275   
            Ok(())
 3448   4276   
        } else {
 3449   4277   
            Err(crate::model::min_range_short::ConstraintViolation::Range(
 3450   4278   
                value,
 3451   4279   
            ))
 3452   4280   
        }
 3453   4281   
    }
 3454   4282   
}
        4283  +
/* TraitInfo.kt:57 */
 3455   4284   
impl ::std::convert::TryFrom<i16> for MinRangeShort {
 3456   4285   
    type Error = crate::model::min_range_short::ConstraintViolation;
 3457   4286   
 3458   4287   
    /// Constructs a `MinRangeShort` from an [`i16`], failing when the provided value does not satisfy the modeled constraints.
 3459   4288   
    fn try_from(value: i16) -> ::std::result::Result<Self, Self::Error> {
 3460   4289   
        Self::check_range(value)?;
 3461   4290   
 3462   4291   
        Ok(Self(value))
 3463   4292   
    }
 3464   4293   
}
 3465   4294   
        4295  +
/* ConstrainedNumberGenerator.kt:82 */
 3466   4296   
#[allow(missing_docs)] // documentation missing in model
 3467         -
///
        4297  +
/// /* ConstrainedNumberGenerator.kt:83 */
 3468   4298   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3469   4299   
/// [constraint traits]. Use [`FixedValueInteger::try_from`] to construct values of this type.
 3470   4300   
///
 3471   4301   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3472   4302   
///
        4303  +
/* RustType.kt:516 */
 3473   4304   
#[derive(
 3474   4305   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3475   4306   
)]
 3476         -
pub struct FixedValueInteger(pub(crate) i32);
        4307  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct FixedValueInteger(pub(crate) i32);
        4308  +
/* ConstrainedNumberGenerator.kt:91 */
 3477   4309   
impl FixedValueInteger {
 3478   4310   
    /// Returns an immutable reference to the underlying [`i32`].
 3479   4311   
    pub fn inner(&self) -> &i32 {
 3480   4312   
        &self.0
 3481   4313   
    }
 3482   4314   
 3483   4315   
    /// Consumes the value, returning the underlying [`i32`].
 3484   4316   
    pub fn into_inner(self) -> i32 {
 3485   4317   
        self.0
 3486   4318   
    }
 3487   4319   
}
 3488   4320   
 3489   4321   
impl crate::constrained::Constrained for FixedValueInteger {
 3490   4322   
    type Unconstrained = i32;
 3491   4323   
}
 3492   4324   
 3493   4325   
impl ::std::convert::From<i32>
 3494   4326   
    for crate::constrained::MaybeConstrained<crate::model::FixedValueInteger>
 3495   4327   
{
 3496   4328   
    fn from(value: i32) -> Self {
 3497   4329   
        Self::Unconstrained(value)
 3498   4330   
    }
 3499   4331   
}
 3500   4332   
 3501   4333   
impl ::std::fmt::Display for FixedValueInteger {
 3502   4334   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3503   4335   
        self.0.fmt(f)
 3504   4336   
    }
 3505   4337   
}
 3506   4338   
 3507   4339   
impl ::std::convert::From<FixedValueInteger> for i32 {
 3508   4340   
    fn from(value: FixedValueInteger) -> Self {
 3509   4341   
        value.into_inner()
 3510   4342   
    }
 3511   4343   
}
        4344  +
/* TraitInfo.kt:41 */
 3512   4345   
impl FixedValueInteger {
 3513   4346   
    fn check_range(
 3514   4347   
        value: i32,
 3515   4348   
    ) -> ::std::result::Result<(), crate::model::fixed_value_integer::ConstraintViolation> {
 3516   4349   
        if (69..=69).contains(&value) {
 3517   4350   
            Ok(())
 3518   4351   
        } else {
 3519   4352   
            Err(crate::model::fixed_value_integer::ConstraintViolation::Range(value))
 3520   4353   
        }
 3521   4354   
    }
 3522   4355   
}
        4356  +
/* TraitInfo.kt:57 */
 3523   4357   
impl ::std::convert::TryFrom<i32> for FixedValueInteger {
 3524   4358   
    type Error = crate::model::fixed_value_integer::ConstraintViolation;
 3525   4359   
 3526   4360   
    /// Constructs a `FixedValueInteger` from an [`i32`], failing when the provided value does not satisfy the modeled constraints.
 3527   4361   
    fn try_from(value: i32) -> ::std::result::Result<Self, Self::Error> {
 3528   4362   
        Self::check_range(value)?;
 3529   4363   
 3530   4364   
        Ok(Self(value))
 3531   4365   
    }
 3532   4366   
}
 3533   4367   
        4368  +
/* ConstrainedNumberGenerator.kt:82 */
 3534   4369   
#[allow(missing_docs)] // documentation missing in model
 3535         -
///
        4370  +
/// /* ConstrainedNumberGenerator.kt:83 */
 3536   4371   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3537   4372   
/// [constraint traits]. Use [`MaxRangeInteger::try_from`] to construct values of this type.
 3538   4373   
///
 3539   4374   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3540   4375   
///
        4376  +
/* RustType.kt:516 */
 3541   4377   
#[derive(
 3542   4378   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3543   4379   
)]
 3544         -
pub struct MaxRangeInteger(pub(crate) i32);
        4380  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct MaxRangeInteger(pub(crate) i32);
        4381  +
/* ConstrainedNumberGenerator.kt:91 */
 3545   4382   
impl MaxRangeInteger {
 3546   4383   
    /// Returns an immutable reference to the underlying [`i32`].
 3547   4384   
    pub fn inner(&self) -> &i32 {
 3548   4385   
        &self.0
 3549   4386   
    }
 3550   4387   
 3551   4388   
    /// Consumes the value, returning the underlying [`i32`].
 3552   4389   
    pub fn into_inner(self) -> i32 {
 3553   4390   
        self.0
 3554   4391   
    }
 3555   4392   
}
 3556   4393   
 3557   4394   
impl crate::constrained::Constrained for MaxRangeInteger {
 3558   4395   
    type Unconstrained = i32;
 3559   4396   
}
 3560   4397   
 3561   4398   
impl ::std::convert::From<i32>
 3562   4399   
    for crate::constrained::MaybeConstrained<crate::model::MaxRangeInteger>
 3563   4400   
{
 3564   4401   
    fn from(value: i32) -> Self {
 3565   4402   
        Self::Unconstrained(value)
 3566   4403   
    }
 3567   4404   
}
 3568   4405   
 3569   4406   
impl ::std::fmt::Display for MaxRangeInteger {
 3570   4407   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3571   4408   
        self.0.fmt(f)
 3572   4409   
    }
 3573   4410   
}
 3574   4411   
 3575   4412   
impl ::std::convert::From<MaxRangeInteger> for i32 {
 3576   4413   
    fn from(value: MaxRangeInteger) -> Self {
 3577   4414   
        value.into_inner()
 3578   4415   
    }
 3579   4416   
}
        4417  +
/* TraitInfo.kt:41 */
 3580   4418   
impl MaxRangeInteger {
 3581   4419   
    fn check_range(
 3582   4420   
        value: i32,
 3583   4421   
    ) -> ::std::result::Result<(), crate::model::max_range_integer::ConstraintViolation> {
 3584   4422   
        if value <= 69 {
 3585   4423   
            Ok(())
 3586   4424   
        } else {
 3587   4425   
            Err(crate::model::max_range_integer::ConstraintViolation::Range(
 3588   4426   
                value,
 3589   4427   
            ))
 3590   4428   
        }
 3591   4429   
    }
 3592   4430   
}
        4431  +
/* TraitInfo.kt:57 */
 3593   4432   
impl ::std::convert::TryFrom<i32> for MaxRangeInteger {
 3594   4433   
    type Error = crate::model::max_range_integer::ConstraintViolation;
 3595   4434   
 3596   4435   
    /// Constructs a `MaxRangeInteger` from an [`i32`], failing when the provided value does not satisfy the modeled constraints.
 3597   4436   
    fn try_from(value: i32) -> ::std::result::Result<Self, Self::Error> {
 3598   4437   
        Self::check_range(value)?;
 3599   4438   
 3600   4439   
        Ok(Self(value))
 3601   4440   
    }
 3602   4441   
}
 3603   4442   
        4443  +
/* ConstrainedNumberGenerator.kt:82 */
 3604   4444   
#[allow(missing_docs)] // documentation missing in model
 3605         -
///
        4445  +
/// /* ConstrainedNumberGenerator.kt:83 */
 3606   4446   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3607   4447   
/// [constraint traits]. Use [`MinRangeInteger::try_from`] to construct values of this type.
 3608   4448   
///
 3609   4449   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3610   4450   
///
        4451  +
/* RustType.kt:516 */
 3611   4452   
#[derive(
 3612   4453   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3613   4454   
)]
 3614         -
pub struct MinRangeInteger(pub(crate) i32);
        4455  +
pub /* ConstrainedNumberGenerator.kt:86 */ struct MinRangeInteger(pub(crate) i32);
        4456  +
/* ConstrainedNumberGenerator.kt:91 */
 3615   4457   
impl MinRangeInteger {
 3616   4458   
    /// Returns an immutable reference to the underlying [`i32`].
 3617   4459   
    pub fn inner(&self) -> &i32 {
 3618   4460   
        &self.0
 3619   4461   
    }
 3620   4462   
 3621   4463   
    /// Consumes the value, returning the underlying [`i32`].
 3622   4464   
    pub fn into_inner(self) -> i32 {
 3623   4465   
        self.0
 3624   4466   
    }
 3625   4467   
}
 3626   4468   
 3627   4469   
impl crate::constrained::Constrained for MinRangeInteger {
 3628   4470   
    type Unconstrained = i32;
 3629   4471   
}
 3630   4472   
 3631   4473   
impl ::std::convert::From<i32>
 3632   4474   
    for crate::constrained::MaybeConstrained<crate::model::MinRangeInteger>
 3633   4475   
{
 3634   4476   
    fn from(value: i32) -> Self {
 3635   4477   
        Self::Unconstrained(value)
 3636   4478   
    }
 3637   4479   
}
 3638   4480   
 3639   4481   
impl ::std::fmt::Display for MinRangeInteger {
 3640   4482   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3641   4483   
        self.0.fmt(f)
 3642   4484   
    }
 3643   4485   
}
 3644   4486   
 3645   4487   
impl ::std::convert::From<MinRangeInteger> for i32 {
 3646   4488   
    fn from(value: MinRangeInteger) -> Self {
 3647   4489   
        value.into_inner()
 3648   4490   
    }
 3649   4491   
}
        4492  +
/* TraitInfo.kt:41 */
 3650   4493   
impl MinRangeInteger {
 3651   4494   
    fn check_range(
 3652   4495   
        value: i32,
 3653   4496   
    ) -> ::std::result::Result<(), crate::model::min_range_integer::ConstraintViolation> {
 3654   4497   
        if -10 <= value {
 3655   4498   
            Ok(())
 3656   4499   
        } else {
 3657   4500   
            Err(crate::model::min_range_integer::ConstraintViolation::Range(
 3658   4501   
                value,
 3659   4502   
            ))
 3660   4503   
        }
 3661   4504   
    }
 3662   4505   
}
        4506  +
/* TraitInfo.kt:57 */
 3663   4507   
impl ::std::convert::TryFrom<i32> for MinRangeInteger {
 3664   4508   
    type Error = crate::model::min_range_integer::ConstraintViolation;
 3665   4509   
 3666   4510   
    /// Constructs a `MinRangeInteger` from an [`i32`], failing when the provided value does not satisfy the modeled constraints.
 3667   4511   
    fn try_from(value: i32) -> ::std::result::Result<Self, Self::Error> {
 3668   4512   
        Self::check_range(value)?;
 3669   4513   
 3670   4514   
        Ok(Self(value))
 3671   4515   
    }
 3672   4516   
}
 3673   4517   
        4518  +
/* ConstrainedBlobGenerator.kt:66 */
 3674   4519   
#[allow(missing_docs)] // documentation missing in model
 3675         -
///
        4520  +
/// /* ConstrainedBlobGenerator.kt:67 */
 3676   4521   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3677   4522   
/// [constraint traits]. Use [`FixedLengthBlob::try_from`] to construct values of this type.
 3678   4523   
///
 3679   4524   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3680   4525   
///
        4526  +
/* RustType.kt:516 */
 3681   4527   
#[derive(
 3682   4528   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3683   4529   
)]
 3684         -
pub struct FixedLengthBlob(pub(crate) ::aws_smithy_types::Blob);
        4530  +
pub /* ConstrainedBlobGenerator.kt:70 */ struct FixedLengthBlob(
        4531  +
    pub(crate) ::aws_smithy_types::Blob,
        4532  +
);
        4533  +
/* ConstrainedBlobGenerator.kt:71 */
 3685   4534   
impl FixedLengthBlob {
        4535  +
    /* ConstrainedBlobGenerator.kt:73 */
 3686   4536   
    /// Returns an immutable reference to the underlying [`::aws_smithy_types::Blob`].
 3687   4537   
    pub fn inner(&self) -> &::aws_smithy_types::Blob {
 3688   4538   
        &self.0
 3689   4539   
    }
        4540  +
    /* ConstrainedBlobGenerator.kt:82 */
 3690   4541   
    /// Consumes the value, returning the underlying [`::aws_smithy_types::Blob`].
 3691   4542   
    pub fn into_inner(self) -> ::aws_smithy_types::Blob {
 3692   4543   
        self.0
 3693   4544   
    }
        4545  +
    /* ConstrainedBlobGenerator.kt:71 */
 3694   4546   
}
        4547  +
/* TraitInfo.kt:41 */
 3695   4548   
impl FixedLengthBlob {
 3696   4549   
    fn check_length(
 3697   4550   
        blob: &::aws_smithy_types::Blob,
 3698   4551   
    ) -> ::std::result::Result<(), crate::model::fixed_length_blob::ConstraintViolation> {
 3699   4552   
        let length = blob.as_ref().len();
 3700   4553   
 3701   4554   
        if (70..=70).contains(&length) {
 3702   4555   
            Ok(())
 3703   4556   
        } else {
 3704   4557   
            Err(crate::model::fixed_length_blob::ConstraintViolation::Length(length))
 3705   4558   
        }
 3706   4559   
    }
 3707   4560   
}
        4561  +
/* TraitInfo.kt:57 */
 3708   4562   
impl ::std::convert::TryFrom<::aws_smithy_types::Blob> for FixedLengthBlob {
 3709   4563   
    type Error = crate::model::fixed_length_blob::ConstraintViolation;
 3710   4564   
 3711   4565   
    /// Constructs a `FixedLengthBlob` from an [`::aws_smithy_types::Blob`], failing when the provided value does not satisfy the modeled constraints.
 3712   4566   
    fn try_from(value: ::aws_smithy_types::Blob) -> ::std::result::Result<Self, Self::Error> {
 3713   4567   
        Self::check_length(&value)?;
 3714   4568   
 3715   4569   
        Ok(Self(value))
 3716   4570   
    }
 3717   4571   
}
        4572  +
/* ConstrainedBlobGenerator.kt:94 */
 3718   4573   
impl crate::constrained::Constrained for FixedLengthBlob {
 3719   4574   
    type Unconstrained = ::aws_smithy_types::Blob;
 3720   4575   
}
 3721   4576   
 3722   4577   
impl ::std::convert::From<::aws_smithy_types::Blob>
 3723   4578   
    for crate::constrained::MaybeConstrained<crate::model::FixedLengthBlob>
 3724   4579   
{
 3725   4580   
    fn from(value: ::aws_smithy_types::Blob) -> Self {
 3726   4581   
        Self::Unconstrained(value)
 3727   4582   
    }
 3728   4583   
}
 3729   4584   
 3730   4585   
impl ::std::convert::From<FixedLengthBlob> for ::aws_smithy_types::Blob {
 3731   4586   
    fn from(value: FixedLengthBlob) -> Self {
 3732   4587   
        value.into_inner()
 3733   4588   
    }
 3734   4589   
}
 3735   4590   
        4591  +
/* ConstrainedBlobGenerator.kt:66 */
 3736   4592   
#[allow(missing_docs)] // documentation missing in model
 3737         -
///
        4593  +
/// /* ConstrainedBlobGenerator.kt:67 */
 3738   4594   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3739   4595   
/// [constraint traits]. Use [`MaxLengthBlob::try_from`] to construct values of this type.
 3740   4596   
///
 3741   4597   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3742   4598   
///
        4599  +
/* RustType.kt:516 */
 3743   4600   
#[derive(
 3744   4601   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3745   4602   
)]
 3746         -
pub struct MaxLengthBlob(pub(crate) ::aws_smithy_types::Blob);
        4603  +
pub /* ConstrainedBlobGenerator.kt:70 */ struct MaxLengthBlob(pub(crate) ::aws_smithy_types::Blob);
        4604  +
/* ConstrainedBlobGenerator.kt:71 */
 3747   4605   
impl MaxLengthBlob {
        4606  +
    /* ConstrainedBlobGenerator.kt:73 */
 3748   4607   
    /// Returns an immutable reference to the underlying [`::aws_smithy_types::Blob`].
 3749   4608   
    pub fn inner(&self) -> &::aws_smithy_types::Blob {
 3750   4609   
        &self.0
 3751   4610   
    }
        4611  +
    /* ConstrainedBlobGenerator.kt:82 */
 3752   4612   
    /// Consumes the value, returning the underlying [`::aws_smithy_types::Blob`].
 3753   4613   
    pub fn into_inner(self) -> ::aws_smithy_types::Blob {
 3754   4614   
        self.0
 3755   4615   
    }
        4616  +
    /* ConstrainedBlobGenerator.kt:71 */
 3756   4617   
}
        4618  +
/* TraitInfo.kt:41 */
 3757   4619   
impl MaxLengthBlob {
 3758   4620   
    fn check_length(
 3759   4621   
        blob: &::aws_smithy_types::Blob,
 3760   4622   
    ) -> ::std::result::Result<(), crate::model::max_length_blob::ConstraintViolation> {
 3761   4623   
        let length = blob.as_ref().len();
 3762   4624   
 3763   4625   
        if length <= 70 {
 3764   4626   
            Ok(())
 3765   4627   
        } else {
 3766   4628   
            Err(crate::model::max_length_blob::ConstraintViolation::Length(
 3767   4629   
                length,
 3768   4630   
            ))
 3769   4631   
        }
 3770   4632   
    }
 3771   4633   
}
        4634  +
/* TraitInfo.kt:57 */
 3772   4635   
impl ::std::convert::TryFrom<::aws_smithy_types::Blob> for MaxLengthBlob {
 3773   4636   
    type Error = crate::model::max_length_blob::ConstraintViolation;
 3774   4637   
 3775   4638   
    /// Constructs a `MaxLengthBlob` from an [`::aws_smithy_types::Blob`], failing when the provided value does not satisfy the modeled constraints.
 3776   4639   
    fn try_from(value: ::aws_smithy_types::Blob) -> ::std::result::Result<Self, Self::Error> {
 3777   4640   
        Self::check_length(&value)?;
 3778   4641   
 3779   4642   
        Ok(Self(value))
 3780   4643   
    }
 3781   4644   
}
        4645  +
/* ConstrainedBlobGenerator.kt:94 */
 3782   4646   
impl crate::constrained::Constrained for MaxLengthBlob {
 3783   4647   
    type Unconstrained = ::aws_smithy_types::Blob;
 3784   4648   
}
 3785   4649   
 3786   4650   
impl ::std::convert::From<::aws_smithy_types::Blob>
 3787   4651   
    for crate::constrained::MaybeConstrained<crate::model::MaxLengthBlob>
 3788   4652   
{
 3789   4653   
    fn from(value: ::aws_smithy_types::Blob) -> Self {
 3790   4654   
        Self::Unconstrained(value)
 3791   4655   
    }
 3792   4656   
}
 3793   4657   
 3794   4658   
impl ::std::convert::From<MaxLengthBlob> for ::aws_smithy_types::Blob {
 3795   4659   
    fn from(value: MaxLengthBlob) -> Self {
 3796   4660   
        value.into_inner()
 3797   4661   
    }
 3798   4662   
}
 3799   4663   
        4664  +
/* ConstrainedBlobGenerator.kt:66 */
 3800   4665   
#[allow(missing_docs)] // documentation missing in model
 3801         -
///
        4666  +
/// /* ConstrainedBlobGenerator.kt:67 */
 3802   4667   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3803   4668   
/// [constraint traits]. Use [`MinLengthBlob::try_from`] to construct values of this type.
 3804   4669   
///
 3805   4670   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3806   4671   
///
        4672  +
/* RustType.kt:516 */
 3807   4673   
#[derive(
 3808   4674   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3809   4675   
)]
 3810         -
pub struct MinLengthBlob(pub(crate) ::aws_smithy_types::Blob);
        4676  +
pub /* ConstrainedBlobGenerator.kt:70 */ struct MinLengthBlob(pub(crate) ::aws_smithy_types::Blob);
        4677  +
/* ConstrainedBlobGenerator.kt:71 */
 3811   4678   
impl MinLengthBlob {
        4679  +
    /* ConstrainedBlobGenerator.kt:73 */
 3812   4680   
    /// Returns an immutable reference to the underlying [`::aws_smithy_types::Blob`].
 3813   4681   
    pub fn inner(&self) -> &::aws_smithy_types::Blob {
 3814   4682   
        &self.0
 3815   4683   
    }
        4684  +
    /* ConstrainedBlobGenerator.kt:82 */
 3816   4685   
    /// Consumes the value, returning the underlying [`::aws_smithy_types::Blob`].
 3817   4686   
    pub fn into_inner(self) -> ::aws_smithy_types::Blob {
 3818   4687   
        self.0
 3819   4688   
    }
        4689  +
    /* ConstrainedBlobGenerator.kt:71 */
 3820   4690   
}
        4691  +
/* TraitInfo.kt:41 */
 3821   4692   
impl MinLengthBlob {
 3822   4693   
    fn check_length(
 3823   4694   
        blob: &::aws_smithy_types::Blob,
 3824   4695   
    ) -> ::std::result::Result<(), crate::model::min_length_blob::ConstraintViolation> {
 3825   4696   
        let length = blob.as_ref().len();
 3826   4697   
 3827   4698   
        if 2 <= length {
 3828   4699   
            Ok(())
 3829   4700   
        } else {
 3830   4701   
            Err(crate::model::min_length_blob::ConstraintViolation::Length(
 3831   4702   
                length,
 3832   4703   
            ))
 3833   4704   
        }
 3834   4705   
    }
 3835   4706   
}
        4707  +
/* TraitInfo.kt:57 */
 3836   4708   
impl ::std::convert::TryFrom<::aws_smithy_types::Blob> for MinLengthBlob {
 3837   4709   
    type Error = crate::model::min_length_blob::ConstraintViolation;
 3838   4710   
 3839   4711   
    /// Constructs a `MinLengthBlob` from an [`::aws_smithy_types::Blob`], failing when the provided value does not satisfy the modeled constraints.
 3840   4712   
    fn try_from(value: ::aws_smithy_types::Blob) -> ::std::result::Result<Self, Self::Error> {
 3841   4713   
        Self::check_length(&value)?;
 3842   4714   
 3843   4715   
        Ok(Self(value))
 3844   4716   
    }
 3845   4717   
}
        4718  +
/* ConstrainedBlobGenerator.kt:94 */
 3846   4719   
impl crate::constrained::Constrained for MinLengthBlob {
 3847   4720   
    type Unconstrained = ::aws_smithy_types::Blob;
 3848   4721   
}
 3849   4722   
 3850   4723   
impl ::std::convert::From<::aws_smithy_types::Blob>
 3851   4724   
    for crate::constrained::MaybeConstrained<crate::model::MinLengthBlob>
 3852   4725   
{
 3853   4726   
    fn from(value: ::aws_smithy_types::Blob) -> Self {
 3854   4727   
        Self::Unconstrained(value)
 3855   4728   
    }
 3856   4729   
}
 3857   4730   
 3858   4731   
impl ::std::convert::From<MinLengthBlob> for ::aws_smithy_types::Blob {
 3859   4732   
    fn from(value: MinLengthBlob) -> Self {
 3860   4733   
        value.into_inner()
 3861   4734   
    }
 3862   4735   
}
 3863   4736   
        4737  +
/* ConstrainedStringGenerator.kt:82 */
 3864   4738   
#[allow(missing_docs)] // documentation missing in model
 3865         -
///
        4739  +
/// /* ConstrainedStringGenerator.kt:83 */
 3866   4740   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3867   4741   
/// [constraint traits]. Use [`FixedLengthString::try_from`] to construct values of this type.
 3868   4742   
///
 3869   4743   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3870   4744   
///
        4745  +
/* RustType.kt:516 */
 3871   4746   
#[derive(
 3872   4747   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3873   4748   
)]
 3874         -
pub struct FixedLengthString(pub(crate) ::std::string::String);
        4749  +
pub /* ConstrainedStringGenerator.kt:86 */ struct FixedLengthString(
        4750  +
    pub(crate) ::std::string::String,
        4751  +
);
        4752  +
/* ConstrainedStringGenerator.kt:90 */
 3875   4753   
impl FixedLengthString {
 3876   4754   
    /// Extracts a string slice containing the entire underlying `String`.
 3877   4755   
    pub fn as_str(&self) -> &str {
 3878   4756   
        &self.0
 3879   4757   
    }
 3880   4758   
 3881   4759   
    /// Returns an immutable reference to the underlying [`::std::string::String`].
 3882   4760   
    pub fn inner(&self) -> &::std::string::String {
 3883   4761   
        &self.0
 3884   4762   
    }
 3885   4763   
 3886   4764   
    /// Consumes the value, returning the underlying [`::std::string::String`].
 3887   4765   
    pub fn into_inner(self) -> ::std::string::String {
 3888   4766   
        self.0
 3889   4767   
    }
 3890   4768   
}
        4769  +
/* TraitInfo.kt:41 */
 3891   4770   
impl FixedLengthString {
 3892   4771   
    fn check_length(
 3893   4772   
        string: &str,
 3894   4773   
    ) -> ::std::result::Result<(), crate::model::fixed_length_string::ConstraintViolation> {
 3895   4774   
        let length = string.chars().count();
 3896   4775   
 3897   4776   
        if (69..=69).contains(&length) {
 3898   4777   
            Ok(())
 3899   4778   
        } else {
 3900   4779   
            Err(crate::model::fixed_length_string::ConstraintViolation::Length(length))
 3901   4780   
        }
 3902   4781   
    }
 3903   4782   
}
        4783  +
/* TraitInfo.kt:57 */
 3904   4784   
impl ::std::convert::TryFrom<::std::string::String> for FixedLengthString {
 3905   4785   
    type Error = crate::model::fixed_length_string::ConstraintViolation;
 3906   4786   
 3907   4787   
    /// Constructs a `FixedLengthString` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
 3908   4788   
    fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
 3909   4789   
        Self::check_length(&value)?;
 3910   4790   
 3911   4791   
        Ok(Self(value))
 3912   4792   
    }
 3913   4793   
}
        4794  +
/* ConstrainedStringGenerator.kt:112 */
 3914   4795   
impl crate::constrained::Constrained for FixedLengthString {
 3915   4796   
    type Unconstrained = ::std::string::String;
 3916   4797   
}
 3917   4798   
 3918   4799   
impl ::std::convert::From<::std::string::String>
 3919   4800   
    for crate::constrained::MaybeConstrained<crate::model::FixedLengthString>
 3920   4801   
{
 3921   4802   
    fn from(value: ::std::string::String) -> Self {
 3922   4803   
        Self::Unconstrained(value)
 3923   4804   
    }
 3924   4805   
}
 3925   4806   
 3926   4807   
impl ::std::fmt::Display for FixedLengthString {
 3927   4808   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3928   4809   
        self.0.fmt(f)
 3929   4810   
    }
 3930   4811   
}
 3931   4812   
 3932   4813   
impl ::std::convert::From<FixedLengthString> for ::std::string::String {
 3933   4814   
    fn from(value: FixedLengthString) -> Self {
 3934   4815   
        value.into_inner()
 3935   4816   
    }
 3936   4817   
}
 3937   4818   
        4819  +
/* ConstrainedStringGenerator.kt:82 */
 3938   4820   
#[allow(missing_docs)] // documentation missing in model
 3939         -
///
        4821  +
/// /* ConstrainedStringGenerator.kt:83 */
 3940   4822   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3941   4823   
/// [constraint traits]. Use [`MaxLengthString::try_from`] to construct values of this type.
 3942   4824   
///
 3943   4825   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3944   4826   
///
        4827  +
/* RustType.kt:516 */
 3945   4828   
#[derive(
 3946   4829   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3947   4830   
)]
 3948         -
pub struct MaxLengthString(pub(crate) ::std::string::String);
        4831  +
pub /* ConstrainedStringGenerator.kt:86 */ struct MaxLengthString(pub(crate) ::std::string::String);
        4832  +
/* ConstrainedStringGenerator.kt:90 */
 3949   4833   
impl MaxLengthString {
 3950   4834   
    /// Extracts a string slice containing the entire underlying `String`.
 3951   4835   
    pub fn as_str(&self) -> &str {
 3952   4836   
        &self.0
 3953   4837   
    }
 3954   4838   
 3955   4839   
    /// Returns an immutable reference to the underlying [`::std::string::String`].
 3956   4840   
    pub fn inner(&self) -> &::std::string::String {
 3957   4841   
        &self.0
 3958   4842   
    }
 3959   4843   
 3960   4844   
    /// Consumes the value, returning the underlying [`::std::string::String`].
 3961   4845   
    pub fn into_inner(self) -> ::std::string::String {
 3962   4846   
        self.0
 3963   4847   
    }
 3964   4848   
}
        4849  +
/* TraitInfo.kt:41 */
 3965   4850   
impl MaxLengthString {
 3966   4851   
    fn check_length(
 3967   4852   
        string: &str,
 3968   4853   
    ) -> ::std::result::Result<(), crate::model::max_length_string::ConstraintViolation> {
 3969   4854   
        let length = string.chars().count();
 3970   4855   
 3971   4856   
        if length <= 69 {
 3972   4857   
            Ok(())
 3973   4858   
        } else {
 3974   4859   
            Err(crate::model::max_length_string::ConstraintViolation::Length(length))
 3975   4860   
        }
 3976   4861   
    }
 3977   4862   
}
        4863  +
/* TraitInfo.kt:57 */
 3978   4864   
impl ::std::convert::TryFrom<::std::string::String> for MaxLengthString {
 3979   4865   
    type Error = crate::model::max_length_string::ConstraintViolation;
 3980   4866   
 3981   4867   
    /// Constructs a `MaxLengthString` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
 3982   4868   
    fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
 3983   4869   
        Self::check_length(&value)?;
 3984   4870   
 3985   4871   
        Ok(Self(value))
 3986   4872   
    }
 3987   4873   
}
        4874  +
/* ConstrainedStringGenerator.kt:112 */
 3988   4875   
impl crate::constrained::Constrained for MaxLengthString {
 3989   4876   
    type Unconstrained = ::std::string::String;
 3990   4877   
}
 3991   4878   
 3992   4879   
impl ::std::convert::From<::std::string::String>
 3993   4880   
    for crate::constrained::MaybeConstrained<crate::model::MaxLengthString>
 3994   4881   
{
 3995   4882   
    fn from(value: ::std::string::String) -> Self {
 3996   4883   
        Self::Unconstrained(value)
 3997   4884   
    }
 3998   4885   
}
 3999   4886   
 4000   4887   
impl ::std::fmt::Display for MaxLengthString {
 4001   4888   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4002   4889   
        self.0.fmt(f)
 4003   4890   
    }
 4004   4891   
}
 4005   4892   
 4006   4893   
impl ::std::convert::From<MaxLengthString> for ::std::string::String {
 4007   4894   
    fn from(value: MaxLengthString) -> Self {
 4008   4895   
        value.into_inner()
 4009   4896   
    }
 4010   4897   
}
 4011   4898   
        4899  +
/* ConstrainedStringGenerator.kt:82 */
 4012   4900   
#[allow(missing_docs)] // documentation missing in model
 4013         -
///
        4901  +
/// /* ConstrainedStringGenerator.kt:83 */
 4014   4902   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4015   4903   
/// [constraint traits]. Use [`MinLengthString::try_from`] to construct values of this type.
 4016   4904   
///
 4017   4905   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4018   4906   
///
        4907  +
/* RustType.kt:516 */
 4019   4908   
#[derive(
 4020   4909   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4021   4910   
)]
 4022         -
pub struct MinLengthString(pub(crate) ::std::string::String);
        4911  +
pub /* ConstrainedStringGenerator.kt:86 */ struct MinLengthString(pub(crate) ::std::string::String);
        4912  +
/* ConstrainedStringGenerator.kt:90 */
 4023   4913   
impl MinLengthString {
 4024   4914   
    /// Extracts a string slice containing the entire underlying `String`.
 4025   4915   
    pub fn as_str(&self) -> &str {
 4026   4916   
        &self.0
 4027   4917   
    }
 4028   4918   
 4029   4919   
    /// Returns an immutable reference to the underlying [`::std::string::String`].
 4030   4920   
    pub fn inner(&self) -> &::std::string::String {
 4031   4921   
        &self.0
 4032   4922   
    }
 4033   4923   
 4034   4924   
    /// Consumes the value, returning the underlying [`::std::string::String`].
 4035   4925   
    pub fn into_inner(self) -> ::std::string::String {
 4036   4926   
        self.0
 4037   4927   
    }
 4038   4928   
}
        4929  +
/* TraitInfo.kt:41 */
 4039   4930   
impl MinLengthString {
 4040   4931   
    fn check_length(
 4041   4932   
        string: &str,
 4042   4933   
    ) -> ::std::result::Result<(), crate::model::min_length_string::ConstraintViolation> {
 4043   4934   
        let length = string.chars().count();
 4044   4935   
 4045   4936   
        if 2 <= length {
 4046   4937   
            Ok(())
 4047   4938   
        } else {
 4048   4939   
            Err(crate::model::min_length_string::ConstraintViolation::Length(length))
 4049   4940   
        }
 4050   4941   
    }
 4051   4942   
}
        4943  +
/* TraitInfo.kt:57 */
 4052   4944   
impl ::std::convert::TryFrom<::std::string::String> for MinLengthString {
 4053   4945   
    type Error = crate::model::min_length_string::ConstraintViolation;
 4054   4946   
 4055   4947   
    /// Constructs a `MinLengthString` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
 4056   4948   
    fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
 4057   4949   
        Self::check_length(&value)?;
 4058   4950   
 4059   4951   
        Ok(Self(value))
 4060   4952   
    }
 4061   4953   
}
        4954  +
/* ConstrainedStringGenerator.kt:112 */
 4062   4955   
impl crate::constrained::Constrained for MinLengthString {
 4063   4956   
    type Unconstrained = ::std::string::String;
 4064   4957   
}
 4065   4958   
 4066   4959   
impl ::std::convert::From<::std::string::String>
 4067   4960   
    for crate::constrained::MaybeConstrained<crate::model::MinLengthString>
 4068   4961   
{
 4069   4962   
    fn from(value: ::std::string::String) -> Self {
 4070   4963   
        Self::Unconstrained(value)
 4071   4964   
    }
 4072   4965   
}
 4073   4966   
 4074   4967   
impl ::std::fmt::Display for MinLengthString {
 4075   4968   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4076   4969   
        self.0.fmt(f)
 4077   4970   
    }
 4078   4971   
}
 4079   4972   
 4080   4973   
impl ::std::convert::From<MinLengthString> for ::std::string::String {
 4081   4974   
    fn from(value: MinLengthString) -> Self {
 4082   4975   
        value.into_inner()
 4083   4976   
    }
 4084   4977   
}
 4085   4978   
        4979  +
/* UnionGenerator.kt:67 */
 4086   4980   
#[allow(missing_docs)] // documentation missing in model
        4981  +
/* RustType.kt:516 */
 4087   4982   
#[derive(
 4088   4983   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4089   4984   
)]
 4090         -
pub enum ConstrainedUnionInOutput {
        4985  +
pub /* UnionGenerator.kt:85 */ enum ConstrainedUnionInOutput {
        4986  +
    /* UnionGenerator.kt:90 */
 4091   4987   
    #[allow(missing_docs)] // documentation missing in model
        4988  +
    /* UnionGenerator.kt:190 */
 4092   4989   
    Structure(crate::model::TransitivelyConstrainedStructureInOutput),
        4990  +
    /* UnionGenerator.kt:85 */
 4093   4991   
}
        4992  +
/* UnionGenerator.kt:111 */
 4094   4993   
impl ConstrainedUnionInOutput {
        4994  +
    /* RustType.kt:516 */
 4095   4995   
    #[allow(irrefutable_let_patterns)]
        4996  +
    /* UnionGenerator.kt:217 */
 4096   4997   
    /// Tries to convert the enum instance into [`Structure`](crate::model::ConstrainedUnionInOutput::Structure), extracting the inner [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
        4998  +
    /* UnionGenerator.kt:222 */
 4097   4999   
    /// Returns `Err(&Self)` if it can't be converted.
        5000  +
    /* UnionGenerator.kt:223 */
 4098   5001   
    pub fn as_structure(
 4099   5002   
        &self,
 4100   5003   
    ) -> ::std::result::Result<&crate::model::TransitivelyConstrainedStructureInOutput, &Self> {
        5004  +
        /* UnionGenerator.kt:227 */
 4101   5005   
        if let ConstrainedUnionInOutput::Structure(val) = &self {
 4102   5006   
            ::std::result::Result::Ok(val)
 4103   5007   
        } else {
 4104   5008   
            ::std::result::Result::Err(self)
 4105   5009   
        }
        5010  +
        /* UnionGenerator.kt:223 */
 4106   5011   
    }
        5012  +
    /* UnionGenerator.kt:121 */
 4107   5013   
    /// Returns true if this is a [`Structure`](crate::model::ConstrainedUnionInOutput::Structure).
        5014  +
    /* UnionGenerator.kt:122 */
 4108   5015   
    pub fn is_structure(&self) -> bool {
        5016  +
        /* UnionGenerator.kt:123 */
 4109   5017   
        self.as_structure().is_ok()
        5018  +
        /* UnionGenerator.kt:122 */
 4110   5019   
    }
        5020  +
    /* UnionGenerator.kt:111 */
 4111   5021   
}
 4112   5022   
        5023  +
/* StructureGenerator.kt:197 */
 4113   5024   
#[allow(missing_docs)] // documentation missing in model
        5025  +
/* RustType.kt:516 */
 4114   5026   
#[derive(
 4115   5027   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4116   5028   
)]
 4117         -
pub struct TransitivelyConstrainedStructureInOutput {
        5029  +
pub /* StructureGenerator.kt:201 */ struct TransitivelyConstrainedStructureInOutput {
        5030  +
    /* StructureGenerator.kt:231 */
 4118   5031   
    #[allow(missing_docs)] // documentation missing in model
 4119   5032   
    pub length_string: ::std::option::Option<crate::model::LengthString>,
        5033  +
    /* StructureGenerator.kt:201 */
 4120   5034   
}
        5035  +
/* StructureGenerator.kt:135 */
 4121   5036   
impl TransitivelyConstrainedStructureInOutput {
        5037  +
    /* StructureGenerator.kt:231 */
 4122   5038   
    #[allow(missing_docs)] // documentation missing in model
        5039  +
                           /* StructureGenerator.kt:166 */
 4123   5040   
    pub fn length_string(&self) -> ::std::option::Option<&crate::model::LengthString> {
        5041  +
        /* StructureGenerator.kt:170 */
 4124   5042   
        self.length_string.as_ref()
        5043  +
        /* StructureGenerator.kt:166 */
 4125   5044   
    }
        5045  +
    /* StructureGenerator.kt:135 */
 4126   5046   
}
        5047  +
/* ServerCodegenVisitor.kt:345 */
 4127   5048   
impl TransitivelyConstrainedStructureInOutput {
 4128         -
    /// Creates a new builder-style object to manufacture [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
        5049  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
        5050  +
    /* ServerBuilderGenerator.kt:295 */
 4129   5051   
    pub fn builder() -> crate::model::transitively_constrained_structure_in_output::Builder {
        5052  +
        /* ServerBuilderGenerator.kt:296 */
 4130   5053   
        crate::model::transitively_constrained_structure_in_output::Builder::default()
        5054  +
        /* ServerBuilderGenerator.kt:295 */
 4131   5055   
    }
        5056  +
    /* ServerCodegenVisitor.kt:345 */
 4132   5057   
}
 4133   5058   
        5059  +
/* ConstrainedMapGenerator.kt:78 */
 4134   5060   
#[allow(missing_docs)] // documentation missing in model
 4135         -
///
        5061  +
/// /* ConstrainedMapGenerator.kt:79 */
 4136   5062   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4137   5063   
/// [constraint traits]. Use [`ConstrainedMapInOutput::try_from`] to construct values of this type.
 4138   5064   
///
 4139   5065   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4140   5066   
///
        5067  +
/* RustType.kt:516 */
 4141   5068   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
 4142         -
pub struct ConstrainedMapInOutput(
        5069  +
pub /* ConstrainedMapGenerator.kt:82 */ struct ConstrainedMapInOutput(
 4143   5070   
    pub(crate)  ::std::collections::HashMap<
 4144   5071   
        ::std::string::String,
 4145   5072   
        crate::model::TransitivelyConstrainedStructureInOutput,
 4146   5073   
    >,
 4147   5074   
);
        5075  +
/* ConstrainedMapGenerator.kt:83 */
 4148   5076   
impl ConstrainedMapInOutput {
        5077  +
    /* ConstrainedMapGenerator.kt:85 */
 4149   5078   
    /// Returns an immutable reference to the underlying [`::std::collections::HashMap<::std::string::String, crate::model::TransitivelyConstrainedStructureInOutput>`].
 4150   5079   
    pub fn inner(
 4151   5080   
        &self,
 4152   5081   
    ) -> &::std::collections::HashMap<
 4153   5082   
        ::std::string::String,
 4154   5083   
        crate::model::TransitivelyConstrainedStructureInOutput,
 4155   5084   
    > {
 4156   5085   
        &self.0
 4157   5086   
    }
        5087  +
    /* ConstrainedMapGenerator.kt:95 */
 4158   5088   
    /// Consumes the value, returning the underlying [`::std::collections::HashMap<::std::string::String, crate::model::TransitivelyConstrainedStructureInOutput>`].
 4159   5089   
    pub fn into_inner(
 4160   5090   
        self,
 4161   5091   
    ) -> ::std::collections::HashMap<
 4162   5092   
        ::std::string::String,
 4163   5093   
        crate::model::TransitivelyConstrainedStructureInOutput,
 4164   5094   
    > {
 4165   5095   
        self.0
 4166   5096   
    }
        5097  +
    /* ConstrainedMapGenerator.kt:83 */
 4167   5098   
}
        5099  +
/* ConstrainedMapGenerator.kt:106 */
 4168   5100   
impl
 4169   5101   
    ::std::convert::TryFrom<
 4170   5102   
        ::std::collections::HashMap<
 4171   5103   
            ::std::string::String,
 4172   5104   
            crate::model::TransitivelyConstrainedStructureInOutput,
 4173   5105   
        >,
 4174   5106   
    > for ConstrainedMapInOutput
 4175   5107   
{
 4176   5108   
    type Error = crate::model::constrained_map_in_output::ConstraintViolation;
 4177   5109   
 4178   5110   
    /// Constructs a `ConstrainedMapInOutput` from an [`::std::collections::HashMap<::std::string::String, crate::model::TransitivelyConstrainedStructureInOutput>`], failing when the provided value does not satisfy the modeled constraints.
 4179   5111   
    fn try_from(
 4180   5112   
        value: ::std::collections::HashMap<
 4181   5113   
            ::std::string::String,
 4182   5114   
            crate::model::TransitivelyConstrainedStructureInOutput,
 4183   5115   
        >,
 4184   5116   
    ) -> ::std::result::Result<Self, Self::Error> {
 4185   5117   
        let length = value.len();
 4186   5118   
        if 69 <= length {
 4187   5119   
            Ok(Self(value))
 4188   5120   
        } else {
 4189   5121   
            Err(crate::model::constrained_map_in_output::ConstraintViolation::Length(length))
 4190   5122   
        }
 4191   5123   
    }
 4192   5124   
}
 4193   5125   
 4194   5126   
impl ::std::convert::From<ConstrainedMapInOutput>
 4195   5127   
    for ::std::collections::HashMap<
 4196   5128   
        ::std::string::String,
 4197   5129   
        crate::model::TransitivelyConstrainedStructureInOutput,
 4198   5130   
    >
 4199   5131   
{
 4200   5132   
    fn from(value: ConstrainedMapInOutput) -> Self {
 4201   5133   
        value.into_inner()
 4202   5134   
    }
 4203   5135   
}
 4204   5136   
        5137  +
/* ConstrainedCollectionGenerator.kt:93 */
 4205   5138   
#[allow(missing_docs)] // documentation missing in model
 4206         -
///
        5139  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 4207   5140   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4208   5141   
/// [constraint traits]. Use [`ConstrainedListInOutput::try_from`] to construct values of this type.
 4209   5142   
///
 4210   5143   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4211   5144   
///
        5145  +
/* RustType.kt:516 */
 4212   5146   
#[derive(
 4213   5147   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4214   5148   
)]
 4215         -
pub struct ConstrainedListInOutput(
        5149  +
pub /* ConstrainedCollectionGenerator.kt:97 */ struct ConstrainedListInOutput(
 4216   5150   
    pub(crate) ::std::vec::Vec<crate::model::ConstrainedUnionInOutput>,
 4217   5151   
);
        5152  +
/* ConstrainedCollectionGenerator.kt:104 */
 4218   5153   
impl ConstrainedListInOutput {
        5154  +
    /* ConstrainedCollectionGenerator.kt:106 */
 4219   5155   
    /// Returns an immutable reference to the underlying [`::std::vec::Vec<crate::model::ConstrainedUnionInOutput>`].
 4220   5156   
    pub fn inner(&self) -> &::std::vec::Vec<crate::model::ConstrainedUnionInOutput> {
 4221   5157   
        &self.0
 4222   5158   
    }
        5159  +
    /* ConstrainedCollectionGenerator.kt:116 */
 4223   5160   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::ConstrainedUnionInOutput>`].
 4224   5161   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::ConstrainedUnionInOutput> {
 4225   5162   
        self.0
 4226   5163   
    }
 4227   5164   
 4228   5165   
    fn check_length(
 4229   5166   
        length: usize,
 4230   5167   
    ) -> ::std::result::Result<(), crate::model::constrained_list_in_output::ConstraintViolation>
 4231   5168   
    {
 4232   5169   
        if 69 <= length {
 4233   5170   
            Ok(())
 4234   5171   
        } else {
 4235   5172   
            Err(crate::model::constrained_list_in_output::ConstraintViolation::Length(length))
 4236   5173   
        }
 4237   5174   
    }
        5175  +
    /* ConstrainedCollectionGenerator.kt:104 */
 4238   5176   
}
        5177  +
/* ConstrainedCollectionGenerator.kt:133 */
 4239   5178   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::ConstrainedUnionInOutput>>
 4240   5179   
    for ConstrainedListInOutput
 4241   5180   
{
 4242   5181   
    type Error = crate::model::constrained_list_in_output::ConstraintViolation;
 4243   5182   
 4244   5183   
    /// Constructs a `ConstrainedListInOutput` from an [`::std::vec::Vec<crate::model::ConstrainedUnionInOutput>`], failing when the provided value does not satisfy the modeled constraints.
 4245   5184   
    fn try_from(
 4246   5185   
        value: ::std::vec::Vec<crate::model::ConstrainedUnionInOutput>,
 4247   5186   
    ) -> ::std::result::Result<Self, Self::Error> {
 4248   5187   
        Self::check_length(value.len())?;
 4249   5188   
 4250   5189   
        Ok(Self(value))
 4251   5190   
    }
 4252   5191   
}
 4253   5192   
 4254   5193   
impl ::std::convert::From<ConstrainedListInOutput>
 4255   5194   
    for ::std::vec::Vec<crate::model::ConstrainedUnionInOutput>
 4256   5195   
{
 4257   5196   
    fn from(value: ConstrainedListInOutput) -> Self {
 4258   5197   
        value.into_inner()
 4259   5198   
    }
 4260   5199   
}
 4261   5200   
 4262         -
/// See [`ValidationExceptionField`](crate::model::ValidationExceptionField).
        5201  +
/// /* ServerBuilderGenerator.kt:171 */See [`ValidationExceptionField`](crate::model::ValidationExceptionField).
 4263   5202   
pub mod validation_exception_field {
 4264   5203   
        5204  +
    /* RustType.kt:516 */
 4265   5205   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 4266         -
    /// Holds one variant for each of the ways the builder can fail.
        5206  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        5207  +
    /* RustType.kt:516 */
 4267   5208   
    #[non_exhaustive]
        5209  +
    /* ServerBuilderConstraintViolations.kt:75 */
 4268   5210   
    #[allow(clippy::enum_variant_names)]
 4269   5211   
    pub enum ConstraintViolation {
 4270         -
        /// `path` was not provided but it is required when building `ValidationExceptionField`.
        5212  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`path` was not provided but it is required when building `ValidationExceptionField`.
        5213  +
        /* ServerBuilderConstraintViolations.kt:143 */
 4271   5214   
        MissingPath,
 4272         -
        /// `message` was not provided but it is required when building `ValidationExceptionField`.
        5215  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`message` was not provided but it is required when building `ValidationExceptionField`.
        5216  +
        /* ServerBuilderConstraintViolations.kt:143 */
 4273   5217   
        MissingMessage,
        5218  +
        /* ServerBuilderConstraintViolations.kt:75 */
 4274   5219   
    }
        5220  +
    /* ServerBuilderConstraintViolations.kt:117 */
 4275   5221   
    impl ::std::fmt::Display for ConstraintViolation {
        5222  +
        /* ServerBuilderConstraintViolations.kt:118 */
 4276   5223   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        5224  +
            /* ServerBuilderConstraintViolations.kt:119 */
 4277   5225   
            match self {
 4278         -
                ConstraintViolation::MissingPath => write!(f, "`path` was not provided but it is required when building `ValidationExceptionField`"),
 4279         -
                ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationExceptionField`"),
 4280         -
            }
        5226  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingPath => write!(f, "`path` was not provided but it is required when building `ValidationExceptionField`"),
        5227  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationExceptionField`"),
        5228  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        5229  +
            /* ServerBuilderConstraintViolations.kt:118 */
 4281   5230   
        }
        5231  +
        /* ServerBuilderConstraintViolations.kt:117 */
 4282   5232   
    }
        5233  +
    /* ServerBuilderConstraintViolations.kt:84 */
 4283   5234   
    impl ::std::error::Error for ConstraintViolation {}
        5235  +
    /* ServerBuilderGenerator.kt:446 */
 4284   5236   
    impl ::std::convert::TryFrom<Builder> for crate::model::ValidationExceptionField {
 4285   5237   
        type Error = ConstraintViolation;
 4286   5238   
 4287   5239   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 4288   5240   
            builder.build()
 4289   5241   
        }
 4290   5242   
    }
 4291         -
    /// A builder for [`ValidationExceptionField`](crate::model::ValidationExceptionField).
        5243  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`ValidationExceptionField`](crate::model::ValidationExceptionField).
        5244  +
    /* RustType.kt:516 */
 4292   5245   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        5246  +
    /* ServerBuilderGenerator.kt:211 */
 4293   5247   
    pub struct Builder {
        5248  +
        /* ServerBuilderGenerator.kt:308 */
 4294   5249   
        pub(crate) path: ::std::option::Option<::std::string::String>,
        5250  +
        /* ServerBuilderGenerator.kt:308 */
 4295   5251   
        pub(crate) message: ::std::option::Option<::std::string::String>,
        5252  +
        /* ServerBuilderGenerator.kt:211 */
 4296   5253   
    }
        5254  +
    /* ServerBuilderGenerator.kt:215 */
 4297   5255   
    impl Builder {
 4298         -
        /// A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
        5256  +
        /// /* ServerBuilderGenerator.kt:331 */A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
        5257  +
        /* ServerBuilderGenerator.kt:343 */
 4299   5258   
        pub fn path(mut self, input: ::std::string::String) -> Self {
 4300         -
            self.path = Some(input);
        5259  +
            /* ServerBuilderGenerator.kt:344 */
        5260  +
            self.path =
        5261  +
                /* ServerBuilderGenerator.kt:345 */Some(
        5262  +
                    /* ServerBuilderGenerator.kt:376 */input
        5263  +
                /* ServerBuilderGenerator.kt:345 */)
        5264  +
            /* ServerBuilderGenerator.kt:344 */;
 4301   5265   
            self
        5266  +
            /* ServerBuilderGenerator.kt:343 */
 4302   5267   
        }
 4303         -
        /// A detailed description of the validation failure.
        5268  +
        /// /* ServerBuilderGenerator.kt:331 */A detailed description of the validation failure.
        5269  +
        /* ServerBuilderGenerator.kt:343 */
 4304   5270   
        pub fn message(mut self, input: ::std::string::String) -> Self {
 4305         -
            self.message = Some(input);
        5271  +
            /* ServerBuilderGenerator.kt:344 */
        5272  +
            self.message =
        5273  +
                /* ServerBuilderGenerator.kt:345 */Some(
        5274  +
                    /* ServerBuilderGenerator.kt:376 */input
        5275  +
                /* ServerBuilderGenerator.kt:345 */)
        5276  +
            /* ServerBuilderGenerator.kt:344 */;
 4306   5277   
            self
        5278  +
            /* ServerBuilderGenerator.kt:343 */
 4307   5279   
        }
 4308         -
        /// Consumes the builder and constructs a [`ValidationExceptionField`](crate::model::ValidationExceptionField).
 4309         -
        ///
        5280  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`ValidationExceptionField`](crate::model::ValidationExceptionField).
        5281  +
        /// /* ServerBuilderGenerator.kt:260 */
 4310   5282   
        /// The builder fails to construct a [`ValidationExceptionField`](crate::model::ValidationExceptionField) if a [`ConstraintViolation`] occurs.
 4311   5283   
        ///
 4312         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        5284  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        5285  +
        /* ServerBuilderGenerator.kt:271 */
 4313   5286   
        pub fn build(self) -> Result<crate::model::ValidationExceptionField, ConstraintViolation> {
 4314   5287   
            self.build_enforcing_all_constraints()
 4315   5288   
        }
        5289  +
        /* ServerBuilderGenerator.kt:283 */
 4316   5290   
        fn build_enforcing_all_constraints(
 4317   5291   
            self,
 4318   5292   
        ) -> Result<crate::model::ValidationExceptionField, ConstraintViolation> {
 4319         -
            Ok(crate::model::ValidationExceptionField {
 4320         -
                path: self.path.ok_or(ConstraintViolation::MissingPath)?,
 4321         -
                message: self.message.ok_or(ConstraintViolation::MissingMessage)?,
 4322         -
            })
        5293  +
            /* ServerBuilderGenerator.kt:287 */
        5294  +
            Ok(
        5295  +
                /* ServerBuilderGenerator.kt:542 */
        5296  +
                crate::model::ValidationExceptionField {
        5297  +
                    /* ServerBuilderGenerator.kt:546 */
        5298  +
                    path: self
        5299  +
                        .path
        5300  +
                        /* ServerBuilderGenerator.kt:569 */
        5301  +
                        .ok_or(ConstraintViolation::MissingPath)?,
        5302  +
                    /* ServerBuilderGenerator.kt:546 */
        5303  +
                    message: self
        5304  +
                        .message
        5305  +
                        /* ServerBuilderGenerator.kt:569 */
        5306  +
                        .ok_or(ConstraintViolation::MissingMessage)?,
        5307  +
                    /* ServerBuilderGenerator.kt:542 */
        5308  +
                }, /* ServerBuilderGenerator.kt:287 */
        5309  +
            )
        5310  +
            /* ServerBuilderGenerator.kt:283 */
 4323   5311   
        }
        5312  +
        /* ServerBuilderGenerator.kt:215 */
 4324   5313   
    }
        5314  +
        5315  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4325   5316   
}
 4326         -
/// See [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        5317  +
/// /* ServerBuilderGenerator.kt:171 */See [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
 4327   5318   
pub mod event_stream_regular_message {
 4328   5319   
        5320  +
    /* ServerBuilderGenerator.kt:461 */
 4329   5321   
    impl ::std::convert::From<Builder> for crate::model::EventStreamRegularMessage {
 4330   5322   
        fn from(builder: Builder) -> Self {
 4331   5323   
            builder.build()
 4332   5324   
        }
 4333   5325   
    }
 4334         -
    /// A builder for [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        5326  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        5327  +
    /* RustType.kt:516 */
 4335   5328   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        5329  +
    /* ServerBuilderGenerator.kt:211 */
 4336   5330   
    pub struct Builder {
        5331  +
        /* ServerBuilderGenerator.kt:308 */
 4337   5332   
        pub(crate) message_content: ::std::option::Option<::std::string::String>,
        5333  +
        /* ServerBuilderGenerator.kt:211 */
 4338   5334   
    }
        5335  +
    /* ServerBuilderGenerator.kt:215 */
 4339   5336   
    impl Builder {
        5337  +
        /* ServerBuilderGenerator.kt:331 */
 4340   5338   
        #[allow(missing_docs)] // documentation missing in model
        5339  +
                               /* ServerBuilderGenerator.kt:343 */
 4341   5340   
        pub fn message_content(
 4342   5341   
            mut self,
 4343   5342   
            input: ::std::option::Option<::std::string::String>,
 4344   5343   
        ) -> Self {
 4345         -
            self.message_content = input;
        5344  +
            /* ServerBuilderGenerator.kt:344 */
        5345  +
            self.message_content =
        5346  +
                /* ServerBuilderGenerator.kt:376 */input
        5347  +
            /* ServerBuilderGenerator.kt:344 */;
 4346   5348   
            self
        5349  +
            /* ServerBuilderGenerator.kt:343 */
 4347   5350   
        }
        5351  +
        /* ServerBuilderGenerator.kt:426 */
 4348   5352   
        #[allow(missing_docs)] // documentation missing in model
        5353  +
                               /* ServerBuilderGenerator.kt:428 */
 4349   5354   
        pub(crate) fn set_message_content(
 4350   5355   
            mut self,
 4351   5356   
            input: Option<impl ::std::convert::Into<::std::string::String>>,
 4352   5357   
        ) -> Self {
        5358  +
            /* ServerBuilderGenerator.kt:429 */
 4353   5359   
            self.message_content = input.map(|v| v.into());
 4354   5360   
            self
        5361  +
            /* ServerBuilderGenerator.kt:428 */
 4355   5362   
        }
 4356         -
        /// Consumes the builder and constructs a [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        5363  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        5364  +
        /* ServerBuilderGenerator.kt:271 */
 4357   5365   
        pub fn build(self) -> crate::model::EventStreamRegularMessage {
 4358   5366   
            self.build_enforcing_all_constraints()
 4359   5367   
        }
        5368  +
        /* ServerBuilderGenerator.kt:283 */
 4360   5369   
        fn build_enforcing_all_constraints(self) -> crate::model::EventStreamRegularMessage {
        5370  +
            /* ServerBuilderGenerator.kt:542 */
 4361   5371   
            crate::model::EventStreamRegularMessage {
        5372  +
                /* ServerBuilderGenerator.kt:546 */
 4362   5373   
                message_content: self.message_content,
        5374  +
                /* ServerBuilderGenerator.kt:542 */
 4363   5375   
            }
        5376  +
            /* ServerBuilderGenerator.kt:283 */
 4364   5377   
        }
        5378  +
        /* ServerBuilderGenerator.kt:215 */
 4365   5379   
    }
        5380  +
        5381  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4366   5382   
}
 4367   5383   
pub mod map_of_enum_string {
 4368   5384   
        5385  +
    /* MapConstraintViolationGenerator.kt:82 */
 4369   5386   
    #[allow(clippy::enum_variant_names)]
 4370   5387   
    #[derive(Debug, PartialEq)]
 4371   5388   
    pub enum ConstraintViolation {
 4372   5389   
        #[doc(hidden)]
 4373   5390   
        Key(crate::model::enum_string::ConstraintViolation),
 4374   5391   
        #[doc(hidden)]
 4375   5392   
        Value(
 4376   5393   
            crate::model::EnumString,
 4377   5394   
            crate::model::enum_string::ConstraintViolation,
 4378   5395   
        ),
 4379   5396   
    }
 4380   5397   
 4381   5398   
    impl ::std::fmt::Display for ConstraintViolation {
 4382   5399   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4383   5400   
            match self {
 4384   5401   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 4385   5402   
                Self::Value(_, value_constraint_violation) => {
 4386   5403   
                    write!(f, "{}", value_constraint_violation)
 4387   5404   
                }
 4388   5405   
            }
 4389   5406   
        }
 4390   5407   
    }
 4391   5408   
 4392   5409   
    impl ::std::error::Error for ConstraintViolation {}
        5410  +
    /* MapConstraintViolationGenerator.kt:111 */
 4393   5411   
    impl ConstraintViolation {
 4394   5412   
        pub(crate) fn as_validation_exception_field(
 4395   5413   
            self,
 4396   5414   
            path: ::std::string::String,
 4397   5415   
        ) -> crate::model::ValidationExceptionField {
 4398   5416   
            match self {
 4399   5417   
                Self::Key(key_constraint_violation) => {
 4400   5418   
                    key_constraint_violation.as_validation_exception_field(path)
 4401   5419   
                }
 4402   5420   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 4403   5421   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 4404   5422   
            }
 4405   5423   
        }
 4406   5424   
    }
        5425  +
        5426  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4407   5427   
}
 4408         -
/// See [`ConBMap`](crate::model::ConBMap).
        5428  +
/// /* CodegenDelegator.kt:51 */See [`ConBMap`](crate::model::ConBMap).
 4409   5429   
pub mod con_b_map {
 4410   5430   
        5431  +
    /* MapConstraintViolationGenerator.kt:82 */
 4411   5432   
    #[allow(clippy::enum_variant_names)]
 4412   5433   
    #[derive(Debug, PartialEq)]
 4413   5434   
    pub enum ConstraintViolation {
 4414   5435   
        Length(usize),
 4415   5436   
 4416   5437   
        #[doc(hidden)]
 4417   5438   
        Value(
 4418   5439   
            ::std::string::String,
 4419   5440   
            crate::model::length_string::ConstraintViolation,
 4420   5441   
        ),
 4421   5442   
    }
 4422   5443   
 4423   5444   
    impl ::std::fmt::Display for ConstraintViolation {
 4424   5445   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4425   5446   
            match self {
 4426   5447   
                Self::Length(length) => {
 4427   5448   
                    write!(f, "Value with length {} provided for 'com.amazonaws.constraints#ConBMap' failed to satisfy constraint: Member must have length between 1 and 69, inclusive", length)
 4428   5449   
                }
 4429   5450   
 4430   5451   
                Self::Value(_, value_constraint_violation) => {
 4431   5452   
                    write!(f, "{}", value_constraint_violation)
 4432   5453   
                }
 4433   5454   
            }
 4434   5455   
        }
 4435   5456   
    }
 4436   5457   
 4437   5458   
    impl ::std::error::Error for ConstraintViolation {}
        5459  +
    /* MapConstraintViolationGenerator.kt:111 */
 4438   5460   
    impl ConstraintViolation {
 4439   5461   
        pub(crate) fn as_validation_exception_field(
 4440   5462   
            self,
 4441   5463   
            path: ::std::string::String,
 4442   5464   
        ) -> crate::model::ValidationExceptionField {
 4443   5465   
            match self {
 4444   5466   
            Self::Length(length) => crate::model::ValidationExceptionField {
 4445   5467   
                                        message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 1 and 69, inclusive", length, &path),
 4446   5468   
                                        path,
 4447   5469   
                                    },
 4448   5470   
            Self::Value(key, value_constraint_violation) => value_constraint_violation.as_validation_exception_field(path + "/" + key.as_str()),
 4449   5471   
        }
 4450   5472   
        }
 4451   5473   
    }
        5474  +
        5475  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4452   5476   
}
 4453         -
/// See [`LengthString`](crate::model::LengthString).
        5477  +
/// /* CodegenDelegator.kt:51 */See [`LengthString`](crate::model::LengthString).
 4454   5478   
pub mod length_string {
 4455   5479   
        5480  +
    /* ConstrainedStringGenerator.kt:155 */
 4456   5481   
    #[derive(Debug, PartialEq)]
 4457   5482   
    pub enum ConstraintViolation {
 4458   5483   
        /// Error when a string doesn't satisfy its `@length` requirements.
 4459   5484   
        Length(usize),
 4460   5485   
    }
 4461   5486   
 4462   5487   
    impl ::std::fmt::Display for ConstraintViolation {
 4463   5488   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4464   5489   
            let message = match self {
 4465   5490   
                Self::Length(length) => {
 4466   5491   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#LengthString' failed to satisfy constraint: Member must have length between 2 and 69, inclusive", length)
 4467   5492   
                }
 4468   5493   
            };
 4469   5494   
            write!(f, "{message}")
 4470   5495   
        }
 4471   5496   
    }
 4472   5497   
 4473   5498   
    impl ::std::error::Error for ConstraintViolation {}
        5499  +
    /* ConstrainedStringGenerator.kt:180 */
 4474   5500   
    impl ConstraintViolation {
 4475   5501   
        pub(crate) fn as_validation_exception_field(
 4476   5502   
            self,
 4477   5503   
            path: ::std::string::String,
 4478   5504   
        ) -> crate::model::ValidationExceptionField {
 4479   5505   
            match self {
 4480   5506   
                            Self::Length(length) => crate::model::ValidationExceptionField {
 4481   5507   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 2 and 69, inclusive", length, &path),
 4482   5508   
                            path,
 4483   5509   
                        },
 4484   5510   
                        }
 4485   5511   
        }
 4486   5512   
    }
        5513  +
        5514  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4487   5515   
}
 4488   5516   
pub mod map_of_list_of_length_pattern_string {
 4489   5517   
        5518  +
    /* MapConstraintViolationGenerator.kt:82 */
 4490   5519   
    #[allow(clippy::enum_variant_names)]
 4491   5520   
    #[derive(Debug, PartialEq)]
 4492   5521   
    pub enum ConstraintViolation {
 4493   5522   
        #[doc(hidden)]
 4494   5523   
        Key(crate::model::length_pattern_string::ConstraintViolation),
 4495   5524   
        #[doc(hidden)]
 4496   5525   
        Value(
 4497   5526   
            crate::model::LengthPatternString,
 4498   5527   
            crate::model::list_of_length_pattern_string::ConstraintViolation,
 4499   5528   
        ),
 4500   5529   
    }
 4501   5530   
 4502   5531   
    impl ::std::fmt::Display for ConstraintViolation {
 4503   5532   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4504   5533   
            match self {
 4505   5534   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 4506   5535   
                Self::Value(_, value_constraint_violation) => {
 4507   5536   
                    write!(f, "{}", value_constraint_violation)
 4508   5537   
                }
 4509   5538   
            }
 4510   5539   
        }
 4511   5540   
    }
 4512   5541   
 4513   5542   
    impl ::std::error::Error for ConstraintViolation {}
        5543  +
    /* MapConstraintViolationGenerator.kt:111 */
 4514   5544   
    impl ConstraintViolation {
 4515   5545   
        pub(crate) fn as_validation_exception_field(
 4516   5546   
            self,
 4517   5547   
            path: ::std::string::String,
 4518   5548   
        ) -> crate::model::ValidationExceptionField {
 4519   5549   
            match self {
 4520   5550   
                Self::Key(key_constraint_violation) => {
 4521   5551   
                    key_constraint_violation.as_validation_exception_field(path)
 4522   5552   
                }
 4523   5553   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 4524   5554   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 4525   5555   
            }
 4526   5556   
        }
 4527   5557   
    }
        5558  +
        5559  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4528   5560   
}
 4529   5561   
pub mod list_of_length_pattern_string {
 4530   5562   
        5563  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 4531   5564   
    #[allow(clippy::enum_variant_names)]
 4532   5565   
    #[derive(Debug, PartialEq)]
 4533   5566   
    pub enum ConstraintViolation {
 4534   5567   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 4535   5568   
        /// The first component of the tuple is the index in the collection where the
 4536   5569   
        /// first constraint violation was found.
 4537   5570   
        #[doc(hidden)]
 4538   5571   
        Member(
 4539   5572   
            usize,
 4540   5573   
            crate::model::length_pattern_string::ConstraintViolation,
 4541   5574   
        ),
 4542   5575   
    }
 4543   5576   
 4544   5577   
    impl ::std::fmt::Display for ConstraintViolation {
 4545   5578   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4546   5579   
            let message = match self {
 4547   5580   
                Self::Member(index, failing_member) => format!(
 4548   5581   
                    "Value at index {index} failed to satisfy constraint. {}",
 4549   5582   
                    failing_member
 4550   5583   
                ),
 4551   5584   
            };
 4552   5585   
            write!(f, "{message}")
 4553   5586   
        }
 4554   5587   
    }
 4555   5588   
 4556   5589   
    impl ::std::error::Error for ConstraintViolation {}
        5590  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 4557   5591   
    impl ConstraintViolation {
 4558   5592   
        pub(crate) fn as_validation_exception_field(
 4559   5593   
            self,
 4560   5594   
            path: ::std::string::String,
 4561   5595   
        ) -> crate::model::ValidationExceptionField {
 4562   5596   
            match self {
 4563   5597   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 4564   5598   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 4565   5599   
            }
 4566   5600   
        }
 4567   5601   
    }
        5602  +
        5603  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4568   5604   
}
 4569         -
/// See [`LengthPatternString`](crate::model::LengthPatternString).
        5605  +
/// /* CodegenDelegator.kt:51 */See [`LengthPatternString`](crate::model::LengthPatternString).
 4570   5606   
pub mod length_pattern_string {
 4571   5607   
        5608  +
    /* ConstrainedStringGenerator.kt:155 */
 4572   5609   
    #[derive(Debug, PartialEq)]
 4573   5610   
    pub enum ConstraintViolation {
 4574   5611   
        /// Error when a string doesn't satisfy its `@length` requirements.
 4575   5612   
        Length(usize),
 4576   5613   
        /// Error when a string doesn't satisfy its `@pattern`.
 4577   5614   
        /// Contains the String that failed the pattern.
 4578   5615   
        Pattern(String),
 4579   5616   
    }
 4580   5617   
 4581   5618   
    impl ::std::fmt::Display for ConstraintViolation {
 4582   5619   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4583   5620   
            let message = match self {
 4584   5621   
                Self::Length(length) => {
 4585   5622   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#LengthPatternString' failed to satisfy constraint: Member must have length between 5 and 10, inclusive", length)
 4586   5623   
                }
 4587   5624   
                Self::Pattern(_) => {
 4588   5625   
                    format!(
 4589   5626   
                        r#"Value provided for `com.amazonaws.constraints#LengthPatternString` failed to satisfy the constraint: Member must match the regular expression pattern: {}"#,
 4590   5627   
                        r#"[a-f0-5]*"#
 4591   5628   
                    )
 4592   5629   
                }
 4593   5630   
            };
 4594   5631   
            write!(f, "{message}")
 4595   5632   
        }
 4596   5633   
    }
 4597   5634   
 4598   5635   
    impl ::std::error::Error for ConstraintViolation {}
        5636  +
    /* ConstrainedStringGenerator.kt:180 */
 4599   5637   
    impl ConstraintViolation {
 4600   5638   
        pub(crate) fn as_validation_exception_field(
 4601   5639   
            self,
 4602   5640   
            path: ::std::string::String,
 4603   5641   
        ) -> crate::model::ValidationExceptionField {
 4604   5642   
            match self {
 4605   5643   
                            Self::Length(length) => crate::model::ValidationExceptionField {
 4606   5644   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 5 and 10, inclusive", length, &path),
 4607   5645   
                            path,
 4608   5646   
                        },
 4609   5647   
    
 4610   5648   
    #[allow(unused_variables)]
 4611   5649   
    Self::Pattern(_) => crate::model::ValidationExceptionField {
 4612   5650   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must satisfy regular expression pattern: {}", &path, r#"[a-f0-5]*"#),
 4613   5651   
                            path
 4614   5652   
                        },
 4615   5653   
                        }
 4616   5654   
        }
 4617   5655   
    }
        5656  +
        5657  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4618   5658   
}
 4619   5659   
pub mod map_of_length_pattern_string {
 4620   5660   
        5661  +
    /* MapConstraintViolationGenerator.kt:82 */
 4621   5662   
    #[allow(clippy::enum_variant_names)]
 4622   5663   
    #[derive(Debug, PartialEq)]
 4623   5664   
    pub enum ConstraintViolation {
 4624   5665   
        #[doc(hidden)]
 4625   5666   
        Key(crate::model::length_pattern_string::ConstraintViolation),
 4626   5667   
        #[doc(hidden)]
 4627   5668   
        Value(
 4628   5669   
            crate::model::LengthPatternString,
 4629   5670   
            crate::model::length_pattern_string::ConstraintViolation,
 4630   5671   
        ),
 4631   5672   
    }
 4632   5673   
 4633   5674   
    impl ::std::fmt::Display for ConstraintViolation {
 4634   5675   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4635   5676   
            match self {
 4636   5677   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 4637   5678   
                Self::Value(_, value_constraint_violation) => {
 4638   5679   
                    write!(f, "{}", value_constraint_violation)
 4639   5680   
                }
 4640   5681   
            }
 4641   5682   
        }
 4642   5683   
    }
 4643   5684   
 4644   5685   
    impl ::std::error::Error for ConstraintViolation {}
        5686  +
    /* MapConstraintViolationGenerator.kt:111 */
 4645   5687   
    impl ConstraintViolation {
 4646   5688   
        pub(crate) fn as_validation_exception_field(
 4647   5689   
            self,
 4648   5690   
            path: ::std::string::String,
 4649   5691   
        ) -> crate::model::ValidationExceptionField {
 4650   5692   
            match self {
 4651   5693   
                Self::Key(key_constraint_violation) => {
 4652   5694   
                    key_constraint_violation.as_validation_exception_field(path)
 4653   5695   
                }
 4654   5696   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 4655   5697   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 4656   5698   
            }
 4657   5699   
        }
 4658   5700   
    }
        5701  +
        5702  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4659   5703   
}
 4660   5704   
pub mod map_of_list_of_pattern_string {
 4661   5705   
        5706  +
    /* MapConstraintViolationGenerator.kt:82 */
 4662   5707   
    #[allow(clippy::enum_variant_names)]
 4663   5708   
    #[derive(Debug, PartialEq)]
 4664   5709   
    pub enum ConstraintViolation {
 4665   5710   
        #[doc(hidden)]
 4666   5711   
        Key(crate::model::pattern_string::ConstraintViolation),
 4667   5712   
        #[doc(hidden)]
 4668   5713   
        Value(
 4669   5714   
            crate::model::PatternString,
 4670   5715   
            crate::model::list_of_pattern_string::ConstraintViolation,
 4671   5716   
        ),
 4672   5717   
    }
 4673   5718   
 4674   5719   
    impl ::std::fmt::Display for ConstraintViolation {
 4675   5720   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4676   5721   
            match self {
 4677   5722   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 4678   5723   
                Self::Value(_, value_constraint_violation) => {
 4679   5724   
                    write!(f, "{}", value_constraint_violation)
 4680   5725   
                }
 4681   5726   
            }
 4682   5727   
        }
 4683   5728   
    }
 4684   5729   
 4685   5730   
    impl ::std::error::Error for ConstraintViolation {}
        5731  +
    /* MapConstraintViolationGenerator.kt:111 */
 4686   5732   
    impl ConstraintViolation {
 4687   5733   
        pub(crate) fn as_validation_exception_field(
 4688   5734   
            self,
 4689   5735   
            path: ::std::string::String,
 4690   5736   
        ) -> crate::model::ValidationExceptionField {
 4691   5737   
            match self {
 4692   5738   
                Self::Key(key_constraint_violation) => {
 4693   5739   
                    key_constraint_violation.as_validation_exception_field(path)
 4694   5740   
                }
 4695   5741   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 4696   5742   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 4697   5743   
            }
 4698   5744   
        }
 4699   5745   
    }
        5746  +
        5747  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4700   5748   
}
 4701   5749   
pub mod list_of_pattern_string {
 4702   5750   
        5751  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 4703   5752   
    #[allow(clippy::enum_variant_names)]
 4704   5753   
    #[derive(Debug, PartialEq)]
 4705   5754   
    pub enum ConstraintViolation {
 4706   5755   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 4707   5756   
        /// The first component of the tuple is the index in the collection where the
 4708   5757   
        /// first constraint violation was found.
 4709   5758   
        #[doc(hidden)]
 4710   5759   
        Member(usize, crate::model::pattern_string::ConstraintViolation),
 4711   5760   
    }
 4712   5761   
 4713   5762   
    impl ::std::fmt::Display for ConstraintViolation {
 4714   5763   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4715   5764   
            let message = match self {
 4716   5765   
                Self::Member(index, failing_member) => format!(
 4717   5766   
                    "Value at index {index} failed to satisfy constraint. {}",
 4718   5767   
                    failing_member
 4719   5768   
                ),
 4720   5769   
            };
 4721   5770   
            write!(f, "{message}")
 4722   5771   
        }
 4723   5772   
    }
 4724   5773   
 4725   5774   
    impl ::std::error::Error for ConstraintViolation {}
        5775  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 4726   5776   
    impl ConstraintViolation {
 4727   5777   
        pub(crate) fn as_validation_exception_field(
 4728   5778   
            self,
 4729   5779   
            path: ::std::string::String,
 4730   5780   
        ) -> crate::model::ValidationExceptionField {
 4731   5781   
            match self {
 4732   5782   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 4733   5783   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 4734   5784   
            }
 4735   5785   
        }
 4736   5786   
    }
        5787  +
        5788  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4737   5789   
}
 4738         -
/// See [`PatternString`](crate::model::PatternString).
        5790  +
/// /* CodegenDelegator.kt:51 */See [`PatternString`](crate::model::PatternString).
 4739   5791   
pub mod pattern_string {
 4740   5792   
        5793  +
    /* ConstrainedStringGenerator.kt:155 */
 4741   5794   
    #[derive(Debug, PartialEq)]
 4742   5795   
    pub enum ConstraintViolation {
 4743   5796   
        /// Error when a string doesn't satisfy its `@pattern`.
 4744   5797   
        /// Contains the String that failed the pattern.
 4745   5798   
        Pattern(String),
 4746   5799   
    }
 4747   5800   
 4748   5801   
    impl ::std::fmt::Display for ConstraintViolation {
 4749   5802   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4750   5803   
            let message = match self {
 4751   5804   
                Self::Pattern(_) => {
 4752   5805   
                    format!(
 4753   5806   
                        r#"Value provided for `com.amazonaws.constraints#PatternString` failed to satisfy the constraint: Member must match the regular expression pattern: {}"#,
 4754   5807   
                        r#"[a-d]{5}"#
 4755   5808   
                    )
 4756   5809   
                }
 4757   5810   
            };
 4758   5811   
            write!(f, "{message}")
 4759   5812   
        }
 4760   5813   
    }
 4761   5814   
 4762   5815   
    impl ::std::error::Error for ConstraintViolation {}
        5816  +
    /* ConstrainedStringGenerator.kt:180 */
 4763   5817   
    impl ConstraintViolation {
 4764   5818   
        pub(crate) fn as_validation_exception_field(
 4765   5819   
            self,
 4766   5820   
            path: ::std::string::String,
 4767   5821   
        ) -> crate::model::ValidationExceptionField {
 4768   5822   
            match self {
 4769   5823   
                            #[allow(unused_variables)]
 4770   5824   
    Self::Pattern(_) => crate::model::ValidationExceptionField {
 4771   5825   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must satisfy regular expression pattern: {}", &path, r#"[a-d]{5}"#),
 4772   5826   
                            path
 4773   5827   
                        },
 4774   5828   
                        }
 4775   5829   
        }
 4776   5830   
    }
        5831  +
        5832  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4777   5833   
}
 4778   5834   
pub mod map_of_pattern_string {
 4779   5835   
        5836  +
    /* MapConstraintViolationGenerator.kt:82 */
 4780   5837   
    #[allow(clippy::enum_variant_names)]
 4781   5838   
    #[derive(Debug, PartialEq)]
 4782   5839   
    pub enum ConstraintViolation {
 4783   5840   
        #[doc(hidden)]
 4784   5841   
        Key(crate::model::pattern_string::ConstraintViolation),
 4785   5842   
        #[doc(hidden)]
 4786   5843   
        Value(
 4787   5844   
            crate::model::PatternString,
 4788   5845   
            crate::model::pattern_string::ConstraintViolation,
 4789   5846   
        ),
 4790   5847   
    }
 4791   5848   
 4792   5849   
    impl ::std::fmt::Display for ConstraintViolation {
 4793   5850   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4794   5851   
            match self {
 4795   5852   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 4796   5853   
                Self::Value(_, value_constraint_violation) => {
 4797   5854   
                    write!(f, "{}", value_constraint_violation)
 4798   5855   
                }
 4799   5856   
            }
 4800   5857   
        }
 4801   5858   
    }
 4802   5859   
 4803   5860   
    impl ::std::error::Error for ConstraintViolation {}
        5861  +
    /* MapConstraintViolationGenerator.kt:111 */
 4804   5862   
    impl ConstraintViolation {
 4805   5863   
        pub(crate) fn as_validation_exception_field(
 4806   5864   
            self,
 4807   5865   
            path: ::std::string::String,
 4808   5866   
        ) -> crate::model::ValidationExceptionField {
 4809   5867   
            match self {
 4810   5868   
                Self::Key(key_constraint_violation) => {
 4811   5869   
                    key_constraint_violation.as_validation_exception_field(path)
 4812   5870   
                }
 4813   5871   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 4814   5872   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 4815   5873   
            }
 4816   5874   
        }
 4817   5875   
    }
        5876  +
        5877  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4818   5878   
}
 4819   5879   
pub mod map_of_list_of_enum_string {
 4820   5880   
        5881  +
    /* MapConstraintViolationGenerator.kt:82 */
 4821   5882   
    #[allow(clippy::enum_variant_names)]
 4822   5883   
    #[derive(Debug, PartialEq)]
 4823   5884   
    pub enum ConstraintViolation {
 4824   5885   
        #[doc(hidden)]
 4825   5886   
        Key(crate::model::enum_string::ConstraintViolation),
 4826   5887   
        #[doc(hidden)]
 4827   5888   
        Value(
 4828   5889   
            crate::model::EnumString,
 4829   5890   
            crate::model::list_of_enum_string::ConstraintViolation,
 4830   5891   
        ),
 4831   5892   
    }
 4832   5893   
 4833   5894   
    impl ::std::fmt::Display for ConstraintViolation {
 4834   5895   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4835   5896   
            match self {
 4836   5897   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 4837   5898   
                Self::Value(_, value_constraint_violation) => {
 4838   5899   
                    write!(f, "{}", value_constraint_violation)
 4839   5900   
                }
 4840   5901   
            }
 4841   5902   
        }
 4842   5903   
    }
 4843   5904   
 4844   5905   
    impl ::std::error::Error for ConstraintViolation {}
        5906  +
    /* MapConstraintViolationGenerator.kt:111 */
 4845   5907   
    impl ConstraintViolation {
 4846   5908   
        pub(crate) fn as_validation_exception_field(
 4847   5909   
            self,
 4848   5910   
            path: ::std::string::String,
 4849   5911   
        ) -> crate::model::ValidationExceptionField {
 4850   5912   
            match self {
 4851   5913   
                Self::Key(key_constraint_violation) => {
 4852   5914   
                    key_constraint_violation.as_validation_exception_field(path)
 4853   5915   
                }
 4854   5916   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 4855   5917   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 4856   5918   
            }
 4857   5919   
        }
 4858   5920   
    }
        5921  +
        5922  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4859   5923   
}
 4860   5924   
pub mod list_of_enum_string {
 4861   5925   
        5926  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 4862   5927   
    #[allow(clippy::enum_variant_names)]
 4863   5928   
    #[derive(Debug, PartialEq)]
 4864   5929   
    pub enum ConstraintViolation {
 4865   5930   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 4866   5931   
        /// The first component of the tuple is the index in the collection where the
 4867   5932   
        /// first constraint violation was found.
 4868   5933   
        #[doc(hidden)]
 4869   5934   
        Member(usize, crate::model::enum_string::ConstraintViolation),
 4870   5935   
    }
 4871   5936   
 4872   5937   
    impl ::std::fmt::Display for ConstraintViolation {
 4873   5938   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4874   5939   
            let message = match self {
 4875   5940   
                Self::Member(index, failing_member) => format!(
 4876   5941   
                    "Value at index {index} failed to satisfy constraint. {}",
 4877   5942   
                    failing_member
 4878   5943   
                ),
 4879   5944   
            };
 4880   5945   
            write!(f, "{message}")
 4881   5946   
        }
 4882   5947   
    }
 4883   5948   
 4884   5949   
    impl ::std::error::Error for ConstraintViolation {}
        5950  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 4885   5951   
    impl ConstraintViolation {
 4886   5952   
        pub(crate) fn as_validation_exception_field(
 4887   5953   
            self,
 4888   5954   
            path: ::std::string::String,
 4889   5955   
        ) -> crate::model::ValidationExceptionField {
 4890   5956   
            match self {
 4891   5957   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 4892   5958   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 4893   5959   
            }
 4894   5960   
        }
 4895   5961   
    }
        5962  +
        5963  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4896   5964   
}
 4897   5965   
pub mod map_of_length_list_of_pattern_string {
 4898   5966   
        5967  +
    /* MapConstraintViolationGenerator.kt:82 */
 4899   5968   
    #[allow(clippy::enum_variant_names)]
 4900   5969   
    #[derive(Debug, PartialEq)]
 4901   5970   
    pub enum ConstraintViolation {
 4902   5971   
        #[doc(hidden)]
 4903   5972   
        Key(crate::model::pattern_string::ConstraintViolation),
 4904   5973   
        #[doc(hidden)]
 4905   5974   
        Value(
 4906   5975   
            crate::model::PatternString,
 4907   5976   
            crate::model::length_list_of_pattern_string::ConstraintViolation,
 4908   5977   
        ),
 4909   5978   
    }
 4910   5979   
 4911   5980   
    impl ::std::fmt::Display for ConstraintViolation {
 4912   5981   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4913   5982   
            match self {
 4914   5983   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 4915   5984   
                Self::Value(_, value_constraint_violation) => {
 4916   5985   
                    write!(f, "{}", value_constraint_violation)
 4917   5986   
                }
 4918   5987   
            }
 4919   5988   
        }
 4920   5989   
    }
 4921   5990   
 4922   5991   
    impl ::std::error::Error for ConstraintViolation {}
        5992  +
    /* MapConstraintViolationGenerator.kt:111 */
 4923   5993   
    impl ConstraintViolation {
 4924   5994   
        pub(crate) fn as_validation_exception_field(
 4925   5995   
            self,
 4926   5996   
            path: ::std::string::String,
 4927   5997   
        ) -> crate::model::ValidationExceptionField {
 4928   5998   
            match self {
 4929   5999   
                Self::Key(key_constraint_violation) => {
 4930   6000   
                    key_constraint_violation.as_validation_exception_field(path)
 4931   6001   
                }
 4932   6002   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 4933   6003   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 4934   6004   
            }
 4935   6005   
        }
 4936   6006   
    }
        6007  +
        6008  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4937   6009   
}
 4938         -
/// See [`LengthListOfPatternString`](crate::model::LengthListOfPatternString).
        6010  +
/// /* CodegenDelegator.kt:51 */See [`LengthListOfPatternString`](crate::model::LengthListOfPatternString).
 4939   6011   
pub mod length_list_of_pattern_string {
 4940   6012   
        6013  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 4941   6014   
    #[allow(clippy::enum_variant_names)]
 4942   6015   
    #[derive(Debug, PartialEq)]
 4943   6016   
    pub enum ConstraintViolation {
 4944   6017   
        /// Constraint violation error when the list doesn't have the required length
 4945   6018   
        Length(usize),
 4946   6019   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 4947   6020   
        /// The first component of the tuple is the index in the collection where the
 4948   6021   
        /// first constraint violation was found.
 4949   6022   
        #[doc(hidden)]
 4950   6023   
        Member(usize, crate::model::pattern_string::ConstraintViolation),
 4951   6024   
    }
 4952   6025   
 4953   6026   
    impl ::std::fmt::Display for ConstraintViolation {
 4954   6027   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4955   6028   
            let message = match self {
 4956   6029   
                Self::Length(length) => {
 4957   6030   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#LengthListOfPatternString' failed to satisfy constraint: Member must have length between 12 and 39, inclusive", length)
 4958   6031   
                }
 4959   6032   
                Self::Member(index, failing_member) => format!(
 4960   6033   
                    "Value at index {index} failed to satisfy constraint. {}",
 4961   6034   
                    failing_member
 4962   6035   
                ),
 4963   6036   
            };
 4964   6037   
            write!(f, "{message}")
 4965   6038   
        }
 4966   6039   
    }
 4967   6040   
 4968   6041   
    impl ::std::error::Error for ConstraintViolation {}
        6042  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 4969   6043   
    impl ConstraintViolation {
 4970   6044   
        pub(crate) fn as_validation_exception_field(
 4971   6045   
            self,
 4972   6046   
            path: ::std::string::String,
 4973   6047   
        ) -> crate::model::ValidationExceptionField {
 4974   6048   
            match self {
 4975   6049   
                        Self::Length(length) => crate::model::ValidationExceptionField {
 4976   6050   
                                message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 12 and 39, inclusive", length, &path),
 4977   6051   
                                path,
 4978   6052   
                            },
 4979   6053   
    Self::Member(index, member_constraint_violation) =>
 4980   6054   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 4981   6055   
                    }
 4982   6056   
        }
 4983   6057   
    }
        6058  +
        6059  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4984   6060   
}
 4985   6061   
pub mod map_of_set_of_length_string {
 4986   6062   
        6063  +
    /* MapConstraintViolationGenerator.kt:82 */
 4987   6064   
    #[allow(clippy::enum_variant_names)]
 4988   6065   
    #[derive(Debug, PartialEq)]
 4989   6066   
    pub enum ConstraintViolation {
 4990   6067   
        #[doc(hidden)]
 4991   6068   
        Key(crate::model::length_string::ConstraintViolation),
 4992   6069   
        #[doc(hidden)]
 4993   6070   
        Value(
 4994   6071   
            crate::model::LengthString,
 4995   6072   
            crate::model::set_of_length_string::ConstraintViolation,
 4996   6073   
        ),
 4997   6074   
    }
 4998   6075   
 4999   6076   
    impl ::std::fmt::Display for ConstraintViolation {
 5000   6077   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5001   6078   
            match self {
 5002   6079   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 5003   6080   
                Self::Value(_, value_constraint_violation) => {
 5004   6081   
                    write!(f, "{}", value_constraint_violation)
 5005   6082   
                }
 5006   6083   
            }
 5007   6084   
        }
 5008   6085   
    }
 5009   6086   
 5010   6087   
    impl ::std::error::Error for ConstraintViolation {}
        6088  +
    /* MapConstraintViolationGenerator.kt:111 */
 5011   6089   
    impl ConstraintViolation {
 5012   6090   
        pub(crate) fn as_validation_exception_field(
 5013   6091   
            self,
 5014   6092   
            path: ::std::string::String,
 5015   6093   
        ) -> crate::model::ValidationExceptionField {
 5016   6094   
            match self {
 5017   6095   
                Self::Key(key_constraint_violation) => {
 5018   6096   
                    key_constraint_violation.as_validation_exception_field(path)
 5019   6097   
                }
 5020   6098   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 5021   6099   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 5022   6100   
            }
 5023   6101   
        }
 5024   6102   
    }
        6103  +
        6104  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5025   6105   
}
 5026         -
/// See [`SetOfLengthString`](crate::model::SetOfLengthString).
        6106  +
/// /* CodegenDelegator.kt:51 */See [`SetOfLengthString`](crate::model::SetOfLengthString).
 5027   6107   
pub mod set_of_length_string {
 5028   6108   
        6109  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 5029   6110   
    #[allow(clippy::enum_variant_names)]
 5030   6111   
    #[derive(Debug, PartialEq)]
 5031   6112   
    pub enum ConstraintViolation {
 5032   6113   
        /// Constraint violation error when the list does not contain unique items
 5033   6114   
        UniqueItems {
 5034   6115   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 5035   6116   
            /// at least two elements.
 5036   6117   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 5037   6118   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 5038   6119   
            /// Nothing is guaranteed about the order of the indices.
 5039   6120   
            duplicate_indices: ::std::vec::Vec<usize>,
 5040   6121   
            /// The original vector, that contains duplicate items.
 5041   6122   
            original: ::std::vec::Vec<crate::model::LengthString>,
 5042   6123   
        },
 5043   6124   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 5044   6125   
        /// The first component of the tuple is the index in the collection where the
 5045   6126   
        /// first constraint violation was found.
 5046   6127   
        #[doc(hidden)]
 5047   6128   
        Member(usize, crate::model::length_string::ConstraintViolation),
 5048   6129   
    }
 5049   6130   
 5050   6131   
    impl ::std::fmt::Display for ConstraintViolation {
 5051   6132   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5052   6133   
            let message = match self {
 5053   6134   
                                Self::UniqueItems { duplicate_indices, .. } =>
 5054   6135   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#SetOfLengthString' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 5055   6136   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 5056   6137   
                           failing_member)
 5057   6138   
                            };
 5058   6139   
            write!(f, "{message}")
 5059   6140   
        }
 5060   6141   
    }
 5061   6142   
 5062   6143   
    impl ::std::error::Error for ConstraintViolation {}
        6144  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 5063   6145   
    impl ConstraintViolation {
 5064   6146   
        pub(crate) fn as_validation_exception_field(
 5065   6147   
            self,
 5066   6148   
            path: ::std::string::String,
 5067   6149   
        ) -> crate::model::ValidationExceptionField {
 5068   6150   
            match self {
 5069   6151   
                        Self::UniqueItems { duplicate_indices, .. } =>
 5070   6152   
                                crate::model::ValidationExceptionField {
 5071   6153   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 5072   6154   
                                    path,
 5073   6155   
                                },
 5074   6156   
    Self::Member(index, member_constraint_violation) =>
 5075   6157   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 5076   6158   
                    }
 5077   6159   
        }
 5078   6160   
    }
        6161  +
        6162  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5079   6163   
}
 5080   6164   
pub mod map_of_list_of_length_string {
 5081   6165   
        6166  +
    /* MapConstraintViolationGenerator.kt:82 */
 5082   6167   
    #[allow(clippy::enum_variant_names)]
 5083   6168   
    #[derive(Debug, PartialEq)]
 5084   6169   
    pub enum ConstraintViolation {
 5085   6170   
        #[doc(hidden)]
 5086   6171   
        Key(crate::model::length_string::ConstraintViolation),
 5087   6172   
        #[doc(hidden)]
 5088   6173   
        Value(
 5089   6174   
            crate::model::LengthString,
 5090   6175   
            crate::model::list_of_length_string::ConstraintViolation,
 5091   6176   
        ),
 5092   6177   
    }
 5093   6178   
 5094   6179   
    impl ::std::fmt::Display for ConstraintViolation {
 5095   6180   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5096   6181   
            match self {
 5097   6182   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 5098   6183   
                Self::Value(_, value_constraint_violation) => {
 5099   6184   
                    write!(f, "{}", value_constraint_violation)
 5100   6185   
                }
 5101   6186   
            }
 5102   6187   
        }
 5103   6188   
    }
 5104   6189   
 5105   6190   
    impl ::std::error::Error for ConstraintViolation {}
        6191  +
    /* MapConstraintViolationGenerator.kt:111 */
 5106   6192   
    impl ConstraintViolation {
 5107   6193   
        pub(crate) fn as_validation_exception_field(
 5108   6194   
            self,
 5109   6195   
            path: ::std::string::String,
 5110   6196   
        ) -> crate::model::ValidationExceptionField {
 5111   6197   
            match self {
 5112   6198   
                Self::Key(key_constraint_violation) => {
 5113   6199   
                    key_constraint_violation.as_validation_exception_field(path)
 5114   6200   
                }
 5115   6201   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 5116   6202   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 5117   6203   
            }
 5118   6204   
        }
 5119   6205   
    }
        6206  +
        6207  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5120   6208   
}
 5121   6209   
pub mod list_of_length_string {
 5122   6210   
        6211  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 5123   6212   
    #[allow(clippy::enum_variant_names)]
 5124   6213   
    #[derive(Debug, PartialEq)]
 5125   6214   
    pub enum ConstraintViolation {
 5126   6215   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 5127   6216   
        /// The first component of the tuple is the index in the collection where the
 5128   6217   
        /// first constraint violation was found.
 5129   6218   
        #[doc(hidden)]
 5130   6219   
        Member(usize, crate::model::length_string::ConstraintViolation),
 5131   6220   
    }
 5132   6221   
 5133   6222   
    impl ::std::fmt::Display for ConstraintViolation {
 5134   6223   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5135   6224   
            let message = match self {
 5136   6225   
                Self::Member(index, failing_member) => format!(
 5137   6226   
                    "Value at index {index} failed to satisfy constraint. {}",
 5138   6227   
                    failing_member
 5139   6228   
                ),
 5140   6229   
            };
 5141   6230   
            write!(f, "{message}")
 5142   6231   
        }
 5143   6232   
    }
 5144   6233   
 5145   6234   
    impl ::std::error::Error for ConstraintViolation {}
        6235  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 5146   6236   
    impl ConstraintViolation {
 5147   6237   
        pub(crate) fn as_validation_exception_field(
 5148   6238   
            self,
 5149   6239   
            path: ::std::string::String,
 5150   6240   
        ) -> crate::model::ValidationExceptionField {
 5151   6241   
            match self {
 5152   6242   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 5153   6243   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 5154   6244   
            }
 5155   6245   
        }
 5156   6246   
    }
        6247  +
        6248  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5157   6249   
}
 5158   6250   
pub mod map_of_length_string {
 5159   6251   
        6252  +
    /* MapConstraintViolationGenerator.kt:82 */
 5160   6253   
    #[allow(clippy::enum_variant_names)]
 5161   6254   
    #[derive(Debug, PartialEq)]
 5162   6255   
    pub enum ConstraintViolation {
 5163   6256   
        #[doc(hidden)]
 5164   6257   
        Key(crate::model::length_string::ConstraintViolation),
 5165   6258   
        #[doc(hidden)]
 5166   6259   
        Value(
 5167   6260   
            crate::model::LengthString,
 5168   6261   
            crate::model::length_string::ConstraintViolation,
 5169   6262   
        ),
 5170   6263   
    }
 5171   6264   
 5172   6265   
    impl ::std::fmt::Display for ConstraintViolation {
 5173   6266   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5174   6267   
            match self {
 5175   6268   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 5176   6269   
                Self::Value(_, value_constraint_violation) => {
 5177   6270   
                    write!(f, "{}", value_constraint_violation)
 5178   6271   
                }
 5179   6272   
            }
 5180   6273   
        }
 5181   6274   
    }
 5182   6275   
 5183   6276   
    impl ::std::error::Error for ConstraintViolation {}
        6277  +
    /* MapConstraintViolationGenerator.kt:111 */
 5184   6278   
    impl ConstraintViolation {
 5185   6279   
        pub(crate) fn as_validation_exception_field(
 5186   6280   
            self,
 5187   6281   
            path: ::std::string::String,
 5188   6282   
        ) -> crate::model::ValidationExceptionField {
 5189   6283   
            match self {
 5190   6284   
                Self::Key(key_constraint_violation) => {
 5191   6285   
                    key_constraint_violation.as_validation_exception_field(path)
 5192   6286   
                }
 5193   6287   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 5194   6288   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 5195   6289   
            }
 5196   6290   
        }
 5197   6291   
    }
        6292  +
        6293  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5198   6294   
}
 5199   6295   
pub mod recursive_list {
 5200   6296   
        6297  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 5201   6298   
    #[allow(clippy::enum_variant_names)]
 5202   6299   
    #[derive(Debug, PartialEq)]
 5203   6300   
    pub enum ConstraintViolation {
 5204   6301   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 5205   6302   
        /// The first component of the tuple is the index in the collection where the
 5206   6303   
        /// first constraint violation was found.
 5207   6304   
        #[doc(hidden)]
 5208   6305   
        Member(
 5209   6306   
            usize,
 5210   6307   
            crate::model::recursive_shapes_input_output_nested1::ConstraintViolation,
 5211   6308   
        ),
 5212   6309   
    }
 5213   6310   
 5214   6311   
    impl ::std::fmt::Display for ConstraintViolation {
 5215   6312   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5216   6313   
            let message = match self {
 5217   6314   
                Self::Member(index, failing_member) => format!(
 5218   6315   
                    "Value at index {index} failed to satisfy constraint. {}",
 5219   6316   
                    failing_member
 5220   6317   
                ),
 5221   6318   
            };
 5222   6319   
            write!(f, "{message}")
 5223   6320   
        }
 5224   6321   
    }
 5225   6322   
 5226   6323   
    impl ::std::error::Error for ConstraintViolation {}
        6324  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 5227   6325   
    impl ConstraintViolation {
 5228   6326   
        pub(crate) fn as_validation_exception_field(
 5229   6327   
            self,
 5230   6328   
            path: ::std::string::String,
 5231   6329   
        ) -> crate::model::ValidationExceptionField {
 5232   6330   
            match self {
 5233   6331   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 5234   6332   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 5235   6333   
            }
 5236   6334   
        }
 5237   6335   
    }
        6336  +
        6337  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5238   6338   
}
 5239         -
/// See [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
        6339  +
/// /* ServerBuilderGenerator.kt:171 */See [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
 5240   6340   
pub mod recursive_shapes_input_output_nested1 {
 5241   6341   
        6342  +
    /* RustType.kt:516 */
 5242   6343   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 5243         -
    /// Holds one variant for each of the ways the builder can fail.
        6344  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        6345  +
    /* RustType.kt:516 */
 5244   6346   
    #[non_exhaustive]
        6347  +
    /* ServerBuilderConstraintViolations.kt:75 */
 5245   6348   
    #[allow(clippy::enum_variant_names)]
 5246   6349   
    pub enum ConstraintViolation {
 5247         -
        /// `recursive_member` was not provided but it is required when building `RecursiveShapesInputOutputNested1`.
        6350  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`recursive_member` was not provided but it is required when building `RecursiveShapesInputOutputNested1`.
        6351  +
        /* ServerBuilderConstraintViolations.kt:143 */
 5248   6352   
        MissingRecursiveMember,
 5249         -
        /// Constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested1`.
        6353  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested1`.
        6354  +
        /* RustType.kt:516 */
 5250   6355   
        #[doc(hidden)]
        6356  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5251   6357   
        RecursiveMember(
 5252   6358   
            ::std::boxed::Box<
 5253   6359   
                crate::model::recursive_shapes_input_output_nested2::ConstraintViolation,
 5254   6360   
            >,
 5255   6361   
        ),
        6362  +
        /* ServerBuilderConstraintViolations.kt:75 */
 5256   6363   
    }
        6364  +
    /* ServerBuilderConstraintViolations.kt:117 */
 5257   6365   
    impl ::std::fmt::Display for ConstraintViolation {
        6366  +
        /* ServerBuilderConstraintViolations.kt:118 */
 5258   6367   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6368  +
            /* ServerBuilderConstraintViolations.kt:119 */
 5259   6369   
            match self {
 5260         -
                ConstraintViolation::MissingRecursiveMember => write!(f, "`recursive_member` was not provided but it is required when building `RecursiveShapesInputOutputNested1`"),
 5261         -
                ConstraintViolation::RecursiveMember(_) => write!(f, "constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested1`"),
 5262         -
            }
        6370  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingRecursiveMember => write!(f, "`recursive_member` was not provided but it is required when building `RecursiveShapesInputOutputNested1`"),
        6371  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::RecursiveMember(_) => write!(f, "constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested1`"),
        6372  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        6373  +
            /* ServerBuilderConstraintViolations.kt:118 */
 5263   6374   
        }
        6375  +
        /* ServerBuilderConstraintViolations.kt:117 */
 5264   6376   
    }
        6377  +
    /* ServerBuilderConstraintViolations.kt:84 */
 5265   6378   
    impl ::std::error::Error for ConstraintViolation {}
        6379  +
    /* ServerBuilderConstraintViolations.kt:171 */
 5266   6380   
    impl ConstraintViolation {
 5267   6381   
        pub(crate) fn as_validation_exception_field(
 5268   6382   
            self,
 5269   6383   
            path: ::std::string::String,
 5270   6384   
        ) -> crate::model::ValidationExceptionField {
 5271   6385   
            match self {
 5272   6386   
            ConstraintViolation::MissingRecursiveMember => crate::model::ValidationExceptionField {
 5273   6387   
                                                message: format!("Value at '{}/recursiveMember' failed to satisfy constraint: Member must not be null", path),
 5274   6388   
                                                path: path + "/recursiveMember",
 5275   6389   
                                            },
 5276   6390   
            ConstraintViolation::RecursiveMember(inner) => inner.as_validation_exception_field(path + "/recursiveMember"),
 5277   6391   
        }
 5278   6392   
        }
 5279   6393   
    }
        6394  +
    /* ServerBuilderGenerator.kt:244 */
 5280   6395   
    impl ::std::convert::From<Builder>
 5281   6396   
        for crate::constrained::MaybeConstrained<crate::model::RecursiveShapesInputOutputNested1>
 5282   6397   
    {
 5283   6398   
        fn from(builder: Builder) -> Self {
 5284   6399   
            Self::Unconstrained(builder)
 5285   6400   
        }
 5286   6401   
    }
        6402  +
    /* ServerBuilderGenerator.kt:446 */
 5287   6403   
    impl ::std::convert::TryFrom<Builder> for crate::model::RecursiveShapesInputOutputNested1 {
 5288   6404   
        type Error = ConstraintViolation;
 5289   6405   
 5290   6406   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 5291   6407   
            builder.build()
 5292   6408   
        }
 5293   6409   
    }
 5294         -
    /// A builder for [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
        6410  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
        6411  +
    /* RustType.kt:516 */
 5295   6412   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        6413  +
    /* ServerBuilderGenerator.kt:211 */
 5296   6414   
    pub struct Builder {
        6415  +
        /* ServerBuilderGenerator.kt:308 */
 5297   6416   
        pub(crate) recursive_member: ::std::option::Option<
 5298   6417   
            ::std::boxed::Box<
 5299   6418   
                crate::constrained::MaybeConstrained<
 5300   6419   
                    crate::model::RecursiveShapesInputOutputNested2,
 5301   6420   
                >,
 5302   6421   
            >,
 5303   6422   
        >,
        6423  +
        /* ServerBuilderGenerator.kt:211 */
 5304   6424   
    }
        6425  +
    /* ServerBuilderGenerator.kt:215 */
 5305   6426   
    impl Builder {
        6427  +
        /* ServerBuilderGenerator.kt:331 */
 5306   6428   
        #[allow(missing_docs)] // documentation missing in model
        6429  +
        /* RustType.kt:516 */
 5307   6430   
        #[allow(clippy::boxed_local)]
        6431  +
        /* ServerBuilderGenerator.kt:343 */
 5308   6432   
        pub fn recursive_member(
 5309   6433   
            mut self,
 5310   6434   
            input: ::std::boxed::Box<crate::model::RecursiveShapesInputOutputNested2>,
 5311   6435   
        ) -> Self {
 5312         -
            self.recursive_member = Some(Box::new(
 5313         -
                crate::constrained::MaybeConstrained::Constrained(*input),
 5314         -
            ));
        6436  +
            /* ServerBuilderGenerator.kt:344 */
        6437  +
            self.recursive_member =
        6438  +
                /* ServerBuilderGenerator.kt:345 */Some(
        6439  +
                    /* ServerBuilderGenerator.kt:370 */Box::new(
        6440  +
                        /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(*input)
        6441  +
                    /* ServerBuilderGenerator.kt:370 */)
        6442  +
                /* ServerBuilderGenerator.kt:345 */)
        6443  +
            /* ServerBuilderGenerator.kt:344 */;
 5315   6444   
            self
        6445  +
            /* ServerBuilderGenerator.kt:343 */
 5316   6446   
        }
        6447  +
        /* ServerBuilderGenerator.kt:426 */
 5317   6448   
        #[allow(missing_docs)] // documentation missing in model
        6449  +
                               /* ServerBuilderGenerator.kt:428 */
 5318   6450   
        pub(crate) fn set_recursive_member(
 5319   6451   
            mut self,
 5320   6452   
            input: impl ::std::convert::Into<
 5321   6453   
                ::std::boxed::Box<
 5322   6454   
                    crate::constrained::MaybeConstrained<
 5323   6455   
                        crate::model::RecursiveShapesInputOutputNested2,
 5324   6456   
                    >,
 5325   6457   
                >,
 5326   6458   
            >,
 5327   6459   
        ) -> Self {
        6460  +
            /* ServerBuilderGenerator.kt:429 */
 5328   6461   
            self.recursive_member = Some(input.into());
 5329   6462   
            self
        6463  +
            /* ServerBuilderGenerator.kt:428 */
 5330   6464   
        }
 5331         -
        /// Consumes the builder and constructs a [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
 5332         -
        ///
        6465  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
        6466  +
        /// /* ServerBuilderGenerator.kt:260 */
 5333   6467   
        /// The builder fails to construct a [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1) if a [`ConstraintViolation`] occurs.
 5334   6468   
        ///
 5335         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        6469  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        6470  +
        /* ServerBuilderGenerator.kt:271 */
 5336   6471   
        pub fn build(
 5337   6472   
            self,
 5338   6473   
        ) -> Result<crate::model::RecursiveShapesInputOutputNested1, ConstraintViolation> {
 5339   6474   
            self.build_enforcing_all_constraints()
 5340   6475   
        }
        6476  +
        /* ServerBuilderGenerator.kt:283 */
 5341   6477   
        fn build_enforcing_all_constraints(
 5342   6478   
            self,
 5343   6479   
        ) -> Result<crate::model::RecursiveShapesInputOutputNested1, ConstraintViolation> {
 5344         -
            Ok(crate::model::RecursiveShapesInputOutputNested1 {
        6480  +
            /* ServerBuilderGenerator.kt:287 */
        6481  +
            Ok(
        6482  +
                /* ServerBuilderGenerator.kt:542 */
        6483  +
                crate::model::RecursiveShapesInputOutputNested1 {
        6484  +
                    /* ServerBuilderGenerator.kt:546 */
 5345   6485   
                    recursive_member: self
 5346   6486   
                        .recursive_member
        6487  +
                        /* ServerBuilderGenerator.kt:592 */
 5347   6488   
                        .map(|v| match *v {
 5348   6489   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(Box::new(x)),
 5349   6490   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => {
 5350   6491   
                                Ok(Box::new(x.try_into()?))
 5351   6492   
                            }
 5352   6493   
                        })
        6494  +
                        /* ServerBuilderGenerator.kt:614 */
 5353   6495   
                        .map(|res| {
 5354   6496   
                            res.map_err(Box::new)
 5355   6497   
                                .map_err(ConstraintViolation::RecursiveMember)
 5356   6498   
                        })
 5357   6499   
                        .transpose()?
        6500  +
                        /* ServerBuilderGenerator.kt:569 */
 5358   6501   
                        .ok_or(ConstraintViolation::MissingRecursiveMember)?,
 5359         -
            })
        6502  +
                    /* ServerBuilderGenerator.kt:542 */
        6503  +
                }, /* ServerBuilderGenerator.kt:287 */
        6504  +
            )
        6505  +
            /* ServerBuilderGenerator.kt:283 */
 5360   6506   
        }
        6507  +
        /* ServerBuilderGenerator.kt:215 */
 5361   6508   
    }
        6509  +
        6510  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5362   6511   
}
 5363         -
/// See [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        6512  +
/// /* ServerBuilderGenerator.kt:171 */See [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
 5364   6513   
pub mod recursive_shapes_input_output_nested2 {
 5365   6514   
        6515  +
    /* RustType.kt:516 */
 5366   6516   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 5367         -
    /// Holds one variant for each of the ways the builder can fail.
        6517  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        6518  +
    /* RustType.kt:516 */
 5368   6519   
    #[non_exhaustive]
        6520  +
    /* ServerBuilderConstraintViolations.kt:75 */
 5369   6521   
    #[allow(clippy::enum_variant_names)]
 5370   6522   
    pub enum ConstraintViolation {
 5371         -
        /// Constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested2`.
        6523  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested2`.
        6524  +
        /* RustType.kt:516 */
 5372   6525   
        #[doc(hidden)]
        6526  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5373   6527   
        RecursiveMember(crate::model::recursive_shapes_input_output_nested1::ConstraintViolation),
        6528  +
        /* ServerBuilderConstraintViolations.kt:75 */
 5374   6529   
    }
        6530  +
    /* ServerBuilderConstraintViolations.kt:117 */
 5375   6531   
    impl ::std::fmt::Display for ConstraintViolation {
        6532  +
        /* ServerBuilderConstraintViolations.kt:118 */
 5376   6533   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6534  +
            /* ServerBuilderConstraintViolations.kt:119 */
 5377   6535   
            match self {
 5378         -
                ConstraintViolation::RecursiveMember(_) => write!(f, "constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested2`"),
 5379         -
            }
        6536  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::RecursiveMember(_) => write!(f, "constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested2`"),
        6537  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        6538  +
            /* ServerBuilderConstraintViolations.kt:118 */
 5380   6539   
        }
        6540  +
        /* ServerBuilderConstraintViolations.kt:117 */
 5381   6541   
    }
        6542  +
    /* ServerBuilderConstraintViolations.kt:84 */
 5382   6543   
    impl ::std::error::Error for ConstraintViolation {}
        6544  +
    /* ServerBuilderConstraintViolations.kt:171 */
 5383   6545   
    impl ConstraintViolation {
 5384   6546   
        pub(crate) fn as_validation_exception_field(
 5385   6547   
            self,
 5386   6548   
            path: ::std::string::String,
 5387   6549   
        ) -> crate::model::ValidationExceptionField {
 5388   6550   
            match self {
 5389   6551   
                ConstraintViolation::RecursiveMember(inner) => {
 5390   6552   
                    inner.as_validation_exception_field(path + "/recursiveMember")
 5391   6553   
                }
 5392   6554   
            }
 5393   6555   
        }
 5394   6556   
    }
        6557  +
    /* ServerBuilderGenerator.kt:244 */
 5395   6558   
    impl ::std::convert::From<Builder>
 5396   6559   
        for crate::constrained::MaybeConstrained<crate::model::RecursiveShapesInputOutputNested2>
 5397   6560   
    {
 5398   6561   
        fn from(builder: Builder) -> Self {
 5399   6562   
            Self::Unconstrained(builder)
 5400   6563   
        }
 5401   6564   
    }
        6565  +
    /* ServerBuilderGenerator.kt:446 */
 5402   6566   
    impl ::std::convert::TryFrom<Builder> for crate::model::RecursiveShapesInputOutputNested2 {
 5403   6567   
        type Error = ConstraintViolation;
 5404   6568   
 5405   6569   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 5406   6570   
            builder.build()
 5407   6571   
        }
 5408   6572   
    }
 5409         -
    /// A builder for [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        6573  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        6574  +
    /* RustType.kt:516 */
 5410   6575   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        6576  +
    /* ServerBuilderGenerator.kt:211 */
 5411   6577   
    pub struct Builder {
        6578  +
        /* ServerBuilderGenerator.kt:308 */
 5412   6579   
        pub(crate) recursive_member: ::std::option::Option<
 5413   6580   
            crate::constrained::MaybeConstrained<crate::model::RecursiveShapesInputOutputNested1>,
 5414   6581   
        >,
        6582  +
        /* ServerBuilderGenerator.kt:211 */
 5415   6583   
    }
        6584  +
    /* ServerBuilderGenerator.kt:215 */
 5416   6585   
    impl Builder {
        6586  +
        /* ServerBuilderGenerator.kt:331 */
 5417   6587   
        #[allow(missing_docs)] // documentation missing in model
        6588  +
                               /* ServerBuilderGenerator.kt:343 */
 5418   6589   
        pub fn recursive_member(
 5419   6590   
            mut self,
 5420   6591   
            input: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
 5421   6592   
        ) -> Self {
 5422         -
            self.recursive_member = input.map(
 5423         -
                #[allow(clippy::redundant_closure)]
 5424         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5425         -
            );
        6593  +
            /* ServerBuilderGenerator.kt:344 */
        6594  +
            self.recursive_member =
        6595  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        6596  +
            /* ServerBuilderGenerator.kt:344 */;
 5426   6597   
            self
        6598  +
            /* ServerBuilderGenerator.kt:343 */
 5427   6599   
        }
        6600  +
        /* ServerBuilderGenerator.kt:426 */
 5428   6601   
        #[allow(missing_docs)] // documentation missing in model
        6602  +
                               /* ServerBuilderGenerator.kt:428 */
 5429   6603   
        pub(crate) fn set_recursive_member(
 5430   6604   
            mut self,
 5431   6605   
            input: Option<
 5432   6606   
                impl ::std::convert::Into<
 5433   6607   
                    crate::constrained::MaybeConstrained<
 5434   6608   
                        crate::model::RecursiveShapesInputOutputNested1,
 5435   6609   
                    >,
 5436   6610   
                >,
 5437   6611   
            >,
 5438   6612   
        ) -> Self {
        6613  +
            /* ServerBuilderGenerator.kt:429 */
 5439   6614   
            self.recursive_member = input.map(|v| v.into());
 5440   6615   
            self
        6616  +
            /* ServerBuilderGenerator.kt:428 */
 5441   6617   
        }
 5442         -
        /// Consumes the builder and constructs a [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
 5443         -
        ///
        6618  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        6619  +
        /// /* ServerBuilderGenerator.kt:260 */
 5444   6620   
        /// The builder fails to construct a [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2) if a [`ConstraintViolation`] occurs.
 5445   6621   
        ///
        6622  +
        /* ServerBuilderGenerator.kt:271 */
 5446   6623   
        pub fn build(
 5447   6624   
            self,
 5448   6625   
        ) -> Result<crate::model::RecursiveShapesInputOutputNested2, ConstraintViolation> {
 5449   6626   
            self.build_enforcing_all_constraints()
 5450   6627   
        }
        6628  +
        /* ServerBuilderGenerator.kt:283 */
 5451   6629   
        fn build_enforcing_all_constraints(
 5452   6630   
            self,
 5453   6631   
        ) -> Result<crate::model::RecursiveShapesInputOutputNested2, ConstraintViolation> {
 5454         -
            Ok(crate::model::RecursiveShapesInputOutputNested2 {
        6632  +
            /* ServerBuilderGenerator.kt:287 */
        6633  +
            Ok(
        6634  +
                /* ServerBuilderGenerator.kt:542 */
        6635  +
                crate::model::RecursiveShapesInputOutputNested2 {
        6636  +
                    /* ServerBuilderGenerator.kt:546 */
 5455   6637   
                    recursive_member: self
 5456   6638   
                        .recursive_member
        6639  +
                        /* ServerBuilderGenerator.kt:602 */
 5457   6640   
                        .map(|v| match v {
 5458   6641   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 5459   6642   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 5460   6643   
                        })
        6644  +
                        /* ServerBuilderGenerator.kt:614 */
 5461   6645   
                        .map(|res| res.map_err(ConstraintViolation::RecursiveMember))
 5462   6646   
                        .transpose()?,
 5463         -
            })
        6647  +
                    /* ServerBuilderGenerator.kt:542 */
        6648  +
                }, /* ServerBuilderGenerator.kt:287 */
        6649  +
            )
        6650  +
            /* ServerBuilderGenerator.kt:283 */
 5464   6651   
        }
        6652  +
        /* ServerBuilderGenerator.kt:215 */
 5465   6653   
    }
        6654  +
        6655  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5466   6656   
}
 5467         -
/// See [`ConA`](crate::model::ConA).
        6657  +
/// /* ServerBuilderGenerator.kt:171 */See [`ConA`](crate::model::ConA).
 5468   6658   
pub mod con_a {
 5469   6659   
        6660  +
    /* RustType.kt:516 */
 5470   6661   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 5471         -
    /// Holds one variant for each of the ways the builder can fail.
        6662  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        6663  +
    /* RustType.kt:516 */
 5472   6664   
    #[non_exhaustive]
        6665  +
    /* ServerBuilderConstraintViolations.kt:75 */
 5473   6666   
    #[allow(clippy::enum_variant_names)]
 5474   6667   
    pub enum ConstraintViolation {
 5475         -
        /// `con_b` was not provided but it is required when building `ConA`.
        6668  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`con_b` was not provided but it is required when building `ConA`.
        6669  +
        /* ServerBuilderConstraintViolations.kt:143 */
 5476   6670   
        MissingConB,
 5477         -
        /// Constraint violation occurred building member `con_b` when building `ConA`.
        6671  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `con_b` when building `ConA`.
        6672  +
        /* RustType.kt:516 */
 5478   6673   
        #[doc(hidden)]
        6674  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5479   6675   
        ConB(crate::model::con_b::ConstraintViolation),
 5480         -
        /// Constraint violation occurred building member `opt_con_b` when building `ConA`.
        6676  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `opt_con_b` when building `ConA`.
        6677  +
        /* RustType.kt:516 */
 5481   6678   
        #[doc(hidden)]
        6679  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5482   6680   
        OptConB(crate::model::con_b::ConstraintViolation),
 5483         -
        /// Constraint violation occurred building member `length_string` when building `ConA`.
        6681  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `length_string` when building `ConA`.
        6682  +
        /* RustType.kt:516 */
 5484   6683   
        #[doc(hidden)]
        6684  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5485   6685   
        LengthString(crate::model::length_string::ConstraintViolation),
 5486         -
        /// Constraint violation occurred building member `min_length_string` when building `ConA`.
        6686  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_length_string` when building `ConA`.
        6687  +
        /* RustType.kt:516 */
 5487   6688   
        #[doc(hidden)]
        6689  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5488   6690   
        MinLengthString(crate::model::min_length_string::ConstraintViolation),
 5489         -
        /// Constraint violation occurred building member `max_length_string` when building `ConA`.
        6691  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_length_string` when building `ConA`.
        6692  +
        /* RustType.kt:516 */
 5490   6693   
        #[doc(hidden)]
        6694  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5491   6695   
        MaxLengthString(crate::model::max_length_string::ConstraintViolation),
 5492         -
        /// Constraint violation occurred building member `fixed_length_string` when building `ConA`.
        6696  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `fixed_length_string` when building `ConA`.
        6697  +
        /* RustType.kt:516 */
 5493   6698   
        #[doc(hidden)]
        6699  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5494   6700   
        FixedLengthString(crate::model::fixed_length_string::ConstraintViolation),
 5495         -
        /// Constraint violation occurred building member `length_blob` when building `ConA`.
        6701  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `length_blob` when building `ConA`.
        6702  +
        /* RustType.kt:516 */
 5496   6703   
        #[doc(hidden)]
        6704  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5497   6705   
        LengthBlob(crate::model::length_blob::ConstraintViolation),
 5498         -
        /// Constraint violation occurred building member `min_length_blob` when building `ConA`.
        6706  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_length_blob` when building `ConA`.
        6707  +
        /* RustType.kt:516 */
 5499   6708   
        #[doc(hidden)]
        6709  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5500   6710   
        MinLengthBlob(crate::model::min_length_blob::ConstraintViolation),
 5501         -
        /// Constraint violation occurred building member `max_length_blob` when building `ConA`.
        6711  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_length_blob` when building `ConA`.
        6712  +
        /* RustType.kt:516 */
 5502   6713   
        #[doc(hidden)]
        6714  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5503   6715   
        MaxLengthBlob(crate::model::max_length_blob::ConstraintViolation),
 5504         -
        /// Constraint violation occurred building member `fixed_length_blob` when building `ConA`.
        6716  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `fixed_length_blob` when building `ConA`.
        6717  +
        /* RustType.kt:516 */
 5505   6718   
        #[doc(hidden)]
        6719  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5506   6720   
        FixedLengthBlob(crate::model::fixed_length_blob::ConstraintViolation),
 5507         -
        /// Constraint violation occurred building member `range_integer` when building `ConA`.
        6721  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `range_integer` when building `ConA`.
        6722  +
        /* RustType.kt:516 */
 5508   6723   
        #[doc(hidden)]
        6724  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5509   6725   
        RangeInteger(crate::model::range_integer::ConstraintViolation),
 5510         -
        /// Constraint violation occurred building member `min_range_integer` when building `ConA`.
        6726  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_range_integer` when building `ConA`.
        6727  +
        /* RustType.kt:516 */
 5511   6728   
        #[doc(hidden)]
        6729  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5512   6730   
        MinRangeInteger(crate::model::min_range_integer::ConstraintViolation),
 5513         -
        /// Constraint violation occurred building member `max_range_integer` when building `ConA`.
        6731  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_range_integer` when building `ConA`.
        6732  +
        /* RustType.kt:516 */
 5514   6733   
        #[doc(hidden)]
        6734  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5515   6735   
        MaxRangeInteger(crate::model::max_range_integer::ConstraintViolation),
 5516         -
        /// Constraint violation occurred building member `fixed_value_integer` when building `ConA`.
        6736  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `fixed_value_integer` when building `ConA`.
        6737  +
        /* RustType.kt:516 */
 5517   6738   
        #[doc(hidden)]
        6739  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5518   6740   
        FixedValueInteger(crate::model::fixed_value_integer::ConstraintViolation),
 5519         -
        /// Constraint violation occurred building member `range_short` when building `ConA`.
        6741  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `range_short` when building `ConA`.
        6742  +
        /* RustType.kt:516 */
 5520   6743   
        #[doc(hidden)]
        6744  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5521   6745   
        RangeShort(crate::model::range_short::ConstraintViolation),
 5522         -
        /// Constraint violation occurred building member `min_range_short` when building `ConA`.
        6746  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_range_short` when building `ConA`.
        6747  +
        /* RustType.kt:516 */
 5523   6748   
        #[doc(hidden)]
        6749  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5524   6750   
        MinRangeShort(crate::model::min_range_short::ConstraintViolation),
 5525         -
        /// Constraint violation occurred building member `max_range_short` when building `ConA`.
        6751  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_range_short` when building `ConA`.
        6752  +
        /* RustType.kt:516 */
 5526   6753   
        #[doc(hidden)]
        6754  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5527   6755   
        MaxRangeShort(crate::model::max_range_short::ConstraintViolation),
 5528         -
        /// Constraint violation occurred building member `fixed_value_short` when building `ConA`.
        6756  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `fixed_value_short` when building `ConA`.
        6757  +
        /* RustType.kt:516 */
 5529   6758   
        #[doc(hidden)]
        6759  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5530   6760   
        FixedValueShort(crate::model::fixed_value_short::ConstraintViolation),
 5531         -
        /// Constraint violation occurred building member `range_long` when building `ConA`.
        6761  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `range_long` when building `ConA`.
        6762  +
        /* RustType.kt:516 */
 5532   6763   
        #[doc(hidden)]
        6764  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5533   6765   
        RangeLong(crate::model::range_long::ConstraintViolation),
 5534         -
        /// Constraint violation occurred building member `min_range_long` when building `ConA`.
        6766  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_range_long` when building `ConA`.
        6767  +
        /* RustType.kt:516 */
 5535   6768   
        #[doc(hidden)]
        6769  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5536   6770   
        MinRangeLong(crate::model::min_range_long::ConstraintViolation),
 5537         -
        /// Constraint violation occurred building member `max_range_long` when building `ConA`.
        6771  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_range_long` when building `ConA`.
        6772  +
        /* RustType.kt:516 */
 5538   6773   
        #[doc(hidden)]
        6774  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5539   6775   
        MaxRangeLong(crate::model::max_range_long::ConstraintViolation),
 5540         -
        /// Constraint violation occurred building member `fixed_value_long` when building `ConA`.
        6776  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `fixed_value_long` when building `ConA`.
        6777  +
        /* RustType.kt:516 */
 5541   6778   
        #[doc(hidden)]
        6779  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5542   6780   
        FixedValueLong(crate::model::fixed_value_long::ConstraintViolation),
 5543         -
        /// Constraint violation occurred building member `range_byte` when building `ConA`.
        6781  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `range_byte` when building `ConA`.
        6782  +
        /* RustType.kt:516 */
 5544   6783   
        #[doc(hidden)]
        6784  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5545   6785   
        RangeByte(crate::model::range_byte::ConstraintViolation),
 5546         -
        /// Constraint violation occurred building member `min_range_byte` when building `ConA`.
        6786  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_range_byte` when building `ConA`.
        6787  +
        /* RustType.kt:516 */
 5547   6788   
        #[doc(hidden)]
        6789  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5548   6790   
        MinRangeByte(crate::model::min_range_byte::ConstraintViolation),
 5549         -
        /// Constraint violation occurred building member `max_range_byte` when building `ConA`.
        6791  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_range_byte` when building `ConA`.
        6792  +
        /* RustType.kt:516 */
 5550   6793   
        #[doc(hidden)]
        6794  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5551   6795   
        MaxRangeByte(crate::model::max_range_byte::ConstraintViolation),
 5552         -
        /// Constraint violation occurred building member `fixed_value_byte` when building `ConA`.
        6796  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `fixed_value_byte` when building `ConA`.
        6797  +
        /* RustType.kt:516 */
 5553   6798   
        #[doc(hidden)]
        6799  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5554   6800   
        FixedValueByte(crate::model::fixed_value_byte::ConstraintViolation),
 5555         -
        /// Constraint violation occurred building member `con_b_list` when building `ConA`.
        6801  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `con_b_list` when building `ConA`.
        6802  +
        /* RustType.kt:516 */
 5556   6803   
        #[doc(hidden)]
        6804  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5557   6805   
        ConBList(crate::model::con_b_list::ConstraintViolation),
 5558         -
        /// Constraint violation occurred building member `length_list` when building `ConA`.
        6806  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `length_list` when building `ConA`.
        6807  +
        /* RustType.kt:516 */
 5559   6808   
        #[doc(hidden)]
        6809  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5560   6810   
        LengthList(crate::model::length_list::ConstraintViolation),
 5561         -
        /// Constraint violation occurred building member `sensitive_length_list` when building `ConA`.
        6811  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `sensitive_length_list` when building `ConA`.
        6812  +
        /* RustType.kt:516 */
 5562   6813   
        #[doc(hidden)]
        6814  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5563   6815   
        SensitiveLengthList(crate::model::sensitive_length_list::ConstraintViolation),
 5564         -
        /// Constraint violation occurred building member `con_b_set` when building `ConA`.
        6816  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `con_b_set` when building `ConA`.
        6817  +
        /* RustType.kt:516 */
 5565   6818   
        #[doc(hidden)]
        6819  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5566   6820   
        ConBSet(crate::model::con_b_set::ConstraintViolation),
 5567         -
        /// Constraint violation occurred building member `con_b_map` when building `ConA`.
        6821  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `con_b_map` when building `ConA`.
        6822  +
        /* RustType.kt:516 */
 5568   6823   
        #[doc(hidden)]
        6824  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5569   6825   
        ConBMap(crate::model::con_b_map::ConstraintViolation),
 5570         -
        /// Constraint violation occurred building member `length_map` when building `ConA`.
        6826  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `length_map` when building `ConA`.
        6827  +
        /* RustType.kt:516 */
 5571   6828   
        #[doc(hidden)]
        6829  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5572   6830   
        LengthMap(crate::model::length_map::ConstraintViolation),
 5573         -
        /// Constraint violation occurred building member `map_of_map_of_list_of_list_of_con_b` when building `ConA`.
        6831  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_map_of_list_of_list_of_con_b` when building `ConA`.
        6832  +
        /* RustType.kt:516 */
 5574   6833   
        #[doc(hidden)]
        6834  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5575   6835   
        MapOfMapOfListOfListOfConB(
 5576   6836   
            crate::model::map_of_map_of_list_of_list_of_con_b::ConstraintViolation,
 5577   6837   
        ),
 5578         -
        /// Constraint violation occurred building member `sparse_map` when building `ConA`.
        6838  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `sparse_map` when building `ConA`.
        6839  +
        /* RustType.kt:516 */
 5579   6840   
        #[doc(hidden)]
        6841  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5580   6842   
        SparseMap(crate::model::sparse_map::ConstraintViolation),
 5581         -
        /// Constraint violation occurred building member `sparse_list` when building `ConA`.
        6843  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `sparse_list` when building `ConA`.
        6844  +
        /* RustType.kt:516 */
 5582   6845   
        #[doc(hidden)]
        6846  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5583   6847   
        SparseList(crate::model::sparse_list::ConstraintViolation),
 5584         -
        /// Constraint violation occurred building member `sparse_length_map` when building `ConA`.
        6848  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `sparse_length_map` when building `ConA`.
        6849  +
        /* RustType.kt:516 */
 5585   6850   
        #[doc(hidden)]
        6851  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5586   6852   
        SparseLengthMap(crate::model::sparse_length_map::ConstraintViolation),
 5587         -
        /// Constraint violation occurred building member `sparse_length_list` when building `ConA`.
        6853  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `sparse_length_list` when building `ConA`.
        6854  +
        /* RustType.kt:516 */
 5588   6855   
        #[doc(hidden)]
        6856  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5589   6857   
        SparseLengthList(crate::model::sparse_length_list::ConstraintViolation),
 5590         -
        /// Constraint violation occurred building member `constrained_union` when building `ConA`.
        6858  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `constrained_union` when building `ConA`.
        6859  +
        /* RustType.kt:516 */
 5591   6860   
        #[doc(hidden)]
        6861  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5592   6862   
        ConstrainedUnion(crate::model::constrained_union::ConstraintViolation),
 5593         -
        /// Constraint violation occurred building member `enum_string` when building `ConA`.
        6863  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `enum_string` when building `ConA`.
        6864  +
        /* RustType.kt:516 */
 5594   6865   
        #[doc(hidden)]
        6866  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5595   6867   
        EnumString(crate::model::enum_string::ConstraintViolation),
 5596         -
        /// Constraint violation occurred building member `list_of_length_string` when building `ConA`.
        6868  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_length_string` when building `ConA`.
        6869  +
        /* RustType.kt:516 */
 5597   6870   
        #[doc(hidden)]
        6871  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5598   6872   
        ListOfLengthString(crate::model::list_of_length_string::ConstraintViolation),
 5599         -
        /// Constraint violation occurred building member `set_of_length_string` when building `ConA`.
        6873  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `set_of_length_string` when building `ConA`.
        6874  +
        /* RustType.kt:516 */
 5600   6875   
        #[doc(hidden)]
        6876  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5601   6877   
        SetOfLengthString(crate::model::set_of_length_string::ConstraintViolation),
 5602         -
        /// Constraint violation occurred building member `map_of_length_string` when building `ConA`.
        6878  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_length_string` when building `ConA`.
        6879  +
        /* RustType.kt:516 */
 5603   6880   
        #[doc(hidden)]
        6881  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5604   6882   
        MapOfLengthString(crate::model::map_of_length_string::ConstraintViolation),
 5605         -
        /// Constraint violation occurred building member `list_of_length_blob` when building `ConA`.
        6883  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_length_blob` when building `ConA`.
        6884  +
        /* RustType.kt:516 */
 5606   6885   
        #[doc(hidden)]
        6886  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5607   6887   
        ListOfLengthBlob(crate::model::list_of_length_blob::ConstraintViolation),
 5608         -
        /// Constraint violation occurred building member `map_of_length_blob` when building `ConA`.
        6888  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_length_blob` when building `ConA`.
        6889  +
        /* RustType.kt:516 */
 5609   6890   
        #[doc(hidden)]
        6891  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5610   6892   
        MapOfLengthBlob(crate::model::map_of_length_blob::ConstraintViolation),
 5611         -
        /// Constraint violation occurred building member `list_of_range_integer` when building `ConA`.
        6893  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_range_integer` when building `ConA`.
        6894  +
        /* RustType.kt:516 */
 5612   6895   
        #[doc(hidden)]
        6896  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5613   6897   
        ListOfRangeInteger(crate::model::list_of_range_integer::ConstraintViolation),
 5614         -
        /// Constraint violation occurred building member `set_of_range_integer` when building `ConA`.
        6898  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `set_of_range_integer` when building `ConA`.
        6899  +
        /* RustType.kt:516 */
 5615   6900   
        #[doc(hidden)]
        6901  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5616   6902   
        SetOfRangeInteger(crate::model::set_of_range_integer::ConstraintViolation),
 5617         -
        /// Constraint violation occurred building member `map_of_range_integer` when building `ConA`.
        6903  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_range_integer` when building `ConA`.
        6904  +
        /* RustType.kt:516 */
 5618   6905   
        #[doc(hidden)]
        6906  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5619   6907   
        MapOfRangeInteger(crate::model::map_of_range_integer::ConstraintViolation),
 5620         -
        /// Constraint violation occurred building member `list_of_range_short` when building `ConA`.
        6908  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_range_short` when building `ConA`.
        6909  +
        /* RustType.kt:516 */
 5621   6910   
        #[doc(hidden)]
        6911  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5622   6912   
        ListOfRangeShort(crate::model::list_of_range_short::ConstraintViolation),
 5623         -
        /// Constraint violation occurred building member `set_of_range_short` when building `ConA`.
        6913  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `set_of_range_short` when building `ConA`.
        6914  +
        /* RustType.kt:516 */
 5624   6915   
        #[doc(hidden)]
        6916  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5625   6917   
        SetOfRangeShort(crate::model::set_of_range_short::ConstraintViolation),
 5626         -
        /// Constraint violation occurred building member `map_of_range_short` when building `ConA`.
        6918  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_range_short` when building `ConA`.
        6919  +
        /* RustType.kt:516 */
 5627   6920   
        #[doc(hidden)]
        6921  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5628   6922   
        MapOfRangeShort(crate::model::map_of_range_short::ConstraintViolation),
 5629         -
        /// Constraint violation occurred building member `list_of_range_long` when building `ConA`.
        6923  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_range_long` when building `ConA`.
        6924  +
        /* RustType.kt:516 */
 5630   6925   
        #[doc(hidden)]
        6926  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5631   6927   
        ListOfRangeLong(crate::model::list_of_range_long::ConstraintViolation),
 5632         -
        /// Constraint violation occurred building member `set_of_range_long` when building `ConA`.
        6928  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `set_of_range_long` when building `ConA`.
        6929  +
        /* RustType.kt:516 */
 5633   6930   
        #[doc(hidden)]
        6931  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5634   6932   
        SetOfRangeLong(crate::model::set_of_range_long::ConstraintViolation),
 5635         -
        /// Constraint violation occurred building member `map_of_range_long` when building `ConA`.
        6933  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_range_long` when building `ConA`.
        6934  +
        /* RustType.kt:516 */
 5636   6935   
        #[doc(hidden)]
        6936  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5637   6937   
        MapOfRangeLong(crate::model::map_of_range_long::ConstraintViolation),
 5638         -
        /// Constraint violation occurred building member `list_of_range_byte` when building `ConA`.
        6938  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_range_byte` when building `ConA`.
        6939  +
        /* RustType.kt:516 */
 5639   6940   
        #[doc(hidden)]
        6941  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5640   6942   
        ListOfRangeByte(crate::model::list_of_range_byte::ConstraintViolation),
 5641         -
        /// Constraint violation occurred building member `set_of_range_byte` when building `ConA`.
        6943  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `set_of_range_byte` when building `ConA`.
        6944  +
        /* RustType.kt:516 */
 5642   6945   
        #[doc(hidden)]
        6946  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5643   6947   
        SetOfRangeByte(crate::model::set_of_range_byte::ConstraintViolation),
 5644         -
        /// Constraint violation occurred building member `map_of_range_byte` when building `ConA`.
        6948  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_range_byte` when building `ConA`.
        6949  +
        /* RustType.kt:516 */
 5645   6950   
        #[doc(hidden)]
        6951  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5646   6952   
        MapOfRangeByte(crate::model::map_of_range_byte::ConstraintViolation),
 5647         -
        /// Constraint violation occurred building member `pattern_string` when building `ConA`.
        6953  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `pattern_string` when building `ConA`.
        6954  +
        /* RustType.kt:516 */
 5648   6955   
        #[doc(hidden)]
        6956  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5649   6957   
        PatternString(crate::model::pattern_string::ConstraintViolation),
 5650         -
        /// Constraint violation occurred building member `map_of_pattern_string` when building `ConA`.
        6958  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_pattern_string` when building `ConA`.
        6959  +
        /* RustType.kt:516 */
 5651   6960   
        #[doc(hidden)]
        6961  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5652   6962   
        MapOfPatternString(crate::model::map_of_pattern_string::ConstraintViolation),
 5653         -
        /// Constraint violation occurred building member `list_of_pattern_string` when building `ConA`.
        6963  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_pattern_string` when building `ConA`.
        6964  +
        /* RustType.kt:516 */
 5654   6965   
        #[doc(hidden)]
        6966  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5655   6967   
        ListOfPatternString(crate::model::list_of_pattern_string::ConstraintViolation),
 5656         -
        /// Constraint violation occurred building member `set_of_pattern_string` when building `ConA`.
        6968  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `set_of_pattern_string` when building `ConA`.
        6969  +
        /* RustType.kt:516 */
 5657   6970   
        #[doc(hidden)]
        6971  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5658   6972   
        SetOfPatternString(crate::model::set_of_pattern_string::ConstraintViolation),
 5659         -
        /// Constraint violation occurred building member `length_length_pattern_string` when building `ConA`.
        6973  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `length_length_pattern_string` when building `ConA`.
        6974  +
        /* RustType.kt:516 */
 5660   6975   
        #[doc(hidden)]
        6976  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5661   6977   
        LengthLengthPatternString(crate::model::length_pattern_string::ConstraintViolation),
 5662         -
        /// Constraint violation occurred building member `map_of_length_pattern_string` when building `ConA`.
        6978  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_length_pattern_string` when building `ConA`.
        6979  +
        /* RustType.kt:516 */
 5663   6980   
        #[doc(hidden)]
        6981  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5664   6982   
        MapOfLengthPatternString(crate::model::map_of_length_pattern_string::ConstraintViolation),
 5665         -
        /// Constraint violation occurred building member `list_of_length_pattern_string` when building `ConA`.
        6983  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_length_pattern_string` when building `ConA`.
        6984  +
        /* RustType.kt:516 */
 5666   6985   
        #[doc(hidden)]
        6986  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5667   6987   
        ListOfLengthPatternString(crate::model::list_of_length_pattern_string::ConstraintViolation),
 5668         -
        /// Constraint violation occurred building member `set_of_length_pattern_string` when building `ConA`.
        6988  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `set_of_length_pattern_string` when building `ConA`.
        6989  +
        /* RustType.kt:516 */
 5669   6990   
        #[doc(hidden)]
        6991  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5670   6992   
        SetOfLengthPatternString(crate::model::set_of_length_pattern_string::ConstraintViolation),
 5671         -
        /// Constraint violation occurred building member `length_list_of_pattern_string` when building `ConA`.
        6993  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `length_list_of_pattern_string` when building `ConA`.
        6994  +
        /* RustType.kt:516 */
 5672   6995   
        #[doc(hidden)]
        6996  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5673   6997   
        LengthListOfPatternString(crate::model::length_list_of_pattern_string::ConstraintViolation),
 5674         -
        /// Constraint violation occurred building member `length_set_of_pattern_string` when building `ConA`.
        6998  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `length_set_of_pattern_string` when building `ConA`.
        6999  +
        /* RustType.kt:516 */
 5675   7000   
        #[doc(hidden)]
        7001  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5676   7002   
        LengthSetOfPatternString(crate::model::length_set_of_pattern_string::ConstraintViolation),
        7003  +
        /* ServerBuilderConstraintViolations.kt:75 */
 5677   7004   
    }
        7005  +
    /* ServerBuilderConstraintViolations.kt:117 */
 5678   7006   
    impl ::std::fmt::Display for ConstraintViolation {
        7007  +
        /* ServerBuilderConstraintViolations.kt:118 */
 5679   7008   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        7009  +
            /* ServerBuilderConstraintViolations.kt:119 */
 5680   7010   
            match self {
 5681         -
                ConstraintViolation::MissingConB => write!(f, "`con_b` was not provided but it is required when building `ConA`"),
 5682         -
                ConstraintViolation::ConB(_) => write!(f, "constraint violation occurred building member `con_b` when building `ConA`"),
 5683         -
                ConstraintViolation::OptConB(_) => write!(f, "constraint violation occurred building member `opt_con_b` when building `ConA`"),
 5684         -
                ConstraintViolation::LengthString(_) => write!(f, "constraint violation occurred building member `length_string` when building `ConA`"),
 5685         -
                ConstraintViolation::MinLengthString(_) => write!(f, "constraint violation occurred building member `min_length_string` when building `ConA`"),
 5686         -
                ConstraintViolation::MaxLengthString(_) => write!(f, "constraint violation occurred building member `max_length_string` when building `ConA`"),
 5687         -
                ConstraintViolation::FixedLengthString(_) => write!(f, "constraint violation occurred building member `fixed_length_string` when building `ConA`"),
 5688         -
                ConstraintViolation::LengthBlob(_) => write!(f, "constraint violation occurred building member `length_blob` when building `ConA`"),
 5689         -
                ConstraintViolation::MinLengthBlob(_) => write!(f, "constraint violation occurred building member `min_length_blob` when building `ConA`"),
 5690         -
                ConstraintViolation::MaxLengthBlob(_) => write!(f, "constraint violation occurred building member `max_length_blob` when building `ConA`"),
 5691         -
                ConstraintViolation::FixedLengthBlob(_) => write!(f, "constraint violation occurred building member `fixed_length_blob` when building `ConA`"),
 5692         -
                ConstraintViolation::RangeInteger(_) => write!(f, "constraint violation occurred building member `range_integer` when building `ConA`"),
 5693         -
                ConstraintViolation::MinRangeInteger(_) => write!(f, "constraint violation occurred building member `min_range_integer` when building `ConA`"),
 5694         -
                ConstraintViolation::MaxRangeInteger(_) => write!(f, "constraint violation occurred building member `max_range_integer` when building `ConA`"),
 5695         -
                ConstraintViolation::FixedValueInteger(_) => write!(f, "constraint violation occurred building member `fixed_value_integer` when building `ConA`"),
 5696         -
                ConstraintViolation::RangeShort(_) => write!(f, "constraint violation occurred building member `range_short` when building `ConA`"),
 5697         -
                ConstraintViolation::MinRangeShort(_) => write!(f, "constraint violation occurred building member `min_range_short` when building `ConA`"),
 5698         -
                ConstraintViolation::MaxRangeShort(_) => write!(f, "constraint violation occurred building member `max_range_short` when building `ConA`"),
 5699         -
                ConstraintViolation::FixedValueShort(_) => write!(f, "constraint violation occurred building member `fixed_value_short` when building `ConA`"),
 5700         -
                ConstraintViolation::RangeLong(_) => write!(f, "constraint violation occurred building member `range_long` when building `ConA`"),
 5701         -
                ConstraintViolation::MinRangeLong(_) => write!(f, "constraint violation occurred building member `min_range_long` when building `ConA`"),
 5702         -
                ConstraintViolation::MaxRangeLong(_) => write!(f, "constraint violation occurred building member `max_range_long` when building `ConA`"),
 5703         -
                ConstraintViolation::FixedValueLong(_) => write!(f, "constraint violation occurred building member `fixed_value_long` when building `ConA`"),
 5704         -
                ConstraintViolation::RangeByte(_) => write!(f, "constraint violation occurred building member `range_byte` when building `ConA`"),
 5705         -
                ConstraintViolation::MinRangeByte(_) => write!(f, "constraint violation occurred building member `min_range_byte` when building `ConA`"),
 5706         -
                ConstraintViolation::MaxRangeByte(_) => write!(f, "constraint violation occurred building member `max_range_byte` when building `ConA`"),
 5707         -
                ConstraintViolation::FixedValueByte(_) => write!(f, "constraint violation occurred building member `fixed_value_byte` when building `ConA`"),
 5708         -
                ConstraintViolation::ConBList(_) => write!(f, "constraint violation occurred building member `con_b_list` when building `ConA`"),
 5709         -
                ConstraintViolation::LengthList(_) => write!(f, "constraint violation occurred building member `length_list` when building `ConA`"),
 5710         -
                ConstraintViolation::SensitiveLengthList(_) => write!(f, "constraint violation occurred building member `sensitive_length_list` when building `ConA`"),
 5711         -
                ConstraintViolation::ConBSet(_) => write!(f, "constraint violation occurred building member `con_b_set` when building `ConA`"),
 5712         -
                ConstraintViolation::ConBMap(_) => write!(f, "constraint violation occurred building member `con_b_map` when building `ConA`"),
 5713         -
                ConstraintViolation::LengthMap(_) => write!(f, "constraint violation occurred building member `length_map` when building `ConA`"),
 5714         -
                ConstraintViolation::MapOfMapOfListOfListOfConB(_) => write!(f, "constraint violation occurred building member `map_of_map_of_list_of_list_of_con_b` when building `ConA`"),
 5715         -
                ConstraintViolation::SparseMap(_) => write!(f, "constraint violation occurred building member `sparse_map` when building `ConA`"),
 5716         -
                ConstraintViolation::SparseList(_) => write!(f, "constraint violation occurred building member `sparse_list` when building `ConA`"),
 5717         -
                ConstraintViolation::SparseLengthMap(_) => write!(f, "constraint violation occurred building member `sparse_length_map` when building `ConA`"),
 5718         -
                ConstraintViolation::SparseLengthList(_) => write!(f, "constraint violation occurred building member `sparse_length_list` when building `ConA`"),
 5719         -
                ConstraintViolation::ConstrainedUnion(_) => write!(f, "constraint violation occurred building member `constrained_union` when building `ConA`"),
 5720         -
                ConstraintViolation::EnumString(_) => write!(f, "constraint violation occurred building member `enum_string` when building `ConA`"),
 5721         -
                ConstraintViolation::ListOfLengthString(_) => write!(f, "constraint violation occurred building member `list_of_length_string` when building `ConA`"),
 5722         -
                ConstraintViolation::SetOfLengthString(_) => write!(f, "constraint violation occurred building member `set_of_length_string` when building `ConA`"),
 5723         -
                ConstraintViolation::MapOfLengthString(_) => write!(f, "constraint violation occurred building member `map_of_length_string` when building `ConA`"),
 5724         -
                ConstraintViolation::ListOfLengthBlob(_) => write!(f, "constraint violation occurred building member `list_of_length_blob` when building `ConA`"),
 5725         -
                ConstraintViolation::MapOfLengthBlob(_) => write!(f, "constraint violation occurred building member `map_of_length_blob` when building `ConA`"),
 5726         -
                ConstraintViolation::ListOfRangeInteger(_) => write!(f, "constraint violation occurred building member `list_of_range_integer` when building `ConA`"),
 5727         -
                ConstraintViolation::SetOfRangeInteger(_) => write!(f, "constraint violation occurred building member `set_of_range_integer` when building `ConA`"),
 5728         -
                ConstraintViolation::MapOfRangeInteger(_) => write!(f, "constraint violation occurred building member `map_of_range_integer` when building `ConA`"),
 5729         -
                ConstraintViolation::ListOfRangeShort(_) => write!(f, "constraint violation occurred building member `list_of_range_short` when building `ConA`"),
 5730         -
                ConstraintViolation::SetOfRangeShort(_) => write!(f, "constraint violation occurred building member `set_of_range_short` when building `ConA`"),
 5731         -
                ConstraintViolation::MapOfRangeShort(_) => write!(f, "constraint violation occurred building member `map_of_range_short` when building `ConA`"),
 5732         -
                ConstraintViolation::ListOfRangeLong(_) => write!(f, "constraint violation occurred building member `list_of_range_long` when building `ConA`"),
 5733         -
                ConstraintViolation::SetOfRangeLong(_) => write!(f, "constraint violation occurred building member `set_of_range_long` when building `ConA`"),
 5734         -
                ConstraintViolation::MapOfRangeLong(_) => write!(f, "constraint violation occurred building member `map_of_range_long` when building `ConA`"),
 5735         -
                ConstraintViolation::ListOfRangeByte(_) => write!(f, "constraint violation occurred building member `list_of_range_byte` when building `ConA`"),
 5736         -
                ConstraintViolation::SetOfRangeByte(_) => write!(f, "constraint violation occurred building member `set_of_range_byte` when building `ConA`"),
 5737         -
                ConstraintViolation::MapOfRangeByte(_) => write!(f, "constraint violation occurred building member `map_of_range_byte` when building `ConA`"),
 5738         -
                ConstraintViolation::PatternString(_) => write!(f, "constraint violation occurred building member `pattern_string` when building `ConA`"),
 5739         -
                ConstraintViolation::MapOfPatternString(_) => write!(f, "constraint violation occurred building member `map_of_pattern_string` when building `ConA`"),
 5740         -
                ConstraintViolation::ListOfPatternString(_) => write!(f, "constraint violation occurred building member `list_of_pattern_string` when building `ConA`"),
 5741         -
                ConstraintViolation::SetOfPatternString(_) => write!(f, "constraint violation occurred building member `set_of_pattern_string` when building `ConA`"),
 5742         -
                ConstraintViolation::LengthLengthPatternString(_) => write!(f, "constraint violation occurred building member `length_length_pattern_string` when building `ConA`"),
 5743         -
                ConstraintViolation::MapOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `map_of_length_pattern_string` when building `ConA`"),
 5744         -
                ConstraintViolation::ListOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `list_of_length_pattern_string` when building `ConA`"),
 5745         -
                ConstraintViolation::SetOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `set_of_length_pattern_string` when building `ConA`"),
 5746         -
                ConstraintViolation::LengthListOfPatternString(_) => write!(f, "constraint violation occurred building member `length_list_of_pattern_string` when building `ConA`"),
 5747         -
                ConstraintViolation::LengthSetOfPatternString(_) => write!(f, "constraint violation occurred building member `length_set_of_pattern_string` when building `ConA`"),
 5748         -
            }
 5749         -
        }
 5750         -
    }
        7011  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingConB => write!(f, "`con_b` was not provided but it is required when building `ConA`"),
        7012  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ConB(_) => write!(f, "constraint violation occurred building member `con_b` when building `ConA`"),
        7013  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::OptConB(_) => write!(f, "constraint violation occurred building member `opt_con_b` when building `ConA`"),
        7014  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LengthString(_) => write!(f, "constraint violation occurred building member `length_string` when building `ConA`"),
        7015  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinLengthString(_) => write!(f, "constraint violation occurred building member `min_length_string` when building `ConA`"),
        7016  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxLengthString(_) => write!(f, "constraint violation occurred building member `max_length_string` when building `ConA`"),
        7017  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FixedLengthString(_) => write!(f, "constraint violation occurred building member `fixed_length_string` when building `ConA`"),
        7018  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LengthBlob(_) => write!(f, "constraint violation occurred building member `length_blob` when building `ConA`"),
        7019  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinLengthBlob(_) => write!(f, "constraint violation occurred building member `min_length_blob` when building `ConA`"),
        7020  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxLengthBlob(_) => write!(f, "constraint violation occurred building member `max_length_blob` when building `ConA`"),
        7021  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FixedLengthBlob(_) => write!(f, "constraint violation occurred building member `fixed_length_blob` when building `ConA`"),
        7022  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::RangeInteger(_) => write!(f, "constraint violation occurred building member `range_integer` when building `ConA`"),
        7023  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinRangeInteger(_) => write!(f, "constraint violation occurred building member `min_range_integer` when building `ConA`"),
        7024  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxRangeInteger(_) => write!(f, "constraint violation occurred building member `max_range_integer` when building `ConA`"),
        7025  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FixedValueInteger(_) => write!(f, "constraint violation occurred building member `fixed_value_integer` when building `ConA`"),
        7026  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::RangeShort(_) => write!(f, "constraint violation occurred building member `range_short` when building `ConA`"),
        7027  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinRangeShort(_) => write!(f, "constraint violation occurred building member `min_range_short` when building `ConA`"),
        7028  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxRangeShort(_) => write!(f, "constraint violation occurred building member `max_range_short` when building `ConA`"),
        7029  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FixedValueShort(_) => write!(f, "constraint violation occurred building member `fixed_value_short` when building `ConA`"),
        7030  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::RangeLong(_) => write!(f, "constraint violation occurred building member `range_long` when building `ConA`"),
        7031  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinRangeLong(_) => write!(f, "constraint violation occurred building member `min_range_long` when building `ConA`"),
        7032  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxRangeLong(_) => write!(f, "constraint violation occurred building member `max_range_long` when building `ConA`"),
        7033  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FixedValueLong(_) => write!(f, "constraint violation occurred building member `fixed_value_long` when building `ConA`"),
        7034  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::RangeByte(_) => write!(f, "constraint violation occurred building member `range_byte` when building `ConA`"),
        7035  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinRangeByte(_) => write!(f, "constraint violation occurred building member `min_range_byte` when building `ConA`"),
        7036  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxRangeByte(_) => write!(f, "constraint violation occurred building member `max_range_byte` when building `ConA`"),
        7037  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FixedValueByte(_) => write!(f, "constraint violation occurred building member `fixed_value_byte` when building `ConA`"),
        7038  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ConBList(_) => write!(f, "constraint violation occurred building member `con_b_list` when building `ConA`"),
        7039  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LengthList(_) => write!(f, "constraint violation occurred building member `length_list` when building `ConA`"),
        7040  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SensitiveLengthList(_) => write!(f, "constraint violation occurred building member `sensitive_length_list` when building `ConA`"),
        7041  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ConBSet(_) => write!(f, "constraint violation occurred building member `con_b_set` when building `ConA`"),
        7042  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ConBMap(_) => write!(f, "constraint violation occurred building member `con_b_map` when building `ConA`"),
        7043  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LengthMap(_) => write!(f, "constraint violation occurred building member `length_map` when building `ConA`"),
        7044  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfMapOfListOfListOfConB(_) => write!(f, "constraint violation occurred building member `map_of_map_of_list_of_list_of_con_b` when building `ConA`"),
        7045  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SparseMap(_) => write!(f, "constraint violation occurred building member `sparse_map` when building `ConA`"),
        7046  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SparseList(_) => write!(f, "constraint violation occurred building member `sparse_list` when building `ConA`"),
        7047  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SparseLengthMap(_) => write!(f, "constraint violation occurred building member `sparse_length_map` when building `ConA`"),
        7048  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SparseLengthList(_) => write!(f, "constraint violation occurred building member `sparse_length_list` when building `ConA`"),
        7049  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ConstrainedUnion(_) => write!(f, "constraint violation occurred building member `constrained_union` when building `ConA`"),
        7050  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::EnumString(_) => write!(f, "constraint violation occurred building member `enum_string` when building `ConA`"),
        7051  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfLengthString(_) => write!(f, "constraint violation occurred building member `list_of_length_string` when building `ConA`"),
        7052  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SetOfLengthString(_) => write!(f, "constraint violation occurred building member `set_of_length_string` when building `ConA`"),
        7053  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfLengthString(_) => write!(f, "constraint violation occurred building member `map_of_length_string` when building `ConA`"),
        7054  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfLengthBlob(_) => write!(f, "constraint violation occurred building member `list_of_length_blob` when building `ConA`"),
        7055  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfLengthBlob(_) => write!(f, "constraint violation occurred building member `map_of_length_blob` when building `ConA`"),
        7056  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfRangeInteger(_) => write!(f, "constraint violation occurred building member `list_of_range_integer` when building `ConA`"),
        7057  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SetOfRangeInteger(_) => write!(f, "constraint violation occurred building member `set_of_range_integer` when building `ConA`"),
        7058  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfRangeInteger(_) => write!(f, "constraint violation occurred building member `map_of_range_integer` when building `ConA`"),
        7059  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfRangeShort(_) => write!(f, "constraint violation occurred building member `list_of_range_short` when building `ConA`"),
        7060  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SetOfRangeShort(_) => write!(f, "constraint violation occurred building member `set_of_range_short` when building `ConA`"),
        7061  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfRangeShort(_) => write!(f, "constraint violation occurred building member `map_of_range_short` when building `ConA`"),
        7062  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfRangeLong(_) => write!(f, "constraint violation occurred building member `list_of_range_long` when building `ConA`"),
        7063  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SetOfRangeLong(_) => write!(f, "constraint violation occurred building member `set_of_range_long` when building `ConA`"),
        7064  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfRangeLong(_) => write!(f, "constraint violation occurred building member `map_of_range_long` when building `ConA`"),
        7065  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfRangeByte(_) => write!(f, "constraint violation occurred building member `list_of_range_byte` when building `ConA`"),
        7066  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SetOfRangeByte(_) => write!(f, "constraint violation occurred building member `set_of_range_byte` when building `ConA`"),
        7067  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfRangeByte(_) => write!(f, "constraint violation occurred building member `map_of_range_byte` when building `ConA`"),
        7068  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::PatternString(_) => write!(f, "constraint violation occurred building member `pattern_string` when building `ConA`"),
        7069  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfPatternString(_) => write!(f, "constraint violation occurred building member `map_of_pattern_string` when building `ConA`"),
        7070  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfPatternString(_) => write!(f, "constraint violation occurred building member `list_of_pattern_string` when building `ConA`"),
        7071  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SetOfPatternString(_) => write!(f, "constraint violation occurred building member `set_of_pattern_string` when building `ConA`"),
        7072  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LengthLengthPatternString(_) => write!(f, "constraint violation occurred building member `length_length_pattern_string` when building `ConA`"),
        7073  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `map_of_length_pattern_string` when building `ConA`"),
        7074  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `list_of_length_pattern_string` when building `ConA`"),
        7075  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SetOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `set_of_length_pattern_string` when building `ConA`"),
        7076  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LengthListOfPatternString(_) => write!(f, "constraint violation occurred building member `length_list_of_pattern_string` when building `ConA`"),
        7077  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LengthSetOfPatternString(_) => write!(f, "constraint violation occurred building member `length_set_of_pattern_string` when building `ConA`"),
        7078  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        7079  +
            /* ServerBuilderConstraintViolations.kt:118 */
        7080  +
        }
        7081  +
        /* ServerBuilderConstraintViolations.kt:117 */
        7082  +
    }
        7083  +
    /* ServerBuilderConstraintViolations.kt:84 */
 5751   7084   
    impl ::std::error::Error for ConstraintViolation {}
        7085  +
    /* ServerBuilderConstraintViolations.kt:171 */
 5752   7086   
    impl ConstraintViolation {
 5753   7087   
        pub(crate) fn as_validation_exception_field(
 5754   7088   
            self,
 5755   7089   
            path: ::std::string::String,
 5756   7090   
        ) -> crate::model::ValidationExceptionField {
 5757   7091   
            match self {
 5758   7092   
                ConstraintViolation::MissingConB => crate::model::ValidationExceptionField {
 5759   7093   
                    message: format!(
 5760   7094   
                        "Value at '{}/conB' failed to satisfy constraint: Member must not be null",
 5761   7095   
                        path
@@ -5936,7270 +10449,12753 @@
 5956   7290   
                }
 5957   7291   
                ConstraintViolation::LengthListOfPatternString(inner) => {
 5958   7292   
                    inner.as_validation_exception_field(path + "/lengthListOfPatternString")
 5959   7293   
                }
 5960   7294   
                ConstraintViolation::LengthSetOfPatternString(inner) => {
 5961   7295   
                    inner.as_validation_exception_field(path + "/lengthSetOfPatternString")
 5962   7296   
                }
 5963   7297   
            }
 5964   7298   
        }
 5965   7299   
    }
        7300  +
    /* ServerBuilderGenerator.kt:244 */
 5966   7301   
    impl ::std::convert::From<Builder> for crate::constrained::MaybeConstrained<crate::model::ConA> {
 5967   7302   
        fn from(builder: Builder) -> Self {
 5968   7303   
            Self::Unconstrained(builder)
 5969   7304   
        }
 5970   7305   
    }
        7306  +
    /* ServerBuilderGenerator.kt:446 */
 5971   7307   
    impl ::std::convert::TryFrom<Builder> for crate::model::ConA {
 5972   7308   
        type Error = ConstraintViolation;
 5973   7309   
 5974   7310   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 5975   7311   
            builder.build()
 5976   7312   
        }
 5977   7313   
    }
 5978         -
    /// A builder for [`ConA`](crate::model::ConA).
        7314  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`ConA`](crate::model::ConA).
        7315  +
    /* RustType.kt:516 */
 5979   7316   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        7317  +
    /* ServerBuilderGenerator.kt:211 */
 5980   7318   
    pub struct Builder {
 5981         -
        pub(crate) con_b: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConB>>,
 5982         -
        pub(crate) opt_con_b: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConB>>,
 5983         -
        pub(crate) length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthString>>,
 5984         -
        pub(crate) min_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinLengthString>>,
 5985         -
        pub(crate) max_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxLengthString>>,
 5986         -
        pub(crate) fixed_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedLengthString>>,
 5987         -
        pub(crate) length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthBlob>>,
 5988         -
        pub(crate) min_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinLengthBlob>>,
 5989         -
        pub(crate) max_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxLengthBlob>>,
 5990         -
        pub(crate) fixed_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedLengthBlob>>,
 5991         -
        pub(crate) range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeInteger>>,
 5992         -
        pub(crate) min_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeInteger>>,
 5993         -
        pub(crate) max_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeInteger>>,
 5994         -
        pub(crate) fixed_value_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueInteger>>,
 5995         -
        pub(crate) range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeShort>>,
 5996         -
        pub(crate) min_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeShort>>,
 5997         -
        pub(crate) max_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeShort>>,
 5998         -
        pub(crate) fixed_value_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueShort>>,
 5999         -
        pub(crate) range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeLong>>,
 6000         -
        pub(crate) min_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeLong>>,
 6001         -
        pub(crate) max_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeLong>>,
 6002         -
        pub(crate) fixed_value_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueLong>>,
 6003         -
        pub(crate) range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeByte>>,
 6004         -
        pub(crate) min_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeByte>>,
 6005         -
        pub(crate) max_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeByte>>,
 6006         -
        pub(crate) fixed_value_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueByte>>,
 6007         -
        pub(crate) con_b_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::con_b_list_constrained::ConBListConstrained>>,
 6008         -
        pub(crate) length_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthList>>,
 6009         -
        pub(crate) sensitive_length_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SensitiveLengthList>>,
 6010         -
        pub(crate) con_b_set: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConBSet>>,
 6011         -
        pub(crate) con_b_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
 6012         -
        pub(crate) length_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthMap>>,
 6013         -
        pub(crate) map_of_map_of_list_of_list_of_con_b: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_map_of_list_of_list_of_con_b_constrained::MapOfMapOfListOfListOfConBConstrained>>,
 6014         -
        pub(crate) sparse_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::sparse_map_constrained::SparseMapConstrained>>,
 6015         -
        pub(crate) sparse_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::sparse_list_constrained::SparseListConstrained>>,
 6016         -
        pub(crate) sparse_length_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SparseLengthMap>>,
 6017         -
        pub(crate) sparse_length_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SparseLengthList>>,
 6018         -
        pub(crate) constrained_union: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConstrainedUnion>>,
 6019         -
        pub(crate) enum_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::EnumString>>,
 6020         -
        pub(crate) list_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>,
 6021         -
        pub(crate) set_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>>,
 6022         -
        pub(crate) map_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_string_constrained::MapOfLengthStringConstrained>>,
 6023         -
        pub(crate) list_of_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_blob_constrained::ListOfLengthBlobConstrained>>,
 6024         -
        pub(crate) map_of_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_blob_constrained::MapOfLengthBlobConstrained>>,
 6025         -
        pub(crate) list_of_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>,
 6026         -
        pub(crate) set_of_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>>,
 6027         -
        pub(crate) map_of_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_integer_constrained::MapOfRangeIntegerConstrained>>,
 6028         -
        pub(crate) list_of_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>,
 6029         -
        pub(crate) set_of_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>>,
 6030         -
        pub(crate) map_of_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_short_constrained::MapOfRangeShortConstrained>>,
 6031         -
        pub(crate) list_of_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>,
 6032         -
        pub(crate) set_of_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>>,
 6033         -
        pub(crate) map_of_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_long_constrained::MapOfRangeLongConstrained>>,
 6034         -
        pub(crate) list_of_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>,
 6035         -
        pub(crate) set_of_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>>,
 6036         -
        pub(crate) map_of_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_byte_constrained::MapOfRangeByteConstrained>>,
 6037         -
        pub(crate) non_streaming_blob: ::std::option::Option<::aws_smithy_types::Blob>,
 6038         -
        pub(crate) pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::PatternString>>,
 6039         -
        pub(crate) map_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_pattern_string_constrained::MapOfPatternStringConstrained>>,
 6040         -
        pub(crate) list_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_pattern_string_constrained::ListOfPatternStringConstrained>>,
 6041         -
        pub(crate) set_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfPatternString>>,
 6042         -
        pub(crate) length_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthPatternString>>,
 6043         -
        pub(crate) map_of_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_pattern_string_constrained::MapOfLengthPatternStringConstrained>>,
 6044         -
        pub(crate) list_of_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_pattern_string_constrained::ListOfLengthPatternStringConstrained>>,
 6045         -
        pub(crate) set_of_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfLengthPatternString>>,
 6046         -
        pub(crate) length_list_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>>,
 6047         -
        pub(crate) length_set_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthSetOfPatternString>>,
 6048         -
    }
        7319  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) con_b: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConB>>,
        7320  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) opt_con_b: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConB>>,
        7321  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthString>>,
        7322  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) min_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinLengthString>>,
        7323  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) max_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxLengthString>>,
        7324  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) fixed_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedLengthString>>,
        7325  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthBlob>>,
        7326  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) min_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinLengthBlob>>,
        7327  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) max_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxLengthBlob>>,
        7328  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) fixed_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedLengthBlob>>,
        7329  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeInteger>>,
        7330  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) min_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeInteger>>,
        7331  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) max_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeInteger>>,
        7332  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) fixed_value_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueInteger>>,
        7333  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeShort>>,
        7334  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) min_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeShort>>,
        7335  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) max_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeShort>>,
        7336  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) fixed_value_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueShort>>,
        7337  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeLong>>,
        7338  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) min_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeLong>>,
        7339  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) max_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeLong>>,
        7340  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) fixed_value_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueLong>>,
        7341  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeByte>>,
        7342  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) min_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeByte>>,
        7343  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) max_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeByte>>,
        7344  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) fixed_value_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueByte>>,
        7345  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) con_b_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::con_b_list_constrained::ConBListConstrained>>,
        7346  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) length_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthList>>,
        7347  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) sensitive_length_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SensitiveLengthList>>,
        7348  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) con_b_set: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConBSet>>,
        7349  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) con_b_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
        7350  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) length_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthMap>>,
        7351  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_map_of_list_of_list_of_con_b: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_map_of_list_of_list_of_con_b_constrained::MapOfMapOfListOfListOfConBConstrained>>,
        7352  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) sparse_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::sparse_map_constrained::SparseMapConstrained>>,
        7353  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) sparse_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::sparse_list_constrained::SparseListConstrained>>,
        7354  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) sparse_length_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SparseLengthMap>>,
        7355  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) sparse_length_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SparseLengthList>>,
        7356  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) constrained_union: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConstrainedUnion>>,
        7357  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) enum_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::EnumString>>,
        7358  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>,
        7359  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) set_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>>,
        7360  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_string_constrained::MapOfLengthStringConstrained>>,
        7361  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_blob_constrained::ListOfLengthBlobConstrained>>,
        7362  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_blob_constrained::MapOfLengthBlobConstrained>>,
        7363  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>,
        7364  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) set_of_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>>,
        7365  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_integer_constrained::MapOfRangeIntegerConstrained>>,
        7366  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>,
        7367  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) set_of_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>>,
        7368  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_short_constrained::MapOfRangeShortConstrained>>,
        7369  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>,
        7370  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) set_of_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>>,
        7371  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_long_constrained::MapOfRangeLongConstrained>>,
        7372  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>,
        7373  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) set_of_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>>,
        7374  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_byte_constrained::MapOfRangeByteConstrained>>,
        7375  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) non_streaming_blob: ::std::option::Option<::aws_smithy_types::Blob>,
        7376  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::PatternString>>,
        7377  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_pattern_string_constrained::MapOfPatternStringConstrained>>,
        7378  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_pattern_string_constrained::ListOfPatternStringConstrained>>,
        7379  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) set_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfPatternString>>,
        7380  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) length_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthPatternString>>,
        7381  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_pattern_string_constrained::MapOfLengthPatternStringConstrained>>,
        7382  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_pattern_string_constrained::ListOfLengthPatternStringConstrained>>,
        7383  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) set_of_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfLengthPatternString>>,
        7384  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) length_list_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>>,
        7385  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) length_set_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthSetOfPatternString>>,
        7386  +
    /* ServerBuilderGenerator.kt:211 */}
        7387  +
    /* ServerBuilderGenerator.kt:215 */
 6049   7388   
    impl Builder {
        7389  +
        /* ServerBuilderGenerator.kt:331 */
 6050   7390   
        #[allow(missing_docs)] // documentation missing in model
        7391  +
                               /* ServerBuilderGenerator.kt:343 */
 6051   7392   
        pub fn con_b(mut self, input: crate::model::ConB) -> Self {
 6052         -
            self.con_b = Some(crate::constrained::MaybeConstrained::Constrained(input));
        7393  +
            /* ServerBuilderGenerator.kt:344 */
        7394  +
            self.con_b =
        7395  +
                /* ServerBuilderGenerator.kt:345 */Some(
        7396  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        7397  +
                /* ServerBuilderGenerator.kt:345 */)
        7398  +
            /* ServerBuilderGenerator.kt:344 */;
 6053   7399   
            self
        7400  +
            /* ServerBuilderGenerator.kt:343 */
 6054   7401   
        }
        7402  +
        /* ServerBuilderGenerator.kt:426 */
 6055   7403   
        #[allow(missing_docs)] // documentation missing in model
        7404  +
                               /* ServerBuilderGenerator.kt:428 */
 6056   7405   
        pub(crate) fn set_con_b(
 6057   7406   
            mut self,
 6058   7407   
            input: impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConB>>,
 6059   7408   
        ) -> Self {
        7409  +
            /* ServerBuilderGenerator.kt:429 */
 6060   7410   
            self.con_b = Some(input.into());
 6061   7411   
            self
        7412  +
            /* ServerBuilderGenerator.kt:428 */
 6062   7413   
        }
        7414  +
        /* ServerBuilderGenerator.kt:331 */
 6063   7415   
        #[allow(missing_docs)] // documentation missing in model
        7416  +
                               /* ServerBuilderGenerator.kt:343 */
 6064   7417   
        pub fn opt_con_b(mut self, input: ::std::option::Option<crate::model::ConB>) -> Self {
 6065         -
            self.opt_con_b = input.map(
 6066         -
                #[allow(clippy::redundant_closure)]
 6067         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6068         -
            );
        7418  +
            /* ServerBuilderGenerator.kt:344 */
        7419  +
            self.opt_con_b =
        7420  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        7421  +
            /* ServerBuilderGenerator.kt:344 */;
 6069   7422   
            self
        7423  +
            /* ServerBuilderGenerator.kt:343 */
 6070   7424   
        }
        7425  +
        /* ServerBuilderGenerator.kt:426 */
 6071   7426   
        #[allow(missing_docs)] // documentation missing in model
        7427  +
                               /* ServerBuilderGenerator.kt:428 */
 6072   7428   
        pub(crate) fn set_opt_con_b(
 6073   7429   
            mut self,
 6074   7430   
            input: Option<
 6075   7431   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConB>>,
 6076   7432   
            >,
 6077   7433   
        ) -> Self {
        7434  +
            /* ServerBuilderGenerator.kt:429 */
 6078   7435   
            self.opt_con_b = input.map(|v| v.into());
 6079   7436   
            self
        7437  +
            /* ServerBuilderGenerator.kt:428 */
 6080   7438   
        }
        7439  +
        /* ServerBuilderGenerator.kt:331 */
 6081   7440   
        #[allow(missing_docs)] // documentation missing in model
        7441  +
                               /* ServerBuilderGenerator.kt:343 */
 6082   7442   
        pub fn length_string(
 6083   7443   
            mut self,
 6084   7444   
            input: ::std::option::Option<crate::model::LengthString>,
 6085   7445   
        ) -> Self {
 6086         -
            self.length_string = input.map(
 6087         -
                #[allow(clippy::redundant_closure)]
 6088         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6089         -
            );
        7446  +
            /* ServerBuilderGenerator.kt:344 */
        7447  +
            self.length_string =
        7448  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        7449  +
            /* ServerBuilderGenerator.kt:344 */;
 6090   7450   
            self
        7451  +
            /* ServerBuilderGenerator.kt:343 */
 6091   7452   
        }
        7453  +
        /* ServerBuilderGenerator.kt:426 */
 6092   7454   
        #[allow(missing_docs)] // documentation missing in model
        7455  +
                               /* ServerBuilderGenerator.kt:428 */
 6093   7456   
        pub(crate) fn set_length_string(
 6094   7457   
            mut self,
 6095   7458   
            input: Option<
 6096   7459   
                impl ::std::convert::Into<
 6097   7460   
                    crate::constrained::MaybeConstrained<crate::model::LengthString>,
 6098   7461   
                >,
 6099   7462   
            >,
 6100   7463   
        ) -> Self {
        7464  +
            /* ServerBuilderGenerator.kt:429 */
 6101   7465   
            self.length_string = input.map(|v| v.into());
 6102   7466   
            self
        7467  +
            /* ServerBuilderGenerator.kt:428 */
 6103   7468   
        }
        7469  +
        /* ServerBuilderGenerator.kt:331 */
 6104   7470   
        #[allow(missing_docs)] // documentation missing in model
        7471  +
                               /* ServerBuilderGenerator.kt:343 */
 6105   7472   
        pub fn min_length_string(
 6106   7473   
            mut self,
 6107   7474   
            input: ::std::option::Option<crate::model::MinLengthString>,
 6108   7475   
        ) -> Self {
 6109         -
            self.min_length_string = input.map(
 6110         -
                #[allow(clippy::redundant_closure)]
 6111         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6112         -
            );
        7476  +
            /* ServerBuilderGenerator.kt:344 */
        7477  +
            self.min_length_string =
        7478  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        7479  +
            /* ServerBuilderGenerator.kt:344 */;
 6113   7480   
            self
        7481  +
            /* ServerBuilderGenerator.kt:343 */
 6114   7482   
        }
        7483  +
        /* ServerBuilderGenerator.kt:426 */
 6115   7484   
        #[allow(missing_docs)] // documentation missing in model
        7485  +
                               /* ServerBuilderGenerator.kt:428 */
 6116   7486   
        pub(crate) fn set_min_length_string(
 6117   7487   
            mut self,
 6118   7488   
            input: Option<
 6119   7489   
                impl ::std::convert::Into<
 6120   7490   
                    crate::constrained::MaybeConstrained<crate::model::MinLengthString>,
 6121   7491   
                >,
 6122   7492   
            >,
 6123   7493   
        ) -> Self {
        7494  +
            /* ServerBuilderGenerator.kt:429 */
 6124   7495   
            self.min_length_string = input.map(|v| v.into());
 6125   7496   
            self
        7497  +
            /* ServerBuilderGenerator.kt:428 */
 6126   7498   
        }
        7499  +
        /* ServerBuilderGenerator.kt:331 */
 6127   7500   
        #[allow(missing_docs)] // documentation missing in model
        7501  +
                               /* ServerBuilderGenerator.kt:343 */
 6128   7502   
        pub fn max_length_string(
 6129   7503   
            mut self,
 6130   7504   
            input: ::std::option::Option<crate::model::MaxLengthString>,
 6131   7505   
        ) -> Self {
 6132         -
            self.max_length_string = input.map(
 6133         -
                #[allow(clippy::redundant_closure)]
 6134         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6135         -
            );
        7506  +
            /* ServerBuilderGenerator.kt:344 */
        7507  +
            self.max_length_string =
        7508  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        7509  +
            /* ServerBuilderGenerator.kt:344 */;
 6136   7510   
            self
        7511  +
            /* ServerBuilderGenerator.kt:343 */
 6137   7512   
        }
        7513  +
        /* ServerBuilderGenerator.kt:426 */
 6138   7514   
        #[allow(missing_docs)] // documentation missing in model
        7515  +
                               /* ServerBuilderGenerator.kt:428 */
 6139   7516   
        pub(crate) fn set_max_length_string(
 6140   7517   
            mut self,
 6141   7518   
            input: Option<
 6142   7519   
                impl ::std::convert::Into<
 6143   7520   
                    crate::constrained::MaybeConstrained<crate::model::MaxLengthString>,
 6144   7521   
                >,
 6145   7522   
            >,
 6146   7523   
        ) -> Self {
        7524  +
            /* ServerBuilderGenerator.kt:429 */
 6147   7525   
            self.max_length_string = input.map(|v| v.into());
 6148   7526   
            self
        7527  +
            /* ServerBuilderGenerator.kt:428 */
 6149   7528   
        }
        7529  +
        /* ServerBuilderGenerator.kt:331 */
 6150   7530   
        #[allow(missing_docs)] // documentation missing in model
        7531  +
                               /* ServerBuilderGenerator.kt:343 */
 6151   7532   
        pub fn fixed_length_string(
 6152   7533   
            mut self,
 6153   7534   
            input: ::std::option::Option<crate::model::FixedLengthString>,
 6154   7535   
        ) -> Self {
 6155         -
            self.fixed_length_string = input.map(
 6156         -
                #[allow(clippy::redundant_closure)]
 6157         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6158         -
            );
        7536  +
            /* ServerBuilderGenerator.kt:344 */
        7537  +
            self.fixed_length_string =
        7538  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        7539  +
            /* ServerBuilderGenerator.kt:344 */;
 6159   7540   
            self
        7541  +
            /* ServerBuilderGenerator.kt:343 */
 6160   7542   
        }
        7543  +
        /* ServerBuilderGenerator.kt:426 */
 6161   7544   
        #[allow(missing_docs)] // documentation missing in model
        7545  +
                               /* ServerBuilderGenerator.kt:428 */
 6162   7546   
        pub(crate) fn set_fixed_length_string(
 6163   7547   
            mut self,
 6164   7548   
            input: Option<
 6165   7549   
                impl ::std::convert::Into<
 6166   7550   
                    crate::constrained::MaybeConstrained<crate::model::FixedLengthString>,
 6167   7551   
                >,
 6168   7552   
            >,
 6169   7553   
        ) -> Self {
        7554  +
            /* ServerBuilderGenerator.kt:429 */
 6170   7555   
            self.fixed_length_string = input.map(|v| v.into());
 6171   7556   
            self
        7557  +
            /* ServerBuilderGenerator.kt:428 */
 6172   7558   
        }
        7559  +
        /* ServerBuilderGenerator.kt:331 */
 6173   7560   
        #[allow(missing_docs)] // documentation missing in model
        7561  +
                               /* ServerBuilderGenerator.kt:343 */
 6174   7562   
        pub fn length_blob(
 6175   7563   
            mut self,
 6176   7564   
            input: ::std::option::Option<crate::model::LengthBlob>,
 6177   7565   
        ) -> Self {
 6178         -
            self.length_blob = input.map(
 6179         -
                #[allow(clippy::redundant_closure)]
 6180         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6181         -
            );
        7566  +
            /* ServerBuilderGenerator.kt:344 */
        7567  +
            self.length_blob =
        7568  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        7569  +
            /* ServerBuilderGenerator.kt:344 */;
 6182   7570   
            self
        7571  +
            /* ServerBuilderGenerator.kt:343 */
 6183   7572   
        }
        7573  +
        /* ServerBuilderGenerator.kt:426 */
 6184   7574   
        #[allow(missing_docs)] // documentation missing in model
        7575  +
                               /* ServerBuilderGenerator.kt:428 */
 6185   7576   
        pub(crate) fn set_length_blob(
 6186   7577   
            mut self,
 6187   7578   
            input: Option<
 6188   7579   
                impl ::std::convert::Into<
 6189   7580   
                    crate::constrained::MaybeConstrained<crate::model::LengthBlob>,
 6190   7581   
                >,
 6191   7582   
            >,
 6192   7583   
        ) -> Self {
        7584  +
            /* ServerBuilderGenerator.kt:429 */
 6193   7585   
            self.length_blob = input.map(|v| v.into());
 6194   7586   
            self
        7587  +
            /* ServerBuilderGenerator.kt:428 */
 6195   7588   
        }
        7589  +
        /* ServerBuilderGenerator.kt:331 */
 6196   7590   
        #[allow(missing_docs)] // documentation missing in model
        7591  +
                               /* ServerBuilderGenerator.kt:343 */
 6197   7592   
        pub fn min_length_blob(
 6198   7593   
            mut self,
 6199   7594   
            input: ::std::option::Option<crate::model::MinLengthBlob>,
 6200   7595   
        ) -> Self {
 6201         -
            self.min_length_blob = input.map(
 6202         -
                #[allow(clippy::redundant_closure)]
 6203         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6204         -
            );
        7596  +
            /* ServerBuilderGenerator.kt:344 */
        7597  +
            self.min_length_blob =
        7598  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        7599  +
            /* ServerBuilderGenerator.kt:344 */;
 6205   7600   
            self
        7601  +
            /* ServerBuilderGenerator.kt:343 */
 6206   7602   
        }
        7603  +
        /* ServerBuilderGenerator.kt:426 */
 6207   7604   
        #[allow(missing_docs)] // documentation missing in model
        7605  +
                               /* ServerBuilderGenerator.kt:428 */
 6208   7606   
        pub(crate) fn set_min_length_blob(
 6209   7607   
            mut self,
 6210   7608   
            input: Option<
 6211   7609   
                impl ::std::convert::Into<
 6212   7610   
                    crate::constrained::MaybeConstrained<crate::model::MinLengthBlob>,
 6213   7611   
                >,
 6214   7612   
            >,
 6215   7613   
        ) -> Self {
        7614  +
            /* ServerBuilderGenerator.kt:429 */
 6216   7615   
            self.min_length_blob = input.map(|v| v.into());
 6217   7616   
            self
        7617  +
            /* ServerBuilderGenerator.kt:428 */
 6218   7618   
        }
        7619  +
        /* ServerBuilderGenerator.kt:331 */
 6219   7620   
        #[allow(missing_docs)] // documentation missing in model
        7621  +
                               /* ServerBuilderGenerator.kt:343 */
 6220   7622   
        pub fn max_length_blob(
 6221   7623   
            mut self,
 6222   7624   
            input: ::std::option::Option<crate::model::MaxLengthBlob>,
 6223   7625   
        ) -> Self {
 6224         -
            self.max_length_blob = input.map(
 6225         -
                #[allow(clippy::redundant_closure)]
 6226         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6227         -
            );
        7626  +
            /* ServerBuilderGenerator.kt:344 */
        7627  +
            self.max_length_blob =
        7628  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        7629  +
            /* ServerBuilderGenerator.kt:344 */;
 6228   7630   
            self
        7631  +
            /* ServerBuilderGenerator.kt:343 */
 6229   7632   
        }
        7633  +
        /* ServerBuilderGenerator.kt:426 */
 6230   7634   
        #[allow(missing_docs)] // documentation missing in model
        7635  +
                               /* ServerBuilderGenerator.kt:428 */
 6231   7636   
        pub(crate) fn set_max_length_blob(
 6232   7637   
            mut self,
 6233   7638   
            input: Option<
 6234   7639   
                impl ::std::convert::Into<
 6235   7640   
                    crate::constrained::MaybeConstrained<crate::model::MaxLengthBlob>,
 6236   7641   
                >,
 6237   7642   
            >,
 6238   7643   
        ) -> Self {
        7644  +
            /* ServerBuilderGenerator.kt:429 */
 6239   7645   
            self.max_length_blob = input.map(|v| v.into());
 6240   7646   
            self
        7647  +
            /* ServerBuilderGenerator.kt:428 */
 6241   7648   
        }
        7649  +
        /* ServerBuilderGenerator.kt:331 */
 6242   7650   
        #[allow(missing_docs)] // documentation missing in model
        7651  +
                               /* ServerBuilderGenerator.kt:343 */
 6243   7652   
        pub fn fixed_length_blob(
 6244   7653   
            mut self,
 6245   7654   
            input: ::std::option::Option<crate::model::FixedLengthBlob>,
 6246   7655   
        ) -> Self {
 6247         -
            self.fixed_length_blob = input.map(
 6248         -
                #[allow(clippy::redundant_closure)]
 6249         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6250         -
            );
        7656  +
            /* ServerBuilderGenerator.kt:344 */
        7657  +
            self.fixed_length_blob =
        7658  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        7659  +
            /* ServerBuilderGenerator.kt:344 */;
 6251   7660   
            self
        7661  +
            /* ServerBuilderGenerator.kt:343 */
 6252   7662   
        }
        7663  +
        /* ServerBuilderGenerator.kt:426 */
 6253   7664   
        #[allow(missing_docs)] // documentation missing in model
        7665  +
                               /* ServerBuilderGenerator.kt:428 */
 6254   7666   
        pub(crate) fn set_fixed_length_blob(
 6255   7667   
            mut self,
 6256   7668   
            input: Option<
 6257   7669   
                impl ::std::convert::Into<
 6258   7670   
                    crate::constrained::MaybeConstrained<crate::model::FixedLengthBlob>,
 6259   7671   
                >,
 6260   7672   
            >,
 6261   7673   
        ) -> Self {
        7674  +
            /* ServerBuilderGenerator.kt:429 */
 6262   7675   
            self.fixed_length_blob = input.map(|v| v.into());
 6263   7676   
            self
        7677  +
            /* ServerBuilderGenerator.kt:428 */
 6264   7678   
        }
        7679  +
        /* ServerBuilderGenerator.kt:331 */
 6265   7680   
        #[allow(missing_docs)] // documentation missing in model
        7681  +
                               /* ServerBuilderGenerator.kt:343 */
 6266   7682   
        pub fn range_integer(mut self, input: crate::model::RangeInteger) -> Self {
 6267         -
            self.range_integer = Some(crate::constrained::MaybeConstrained::Constrained(input));
        7683  +
            /* ServerBuilderGenerator.kt:344 */
        7684  +
            self.range_integer =
        7685  +
                /* ServerBuilderGenerator.kt:345 */Some(
        7686  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        7687  +
                /* ServerBuilderGenerator.kt:345 */)
        7688  +
            /* ServerBuilderGenerator.kt:344 */;
 6268   7689   
            self
        7690  +
            /* ServerBuilderGenerator.kt:343 */
 6269   7691   
        }
        7692  +
        /* ServerBuilderGenerator.kt:426 */
 6270   7693   
        #[allow(missing_docs)] // documentation missing in model
        7694  +
                               /* ServerBuilderGenerator.kt:428 */
 6271   7695   
        pub(crate) fn set_range_integer(
 6272   7696   
            mut self,
 6273   7697   
            input: impl ::std::convert::Into<
 6274   7698   
                crate::constrained::MaybeConstrained<crate::model::RangeInteger>,
 6275   7699   
            >,
 6276   7700   
        ) -> Self {
        7701  +
            /* ServerBuilderGenerator.kt:429 */
 6277   7702   
            self.range_integer = Some(input.into());
 6278   7703   
            self
        7704  +
            /* ServerBuilderGenerator.kt:428 */
 6279   7705   
        }
        7706  +
        /* ServerBuilderGenerator.kt:331 */
 6280   7707   
        #[allow(missing_docs)] // documentation missing in model
        7708  +
                               /* ServerBuilderGenerator.kt:343 */
 6281   7709   
        pub fn min_range_integer(mut self, input: crate::model::MinRangeInteger) -> Self {
 6282         -
            self.min_range_integer = Some(crate::constrained::MaybeConstrained::Constrained(input));
        7710  +
            /* ServerBuilderGenerator.kt:344 */
        7711  +
            self.min_range_integer =
        7712  +
                /* ServerBuilderGenerator.kt:345 */Some(
        7713  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        7714  +
                /* ServerBuilderGenerator.kt:345 */)
        7715  +
            /* ServerBuilderGenerator.kt:344 */;
 6283   7716   
            self
        7717  +
            /* ServerBuilderGenerator.kt:343 */
 6284   7718   
        }
        7719  +
        /* ServerBuilderGenerator.kt:426 */
 6285   7720   
        #[allow(missing_docs)] // documentation missing in model
        7721  +
                               /* ServerBuilderGenerator.kt:428 */
 6286   7722   
        pub(crate) fn set_min_range_integer(
 6287   7723   
            mut self,
 6288   7724   
            input: impl ::std::convert::Into<
 6289   7725   
                crate::constrained::MaybeConstrained<crate::model::MinRangeInteger>,
 6290   7726   
            >,
 6291   7727   
        ) -> Self {
        7728  +
            /* ServerBuilderGenerator.kt:429 */
 6292   7729   
            self.min_range_integer = Some(input.into());
 6293   7730   
            self
        7731  +
            /* ServerBuilderGenerator.kt:428 */
 6294   7732   
        }
        7733  +
        /* ServerBuilderGenerator.kt:331 */
 6295   7734   
        #[allow(missing_docs)] // documentation missing in model
        7735  +
                               /* ServerBuilderGenerator.kt:343 */
 6296   7736   
        pub fn max_range_integer(mut self, input: crate::model::MaxRangeInteger) -> Self {
 6297         -
            self.max_range_integer = Some(crate::constrained::MaybeConstrained::Constrained(input));
        7737  +
            /* ServerBuilderGenerator.kt:344 */
        7738  +
            self.max_range_integer =
        7739  +
                /* ServerBuilderGenerator.kt:345 */Some(
        7740  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        7741  +
                /* ServerBuilderGenerator.kt:345 */)
        7742  +
            /* ServerBuilderGenerator.kt:344 */;
 6298   7743   
            self
        7744  +
            /* ServerBuilderGenerator.kt:343 */
 6299   7745   
        }
        7746  +
        /* ServerBuilderGenerator.kt:426 */
 6300   7747   
        #[allow(missing_docs)] // documentation missing in model
        7748  +
                               /* ServerBuilderGenerator.kt:428 */
 6301   7749   
        pub(crate) fn set_max_range_integer(
 6302   7750   
            mut self,
 6303   7751   
            input: impl ::std::convert::Into<
 6304   7752   
                crate::constrained::MaybeConstrained<crate::model::MaxRangeInteger>,
 6305   7753   
            >,
 6306   7754   
        ) -> Self {
        7755  +
            /* ServerBuilderGenerator.kt:429 */
 6307   7756   
            self.max_range_integer = Some(input.into());
 6308   7757   
            self
        7758  +
            /* ServerBuilderGenerator.kt:428 */
 6309   7759   
        }
        7760  +
        /* ServerBuilderGenerator.kt:331 */
 6310   7761   
        #[allow(missing_docs)] // documentation missing in model
        7762  +
                               /* ServerBuilderGenerator.kt:343 */
 6311   7763   
        pub fn fixed_value_integer(mut self, input: crate::model::FixedValueInteger) -> Self {
        7764  +
            /* ServerBuilderGenerator.kt:344 */
 6312   7765   
            self.fixed_value_integer =
 6313         -
                Some(crate::constrained::MaybeConstrained::Constrained(input));
        7766  +
                /* ServerBuilderGenerator.kt:345 */Some(
        7767  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        7768  +
                /* ServerBuilderGenerator.kt:345 */)
        7769  +
            /* ServerBuilderGenerator.kt:344 */;
 6314   7770   
            self
        7771  +
            /* ServerBuilderGenerator.kt:343 */
 6315   7772   
        }
        7773  +
        /* ServerBuilderGenerator.kt:426 */
 6316   7774   
        #[allow(missing_docs)] // documentation missing in model
        7775  +
                               /* ServerBuilderGenerator.kt:428 */
 6317   7776   
        pub(crate) fn set_fixed_value_integer(
 6318   7777   
            mut self,
 6319   7778   
            input: impl ::std::convert::Into<
 6320   7779   
                crate::constrained::MaybeConstrained<crate::model::FixedValueInteger>,
 6321   7780   
            >,
 6322   7781   
        ) -> Self {
        7782  +
            /* ServerBuilderGenerator.kt:429 */
 6323   7783   
            self.fixed_value_integer = Some(input.into());
 6324   7784   
            self
        7785  +
            /* ServerBuilderGenerator.kt:428 */
 6325   7786   
        }
        7787  +
        /* ServerBuilderGenerator.kt:331 */
 6326   7788   
        #[allow(missing_docs)] // documentation missing in model
        7789  +
                               /* ServerBuilderGenerator.kt:343 */
 6327   7790   
        pub fn range_short(mut self, input: crate::model::RangeShort) -> Self {
 6328         -
            self.range_short = Some(crate::constrained::MaybeConstrained::Constrained(input));
        7791  +
            /* ServerBuilderGenerator.kt:344 */
        7792  +
            self.range_short =
        7793  +
                /* ServerBuilderGenerator.kt:345 */Some(
        7794  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        7795  +
                /* ServerBuilderGenerator.kt:345 */)
        7796  +
            /* ServerBuilderGenerator.kt:344 */;
 6329   7797   
            self
        7798  +
            /* ServerBuilderGenerator.kt:343 */
 6330   7799   
        }
        7800  +
        /* ServerBuilderGenerator.kt:426 */
 6331   7801   
        #[allow(missing_docs)] // documentation missing in model
        7802  +
                               /* ServerBuilderGenerator.kt:428 */
 6332   7803   
        pub(crate) fn set_range_short(
 6333   7804   
            mut self,
 6334   7805   
            input: impl ::std::convert::Into<
 6335   7806   
                crate::constrained::MaybeConstrained<crate::model::RangeShort>,
 6336   7807   
            >,
 6337   7808   
        ) -> Self {
        7809  +
            /* ServerBuilderGenerator.kt:429 */
 6338   7810   
            self.range_short = Some(input.into());
 6339   7811   
            self
        7812  +
            /* ServerBuilderGenerator.kt:428 */
 6340   7813   
        }
        7814  +
        /* ServerBuilderGenerator.kt:331 */
 6341   7815   
        #[allow(missing_docs)] // documentation missing in model
        7816  +
                               /* ServerBuilderGenerator.kt:343 */
 6342   7817   
        pub fn min_range_short(mut self, input: crate::model::MinRangeShort) -> Self {
 6343         -
            self.min_range_short = Some(crate::constrained::MaybeConstrained::Constrained(input));
        7818  +
            /* ServerBuilderGenerator.kt:344 */
        7819  +
            self.min_range_short =
        7820  +
                /* ServerBuilderGenerator.kt:345 */Some(
        7821  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        7822  +
                /* ServerBuilderGenerator.kt:345 */)
        7823  +
            /* ServerBuilderGenerator.kt:344 */;
 6344   7824   
            self
        7825  +
            /* ServerBuilderGenerator.kt:343 */
 6345   7826   
        }
        7827  +
        /* ServerBuilderGenerator.kt:426 */
 6346   7828   
        #[allow(missing_docs)] // documentation missing in model
        7829  +
                               /* ServerBuilderGenerator.kt:428 */
 6347   7830   
        pub(crate) fn set_min_range_short(
 6348   7831   
            mut self,
 6349   7832   
            input: impl ::std::convert::Into<
 6350   7833   
                crate::constrained::MaybeConstrained<crate::model::MinRangeShort>,
 6351   7834   
            >,
 6352   7835   
        ) -> Self {
        7836  +
            /* ServerBuilderGenerator.kt:429 */
 6353   7837   
            self.min_range_short = Some(input.into());
 6354   7838   
            self
        7839  +
            /* ServerBuilderGenerator.kt:428 */
 6355   7840   
        }
        7841  +
        /* ServerBuilderGenerator.kt:331 */
 6356   7842   
        #[allow(missing_docs)] // documentation missing in model
        7843  +
                               /* ServerBuilderGenerator.kt:343 */
 6357   7844   
        pub fn max_range_short(mut self, input: crate::model::MaxRangeShort) -> Self {
 6358         -
            self.max_range_short = Some(crate::constrained::MaybeConstrained::Constrained(input));
        7845  +
            /* ServerBuilderGenerator.kt:344 */
        7846  +
            self.max_range_short =
        7847  +
                /* ServerBuilderGenerator.kt:345 */Some(
        7848  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        7849  +
                /* ServerBuilderGenerator.kt:345 */)
        7850  +
            /* ServerBuilderGenerator.kt:344 */;
 6359   7851   
            self
        7852  +
            /* ServerBuilderGenerator.kt:343 */
 6360   7853   
        }
        7854  +
        /* ServerBuilderGenerator.kt:426 */
 6361   7855   
        #[allow(missing_docs)] // documentation missing in model
        7856  +
                               /* ServerBuilderGenerator.kt:428 */
 6362   7857   
        pub(crate) fn set_max_range_short(
 6363   7858   
            mut self,
 6364   7859   
            input: impl ::std::convert::Into<
 6365   7860   
                crate::constrained::MaybeConstrained<crate::model::MaxRangeShort>,
 6366   7861   
            >,
 6367   7862   
        ) -> Self {
        7863  +
            /* ServerBuilderGenerator.kt:429 */
 6368   7864   
            self.max_range_short = Some(input.into());
 6369   7865   
            self
        7866  +
            /* ServerBuilderGenerator.kt:428 */
 6370   7867   
        }
        7868  +
        /* ServerBuilderGenerator.kt:331 */
 6371   7869   
        #[allow(missing_docs)] // documentation missing in model
        7870  +
                               /* ServerBuilderGenerator.kt:343 */
 6372   7871   
        pub fn fixed_value_short(mut self, input: crate::model::FixedValueShort) -> Self {
 6373         -
            self.fixed_value_short = Some(crate::constrained::MaybeConstrained::Constrained(input));
        7872  +
            /* ServerBuilderGenerator.kt:344 */
        7873  +
            self.fixed_value_short =
        7874  +
                /* ServerBuilderGenerator.kt:345 */Some(
        7875  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        7876  +
                /* ServerBuilderGenerator.kt:345 */)
        7877  +
            /* ServerBuilderGenerator.kt:344 */;
 6374   7878   
            self
        7879  +
            /* ServerBuilderGenerator.kt:343 */
 6375   7880   
        }
        7881  +
        /* ServerBuilderGenerator.kt:426 */
 6376   7882   
        #[allow(missing_docs)] // documentation missing in model
        7883  +
                               /* ServerBuilderGenerator.kt:428 */
 6377   7884   
        pub(crate) fn set_fixed_value_short(
 6378   7885   
            mut self,
 6379   7886   
            input: impl ::std::convert::Into<
 6380   7887   
                crate::constrained::MaybeConstrained<crate::model::FixedValueShort>,
 6381   7888   
            >,
 6382   7889   
        ) -> Self {
        7890  +
            /* ServerBuilderGenerator.kt:429 */
 6383   7891   
            self.fixed_value_short = Some(input.into());
 6384   7892   
            self
        7893  +
            /* ServerBuilderGenerator.kt:428 */
 6385   7894   
        }
        7895  +
        /* ServerBuilderGenerator.kt:331 */
 6386   7896   
        #[allow(missing_docs)] // documentation missing in model
        7897  +
                               /* ServerBuilderGenerator.kt:343 */
 6387   7898   
        pub fn range_long(mut self, input: crate::model::RangeLong) -> Self {
 6388         -
            self.range_long = Some(crate::constrained::MaybeConstrained::Constrained(input));
        7899  +
            /* ServerBuilderGenerator.kt:344 */
        7900  +
            self.range_long =
        7901  +
                /* ServerBuilderGenerator.kt:345 */Some(
        7902  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        7903  +
                /* ServerBuilderGenerator.kt:345 */)
        7904  +
            /* ServerBuilderGenerator.kt:344 */;
 6389   7905   
            self
        7906  +
            /* ServerBuilderGenerator.kt:343 */
 6390   7907   
        }
        7908  +
        /* ServerBuilderGenerator.kt:426 */
 6391   7909   
        #[allow(missing_docs)] // documentation missing in model
        7910  +
                               /* ServerBuilderGenerator.kt:428 */
 6392   7911   
        pub(crate) fn set_range_long(
 6393   7912   
            mut self,
 6394   7913   
            input: impl ::std::convert::Into<
 6395   7914   
                crate::constrained::MaybeConstrained<crate::model::RangeLong>,
 6396   7915   
            >,
 6397   7916   
        ) -> Self {
        7917  +
            /* ServerBuilderGenerator.kt:429 */
 6398   7918   
            self.range_long = Some(input.into());
 6399   7919   
            self
        7920  +
            /* ServerBuilderGenerator.kt:428 */
 6400   7921   
        }
        7922  +
        /* ServerBuilderGenerator.kt:331 */
 6401   7923   
        #[allow(missing_docs)] // documentation missing in model
        7924  +
                               /* ServerBuilderGenerator.kt:343 */
 6402   7925   
        pub fn min_range_long(mut self, input: crate::model::MinRangeLong) -> Self {
 6403         -
            self.min_range_long = Some(crate::constrained::MaybeConstrained::Constrained(input));
        7926  +
            /* ServerBuilderGenerator.kt:344 */
        7927  +
            self.min_range_long =
        7928  +
                /* ServerBuilderGenerator.kt:345 */Some(
        7929  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        7930  +
                /* ServerBuilderGenerator.kt:345 */)
        7931  +
            /* ServerBuilderGenerator.kt:344 */;
 6404   7932   
            self
        7933  +
            /* ServerBuilderGenerator.kt:343 */
 6405   7934   
        }
        7935  +
        /* ServerBuilderGenerator.kt:426 */
 6406   7936   
        #[allow(missing_docs)] // documentation missing in model
        7937  +
                               /* ServerBuilderGenerator.kt:428 */
 6407   7938   
        pub(crate) fn set_min_range_long(
 6408   7939   
            mut self,
 6409   7940   
            input: impl ::std::convert::Into<
 6410   7941   
                crate::constrained::MaybeConstrained<crate::model::MinRangeLong>,
 6411   7942   
            >,
 6412   7943   
        ) -> Self {
        7944  +
            /* ServerBuilderGenerator.kt:429 */
 6413   7945   
            self.min_range_long = Some(input.into());
 6414   7946   
            self
        7947  +
            /* ServerBuilderGenerator.kt:428 */
 6415   7948   
        }
        7949  +
        /* ServerBuilderGenerator.kt:331 */
 6416   7950   
        #[allow(missing_docs)] // documentation missing in model
        7951  +
                               /* ServerBuilderGenerator.kt:343 */
 6417   7952   
        pub fn max_range_long(mut self, input: crate::model::MaxRangeLong) -> Self {
 6418         -
            self.max_range_long = Some(crate::constrained::MaybeConstrained::Constrained(input));
        7953  +
            /* ServerBuilderGenerator.kt:344 */
        7954  +
            self.max_range_long =
        7955  +
                /* ServerBuilderGenerator.kt:345 */Some(
        7956  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        7957  +
                /* ServerBuilderGenerator.kt:345 */)
        7958  +
            /* ServerBuilderGenerator.kt:344 */;
 6419   7959   
            self
        7960  +
            /* ServerBuilderGenerator.kt:343 */
 6420   7961   
        }
        7962  +
        /* ServerBuilderGenerator.kt:426 */
 6421   7963   
        #[allow(missing_docs)] // documentation missing in model
        7964  +
                               /* ServerBuilderGenerator.kt:428 */
 6422   7965   
        pub(crate) fn set_max_range_long(
 6423   7966   
            mut self,
 6424   7967   
            input: impl ::std::convert::Into<
 6425   7968   
                crate::constrained::MaybeConstrained<crate::model::MaxRangeLong>,
 6426   7969   
            >,
 6427   7970   
        ) -> Self {
        7971  +
            /* ServerBuilderGenerator.kt:429 */
 6428   7972   
            self.max_range_long = Some(input.into());
 6429   7973   
            self
        7974  +
            /* ServerBuilderGenerator.kt:428 */
 6430   7975   
        }
        7976  +
        /* ServerBuilderGenerator.kt:331 */
 6431   7977   
        #[allow(missing_docs)] // documentation missing in model
        7978  +
                               /* ServerBuilderGenerator.kt:343 */
 6432   7979   
        pub fn fixed_value_long(mut self, input: crate::model::FixedValueLong) -> Self {
 6433         -
            self.fixed_value_long = Some(crate::constrained::MaybeConstrained::Constrained(input));
        7980  +
            /* ServerBuilderGenerator.kt:344 */
        7981  +
            self.fixed_value_long =
        7982  +
                /* ServerBuilderGenerator.kt:345 */Some(
        7983  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        7984  +
                /* ServerBuilderGenerator.kt:345 */)
        7985  +
            /* ServerBuilderGenerator.kt:344 */;
 6434   7986   
            self
        7987  +
            /* ServerBuilderGenerator.kt:343 */
 6435   7988   
        }
        7989  +
        /* ServerBuilderGenerator.kt:426 */
 6436   7990   
        #[allow(missing_docs)] // documentation missing in model
        7991  +
                               /* ServerBuilderGenerator.kt:428 */
 6437   7992   
        pub(crate) fn set_fixed_value_long(
 6438   7993   
            mut self,
 6439   7994   
            input: impl ::std::convert::Into<
 6440   7995   
                crate::constrained::MaybeConstrained<crate::model::FixedValueLong>,
 6441   7996   
            >,
 6442   7997   
        ) -> Self {
        7998  +
            /* ServerBuilderGenerator.kt:429 */
 6443   7999   
            self.fixed_value_long = Some(input.into());
 6444   8000   
            self
        8001  +
            /* ServerBuilderGenerator.kt:428 */
 6445   8002   
        }
        8003  +
        /* ServerBuilderGenerator.kt:331 */
 6446   8004   
        #[allow(missing_docs)] // documentation missing in model
        8005  +
                               /* ServerBuilderGenerator.kt:343 */
 6447   8006   
        pub fn range_byte(mut self, input: crate::model::RangeByte) -> Self {
 6448         -
            self.range_byte = Some(crate::constrained::MaybeConstrained::Constrained(input));
        8007  +
            /* ServerBuilderGenerator.kt:344 */
        8008  +
            self.range_byte =
        8009  +
                /* ServerBuilderGenerator.kt:345 */Some(
        8010  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        8011  +
                /* ServerBuilderGenerator.kt:345 */)
        8012  +
            /* ServerBuilderGenerator.kt:344 */;
 6449   8013   
            self
        8014  +
            /* ServerBuilderGenerator.kt:343 */
 6450   8015   
        }
        8016  +
        /* ServerBuilderGenerator.kt:426 */
 6451   8017   
        #[allow(missing_docs)] // documentation missing in model
        8018  +
                               /* ServerBuilderGenerator.kt:428 */
 6452   8019   
        pub(crate) fn set_range_byte(
 6453   8020   
            mut self,
 6454   8021   
            input: impl ::std::convert::Into<
 6455   8022   
                crate::constrained::MaybeConstrained<crate::model::RangeByte>,
 6456   8023   
            >,
 6457   8024   
        ) -> Self {
        8025  +
            /* ServerBuilderGenerator.kt:429 */
 6458   8026   
            self.range_byte = Some(input.into());
 6459   8027   
            self
        8028  +
            /* ServerBuilderGenerator.kt:428 */
 6460   8029   
        }
        8030  +
        /* ServerBuilderGenerator.kt:331 */
 6461   8031   
        #[allow(missing_docs)] // documentation missing in model
        8032  +
                               /* ServerBuilderGenerator.kt:343 */
 6462   8033   
        pub fn min_range_byte(mut self, input: crate::model::MinRangeByte) -> Self {
 6463         -
            self.min_range_byte = Some(crate::constrained::MaybeConstrained::Constrained(input));
        8034  +
            /* ServerBuilderGenerator.kt:344 */
        8035  +
            self.min_range_byte =
        8036  +
                /* ServerBuilderGenerator.kt:345 */Some(
        8037  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        8038  +
                /* ServerBuilderGenerator.kt:345 */)
        8039  +
            /* ServerBuilderGenerator.kt:344 */;
 6464   8040   
            self
        8041  +
            /* ServerBuilderGenerator.kt:343 */
 6465   8042   
        }
        8043  +
        /* ServerBuilderGenerator.kt:426 */
 6466   8044   
        #[allow(missing_docs)] // documentation missing in model
        8045  +
                               /* ServerBuilderGenerator.kt:428 */
 6467   8046   
        pub(crate) fn set_min_range_byte(
 6468   8047   
            mut self,
 6469   8048   
            input: impl ::std::convert::Into<
 6470   8049   
                crate::constrained::MaybeConstrained<crate::model::MinRangeByte>,
 6471   8050   
            >,
 6472   8051   
        ) -> Self {
        8052  +
            /* ServerBuilderGenerator.kt:429 */
 6473   8053   
            self.min_range_byte = Some(input.into());
 6474   8054   
            self
        8055  +
            /* ServerBuilderGenerator.kt:428 */
 6475   8056   
        }
        8057  +
        /* ServerBuilderGenerator.kt:331 */
 6476   8058   
        #[allow(missing_docs)] // documentation missing in model
        8059  +
                               /* ServerBuilderGenerator.kt:343 */
 6477   8060   
        pub fn max_range_byte(mut self, input: crate::model::MaxRangeByte) -> Self {
 6478         -
            self.max_range_byte = Some(crate::constrained::MaybeConstrained::Constrained(input));
        8061  +
            /* ServerBuilderGenerator.kt:344 */
        8062  +
            self.max_range_byte =
        8063  +
                /* ServerBuilderGenerator.kt:345 */Some(
        8064  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        8065  +
                /* ServerBuilderGenerator.kt:345 */)
        8066  +
            /* ServerBuilderGenerator.kt:344 */;
 6479   8067   
            self
        8068  +
            /* ServerBuilderGenerator.kt:343 */
 6480   8069   
        }
        8070  +
        /* ServerBuilderGenerator.kt:426 */
 6481   8071   
        #[allow(missing_docs)] // documentation missing in model
        8072  +
                               /* ServerBuilderGenerator.kt:428 */
 6482   8073   
        pub(crate) fn set_max_range_byte(
 6483   8074   
            mut self,
 6484   8075   
            input: impl ::std::convert::Into<
 6485   8076   
                crate::constrained::MaybeConstrained<crate::model::MaxRangeByte>,
 6486   8077   
            >,
 6487   8078   
        ) -> Self {
        8079  +
            /* ServerBuilderGenerator.kt:429 */
 6488   8080   
            self.max_range_byte = Some(input.into());
 6489   8081   
            self
        8082  +
            /* ServerBuilderGenerator.kt:428 */
 6490   8083   
        }
        8084  +
        /* ServerBuilderGenerator.kt:331 */
 6491   8085   
        #[allow(missing_docs)] // documentation missing in model
        8086  +
                               /* ServerBuilderGenerator.kt:343 */
 6492   8087   
        pub fn fixed_value_byte(mut self, input: crate::model::FixedValueByte) -> Self {
 6493         -
            self.fixed_value_byte = Some(crate::constrained::MaybeConstrained::Constrained(input));
        8088  +
            /* ServerBuilderGenerator.kt:344 */
        8089  +
            self.fixed_value_byte =
        8090  +
                /* ServerBuilderGenerator.kt:345 */Some(
        8091  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained(input)
        8092  +
                /* ServerBuilderGenerator.kt:345 */)
        8093  +
            /* ServerBuilderGenerator.kt:344 */;
 6494   8094   
            self
        8095  +
            /* ServerBuilderGenerator.kt:343 */
 6495   8096   
        }
        8097  +
        /* ServerBuilderGenerator.kt:426 */
 6496   8098   
        #[allow(missing_docs)] // documentation missing in model
        8099  +
                               /* ServerBuilderGenerator.kt:428 */
 6497   8100   
        pub(crate) fn set_fixed_value_byte(
 6498   8101   
            mut self,
 6499   8102   
            input: impl ::std::convert::Into<
 6500   8103   
                crate::constrained::MaybeConstrained<crate::model::FixedValueByte>,
 6501   8104   
            >,
 6502   8105   
        ) -> Self {
        8106  +
            /* ServerBuilderGenerator.kt:429 */
 6503   8107   
            self.fixed_value_byte = Some(input.into());
 6504   8108   
            self
        8109  +
            /* ServerBuilderGenerator.kt:428 */
 6505   8110   
        }
        8111  +
        /* ServerBuilderGenerator.kt:331 */
 6506   8112   
        #[allow(missing_docs)] // documentation missing in model
        8113  +
                               /* ServerBuilderGenerator.kt:343 */
 6507   8114   
        pub fn con_b_list(
 6508   8115   
            mut self,
 6509   8116   
            input: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>>,
 6510   8117   
        ) -> Self {
 6511         -
            self.con_b_list = input.map(
 6512         -
                #[allow(clippy::redundant_closure)]
 6513         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 6514         -
            );
        8118  +
            /* ServerBuilderGenerator.kt:344 */
        8119  +
            self.con_b_list =
        8120  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8121  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8122  +
                /* ServerBuilderGenerator.kt:369 */)
        8123  +
            /* ServerBuilderGenerator.kt:344 */;
 6515   8124   
            self
        8125  +
            /* ServerBuilderGenerator.kt:343 */
 6516   8126   
        }
        8127  +
        /* ServerBuilderGenerator.kt:426 */
 6517   8128   
        #[allow(missing_docs)] // documentation missing in model
        8129  +
                               /* ServerBuilderGenerator.kt:428 */
 6518   8130   
        pub(crate) fn set_con_b_list(
 6519   8131   
            mut self,
 6520   8132   
            input: Option<
 6521   8133   
                impl ::std::convert::Into<
 6522   8134   
                    crate::constrained::MaybeConstrained<
 6523   8135   
                        crate::constrained::con_b_list_constrained::ConBListConstrained,
 6524   8136   
                    >,
 6525   8137   
                >,
 6526   8138   
            >,
 6527   8139   
        ) -> Self {
        8140  +
            /* ServerBuilderGenerator.kt:429 */
 6528   8141   
            self.con_b_list = input.map(|v| v.into());
 6529   8142   
            self
        8143  +
            /* ServerBuilderGenerator.kt:428 */
 6530   8144   
        }
        8145  +
        /* ServerBuilderGenerator.kt:331 */
 6531   8146   
        #[allow(missing_docs)] // documentation missing in model
        8147  +
                               /* ServerBuilderGenerator.kt:343 */
 6532   8148   
        pub fn length_list(
 6533   8149   
            mut self,
 6534   8150   
            input: ::std::option::Option<crate::model::LengthList>,
 6535   8151   
        ) -> Self {
 6536         -
            self.length_list = input.map(
 6537         -
                #[allow(clippy::redundant_closure)]
 6538         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6539         -
            );
        8152  +
            /* ServerBuilderGenerator.kt:344 */
        8153  +
            self.length_list =
        8154  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8155  +
            /* ServerBuilderGenerator.kt:344 */;
 6540   8156   
            self
        8157  +
            /* ServerBuilderGenerator.kt:343 */
 6541   8158   
        }
        8159  +
        /* ServerBuilderGenerator.kt:426 */
 6542   8160   
        #[allow(missing_docs)] // documentation missing in model
        8161  +
                               /* ServerBuilderGenerator.kt:428 */
 6543   8162   
        pub(crate) fn set_length_list(
 6544   8163   
            mut self,
 6545   8164   
            input: Option<
 6546   8165   
                impl ::std::convert::Into<
 6547   8166   
                    crate::constrained::MaybeConstrained<crate::model::LengthList>,
 6548   8167   
                >,
 6549   8168   
            >,
 6550   8169   
        ) -> Self {
        8170  +
            /* ServerBuilderGenerator.kt:429 */
 6551   8171   
            self.length_list = input.map(|v| v.into());
 6552   8172   
            self
        8173  +
            /* ServerBuilderGenerator.kt:428 */
 6553   8174   
        }
        8175  +
        /* ServerBuilderGenerator.kt:331 */
 6554   8176   
        #[allow(missing_docs)] // documentation missing in model
        8177  +
                               /* ServerBuilderGenerator.kt:343 */
 6555   8178   
        pub fn sensitive_length_list(
 6556   8179   
            mut self,
 6557   8180   
            input: ::std::option::Option<crate::model::SensitiveLengthList>,
 6558   8181   
        ) -> Self {
 6559         -
            self.sensitive_length_list = input.map(
 6560         -
                #[allow(clippy::redundant_closure)]
 6561         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6562         -
            );
        8182  +
            /* ServerBuilderGenerator.kt:344 */
        8183  +
            self.sensitive_length_list =
        8184  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8185  +
            /* ServerBuilderGenerator.kt:344 */;
 6563   8186   
            self
        8187  +
            /* ServerBuilderGenerator.kt:343 */
 6564   8188   
        }
        8189  +
        /* ServerBuilderGenerator.kt:426 */
 6565   8190   
        #[allow(missing_docs)] // documentation missing in model
        8191  +
                               /* ServerBuilderGenerator.kt:428 */
 6566   8192   
        pub(crate) fn set_sensitive_length_list(
 6567   8193   
            mut self,
 6568   8194   
            input: Option<
 6569   8195   
                impl ::std::convert::Into<
 6570   8196   
                    crate::constrained::MaybeConstrained<crate::model::SensitiveLengthList>,
 6571   8197   
                >,
 6572   8198   
            >,
 6573   8199   
        ) -> Self {
        8200  +
            /* ServerBuilderGenerator.kt:429 */
 6574   8201   
            self.sensitive_length_list = input.map(|v| v.into());
 6575   8202   
            self
        8203  +
            /* ServerBuilderGenerator.kt:428 */
 6576   8204   
        }
        8205  +
        /* ServerBuilderGenerator.kt:331 */
 6577   8206   
        #[allow(missing_docs)] // documentation missing in model
        8207  +
                               /* ServerBuilderGenerator.kt:343 */
 6578   8208   
        pub fn con_b_set(mut self, input: ::std::option::Option<crate::model::ConBSet>) -> Self {
 6579         -
            self.con_b_set = input.map(
 6580         -
                #[allow(clippy::redundant_closure)]
 6581         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6582         -
            );
        8209  +
            /* ServerBuilderGenerator.kt:344 */
        8210  +
            self.con_b_set =
        8211  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8212  +
            /* ServerBuilderGenerator.kt:344 */;
 6583   8213   
            self
        8214  +
            /* ServerBuilderGenerator.kt:343 */
 6584   8215   
        }
        8216  +
        /* ServerBuilderGenerator.kt:426 */
 6585   8217   
        #[allow(missing_docs)] // documentation missing in model
        8218  +
                               /* ServerBuilderGenerator.kt:428 */
 6586   8219   
        pub(crate) fn set_con_b_set(
 6587   8220   
            mut self,
 6588   8221   
            input: Option<
 6589   8222   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConBSet>>,
 6590   8223   
            >,
 6591   8224   
        ) -> Self {
        8225  +
            /* ServerBuilderGenerator.kt:429 */
 6592   8226   
            self.con_b_set = input.map(|v| v.into());
 6593   8227   
            self
        8228  +
            /* ServerBuilderGenerator.kt:428 */
 6594   8229   
        }
        8230  +
        /* ServerBuilderGenerator.kt:331 */
 6595   8231   
        #[allow(missing_docs)] // documentation missing in model
        8232  +
                               /* ServerBuilderGenerator.kt:343 */
 6596   8233   
        pub fn con_b_map(mut self, input: ::std::option::Option<crate::model::ConBMap>) -> Self {
 6597         -
            self.con_b_map = input.map(
 6598         -
                #[allow(clippy::redundant_closure)]
 6599         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6600         -
            );
        8234  +
            /* ServerBuilderGenerator.kt:344 */
        8235  +
            self.con_b_map =
        8236  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8237  +
            /* ServerBuilderGenerator.kt:344 */;
 6601   8238   
            self
        8239  +
            /* ServerBuilderGenerator.kt:343 */
 6602   8240   
        }
        8241  +
        /* ServerBuilderGenerator.kt:426 */
 6603   8242   
        #[allow(missing_docs)] // documentation missing in model
        8243  +
                               /* ServerBuilderGenerator.kt:428 */
 6604   8244   
        pub(crate) fn set_con_b_map(
 6605   8245   
            mut self,
 6606   8246   
            input: Option<
 6607   8247   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
 6608   8248   
            >,
 6609   8249   
        ) -> Self {
        8250  +
            /* ServerBuilderGenerator.kt:429 */
 6610   8251   
            self.con_b_map = input.map(|v| v.into());
 6611   8252   
            self
        8253  +
            /* ServerBuilderGenerator.kt:428 */
 6612   8254   
        }
        8255  +
        /* ServerBuilderGenerator.kt:331 */
 6613   8256   
        #[allow(missing_docs)] // documentation missing in model
        8257  +
                               /* ServerBuilderGenerator.kt:343 */
 6614   8258   
        pub fn length_map(mut self, input: ::std::option::Option<crate::model::LengthMap>) -> Self {
 6615         -
            self.length_map = input.map(
 6616         -
                #[allow(clippy::redundant_closure)]
 6617         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6618         -
            );
        8259  +
            /* ServerBuilderGenerator.kt:344 */
        8260  +
            self.length_map =
        8261  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8262  +
            /* ServerBuilderGenerator.kt:344 */;
 6619   8263   
            self
        8264  +
            /* ServerBuilderGenerator.kt:343 */
 6620   8265   
        }
        8266  +
        /* ServerBuilderGenerator.kt:426 */
 6621   8267   
        #[allow(missing_docs)] // documentation missing in model
        8268  +
                               /* ServerBuilderGenerator.kt:428 */
 6622   8269   
        pub(crate) fn set_length_map(
 6623   8270   
            mut self,
 6624   8271   
            input: Option<
 6625   8272   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::LengthMap>>,
 6626   8273   
            >,
 6627   8274   
        ) -> Self {
        8275  +
            /* ServerBuilderGenerator.kt:429 */
 6628   8276   
            self.length_map = input.map(|v| v.into());
 6629   8277   
            self
        8278  +
            /* ServerBuilderGenerator.kt:428 */
 6630   8279   
        }
        8280  +
        /* ServerBuilderGenerator.kt:331 */
 6631   8281   
        #[allow(missing_docs)] // documentation missing in model
        8282  +
                               /* ServerBuilderGenerator.kt:343 */
 6632   8283   
        pub fn map_of_map_of_list_of_list_of_con_b(
 6633   8284   
            mut self,
 6634   8285   
            input: ::std::option::Option<
 6635   8286   
                ::std::collections::HashMap<
 6636   8287   
                    ::std::string::String,
 6637   8288   
                    ::std::collections::HashMap<
 6638   8289   
                        ::std::string::String,
 6639   8290   
                        ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
 6640   8291   
                    >,
 6641   8292   
                >,
 6642   8293   
            >,
 6643   8294   
        ) -> Self {
 6644         -
            self.map_of_map_of_list_of_list_of_con_b = input.map(
 6645         -
                #[allow(clippy::redundant_closure)]
 6646         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 6647         -
            );
        8295  +
            /* ServerBuilderGenerator.kt:344 */
        8296  +
            self.map_of_map_of_list_of_list_of_con_b =
        8297  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8298  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8299  +
                /* ServerBuilderGenerator.kt:369 */)
        8300  +
            /* ServerBuilderGenerator.kt:344 */;
 6648   8301   
            self
        8302  +
            /* ServerBuilderGenerator.kt:343 */
 6649   8303   
        }
        8304  +
        /* ServerBuilderGenerator.kt:426 */
 6650   8305   
        #[allow(missing_docs)] // documentation missing in model
        8306  +
                               /* ServerBuilderGenerator.kt:428 */
 6651   8307   
        pub(crate) fn set_map_of_map_of_list_of_list_of_con_b(
 6652   8308   
            mut self,
 6653   8309   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_map_of_list_of_list_of_con_b_constrained::MapOfMapOfListOfListOfConBConstrained>>>,
 6654   8310   
        ) -> Self {
        8311  +
            /* ServerBuilderGenerator.kt:429 */
 6655   8312   
            self.map_of_map_of_list_of_list_of_con_b = input.map(|v| v.into());
 6656   8313   
            self
        8314  +
            /* ServerBuilderGenerator.kt:428 */
 6657   8315   
        }
        8316  +
        /* ServerBuilderGenerator.kt:331 */
 6658   8317   
        #[allow(missing_docs)] // documentation missing in model
        8318  +
                               /* ServerBuilderGenerator.kt:343 */
 6659   8319   
        pub fn sparse_map(
 6660   8320   
            mut self,
 6661   8321   
            input: ::std::option::Option<
 6662   8322   
                ::std::collections::HashMap<
 6663   8323   
                    ::std::string::String,
 6664   8324   
                    ::std::option::Option<crate::model::UniqueItemsList>,
 6665   8325   
                >,
 6666   8326   
            >,
 6667   8327   
        ) -> Self {
 6668         -
            self.sparse_map = input.map(
 6669         -
                #[allow(clippy::redundant_closure)]
 6670         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 6671         -
            );
        8328  +
            /* ServerBuilderGenerator.kt:344 */
        8329  +
            self.sparse_map =
        8330  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8331  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8332  +
                /* ServerBuilderGenerator.kt:369 */)
        8333  +
            /* ServerBuilderGenerator.kt:344 */;
 6672   8334   
            self
        8335  +
            /* ServerBuilderGenerator.kt:343 */
 6673   8336   
        }
        8337  +
        /* ServerBuilderGenerator.kt:426 */
 6674   8338   
        #[allow(missing_docs)] // documentation missing in model
        8339  +
                               /* ServerBuilderGenerator.kt:428 */
 6675   8340   
        pub(crate) fn set_sparse_map(
 6676   8341   
            mut self,
 6677   8342   
            input: Option<
 6678   8343   
                impl ::std::convert::Into<
 6679   8344   
                    crate::constrained::MaybeConstrained<
 6680   8345   
                        crate::constrained::sparse_map_constrained::SparseMapConstrained,
 6681   8346   
                    >,
 6682   8347   
                >,
 6683   8348   
            >,
 6684   8349   
        ) -> Self {
        8350  +
            /* ServerBuilderGenerator.kt:429 */
 6685   8351   
            self.sparse_map = input.map(|v| v.into());
 6686   8352   
            self
        8353  +
            /* ServerBuilderGenerator.kt:428 */
 6687   8354   
        }
        8355  +
        /* ServerBuilderGenerator.kt:331 */
 6688   8356   
        #[allow(missing_docs)] // documentation missing in model
        8357  +
                               /* ServerBuilderGenerator.kt:343 */
 6689   8358   
        pub fn sparse_list(
 6690   8359   
            mut self,
 6691   8360   
            input: ::std::option::Option<
 6692   8361   
                ::std::vec::Vec<::std::option::Option<crate::model::LengthString>>,
 6693   8362   
            >,
 6694   8363   
        ) -> Self {
 6695         -
            self.sparse_list = input.map(
 6696         -
                #[allow(clippy::redundant_closure)]
 6697         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 6698         -
            );
        8364  +
            /* ServerBuilderGenerator.kt:344 */
        8365  +
            self.sparse_list =
        8366  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8367  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8368  +
                /* ServerBuilderGenerator.kt:369 */)
        8369  +
            /* ServerBuilderGenerator.kt:344 */;
 6699   8370   
            self
        8371  +
            /* ServerBuilderGenerator.kt:343 */
 6700   8372   
        }
        8373  +
        /* ServerBuilderGenerator.kt:426 */
 6701   8374   
        #[allow(missing_docs)] // documentation missing in model
        8375  +
                               /* ServerBuilderGenerator.kt:428 */
 6702   8376   
        pub(crate) fn set_sparse_list(
 6703   8377   
            mut self,
 6704   8378   
            input: Option<
 6705   8379   
                impl ::std::convert::Into<
 6706   8380   
                    crate::constrained::MaybeConstrained<
 6707   8381   
                        crate::constrained::sparse_list_constrained::SparseListConstrained,
 6708   8382   
                    >,
 6709   8383   
                >,
 6710   8384   
            >,
 6711   8385   
        ) -> Self {
        8386  +
            /* ServerBuilderGenerator.kt:429 */
 6712   8387   
            self.sparse_list = input.map(|v| v.into());
 6713   8388   
            self
        8389  +
            /* ServerBuilderGenerator.kt:428 */
 6714   8390   
        }
        8391  +
        /* ServerBuilderGenerator.kt:331 */
 6715   8392   
        #[allow(missing_docs)] // documentation missing in model
        8393  +
                               /* ServerBuilderGenerator.kt:343 */
 6716   8394   
        pub fn sparse_length_map(
 6717   8395   
            mut self,
 6718   8396   
            input: ::std::option::Option<crate::model::SparseLengthMap>,
 6719   8397   
        ) -> Self {
 6720         -
            self.sparse_length_map = input.map(
 6721         -
                #[allow(clippy::redundant_closure)]
 6722         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6723         -
            );
        8398  +
            /* ServerBuilderGenerator.kt:344 */
        8399  +
            self.sparse_length_map =
        8400  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8401  +
            /* ServerBuilderGenerator.kt:344 */;
 6724   8402   
            self
        8403  +
            /* ServerBuilderGenerator.kt:343 */
 6725   8404   
        }
        8405  +
        /* ServerBuilderGenerator.kt:426 */
 6726   8406   
        #[allow(missing_docs)] // documentation missing in model
        8407  +
                               /* ServerBuilderGenerator.kt:428 */
 6727   8408   
        pub(crate) fn set_sparse_length_map(
 6728   8409   
            mut self,
 6729   8410   
            input: Option<
 6730   8411   
                impl ::std::convert::Into<
 6731   8412   
                    crate::constrained::MaybeConstrained<crate::model::SparseLengthMap>,
 6732   8413   
                >,
 6733   8414   
            >,
 6734   8415   
        ) -> Self {
        8416  +
            /* ServerBuilderGenerator.kt:429 */
 6735   8417   
            self.sparse_length_map = input.map(|v| v.into());
 6736   8418   
            self
        8419  +
            /* ServerBuilderGenerator.kt:428 */
 6737   8420   
        }
        8421  +
        /* ServerBuilderGenerator.kt:331 */
 6738   8422   
        #[allow(missing_docs)] // documentation missing in model
        8423  +
                               /* ServerBuilderGenerator.kt:343 */
 6739   8424   
        pub fn sparse_length_list(
 6740   8425   
            mut self,
 6741   8426   
            input: ::std::option::Option<crate::model::SparseLengthList>,
 6742   8427   
        ) -> Self {
 6743         -
            self.sparse_length_list = input.map(
 6744         -
                #[allow(clippy::redundant_closure)]
 6745         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6746         -
            );
        8428  +
            /* ServerBuilderGenerator.kt:344 */
        8429  +
            self.sparse_length_list =
        8430  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8431  +
            /* ServerBuilderGenerator.kt:344 */;
 6747   8432   
            self
        8433  +
            /* ServerBuilderGenerator.kt:343 */
 6748   8434   
        }
        8435  +
        /* ServerBuilderGenerator.kt:426 */
 6749   8436   
        #[allow(missing_docs)] // documentation missing in model
        8437  +
                               /* ServerBuilderGenerator.kt:428 */
 6750   8438   
        pub(crate) fn set_sparse_length_list(
 6751   8439   
            mut self,
 6752   8440   
            input: Option<
 6753   8441   
                impl ::std::convert::Into<
 6754   8442   
                    crate::constrained::MaybeConstrained<crate::model::SparseLengthList>,
 6755   8443   
                >,
 6756   8444   
            >,
 6757   8445   
        ) -> Self {
        8446  +
            /* ServerBuilderGenerator.kt:429 */
 6758   8447   
            self.sparse_length_list = input.map(|v| v.into());
 6759   8448   
            self
        8449  +
            /* ServerBuilderGenerator.kt:428 */
 6760   8450   
        }
 6761         -
        /// A union with constrained members.
        8451  +
        /// /* ServerBuilderGenerator.kt:331 */A union with constrained members.
        8452  +
        /* ServerBuilderGenerator.kt:343 */
 6762   8453   
        pub fn constrained_union(
 6763   8454   
            mut self,
 6764   8455   
            input: ::std::option::Option<crate::model::ConstrainedUnion>,
 6765   8456   
        ) -> Self {
 6766         -
            self.constrained_union = input.map(
 6767         -
                #[allow(clippy::redundant_closure)]
 6768         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6769         -
            );
        8457  +
            /* ServerBuilderGenerator.kt:344 */
        8458  +
            self.constrained_union =
        8459  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8460  +
            /* ServerBuilderGenerator.kt:344 */;
 6770   8461   
            self
        8462  +
            /* ServerBuilderGenerator.kt:343 */
 6771   8463   
        }
 6772         -
        /// A union with constrained members.
        8464  +
        /// /* ServerBuilderGenerator.kt:426 */A union with constrained members.
        8465  +
        /* ServerBuilderGenerator.kt:428 */
 6773   8466   
        pub(crate) fn set_constrained_union(
 6774   8467   
            mut self,
 6775   8468   
            input: Option<
 6776   8469   
                impl ::std::convert::Into<
 6777   8470   
                    crate::constrained::MaybeConstrained<crate::model::ConstrainedUnion>,
 6778   8471   
                >,
 6779   8472   
            >,
 6780   8473   
        ) -> Self {
        8474  +
            /* ServerBuilderGenerator.kt:429 */
 6781   8475   
            self.constrained_union = input.map(|v| v.into());
 6782   8476   
            self
        8477  +
            /* ServerBuilderGenerator.kt:428 */
 6783   8478   
        }
        8479  +
        /* ServerBuilderGenerator.kt:331 */
 6784   8480   
        #[allow(missing_docs)] // documentation missing in model
        8481  +
                               /* ServerBuilderGenerator.kt:343 */
 6785   8482   
        pub fn enum_string(
 6786   8483   
            mut self,
 6787   8484   
            input: ::std::option::Option<crate::model::EnumString>,
 6788   8485   
        ) -> Self {
 6789         -
            self.enum_string = input.map(
 6790         -
                #[allow(clippy::redundant_closure)]
 6791         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6792         -
            );
        8486  +
            /* ServerBuilderGenerator.kt:344 */
        8487  +
            self.enum_string =
        8488  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8489  +
            /* ServerBuilderGenerator.kt:344 */;
 6793   8490   
            self
        8491  +
            /* ServerBuilderGenerator.kt:343 */
 6794   8492   
        }
        8493  +
        /* ServerBuilderGenerator.kt:426 */
 6795   8494   
        #[allow(missing_docs)] // documentation missing in model
        8495  +
                               /* ServerBuilderGenerator.kt:428 */
 6796   8496   
        pub(crate) fn set_enum_string(
 6797   8497   
            mut self,
 6798   8498   
            input: Option<
 6799   8499   
                impl ::std::convert::Into<
 6800   8500   
                    crate::constrained::MaybeConstrained<crate::model::EnumString>,
 6801   8501   
                >,
 6802   8502   
            >,
 6803   8503   
        ) -> Self {
        8504  +
            /* ServerBuilderGenerator.kt:429 */
 6804   8505   
            self.enum_string = input.map(|v| v.into());
 6805   8506   
            self
        8507  +
            /* ServerBuilderGenerator.kt:428 */
 6806   8508   
        }
        8509  +
        /* ServerBuilderGenerator.kt:331 */
 6807   8510   
        #[allow(missing_docs)] // documentation missing in model
        8511  +
                               /* ServerBuilderGenerator.kt:343 */
 6808   8512   
        pub fn list_of_length_string(
 6809   8513   
            mut self,
 6810   8514   
            input: ::std::option::Option<::std::vec::Vec<crate::model::LengthString>>,
 6811   8515   
        ) -> Self {
 6812         -
            self.list_of_length_string = input.map(
 6813         -
                #[allow(clippy::redundant_closure)]
 6814         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 6815         -
            );
        8516  +
            /* ServerBuilderGenerator.kt:344 */
        8517  +
            self.list_of_length_string =
        8518  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8519  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8520  +
                /* ServerBuilderGenerator.kt:369 */)
        8521  +
            /* ServerBuilderGenerator.kt:344 */;
 6816   8522   
            self
        8523  +
            /* ServerBuilderGenerator.kt:343 */
 6817   8524   
        }
        8525  +
        /* ServerBuilderGenerator.kt:426 */
 6818   8526   
        #[allow(missing_docs)] // documentation missing in model
        8527  +
                               /* ServerBuilderGenerator.kt:428 */
 6819   8528   
        pub(crate) fn set_list_of_length_string(
 6820   8529   
            mut self,
 6821   8530   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>>,
 6822   8531   
        ) -> Self {
        8532  +
            /* ServerBuilderGenerator.kt:429 */
 6823   8533   
            self.list_of_length_string = input.map(|v| v.into());
 6824   8534   
            self
        8535  +
            /* ServerBuilderGenerator.kt:428 */
 6825   8536   
        }
        8537  +
        /* ServerBuilderGenerator.kt:331 */
 6826   8538   
        #[allow(missing_docs)] // documentation missing in model
        8539  +
                               /* ServerBuilderGenerator.kt:343 */
 6827   8540   
        pub fn set_of_length_string(
 6828   8541   
            mut self,
 6829   8542   
            input: ::std::option::Option<crate::model::SetOfLengthString>,
 6830   8543   
        ) -> Self {
 6831         -
            self.set_of_length_string = input.map(
 6832         -
                #[allow(clippy::redundant_closure)]
 6833         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6834         -
            );
        8544  +
            /* ServerBuilderGenerator.kt:344 */
        8545  +
            self.set_of_length_string =
        8546  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8547  +
            /* ServerBuilderGenerator.kt:344 */;
 6835   8548   
            self
        8549  +
            /* ServerBuilderGenerator.kt:343 */
 6836   8550   
        }
        8551  +
        /* ServerBuilderGenerator.kt:426 */
 6837   8552   
        #[allow(missing_docs)] // documentation missing in model
        8553  +
                               /* ServerBuilderGenerator.kt:428 */
 6838   8554   
        pub(crate) fn set_set_of_length_string(
 6839   8555   
            mut self,
 6840   8556   
            input: Option<
 6841   8557   
                impl ::std::convert::Into<
 6842   8558   
                    crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>,
 6843   8559   
                >,
 6844   8560   
            >,
 6845   8561   
        ) -> Self {
        8562  +
            /* ServerBuilderGenerator.kt:429 */
 6846   8563   
            self.set_of_length_string = input.map(|v| v.into());
 6847   8564   
            self
        8565  +
            /* ServerBuilderGenerator.kt:428 */
 6848   8566   
        }
        8567  +
        /* ServerBuilderGenerator.kt:331 */
 6849   8568   
        #[allow(missing_docs)] // documentation missing in model
        8569  +
                               /* ServerBuilderGenerator.kt:343 */
 6850   8570   
        pub fn map_of_length_string(
 6851   8571   
            mut self,
 6852   8572   
            input: ::std::option::Option<
 6853   8573   
                ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
 6854   8574   
            >,
 6855   8575   
        ) -> Self {
 6856         -
            self.map_of_length_string = input.map(
 6857         -
                #[allow(clippy::redundant_closure)]
 6858         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 6859         -
            );
        8576  +
            /* ServerBuilderGenerator.kt:344 */
        8577  +
            self.map_of_length_string =
        8578  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8579  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8580  +
                /* ServerBuilderGenerator.kt:369 */)
        8581  +
            /* ServerBuilderGenerator.kt:344 */;
 6860   8582   
            self
        8583  +
            /* ServerBuilderGenerator.kt:343 */
 6861   8584   
        }
        8585  +
        /* ServerBuilderGenerator.kt:426 */
 6862   8586   
        #[allow(missing_docs)] // documentation missing in model
        8587  +
                               /* ServerBuilderGenerator.kt:428 */
 6863   8588   
        pub(crate) fn set_map_of_length_string(
 6864   8589   
            mut self,
 6865   8590   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_string_constrained::MapOfLengthStringConstrained>>>,
 6866   8591   
        ) -> Self {
        8592  +
            /* ServerBuilderGenerator.kt:429 */
 6867   8593   
            self.map_of_length_string = input.map(|v| v.into());
 6868   8594   
            self
        8595  +
            /* ServerBuilderGenerator.kt:428 */
 6869   8596   
        }
        8597  +
        /* ServerBuilderGenerator.kt:331 */
 6870   8598   
        #[allow(missing_docs)] // documentation missing in model
        8599  +
                               /* ServerBuilderGenerator.kt:343 */
 6871   8600   
        pub fn list_of_length_blob(
 6872   8601   
            mut self,
 6873   8602   
            input: ::std::option::Option<::std::vec::Vec<crate::model::LengthBlob>>,
 6874   8603   
        ) -> Self {
 6875         -
            self.list_of_length_blob = input.map(
 6876         -
                #[allow(clippy::redundant_closure)]
 6877         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 6878         -
            );
        8604  +
            /* ServerBuilderGenerator.kt:344 */
        8605  +
            self.list_of_length_blob =
        8606  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8607  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8608  +
                /* ServerBuilderGenerator.kt:369 */)
        8609  +
            /* ServerBuilderGenerator.kt:344 */;
 6879   8610   
            self
        8611  +
            /* ServerBuilderGenerator.kt:343 */
 6880   8612   
        }
        8613  +
        /* ServerBuilderGenerator.kt:426 */
 6881   8614   
        #[allow(missing_docs)] // documentation missing in model
        8615  +
                               /* ServerBuilderGenerator.kt:428 */
 6882   8616   
        pub(crate) fn set_list_of_length_blob(
 6883   8617   
            mut self,
 6884   8618   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_blob_constrained::ListOfLengthBlobConstrained>>>,
 6885   8619   
        ) -> Self {
        8620  +
            /* ServerBuilderGenerator.kt:429 */
 6886   8621   
            self.list_of_length_blob = input.map(|v| v.into());
 6887   8622   
            self
        8623  +
            /* ServerBuilderGenerator.kt:428 */
 6888   8624   
        }
        8625  +
        /* ServerBuilderGenerator.kt:331 */
 6889   8626   
        #[allow(missing_docs)] // documentation missing in model
        8627  +
                               /* ServerBuilderGenerator.kt:343 */
 6890   8628   
        pub fn map_of_length_blob(
 6891   8629   
            mut self,
 6892   8630   
            input: ::std::option::Option<
 6893   8631   
                ::std::collections::HashMap<::std::string::String, crate::model::LengthBlob>,
 6894   8632   
            >,
 6895   8633   
        ) -> Self {
 6896         -
            self.map_of_length_blob = input.map(
 6897         -
                #[allow(clippy::redundant_closure)]
 6898         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 6899         -
            );
        8634  +
            /* ServerBuilderGenerator.kt:344 */
        8635  +
            self.map_of_length_blob =
        8636  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8637  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8638  +
                /* ServerBuilderGenerator.kt:369 */)
        8639  +
            /* ServerBuilderGenerator.kt:344 */;
 6900   8640   
            self
        8641  +
            /* ServerBuilderGenerator.kt:343 */
 6901   8642   
        }
        8643  +
        /* ServerBuilderGenerator.kt:426 */
 6902   8644   
        #[allow(missing_docs)] // documentation missing in model
        8645  +
                               /* ServerBuilderGenerator.kt:428 */
 6903   8646   
        pub(crate) fn set_map_of_length_blob(
 6904   8647   
            mut self,
 6905   8648   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_blob_constrained::MapOfLengthBlobConstrained>>>,
 6906   8649   
        ) -> Self {
        8650  +
            /* ServerBuilderGenerator.kt:429 */
 6907   8651   
            self.map_of_length_blob = input.map(|v| v.into());
 6908   8652   
            self
        8653  +
            /* ServerBuilderGenerator.kt:428 */
 6909   8654   
        }
        8655  +
        /* ServerBuilderGenerator.kt:331 */
 6910   8656   
        #[allow(missing_docs)] // documentation missing in model
        8657  +
                               /* ServerBuilderGenerator.kt:343 */
 6911   8658   
        pub fn list_of_range_integer(
 6912   8659   
            mut self,
 6913   8660   
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeInteger>>,
 6914   8661   
        ) -> Self {
 6915         -
            self.list_of_range_integer = input.map(
 6916         -
                #[allow(clippy::redundant_closure)]
 6917         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 6918         -
            );
        8662  +
            /* ServerBuilderGenerator.kt:344 */
        8663  +
            self.list_of_range_integer =
        8664  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8665  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8666  +
                /* ServerBuilderGenerator.kt:369 */)
        8667  +
            /* ServerBuilderGenerator.kt:344 */;
 6919   8668   
            self
        8669  +
            /* ServerBuilderGenerator.kt:343 */
 6920   8670   
        }
        8671  +
        /* ServerBuilderGenerator.kt:426 */
 6921   8672   
        #[allow(missing_docs)] // documentation missing in model
        8673  +
                               /* ServerBuilderGenerator.kt:428 */
 6922   8674   
        pub(crate) fn set_list_of_range_integer(
 6923   8675   
            mut self,
 6924   8676   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>>,
 6925   8677   
        ) -> Self {
        8678  +
            /* ServerBuilderGenerator.kt:429 */
 6926   8679   
            self.list_of_range_integer = input.map(|v| v.into());
 6927   8680   
            self
        8681  +
            /* ServerBuilderGenerator.kt:428 */
 6928   8682   
        }
        8683  +
        /* ServerBuilderGenerator.kt:331 */
 6929   8684   
        #[allow(missing_docs)] // documentation missing in model
        8685  +
                               /* ServerBuilderGenerator.kt:343 */
 6930   8686   
        pub fn set_of_range_integer(
 6931   8687   
            mut self,
 6932   8688   
            input: ::std::option::Option<crate::model::SetOfRangeInteger>,
 6933   8689   
        ) -> Self {
 6934         -
            self.set_of_range_integer = input.map(
 6935         -
                #[allow(clippy::redundant_closure)]
 6936         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6937         -
            );
        8690  +
            /* ServerBuilderGenerator.kt:344 */
        8691  +
            self.set_of_range_integer =
        8692  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8693  +
            /* ServerBuilderGenerator.kt:344 */;
 6938   8694   
            self
        8695  +
            /* ServerBuilderGenerator.kt:343 */
 6939   8696   
        }
        8697  +
        /* ServerBuilderGenerator.kt:426 */
 6940   8698   
        #[allow(missing_docs)] // documentation missing in model
        8699  +
                               /* ServerBuilderGenerator.kt:428 */
 6941   8700   
        pub(crate) fn set_set_of_range_integer(
 6942   8701   
            mut self,
 6943   8702   
            input: Option<
 6944   8703   
                impl ::std::convert::Into<
 6945   8704   
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>,
 6946   8705   
                >,
 6947   8706   
            >,
 6948   8707   
        ) -> Self {
        8708  +
            /* ServerBuilderGenerator.kt:429 */
 6949   8709   
            self.set_of_range_integer = input.map(|v| v.into());
 6950   8710   
            self
        8711  +
            /* ServerBuilderGenerator.kt:428 */
 6951   8712   
        }
        8713  +
        /* ServerBuilderGenerator.kt:331 */
 6952   8714   
        #[allow(missing_docs)] // documentation missing in model
        8715  +
                               /* ServerBuilderGenerator.kt:343 */
 6953   8716   
        pub fn map_of_range_integer(
 6954   8717   
            mut self,
 6955   8718   
            input: ::std::option::Option<
 6956   8719   
                ::std::collections::HashMap<::std::string::String, crate::model::RangeInteger>,
 6957   8720   
            >,
 6958   8721   
        ) -> Self {
 6959         -
            self.map_of_range_integer = input.map(
 6960         -
                #[allow(clippy::redundant_closure)]
 6961         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 6962         -
            );
        8722  +
            /* ServerBuilderGenerator.kt:344 */
        8723  +
            self.map_of_range_integer =
        8724  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8725  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8726  +
                /* ServerBuilderGenerator.kt:369 */)
        8727  +
            /* ServerBuilderGenerator.kt:344 */;
 6963   8728   
            self
        8729  +
            /* ServerBuilderGenerator.kt:343 */
 6964   8730   
        }
        8731  +
        /* ServerBuilderGenerator.kt:426 */
 6965   8732   
        #[allow(missing_docs)] // documentation missing in model
        8733  +
                               /* ServerBuilderGenerator.kt:428 */
 6966   8734   
        pub(crate) fn set_map_of_range_integer(
 6967   8735   
            mut self,
 6968   8736   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_integer_constrained::MapOfRangeIntegerConstrained>>>,
 6969   8737   
        ) -> Self {
        8738  +
            /* ServerBuilderGenerator.kt:429 */
 6970   8739   
            self.map_of_range_integer = input.map(|v| v.into());
 6971   8740   
            self
        8741  +
            /* ServerBuilderGenerator.kt:428 */
 6972   8742   
        }
        8743  +
        /* ServerBuilderGenerator.kt:331 */
 6973   8744   
        #[allow(missing_docs)] // documentation missing in model
        8745  +
                               /* ServerBuilderGenerator.kt:343 */
 6974   8746   
        pub fn list_of_range_short(
 6975   8747   
            mut self,
 6976   8748   
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeShort>>,
 6977   8749   
        ) -> Self {
 6978         -
            self.list_of_range_short = input.map(
 6979         -
                #[allow(clippy::redundant_closure)]
 6980         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 6981         -
            );
        8750  +
            /* ServerBuilderGenerator.kt:344 */
        8751  +
            self.list_of_range_short =
        8752  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8753  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8754  +
                /* ServerBuilderGenerator.kt:369 */)
        8755  +
            /* ServerBuilderGenerator.kt:344 */;
 6982   8756   
            self
        8757  +
            /* ServerBuilderGenerator.kt:343 */
 6983   8758   
        }
        8759  +
        /* ServerBuilderGenerator.kt:426 */
 6984   8760   
        #[allow(missing_docs)] // documentation missing in model
        8761  +
                               /* ServerBuilderGenerator.kt:428 */
 6985   8762   
        pub(crate) fn set_list_of_range_short(
 6986   8763   
            mut self,
 6987   8764   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>>,
 6988   8765   
        ) -> Self {
        8766  +
            /* ServerBuilderGenerator.kt:429 */
 6989   8767   
            self.list_of_range_short = input.map(|v| v.into());
 6990   8768   
            self
        8769  +
            /* ServerBuilderGenerator.kt:428 */
 6991   8770   
        }
        8771  +
        /* ServerBuilderGenerator.kt:331 */
 6992   8772   
        #[allow(missing_docs)] // documentation missing in model
        8773  +
                               /* ServerBuilderGenerator.kt:343 */
 6993   8774   
        pub fn set_of_range_short(
 6994   8775   
            mut self,
 6995   8776   
            input: ::std::option::Option<crate::model::SetOfRangeShort>,
 6996   8777   
        ) -> Self {
 6997         -
            self.set_of_range_short = input.map(
 6998         -
                #[allow(clippy::redundant_closure)]
 6999         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 7000         -
            );
        8778  +
            /* ServerBuilderGenerator.kt:344 */
        8779  +
            self.set_of_range_short =
        8780  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8781  +
            /* ServerBuilderGenerator.kt:344 */;
 7001   8782   
            self
        8783  +
            /* ServerBuilderGenerator.kt:343 */
 7002   8784   
        }
        8785  +
        /* ServerBuilderGenerator.kt:426 */
 7003   8786   
        #[allow(missing_docs)] // documentation missing in model
        8787  +
                               /* ServerBuilderGenerator.kt:428 */
 7004   8788   
        pub(crate) fn set_set_of_range_short(
 7005   8789   
            mut self,
 7006   8790   
            input: Option<
 7007   8791   
                impl ::std::convert::Into<
 7008   8792   
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>,
 7009   8793   
                >,
 7010   8794   
            >,
 7011   8795   
        ) -> Self {
        8796  +
            /* ServerBuilderGenerator.kt:429 */
 7012   8797   
            self.set_of_range_short = input.map(|v| v.into());
 7013   8798   
            self
        8799  +
            /* ServerBuilderGenerator.kt:428 */
 7014   8800   
        }
        8801  +
        /* ServerBuilderGenerator.kt:331 */
 7015   8802   
        #[allow(missing_docs)] // documentation missing in model
        8803  +
                               /* ServerBuilderGenerator.kt:343 */
 7016   8804   
        pub fn map_of_range_short(
 7017   8805   
            mut self,
 7018   8806   
            input: ::std::option::Option<
 7019   8807   
                ::std::collections::HashMap<::std::string::String, crate::model::RangeShort>,
 7020   8808   
            >,
 7021   8809   
        ) -> Self {
 7022         -
            self.map_of_range_short = input.map(
 7023         -
                #[allow(clippy::redundant_closure)]
 7024         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 7025         -
            );
        8810  +
            /* ServerBuilderGenerator.kt:344 */
        8811  +
            self.map_of_range_short =
        8812  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8813  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8814  +
                /* ServerBuilderGenerator.kt:369 */)
        8815  +
            /* ServerBuilderGenerator.kt:344 */;
 7026   8816   
            self
        8817  +
            /* ServerBuilderGenerator.kt:343 */
 7027   8818   
        }
        8819  +
        /* ServerBuilderGenerator.kt:426 */
 7028   8820   
        #[allow(missing_docs)] // documentation missing in model
        8821  +
                               /* ServerBuilderGenerator.kt:428 */
 7029   8822   
        pub(crate) fn set_map_of_range_short(
 7030   8823   
            mut self,
 7031   8824   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_short_constrained::MapOfRangeShortConstrained>>>,
 7032   8825   
        ) -> Self {
        8826  +
            /* ServerBuilderGenerator.kt:429 */
 7033   8827   
            self.map_of_range_short = input.map(|v| v.into());
 7034   8828   
            self
        8829  +
            /* ServerBuilderGenerator.kt:428 */
 7035   8830   
        }
        8831  +
        /* ServerBuilderGenerator.kt:331 */
 7036   8832   
        #[allow(missing_docs)] // documentation missing in model
        8833  +
                               /* ServerBuilderGenerator.kt:343 */
 7037   8834   
        pub fn list_of_range_long(
 7038   8835   
            mut self,
 7039   8836   
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeLong>>,
 7040   8837   
        ) -> Self {
 7041         -
            self.list_of_range_long = input.map(
 7042         -
                #[allow(clippy::redundant_closure)]
 7043         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 7044         -
            );
        8838  +
            /* ServerBuilderGenerator.kt:344 */
        8839  +
            self.list_of_range_long =
        8840  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8841  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8842  +
                /* ServerBuilderGenerator.kt:369 */)
        8843  +
            /* ServerBuilderGenerator.kt:344 */;
 7045   8844   
            self
        8845  +
            /* ServerBuilderGenerator.kt:343 */
 7046   8846   
        }
        8847  +
        /* ServerBuilderGenerator.kt:426 */
 7047   8848   
        #[allow(missing_docs)] // documentation missing in model
        8849  +
                               /* ServerBuilderGenerator.kt:428 */
 7048   8850   
        pub(crate) fn set_list_of_range_long(
 7049   8851   
            mut self,
 7050   8852   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>>,
 7051   8853   
        ) -> Self {
        8854  +
            /* ServerBuilderGenerator.kt:429 */
 7052   8855   
            self.list_of_range_long = input.map(|v| v.into());
 7053   8856   
            self
        8857  +
            /* ServerBuilderGenerator.kt:428 */
 7054   8858   
        }
        8859  +
        /* ServerBuilderGenerator.kt:331 */
 7055   8860   
        #[allow(missing_docs)] // documentation missing in model
        8861  +
                               /* ServerBuilderGenerator.kt:343 */
 7056   8862   
        pub fn set_of_range_long(
 7057   8863   
            mut self,
 7058   8864   
            input: ::std::option::Option<crate::model::SetOfRangeLong>,
 7059   8865   
        ) -> Self {
 7060         -
            self.set_of_range_long = input.map(
 7061         -
                #[allow(clippy::redundant_closure)]
 7062         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 7063         -
            );
        8866  +
            /* ServerBuilderGenerator.kt:344 */
        8867  +
            self.set_of_range_long =
        8868  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8869  +
            /* ServerBuilderGenerator.kt:344 */;
 7064   8870   
            self
        8871  +
            /* ServerBuilderGenerator.kt:343 */
 7065   8872   
        }
        8873  +
        /* ServerBuilderGenerator.kt:426 */
 7066   8874   
        #[allow(missing_docs)] // documentation missing in model
        8875  +
                               /* ServerBuilderGenerator.kt:428 */
 7067   8876   
        pub(crate) fn set_set_of_range_long(
 7068   8877   
            mut self,
 7069   8878   
            input: Option<
 7070   8879   
                impl ::std::convert::Into<
 7071   8880   
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>,
 7072   8881   
                >,
 7073   8882   
            >,
 7074   8883   
        ) -> Self {
        8884  +
            /* ServerBuilderGenerator.kt:429 */
 7075   8885   
            self.set_of_range_long = input.map(|v| v.into());
 7076   8886   
            self
        8887  +
            /* ServerBuilderGenerator.kt:428 */
 7077   8888   
        }
        8889  +
        /* ServerBuilderGenerator.kt:331 */
 7078   8890   
        #[allow(missing_docs)] // documentation missing in model
        8891  +
                               /* ServerBuilderGenerator.kt:343 */
 7079   8892   
        pub fn map_of_range_long(
 7080   8893   
            mut self,
 7081   8894   
            input: ::std::option::Option<
 7082   8895   
                ::std::collections::HashMap<::std::string::String, crate::model::RangeLong>,
 7083   8896   
            >,
 7084   8897   
        ) -> Self {
 7085         -
            self.map_of_range_long = input.map(
 7086         -
                #[allow(clippy::redundant_closure)]
 7087         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 7088         -
            );
        8898  +
            /* ServerBuilderGenerator.kt:344 */
        8899  +
            self.map_of_range_long =
        8900  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8901  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8902  +
                /* ServerBuilderGenerator.kt:369 */)
        8903  +
            /* ServerBuilderGenerator.kt:344 */;
 7089   8904   
            self
        8905  +
            /* ServerBuilderGenerator.kt:343 */
 7090   8906   
        }
        8907  +
        /* ServerBuilderGenerator.kt:426 */
 7091   8908   
        #[allow(missing_docs)] // documentation missing in model
        8909  +
                               /* ServerBuilderGenerator.kt:428 */
 7092   8910   
        pub(crate) fn set_map_of_range_long(
 7093   8911   
            mut self,
 7094   8912   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_long_constrained::MapOfRangeLongConstrained>>>,
 7095   8913   
        ) -> Self {
        8914  +
            /* ServerBuilderGenerator.kt:429 */
 7096   8915   
            self.map_of_range_long = input.map(|v| v.into());
 7097   8916   
            self
        8917  +
            /* ServerBuilderGenerator.kt:428 */
 7098   8918   
        }
        8919  +
        /* ServerBuilderGenerator.kt:331 */
 7099   8920   
        #[allow(missing_docs)] // documentation missing in model
        8921  +
                               /* ServerBuilderGenerator.kt:343 */
 7100   8922   
        pub fn list_of_range_byte(
 7101   8923   
            mut self,
 7102   8924   
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeByte>>,
 7103   8925   
        ) -> Self {
 7104         -
            self.list_of_range_byte = input.map(
 7105         -
                #[allow(clippy::redundant_closure)]
 7106         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 7107         -
            );
        8926  +
            /* ServerBuilderGenerator.kt:344 */
        8927  +
            self.list_of_range_byte =
        8928  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8929  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8930  +
                /* ServerBuilderGenerator.kt:369 */)
        8931  +
            /* ServerBuilderGenerator.kt:344 */;
 7108   8932   
            self
        8933  +
            /* ServerBuilderGenerator.kt:343 */
 7109   8934   
        }
        8935  +
        /* ServerBuilderGenerator.kt:426 */
 7110   8936   
        #[allow(missing_docs)] // documentation missing in model
        8937  +
                               /* ServerBuilderGenerator.kt:428 */
 7111   8938   
        pub(crate) fn set_list_of_range_byte(
 7112   8939   
            mut self,
 7113   8940   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>>,
 7114   8941   
        ) -> Self {
        8942  +
            /* ServerBuilderGenerator.kt:429 */
 7115   8943   
            self.list_of_range_byte = input.map(|v| v.into());
 7116   8944   
            self
        8945  +
            /* ServerBuilderGenerator.kt:428 */
 7117   8946   
        }
        8947  +
        /* ServerBuilderGenerator.kt:331 */
 7118   8948   
        #[allow(missing_docs)] // documentation missing in model
        8949  +
                               /* ServerBuilderGenerator.kt:343 */
 7119   8950   
        pub fn set_of_range_byte(
 7120   8951   
            mut self,
 7121   8952   
            input: ::std::option::Option<crate::model::SetOfRangeByte>,
 7122   8953   
        ) -> Self {
 7123         -
            self.set_of_range_byte = input.map(
 7124         -
                #[allow(clippy::redundant_closure)]
 7125         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 7126         -
            );
        8954  +
            /* ServerBuilderGenerator.kt:344 */
        8955  +
            self.set_of_range_byte =
        8956  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8957  +
            /* ServerBuilderGenerator.kt:344 */;
 7127   8958   
            self
        8959  +
            /* ServerBuilderGenerator.kt:343 */
 7128   8960   
        }
        8961  +
        /* ServerBuilderGenerator.kt:426 */
 7129   8962   
        #[allow(missing_docs)] // documentation missing in model
        8963  +
                               /* ServerBuilderGenerator.kt:428 */
 7130   8964   
        pub(crate) fn set_set_of_range_byte(
 7131   8965   
            mut self,
 7132   8966   
            input: Option<
 7133   8967   
                impl ::std::convert::Into<
 7134   8968   
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>,
 7135   8969   
                >,
 7136   8970   
            >,
 7137   8971   
        ) -> Self {
        8972  +
            /* ServerBuilderGenerator.kt:429 */
 7138   8973   
            self.set_of_range_byte = input.map(|v| v.into());
 7139   8974   
            self
        8975  +
            /* ServerBuilderGenerator.kt:428 */
 7140   8976   
        }
        8977  +
        /* ServerBuilderGenerator.kt:331 */
 7141   8978   
        #[allow(missing_docs)] // documentation missing in model
        8979  +
                               /* ServerBuilderGenerator.kt:343 */
 7142   8980   
        pub fn map_of_range_byte(
 7143   8981   
            mut self,
 7144   8982   
            input: ::std::option::Option<
 7145   8983   
                ::std::collections::HashMap<::std::string::String, crate::model::RangeByte>,
 7146   8984   
            >,
 7147   8985   
        ) -> Self {
 7148         -
            self.map_of_range_byte = input.map(
 7149         -
                #[allow(clippy::redundant_closure)]
 7150         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 7151         -
            );
        8986  +
            /* ServerBuilderGenerator.kt:344 */
        8987  +
            self.map_of_range_byte =
        8988  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8989  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8990  +
                /* ServerBuilderGenerator.kt:369 */)
        8991  +
            /* ServerBuilderGenerator.kt:344 */;
 7152   8992   
            self
        8993  +
            /* ServerBuilderGenerator.kt:343 */
 7153   8994   
        }
        8995  +
        /* ServerBuilderGenerator.kt:426 */
 7154   8996   
        #[allow(missing_docs)] // documentation missing in model
        8997  +
                               /* ServerBuilderGenerator.kt:428 */
 7155   8998   
        pub(crate) fn set_map_of_range_byte(
 7156   8999   
            mut self,
 7157   9000   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_byte_constrained::MapOfRangeByteConstrained>>>,
 7158   9001   
        ) -> Self {
        9002  +
            /* ServerBuilderGenerator.kt:429 */
 7159   9003   
            self.map_of_range_byte = input.map(|v| v.into());
 7160   9004   
            self
        9005  +
            /* ServerBuilderGenerator.kt:428 */
 7161   9006   
        }
        9007  +
        /* ServerBuilderGenerator.kt:331 */
 7162   9008   
        #[allow(missing_docs)] // documentation missing in model
        9009  +
                               /* ServerBuilderGenerator.kt:343 */
 7163   9010   
        pub fn non_streaming_blob(
 7164   9011   
            mut self,
 7165   9012   
            input: ::std::option::Option<::aws_smithy_types::Blob>,
 7166   9013   
        ) -> Self {
 7167         -
            self.non_streaming_blob = input;
        9014  +
            /* ServerBuilderGenerator.kt:344 */
        9015  +
            self.non_streaming_blob =
        9016  +
                /* ServerBuilderGenerator.kt:376 */input
        9017  +
            /* ServerBuilderGenerator.kt:344 */;
 7168   9018   
            self
        9019  +
            /* ServerBuilderGenerator.kt:343 */
 7169   9020   
        }
        9021  +
        /* ServerBuilderGenerator.kt:426 */
 7170   9022   
        #[allow(missing_docs)] // documentation missing in model
        9023  +
                               /* ServerBuilderGenerator.kt:428 */
 7171   9024   
        pub(crate) fn set_non_streaming_blob(
 7172   9025   
            mut self,
 7173   9026   
            input: Option<impl ::std::convert::Into<::aws_smithy_types::Blob>>,
 7174   9027   
        ) -> Self {
        9028  +
            /* ServerBuilderGenerator.kt:429 */
 7175   9029   
            self.non_streaming_blob = input.map(|v| v.into());
 7176   9030   
            self
        9031  +
            /* ServerBuilderGenerator.kt:428 */
 7177   9032   
        }
        9033  +
        /* ServerBuilderGenerator.kt:331 */
 7178   9034   
        #[allow(missing_docs)] // documentation missing in model
        9035  +
                               /* ServerBuilderGenerator.kt:343 */
 7179   9036   
        pub fn pattern_string(
 7180   9037   
            mut self,
 7181   9038   
            input: ::std::option::Option<crate::model::PatternString>,
 7182   9039   
        ) -> Self {
 7183         -
            self.pattern_string = input.map(
 7184         -
                #[allow(clippy::redundant_closure)]
 7185         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 7186         -
            );
        9040  +
            /* ServerBuilderGenerator.kt:344 */
        9041  +
            self.pattern_string =
        9042  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        9043  +
            /* ServerBuilderGenerator.kt:344 */;
 7187   9044   
            self
        9045  +
            /* ServerBuilderGenerator.kt:343 */
 7188   9046   
        }
        9047  +
        /* ServerBuilderGenerator.kt:426 */
 7189   9048   
        #[allow(missing_docs)] // documentation missing in model
        9049  +
                               /* ServerBuilderGenerator.kt:428 */
 7190   9050   
        pub(crate) fn set_pattern_string(
 7191   9051   
            mut self,
 7192   9052   
            input: Option<
 7193   9053   
                impl ::std::convert::Into<
 7194   9054   
                    crate::constrained::MaybeConstrained<crate::model::PatternString>,
 7195   9055   
                >,
 7196   9056   
            >,
 7197   9057   
        ) -> Self {
        9058  +
            /* ServerBuilderGenerator.kt:429 */
 7198   9059   
            self.pattern_string = input.map(|v| v.into());
 7199   9060   
            self
        9061  +
            /* ServerBuilderGenerator.kt:428 */
 7200   9062   
        }
        9063  +
        /* ServerBuilderGenerator.kt:331 */
 7201   9064   
        #[allow(missing_docs)] // documentation missing in model
        9065  +
                               /* ServerBuilderGenerator.kt:343 */
 7202   9066   
        pub fn map_of_pattern_string(
 7203   9067   
            mut self,
 7204   9068   
            input: ::std::option::Option<
 7205   9069   
                ::std::collections::HashMap<
 7206   9070   
                    crate::model::PatternString,
 7207   9071   
                    crate::model::PatternString,
 7208   9072   
                >,
 7209   9073   
            >,
 7210   9074   
        ) -> Self {
 7211         -
            self.map_of_pattern_string = input.map(
 7212         -
                #[allow(clippy::redundant_closure)]
 7213         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 7214         -
            );
        9075  +
            /* ServerBuilderGenerator.kt:344 */
        9076  +
            self.map_of_pattern_string =
        9077  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        9078  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        9079  +
                /* ServerBuilderGenerator.kt:369 */)
        9080  +
            /* ServerBuilderGenerator.kt:344 */;
 7215   9081   
            self
        9082  +
            /* ServerBuilderGenerator.kt:343 */
 7216   9083   
        }
        9084  +
        /* ServerBuilderGenerator.kt:426 */
 7217   9085   
        #[allow(missing_docs)] // documentation missing in model
        9086  +
                               /* ServerBuilderGenerator.kt:428 */
 7218   9087   
        pub(crate) fn set_map_of_pattern_string(
 7219   9088   
            mut self,
 7220   9089   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_pattern_string_constrained::MapOfPatternStringConstrained>>>,
 7221   9090   
        ) -> Self {
        9091  +
            /* ServerBuilderGenerator.kt:429 */
 7222   9092   
            self.map_of_pattern_string = input.map(|v| v.into());
 7223   9093   
            self
        9094  +
            /* ServerBuilderGenerator.kt:428 */
 7224   9095   
        }
        9096  +
        /* ServerBuilderGenerator.kt:331 */
 7225   9097   
        #[allow(missing_docs)] // documentation missing in model
        9098  +
                               /* ServerBuilderGenerator.kt:343 */
 7226   9099   
        pub fn list_of_pattern_string(
 7227   9100   
            mut self,
 7228   9101   
            input: ::std::option::Option<::std::vec::Vec<crate::model::PatternString>>,
 7229   9102   
        ) -> Self {
 7230         -
            self.list_of_pattern_string = input.map(
 7231         -
                #[allow(clippy::redundant_closure)]
 7232         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 7233         -
            );
        9103  +
            /* ServerBuilderGenerator.kt:344 */
        9104  +
            self.list_of_pattern_string =
        9105  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        9106  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        9107  +
                /* ServerBuilderGenerator.kt:369 */)
        9108  +
            /* ServerBuilderGenerator.kt:344 */;
 7234   9109   
            self
        9110  +
            /* ServerBuilderGenerator.kt:343 */
 7235   9111   
        }
        9112  +
        /* ServerBuilderGenerator.kt:426 */
 7236   9113   
        #[allow(missing_docs)] // documentation missing in model
        9114  +
                               /* ServerBuilderGenerator.kt:428 */
 7237   9115   
        pub(crate) fn set_list_of_pattern_string(
 7238   9116   
            mut self,
 7239   9117   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_pattern_string_constrained::ListOfPatternStringConstrained>>>,
 7240   9118   
        ) -> Self {
        9119  +
            /* ServerBuilderGenerator.kt:429 */
 7241   9120   
            self.list_of_pattern_string = input.map(|v| v.into());
 7242   9121   
            self
        9122  +
            /* ServerBuilderGenerator.kt:428 */
 7243   9123   
        }
        9124  +
        /* ServerBuilderGenerator.kt:331 */
 7244   9125   
        #[allow(missing_docs)] // documentation missing in model
        9126  +
                               /* ServerBuilderGenerator.kt:343 */
 7245   9127   
        pub fn set_of_pattern_string(
 7246   9128   
            mut self,
 7247   9129   
            input: ::std::option::Option<crate::model::SetOfPatternString>,
 7248   9130   
        ) -> Self {
 7249         -
            self.set_of_pattern_string = input.map(
 7250         -
                #[allow(clippy::redundant_closure)]
 7251         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 7252         -
            );
        9131  +
            /* ServerBuilderGenerator.kt:344 */
        9132  +
            self.set_of_pattern_string =
        9133  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        9134  +
            /* ServerBuilderGenerator.kt:344 */;
 7253   9135   
            self
        9136  +
            /* ServerBuilderGenerator.kt:343 */
 7254   9137   
        }
        9138  +
        /* ServerBuilderGenerator.kt:426 */
 7255   9139   
        #[allow(missing_docs)] // documentation missing in model
        9140  +
                               /* ServerBuilderGenerator.kt:428 */
 7256   9141   
        pub(crate) fn set_set_of_pattern_string(
 7257   9142   
            mut self,
 7258   9143   
            input: Option<
 7259   9144   
                impl ::std::convert::Into<
 7260   9145   
                    crate::constrained::MaybeConstrained<crate::model::SetOfPatternString>,
 7261   9146   
                >,
 7262   9147   
            >,
 7263   9148   
        ) -> Self {
        9149  +
            /* ServerBuilderGenerator.kt:429 */
 7264   9150   
            self.set_of_pattern_string = input.map(|v| v.into());
 7265   9151   
            self
        9152  +
            /* ServerBuilderGenerator.kt:428 */
 7266   9153   
        }
        9154  +
        /* ServerBuilderGenerator.kt:331 */
 7267   9155   
        #[allow(missing_docs)] // documentation missing in model
        9156  +
                               /* ServerBuilderGenerator.kt:343 */
 7268   9157   
        pub fn length_length_pattern_string(
 7269   9158   
            mut self,
 7270   9159   
            input: ::std::option::Option<crate::model::LengthPatternString>,
 7271   9160   
        ) -> Self {
 7272         -
            self.length_length_pattern_string = input.map(
 7273         -
                #[allow(clippy::redundant_closure)]
 7274         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 7275         -
            );
        9161  +
            /* ServerBuilderGenerator.kt:344 */
        9162  +
            self.length_length_pattern_string =
        9163  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        9164  +
            /* ServerBuilderGenerator.kt:344 */;
 7276   9165   
            self
        9166  +
            /* ServerBuilderGenerator.kt:343 */
 7277   9167   
        }
        9168  +
        /* ServerBuilderGenerator.kt:426 */
 7278   9169   
        #[allow(missing_docs)] // documentation missing in model
        9170  +
                               /* ServerBuilderGenerator.kt:428 */
 7279   9171   
        pub(crate) fn set_length_length_pattern_string(
 7280   9172   
            mut self,
 7281   9173   
            input: Option<
 7282   9174   
                impl ::std::convert::Into<
 7283   9175   
                    crate::constrained::MaybeConstrained<crate::model::LengthPatternString>,
 7284   9176   
                >,
 7285   9177   
            >,
 7286   9178   
        ) -> Self {
        9179  +
            /* ServerBuilderGenerator.kt:429 */
 7287   9180   
            self.length_length_pattern_string = input.map(|v| v.into());
 7288   9181   
            self
        9182  +
            /* ServerBuilderGenerator.kt:428 */
 7289   9183   
        }
        9184  +
        /* ServerBuilderGenerator.kt:331 */
 7290   9185   
        #[allow(missing_docs)] // documentation missing in model
        9186  +
                               /* ServerBuilderGenerator.kt:343 */
 7291   9187   
        pub fn map_of_length_pattern_string(
 7292   9188   
            mut self,
 7293   9189   
            input: ::std::option::Option<
 7294   9190   
                ::std::collections::HashMap<
 7295   9191   
                    crate::model::LengthPatternString,
 7296   9192   
                    crate::model::LengthPatternString,
 7297   9193   
                >,
 7298   9194   
            >,
 7299   9195   
        ) -> Self {
 7300         -
            self.map_of_length_pattern_string = input.map(
 7301         -
                #[allow(clippy::redundant_closure)]
 7302         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 7303         -
            );
        9196  +
            /* ServerBuilderGenerator.kt:344 */
        9197  +
            self.map_of_length_pattern_string =
        9198  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        9199  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        9200  +
                /* ServerBuilderGenerator.kt:369 */)
        9201  +
            /* ServerBuilderGenerator.kt:344 */;
 7304   9202   
            self
        9203  +
            /* ServerBuilderGenerator.kt:343 */
 7305   9204   
        }
        9205  +
        /* ServerBuilderGenerator.kt:426 */
 7306   9206   
        #[allow(missing_docs)] // documentation missing in model
        9207  +
                               /* ServerBuilderGenerator.kt:428 */
 7307   9208   
        pub(crate) fn set_map_of_length_pattern_string(
 7308   9209   
            mut self,
 7309   9210   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_pattern_string_constrained::MapOfLengthPatternStringConstrained>>>,
 7310   9211   
        ) -> Self {
        9212  +
            /* ServerBuilderGenerator.kt:429 */
 7311   9213   
            self.map_of_length_pattern_string = input.map(|v| v.into());
 7312   9214   
            self
        9215  +
            /* ServerBuilderGenerator.kt:428 */
 7313   9216   
        }
        9217  +
        /* ServerBuilderGenerator.kt:331 */
 7314   9218   
        #[allow(missing_docs)] // documentation missing in model
        9219  +
                               /* ServerBuilderGenerator.kt:343 */
 7315   9220   
        pub fn list_of_length_pattern_string(
 7316   9221   
            mut self,
 7317   9222   
            input: ::std::option::Option<::std::vec::Vec<crate::model::LengthPatternString>>,
 7318   9223   
        ) -> Self {
 7319         -
            self.list_of_length_pattern_string = input.map(
 7320         -
                #[allow(clippy::redundant_closure)]
 7321         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 7322         -
            );
        9224  +
            /* ServerBuilderGenerator.kt:344 */
        9225  +
            self.list_of_length_pattern_string =
        9226  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        9227  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        9228  +
                /* ServerBuilderGenerator.kt:369 */)
        9229  +
            /* ServerBuilderGenerator.kt:344 */;
 7323   9230   
            self
        9231  +
            /* ServerBuilderGenerator.kt:343 */
 7324   9232   
        }
        9233  +
        /* ServerBuilderGenerator.kt:426 */
 7325   9234   
        #[allow(missing_docs)] // documentation missing in model
        9235  +
                               /* ServerBuilderGenerator.kt:428 */
 7326   9236   
        pub(crate) fn set_list_of_length_pattern_string(
 7327   9237   
            mut self,
 7328   9238   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_pattern_string_constrained::ListOfLengthPatternStringConstrained>>>,
 7329   9239   
        ) -> Self {
        9240  +
            /* ServerBuilderGenerator.kt:429 */
 7330   9241   
            self.list_of_length_pattern_string = input.map(|v| v.into());
 7331   9242   
            self
        9243  +
            /* ServerBuilderGenerator.kt:428 */
 7332   9244   
        }
        9245  +
        /* ServerBuilderGenerator.kt:331 */
 7333   9246   
        #[allow(missing_docs)] // documentation missing in model
        9247  +
                               /* ServerBuilderGenerator.kt:343 */
 7334   9248   
        pub fn set_of_length_pattern_string(
 7335   9249   
            mut self,
 7336   9250   
            input: ::std::option::Option<crate::model::SetOfLengthPatternString>,
 7337   9251   
        ) -> Self {
 7338         -
            self.set_of_length_pattern_string = input.map(
 7339         -
                #[allow(clippy::redundant_closure)]
 7340         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 7341         -
            );
        9252  +
            /* ServerBuilderGenerator.kt:344 */
        9253  +
            self.set_of_length_pattern_string =
        9254  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        9255  +
            /* ServerBuilderGenerator.kt:344 */;
 7342   9256   
            self
        9257  +
            /* ServerBuilderGenerator.kt:343 */
 7343   9258   
        }
        9259  +
        /* ServerBuilderGenerator.kt:426 */
 7344   9260   
        #[allow(missing_docs)] // documentation missing in model
        9261  +
                               /* ServerBuilderGenerator.kt:428 */
 7345   9262   
        pub(crate) fn set_set_of_length_pattern_string(
 7346   9263   
            mut self,
 7347   9264   
            input: Option<
 7348   9265   
                impl ::std::convert::Into<
 7349   9266   
                    crate::constrained::MaybeConstrained<crate::model::SetOfLengthPatternString>,
 7350   9267   
                >,
 7351   9268   
            >,
 7352   9269   
        ) -> Self {
        9270  +
            /* ServerBuilderGenerator.kt:429 */
 7353   9271   
            self.set_of_length_pattern_string = input.map(|v| v.into());
 7354   9272   
            self
        9273  +
            /* ServerBuilderGenerator.kt:428 */
 7355   9274   
        }
        9275  +
        /* ServerBuilderGenerator.kt:331 */
 7356   9276   
        #[allow(missing_docs)] // documentation missing in model
        9277  +
                               /* ServerBuilderGenerator.kt:343 */
 7357   9278   
        pub fn length_list_of_pattern_string(
 7358   9279   
            mut self,
 7359   9280   
            input: ::std::option::Option<crate::model::LengthListOfPatternString>,
 7360   9281   
        ) -> Self {
 7361         -
            self.length_list_of_pattern_string = input.map(
 7362         -
                #[allow(clippy::redundant_closure)]
 7363         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 7364         -
            );
        9282  +
            /* ServerBuilderGenerator.kt:344 */
        9283  +
            self.length_list_of_pattern_string =
        9284  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        9285  +
            /* ServerBuilderGenerator.kt:344 */;
 7365   9286   
            self
        9287  +
            /* ServerBuilderGenerator.kt:343 */
 7366   9288   
        }
        9289  +
        /* ServerBuilderGenerator.kt:426 */
 7367   9290   
        #[allow(missing_docs)] // documentation missing in model
        9291  +
                               /* ServerBuilderGenerator.kt:428 */
 7368   9292   
        pub(crate) fn set_length_list_of_pattern_string(
 7369   9293   
            mut self,
 7370   9294   
            input: Option<
 7371   9295   
                impl ::std::convert::Into<
 7372   9296   
                    crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>,
 7373   9297   
                >,
 7374   9298   
            >,
 7375   9299   
        ) -> Self {
        9300  +
            /* ServerBuilderGenerator.kt:429 */
 7376   9301   
            self.length_list_of_pattern_string = input.map(|v| v.into());
 7377   9302   
            self
        9303  +
            /* ServerBuilderGenerator.kt:428 */
 7378   9304   
        }
        9305  +
        /* ServerBuilderGenerator.kt:331 */
 7379   9306   
        #[allow(missing_docs)] // documentation missing in model
        9307  +
                               /* ServerBuilderGenerator.kt:343 */
 7380   9308   
        pub fn length_set_of_pattern_string(
 7381   9309   
            mut self,
 7382   9310   
            input: ::std::option::Option<crate::model::LengthSetOfPatternString>,
 7383   9311   
        ) -> Self {
 7384         -
            self.length_set_of_pattern_string = input.map(
 7385         -
                #[allow(clippy::redundant_closure)]
 7386         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 7387         -
            );
        9312  +
            /* ServerBuilderGenerator.kt:344 */
        9313  +
            self.length_set_of_pattern_string =
        9314  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        9315  +
            /* ServerBuilderGenerator.kt:344 */;
 7388   9316   
            self
        9317  +
            /* ServerBuilderGenerator.kt:343 */
 7389   9318   
        }
        9319  +
        /* ServerBuilderGenerator.kt:426 */
 7390   9320   
        #[allow(missing_docs)] // documentation missing in model
        9321  +
                               /* ServerBuilderGenerator.kt:428 */
 7391   9322   
        pub(crate) fn set_length_set_of_pattern_string(
 7392   9323   
            mut self,
 7393   9324   
            input: Option<
 7394   9325   
                impl ::std::convert::Into<
 7395   9326   
                    crate::constrained::MaybeConstrained<crate::model::LengthSetOfPatternString>,
 7396   9327   
                >,
 7397   9328   
            >,
 7398   9329   
        ) -> Self {
        9330  +
            /* ServerBuilderGenerator.kt:429 */
 7399   9331   
            self.length_set_of_pattern_string = input.map(|v| v.into());
 7400   9332   
            self
        9333  +
            /* ServerBuilderGenerator.kt:428 */
 7401   9334   
        }
 7402         -
        /// Consumes the builder and constructs a [`ConA`](crate::model::ConA).
 7403         -
        ///
        9335  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`ConA`](crate::model::ConA).
        9336  +
        /// /* ServerBuilderGenerator.kt:260 */
 7404   9337   
        /// The builder fails to construct a [`ConA`](crate::model::ConA) if a [`ConstraintViolation`] occurs.
 7405   9338   
        ///
 7406         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        9339  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        9340  +
        /* ServerBuilderGenerator.kt:271 */
 7407   9341   
        pub fn build(self) -> Result<crate::model::ConA, ConstraintViolation> {
 7408   9342   
            self.build_enforcing_all_constraints()
 7409   9343   
        }
        9344  +
        /* ServerBuilderGenerator.kt:283 */
 7410   9345   
        fn build_enforcing_all_constraints(
 7411   9346   
            self,
 7412   9347   
        ) -> Result<crate::model::ConA, ConstraintViolation> {
        9348  +
            /* ServerBuilderGenerator.kt:287 */
 7413   9349   
            Ok(
 7414         -
                crate::model::ConA {
 7415         -
                    con_b: self.con_b
 7416         -
                        .map(|v| match v {
        9350  +
                /* ServerBuilderGenerator.kt:542 */crate::model::ConA {
        9351  +
                    /* ServerBuilderGenerator.kt:546 */con_b: self.con_b
        9352  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7417   9353   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7418   9354   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7419   9355   
                                        })
 7420         -
                        .map(|res|
        9356  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7421   9357   
                                        res.map_err(ConstraintViolation::ConB)
 7422   9358   
                                    )
 7423   9359   
                                    .transpose()?
 7424         -
                        .ok_or(ConstraintViolation::MissingConB)?
        9360  +
                        /* ServerBuilderGenerator.kt:569 */.ok_or(ConstraintViolation::MissingConB)?
 7425   9361   
                    ,
 7426         -
                    opt_con_b: self.opt_con_b
 7427         -
                        .map(|v| match v {
        9362  +
                    /* ServerBuilderGenerator.kt:546 */opt_con_b: self.opt_con_b
        9363  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7428   9364   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7429   9365   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7430   9366   
                                        })
 7431         -
                        .map(|res|
        9367  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7432   9368   
                                        res.map_err(ConstraintViolation::OptConB)
 7433   9369   
                                    )
 7434   9370   
                                    .transpose()?
 7435   9371   
                    ,
 7436         -
                    length_string: self.length_string
 7437         -
                        .map(|v| match v {
        9372  +
                    /* ServerBuilderGenerator.kt:546 */length_string: self.length_string
        9373  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7438   9374   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7439   9375   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7440   9376   
                                        })
 7441         -
                        .map(|res|
        9377  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7442   9378   
                                        res.map_err(ConstraintViolation::LengthString)
 7443   9379   
                                    )
 7444   9380   
                                    .transpose()?
 7445   9381   
                    ,
 7446         -
                    min_length_string: self.min_length_string
 7447         -
                        .map(|v| match v {
        9382  +
                    /* ServerBuilderGenerator.kt:546 */min_length_string: self.min_length_string
        9383  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7448   9384   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7449   9385   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7450   9386   
                                        })
 7451         -
                        .map(|res|
        9387  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7452   9388   
                                        res.map_err(ConstraintViolation::MinLengthString)
 7453   9389   
                                    )
 7454   9390   
                                    .transpose()?
 7455   9391   
                    ,
 7456         -
                    max_length_string: self.max_length_string
 7457         -
                        .map(|v| match v {
        9392  +
                    /* ServerBuilderGenerator.kt:546 */max_length_string: self.max_length_string
        9393  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7458   9394   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7459   9395   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7460   9396   
                                        })
 7461         -
                        .map(|res|
        9397  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7462   9398   
                                        res.map_err(ConstraintViolation::MaxLengthString)
 7463   9399   
                                    )
 7464   9400   
                                    .transpose()?
 7465   9401   
                    ,
 7466         -
                    fixed_length_string: self.fixed_length_string
 7467         -
                        .map(|v| match v {
        9402  +
                    /* ServerBuilderGenerator.kt:546 */fixed_length_string: self.fixed_length_string
        9403  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7468   9404   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7469   9405   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7470   9406   
                                        })
 7471         -
                        .map(|res|
        9407  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7472   9408   
                                        res.map_err(ConstraintViolation::FixedLengthString)
 7473   9409   
                                    )
 7474   9410   
                                    .transpose()?
 7475   9411   
                    ,
 7476         -
                    length_blob: self.length_blob
 7477         -
                        .map(|v| match v {
        9412  +
                    /* ServerBuilderGenerator.kt:546 */length_blob: self.length_blob
        9413  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7478   9414   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7479   9415   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7480   9416   
                                        })
 7481         -
                        .map(|res|
        9417  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7482   9418   
                                        res.map_err(ConstraintViolation::LengthBlob)
 7483   9419   
                                    )
 7484   9420   
                                    .transpose()?
 7485   9421   
                    ,
 7486         -
                    min_length_blob: self.min_length_blob
 7487         -
                        .map(|v| match v {
        9422  +
                    /* ServerBuilderGenerator.kt:546 */min_length_blob: self.min_length_blob
        9423  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7488   9424   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7489   9425   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7490   9426   
                                        })
 7491         -
                        .map(|res|
        9427  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7492   9428   
                                        res.map_err(ConstraintViolation::MinLengthBlob)
 7493   9429   
                                    )
 7494   9430   
                                    .transpose()?
 7495   9431   
                    ,
 7496         -
                    max_length_blob: self.max_length_blob
 7497         -
                        .map(|v| match v {
        9432  +
                    /* ServerBuilderGenerator.kt:546 */max_length_blob: self.max_length_blob
        9433  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7498   9434   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7499   9435   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7500   9436   
                                        })
 7501         -
                        .map(|res|
        9437  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7502   9438   
                                        res.map_err(ConstraintViolation::MaxLengthBlob)
 7503   9439   
                                    )
 7504   9440   
                                    .transpose()?
 7505   9441   
                    ,
 7506         -
                    fixed_length_blob: self.fixed_length_blob
 7507         -
                        .map(|v| match v {
        9442  +
                    /* ServerBuilderGenerator.kt:546 */fixed_length_blob: self.fixed_length_blob
        9443  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7508   9444   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7509   9445   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7510   9446   
                                        })
 7511         -
                        .map(|res|
        9447  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7512   9448   
                                        res.map_err(ConstraintViolation::FixedLengthBlob)
 7513   9449   
                                    )
 7514   9450   
                                    .transpose()?
 7515   9451   
                    ,
 7516         -
                    range_integer: self.range_integer
 7517         -
                        .map(|v| match v {
        9452  +
                    /* ServerBuilderGenerator.kt:546 */range_integer: self.range_integer
        9453  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7518   9454   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7519   9455   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7520   9456   
                                        })
 7521         -
                        .map(|res|
        9457  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7522   9458   
                                        res.map_err(ConstraintViolation::RangeInteger)
 7523   9459   
                                    )
 7524   9460   
                                    .transpose()?
 7525         -
                        .unwrap_or_else(||
        9461  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7526   9462   
                                        0i32
 7527   9463   
                                            .try_into()
 7528   9464   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7529   9465   
                                    )
 7530   9466   
                    ,
 7531         -
                    min_range_integer: self.min_range_integer
 7532         -
                        .map(|v| match v {
        9467  +
                    /* ServerBuilderGenerator.kt:546 */min_range_integer: self.min_range_integer
        9468  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7533   9469   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7534   9470   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7535   9471   
                                        })
 7536         -
                        .map(|res|
        9472  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7537   9473   
                                        res.map_err(ConstraintViolation::MinRangeInteger)
 7538   9474   
                                    )
 7539   9475   
                                    .transpose()?
 7540         -
                        .unwrap_or_else(||
        9476  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7541   9477   
                                        0i32
 7542   9478   
                                            .try_into()
 7543   9479   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7544   9480   
                                    )
 7545   9481   
                    ,
 7546         -
                    max_range_integer: self.max_range_integer
 7547         -
                        .map(|v| match v {
        9482  +
                    /* ServerBuilderGenerator.kt:546 */max_range_integer: self.max_range_integer
        9483  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7548   9484   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7549   9485   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7550   9486   
                                        })
 7551         -
                        .map(|res|
        9487  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7552   9488   
                                        res.map_err(ConstraintViolation::MaxRangeInteger)
 7553   9489   
                                    )
 7554   9490   
                                    .transpose()?
 7555         -
                        .unwrap_or_else(||
        9491  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7556   9492   
                                        0i32
 7557   9493   
                                            .try_into()
 7558   9494   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7559   9495   
                                    )
 7560   9496   
                    ,
 7561         -
                    fixed_value_integer: self.fixed_value_integer
 7562         -
                        .map(|v| match v {
        9497  +
                    /* ServerBuilderGenerator.kt:546 */fixed_value_integer: self.fixed_value_integer
        9498  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7563   9499   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7564   9500   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7565   9501   
                                        })
 7566         -
                        .map(|res|
        9502  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7567   9503   
                                        res.map_err(ConstraintViolation::FixedValueInteger)
 7568   9504   
                                    )
 7569   9505   
                                    .transpose()?
 7570         -
                        .unwrap_or_else(||
        9506  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7571   9507   
                                        0i32
 7572   9508   
                                            .try_into()
 7573   9509   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7574   9510   
                                    )
 7575   9511   
                    ,
 7576         -
                    range_short: self.range_short
 7577         -
                        .map(|v| match v {
        9512  +
                    /* ServerBuilderGenerator.kt:546 */range_short: self.range_short
        9513  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7578   9514   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7579   9515   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7580   9516   
                                        })
 7581         -
                        .map(|res|
        9517  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7582   9518   
                                        res.map_err(ConstraintViolation::RangeShort)
 7583   9519   
                                    )
 7584   9520   
                                    .transpose()?
 7585         -
                        .unwrap_or_else(||
        9521  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7586   9522   
                                        0i16
 7587   9523   
                                            .try_into()
 7588   9524   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7589   9525   
                                    )
 7590   9526   
                    ,
 7591         -
                    min_range_short: self.min_range_short
 7592         -
                        .map(|v| match v {
        9527  +
                    /* ServerBuilderGenerator.kt:546 */min_range_short: self.min_range_short
        9528  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7593   9529   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7594   9530   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7595   9531   
                                        })
 7596         -
                        .map(|res|
        9532  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7597   9533   
                                        res.map_err(ConstraintViolation::MinRangeShort)
 7598   9534   
                                    )
 7599   9535   
                                    .transpose()?
 7600         -
                        .unwrap_or_else(||
        9536  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7601   9537   
                                        0i16
 7602   9538   
                                            .try_into()
 7603   9539   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7604   9540   
                                    )
 7605   9541   
                    ,
 7606         -
                    max_range_short: self.max_range_short
 7607         -
                        .map(|v| match v {
        9542  +
                    /* ServerBuilderGenerator.kt:546 */max_range_short: self.max_range_short
        9543  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7608   9544   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7609   9545   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7610   9546   
                                        })
 7611         -
                        .map(|res|
        9547  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7612   9548   
                                        res.map_err(ConstraintViolation::MaxRangeShort)
 7613   9549   
                                    )
 7614   9550   
                                    .transpose()?
 7615         -
                        .unwrap_or_else(||
        9551  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7616   9552   
                                        0i16
 7617   9553   
                                            .try_into()
 7618   9554   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7619   9555   
                                    )
 7620   9556   
                    ,
 7621         -
                    fixed_value_short: self.fixed_value_short
 7622         -
                        .map(|v| match v {
        9557  +
                    /* ServerBuilderGenerator.kt:546 */fixed_value_short: self.fixed_value_short
        9558  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7623   9559   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7624   9560   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7625   9561   
                                        })
 7626         -
                        .map(|res|
        9562  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7627   9563   
                                        res.map_err(ConstraintViolation::FixedValueShort)
 7628   9564   
                                    )
 7629   9565   
                                    .transpose()?
 7630         -
                        .unwrap_or_else(||
        9566  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7631   9567   
                                        0i16
 7632   9568   
                                            .try_into()
 7633   9569   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7634   9570   
                                    )
 7635   9571   
                    ,
 7636         -
                    range_long: self.range_long
 7637         -
                        .map(|v| match v {
        9572  +
                    /* ServerBuilderGenerator.kt:546 */range_long: self.range_long
        9573  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7638   9574   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7639   9575   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7640   9576   
                                        })
 7641         -
                        .map(|res|
        9577  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7642   9578   
                                        res.map_err(ConstraintViolation::RangeLong)
 7643   9579   
                                    )
 7644   9580   
                                    .transpose()?
 7645         -
                        .unwrap_or_else(||
        9581  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7646   9582   
                                        0i64
 7647   9583   
                                            .try_into()
 7648   9584   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7649   9585   
                                    )
 7650   9586   
                    ,
 7651         -
                    min_range_long: self.min_range_long
 7652         -
                        .map(|v| match v {
        9587  +
                    /* ServerBuilderGenerator.kt:546 */min_range_long: self.min_range_long
        9588  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7653   9589   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7654   9590   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7655   9591   
                                        })
 7656         -
                        .map(|res|
        9592  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7657   9593   
                                        res.map_err(ConstraintViolation::MinRangeLong)
 7658   9594   
                                    )
 7659   9595   
                                    .transpose()?
 7660         -
                        .unwrap_or_else(||
        9596  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7661   9597   
                                        0i64
 7662   9598   
                                            .try_into()
 7663   9599   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7664   9600   
                                    )
 7665   9601   
                    ,
 7666         -
                    max_range_long: self.max_range_long
 7667         -
                        .map(|v| match v {
        9602  +
                    /* ServerBuilderGenerator.kt:546 */max_range_long: self.max_range_long
        9603  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7668   9604   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7669   9605   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7670   9606   
                                        })
 7671         -
                        .map(|res|
        9607  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7672   9608   
                                        res.map_err(ConstraintViolation::MaxRangeLong)
 7673   9609   
                                    )
 7674   9610   
                                    .transpose()?
 7675         -
                        .unwrap_or_else(||
        9611  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7676   9612   
                                        0i64
 7677   9613   
                                            .try_into()
 7678   9614   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7679   9615   
                                    )
 7680   9616   
                    ,
 7681         -
                    fixed_value_long: self.fixed_value_long
 7682         -
                        .map(|v| match v {
        9617  +
                    /* ServerBuilderGenerator.kt:546 */fixed_value_long: self.fixed_value_long
        9618  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7683   9619   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7684   9620   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7685   9621   
                                        })
 7686         -
                        .map(|res|
        9622  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7687   9623   
                                        res.map_err(ConstraintViolation::FixedValueLong)
 7688   9624   
                                    )
 7689   9625   
                                    .transpose()?
 7690         -
                        .unwrap_or_else(||
        9626  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7691   9627   
                                        0i64
 7692   9628   
                                            .try_into()
 7693   9629   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7694   9630   
                                    )
 7695   9631   
                    ,
 7696         -
                    range_byte: self.range_byte
 7697         -
                        .map(|v| match v {
        9632  +
                    /* ServerBuilderGenerator.kt:546 */range_byte: self.range_byte
        9633  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7698   9634   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7699   9635   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7700   9636   
                                        })
 7701         -
                        .map(|res|
        9637  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7702   9638   
                                        res.map_err(ConstraintViolation::RangeByte)
 7703   9639   
                                    )
 7704   9640   
                                    .transpose()?
 7705         -
                        .unwrap_or_else(||
        9641  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7706   9642   
                                        0i8
 7707   9643   
                                            .try_into()
 7708   9644   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7709   9645   
                                    )
 7710   9646   
                    ,
 7711         -
                    min_range_byte: self.min_range_byte
 7712         -
                        .map(|v| match v {
        9647  +
                    /* ServerBuilderGenerator.kt:546 */min_range_byte: self.min_range_byte
        9648  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7713   9649   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7714   9650   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7715   9651   
                                        })
 7716         -
                        .map(|res|
        9652  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7717   9653   
                                        res.map_err(ConstraintViolation::MinRangeByte)
 7718   9654   
                                    )
 7719   9655   
                                    .transpose()?
 7720         -
                        .unwrap_or_else(||
        9656  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7721   9657   
                                        0i8
 7722   9658   
                                            .try_into()
 7723   9659   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7724   9660   
                                    )
 7725   9661   
                    ,
 7726         -
                    max_range_byte: self.max_range_byte
 7727         -
                        .map(|v| match v {
        9662  +
                    /* ServerBuilderGenerator.kt:546 */max_range_byte: self.max_range_byte
        9663  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7728   9664   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7729   9665   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7730   9666   
                                        })
 7731         -
                        .map(|res|
        9667  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7732   9668   
                                        res.map_err(ConstraintViolation::MaxRangeByte)
 7733   9669   
                                    )
 7734   9670   
                                    .transpose()?
 7735         -
                        .unwrap_or_else(||
        9671  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7736   9672   
                                        0i8
 7737   9673   
                                            .try_into()
 7738   9674   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7739   9675   
                                    )
 7740   9676   
                    ,
 7741         -
                    fixed_value_byte: self.fixed_value_byte
 7742         -
                        .map(|v| match v {
        9677  +
                    /* ServerBuilderGenerator.kt:546 */fixed_value_byte: self.fixed_value_byte
        9678  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7743   9679   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7744   9680   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7745   9681   
                                        })
 7746         -
                        .map(|res|
        9682  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7747   9683   
                                        res.map_err(ConstraintViolation::FixedValueByte)
 7748   9684   
                                    )
 7749   9685   
                                    .transpose()?
 7750         -
                        .unwrap_or_else(||
        9686  +
                        /* ServerBuilderGeneratorCommon.kt:118 */.unwrap_or_else(||
 7751   9687   
                                        0i8
 7752   9688   
                                            .try_into()
 7753   9689   
                                            .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 7754   9690   
                                    )
 7755   9691   
                    ,
 7756         -
                    con_b_list: self.con_b_list
 7757         -
                        .map(|v| match v {
        9692  +
                    /* ServerBuilderGenerator.kt:546 */con_b_list: self.con_b_list
        9693  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7758   9694   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7759   9695   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7760   9696   
                                        })
 7761         -
                        .map(|res|
        9697  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7762   9698   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::ConBList)
 7763   9699   
                                    )
 7764   9700   
                                    .transpose()?
 7765   9701   
                    ,
 7766         -
                    length_list: self.length_list
 7767         -
                        .map(|v| match v {
        9702  +
                    /* ServerBuilderGenerator.kt:546 */length_list: self.length_list
        9703  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7768   9704   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7769   9705   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7770   9706   
                                        })
 7771         -
                        .map(|res|
        9707  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7772   9708   
                                        res.map_err(ConstraintViolation::LengthList)
 7773   9709   
                                    )
 7774   9710   
                                    .transpose()?
 7775   9711   
                    ,
 7776         -
                    sensitive_length_list: self.sensitive_length_list
 7777         -
                        .map(|v| match v {
        9712  +
                    /* ServerBuilderGenerator.kt:546 */sensitive_length_list: self.sensitive_length_list
        9713  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7778   9714   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7779   9715   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7780   9716   
                                        })
 7781         -
                        .map(|res|
        9717  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7782   9718   
                                        res.map_err(ConstraintViolation::SensitiveLengthList)
 7783   9719   
                                    )
 7784   9720   
                                    .transpose()?
 7785   9721   
                    ,
 7786         -
                    con_b_set: self.con_b_set
 7787         -
                        .map(|v| match v {
        9722  +
                    /* ServerBuilderGenerator.kt:546 */con_b_set: self.con_b_set
        9723  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7788   9724   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7789   9725   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7790   9726   
                                        })
 7791         -
                        .map(|res|
        9727  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7792   9728   
                                        res.map_err(ConstraintViolation::ConBSet)
 7793   9729   
                                    )
 7794   9730   
                                    .transpose()?
 7795   9731   
                    ,
 7796         -
                    con_b_map: self.con_b_map
 7797         -
                        .map(|v| match v {
        9732  +
                    /* ServerBuilderGenerator.kt:546 */con_b_map: self.con_b_map
        9733  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7798   9734   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7799   9735   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7800   9736   
                                        })
 7801         -
                        .map(|res|
        9737  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7802   9738   
                                        res.map_err(ConstraintViolation::ConBMap)
 7803   9739   
                                    )
 7804   9740   
                                    .transpose()?
 7805   9741   
                    ,
 7806         -
                    length_map: self.length_map
 7807         -
                        .map(|v| match v {
        9742  +
                    /* ServerBuilderGenerator.kt:546 */length_map: self.length_map
        9743  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7808   9744   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7809   9745   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7810   9746   
                                        })
 7811         -
                        .map(|res|
        9747  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7812   9748   
                                        res.map_err(ConstraintViolation::LengthMap)
 7813   9749   
                                    )
 7814   9750   
                                    .transpose()?
 7815   9751   
                    ,
 7816         -
                    map_of_map_of_list_of_list_of_con_b: self.map_of_map_of_list_of_list_of_con_b
 7817         -
                        .map(|v| match v {
        9752  +
                    /* ServerBuilderGenerator.kt:546 */map_of_map_of_list_of_list_of_con_b: self.map_of_map_of_list_of_list_of_con_b
        9753  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7818   9754   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7819   9755   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7820   9756   
                                        })
 7821         -
                        .map(|res|
        9757  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7822   9758   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::MapOfMapOfListOfListOfConB)
 7823   9759   
                                    )
 7824   9760   
                                    .transpose()?
 7825   9761   
                    ,
 7826         -
                    sparse_map: self.sparse_map
 7827         -
                        .map(|v| match v {
        9762  +
                    /* ServerBuilderGenerator.kt:546 */sparse_map: self.sparse_map
        9763  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7828   9764   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7829   9765   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7830   9766   
                                        })
 7831         -
                        .map(|res|
        9767  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7832   9768   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::SparseMap)
 7833   9769   
                                    )
 7834   9770   
                                    .transpose()?
 7835   9771   
                    ,
 7836         -
                    sparse_list: self.sparse_list
 7837         -
                        .map(|v| match v {
        9772  +
                    /* ServerBuilderGenerator.kt:546 */sparse_list: self.sparse_list
        9773  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7838   9774   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7839   9775   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7840   9776   
                                        })
 7841         -
                        .map(|res|
        9777  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7842   9778   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::SparseList)
 7843   9779   
                                    )
 7844   9780   
                                    .transpose()?
 7845   9781   
                    ,
 7846         -
                    sparse_length_map: self.sparse_length_map
 7847         -
                        .map(|v| match v {
        9782  +
                    /* ServerBuilderGenerator.kt:546 */sparse_length_map: self.sparse_length_map
        9783  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7848   9784   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7849   9785   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7850   9786   
                                        })
 7851         -
                        .map(|res|
        9787  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7852   9788   
                                        res.map_err(ConstraintViolation::SparseLengthMap)
 7853   9789   
                                    )
 7854   9790   
                                    .transpose()?
 7855   9791   
                    ,
 7856         -
                    sparse_length_list: self.sparse_length_list
 7857         -
                        .map(|v| match v {
        9792  +
                    /* ServerBuilderGenerator.kt:546 */sparse_length_list: self.sparse_length_list
        9793  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7858   9794   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7859   9795   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7860   9796   
                                        })
 7861         -
                        .map(|res|
        9797  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7862   9798   
                                        res.map_err(ConstraintViolation::SparseLengthList)
 7863   9799   
                                    )
 7864   9800   
                                    .transpose()?
 7865   9801   
                    ,
 7866         -
                    constrained_union: self.constrained_union
 7867         -
                        .map(|v| match v {
        9802  +
                    /* ServerBuilderGenerator.kt:546 */constrained_union: self.constrained_union
        9803  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7868   9804   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7869   9805   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7870   9806   
                                        })
 7871         -
                        .map(|res|
        9807  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7872   9808   
                                        res.map_err(ConstraintViolation::ConstrainedUnion)
 7873   9809   
                                    )
 7874   9810   
                                    .transpose()?
 7875   9811   
                    ,
 7876         -
                    enum_string: self.enum_string
 7877         -
                        .map(|v| match v {
        9812  +
                    /* ServerBuilderGenerator.kt:546 */enum_string: self.enum_string
        9813  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7878   9814   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7879   9815   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7880   9816   
                                        })
 7881         -
                        .map(|res|
        9817  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7882   9818   
                                        res.map_err(ConstraintViolation::EnumString)
 7883   9819   
                                    )
 7884   9820   
                                    .transpose()?
 7885   9821   
                    ,
 7886         -
                    list_of_length_string: self.list_of_length_string
 7887         -
                        .map(|v| match v {
        9822  +
                    /* ServerBuilderGenerator.kt:546 */list_of_length_string: self.list_of_length_string
        9823  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7888   9824   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7889   9825   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7890   9826   
                                        })
 7891         -
                        .map(|res|
        9827  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7892   9828   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::ListOfLengthString)
 7893   9829   
                                    )
 7894   9830   
                                    .transpose()?
 7895   9831   
                    ,
 7896         -
                    set_of_length_string: self.set_of_length_string
 7897         -
                        .map(|v| match v {
        9832  +
                    /* ServerBuilderGenerator.kt:546 */set_of_length_string: self.set_of_length_string
        9833  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7898   9834   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7899   9835   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7900   9836   
                                        })
 7901         -
                        .map(|res|
        9837  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7902   9838   
                                        res.map_err(ConstraintViolation::SetOfLengthString)
 7903   9839   
                                    )
 7904   9840   
                                    .transpose()?
 7905   9841   
                    ,
 7906         -
                    map_of_length_string: self.map_of_length_string
 7907         -
                        .map(|v| match v {
        9842  +
                    /* ServerBuilderGenerator.kt:546 */map_of_length_string: self.map_of_length_string
        9843  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7908   9844   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7909   9845   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7910   9846   
                                        })
 7911         -
                        .map(|res|
        9847  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7912   9848   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::MapOfLengthString)
 7913   9849   
                                    )
 7914   9850   
                                    .transpose()?
 7915   9851   
                    ,
 7916         -
                    list_of_length_blob: self.list_of_length_blob
 7917         -
                        .map(|v| match v {
        9852  +
                    /* ServerBuilderGenerator.kt:546 */list_of_length_blob: self.list_of_length_blob
        9853  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7918   9854   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7919   9855   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7920   9856   
                                        })
 7921         -
                        .map(|res|
        9857  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7922   9858   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::ListOfLengthBlob)
 7923   9859   
                                    )
 7924   9860   
                                    .transpose()?
 7925   9861   
                    ,
 7926         -
                    map_of_length_blob: self.map_of_length_blob
 7927         -
                        .map(|v| match v {
        9862  +
                    /* ServerBuilderGenerator.kt:546 */map_of_length_blob: self.map_of_length_blob
        9863  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7928   9864   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7929   9865   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7930   9866   
                                        })
 7931         -
                        .map(|res|
        9867  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7932   9868   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::MapOfLengthBlob)
 7933   9869   
                                    )
 7934   9870   
                                    .transpose()?
 7935   9871   
                    ,
 7936         -
                    list_of_range_integer: self.list_of_range_integer
 7937         -
                        .map(|v| match v {
        9872  +
                    /* ServerBuilderGenerator.kt:546 */list_of_range_integer: self.list_of_range_integer
        9873  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7938   9874   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7939   9875   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7940   9876   
                                        })
 7941         -
                        .map(|res|
        9877  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7942   9878   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::ListOfRangeInteger)
 7943   9879   
                                    )
 7944   9880   
                                    .transpose()?
 7945   9881   
                    ,
 7946         -
                    set_of_range_integer: self.set_of_range_integer
 7947         -
                        .map(|v| match v {
        9882  +
                    /* ServerBuilderGenerator.kt:546 */set_of_range_integer: self.set_of_range_integer
        9883  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7948   9884   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7949   9885   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7950   9886   
                                        })
 7951         -
                        .map(|res|
        9887  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7952   9888   
                                        res.map_err(ConstraintViolation::SetOfRangeInteger)
 7953   9889   
                                    )
 7954   9890   
                                    .transpose()?
 7955   9891   
                    ,
 7956         -
                    map_of_range_integer: self.map_of_range_integer
 7957         -
                        .map(|v| match v {
        9892  +
                    /* ServerBuilderGenerator.kt:546 */map_of_range_integer: self.map_of_range_integer
        9893  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7958   9894   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7959   9895   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7960   9896   
                                        })
 7961         -
                        .map(|res|
        9897  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7962   9898   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::MapOfRangeInteger)
 7963   9899   
                                    )
 7964   9900   
                                    .transpose()?
 7965   9901   
                    ,
 7966         -
                    list_of_range_short: self.list_of_range_short
 7967         -
                        .map(|v| match v {
        9902  +
                    /* ServerBuilderGenerator.kt:546 */list_of_range_short: self.list_of_range_short
        9903  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7968   9904   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7969   9905   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7970   9906   
                                        })
 7971         -
                        .map(|res|
        9907  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7972   9908   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::ListOfRangeShort)
 7973   9909   
                                    )
 7974   9910   
                                    .transpose()?
 7975   9911   
                    ,
 7976         -
                    set_of_range_short: self.set_of_range_short
 7977         -
                        .map(|v| match v {
        9912  +
                    /* ServerBuilderGenerator.kt:546 */set_of_range_short: self.set_of_range_short
        9913  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7978   9914   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7979   9915   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7980   9916   
                                        })
 7981         -
                        .map(|res|
        9917  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7982   9918   
                                        res.map_err(ConstraintViolation::SetOfRangeShort)
 7983   9919   
                                    )
 7984   9920   
                                    .transpose()?
 7985   9921   
                    ,
 7986         -
                    map_of_range_short: self.map_of_range_short
 7987         -
                        .map(|v| match v {
        9922  +
                    /* ServerBuilderGenerator.kt:546 */map_of_range_short: self.map_of_range_short
        9923  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7988   9924   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7989   9925   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7990   9926   
                                        })
 7991         -
                        .map(|res|
        9927  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 7992   9928   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::MapOfRangeShort)
 7993   9929   
                                    )
 7994   9930   
                                    .transpose()?
 7995   9931   
                    ,
 7996         -
                    list_of_range_long: self.list_of_range_long
 7997         -
                        .map(|v| match v {
        9932  +
                    /* ServerBuilderGenerator.kt:546 */list_of_range_long: self.list_of_range_long
        9933  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 7998   9934   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7999   9935   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8000   9936   
                                        })
 8001         -
                        .map(|res|
        9937  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8002   9938   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::ListOfRangeLong)
 8003   9939   
                                    )
 8004   9940   
                                    .transpose()?
 8005   9941   
                    ,
 8006         -
                    set_of_range_long: self.set_of_range_long
 8007         -
                        .map(|v| match v {
        9942  +
                    /* ServerBuilderGenerator.kt:546 */set_of_range_long: self.set_of_range_long
        9943  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8008   9944   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8009   9945   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8010   9946   
                                        })
 8011         -
                        .map(|res|
        9947  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8012   9948   
                                        res.map_err(ConstraintViolation::SetOfRangeLong)
 8013   9949   
                                    )
 8014   9950   
                                    .transpose()?
 8015   9951   
                    ,
 8016         -
                    map_of_range_long: self.map_of_range_long
 8017         -
                        .map(|v| match v {
        9952  +
                    /* ServerBuilderGenerator.kt:546 */map_of_range_long: self.map_of_range_long
        9953  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8018   9954   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8019   9955   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8020   9956   
                                        })
 8021         -
                        .map(|res|
        9957  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8022   9958   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::MapOfRangeLong)
 8023   9959   
                                    )
 8024   9960   
                                    .transpose()?
 8025   9961   
                    ,
 8026         -
                    list_of_range_byte: self.list_of_range_byte
 8027         -
                        .map(|v| match v {
        9962  +
                    /* ServerBuilderGenerator.kt:546 */list_of_range_byte: self.list_of_range_byte
        9963  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8028   9964   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8029   9965   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8030   9966   
                                        })
 8031         -
                        .map(|res|
        9967  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8032   9968   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::ListOfRangeByte)
 8033   9969   
                                    )
 8034   9970   
                                    .transpose()?
 8035   9971   
                    ,
 8036         -
                    set_of_range_byte: self.set_of_range_byte
 8037         -
                        .map(|v| match v {
        9972  +
                    /* ServerBuilderGenerator.kt:546 */set_of_range_byte: self.set_of_range_byte
        9973  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8038   9974   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8039   9975   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8040   9976   
                                        })
 8041         -
                        .map(|res|
        9977  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8042   9978   
                                        res.map_err(ConstraintViolation::SetOfRangeByte)
 8043   9979   
                                    )
 8044   9980   
                                    .transpose()?
 8045   9981   
                    ,
 8046         -
                    map_of_range_byte: self.map_of_range_byte
 8047         -
                        .map(|v| match v {
        9982  +
                    /* ServerBuilderGenerator.kt:546 */map_of_range_byte: self.map_of_range_byte
        9983  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8048   9984   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8049   9985   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8050   9986   
                                        })
 8051         -
                        .map(|res|
        9987  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8052   9988   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::MapOfRangeByte)
 8053   9989   
                                    )
 8054   9990   
                                    .transpose()?
 8055   9991   
                    ,
 8056         -
                    non_streaming_blob: self.non_streaming_blob
        9992  +
                    /* ServerBuilderGenerator.kt:546 */non_streaming_blob: self.non_streaming_blob
 8057   9993   
                    ,
 8058         -
                    pattern_string: self.pattern_string
 8059         -
                        .map(|v| match v {
        9994  +
                    /* ServerBuilderGenerator.kt:546 */pattern_string: self.pattern_string
        9995  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8060   9996   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8061   9997   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8062   9998   
                                        })
 8063         -
                        .map(|res|
        9999  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8064  10000   
                                        res.map_err(ConstraintViolation::PatternString)
 8065  10001   
                                    )
 8066  10002   
                                    .transpose()?
 8067  10003   
                    ,
 8068         -
                    map_of_pattern_string: self.map_of_pattern_string
 8069         -
                        .map(|v| match v {
       10004  +
                    /* ServerBuilderGenerator.kt:546 */map_of_pattern_string: self.map_of_pattern_string
       10005  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8070  10006   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8071  10007   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8072  10008   
                                        })
 8073         -
                        .map(|res|
       10009  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8074  10010   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::MapOfPatternString)
 8075  10011   
                                    )
 8076  10012   
                                    .transpose()?
 8077  10013   
                    ,
 8078         -
                    list_of_pattern_string: self.list_of_pattern_string
 8079         -
                        .map(|v| match v {
       10014  +
                    /* ServerBuilderGenerator.kt:546 */list_of_pattern_string: self.list_of_pattern_string
       10015  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8080  10016   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8081  10017   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8082  10018   
                                        })
 8083         -
                        .map(|res|
       10019  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8084  10020   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::ListOfPatternString)
 8085  10021   
                                    )
 8086  10022   
                                    .transpose()?
 8087  10023   
                    ,
 8088         -
                    set_of_pattern_string: self.set_of_pattern_string
 8089         -
                        .map(|v| match v {
       10024  +
                    /* ServerBuilderGenerator.kt:546 */set_of_pattern_string: self.set_of_pattern_string
       10025  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8090  10026   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8091  10027   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8092  10028   
                                        })
 8093         -
                        .map(|res|
       10029  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8094  10030   
                                        res.map_err(ConstraintViolation::SetOfPatternString)
 8095  10031   
                                    )
 8096  10032   
                                    .transpose()?
 8097  10033   
                    ,
 8098         -
                    length_length_pattern_string: self.length_length_pattern_string
 8099         -
                        .map(|v| match v {
       10034  +
                    /* ServerBuilderGenerator.kt:546 */length_length_pattern_string: self.length_length_pattern_string
       10035  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8100  10036   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8101  10037   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8102  10038   
                                        })
 8103         -
                        .map(|res|
       10039  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8104  10040   
                                        res.map_err(ConstraintViolation::LengthLengthPatternString)
 8105  10041   
                                    )
 8106  10042   
                                    .transpose()?
 8107  10043   
                    ,
 8108         -
                    map_of_length_pattern_string: self.map_of_length_pattern_string
 8109         -
                        .map(|v| match v {
       10044  +
                    /* ServerBuilderGenerator.kt:546 */map_of_length_pattern_string: self.map_of_length_pattern_string
       10045  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8110  10046   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8111  10047   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8112  10048   
                                        })
 8113         -
                        .map(|res|
       10049  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8114  10050   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::MapOfLengthPatternString)
 8115  10051   
                                    )
 8116  10052   
                                    .transpose()?
 8117  10053   
                    ,
 8118         -
                    list_of_length_pattern_string: self.list_of_length_pattern_string
 8119         -
                        .map(|v| match v {
       10054  +
                    /* ServerBuilderGenerator.kt:546 */list_of_length_pattern_string: self.list_of_length_pattern_string
       10055  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8120  10056   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8121  10057   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8122  10058   
                                        })
 8123         -
                        .map(|res|
       10059  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8124  10060   
                                        res.map(|v| v.into()).map_err(ConstraintViolation::ListOfLengthPatternString)
 8125  10061   
                                    )
 8126  10062   
                                    .transpose()?
 8127  10063   
                    ,
 8128         -
                    set_of_length_pattern_string: self.set_of_length_pattern_string
 8129         -
                        .map(|v| match v {
       10064  +
                    /* ServerBuilderGenerator.kt:546 */set_of_length_pattern_string: self.set_of_length_pattern_string
       10065  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8130  10066   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8131  10067   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8132  10068   
                                        })
 8133         -
                        .map(|res|
       10069  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8134  10070   
                                        res.map_err(ConstraintViolation::SetOfLengthPatternString)
 8135  10071   
                                    )
 8136  10072   
                                    .transpose()?
 8137  10073   
                    ,
 8138         -
                    length_list_of_pattern_string: self.length_list_of_pattern_string
 8139         -
                        .map(|v| match v {
       10074  +
                    /* ServerBuilderGenerator.kt:546 */length_list_of_pattern_string: self.length_list_of_pattern_string
       10075  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8140  10076   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8141  10077   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8142  10078   
                                        })
 8143         -
                        .map(|res|
       10079  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8144  10080   
                                        res.map_err(ConstraintViolation::LengthListOfPatternString)
 8145  10081   
                                    )
 8146  10082   
                                    .transpose()?
 8147  10083   
                    ,
 8148         -
                    length_set_of_pattern_string: self.length_set_of_pattern_string
 8149         -
                        .map(|v| match v {
       10084  +
                    /* ServerBuilderGenerator.kt:546 */length_set_of_pattern_string: self.length_set_of_pattern_string
       10085  +
                        /* ServerBuilderGenerator.kt:602 */.map(|v| match v {
 8150  10086   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8151  10087   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8152  10088   
                                        })
 8153         -
                        .map(|res|
       10089  +
                        /* ServerBuilderGenerator.kt:614 */.map(|res|
 8154  10090   
                                        res.map_err(ConstraintViolation::LengthSetOfPatternString)
 8155  10091   
                                    )
 8156  10092   
                                    .transpose()?
 8157  10093   
                    ,
       10094  +
                /* ServerBuilderGenerator.kt:542 */}
       10095  +
            /* ServerBuilderGenerator.kt:287 */)
       10096  +
            /* ServerBuilderGenerator.kt:283 */
 8158  10097   
        }
 8159         -
            )
 8160         -
        }
       10098  +
        /* ServerBuilderGenerator.kt:215 */
 8161  10099   
    }
       10100  +
       10101  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8162  10102   
}
 8163         -
/// See [`LengthSetOfPatternString`](crate::model::LengthSetOfPatternString).
       10103  +
/// /* CodegenDelegator.kt:51 */See [`LengthSetOfPatternString`](crate::model::LengthSetOfPatternString).
 8164  10104   
pub mod length_set_of_pattern_string {
 8165  10105   
       10106  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 8166  10107   
    #[allow(clippy::enum_variant_names)]
 8167  10108   
    #[derive(Debug, PartialEq)]
 8168  10109   
    pub enum ConstraintViolation {
 8169  10110   
        /// Constraint violation error when the list doesn't have the required length
 8170  10111   
        Length(usize),
 8171  10112   
        /// Constraint violation error when the list does not contain unique items
 8172  10113   
        UniqueItems {
 8173  10114   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 8174  10115   
            /// at least two elements.
 8175  10116   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 8176  10117   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 8177  10118   
            /// Nothing is guaranteed about the order of the indices.
 8178  10119   
            duplicate_indices: ::std::vec::Vec<usize>,
 8179  10120   
            /// The original vector, that contains duplicate items.
 8180  10121   
            original: ::std::vec::Vec<crate::model::PatternString>,
 8181  10122   
        },
 8182  10123   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 8183  10124   
        /// The first component of the tuple is the index in the collection where the
 8184  10125   
        /// first constraint violation was found.
 8185  10126   
        #[doc(hidden)]
 8186  10127   
        Member(usize, crate::model::pattern_string::ConstraintViolation),
 8187  10128   
    }
 8188  10129   
 8189  10130   
    impl ::std::fmt::Display for ConstraintViolation {
 8190  10131   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8191  10132   
            let message = match self {
 8192  10133   
                                Self::Length(length) => {
 8193  10134   
                            format!("Value with length {} provided for 'com.amazonaws.constraints#LengthSetOfPatternString' failed to satisfy constraint: Member must have length between 5 and 9, inclusive", length)
 8194  10135   
                        },
 8195  10136   
    Self::UniqueItems { duplicate_indices, .. } =>
 8196  10137   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#LengthSetOfPatternString' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 8197  10138   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 8198  10139   
                           failing_member)
 8199  10140   
                            };
 8200  10141   
            write!(f, "{message}")
 8201  10142   
        }
 8202  10143   
    }
 8203  10144   
 8204  10145   
    impl ::std::error::Error for ConstraintViolation {}
       10146  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 8205  10147   
    impl ConstraintViolation {
 8206  10148   
        pub(crate) fn as_validation_exception_field(
 8207  10149   
            self,
 8208  10150   
            path: ::std::string::String,
 8209  10151   
        ) -> crate::model::ValidationExceptionField {
 8210  10152   
            match self {
 8211  10153   
                        Self::Length(length) => crate::model::ValidationExceptionField {
 8212  10154   
                                message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 5 and 9, inclusive", length, &path),
 8213  10155   
                                path,
 8214  10156   
                            },
 8215  10157   
    Self::UniqueItems { duplicate_indices, .. } =>
 8216  10158   
                                crate::model::ValidationExceptionField {
 8217  10159   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 8218  10160   
                                    path,
 8219  10161   
                                },
 8220  10162   
    Self::Member(index, member_constraint_violation) =>
 8221  10163   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 8222  10164   
                    }
 8223  10165   
        }
 8224  10166   
    }
       10167  +
       10168  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8225  10169   
}
 8226         -
/// See [`SetOfLengthPatternString`](crate::model::SetOfLengthPatternString).
       10170  +
/// /* CodegenDelegator.kt:51 */See [`SetOfLengthPatternString`](crate::model::SetOfLengthPatternString).
 8227  10171   
pub mod set_of_length_pattern_string {
 8228  10172   
       10173  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 8229  10174   
    #[allow(clippy::enum_variant_names)]
 8230  10175   
    #[derive(Debug, PartialEq)]
 8231  10176   
    pub enum ConstraintViolation {
 8232  10177   
        /// Constraint violation error when the list does not contain unique items
 8233  10178   
        UniqueItems {
 8234  10179   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 8235  10180   
            /// at least two elements.
 8236  10181   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 8237  10182   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 8238  10183   
            /// Nothing is guaranteed about the order of the indices.
 8239  10184   
            duplicate_indices: ::std::vec::Vec<usize>,
 8240  10185   
            /// The original vector, that contains duplicate items.
 8241  10186   
            original: ::std::vec::Vec<crate::model::LengthPatternString>,
 8242  10187   
        },
 8243  10188   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 8244  10189   
        /// The first component of the tuple is the index in the collection where the
 8245  10190   
        /// first constraint violation was found.
 8246  10191   
        #[doc(hidden)]
 8247  10192   
        Member(
 8248  10193   
            usize,
 8249  10194   
            crate::model::length_pattern_string::ConstraintViolation,
 8250  10195   
        ),
 8251  10196   
    }
 8252  10197   
 8253  10198   
    impl ::std::fmt::Display for ConstraintViolation {
 8254  10199   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8255  10200   
            let message = match self {
 8256  10201   
                                Self::UniqueItems { duplicate_indices, .. } =>
 8257  10202   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#SetOfLengthPatternString' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 8258  10203   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 8259  10204   
                           failing_member)
 8260  10205   
                            };
 8261  10206   
            write!(f, "{message}")
 8262  10207   
        }
 8263  10208   
    }
 8264  10209   
 8265  10210   
    impl ::std::error::Error for ConstraintViolation {}
       10211  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 8266  10212   
    impl ConstraintViolation {
 8267  10213   
        pub(crate) fn as_validation_exception_field(
 8268  10214   
            self,
 8269  10215   
            path: ::std::string::String,
 8270  10216   
        ) -> crate::model::ValidationExceptionField {
 8271  10217   
            match self {
 8272  10218   
                        Self::UniqueItems { duplicate_indices, .. } =>
 8273  10219   
                                crate::model::ValidationExceptionField {
 8274  10220   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 8275  10221   
                                    path,
 8276  10222   
                                },
 8277  10223   
    Self::Member(index, member_constraint_violation) =>
 8278  10224   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 8279  10225   
                    }
 8280  10226   
        }
 8281  10227   
    }
       10228  +
       10229  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8282  10230   
}
 8283         -
/// See [`SetOfPatternString`](crate::model::SetOfPatternString).
       10231  +
/// /* CodegenDelegator.kt:51 */See [`SetOfPatternString`](crate::model::SetOfPatternString).
 8284  10232   
pub mod set_of_pattern_string {
 8285  10233   
       10234  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 8286  10235   
    #[allow(clippy::enum_variant_names)]
 8287  10236   
    #[derive(Debug, PartialEq)]
 8288  10237   
    pub enum ConstraintViolation {
 8289  10238   
        /// Constraint violation error when the list does not contain unique items
 8290  10239   
        UniqueItems {
 8291  10240   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 8292  10241   
            /// at least two elements.
 8293  10242   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 8294  10243   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 8295  10244   
            /// Nothing is guaranteed about the order of the indices.
 8296  10245   
            duplicate_indices: ::std::vec::Vec<usize>,
 8297  10246   
            /// The original vector, that contains duplicate items.
 8298  10247   
            original: ::std::vec::Vec<crate::model::PatternString>,
 8299  10248   
        },
 8300  10249   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 8301  10250   
        /// The first component of the tuple is the index in the collection where the
 8302  10251   
        /// first constraint violation was found.
 8303  10252   
        #[doc(hidden)]
 8304  10253   
        Member(usize, crate::model::pattern_string::ConstraintViolation),
 8305  10254   
    }
 8306  10255   
 8307  10256   
    impl ::std::fmt::Display for ConstraintViolation {
 8308  10257   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8309  10258   
            let message = match self {
 8310  10259   
                                Self::UniqueItems { duplicate_indices, .. } =>
 8311  10260   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#SetOfPatternString' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 8312  10261   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 8313  10262   
                           failing_member)
 8314  10263   
                            };
 8315  10264   
            write!(f, "{message}")
 8316  10265   
        }
 8317  10266   
    }
 8318  10267   
 8319  10268   
    impl ::std::error::Error for ConstraintViolation {}
       10269  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 8320  10270   
    impl ConstraintViolation {
 8321  10271   
        pub(crate) fn as_validation_exception_field(
 8322  10272   
            self,
 8323  10273   
            path: ::std::string::String,
 8324  10274   
        ) -> crate::model::ValidationExceptionField {
 8325  10275   
            match self {
 8326  10276   
                        Self::UniqueItems { duplicate_indices, .. } =>
 8327  10277   
                                crate::model::ValidationExceptionField {
 8328  10278   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 8329  10279   
                                    path,
 8330  10280   
                                },
 8331  10281   
    Self::Member(index, member_constraint_violation) =>
 8332  10282   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 8333  10283   
                    }
 8334  10284   
        }
 8335  10285   
    }
       10286  +
       10287  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8336  10288   
}
 8337  10289   
pub mod map_of_range_byte {
 8338  10290   
       10291  +
    /* MapConstraintViolationGenerator.kt:82 */
 8339  10292   
    #[allow(clippy::enum_variant_names)]
 8340  10293   
    #[derive(Debug, PartialEq)]
 8341  10294   
    pub enum ConstraintViolation {
 8342  10295   
        #[doc(hidden)]
 8343  10296   
        Value(
 8344  10297   
            ::std::string::String,
 8345  10298   
            crate::model::range_byte::ConstraintViolation,
 8346  10299   
        ),
 8347  10300   
    }
 8348  10301   
 8349  10302   
    impl ::std::fmt::Display for ConstraintViolation {
 8350  10303   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8351  10304   
            match self {
 8352  10305   
                Self::Value(_, value_constraint_violation) => {
 8353  10306   
                    write!(f, "{}", value_constraint_violation)
 8354  10307   
                }
 8355  10308   
            }
 8356  10309   
        }
 8357  10310   
    }
 8358  10311   
 8359  10312   
    impl ::std::error::Error for ConstraintViolation {}
       10313  +
    /* MapConstraintViolationGenerator.kt:111 */
 8360  10314   
    impl ConstraintViolation {
 8361  10315   
        pub(crate) fn as_validation_exception_field(
 8362  10316   
            self,
 8363  10317   
            path: ::std::string::String,
 8364  10318   
        ) -> crate::model::ValidationExceptionField {
 8365  10319   
            match self {
 8366  10320   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 8367  10321   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 8368  10322   
            }
 8369  10323   
        }
 8370  10324   
    }
       10325  +
       10326  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8371  10327   
}
 8372         -
/// See [`RangeByte`](crate::model::RangeByte).
       10328  +
/// /* CodegenDelegator.kt:51 */See [`RangeByte`](crate::model::RangeByte).
 8373  10329   
pub mod range_byte {
 8374  10330   
       10331  +
    /* ConstrainedNumberGenerator.kt:139 */
 8375  10332   
    #[derive(Debug, PartialEq)]
 8376  10333   
    pub enum ConstraintViolation {
 8377  10334   
        Range(i8),
 8378  10335   
    }
 8379  10336   
 8380  10337   
    impl ::std::fmt::Display for ConstraintViolation {
 8381  10338   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8382  10339   
            write!(f, "Value for `com.amazonaws.constraints#RangeByte`failed to satisfy constraint: Member must be between 0 and 10, inclusive")
 8383  10340   
        }
 8384  10341   
    }
 8385  10342   
 8386  10343   
    impl ::std::error::Error for ConstraintViolation {}
       10344  +
    /* ConstrainedNumberGenerator.kt:159 */
 8387  10345   
    impl ConstraintViolation {
 8388  10346   
        pub(crate) fn as_validation_exception_field(
 8389  10347   
            self,
 8390  10348   
            path: ::std::string::String,
 8391  10349   
        ) -> crate::model::ValidationExceptionField {
 8392  10350   
            match self {
 8393  10351   
                            Self::Range(_) => crate::model::ValidationExceptionField {
 8394  10352   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 0 and 10, inclusive", &path),
 8395  10353   
                            path,
 8396  10354   
                        },
 8397  10355   
                        }
 8398  10356   
        }
 8399  10357   
    }
       10358  +
       10359  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8400  10360   
}
 8401         -
/// See [`SetOfRangeByte`](crate::model::SetOfRangeByte).
       10361  +
/// /* CodegenDelegator.kt:51 */See [`SetOfRangeByte`](crate::model::SetOfRangeByte).
 8402  10362   
pub mod set_of_range_byte {
 8403  10363   
       10364  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 8404  10365   
    #[allow(clippy::enum_variant_names)]
 8405  10366   
    #[derive(Debug, PartialEq)]
 8406  10367   
    pub enum ConstraintViolation {
 8407  10368   
        /// Constraint violation error when the list does not contain unique items
 8408  10369   
        UniqueItems {
 8409  10370   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 8410  10371   
            /// at least two elements.
 8411  10372   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 8412  10373   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 8413  10374   
            /// Nothing is guaranteed about the order of the indices.
 8414  10375   
            duplicate_indices: ::std::vec::Vec<usize>,
 8415  10376   
            /// The original vector, that contains duplicate items.
 8416  10377   
            original: ::std::vec::Vec<crate::model::RangeByte>,
 8417  10378   
        },
 8418  10379   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 8419  10380   
        /// The first component of the tuple is the index in the collection where the
 8420  10381   
        /// first constraint violation was found.
 8421  10382   
        #[doc(hidden)]
 8422  10383   
        Member(usize, crate::model::range_byte::ConstraintViolation),
 8423  10384   
    }
 8424  10385   
 8425  10386   
    impl ::std::fmt::Display for ConstraintViolation {
 8426  10387   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8427  10388   
            let message = match self {
 8428  10389   
                                Self::UniqueItems { duplicate_indices, .. } =>
 8429  10390   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#SetOfRangeByte' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 8430  10391   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 8431  10392   
                           failing_member)
 8432  10393   
                            };
 8433  10394   
            write!(f, "{message}")
 8434  10395   
        }
 8435  10396   
    }
 8436  10397   
 8437  10398   
    impl ::std::error::Error for ConstraintViolation {}
       10399  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 8438  10400   
    impl ConstraintViolation {
 8439  10401   
        pub(crate) fn as_validation_exception_field(
 8440  10402   
            self,
 8441  10403   
            path: ::std::string::String,
 8442  10404   
        ) -> crate::model::ValidationExceptionField {
 8443  10405   
            match self {
 8444  10406   
                        Self::UniqueItems { duplicate_indices, .. } =>
 8445  10407   
                                crate::model::ValidationExceptionField {
 8446  10408   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 8447  10409   
                                    path,
 8448  10410   
                                },
 8449  10411   
    Self::Member(index, member_constraint_violation) =>
 8450  10412   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 8451  10413   
                    }
 8452  10414   
        }
 8453  10415   
    }
       10416  +
       10417  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8454  10418   
}
 8455  10419   
pub mod list_of_range_byte {
 8456  10420   
       10421  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 8457  10422   
    #[allow(clippy::enum_variant_names)]
 8458  10423   
    #[derive(Debug, PartialEq)]
 8459  10424   
    pub enum ConstraintViolation {
 8460  10425   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 8461  10426   
        /// The first component of the tuple is the index in the collection where the
 8462  10427   
        /// first constraint violation was found.
 8463  10428   
        #[doc(hidden)]
 8464  10429   
        Member(usize, crate::model::range_byte::ConstraintViolation),
 8465  10430   
    }
 8466  10431   
 8467  10432   
    impl ::std::fmt::Display for ConstraintViolation {
 8468  10433   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8469  10434   
            let message = match self {
 8470  10435   
                Self::Member(index, failing_member) => format!(
 8471  10436   
                    "Value at index {index} failed to satisfy constraint. {}",
 8472  10437   
                    failing_member
 8473  10438   
                ),
 8474  10439   
            };
 8475  10440   
            write!(f, "{message}")
 8476  10441   
        }
 8477  10442   
    }
 8478  10443   
 8479  10444   
    impl ::std::error::Error for ConstraintViolation {}
       10445  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 8480  10446   
    impl ConstraintViolation {
 8481  10447   
        pub(crate) fn as_validation_exception_field(
 8482  10448   
            self,
 8483  10449   
            path: ::std::string::String,
 8484  10450   
        ) -> crate::model::ValidationExceptionField {
 8485  10451   
            match self {
 8486  10452   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 8487  10453   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 8488  10454   
            }
 8489  10455   
        }
 8490  10456   
    }
       10457  +
       10458  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8491  10459   
}
 8492  10460   
pub mod map_of_range_long {
 8493  10461   
       10462  +
    /* MapConstraintViolationGenerator.kt:82 */
 8494  10463   
    #[allow(clippy::enum_variant_names)]
 8495  10464   
    #[derive(Debug, PartialEq)]
 8496  10465   
    pub enum ConstraintViolation {
 8497  10466   
        #[doc(hidden)]
 8498  10467   
        Value(
 8499  10468   
            ::std::string::String,
 8500  10469   
            crate::model::range_long::ConstraintViolation,
 8501  10470   
        ),
 8502  10471   
    }
 8503  10472   
 8504  10473   
    impl ::std::fmt::Display for ConstraintViolation {
 8505  10474   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8506  10475   
            match self {
 8507  10476   
                Self::Value(_, value_constraint_violation) => {
 8508  10477   
                    write!(f, "{}", value_constraint_violation)
 8509  10478   
                }
 8510  10479   
            }
 8511  10480   
        }
 8512  10481   
    }
 8513  10482   
 8514  10483   
    impl ::std::error::Error for ConstraintViolation {}
       10484  +
    /* MapConstraintViolationGenerator.kt:111 */
 8515  10485   
    impl ConstraintViolation {
 8516  10486   
        pub(crate) fn as_validation_exception_field(
 8517  10487   
            self,
 8518  10488   
            path: ::std::string::String,
 8519  10489   
        ) -> crate::model::ValidationExceptionField {
 8520  10490   
            match self {
 8521  10491   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 8522  10492   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 8523  10493   
            }
 8524  10494   
        }
 8525  10495   
    }
       10496  +
       10497  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8526  10498   
}
 8527         -
/// See [`RangeLong`](crate::model::RangeLong).
       10499  +
/// /* CodegenDelegator.kt:51 */See [`RangeLong`](crate::model::RangeLong).
 8528  10500   
pub mod range_long {
 8529  10501   
       10502  +
    /* ConstrainedNumberGenerator.kt:139 */
 8530  10503   
    #[derive(Debug, PartialEq)]
 8531  10504   
    pub enum ConstraintViolation {
 8532  10505   
        Range(i64),
 8533  10506   
    }
 8534  10507   
 8535  10508   
    impl ::std::fmt::Display for ConstraintViolation {
 8536  10509   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8537  10510   
            write!(f, "Value for `com.amazonaws.constraints#RangeLong`failed to satisfy constraint: Member must be between 0 and 10, inclusive")
 8538  10511   
        }
 8539  10512   
    }
 8540  10513   
 8541  10514   
    impl ::std::error::Error for ConstraintViolation {}
       10515  +
    /* ConstrainedNumberGenerator.kt:159 */
 8542  10516   
    impl ConstraintViolation {
 8543  10517   
        pub(crate) fn as_validation_exception_field(
 8544  10518   
            self,
 8545  10519   
            path: ::std::string::String,
 8546  10520   
        ) -> crate::model::ValidationExceptionField {
 8547  10521   
            match self {
 8548  10522   
                            Self::Range(_) => crate::model::ValidationExceptionField {
 8549  10523   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 0 and 10, inclusive", &path),
 8550  10524   
                            path,
 8551  10525   
                        },
 8552  10526   
                        }
 8553  10527   
        }
 8554  10528   
    }
       10529  +
       10530  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8555  10531   
}
 8556         -
/// See [`SetOfRangeLong`](crate::model::SetOfRangeLong).
       10532  +
/// /* CodegenDelegator.kt:51 */See [`SetOfRangeLong`](crate::model::SetOfRangeLong).
 8557  10533   
pub mod set_of_range_long {
 8558  10534   
       10535  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 8559  10536   
    #[allow(clippy::enum_variant_names)]
 8560  10537   
    #[derive(Debug, PartialEq)]
 8561  10538   
    pub enum ConstraintViolation {
 8562  10539   
        /// Constraint violation error when the list does not contain unique items
 8563  10540   
        UniqueItems {
 8564  10541   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 8565  10542   
            /// at least two elements.
 8566  10543   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 8567  10544   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 8568  10545   
            /// Nothing is guaranteed about the order of the indices.
 8569  10546   
            duplicate_indices: ::std::vec::Vec<usize>,
 8570  10547   
            /// The original vector, that contains duplicate items.
 8571  10548   
            original: ::std::vec::Vec<crate::model::RangeLong>,
 8572  10549   
        },
 8573  10550   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 8574  10551   
        /// The first component of the tuple is the index in the collection where the
 8575  10552   
        /// first constraint violation was found.
 8576  10553   
        #[doc(hidden)]
 8577  10554   
        Member(usize, crate::model::range_long::ConstraintViolation),
 8578  10555   
    }
 8579  10556   
 8580  10557   
    impl ::std::fmt::Display for ConstraintViolation {
 8581  10558   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8582  10559   
            let message = match self {
 8583  10560   
                                Self::UniqueItems { duplicate_indices, .. } =>
 8584  10561   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#SetOfRangeLong' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 8585  10562   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 8586  10563   
                           failing_member)
 8587  10564   
                            };
 8588  10565   
            write!(f, "{message}")
 8589  10566   
        }
 8590  10567   
    }
 8591  10568   
 8592  10569   
    impl ::std::error::Error for ConstraintViolation {}
       10570  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 8593  10571   
    impl ConstraintViolation {
 8594  10572   
        pub(crate) fn as_validation_exception_field(
 8595  10573   
            self,
 8596  10574   
            path: ::std::string::String,
 8597  10575   
        ) -> crate::model::ValidationExceptionField {
 8598  10576   
            match self {
 8599  10577   
                        Self::UniqueItems { duplicate_indices, .. } =>
 8600  10578   
                                crate::model::ValidationExceptionField {
 8601  10579   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 8602  10580   
                                    path,
 8603  10581   
                                },
 8604  10582   
    Self::Member(index, member_constraint_violation) =>
 8605  10583   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 8606  10584   
                    }
 8607  10585   
        }
 8608  10586   
    }
       10587  +
       10588  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8609  10589   
}
 8610  10590   
pub mod list_of_range_long {
 8611  10591   
       10592  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 8612  10593   
    #[allow(clippy::enum_variant_names)]
 8613  10594   
    #[derive(Debug, PartialEq)]
 8614  10595   
    pub enum ConstraintViolation {
 8615  10596   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 8616  10597   
        /// The first component of the tuple is the index in the collection where the
 8617  10598   
        /// first constraint violation was found.
 8618  10599   
        #[doc(hidden)]
 8619  10600   
        Member(usize, crate::model::range_long::ConstraintViolation),
 8620  10601   
    }
 8621  10602   
 8622  10603   
    impl ::std::fmt::Display for ConstraintViolation {
 8623  10604   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8624  10605   
            let message = match self {
 8625  10606   
                Self::Member(index, failing_member) => format!(
 8626  10607   
                    "Value at index {index} failed to satisfy constraint. {}",
 8627  10608   
                    failing_member
 8628  10609   
                ),
 8629  10610   
            };
 8630  10611   
            write!(f, "{message}")
 8631  10612   
        }
 8632  10613   
    }
 8633  10614   
 8634  10615   
    impl ::std::error::Error for ConstraintViolation {}
       10616  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 8635  10617   
    impl ConstraintViolation {
 8636  10618   
        pub(crate) fn as_validation_exception_field(
 8637  10619   
            self,
 8638  10620   
            path: ::std::string::String,
 8639  10621   
        ) -> crate::model::ValidationExceptionField {
 8640  10622   
            match self {
 8641  10623   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 8642  10624   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 8643  10625   
            }
 8644  10626   
        }
 8645  10627   
    }
       10628  +
       10629  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8646  10630   
}
 8647  10631   
pub mod map_of_range_short {
 8648  10632   
       10633  +
    /* MapConstraintViolationGenerator.kt:82 */
 8649  10634   
    #[allow(clippy::enum_variant_names)]
 8650  10635   
    #[derive(Debug, PartialEq)]
 8651  10636   
    pub enum ConstraintViolation {
 8652  10637   
        #[doc(hidden)]
 8653  10638   
        Value(
 8654  10639   
            ::std::string::String,
 8655  10640   
            crate::model::range_short::ConstraintViolation,
 8656  10641   
        ),
 8657  10642   
    }
 8658  10643   
 8659  10644   
    impl ::std::fmt::Display for ConstraintViolation {
 8660  10645   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8661  10646   
            match self {
 8662  10647   
                Self::Value(_, value_constraint_violation) => {
 8663  10648   
                    write!(f, "{}", value_constraint_violation)
 8664  10649   
                }
 8665  10650   
            }
 8666  10651   
        }
 8667  10652   
    }
 8668  10653   
 8669  10654   
    impl ::std::error::Error for ConstraintViolation {}
       10655  +
    /* MapConstraintViolationGenerator.kt:111 */
 8670  10656   
    impl ConstraintViolation {
 8671  10657   
        pub(crate) fn as_validation_exception_field(
 8672  10658   
            self,
 8673  10659   
            path: ::std::string::String,
 8674  10660   
        ) -> crate::model::ValidationExceptionField {
 8675  10661   
            match self {
 8676  10662   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 8677  10663   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 8678  10664   
            }
 8679  10665   
        }
 8680  10666   
    }
       10667  +
       10668  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8681  10669   
}
 8682         -
/// See [`RangeShort`](crate::model::RangeShort).
       10670  +
/// /* CodegenDelegator.kt:51 */See [`RangeShort`](crate::model::RangeShort).
 8683  10671   
pub mod range_short {
 8684  10672   
       10673  +
    /* ConstrainedNumberGenerator.kt:139 */
 8685  10674   
    #[derive(Debug, PartialEq)]
 8686  10675   
    pub enum ConstraintViolation {
 8687  10676   
        Range(i16),
 8688  10677   
    }
 8689  10678   
 8690  10679   
    impl ::std::fmt::Display for ConstraintViolation {
 8691  10680   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8692  10681   
            write!(f, "Value for `com.amazonaws.constraints#RangeShort`failed to satisfy constraint: Member must be between 0 and 10, inclusive")
 8693  10682   
        }
 8694  10683   
    }
 8695  10684   
 8696  10685   
    impl ::std::error::Error for ConstraintViolation {}
       10686  +
    /* ConstrainedNumberGenerator.kt:159 */
 8697  10687   
    impl ConstraintViolation {
 8698  10688   
        pub(crate) fn as_validation_exception_field(
 8699  10689   
            self,
 8700  10690   
            path: ::std::string::String,
 8701  10691   
        ) -> crate::model::ValidationExceptionField {
 8702  10692   
            match self {
 8703  10693   
                            Self::Range(_) => crate::model::ValidationExceptionField {
 8704  10694   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 0 and 10, inclusive", &path),
 8705  10695   
                            path,
 8706  10696   
                        },
 8707  10697   
                        }
 8708  10698   
        }
 8709  10699   
    }
       10700  +
       10701  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8710  10702   
}
 8711         -
/// See [`SetOfRangeShort`](crate::model::SetOfRangeShort).
       10703  +
/// /* CodegenDelegator.kt:51 */See [`SetOfRangeShort`](crate::model::SetOfRangeShort).
 8712  10704   
pub mod set_of_range_short {
 8713  10705   
       10706  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 8714  10707   
    #[allow(clippy::enum_variant_names)]
 8715  10708   
    #[derive(Debug, PartialEq)]
 8716  10709   
    pub enum ConstraintViolation {
 8717  10710   
        /// Constraint violation error when the list does not contain unique items
 8718  10711   
        UniqueItems {
 8719  10712   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 8720  10713   
            /// at least two elements.
 8721  10714   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 8722  10715   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 8723  10716   
            /// Nothing is guaranteed about the order of the indices.
 8724  10717   
            duplicate_indices: ::std::vec::Vec<usize>,
 8725  10718   
            /// The original vector, that contains duplicate items.
 8726  10719   
            original: ::std::vec::Vec<crate::model::RangeShort>,
 8727  10720   
        },
 8728  10721   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 8729  10722   
        /// The first component of the tuple is the index in the collection where the
 8730  10723   
        /// first constraint violation was found.
 8731  10724   
        #[doc(hidden)]
 8732  10725   
        Member(usize, crate::model::range_short::ConstraintViolation),
 8733  10726   
    }
 8734  10727   
 8735  10728   
    impl ::std::fmt::Display for ConstraintViolation {
 8736  10729   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8737  10730   
            let message = match self {
 8738  10731   
                                Self::UniqueItems { duplicate_indices, .. } =>
 8739  10732   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#SetOfRangeShort' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 8740  10733   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 8741  10734   
                           failing_member)
 8742  10735   
                            };
 8743  10736   
            write!(f, "{message}")
 8744  10737   
        }
 8745  10738   
    }
 8746  10739   
 8747  10740   
    impl ::std::error::Error for ConstraintViolation {}
       10741  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 8748  10742   
    impl ConstraintViolation {
 8749  10743   
        pub(crate) fn as_validation_exception_field(
 8750  10744   
            self,
 8751  10745   
            path: ::std::string::String,
 8752  10746   
        ) -> crate::model::ValidationExceptionField {
 8753  10747   
            match self {
 8754  10748   
                        Self::UniqueItems { duplicate_indices, .. } =>
 8755  10749   
                                crate::model::ValidationExceptionField {
 8756  10750   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 8757  10751   
                                    path,
 8758  10752   
                                },
 8759  10753   
    Self::Member(index, member_constraint_violation) =>
 8760  10754   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 8761  10755   
                    }
 8762  10756   
        }
 8763  10757   
    }
       10758  +
       10759  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8764  10760   
}
 8765  10761   
pub mod list_of_range_short {
 8766  10762   
       10763  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 8767  10764   
    #[allow(clippy::enum_variant_names)]
 8768  10765   
    #[derive(Debug, PartialEq)]
 8769  10766   
    pub enum ConstraintViolation {
 8770  10767   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 8771  10768   
        /// The first component of the tuple is the index in the collection where the
 8772  10769   
        /// first constraint violation was found.
 8773  10770   
        #[doc(hidden)]
 8774  10771   
        Member(usize, crate::model::range_short::ConstraintViolation),
 8775  10772   
    }
 8776  10773   
 8777  10774   
    impl ::std::fmt::Display for ConstraintViolation {
 8778  10775   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8779  10776   
            let message = match self {
 8780  10777   
                Self::Member(index, failing_member) => format!(
 8781  10778   
                    "Value at index {index} failed to satisfy constraint. {}",
 8782  10779   
                    failing_member
 8783  10780   
                ),
 8784  10781   
            };
 8785  10782   
            write!(f, "{message}")
 8786  10783   
        }
 8787  10784   
    }
 8788  10785   
 8789  10786   
    impl ::std::error::Error for ConstraintViolation {}
       10787  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 8790  10788   
    impl ConstraintViolation {
 8791  10789   
        pub(crate) fn as_validation_exception_field(
 8792  10790   
            self,
 8793  10791   
            path: ::std::string::String,
 8794  10792   
        ) -> crate::model::ValidationExceptionField {
 8795  10793   
            match self {
 8796  10794   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 8797  10795   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 8798  10796   
            }
 8799  10797   
        }
 8800  10798   
    }
       10799  +
       10800  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8801  10801   
}
 8802  10802   
pub mod map_of_range_integer {
 8803  10803   
       10804  +
    /* MapConstraintViolationGenerator.kt:82 */
 8804  10805   
    #[allow(clippy::enum_variant_names)]
 8805  10806   
    #[derive(Debug, PartialEq)]
 8806  10807   
    pub enum ConstraintViolation {
 8807  10808   
        #[doc(hidden)]
 8808  10809   
        Value(
 8809  10810   
            ::std::string::String,
 8810  10811   
            crate::model::range_integer::ConstraintViolation,
 8811  10812   
        ),
 8812  10813   
    }
 8813  10814   
 8814  10815   
    impl ::std::fmt::Display for ConstraintViolation {
 8815  10816   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8816  10817   
            match self {
 8817  10818   
                Self::Value(_, value_constraint_violation) => {
 8818  10819   
                    write!(f, "{}", value_constraint_violation)
 8819  10820   
                }
 8820  10821   
            }
 8821  10822   
        }
 8822  10823   
    }
 8823  10824   
 8824  10825   
    impl ::std::error::Error for ConstraintViolation {}
       10826  +
    /* MapConstraintViolationGenerator.kt:111 */
 8825  10827   
    impl ConstraintViolation {
 8826  10828   
        pub(crate) fn as_validation_exception_field(
 8827  10829   
            self,
 8828  10830   
            path: ::std::string::String,
 8829  10831   
        ) -> crate::model::ValidationExceptionField {
 8830  10832   
            match self {
 8831  10833   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 8832  10834   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 8833  10835   
            }
 8834  10836   
        }
 8835  10837   
    }
       10838  +
       10839  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8836  10840   
}
 8837         -
/// See [`RangeInteger`](crate::model::RangeInteger).
       10841  +
/// /* CodegenDelegator.kt:51 */See [`RangeInteger`](crate::model::RangeInteger).
 8838  10842   
pub mod range_integer {
 8839  10843   
       10844  +
    /* ConstrainedNumberGenerator.kt:139 */
 8840  10845   
    #[derive(Debug, PartialEq)]
 8841  10846   
    pub enum ConstraintViolation {
 8842  10847   
        Range(i32),
 8843  10848   
    }
 8844  10849   
 8845  10850   
    impl ::std::fmt::Display for ConstraintViolation {
 8846  10851   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8847  10852   
            write!(f, "Value for `com.amazonaws.constraints#RangeInteger`failed to satisfy constraint: Member must be between 0 and 69, inclusive")
 8848  10853   
        }
 8849  10854   
    }
 8850  10855   
 8851  10856   
    impl ::std::error::Error for ConstraintViolation {}
       10857  +
    /* ConstrainedNumberGenerator.kt:159 */
 8852  10858   
    impl ConstraintViolation {
 8853  10859   
        pub(crate) fn as_validation_exception_field(
 8854  10860   
            self,
 8855  10861   
            path: ::std::string::String,
 8856  10862   
        ) -> crate::model::ValidationExceptionField {
 8857  10863   
            match self {
 8858  10864   
                            Self::Range(_) => crate::model::ValidationExceptionField {
 8859  10865   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 0 and 69, inclusive", &path),
 8860  10866   
                            path,
 8861  10867   
                        },
 8862  10868   
                        }
 8863  10869   
        }
 8864  10870   
    }
       10871  +
       10872  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8865  10873   
}
 8866         -
/// See [`SetOfRangeInteger`](crate::model::SetOfRangeInteger).
       10874  +
/// /* CodegenDelegator.kt:51 */See [`SetOfRangeInteger`](crate::model::SetOfRangeInteger).
 8867  10875   
pub mod set_of_range_integer {
 8868  10876   
       10877  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 8869  10878   
    #[allow(clippy::enum_variant_names)]
 8870  10879   
    #[derive(Debug, PartialEq)]
 8871  10880   
    pub enum ConstraintViolation {
 8872  10881   
        /// Constraint violation error when the list does not contain unique items
 8873  10882   
        UniqueItems {
 8874  10883   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 8875  10884   
            /// at least two elements.
 8876  10885   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 8877  10886   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 8878  10887   
            /// Nothing is guaranteed about the order of the indices.
 8879  10888   
            duplicate_indices: ::std::vec::Vec<usize>,
 8880  10889   
            /// The original vector, that contains duplicate items.
 8881  10890   
            original: ::std::vec::Vec<crate::model::RangeInteger>,
 8882  10891   
        },
 8883  10892   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 8884  10893   
        /// The first component of the tuple is the index in the collection where the
 8885  10894   
        /// first constraint violation was found.
 8886  10895   
        #[doc(hidden)]
 8887  10896   
        Member(usize, crate::model::range_integer::ConstraintViolation),
 8888  10897   
    }
 8889  10898   
 8890  10899   
    impl ::std::fmt::Display for ConstraintViolation {
 8891  10900   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8892  10901   
            let message = match self {
 8893  10902   
                                Self::UniqueItems { duplicate_indices, .. } =>
 8894  10903   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#SetOfRangeInteger' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 8895  10904   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 8896  10905   
                           failing_member)
 8897  10906   
                            };
 8898  10907   
            write!(f, "{message}")
 8899  10908   
        }
 8900  10909   
    }
 8901  10910   
 8902  10911   
    impl ::std::error::Error for ConstraintViolation {}
       10912  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 8903  10913   
    impl ConstraintViolation {
 8904  10914   
        pub(crate) fn as_validation_exception_field(
 8905  10915   
            self,
 8906  10916   
            path: ::std::string::String,
 8907  10917   
        ) -> crate::model::ValidationExceptionField {
 8908  10918   
            match self {
 8909  10919   
                        Self::UniqueItems { duplicate_indices, .. } =>
 8910  10920   
                                crate::model::ValidationExceptionField {
 8911  10921   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 8912  10922   
                                    path,
 8913  10923   
                                },
 8914  10924   
    Self::Member(index, member_constraint_violation) =>
 8915  10925   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 8916  10926   
                    }
 8917  10927   
        }
 8918  10928   
    }
       10929  +
       10930  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8919  10931   
}
 8920  10932   
pub mod list_of_range_integer {
 8921  10933   
       10934  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 8922  10935   
    #[allow(clippy::enum_variant_names)]
 8923  10936   
    #[derive(Debug, PartialEq)]
 8924  10937   
    pub enum ConstraintViolation {
 8925  10938   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 8926  10939   
        /// The first component of the tuple is the index in the collection where the
 8927  10940   
        /// first constraint violation was found.
 8928  10941   
        #[doc(hidden)]
 8929  10942   
        Member(usize, crate::model::range_integer::ConstraintViolation),
 8930  10943   
    }
 8931  10944   
 8932  10945   
    impl ::std::fmt::Display for ConstraintViolation {
 8933  10946   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8934  10947   
            let message = match self {
 8935  10948   
                Self::Member(index, failing_member) => format!(
 8936  10949   
                    "Value at index {index} failed to satisfy constraint. {}",
 8937  10950   
                    failing_member
 8938  10951   
                ),
 8939  10952   
            };
 8940  10953   
            write!(f, "{message}")
 8941  10954   
        }
 8942  10955   
    }
 8943  10956   
 8944  10957   
    impl ::std::error::Error for ConstraintViolation {}
       10958  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 8945  10959   
    impl ConstraintViolation {
 8946  10960   
        pub(crate) fn as_validation_exception_field(
 8947  10961   
            self,
 8948  10962   
            path: ::std::string::String,
 8949  10963   
        ) -> crate::model::ValidationExceptionField {
 8950  10964   
            match self {
 8951  10965   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 8952  10966   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 8953  10967   
            }
 8954  10968   
        }
 8955  10969   
    }
       10970  +
       10971  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8956  10972   
}
 8957  10973   
pub mod map_of_length_blob {
 8958  10974   
       10975  +
    /* MapConstraintViolationGenerator.kt:82 */
 8959  10976   
    #[allow(clippy::enum_variant_names)]
 8960  10977   
    #[derive(Debug, PartialEq)]
 8961  10978   
    pub enum ConstraintViolation {
 8962  10979   
        #[doc(hidden)]
 8963  10980   
        Value(
 8964  10981   
            ::std::string::String,
 8965  10982   
            crate::model::length_blob::ConstraintViolation,
 8966  10983   
        ),
 8967  10984   
    }
 8968  10985   
 8969  10986   
    impl ::std::fmt::Display for ConstraintViolation {
 8970  10987   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 8971  10988   
            match self {
 8972  10989   
                Self::Value(_, value_constraint_violation) => {
 8973  10990   
                    write!(f, "{}", value_constraint_violation)
 8974  10991   
                }
 8975  10992   
            }
 8976  10993   
        }
 8977  10994   
    }
 8978  10995   
 8979  10996   
    impl ::std::error::Error for ConstraintViolation {}
       10997  +
    /* MapConstraintViolationGenerator.kt:111 */
 8980  10998   
    impl ConstraintViolation {
 8981  10999   
        pub(crate) fn as_validation_exception_field(
 8982  11000   
            self,
 8983  11001   
            path: ::std::string::String,
 8984  11002   
        ) -> crate::model::ValidationExceptionField {
 8985  11003   
            match self {
 8986  11004   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 8987  11005   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 8988  11006   
            }
 8989  11007   
        }
 8990  11008   
    }
       11009  +
       11010  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 8991  11011   
}
 8992         -
/// See [`LengthBlob`](crate::model::LengthBlob).
       11012  +
/// /* CodegenDelegator.kt:51 */See [`LengthBlob`](crate::model::LengthBlob).
 8993  11013   
pub mod length_blob {
 8994  11014   
       11015  +
    /* ConstrainedBlobGenerator.kt:129 */
 8995  11016   
    #[derive(Debug, PartialEq)]
 8996  11017   
    pub enum ConstraintViolation {
 8997  11018   
        /// Error when a blob doesn't satisfy its `@length` requirements.
 8998  11019   
        Length(usize),
 8999  11020   
    }
 9000  11021   
 9001  11022   
    impl ::std::fmt::Display for ConstraintViolation {
 9002  11023   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9003  11024   
            let message = match self {
 9004  11025   
                Self::Length(length) => {
 9005  11026   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#LengthBlob' failed to satisfy constraint: Member must have length between 2 and 70, inclusive", length)
 9006  11027   
                }
 9007  11028   
            };
 9008  11029   
            write!(f, "{message}")
 9009  11030   
        }
 9010  11031   
    }
 9011  11032   
 9012  11033   
    impl ::std::error::Error for ConstraintViolation {}
       11034  +
    /* ConstrainedBlobGenerator.kt:154 */
 9013  11035   
    impl ConstraintViolation {
 9014  11036   
        pub(crate) fn as_validation_exception_field(
 9015  11037   
            self,
 9016  11038   
            path: ::std::string::String,
 9017  11039   
        ) -> crate::model::ValidationExceptionField {
 9018  11040   
            match self {
 9019  11041   
                            Self::Length(length) => crate::model::ValidationExceptionField {
 9020  11042   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 2 and 70, inclusive", length, &path),
 9021  11043   
                            path,
 9022  11044   
                        },
 9023  11045   
                        }
 9024  11046   
        }
 9025  11047   
    }
       11048  +
       11049  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9026  11050   
}
 9027  11051   
pub mod list_of_length_blob {
 9028  11052   
       11053  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9029  11054   
    #[allow(clippy::enum_variant_names)]
 9030  11055   
    #[derive(Debug, PartialEq)]
 9031  11056   
    pub enum ConstraintViolation {
 9032  11057   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 9033  11058   
        /// The first component of the tuple is the index in the collection where the
 9034  11059   
        /// first constraint violation was found.
 9035  11060   
        #[doc(hidden)]
 9036  11061   
        Member(usize, crate::model::length_blob::ConstraintViolation),
 9037  11062   
    }
 9038  11063   
 9039  11064   
    impl ::std::fmt::Display for ConstraintViolation {
 9040  11065   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9041  11066   
            let message = match self {
 9042  11067   
                Self::Member(index, failing_member) => format!(
 9043  11068   
                    "Value at index {index} failed to satisfy constraint. {}",
 9044  11069   
                    failing_member
 9045  11070   
                ),
 9046  11071   
            };
 9047  11072   
            write!(f, "{message}")
 9048  11073   
        }
 9049  11074   
    }
 9050  11075   
 9051  11076   
    impl ::std::error::Error for ConstraintViolation {}
       11077  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9052  11078   
    impl ConstraintViolation {
 9053  11079   
        pub(crate) fn as_validation_exception_field(
 9054  11080   
            self,
 9055  11081   
            path: ::std::string::String,
 9056  11082   
        ) -> crate::model::ValidationExceptionField {
 9057  11083   
            match self {
 9058  11084   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 9059  11085   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 9060  11086   
            }
 9061  11087   
        }
 9062  11088   
    }
       11089  +
       11090  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9063  11091   
}
 9064  11092   
pub mod constrained_union {
 9065  11093   
       11094  +
    /* RustType.kt:516 */
 9066  11095   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
       11096  +
    /* UnconstrainedUnionGenerator.kt:150 */
 9067  11097   
    #[allow(clippy::enum_variant_names)]
 9068  11098   
    pub enum ConstraintViolation {
       11099  +
        /* UnconstrainedUnionGenerator.kt:218 */
 9069  11100   
        ConBList(crate::model::con_b_list::ConstraintViolation),
       11101  +
        /* UnconstrainedUnionGenerator.kt:218 */
 9070  11102   
        ConBMap(crate::model::con_b_map::ConstraintViolation),
       11103  +
        /* UnconstrainedUnionGenerator.kt:218 */
 9071  11104   
        ConBSet(crate::model::con_b_set::ConstraintViolation),
       11105  +
        /* UnconstrainedUnionGenerator.kt:218 */
 9072  11106   
        ConstrainedStructure(crate::model::con_b::ConstraintViolation),
       11107  +
        /* UnconstrainedUnionGenerator.kt:218 */
 9073  11108   
        EnumString(crate::model::enum_string::ConstraintViolation),
       11109  +
        /* UnconstrainedUnionGenerator.kt:218 */
 9074  11110   
        LengthString(crate::model::length_string::ConstraintViolation),
       11111  +
        /* UnconstrainedUnionGenerator.kt:150 */
 9075  11112   
    }
       11113  +
    /* UnconstrainedUnionGenerator.kt:158 */
 9076  11114   
    impl ::std::fmt::Display for ConstraintViolation {
 9077  11115   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9078  11116   
            match self {
 9079  11117   
                Self::ConBList(inner) => write!(f, "{inner}"),
 9080  11118   
                Self::ConBMap(inner) => write!(f, "{inner}"),
 9081  11119   
                Self::ConBSet(inner) => write!(f, "{inner}"),
 9082  11120   
                Self::ConstrainedStructure(inner) => write!(f, "{inner}"),
 9083  11121   
                Self::EnumString(inner) => write!(f, "{inner}"),
 9084  11122   
                Self::LengthString(inner) => write!(f, "{inner}"),
 9085  11123   
            }
 9086  11124   
        }
 9087  11125   
    }
 9088  11126   
 9089  11127   
    impl ::std::error::Error for ConstraintViolation {}
       11128  +
    /* UnconstrainedUnionGenerator.kt:176 */
 9090  11129   
    impl ConstraintViolation {
 9091  11130   
        pub(crate) fn as_validation_exception_field(
 9092  11131   
            self,
 9093  11132   
            path: ::std::string::String,
 9094  11133   
        ) -> crate::model::ValidationExceptionField {
 9095  11134   
            match self {
 9096  11135   
                Self::ConBList(inner) => inner.as_validation_exception_field(path + "/conBList"),
 9097  11136   
                Self::ConBMap(inner) => inner.as_validation_exception_field(path + "/conBMap"),
 9098  11137   
                Self::ConBSet(inner) => inner.as_validation_exception_field(path + "/conBSet"),
 9099  11138   
                Self::ConstrainedStructure(inner) => {
 9100  11139   
                    inner.as_validation_exception_field(path + "/constrainedStructure")
 9101  11140   
                }
 9102  11141   
                Self::EnumString(inner) => {
 9103  11142   
                    inner.as_validation_exception_field(path + "/enumString")
 9104  11143   
                }
 9105  11144   
                Self::LengthString(inner) => {
 9106  11145   
                    inner.as_validation_exception_field(path + "/lengthString")
 9107  11146   
                }
 9108  11147   
            }
 9109  11148   
        }
 9110  11149   
    }
       11150  +
       11151  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9111  11152   
}
 9112         -
/// See [`ConBSet`](crate::model::ConBSet).
       11153  +
/// /* CodegenDelegator.kt:51 */See [`ConBSet`](crate::model::ConBSet).
 9113  11154   
pub mod con_b_set {
 9114  11155   
       11156  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9115  11157   
    #[allow(clippy::enum_variant_names)]
 9116  11158   
    #[derive(Debug, PartialEq)]
 9117  11159   
    pub enum ConstraintViolation {
 9118  11160   
        /// Constraint violation error when the list does not contain unique items
 9119  11161   
        UniqueItems {
 9120  11162   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 9121  11163   
            /// at least two elements.
 9122  11164   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 9123  11165   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 9124  11166   
            /// Nothing is guaranteed about the order of the indices.
 9125  11167   
            duplicate_indices: ::std::vec::Vec<usize>,
 9126  11168   
            /// The original vector, that contains duplicate items.
 9127  11169   
            original: ::std::vec::Vec<crate::model::ConBSetInner>,
 9128  11170   
        },
 9129  11171   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 9130  11172   
        /// The first component of the tuple is the index in the collection where the
 9131  11173   
        /// first constraint violation was found.
 9132  11174   
        #[doc(hidden)]
 9133  11175   
        Member(usize, crate::model::con_b_set_inner::ConstraintViolation),
 9134  11176   
    }
 9135  11177   
 9136  11178   
    impl ::std::fmt::Display for ConstraintViolation {
 9137  11179   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9138  11180   
            let message = match self {
 9139  11181   
                                Self::UniqueItems { duplicate_indices, .. } =>
 9140  11182   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#ConBSet' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 9141  11183   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 9142  11184   
                           failing_member)
 9143  11185   
                            };
 9144  11186   
            write!(f, "{message}")
 9145  11187   
        }
 9146  11188   
    }
 9147  11189   
 9148  11190   
    impl ::std::error::Error for ConstraintViolation {}
       11191  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9149  11192   
    impl ConstraintViolation {
 9150  11193   
        pub(crate) fn as_validation_exception_field(
 9151  11194   
            self,
 9152  11195   
            path: ::std::string::String,
 9153  11196   
        ) -> crate::model::ValidationExceptionField {
 9154  11197   
            match self {
 9155  11198   
                        Self::UniqueItems { duplicate_indices, .. } =>
 9156  11199   
                                crate::model::ValidationExceptionField {
 9157  11200   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 9158  11201   
                                    path,
 9159  11202   
                                },
 9160  11203   
    Self::Member(index, member_constraint_violation) =>
 9161  11204   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 9162  11205   
                    }
 9163  11206   
        }
 9164  11207   
    }
       11208  +
       11209  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9165  11210   
}
 9166         -
/// See [`ConBSetInner`](crate::model::ConBSetInner).
       11211  +
/// /* CodegenDelegator.kt:51 */See [`ConBSetInner`](crate::model::ConBSetInner).
 9167  11212   
pub mod con_b_set_inner {
 9168  11213   
       11214  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9169  11215   
    #[allow(clippy::enum_variant_names)]
 9170  11216   
    #[derive(Debug, PartialEq)]
 9171  11217   
    pub enum ConstraintViolation {
 9172  11218   
        /// Constraint violation error when the list does not contain unique items
 9173  11219   
        UniqueItems {
 9174  11220   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 9175  11221   
            /// at least two elements.
 9176  11222   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 9177  11223   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 9178  11224   
            /// Nothing is guaranteed about the order of the indices.
 9179  11225   
            duplicate_indices: ::std::vec::Vec<usize>,
 9180  11226   
            /// The original vector, that contains duplicate items.
 9181  11227   
            original: ::std::vec::Vec<::std::string::String>,
 9182  11228   
        },
 9183  11229   
    }
 9184  11230   
 9185  11231   
    impl ::std::fmt::Display for ConstraintViolation {
 9186  11232   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9187  11233   
            let message = match self {
 9188  11234   
                                Self::UniqueItems { duplicate_indices, .. } =>
 9189  11235   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#ConBSetInner' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 9190  11236   
                            };
 9191  11237   
            write!(f, "{message}")
 9192  11238   
        }
 9193  11239   
    }
 9194  11240   
 9195  11241   
    impl ::std::error::Error for ConstraintViolation {}
       11242  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9196  11243   
    impl ConstraintViolation {
 9197  11244   
        pub(crate) fn as_validation_exception_field(
 9198  11245   
            self,
 9199  11246   
            path: ::std::string::String,
 9200  11247   
        ) -> crate::model::ValidationExceptionField {
 9201  11248   
            match self {
 9202  11249   
                        Self::UniqueItems { duplicate_indices, .. } =>
 9203  11250   
                                crate::model::ValidationExceptionField {
 9204  11251   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 9205  11252   
                                    path,
 9206  11253   
                                },
 9207  11254   
                    }
 9208  11255   
        }
 9209  11256   
    }
       11257  +
       11258  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9210  11259   
}
 9211  11260   
pub mod con_b_list {
 9212  11261   
       11262  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9213  11263   
    #[allow(clippy::enum_variant_names)]
 9214  11264   
    #[derive(Debug, PartialEq)]
 9215  11265   
    pub enum ConstraintViolation {
 9216  11266   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 9217  11267   
        /// The first component of the tuple is the index in the collection where the
 9218  11268   
        /// first constraint violation was found.
 9219  11269   
        #[doc(hidden)]
 9220  11270   
        Member(usize, crate::model::con_b_list_inner::ConstraintViolation),
 9221  11271   
    }
 9222  11272   
 9223  11273   
    impl ::std::fmt::Display for ConstraintViolation {
 9224  11274   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9225  11275   
            let message = match self {
 9226  11276   
                Self::Member(index, failing_member) => format!(
 9227  11277   
                    "Value at index {index} failed to satisfy constraint. {}",
 9228  11278   
                    failing_member
 9229  11279   
                ),
 9230  11280   
            };
 9231  11281   
            write!(f, "{message}")
 9232  11282   
        }
 9233  11283   
    }
 9234  11284   
 9235  11285   
    impl ::std::error::Error for ConstraintViolation {}
       11286  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9236  11287   
    impl ConstraintViolation {
 9237  11288   
        pub(crate) fn as_validation_exception_field(
 9238  11289   
            self,
 9239  11290   
            path: ::std::string::String,
 9240  11291   
        ) -> crate::model::ValidationExceptionField {
 9241  11292   
            match self {
 9242  11293   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 9243  11294   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 9244  11295   
            }
 9245  11296   
        }
 9246  11297   
    }
       11298  +
       11299  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9247  11300   
}
 9248  11301   
pub mod con_b_list_inner {
 9249  11302   
       11303  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9250  11304   
    #[allow(clippy::enum_variant_names)]
 9251  11305   
    #[derive(Debug, PartialEq)]
 9252  11306   
    pub enum ConstraintViolation {
 9253  11307   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 9254  11308   
        /// The first component of the tuple is the index in the collection where the
 9255  11309   
        /// first constraint violation was found.
 9256  11310   
        #[doc(hidden)]
 9257  11311   
        Member(usize, crate::model::con_b::ConstraintViolation),
 9258  11312   
    }
 9259  11313   
 9260  11314   
    impl ::std::fmt::Display for ConstraintViolation {
 9261  11315   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9262  11316   
            let message = match self {
 9263  11317   
                Self::Member(index, failing_member) => format!(
 9264  11318   
                    "Value at index {index} failed to satisfy constraint. {}",
 9265  11319   
                    failing_member
 9266  11320   
                ),
 9267  11321   
            };
 9268  11322   
            write!(f, "{message}")
 9269  11323   
        }
 9270  11324   
    }
 9271  11325   
 9272  11326   
    impl ::std::error::Error for ConstraintViolation {}
       11327  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9273  11328   
    impl ConstraintViolation {
 9274  11329   
        pub(crate) fn as_validation_exception_field(
 9275  11330   
            self,
 9276  11331   
            path: ::std::string::String,
 9277  11332   
        ) -> crate::model::ValidationExceptionField {
 9278  11333   
            match self {
 9279  11334   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 9280  11335   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 9281  11336   
            }
 9282  11337   
        }
 9283  11338   
    }
       11339  +
       11340  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9284  11341   
}
 9285         -
/// See [`ConB`](crate::model::ConB).
       11342  +
/// /* ServerBuilderGenerator.kt:171 */See [`ConB`](crate::model::ConB).
 9286  11343   
pub mod con_b {
 9287  11344   
       11345  +
    /* RustType.kt:516 */
 9288  11346   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 9289         -
    /// Holds one variant for each of the ways the builder can fail.
       11347  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
       11348  +
    /* RustType.kt:516 */
 9290  11349   
    #[non_exhaustive]
       11350  +
    /* ServerBuilderConstraintViolations.kt:75 */
 9291  11351   
    #[allow(clippy::enum_variant_names)]
 9292  11352   
    pub enum ConstraintViolation {
 9293         -
        /// `nice` was not provided but it is required when building `ConB`.
       11353  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`nice` was not provided but it is required when building `ConB`.
       11354  +
        /* ServerBuilderConstraintViolations.kt:143 */
 9294  11355   
        MissingNice,
 9295         -
        /// `int` was not provided but it is required when building `ConB`.
       11356  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`int` was not provided but it is required when building `ConB`.
       11357  +
        /* ServerBuilderConstraintViolations.kt:143 */
 9296  11358   
        MissingInt,
       11359  +
        /* ServerBuilderConstraintViolations.kt:75 */
 9297  11360   
    }
       11361  +
    /* ServerBuilderConstraintViolations.kt:117 */
 9298  11362   
    impl ::std::fmt::Display for ConstraintViolation {
       11363  +
        /* ServerBuilderConstraintViolations.kt:118 */
 9299  11364   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       11365  +
            /* ServerBuilderConstraintViolations.kt:119 */
 9300  11366   
            match self {
       11367  +
                /* ServerBuilderConstraintViolations.kt:127 */
 9301  11368   
                ConstraintViolation::MissingNice => write!(
 9302  11369   
                    f,
 9303  11370   
                    "`nice` was not provided but it is required when building `ConB`"
 9304  11371   
                ),
       11372  +
                /* ServerBuilderConstraintViolations.kt:127 */
 9305  11373   
                ConstraintViolation::MissingInt => write!(
 9306  11374   
                    f,
 9307  11375   
                    "`int` was not provided but it is required when building `ConB`"
 9308  11376   
                ),
       11377  +
                /* ServerBuilderConstraintViolations.kt:119 */
 9309  11378   
            }
       11379  +
            /* ServerBuilderConstraintViolations.kt:118 */
 9310  11380   
        }
       11381  +
        /* ServerBuilderConstraintViolations.kt:117 */
 9311  11382   
    }
       11383  +
    /* ServerBuilderConstraintViolations.kt:84 */
 9312  11384   
    impl ::std::error::Error for ConstraintViolation {}
       11385  +
    /* ServerBuilderConstraintViolations.kt:171 */
 9313  11386   
    impl ConstraintViolation {
 9314  11387   
        pub(crate) fn as_validation_exception_field(
 9315  11388   
            self,
 9316  11389   
            path: ::std::string::String,
 9317  11390   
        ) -> crate::model::ValidationExceptionField {
 9318  11391   
            match self {
 9319  11392   
                ConstraintViolation::MissingNice => crate::model::ValidationExceptionField {
 9320  11393   
                    message: format!(
 9321  11394   
                        "Value at '{}/nice' failed to satisfy constraint: Member must not be null",
 9322  11395   
                        path
 9323  11396   
                    ),
 9324  11397   
                    path: path + "/nice",
 9325  11398   
                },
 9326  11399   
                ConstraintViolation::MissingInt => crate::model::ValidationExceptionField {
 9327  11400   
                    message: format!(
 9328  11401   
                        "Value at '{}/int' failed to satisfy constraint: Member must not be null",
 9329  11402   
                        path
 9330  11403   
                    ),
 9331  11404   
                    path: path + "/int",
 9332  11405   
                },
 9333  11406   
            }
 9334  11407   
        }
 9335  11408   
    }
       11409  +
    /* ServerBuilderGenerator.kt:244 */
 9336  11410   
    impl ::std::convert::From<Builder> for crate::constrained::MaybeConstrained<crate::model::ConB> {
 9337  11411   
        fn from(builder: Builder) -> Self {
 9338  11412   
            Self::Unconstrained(builder)
 9339  11413   
        }
 9340  11414   
    }
       11415  +
    /* ServerBuilderGenerator.kt:446 */
 9341  11416   
    impl ::std::convert::TryFrom<Builder> for crate::model::ConB {
 9342  11417   
        type Error = ConstraintViolation;
 9343  11418   
 9344  11419   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 9345  11420   
            builder.build()
 9346  11421   
        }
 9347  11422   
    }
 9348         -
    /// A builder for [`ConB`](crate::model::ConB).
       11423  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`ConB`](crate::model::ConB).
       11424  +
    /* RustType.kt:516 */
 9349  11425   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
       11426  +
    /* ServerBuilderGenerator.kt:211 */
 9350  11427   
    pub struct Builder {
       11428  +
        /* ServerBuilderGenerator.kt:308 */
 9351  11429   
        pub(crate) nice: ::std::option::Option<::std::string::String>,
 9352         -
        pub(crate) int: ::std::option::Option<i32>,
       11430  +
        /* ServerBuilderGenerator.kt:308 */ pub(crate) int: ::std::option::Option<i32>,
       11431  +
        /* ServerBuilderGenerator.kt:308 */
 9353  11432   
        pub(crate) opt_nice: ::std::option::Option<::std::string::String>,
       11433  +
        /* ServerBuilderGenerator.kt:308 */
 9354  11434   
        pub(crate) opt_int: ::std::option::Option<i32>,
       11435  +
        /* ServerBuilderGenerator.kt:211 */
 9355  11436   
    }
       11437  +
    /* ServerBuilderGenerator.kt:215 */
 9356  11438   
    impl Builder {
       11439  +
        /* ServerBuilderGenerator.kt:331 */
 9357  11440   
        #[allow(missing_docs)] // documentation missing in model
       11441  +
                               /* ServerBuilderGenerator.kt:343 */
 9358  11442   
        pub fn nice(mut self, input: ::std::string::String) -> Self {
 9359         -
            self.nice = Some(input);
       11443  +
            /* ServerBuilderGenerator.kt:344 */
       11444  +
            self.nice =
       11445  +
                /* ServerBuilderGenerator.kt:345 */Some(
       11446  +
                    /* ServerBuilderGenerator.kt:376 */input
       11447  +
                /* ServerBuilderGenerator.kt:345 */)
       11448  +
            /* ServerBuilderGenerator.kt:344 */;
 9360  11449   
            self
       11450  +
            /* ServerBuilderGenerator.kt:343 */
 9361  11451   
        }
       11452  +
        /* ServerBuilderGenerator.kt:426 */
 9362  11453   
        #[allow(missing_docs)] // documentation missing in model
       11454  +
                               /* ServerBuilderGenerator.kt:428 */
 9363  11455   
        pub(crate) fn set_nice(
 9364  11456   
            mut self,
 9365  11457   
            input: impl ::std::convert::Into<::std::string::String>,
 9366  11458   
        ) -> Self {
       11459  +
            /* ServerBuilderGenerator.kt:429 */
 9367  11460   
            self.nice = Some(input.into());
 9368  11461   
            self
       11462  +
            /* ServerBuilderGenerator.kt:428 */
 9369  11463   
        }
       11464  +
        /* ServerBuilderGenerator.kt:331 */
 9370  11465   
        #[allow(missing_docs)] // documentation missing in model
       11466  +
                               /* ServerBuilderGenerator.kt:343 */
 9371  11467   
        pub fn int(mut self, input: i32) -> Self {
 9372         -
            self.int = Some(input);
       11468  +
            /* ServerBuilderGenerator.kt:344 */
       11469  +
            self.int =
       11470  +
                /* ServerBuilderGenerator.kt:345 */Some(
       11471  +
                    /* ServerBuilderGenerator.kt:376 */input
       11472  +
                /* ServerBuilderGenerator.kt:345 */)
       11473  +
            /* ServerBuilderGenerator.kt:344 */;
 9373  11474   
            self
       11475  +
            /* ServerBuilderGenerator.kt:343 */
 9374  11476   
        }
       11477  +
        /* ServerBuilderGenerator.kt:426 */
 9375  11478   
        #[allow(missing_docs)] // documentation missing in model
       11479  +
                               /* ServerBuilderGenerator.kt:428 */
 9376  11480   
        pub(crate) fn set_int(mut self, input: impl ::std::convert::Into<i32>) -> Self {
       11481  +
            /* ServerBuilderGenerator.kt:429 */
 9377  11482   
            self.int = Some(input.into());
 9378  11483   
            self
       11484  +
            /* ServerBuilderGenerator.kt:428 */
 9379  11485   
        }
       11486  +
        /* ServerBuilderGenerator.kt:331 */
 9380  11487   
        #[allow(missing_docs)] // documentation missing in model
       11488  +
                               /* ServerBuilderGenerator.kt:343 */
 9381  11489   
        pub fn opt_nice(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
 9382         -
            self.opt_nice = input;
       11490  +
            /* ServerBuilderGenerator.kt:344 */
       11491  +
            self.opt_nice =
       11492  +
                /* ServerBuilderGenerator.kt:376 */input
       11493  +
            /* ServerBuilderGenerator.kt:344 */;
 9383  11494   
            self
       11495  +
            /* ServerBuilderGenerator.kt:343 */
 9384  11496   
        }
       11497  +
        /* ServerBuilderGenerator.kt:426 */
 9385  11498   
        #[allow(missing_docs)] // documentation missing in model
       11499  +
                               /* ServerBuilderGenerator.kt:428 */
 9386  11500   
        pub(crate) fn set_opt_nice(
 9387  11501   
            mut self,
 9388  11502   
            input: Option<impl ::std::convert::Into<::std::string::String>>,
 9389  11503   
        ) -> Self {
       11504  +
            /* ServerBuilderGenerator.kt:429 */
 9390  11505   
            self.opt_nice = input.map(|v| v.into());
 9391  11506   
            self
       11507  +
            /* ServerBuilderGenerator.kt:428 */
 9392  11508   
        }
       11509  +
        /* ServerBuilderGenerator.kt:331 */
 9393  11510   
        #[allow(missing_docs)] // documentation missing in model
       11511  +
                               /* ServerBuilderGenerator.kt:343 */
 9394  11512   
        pub fn opt_int(mut self, input: ::std::option::Option<i32>) -> Self {
 9395         -
            self.opt_int = input;
       11513  +
            /* ServerBuilderGenerator.kt:344 */
       11514  +
            self.opt_int =
       11515  +
                /* ServerBuilderGenerator.kt:376 */input
       11516  +
            /* ServerBuilderGenerator.kt:344 */;
 9396  11517   
            self
       11518  +
            /* ServerBuilderGenerator.kt:343 */
 9397  11519   
        }
       11520  +
        /* ServerBuilderGenerator.kt:426 */
 9398  11521   
        #[allow(missing_docs)] // documentation missing in model
       11522  +
                               /* ServerBuilderGenerator.kt:428 */
 9399  11523   
        pub(crate) fn set_opt_int(mut self, input: Option<impl ::std::convert::Into<i32>>) -> Self {
       11524  +
            /* ServerBuilderGenerator.kt:429 */
 9400  11525   
            self.opt_int = input.map(|v| v.into());
 9401  11526   
            self
       11527  +
            /* ServerBuilderGenerator.kt:428 */
 9402  11528   
        }
 9403         -
        /// Consumes the builder and constructs a [`ConB`](crate::model::ConB).
 9404         -
        ///
       11529  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`ConB`](crate::model::ConB).
       11530  +
        /// /* ServerBuilderGenerator.kt:260 */
 9405  11531   
        /// The builder fails to construct a [`ConB`](crate::model::ConB) if a [`ConstraintViolation`] occurs.
 9406  11532   
        ///
 9407         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
       11533  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
       11534  +
        /* ServerBuilderGenerator.kt:271 */
 9408  11535   
        pub fn build(self) -> Result<crate::model::ConB, ConstraintViolation> {
 9409  11536   
            self.build_enforcing_all_constraints()
 9410  11537   
        }
       11538  +
        /* ServerBuilderGenerator.kt:283 */
 9411  11539   
        fn build_enforcing_all_constraints(
 9412  11540   
            self,
 9413  11541   
        ) -> Result<crate::model::ConB, ConstraintViolation> {
 9414         -
            Ok(crate::model::ConB {
 9415         -
                nice: self.nice.ok_or(ConstraintViolation::MissingNice)?,
 9416         -
                int: self.int.ok_or(ConstraintViolation::MissingInt)?,
       11542  +
            /* ServerBuilderGenerator.kt:287 */
       11543  +
            Ok(
       11544  +
                /* ServerBuilderGenerator.kt:542 */
       11545  +
                crate::model::ConB {
       11546  +
                    /* ServerBuilderGenerator.kt:546 */
       11547  +
                    nice: self
       11548  +
                        .nice
       11549  +
                        /* ServerBuilderGenerator.kt:569 */
       11550  +
                        .ok_or(ConstraintViolation::MissingNice)?,
       11551  +
                    /* ServerBuilderGenerator.kt:546 */
       11552  +
                    int: self
       11553  +
                        .int
       11554  +
                        /* ServerBuilderGenerator.kt:569 */
       11555  +
                        .ok_or(ConstraintViolation::MissingInt)?,
       11556  +
                    /* ServerBuilderGenerator.kt:546 */
 9417  11557   
                    opt_nice: self.opt_nice,
       11558  +
                    /* ServerBuilderGenerator.kt:546 */
 9418  11559   
                    opt_int: self.opt_int,
 9419         -
            })
       11560  +
                    /* ServerBuilderGenerator.kt:542 */
       11561  +
                }, /* ServerBuilderGenerator.kt:287 */
       11562  +
            )
       11563  +
            /* ServerBuilderGenerator.kt:283 */
 9420  11564   
        }
       11565  +
        /* ServerBuilderGenerator.kt:215 */
 9421  11566   
    }
       11567  +
       11568  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9422  11569   
}
 9423         -
/// See [`SparseLengthList`](crate::model::SparseLengthList).
       11570  +
/// /* CodegenDelegator.kt:51 */See [`SparseLengthList`](crate::model::SparseLengthList).
 9424  11571   
pub mod sparse_length_list {
 9425  11572   
       11573  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9426  11574   
    #[allow(clippy::enum_variant_names)]
 9427  11575   
    #[derive(Debug, PartialEq)]
 9428  11576   
    pub enum ConstraintViolation {
 9429  11577   
        /// Constraint violation error when the list doesn't have the required length
 9430  11578   
        Length(usize),
 9431  11579   
    }
 9432  11580   
 9433  11581   
    impl ::std::fmt::Display for ConstraintViolation {
 9434  11582   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9435  11583   
            let message = match self {
 9436  11584   
                Self::Length(length) => {
 9437  11585   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#SparseLengthList' failed to satisfy constraint: Member must have length greater than or equal to 69", length)
 9438  11586   
                }
 9439  11587   
            };
 9440  11588   
            write!(f, "{message}")
 9441  11589   
        }
 9442  11590   
    }
 9443  11591   
 9444  11592   
    impl ::std::error::Error for ConstraintViolation {}
       11593  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9445  11594   
    impl ConstraintViolation {
 9446  11595   
        pub(crate) fn as_validation_exception_field(
 9447  11596   
            self,
 9448  11597   
            path: ::std::string::String,
 9449  11598   
        ) -> crate::model::ValidationExceptionField {
 9450  11599   
            match self {
 9451  11600   
                        Self::Length(length) => crate::model::ValidationExceptionField {
 9452  11601   
                                message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length greater than or equal to 69", length, &path),
 9453  11602   
                                path,
 9454  11603   
                            },
 9455  11604   
                    }
 9456  11605   
        }
 9457  11606   
    }
       11607  +
       11608  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9458  11609   
}
 9459         -
/// See [`SparseLengthMap`](crate::model::SparseLengthMap).
       11610  +
/// /* CodegenDelegator.kt:51 */See [`SparseLengthMap`](crate::model::SparseLengthMap).
 9460  11611   
pub mod sparse_length_map {
 9461  11612   
       11613  +
    /* MapConstraintViolationGenerator.kt:82 */
 9462  11614   
    #[allow(clippy::enum_variant_names)]
 9463  11615   
    #[derive(Debug, PartialEq)]
 9464  11616   
    pub enum ConstraintViolation {
 9465  11617   
        Length(usize),
 9466  11618   
    }
 9467  11619   
 9468  11620   
    impl ::std::fmt::Display for ConstraintViolation {
 9469  11621   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9470  11622   
            match self {
 9471  11623   
                Self::Length(length) => {
 9472  11624   
                    write!(f, "Value with length {} provided for 'com.amazonaws.constraints#SparseLengthMap' failed to satisfy constraint: Member must have length greater than or equal to 69", length)
 9473  11625   
                }
 9474  11626   
            }
 9475  11627   
        }
 9476  11628   
    }
 9477  11629   
 9478  11630   
    impl ::std::error::Error for ConstraintViolation {}
       11631  +
    /* MapConstraintViolationGenerator.kt:111 */
 9479  11632   
    impl ConstraintViolation {
 9480  11633   
        pub(crate) fn as_validation_exception_field(
 9481  11634   
            self,
 9482  11635   
            path: ::std::string::String,
 9483  11636   
        ) -> crate::model::ValidationExceptionField {
 9484  11637   
            match self {
 9485  11638   
            Self::Length(length) => crate::model::ValidationExceptionField {
 9486  11639   
                                        message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length greater than or equal to 69", length, &path),
 9487  11640   
                                        path,
 9488  11641   
                                    },
 9489  11642   
        }
 9490  11643   
        }
 9491  11644   
    }
       11645  +
       11646  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9492  11647   
}
 9493  11648   
pub mod sparse_list {
 9494  11649   
       11650  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9495  11651   
    #[allow(clippy::enum_variant_names)]
 9496  11652   
    #[derive(Debug, PartialEq)]
 9497  11653   
    pub enum ConstraintViolation {
 9498  11654   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 9499  11655   
        /// The first component of the tuple is the index in the collection where the
 9500  11656   
        /// first constraint violation was found.
 9501  11657   
        #[doc(hidden)]
 9502  11658   
        Member(usize, crate::model::length_string::ConstraintViolation),
 9503  11659   
    }
 9504  11660   
 9505  11661   
    impl ::std::fmt::Display for ConstraintViolation {
 9506  11662   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9507  11663   
            let message = match self {
 9508  11664   
                Self::Member(index, failing_member) => format!(
 9509  11665   
                    "Value at index {index} failed to satisfy constraint. {}",
 9510  11666   
                    failing_member
 9511  11667   
                ),
 9512  11668   
            };
 9513  11669   
            write!(f, "{message}")
 9514  11670   
        }
 9515  11671   
    }
 9516  11672   
 9517  11673   
    impl ::std::error::Error for ConstraintViolation {}
       11674  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9518  11675   
    impl ConstraintViolation {
 9519  11676   
        pub(crate) fn as_validation_exception_field(
 9520  11677   
            self,
 9521  11678   
            path: ::std::string::String,
 9522  11679   
        ) -> crate::model::ValidationExceptionField {
 9523  11680   
            match self {
 9524  11681   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 9525  11682   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 9526  11683   
            }
 9527  11684   
        }
 9528  11685   
    }
       11686  +
       11687  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9529  11688   
}
 9530  11689   
pub mod sparse_map {
 9531  11690   
       11691  +
    /* MapConstraintViolationGenerator.kt:82 */
 9532  11692   
    #[allow(clippy::enum_variant_names)]
 9533  11693   
    #[derive(Debug, PartialEq)]
 9534  11694   
    pub enum ConstraintViolation {
 9535  11695   
        #[doc(hidden)]
 9536  11696   
        Value(
 9537  11697   
            ::std::string::String,
 9538  11698   
            crate::model::unique_items_list::ConstraintViolation,
 9539  11699   
        ),
 9540  11700   
    }
 9541  11701   
 9542  11702   
    impl ::std::fmt::Display for ConstraintViolation {
 9543  11703   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9544  11704   
            match self {
 9545  11705   
                Self::Value(_, value_constraint_violation) => {
 9546  11706   
                    write!(f, "{}", value_constraint_violation)
 9547  11707   
                }
 9548  11708   
            }
 9549  11709   
        }
 9550  11710   
    }
 9551  11711   
 9552  11712   
    impl ::std::error::Error for ConstraintViolation {}
       11713  +
    /* MapConstraintViolationGenerator.kt:111 */
 9553  11714   
    impl ConstraintViolation {
 9554  11715   
        pub(crate) fn as_validation_exception_field(
 9555  11716   
            self,
 9556  11717   
            path: ::std::string::String,
 9557  11718   
        ) -> crate::model::ValidationExceptionField {
 9558  11719   
            match self {
 9559  11720   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 9560  11721   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 9561  11722   
            }
 9562  11723   
        }
 9563  11724   
    }
       11725  +
       11726  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9564  11727   
}
 9565         -
/// See [`UniqueItemsList`](crate::model::UniqueItemsList).
       11728  +
/// /* CodegenDelegator.kt:51 */See [`UniqueItemsList`](crate::model::UniqueItemsList).
 9566  11729   
pub mod unique_items_list {
 9567  11730   
       11731  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9568  11732   
    #[allow(clippy::enum_variant_names)]
 9569  11733   
    #[derive(Debug, PartialEq)]
 9570  11734   
    pub enum ConstraintViolation {
 9571  11735   
        /// Constraint violation error when the list does not contain unique items
 9572  11736   
        UniqueItems {
 9573  11737   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 9574  11738   
            /// at least two elements.
 9575  11739   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 9576  11740   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 9577  11741   
            /// Nothing is guaranteed about the order of the indices.
 9578  11742   
            duplicate_indices: ::std::vec::Vec<usize>,
 9579  11743   
            /// The original vector, that contains duplicate items.
 9580  11744   
            original: ::std::vec::Vec<::std::string::String>,
 9581  11745   
        },
 9582  11746   
    }
 9583  11747   
 9584  11748   
    impl ::std::fmt::Display for ConstraintViolation {
 9585  11749   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9586  11750   
            let message = match self {
 9587  11751   
                                Self::UniqueItems { duplicate_indices, .. } =>
 9588  11752   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#UniqueItemsList' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 9589  11753   
                            };
 9590  11754   
            write!(f, "{message}")
 9591  11755   
        }
 9592  11756   
    }
 9593  11757   
 9594  11758   
    impl ::std::error::Error for ConstraintViolation {}
       11759  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9595  11760   
    impl ConstraintViolation {
 9596  11761   
        pub(crate) fn as_validation_exception_field(
 9597  11762   
            self,
 9598  11763   
            path: ::std::string::String,
 9599  11764   
        ) -> crate::model::ValidationExceptionField {
 9600  11765   
            match self {
 9601  11766   
                        Self::UniqueItems { duplicate_indices, .. } =>
 9602  11767   
                                crate::model::ValidationExceptionField {
 9603  11768   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 9604  11769   
                                    path,
 9605  11770   
                                },
 9606  11771   
                    }
 9607  11772   
        }
 9608  11773   
    }
       11774  +
       11775  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9609  11776   
}
 9610  11777   
pub mod map_of_map_of_list_of_list_of_con_b {
 9611  11778   
       11779  +
    /* MapConstraintViolationGenerator.kt:82 */
 9612  11780   
    #[allow(clippy::enum_variant_names)]
 9613  11781   
    #[derive(Debug, PartialEq)]
 9614  11782   
    pub enum ConstraintViolation {
 9615  11783   
        #[doc(hidden)]
 9616  11784   
        Value(
 9617  11785   
            ::std::string::String,
 9618  11786   
            crate::model::map_of_list_of_list_of_con_b::ConstraintViolation,
 9619  11787   
        ),
 9620  11788   
    }
 9621  11789   
 9622  11790   
    impl ::std::fmt::Display for ConstraintViolation {
 9623  11791   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9624  11792   
            match self {
 9625  11793   
                Self::Value(_, value_constraint_violation) => {
 9626  11794   
                    write!(f, "{}", value_constraint_violation)
 9627  11795   
                }
 9628  11796   
            }
 9629  11797   
        }
 9630  11798   
    }
 9631  11799   
 9632  11800   
    impl ::std::error::Error for ConstraintViolation {}
       11801  +
    /* MapConstraintViolationGenerator.kt:111 */
 9633  11802   
    impl ConstraintViolation {
 9634  11803   
        pub(crate) fn as_validation_exception_field(
 9635  11804   
            self,
 9636  11805   
            path: ::std::string::String,
 9637  11806   
        ) -> crate::model::ValidationExceptionField {
 9638  11807   
            match self {
 9639  11808   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 9640  11809   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 9641  11810   
            }
 9642  11811   
        }
 9643  11812   
    }
       11813  +
       11814  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9644  11815   
}
 9645  11816   
pub mod map_of_list_of_list_of_con_b {
 9646  11817   
       11818  +
    /* MapConstraintViolationGenerator.kt:82 */
 9647  11819   
    #[allow(clippy::enum_variant_names)]
 9648  11820   
    #[derive(Debug, PartialEq)]
 9649  11821   
    pub enum ConstraintViolation {
 9650  11822   
        #[doc(hidden)]
 9651  11823   
        Value(
 9652  11824   
            ::std::string::String,
 9653  11825   
            crate::model::con_b_list::ConstraintViolation,
 9654  11826   
        ),
 9655  11827   
    }
 9656  11828   
 9657  11829   
    impl ::std::fmt::Display for ConstraintViolation {
 9658  11830   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9659  11831   
            match self {
 9660  11832   
                Self::Value(_, value_constraint_violation) => {
 9661  11833   
                    write!(f, "{}", value_constraint_violation)
 9662  11834   
                }
 9663  11835   
            }
 9664  11836   
        }
 9665  11837   
    }
 9666  11838   
 9667  11839   
    impl ::std::error::Error for ConstraintViolation {}
       11840  +
    /* MapConstraintViolationGenerator.kt:111 */
 9668  11841   
    impl ConstraintViolation {
 9669  11842   
        pub(crate) fn as_validation_exception_field(
 9670  11843   
            self,
 9671  11844   
            path: ::std::string::String,
 9672  11845   
        ) -> crate::model::ValidationExceptionField {
 9673  11846   
            match self {
 9674  11847   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 9675  11848   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 9676  11849   
            }
 9677  11850   
        }
 9678  11851   
    }
       11852  +
       11853  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9679  11854   
}
 9680         -
/// See [`LengthMap`](crate::model::LengthMap).
       11855  +
/// /* CodegenDelegator.kt:51 */See [`LengthMap`](crate::model::LengthMap).
 9681  11856   
pub mod length_map {
 9682  11857   
       11858  +
    /* MapConstraintViolationGenerator.kt:82 */
 9683  11859   
    #[allow(clippy::enum_variant_names)]
 9684  11860   
    #[derive(Debug, PartialEq)]
 9685  11861   
    pub enum ConstraintViolation {
 9686  11862   
        Length(usize),
 9687  11863   
    }
 9688  11864   
 9689  11865   
    impl ::std::fmt::Display for ConstraintViolation {
 9690  11866   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9691  11867   
            match self {
 9692  11868   
                Self::Length(length) => {
 9693  11869   
                    write!(f, "Value with length {} provided for 'com.amazonaws.constraints#LengthMap' failed to satisfy constraint: Member must have length between 1 and 69, inclusive", length)
 9694  11870   
                }
 9695  11871   
            }
 9696  11872   
        }
 9697  11873   
    }
 9698  11874   
 9699  11875   
    impl ::std::error::Error for ConstraintViolation {}
       11876  +
    /* MapConstraintViolationGenerator.kt:111 */
 9700  11877   
    impl ConstraintViolation {
 9701  11878   
        pub(crate) fn as_validation_exception_field(
 9702  11879   
            self,
 9703  11880   
            path: ::std::string::String,
 9704  11881   
        ) -> crate::model::ValidationExceptionField {
 9705  11882   
            match self {
 9706  11883   
            Self::Length(length) => crate::model::ValidationExceptionField {
 9707  11884   
                                        message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 1 and 69, inclusive", length, &path),
 9708  11885   
                                        path,
 9709  11886   
                                    },
 9710  11887   
        }
 9711  11888   
        }
 9712  11889   
    }
       11890  +
       11891  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9713  11892   
}
 9714         -
/// See [`SensitiveLengthList`](crate::model::SensitiveLengthList).
       11893  +
/// /* CodegenDelegator.kt:51 */See [`SensitiveLengthList`](crate::model::SensitiveLengthList).
 9715  11894   
pub mod sensitive_length_list {
 9716  11895   
       11896  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9717  11897   
    #[allow(clippy::enum_variant_names)]
 9718  11898   
    #[derive(Debug, PartialEq)]
 9719  11899   
    pub enum ConstraintViolation {
 9720  11900   
        /// Constraint violation error when the list doesn't have the required length
 9721  11901   
        Length(usize),
 9722  11902   
    }
 9723  11903   
 9724  11904   
    impl ::std::fmt::Display for ConstraintViolation {
 9725  11905   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9726  11906   
            let message = match self {
 9727  11907   
                Self::Length(length) => {
 9728  11908   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#SensitiveLengthList' failed to satisfy constraint: Member must have length less than or equal to 69", length)
 9729  11909   
                }
 9730  11910   
            };
 9731  11911   
            write!(f, "{message}")
 9732  11912   
        }
 9733  11913   
    }
 9734  11914   
 9735  11915   
    impl ::std::error::Error for ConstraintViolation {}
       11916  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9736  11917   
    impl ConstraintViolation {
 9737  11918   
        pub(crate) fn as_validation_exception_field(
 9738  11919   
            self,
 9739  11920   
            path: ::std::string::String,
 9740  11921   
        ) -> crate::model::ValidationExceptionField {
 9741  11922   
            match self {
 9742  11923   
                        Self::Length(length) => crate::model::ValidationExceptionField {
 9743  11924   
                                message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length less than or equal to 69", length, &path),
 9744  11925   
                                path,
 9745  11926   
                            },
 9746  11927   
                    }
 9747  11928   
        }
 9748  11929   
    }
       11930  +
       11931  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9749  11932   
}
 9750         -
/// See [`SensitiveStructure`](crate::model::SensitiveStructure).
       11933  +
/// /* ServerBuilderGenerator.kt:171 */See [`SensitiveStructure`](crate::model::SensitiveStructure).
 9751  11934   
pub mod sensitive_structure {
 9752  11935   
       11936  +
    /* ServerBuilderGenerator.kt:461 */
 9753  11937   
    impl ::std::convert::From<Builder> for crate::model::SensitiveStructure {
 9754  11938   
        fn from(builder: Builder) -> Self {
 9755  11939   
            builder.build()
 9756  11940   
        }
 9757  11941   
    }
 9758         -
    /// A builder for [`SensitiveStructure`](crate::model::SensitiveStructure).
       11942  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`SensitiveStructure`](crate::model::SensitiveStructure).
       11943  +
    /* RustType.kt:516 */
 9759  11944   
    #[derive(::std::clone::Clone, ::std::default::Default)]
 9760         -
    pub struct Builder {}
       11945  +
    /* ServerBuilderGenerator.kt:211 */
       11946  +
    pub struct Builder {/* ServerBuilderGenerator.kt:211 */}
       11947  +
    /* ServerBuilderGenerator.kt:215 */
 9761  11948   
    impl Builder {
 9762         -
        /// Consumes the builder and constructs a [`SensitiveStructure`](crate::model::SensitiveStructure).
       11949  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`SensitiveStructure`](crate::model::SensitiveStructure).
       11950  +
        /* ServerBuilderGenerator.kt:271 */
 9763  11951   
        pub fn build(self) -> crate::model::SensitiveStructure {
 9764  11952   
            self.build_enforcing_all_constraints()
 9765  11953   
        }
       11954  +
        /* ServerBuilderGenerator.kt:283 */
 9766  11955   
        fn build_enforcing_all_constraints(self) -> crate::model::SensitiveStructure {
 9767         -
            crate::model::SensitiveStructure {}
       11956  +
            /* ServerBuilderGenerator.kt:542 */
       11957  +
            crate::model::SensitiveStructure {
       11958  +
            /* ServerBuilderGenerator.kt:542 */}
       11959  +
            /* ServerBuilderGenerator.kt:283 */
 9768  11960   
        }
       11961  +
        /* ServerBuilderGenerator.kt:215 */
 9769  11962   
    }
       11963  +
    /* ServerBuilderGenerator.kt:474 */
 9770  11964   
    impl ::std::fmt::Debug for Builder {
       11965  +
        /* ServerBuilderGenerator.kt:475 */
 9771  11966   
        fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
       11967  +
            /* ServerBuilderGenerator.kt:476 */
 9772  11968   
            let mut formatter = f.debug_struct("Builder");
       11969  +
            /* ServerBuilderGenerator.kt:485 */
 9773  11970   
            formatter.finish()
       11971  +
            /* ServerBuilderGenerator.kt:475 */
 9774  11972   
        }
       11973  +
        /* ServerBuilderGenerator.kt:474 */
 9775  11974   
    }
       11975  +
       11976  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9776  11977   
}
 9777         -
/// See [`LengthList`](crate::model::LengthList).
       11978  +
/// /* CodegenDelegator.kt:51 */See [`LengthList`](crate::model::LengthList).
 9778  11979   
pub mod length_list {
 9779  11980   
       11981  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9780  11982   
    #[allow(clippy::enum_variant_names)]
 9781  11983   
    #[derive(Debug, PartialEq)]
 9782  11984   
    pub enum ConstraintViolation {
 9783  11985   
        /// Constraint violation error when the list doesn't have the required length
 9784  11986   
        Length(usize),
 9785  11987   
    }
 9786  11988   
 9787  11989   
    impl ::std::fmt::Display for ConstraintViolation {
 9788  11990   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9789  11991   
            let message = match self {
 9790  11992   
                Self::Length(length) => {
 9791  11993   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#LengthList' failed to satisfy constraint: Member must have length less than or equal to 69", length)
 9792  11994   
                }
 9793  11995   
            };
 9794  11996   
            write!(f, "{message}")
 9795  11997   
        }
 9796  11998   
    }
 9797  11999   
 9798  12000   
    impl ::std::error::Error for ConstraintViolation {}
       12001  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9799  12002   
    impl ConstraintViolation {
 9800  12003   
        pub(crate) fn as_validation_exception_field(
 9801  12004   
            self,
 9802  12005   
            path: ::std::string::String,
 9803  12006   
        ) -> crate::model::ValidationExceptionField {
 9804  12007   
            match self {
 9805  12008   
                        Self::Length(length) => crate::model::ValidationExceptionField {
 9806  12009   
                                message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length less than or equal to 69", length, &path),
 9807  12010   
                                path,
 9808  12011   
                            },
 9809  12012   
                    }
 9810  12013   
        }
 9811  12014   
    }
       12015  +
       12016  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9812  12017   
}
 9813         -
/// See [`FixedValueByte`](crate::model::FixedValueByte).
       12018  +
/// /* CodegenDelegator.kt:51 */See [`FixedValueByte`](crate::model::FixedValueByte).
 9814  12019   
pub mod fixed_value_byte {
 9815  12020   
       12021  +
    /* ConstrainedNumberGenerator.kt:139 */
 9816  12022   
    #[derive(Debug, PartialEq)]
 9817  12023   
    pub enum ConstraintViolation {
 9818  12024   
        Range(i8),
 9819  12025   
    }
 9820  12026   
 9821  12027   
    impl ::std::fmt::Display for ConstraintViolation {
 9822  12028   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9823  12029   
            write!(f, "Value for `com.amazonaws.constraints#FixedValueByte`failed to satisfy constraint: Member must be between 10 and 10, inclusive")
 9824  12030   
        }
 9825  12031   
    }
 9826  12032   
 9827  12033   
    impl ::std::error::Error for ConstraintViolation {}
       12034  +
    /* ConstrainedNumberGenerator.kt:159 */
 9828  12035   
    impl ConstraintViolation {
 9829  12036   
        pub(crate) fn as_validation_exception_field(
 9830  12037   
            self,
 9831  12038   
            path: ::std::string::String,
 9832  12039   
        ) -> crate::model::ValidationExceptionField {
 9833  12040   
            match self {
 9834  12041   
                            Self::Range(_) => crate::model::ValidationExceptionField {
 9835  12042   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 10 and 10, inclusive", &path),
 9836  12043   
                            path,
 9837  12044   
                        },
 9838  12045   
                        }
 9839  12046   
        }
 9840  12047   
    }
       12048  +
       12049  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9841  12050   
}
 9842         -
/// See [`MaxRangeByte`](crate::model::MaxRangeByte).
       12051  +
/// /* CodegenDelegator.kt:51 */See [`MaxRangeByte`](crate::model::MaxRangeByte).
 9843  12052   
pub mod max_range_byte {
 9844  12053   
       12054  +
    /* ConstrainedNumberGenerator.kt:139 */
 9845  12055   
    #[derive(Debug, PartialEq)]
 9846  12056   
    pub enum ConstraintViolation {
 9847  12057   
        Range(i8),
 9848  12058   
    }
 9849  12059   
 9850  12060   
    impl ::std::fmt::Display for ConstraintViolation {
 9851  12061   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9852  12062   
            write!(f, "Value for `com.amazonaws.constraints#MaxRangeByte`failed to satisfy constraint: Member must be less than or equal to 11")
 9853  12063   
        }
 9854  12064   
    }
 9855  12065   
 9856  12066   
    impl ::std::error::Error for ConstraintViolation {}
       12067  +
    /* ConstrainedNumberGenerator.kt:159 */
 9857  12068   
    impl ConstraintViolation {
 9858  12069   
        pub(crate) fn as_validation_exception_field(
 9859  12070   
            self,
 9860  12071   
            path: ::std::string::String,
 9861  12072   
        ) -> crate::model::ValidationExceptionField {
 9862  12073   
            match self {
 9863  12074   
                            Self::Range(_) => crate::model::ValidationExceptionField {
 9864  12075   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be less than or equal to 11", &path),
 9865  12076   
                            path,
 9866  12077   
                        },
 9867  12078   
                        }
 9868  12079   
        }
 9869  12080   
    }
       12081  +
       12082  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9870  12083   
}
 9871         -
/// See [`MinRangeByte`](crate::model::MinRangeByte).
       12084  +
/// /* CodegenDelegator.kt:51 */See [`MinRangeByte`](crate::model::MinRangeByte).
 9872  12085   
pub mod min_range_byte {
 9873  12086   
       12087  +
    /* ConstrainedNumberGenerator.kt:139 */
 9874  12088   
    #[derive(Debug, PartialEq)]
 9875  12089   
    pub enum ConstraintViolation {
 9876  12090   
        Range(i8),
 9877  12091   
    }
 9878  12092   
 9879  12093   
    impl ::std::fmt::Display for ConstraintViolation {
 9880  12094   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9881  12095   
            write!(f, "Value for `com.amazonaws.constraints#MinRangeByte`failed to satisfy constraint: Member must be greater than or equal to -10")
 9882  12096   
        }
 9883  12097   
    }
 9884  12098   
 9885  12099   
    impl ::std::error::Error for ConstraintViolation {}
       12100  +
    /* ConstrainedNumberGenerator.kt:159 */
 9886  12101   
    impl ConstraintViolation {
 9887  12102   
        pub(crate) fn as_validation_exception_field(
 9888  12103   
            self,
 9889  12104   
            path: ::std::string::String,
 9890  12105   
        ) -> crate::model::ValidationExceptionField {
 9891  12106   
            match self {
 9892  12107   
                            Self::Range(_) => crate::model::ValidationExceptionField {
 9893  12108   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be greater than or equal to -10", &path),
 9894  12109   
                            path,
 9895  12110   
                        },
 9896  12111   
                        }
 9897  12112   
        }
 9898  12113   
    }
       12114  +
       12115  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9899  12116   
}
 9900         -
/// See [`FixedValueLong`](crate::model::FixedValueLong).
       12117  +
/// /* CodegenDelegator.kt:51 */See [`FixedValueLong`](crate::model::FixedValueLong).
 9901  12118   
pub mod fixed_value_long {
 9902  12119   
       12120  +
    /* ConstrainedNumberGenerator.kt:139 */
 9903  12121   
    #[derive(Debug, PartialEq)]
 9904  12122   
    pub enum ConstraintViolation {
 9905  12123   
        Range(i64),
 9906  12124   
    }
 9907  12125   
 9908  12126   
    impl ::std::fmt::Display for ConstraintViolation {
 9909  12127   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9910  12128   
            write!(f, "Value for `com.amazonaws.constraints#FixedValueLong`failed to satisfy constraint: Member must be between 10 and 10, inclusive")
 9911  12129   
        }
 9912  12130   
    }
 9913  12131   
 9914  12132   
    impl ::std::error::Error for ConstraintViolation {}
       12133  +
    /* ConstrainedNumberGenerator.kt:159 */
 9915  12134   
    impl ConstraintViolation {
 9916  12135   
        pub(crate) fn as_validation_exception_field(
 9917  12136   
            self,
 9918  12137   
            path: ::std::string::String,
 9919  12138   
        ) -> crate::model::ValidationExceptionField {
 9920  12139   
            match self {
 9921  12140   
                            Self::Range(_) => crate::model::ValidationExceptionField {
 9922  12141   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 10 and 10, inclusive", &path),
 9923  12142   
                            path,
 9924  12143   
                        },
 9925  12144   
                        }
 9926  12145   
        }
 9927  12146   
    }
       12147  +
       12148  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9928  12149   
}
 9929         -
/// See [`MaxRangeLong`](crate::model::MaxRangeLong).
       12150  +
/// /* CodegenDelegator.kt:51 */See [`MaxRangeLong`](crate::model::MaxRangeLong).
 9930  12151   
pub mod max_range_long {
 9931  12152   
       12153  +
    /* ConstrainedNumberGenerator.kt:139 */
 9932  12154   
    #[derive(Debug, PartialEq)]
 9933  12155   
    pub enum ConstraintViolation {
 9934  12156   
        Range(i64),
 9935  12157   
    }
 9936  12158   
 9937  12159   
    impl ::std::fmt::Display for ConstraintViolation {
 9938  12160   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9939  12161   
            write!(f, "Value for `com.amazonaws.constraints#MaxRangeLong`failed to satisfy constraint: Member must be less than or equal to 11")
 9940  12162   
        }
 9941  12163   
    }
 9942  12164   
 9943  12165   
    impl ::std::error::Error for ConstraintViolation {}
       12166  +
    /* ConstrainedNumberGenerator.kt:159 */
 9944  12167   
    impl ConstraintViolation {
 9945  12168   
        pub(crate) fn as_validation_exception_field(
 9946  12169   
            self,
 9947  12170   
            path: ::std::string::String,
 9948  12171   
        ) -> crate::model::ValidationExceptionField {
 9949  12172   
            match self {
 9950  12173   
                            Self::Range(_) => crate::model::ValidationExceptionField {
 9951  12174   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be less than or equal to 11", &path),
 9952  12175   
                            path,
 9953  12176   
                        },
 9954  12177   
                        }
 9955  12178   
        }
 9956  12179   
    }
       12180  +
       12181  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9957  12182   
}
 9958         -
/// See [`MinRangeLong`](crate::model::MinRangeLong).
       12183  +
/// /* CodegenDelegator.kt:51 */See [`MinRangeLong`](crate::model::MinRangeLong).
 9959  12184   
pub mod min_range_long {
 9960  12185   
       12186  +
    /* ConstrainedNumberGenerator.kt:139 */
 9961  12187   
    #[derive(Debug, PartialEq)]
 9962  12188   
    pub enum ConstraintViolation {
 9963  12189   
        Range(i64),
 9964  12190   
    }
 9965  12191   
 9966  12192   
    impl ::std::fmt::Display for ConstraintViolation {
 9967  12193   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9968  12194   
            write!(f, "Value for `com.amazonaws.constraints#MinRangeLong`failed to satisfy constraint: Member must be greater than or equal to -10")
 9969  12195   
        }
 9970  12196   
    }
 9971  12197   
 9972  12198   
    impl ::std::error::Error for ConstraintViolation {}
       12199  +
    /* ConstrainedNumberGenerator.kt:159 */
 9973  12200   
    impl ConstraintViolation {
 9974  12201   
        pub(crate) fn as_validation_exception_field(
 9975  12202   
            self,
 9976  12203   
            path: ::std::string::String,
 9977  12204   
        ) -> crate::model::ValidationExceptionField {
 9978  12205   
            match self {
 9979  12206   
                            Self::Range(_) => crate::model::ValidationExceptionField {
 9980  12207   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be greater than or equal to -10", &path),
 9981  12208   
                            path,
 9982  12209   
                        },
 9983  12210   
                        }
 9984  12211   
        }
 9985  12212   
    }
       12213  +
       12214  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9986  12215   
}
 9987         -
/// See [`FixedValueShort`](crate::model::FixedValueShort).
       12216  +
/// /* CodegenDelegator.kt:51 */See [`FixedValueShort`](crate::model::FixedValueShort).
 9988  12217   
pub mod fixed_value_short {
 9989  12218   
       12219  +
    /* ConstrainedNumberGenerator.kt:139 */
 9990  12220   
    #[derive(Debug, PartialEq)]
 9991  12221   
    pub enum ConstraintViolation {
 9992  12222   
        Range(i16),
 9993  12223   
    }
 9994  12224   
 9995  12225   
    impl ::std::fmt::Display for ConstraintViolation {
 9996  12226   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9997  12227   
            write!(f, "Value for `com.amazonaws.constraints#FixedValueShort`failed to satisfy constraint: Member must be between 10 and 10, inclusive")
 9998  12228   
        }
 9999  12229   
    }
10000  12230   
10001  12231   
    impl ::std::error::Error for ConstraintViolation {}
       12232  +
    /* ConstrainedNumberGenerator.kt:159 */
10002  12233   
    impl ConstraintViolation {
10003  12234   
        pub(crate) fn as_validation_exception_field(
10004  12235   
            self,
10005  12236   
            path: ::std::string::String,
10006  12237   
        ) -> crate::model::ValidationExceptionField {
10007  12238   
            match self {
10008  12239   
                            Self::Range(_) => crate::model::ValidationExceptionField {
10009  12240   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 10 and 10, inclusive", &path),
10010  12241   
                            path,
10011  12242   
                        },
10012  12243   
                        }
10013  12244   
        }
10014  12245   
    }
       12246  +
       12247  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10015  12248   
}
10016         -
/// See [`MaxRangeShort`](crate::model::MaxRangeShort).
       12249  +
/// /* CodegenDelegator.kt:51 */See [`MaxRangeShort`](crate::model::MaxRangeShort).
10017  12250   
pub mod max_range_short {
10018  12251   
       12252  +
    /* ConstrainedNumberGenerator.kt:139 */
10019  12253   
    #[derive(Debug, PartialEq)]
10020  12254   
    pub enum ConstraintViolation {
10021  12255   
        Range(i16),
10022  12256   
    }
10023  12257   
10024  12258   
    impl ::std::fmt::Display for ConstraintViolation {
10025  12259   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10026  12260   
            write!(f, "Value for `com.amazonaws.constraints#MaxRangeShort`failed to satisfy constraint: Member must be less than or equal to 11")
10027  12261   
        }
10028  12262   
    }
10029  12263   
10030  12264   
    impl ::std::error::Error for ConstraintViolation {}
       12265  +
    /* ConstrainedNumberGenerator.kt:159 */
10031  12266   
    impl ConstraintViolation {
10032  12267   
        pub(crate) fn as_validation_exception_field(
10033  12268   
            self,
10034  12269   
            path: ::std::string::String,
10035  12270   
        ) -> crate::model::ValidationExceptionField {
10036  12271   
            match self {
10037  12272   
                            Self::Range(_) => crate::model::ValidationExceptionField {
10038  12273   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be less than or equal to 11", &path),
10039  12274   
                            path,
10040  12275   
                        },
10041  12276   
                        }
10042  12277   
        }
10043  12278   
    }
       12279  +
       12280  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10044  12281   
}
10045         -
/// See [`MinRangeShort`](crate::model::MinRangeShort).
       12282  +
/// /* CodegenDelegator.kt:51 */See [`MinRangeShort`](crate::model::MinRangeShort).
10046  12283   
pub mod min_range_short {
10047  12284   
       12285  +
    /* ConstrainedNumberGenerator.kt:139 */
10048  12286   
    #[derive(Debug, PartialEq)]
10049  12287   
    pub enum ConstraintViolation {
10050  12288   
        Range(i16),
10051  12289   
    }
10052  12290   
10053  12291   
    impl ::std::fmt::Display for ConstraintViolation {
10054  12292   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10055  12293   
            write!(f, "Value for `com.amazonaws.constraints#MinRangeShort`failed to satisfy constraint: Member must be greater than or equal to -10")
10056  12294   
        }
10057  12295   
    }
10058  12296   
10059  12297   
    impl ::std::error::Error for ConstraintViolation {}
       12298  +
    /* ConstrainedNumberGenerator.kt:159 */
10060  12299   
    impl ConstraintViolation {
10061  12300   
        pub(crate) fn as_validation_exception_field(
10062  12301   
            self,
10063  12302   
            path: ::std::string::String,
10064  12303   
        ) -> crate::model::ValidationExceptionField {
10065  12304   
            match self {
10066  12305   
                            Self::Range(_) => crate::model::ValidationExceptionField {
10067  12306   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be greater than or equal to -10", &path),
10068  12307   
                            path,
10069  12308   
                        },
10070  12309   
                        }
10071  12310   
        }
10072  12311   
    }
       12312  +
       12313  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10073  12314   
}
10074         -
/// See [`FixedValueInteger`](crate::model::FixedValueInteger).
       12315  +
/// /* CodegenDelegator.kt:51 */See [`FixedValueInteger`](crate::model::FixedValueInteger).
10075  12316   
pub mod fixed_value_integer {
10076  12317   
       12318  +
    /* ConstrainedNumberGenerator.kt:139 */
10077  12319   
    #[derive(Debug, PartialEq)]
10078  12320   
    pub enum ConstraintViolation {
10079  12321   
        Range(i32),
10080  12322   
    }
10081  12323   
10082  12324   
    impl ::std::fmt::Display for ConstraintViolation {
10083  12325   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10084  12326   
            write!(f, "Value for `com.amazonaws.constraints#FixedValueInteger`failed to satisfy constraint: Member must be between 69 and 69, inclusive")
10085  12327   
        }
10086  12328   
    }
10087  12329   
10088  12330   
    impl ::std::error::Error for ConstraintViolation {}
       12331  +
    /* ConstrainedNumberGenerator.kt:159 */
10089  12332   
    impl ConstraintViolation {
10090  12333   
        pub(crate) fn as_validation_exception_field(
10091  12334   
            self,
10092  12335   
            path: ::std::string::String,
10093  12336   
        ) -> crate::model::ValidationExceptionField {
10094  12337   
            match self {
10095  12338   
                            Self::Range(_) => crate::model::ValidationExceptionField {
10096  12339   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 69 and 69, inclusive", &path),
10097  12340   
                            path,
10098  12341   
                        },
10099  12342   
                        }
10100  12343   
        }
10101  12344   
    }
       12345  +
       12346  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10102  12347   
}
10103         -
/// See [`MaxRangeInteger`](crate::model::MaxRangeInteger).
       12348  +
/// /* CodegenDelegator.kt:51 */See [`MaxRangeInteger`](crate::model::MaxRangeInteger).
10104  12349   
pub mod max_range_integer {
10105  12350   
       12351  +
    /* ConstrainedNumberGenerator.kt:139 */
10106  12352   
    #[derive(Debug, PartialEq)]
10107  12353   
    pub enum ConstraintViolation {
10108  12354   
        Range(i32),
10109  12355   
    }
10110  12356   
10111  12357   
    impl ::std::fmt::Display for ConstraintViolation {
10112  12358   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10113  12359   
            write!(f, "Value for `com.amazonaws.constraints#MaxRangeInteger`failed to satisfy constraint: Member must be less than or equal to 69")
10114  12360   
        }
10115  12361   
    }
10116  12362   
10117  12363   
    impl ::std::error::Error for ConstraintViolation {}
       12364  +
    /* ConstrainedNumberGenerator.kt:159 */
10118  12365   
    impl ConstraintViolation {
10119  12366   
        pub(crate) fn as_validation_exception_field(
10120  12367   
            self,
10121  12368   
            path: ::std::string::String,
10122  12369   
        ) -> crate::model::ValidationExceptionField {
10123  12370   
            match self {
10124  12371   
                            Self::Range(_) => crate::model::ValidationExceptionField {
10125  12372   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be less than or equal to 69", &path),
10126  12373   
                            path,
10127  12374   
                        },
10128  12375   
                        }
10129  12376   
        }
10130  12377   
    }
       12378  +
       12379  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10131  12380   
}
10132         -
/// See [`MinRangeInteger`](crate::model::MinRangeInteger).
       12381  +
/// /* CodegenDelegator.kt:51 */See [`MinRangeInteger`](crate::model::MinRangeInteger).
10133  12382   
pub mod min_range_integer {
10134  12383   
       12384  +
    /* ConstrainedNumberGenerator.kt:139 */
10135  12385   
    #[derive(Debug, PartialEq)]
10136  12386   
    pub enum ConstraintViolation {
10137  12387   
        Range(i32),
10138  12388   
    }
10139  12389   
10140  12390   
    impl ::std::fmt::Display for ConstraintViolation {
10141  12391   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10142  12392   
            write!(f, "Value for `com.amazonaws.constraints#MinRangeInteger`failed to satisfy constraint: Member must be greater than or equal to -10")
10143  12393   
        }
10144  12394   
    }
10145  12395   
10146  12396   
    impl ::std::error::Error for ConstraintViolation {}
       12397  +
    /* ConstrainedNumberGenerator.kt:159 */
10147  12398   
    impl ConstraintViolation {
10148  12399   
        pub(crate) fn as_validation_exception_field(
10149  12400   
            self,
10150  12401   
            path: ::std::string::String,
10151  12402   
        ) -> crate::model::ValidationExceptionField {
10152  12403   
            match self {
10153  12404   
                            Self::Range(_) => crate::model::ValidationExceptionField {
10154  12405   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be greater than or equal to -10", &path),
10155  12406   
                            path,
10156  12407   
                        },
10157  12408   
                        }
10158  12409   
        }
10159  12410   
    }
       12411  +
       12412  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10160  12413   
}
10161         -
/// See [`FixedLengthBlob`](crate::model::FixedLengthBlob).
       12414  +
/// /* CodegenDelegator.kt:51 */See [`FixedLengthBlob`](crate::model::FixedLengthBlob).
10162  12415   
pub mod fixed_length_blob {
10163  12416   
       12417  +
    /* ConstrainedBlobGenerator.kt:129 */
10164  12418   
    #[derive(Debug, PartialEq)]
10165  12419   
    pub enum ConstraintViolation {
10166  12420   
        /// Error when a blob doesn't satisfy its `@length` requirements.
10167  12421   
        Length(usize),
10168  12422   
    }
10169  12423   
10170  12424   
    impl ::std::fmt::Display for ConstraintViolation {
10171  12425   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10172  12426   
            let message = match self {
10173  12427   
                Self::Length(length) => {
10174  12428   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#FixedLengthBlob' failed to satisfy constraint: Member must have length between 70 and 70, inclusive", length)
10175  12429   
                }
10176  12430   
            };
10177  12431   
            write!(f, "{message}")
10178  12432   
        }
10179  12433   
    }
10180  12434   
10181  12435   
    impl ::std::error::Error for ConstraintViolation {}
       12436  +
    /* ConstrainedBlobGenerator.kt:154 */
10182  12437   
    impl ConstraintViolation {
10183  12438   
        pub(crate) fn as_validation_exception_field(
10184  12439   
            self,
10185  12440   
            path: ::std::string::String,
10186  12441   
        ) -> crate::model::ValidationExceptionField {
10187  12442   
            match self {
10188  12443   
                            Self::Length(length) => crate::model::ValidationExceptionField {
10189  12444   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 70 and 70, inclusive", length, &path),
10190  12445   
                            path,
10191  12446   
                        },
10192  12447   
                        }
10193  12448   
        }
10194  12449   
    }
       12450  +
       12451  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10195  12452   
}
10196         -
/// See [`MaxLengthBlob`](crate::model::MaxLengthBlob).
       12453  +
/// /* CodegenDelegator.kt:51 */See [`MaxLengthBlob`](crate::model::MaxLengthBlob).
10197  12454   
pub mod max_length_blob {
10198  12455   
       12456  +
    /* ConstrainedBlobGenerator.kt:129 */
10199  12457   
    #[derive(Debug, PartialEq)]
10200  12458   
    pub enum ConstraintViolation {
10201  12459   
        /// Error when a blob doesn't satisfy its `@length` requirements.
10202  12460   
        Length(usize),
10203  12461   
    }
10204  12462   
10205  12463   
    impl ::std::fmt::Display for ConstraintViolation {
10206  12464   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10207  12465   
            let message = match self {
10208  12466   
                Self::Length(length) => {
10209  12467   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#MaxLengthBlob' failed to satisfy constraint: Member must have length less than or equal to 70", length)
10210  12468   
                }
10211  12469   
            };
10212  12470   
            write!(f, "{message}")
10213  12471   
        }
10214  12472   
    }
10215  12473   
10216  12474   
    impl ::std::error::Error for ConstraintViolation {}
       12475  +
    /* ConstrainedBlobGenerator.kt:154 */
10217  12476   
    impl ConstraintViolation {
10218  12477   
        pub(crate) fn as_validation_exception_field(
10219  12478   
            self,
10220  12479   
            path: ::std::string::String,
10221  12480   
        ) -> crate::model::ValidationExceptionField {
10222  12481   
            match self {
10223  12482   
                            Self::Length(length) => crate::model::ValidationExceptionField {
10224  12483   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length less than or equal to 70", length, &path),
10225  12484   
                            path,
10226  12485   
                        },
10227  12486   
                        }
10228  12487   
        }
10229  12488   
    }
       12489  +
       12490  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10230  12491   
}
10231         -
/// See [`MinLengthBlob`](crate::model::MinLengthBlob).
       12492  +
/// /* CodegenDelegator.kt:51 */See [`MinLengthBlob`](crate::model::MinLengthBlob).
10232  12493   
pub mod min_length_blob {
10233  12494   
       12495  +
    /* ConstrainedBlobGenerator.kt:129 */
10234  12496   
    #[derive(Debug, PartialEq)]
10235  12497   
    pub enum ConstraintViolation {
10236  12498   
        /// Error when a blob doesn't satisfy its `@length` requirements.
10237  12499   
        Length(usize),
10238  12500   
    }
10239  12501   
10240  12502   
    impl ::std::fmt::Display for ConstraintViolation {
10241  12503   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10242  12504   
            let message = match self {
10243  12505   
                Self::Length(length) => {
10244  12506   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#MinLengthBlob' failed to satisfy constraint: Member must have length greater than or equal to 2", length)
10245  12507   
                }
10246  12508   
            };
10247  12509   
            write!(f, "{message}")
10248  12510   
        }
10249  12511   
    }
10250  12512   
10251  12513   
    impl ::std::error::Error for ConstraintViolation {}
       12514  +
    /* ConstrainedBlobGenerator.kt:154 */
10252  12515   
    impl ConstraintViolation {
10253  12516   
        pub(crate) fn as_validation_exception_field(
10254  12517   
            self,
10255  12518   
            path: ::std::string::String,
10256  12519   
        ) -> crate::model::ValidationExceptionField {
10257  12520   
            match self {
10258  12521   
                            Self::Length(length) => crate::model::ValidationExceptionField {
10259  12522   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length greater than or equal to 2", length, &path),
10260  12523   
                            path,
10261  12524   
                        },
10262  12525   
                        }
10263  12526   
        }
10264  12527   
    }
       12528  +
       12529  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10265  12530   
}
10266         -
/// See [`FixedLengthString`](crate::model::FixedLengthString).
       12531  +
/// /* CodegenDelegator.kt:51 */See [`FixedLengthString`](crate::model::FixedLengthString).
10267  12532   
pub mod fixed_length_string {
10268  12533   
       12534  +
    /* ConstrainedStringGenerator.kt:155 */
10269  12535   
    #[derive(Debug, PartialEq)]
10270  12536   
    pub enum ConstraintViolation {
10271  12537   
        /// Error when a string doesn't satisfy its `@length` requirements.
10272  12538   
        Length(usize),
10273  12539   
    }
10274  12540   
10275  12541   
    impl ::std::fmt::Display for ConstraintViolation {
10276  12542   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10277  12543   
            let message = match self {
10278  12544   
                Self::Length(length) => {
10279  12545   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#FixedLengthString' failed to satisfy constraint: Member must have length between 69 and 69, inclusive", length)
10280  12546   
                }
10281  12547   
            };
10282  12548   
            write!(f, "{message}")
10283  12549   
        }
10284  12550   
    }
10285  12551   
10286  12552   
    impl ::std::error::Error for ConstraintViolation {}
       12553  +
    /* ConstrainedStringGenerator.kt:180 */
10287  12554   
    impl ConstraintViolation {
10288  12555   
        pub(crate) fn as_validation_exception_field(
10289  12556   
            self,
10290  12557   
            path: ::std::string::String,
10291  12558   
        ) -> crate::model::ValidationExceptionField {
10292  12559   
            match self {
10293  12560   
                            Self::Length(length) => crate::model::ValidationExceptionField {
10294  12561   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 69 and 69, inclusive", length, &path),
10295  12562   
                            path,
10296  12563   
                        },
10297  12564   
                        }
10298  12565   
        }
10299  12566   
    }
       12567  +
       12568  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10300  12569   
}
10301         -
/// See [`MaxLengthString`](crate::model::MaxLengthString).
       12570  +
/// /* CodegenDelegator.kt:51 */See [`MaxLengthString`](crate::model::MaxLengthString).
10302  12571   
pub mod max_length_string {
10303  12572   
       12573  +
    /* ConstrainedStringGenerator.kt:155 */
10304  12574   
    #[derive(Debug, PartialEq)]
10305  12575   
    pub enum ConstraintViolation {
10306  12576   
        /// Error when a string doesn't satisfy its `@length` requirements.
10307  12577   
        Length(usize),
10308  12578   
    }
10309  12579   
10310  12580   
    impl ::std::fmt::Display for ConstraintViolation {
10311  12581   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10312  12582   
            let message = match self {
10313  12583   
                Self::Length(length) => {
10314  12584   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#MaxLengthString' failed to satisfy constraint: Member must have length less than or equal to 69", length)
10315  12585   
                }
10316  12586   
            };
10317  12587   
            write!(f, "{message}")
10318  12588   
        }
10319  12589   
    }
10320  12590   
10321  12591   
    impl ::std::error::Error for ConstraintViolation {}
       12592  +
    /* ConstrainedStringGenerator.kt:180 */
10322  12593   
    impl ConstraintViolation {
10323  12594   
        pub(crate) fn as_validation_exception_field(
10324  12595   
            self,
10325  12596   
            path: ::std::string::String,
10326  12597   
        ) -> crate::model::ValidationExceptionField {
10327  12598   
            match self {
10328  12599   
                            Self::Length(length) => crate::model::ValidationExceptionField {
10329  12600   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length less than or equal to 69", length, &path),
10330  12601   
                            path,
10331  12602   
                        },
10332  12603   
                        }
10333  12604   
        }
10334  12605   
    }
       12606  +
       12607  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10335  12608   
}
10336         -
/// See [`MinLengthString`](crate::model::MinLengthString).
       12609  +
/// /* CodegenDelegator.kt:51 */See [`MinLengthString`](crate::model::MinLengthString).
10337  12610   
pub mod min_length_string {
10338  12611   
       12612  +
    /* ConstrainedStringGenerator.kt:155 */
10339  12613   
    #[derive(Debug, PartialEq)]
10340  12614   
    pub enum ConstraintViolation {
10341  12615   
        /// Error when a string doesn't satisfy its `@length` requirements.
10342  12616   
        Length(usize),
10343  12617   
    }
10344  12618   
10345  12619   
    impl ::std::fmt::Display for ConstraintViolation {
10346  12620   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10347  12621   
            let message = match self {
10348  12622   
                Self::Length(length) => {
10349  12623   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#MinLengthString' failed to satisfy constraint: Member must have length greater than or equal to 2", length)
10350  12624   
                }
10351  12625   
            };
10352  12626   
            write!(f, "{message}")
10353  12627   
        }
10354  12628   
    }
10355  12629   
10356  12630   
    impl ::std::error::Error for ConstraintViolation {}
       12631  +
    /* ConstrainedStringGenerator.kt:180 */
10357  12632   
    impl ConstraintViolation {
10358  12633   
        pub(crate) fn as_validation_exception_field(
10359  12634   
            self,
10360  12635   
            path: ::std::string::String,
10361  12636   
        ) -> crate::model::ValidationExceptionField {
10362  12637   
            match self {
10363  12638   
                            Self::Length(length) => crate::model::ValidationExceptionField {
10364  12639   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length greater than or equal to 2", length, &path),
10365  12640   
                            path,
10366  12641   
                        },
10367  12642   
                        }
10368  12643   
        }
10369  12644   
    }
       12645  +
       12646  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10370  12647   
}
10371         -
/// See [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
       12648  +
/// /* ServerBuilderGenerator.kt:171 */See [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
10372  12649   
pub mod transitively_constrained_structure_in_output {
10373  12650   
       12651  +
    /* ServerBuilderGenerator.kt:461 */
10374  12652   
    impl ::std::convert::From<Builder> for crate::model::TransitivelyConstrainedStructureInOutput {
10375  12653   
        fn from(builder: Builder) -> Self {
10376  12654   
            builder.build()
10377  12655   
        }
10378  12656   
    }
10379         -
    /// A builder for [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
       12657  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
       12658  +
    /* RustType.kt:516 */
10380  12659   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
       12660  +
    /* ServerBuilderGenerator.kt:211 */
10381  12661   
    pub struct Builder {
       12662  +
        /* ServerBuilderGenerator.kt:308 */
10382  12663   
        pub(crate) length_string: ::std::option::Option<crate::model::LengthString>,
       12664  +
        /* ServerBuilderGenerator.kt:211 */
10383  12665   
    }
       12666  +
    /* ServerBuilderGenerator.kt:215 */
10384  12667   
    impl Builder {
       12668  +
        /* ServerBuilderGenerator.kt:331 */
10385  12669   
        #[allow(missing_docs)] // documentation missing in model
       12670  +
                               /* ServerBuilderGenerator.kt:343 */
10386  12671   
        pub fn length_string(
10387  12672   
            mut self,
10388  12673   
            input: ::std::option::Option<crate::model::LengthString>,
10389  12674   
        ) -> Self {
10390         -
            self.length_string = input;
       12675  +
            /* ServerBuilderGenerator.kt:344 */
       12676  +
            self.length_string =
       12677  +
                /* ServerBuilderGenerator.kt:376 */input
       12678  +
            /* ServerBuilderGenerator.kt:344 */;
10391  12679   
            self
       12680  +
            /* ServerBuilderGenerator.kt:343 */
10392  12681   
        }
10393         -
        /// Consumes the builder and constructs a [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
       12682  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
       12683  +
        /* ServerBuilderGenerator.kt:271 */
10394  12684   
        pub fn build(self) -> crate::model::TransitivelyConstrainedStructureInOutput {
10395  12685   
            self.build_enforcing_all_constraints()
10396  12686   
        }
       12687  +
        /* ServerBuilderGenerator.kt:283 */
10397  12688   
        fn build_enforcing_all_constraints(
10398  12689   
            self,
10399  12690   
        ) -> crate::model::TransitivelyConstrainedStructureInOutput {
       12691  +
            /* ServerBuilderGenerator.kt:542 */
10400  12692   
            crate::model::TransitivelyConstrainedStructureInOutput {
       12693  +
                /* ServerBuilderGenerator.kt:546 */
10401  12694   
                length_string: self.length_string,
       12695  +
                /* ServerBuilderGenerator.kt:542 */
10402  12696   
            }
       12697  +
            /* ServerBuilderGenerator.kt:283 */
10403  12698   
        }
       12699  +
        /* ServerBuilderGenerator.kt:215 */
10404  12700   
    }
       12701  +
       12702  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10405  12703   
}
10406         -
/// See [`ConstrainedMapInOutput`](crate::model::ConstrainedMapInOutput).
       12704  +
/// /* CodegenDelegator.kt:51 */See [`ConstrainedMapInOutput`](crate::model::ConstrainedMapInOutput).
10407  12705   
pub mod constrained_map_in_output {
10408  12706   
       12707  +
    /* MapConstraintViolationGenerator.kt:82 */
10409  12708   
    #[allow(clippy::enum_variant_names)]
10410  12709   
    #[derive(Debug, PartialEq)]
10411  12710   
    pub enum ConstraintViolation {
10412  12711   
        Length(usize),
10413  12712   
    }
10414  12713   
10415  12714   
    impl ::std::fmt::Display for ConstraintViolation {
10416  12715   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10417  12716   
            match self {
10418  12717   
                Self::Length(length) => {
10419  12718   
                    write!(f, "Value with length {} provided for 'com.amazonaws.constraints#ConstrainedMapInOutput' failed to satisfy constraint: Member must have length greater than or equal to 69", length)
10420  12719   
                }
10421  12720   
            }
10422  12721   
        }
10423  12722   
    }
10424  12723   
10425  12724   
    impl ::std::error::Error for ConstraintViolation {}
       12725  +
       12726  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10426  12727   
}
10427         -
/// See [`ConstrainedListInOutput`](crate::model::ConstrainedListInOutput).
       12728  +
/// /* CodegenDelegator.kt:51 */See [`ConstrainedListInOutput`](crate::model::ConstrainedListInOutput).
10428  12729   
pub mod constrained_list_in_output {
10429  12730   
       12731  +
    /* CollectionConstraintViolationGenerator.kt:78 */
10430  12732   
    #[allow(clippy::enum_variant_names)]
10431  12733   
    #[derive(Debug, PartialEq)]
10432  12734   
    pub enum ConstraintViolation {
10433  12735   
        /// Constraint violation error when the list doesn't have the required length
10434  12736   
        Length(usize),
10435  12737   
    }
10436  12738   
10437  12739   
    impl ::std::fmt::Display for ConstraintViolation {
10438  12740   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10439  12741   
            let message = match self {
10440  12742   
                Self::Length(length) => {
10441  12743   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#ConstrainedListInOutput' failed to satisfy constraint: Member must have length greater than or equal to 69", length)
10442  12744   
                }
10443  12745   
            };
10444  12746   
            write!(f, "{message}")
10445  12747   
        }
10446  12748   
    }
10447  12749   
10448  12750   
    impl ::std::error::Error for ConstraintViolation {}
       12751  +
       12752  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10449  12753   
}