Server Test Python

Server Test Python

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943

Files changed:

tmp-codegen-diff/codegen-server-test-python/constraints_without_public_constrained_types/rust-server-codegen-python/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 +362,377 @@
  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   
  333         -
/// Python wrapper types for event streams.
         340  +
/// /* PythonServerRustModule.kt:23 */Python wrapper types for event streams.
  334    341   
pub mod python_event_stream;
  335    342   
  336         -
/// Export PyO3 symbols in the shared library
         343  +
/// /* PythonServerRustModule.kt:23 */Export PyO3 symbols in the shared library
  337    344   
pub mod python_module_export;
  338    345   
  339         -
/// Operation adapters that delegate to Python handlers.
         346  +
/// /* PythonServerRustModule.kt:23 */Operation adapters that delegate to Python handlers.
  340    347   
pub mod python_operation_adaptor;
  341    348   
  342         -
/// Python server and application implementation.
         349  +
/// /* PythonServerRustModule.kt:23 */Python server and application implementation.
  343    350   
pub mod python_server_application;
  344    351   
         352  +
/* RustModule.kt:172 */
  345    353   
mod service;
  346    354   
  347         -
/// Data primitives referenced by other data types.
         355  +
/// /* ServerRustModule.kt:55 */Data primitives referenced by other data types.
  348    356   
pub mod types;
  349    357   
  350         -
/// Unconstrained types for constrained shapes.
         358  +
/// /* ServerRustModule.kt:55 */Unconstrained types for constrained shapes.
         359  +
/* RustModule.kt:172 */
  351    360   
mod unconstrained;
  352    361   
         362  +
/* RustModule.kt:172 */
  353    363   
mod event_stream_serde;
  354    364   
  355    365   
pub(crate) mod protocol_serde;
  356    366   
  357         -
/// Re-exported Python types from supporting crates.
         367  +
/// /* PythonServerCodegenDecorator.kt:57 */Re-exported Python types from supporting crates.
         368  +
/* PythonServerCodegenDecorator.kt:58 */
  358    369   
pub mod python_types {
         370  +
    /* PythonServerCodegenDecorator.kt:59 */
  359    371   
    pub use ::aws_smithy_http_server_python::types::Blob;
         372  +
    /* PythonServerCodegenDecorator.kt:60 */
  360    373   
    pub use ::aws_smithy_http_server_python::types::DateTime;
         374  +
    /* PythonServerCodegenDecorator.kt:61 */
  361    375   
    pub use ::aws_smithy_http_server_python::types::Document;
         376  +
    /* PythonServerCodegenDecorator.kt:58 */
  362    377   
}

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

@@ -1,1 +1724,2433 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* RustType.kt:516 */
    2      3   
#[::pyo3::pyclass]
           4  +
/* PythonServerStructureGenerator.kt:63 */
    3      5   
/// :param path str:
    4      6   
/// :param message str:
    5      7   
/// :rtype None:
    6         -
/// Describes one specific validation failure for an input member.
           8  +
/// /* StructureGenerator.kt:197 */Describes one specific validation failure for an input member.
           9  +
/* RustType.kt:516 */
    7     10   
#[derive(
    8     11   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
    9     12   
)]
   10         -
pub struct ValidationExceptionField {
          13  +
pub /* StructureGenerator.kt:201 */ struct ValidationExceptionField {
          14  +
    /* RustType.kt:516 */
   11     15   
    #[pyo3(get, set)]
          16  +
    /* PythonServerStructureGenerator.kt:80 */
   12     17   
    /// :type str:
   13         -
    /// A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
          18  +
    /// /* StructureGenerator.kt:231 */A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
   14     19   
    pub path: ::std::string::String,
          20  +
    /* RustType.kt:516 */
   15     21   
    #[pyo3(get, set)]
          22  +
    /* PythonServerStructureGenerator.kt:80 */
   16     23   
    /// :type str:
   17         -
    /// A detailed description of the validation failure.
          24  +
    /// /* StructureGenerator.kt:231 */A detailed description of the validation failure.
   18     25   
    pub message: ::std::string::String,
          26  +
    /* StructureGenerator.kt:201 */
   19     27   
}
          28  +
/* StructureGenerator.kt:135 */
   20     29   
impl ValidationExceptionField {
   21         -
    /// A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
          30  +
    /// /* StructureGenerator.kt:231 */A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
          31  +
    /* StructureGenerator.kt:166 */
   22     32   
    pub fn path(&self) -> &str {
          33  +
        /* StructureGenerator.kt:171 */
   23     34   
        use std::ops::Deref;
   24     35   
        self.path.deref()
          36  +
        /* StructureGenerator.kt:166 */
   25     37   
    }
   26         -
    /// A detailed description of the validation failure.
          38  +
    /// /* StructureGenerator.kt:231 */A detailed description of the validation failure.
          39  +
    /* StructureGenerator.kt:166 */
   27     40   
    pub fn message(&self) -> &str {
          41  +
        /* StructureGenerator.kt:171 */
   28     42   
        use std::ops::Deref;
   29     43   
        self.message.deref()
          44  +
        /* StructureGenerator.kt:166 */
   30     45   
    }
          46  +
    /* StructureGenerator.kt:135 */
   31     47   
}
          48  +
/* RustType.kt:516 */
   32     49   
#[allow(clippy::new_without_default)]
          50  +
/* RustType.kt:516 */
   33     51   
#[allow(clippy::too_many_arguments)]
          52  +
/* RustType.kt:516 */
   34     53   
#[::pyo3::pymethods]
          54  +
/* PythonServerStructureGenerator.kt:88 */
   35     55   
impl ValidationExceptionField {
   36     56   
    #[new]
   37     57   
    pub fn new(path: ::std::string::String, message: ::std::string::String) -> Self {
   38     58   
        Self { path, message }
   39     59   
    }
   40     60   
    fn __repr__(&self) -> String {
   41     61   
        format!("{self:?}")
   42     62   
    }
   43     63   
    fn __str__(&self) -> String {
   44     64   
        format!("{self:?}")
   45     65   
    }
   46     66   
}
          67  +
/* PythonServerStructureGenerator.kt:111 */
   47     68   
impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ValidationExceptionField> {
   48     69   
    fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
   49     70   
        ob.extract::<ValidationExceptionField>().map(Box::new)
   50     71   
    }
   51     72   
}
   52     73   
   53     74   
impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ValidationExceptionField> {
   54     75   
    fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
   55     76   
        (*self).into_py(py)
   56     77   
    }
   57     78   
}
          79  +
/* ServerCodegenVisitor.kt:370 */
   58     80   
impl ValidationExceptionField {
   59         -
    /// Creates a new builder-style object to manufacture [`ValidationExceptionField`](crate::model::ValidationExceptionField).
          81  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`ValidationExceptionField`](crate::model::ValidationExceptionField).
          82  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
   60     83   
    pub fn builder() -> crate::model::validation_exception_field::Builder {
          84  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
   61     85   
        crate::model::validation_exception_field::Builder::default()
          86  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
   62     87   
    }
          88  +
    /* ServerCodegenVisitor.kt:370 */
   63     89   
}
   64     90   
          91  +
/* UnionGenerator.kt:67 */
   65     92   
#[allow(missing_docs)] // documentation missing in model
          93  +
/* RustType.kt:516 */
   66     94   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
   67         -
pub enum Event {
          95  +
pub /* UnionGenerator.kt:85 */ enum Event {
          96  +
    /* UnionGenerator.kt:90 */
   68     97   
    #[allow(missing_docs)] // documentation missing in model
          98  +
    /* UnionGenerator.kt:190 */
   69     99   
    RegularMessage(crate::model::EventStreamRegularMessage),
         100  +
    /* UnionGenerator.kt:85 */
   70    101   
}
         102  +
/* UnionGenerator.kt:111 */
   71    103   
impl Event {
         104  +
    /* RustType.kt:516 */
   72    105   
    #[allow(irrefutable_let_patterns)]
         106  +
    /* UnionGenerator.kt:217 */
   73    107   
    /// Tries to convert the enum instance into [`RegularMessage`](crate::model::Event::RegularMessage), extracting the inner [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
         108  +
    /* UnionGenerator.kt:222 */
   74    109   
    /// Returns `Err(&Self)` if it can't be converted.
         110  +
    /* UnionGenerator.kt:223 */
   75    111   
    pub fn as_regular_message(
   76    112   
        &self,
   77    113   
    ) -> ::std::result::Result<&crate::model::EventStreamRegularMessage, &Self> {
         114  +
        /* UnionGenerator.kt:227 */
   78    115   
        if let Event::RegularMessage(val) = &self {
   79    116   
            ::std::result::Result::Ok(val)
   80    117   
        } else {
   81    118   
            ::std::result::Result::Err(self)
   82    119   
        }
         120  +
        /* UnionGenerator.kt:223 */
   83    121   
    }
         122  +
    /* UnionGenerator.kt:121 */
   84    123   
    /// Returns true if this is a [`RegularMessage`](crate::model::Event::RegularMessage).
         124  +
    /* UnionGenerator.kt:122 */
   85    125   
    pub fn is_regular_message(&self) -> bool {
         126  +
        /* UnionGenerator.kt:123 */
   86    127   
        self.as_regular_message().is_ok()
         128  +
        /* UnionGenerator.kt:122 */
   87    129   
    }
         130  +
    /* UnionGenerator.kt:111 */
   88    131   
}
         132  +
/* PythonServerUnionGenerator.kt:58 */
   89    133   
#[pyo3::pyclass(name = "Event")]
         134  +
/* RustType.kt:516 */
   90    135   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
   91         -
pub struct PyUnionMarkerEvent(pub Event);
         136  +
pub /* PythonServerUnionGenerator.kt:61 */ struct PyUnionMarkerEvent(pub Event);
         137  +
/* RustType.kt:516 */
   92    138   
#[::pyo3::pymethods]
         139  +
/* PythonServerUnionGenerator.kt:66 */
   93    140   
impl PyUnionMarkerEvent {
         141  +
    /* RustType.kt:516 */
   94    142   
    #[allow(irrefutable_let_patterns)]
         143  +
    /* RustType.kt:516 */
   95    144   
    #[staticmethod]
         145  +
    /* PythonServerUnionGenerator.kt:134 */
   96    146   
    /// Creates a new union instance of [`RegularMessage`](crate::model::Event::RegularMessage)
         147  +
    /* PythonServerUnionGenerator.kt:138 */
   97    148   
    /// :param data constraints_without_public_constrained_types.model.EventStreamRegularMessage:
         149  +
    /* PythonServerUnionGenerator.kt:139 */
   98    150   
    /// :rtype Event:
         151  +
    /* PythonServerUnionGenerator.kt:140 */
   99    152   
    pub fn regular_message(data: crate::model::EventStreamRegularMessage) -> Self {
         153  +
        /* PythonServerUnionGenerator.kt:141 */
  100    154   
        Self(Event::RegularMessage(data))
         155  +
        /* PythonServerUnionGenerator.kt:140 */
  101    156   
    }
         157  +
    /* PythonServerUnionGenerator.kt:176 */
  102    158   
    /// Tries to convert the enum instance into [`RegularMessage`](crate::model::Event::RegularMessage), extracting the inner [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
         159  +
    /* PythonServerUnionGenerator.kt:181 */
  103    160   
    /// :rtype constraints_without_public_constrained_types.model.EventStreamRegularMessage:
         161  +
    /* PythonServerUnionGenerator.kt:182 */
  104    162   
    pub fn as_regular_message(&self) -> ::pyo3::PyResult<crate::model::EventStreamRegularMessage> {
         163  +
        /* PythonServerUnionGenerator.kt:190 */
  105    164   
        match self.0.as_regular_message() {
  106    165   
            Ok(variant) => Ok(variant.clone()),
  107    166   
            Err(_) => Err(::pyo3::exceptions::PyValueError::new_err(
  108    167   
                r"Event variant is not of type constraints_without_public_constrained_types.model.EventStreamRegularMessage",
  109    168   
            )),
  110    169   
        }
         170  +
        /* PythonServerUnionGenerator.kt:182 */
  111    171   
    }
         172  +
    /* PythonServerUnionGenerator.kt:76 */
  112    173   
    /// Returns true if this is a [`RegularMessage`](crate::model::Event::RegularMessage).
         174  +
    /* PythonServerUnionGenerator.kt:77 */
  113    175   
    /// :rtype bool:
         176  +
    /* PythonServerUnionGenerator.kt:78 */
  114    177   
    pub fn is_regular_message(&self) -> bool {
         178  +
        /* PythonServerUnionGenerator.kt:79 */
  115    179   
        self.0.is_regular_message()
         180  +
        /* PythonServerUnionGenerator.kt:78 */
  116    181   
    }
         182  +
    /* PythonServerUnionGenerator.kt:66 */
  117    183   
}
         184  +
/* PythonServerUnionGenerator.kt:93 */
  118    185   
impl ::pyo3::IntoPy<::pyo3::PyObject> for Event {
         186  +
    /* PythonServerUnionGenerator.kt:94 */
  119    187   
    fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
         188  +
        /* PythonServerUnionGenerator.kt:95 */
  120    189   
        PyUnionMarkerEvent(self).into_py(py)
         190  +
        /* PythonServerUnionGenerator.kt:94 */
  121    191   
    }
         192  +
    /* PythonServerUnionGenerator.kt:93 */
  122    193   
}
         194  +
/* PythonServerUnionGenerator.kt:98 */
  123    195   
impl<'source> ::pyo3::FromPyObject<'source> for Event {
         196  +
    /* PythonServerUnionGenerator.kt:99 */
  124    197   
    fn extract(obj: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
         198  +
        /* PythonServerUnionGenerator.kt:100 */
  125    199   
        let data: PyUnionMarkerEvent = obj.extract()?;
  126    200   
        Ok(data.0)
         201  +
        /* PythonServerUnionGenerator.kt:99 */
  127    202   
    }
         203  +
    /* PythonServerUnionGenerator.kt:98 */
  128    204   
}
  129    205   
         206  +
/* RustType.kt:516 */
  130    207   
#[::pyo3::pyclass]
         208  +
/* PythonServerStructureGenerator.kt:63 */
  131    209   
/// :param message_content typing.Optional\[str\]:
  132    210   
/// :rtype None:
         211  +
/* StructureGenerator.kt:197 */
  133    212   
#[allow(missing_docs)] // documentation missing in model
         213  +
/* RustType.kt:516 */
  134    214   
#[derive(
  135    215   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  136    216   
)]
  137         -
pub struct EventStreamRegularMessage {
         217  +
pub /* StructureGenerator.kt:201 */ struct EventStreamRegularMessage {
         218  +
    /* RustType.kt:516 */
  138    219   
    #[pyo3(get, set)]
         220  +
    /* PythonServerStructureGenerator.kt:80 */
  139    221   
    /// :type typing.Optional\[str\]:
         222  +
    /* StructureGenerator.kt:231 */
  140    223   
    #[allow(missing_docs)] // documentation missing in model
  141    224   
    pub message_content: ::std::option::Option<::std::string::String>,
         225  +
    /* StructureGenerator.kt:201 */
  142    226   
}
         227  +
/* StructureGenerator.kt:135 */
  143    228   
impl EventStreamRegularMessage {
         229  +
    /* StructureGenerator.kt:231 */
  144    230   
    #[allow(missing_docs)] // documentation missing in model
         231  +
                           /* StructureGenerator.kt:166 */
  145    232   
    pub fn message_content(&self) -> ::std::option::Option<&str> {
         233  +
        /* StructureGenerator.kt:169 */
  146    234   
        self.message_content.as_deref()
         235  +
        /* StructureGenerator.kt:166 */
  147    236   
    }
         237  +
    /* StructureGenerator.kt:135 */
  148    238   
}
         239  +
/* RustType.kt:516 */
  149    240   
#[allow(clippy::new_without_default)]
         241  +
/* RustType.kt:516 */
  150    242   
#[allow(clippy::too_many_arguments)]
         243  +
/* RustType.kt:516 */
  151    244   
#[::pyo3::pymethods]
         245  +
/* PythonServerStructureGenerator.kt:88 */
  152    246   
impl EventStreamRegularMessage {
  153    247   
    #[new]
  154    248   
    pub fn new(message_content: ::std::option::Option<::std::string::String>) -> Self {
  155    249   
        Self { message_content }
  156    250   
    }
  157    251   
    fn __repr__(&self) -> String {
  158    252   
        format!("{self:?}")
  159    253   
    }
  160    254   
    fn __str__(&self) -> String {
  161    255   
        format!("{self:?}")
  162    256   
    }
  163    257   
}
         258  +
/* PythonServerStructureGenerator.kt:111 */
  164    259   
impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EventStreamRegularMessage> {
  165    260   
    fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
  166    261   
        ob.extract::<EventStreamRegularMessage>().map(Box::new)
  167    262   
    }
  168    263   
}
  169    264   
  170    265   
impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EventStreamRegularMessage> {
  171    266   
    fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
  172    267   
        (*self).into_py(py)
  173    268   
    }
  174    269   
}
         270  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  175    271   
impl crate::constrained::Constrained for crate::model::EventStreamRegularMessage {
  176    272   
    type Unconstrained = crate::model::event_stream_regular_message_internal::Builder;
  177    273   
}
         274  +
/* ServerCodegenVisitor.kt:370 */
  178    275   
impl EventStreamRegularMessage {
  179         -
    /// Creates a new builder-style object to manufacture [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
         276  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
         277  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  180    278   
    pub fn builder() -> crate::model::event_stream_regular_message::Builder {
         279  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
  181    280   
        crate::model::event_stream_regular_message::Builder::default()
         281  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  182    282   
    }
         283  +
    /* ServerCodegenVisitor.kt:370 */
  183    284   
}
  184    285   
         286  +
/* RustType.kt:516 */
  185    287   
#[::pyo3::pyclass]
         288  +
/* EnumGenerator.kt:154 */
  186    289   
#[allow(missing_docs)] // documentation missing in model
         290  +
/* RustType.kt:516 */
  187    291   
#[derive(
  188    292   
    ::std::clone::Clone,
  189    293   
    ::std::cmp::Eq,
  190    294   
    ::std::cmp::Ord,
  191    295   
    ::std::cmp::PartialEq,
  192    296   
    ::std::cmp::PartialOrd,
  193    297   
    ::std::fmt::Debug,
  194    298   
    ::std::hash::Hash,
  195    299   
)]
  196         -
pub enum EnumString {
         300  +
pub /* EnumGenerator.kt:267 */ enum EnumString {
         301  +
    /* EnumGenerator.kt:154 */
  197    302   
    #[allow(missing_docs)] // documentation missing in model
         303  +
    /* EnumGenerator.kt:143 */
  198    304   
    M256Mega,
         305  +
    /* EnumGenerator.kt:154 */
  199    306   
    #[allow(missing_docs)] // documentation missing in model
         307  +
    /* EnumGenerator.kt:143 */
  200    308   
    T2Micro,
         309  +
    /* EnumGenerator.kt:154 */
  201    310   
    #[allow(missing_docs)] // documentation missing in model
         311  +
    /* EnumGenerator.kt:143 */
  202    312   
    T2Nano,
         313  +
    /* EnumGenerator.kt:267 */
  203    314   
}
  204    315   
pub(crate) mod enum_string_internal {
  205    316   
    #[derive(Debug, PartialEq)]
  206    317   
    pub struct ConstraintViolation(pub(crate) ::std::string::String);
  207    318   
  208    319   
    impl ::std::fmt::Display for ConstraintViolation {
  209    320   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  210    321   
            write!(
  211    322   
                f,
  212    323   
                r#"Value provided for 'com.amazonaws.constraints#EnumString' failed to satisfy constraint: Member must satisfy enum value set: [t2.nano, t2.micro, m256.mega]"#
  213    324   
            )
  214    325   
        }
  215    326   
    }
  216    327   
  217    328   
    impl ::std::error::Error for ConstraintViolation {}
  218    329   
    impl ConstraintViolation {
  219    330   
        pub(crate) fn as_validation_exception_field(
  220    331   
            self,
  221    332   
            path: ::std::string::String,
  222    333   
        ) -> crate::model::ValidationExceptionField {
  223    334   
            crate::model::ValidationExceptionField {
  224    335   
                message: format!(
  225    336   
                    r#"Value at '{}' failed to satisfy constraint: Member must satisfy enum value set: [t2.nano, t2.micro, m256.mega]"#,
  226    337   
                    &path
  227    338   
                ),
  228    339   
                path,
  229    340   
            }
  230    341   
        }
  231    342   
    }
         343  +
         344  +
    /* ServerEnumGenerator.kt:46 */
  232    345   
}
         346  +
/* ServerEnumGenerator.kt:85 */
  233    347   
impl ::std::convert::TryFrom<&str> for EnumString {
  234    348   
    type Error = crate::model::enum_string_internal::ConstraintViolation;
  235    349   
    fn try_from(
  236    350   
        s: &str,
  237    351   
    ) -> ::std::result::Result<Self, <Self as ::std::convert::TryFrom<&str>>::Error> {
  238    352   
        match s {
  239    353   
            "m256.mega" => Ok(EnumString::M256Mega),
  240    354   
            "t2.micro" => Ok(EnumString::T2Micro),
  241    355   
            "t2.nano" => Ok(EnumString::T2Nano),
  242    356   
            _ => Err(crate::model::enum_string_internal::ConstraintViolation(
  243    357   
                s.to_owned(),
  244    358   
            )),
  245    359   
        }
  246    360   
    }
  247    361   
}
  248    362   
impl ::std::convert::TryFrom<::std::string::String> for EnumString {
  249    363   
    type Error = crate::model::enum_string_internal::ConstraintViolation;
  250    364   
    fn try_from(
  251    365   
        s: ::std::string::String,
  252    366   
    ) -> ::std::result::Result<Self, <Self as ::std::convert::TryFrom<::std::string::String>>::Error>
  253    367   
    {
  254    368   
        s.as_str().try_into()
  255    369   
    }
  256    370   
}
         371  +
/* ServerEnumGenerator.kt:145 */
  257    372   
impl std::str::FromStr for EnumString {
  258    373   
    type Err = crate::model::enum_string_internal::ConstraintViolation;
  259    374   
    fn from_str(s: &str) -> std::result::Result<Self, <Self as std::str::FromStr>::Err> {
  260    375   
        Self::try_from(s)
  261    376   
    }
  262    377   
}
         378  +
/* EnumGenerator.kt:274 */
  263    379   
impl EnumString {
  264    380   
    /// Returns the `&str` value of the enum member.
  265    381   
    pub fn as_str(&self) -> &str {
  266    382   
        match self {
  267    383   
            EnumString::M256Mega => "m256.mega",
  268    384   
            EnumString::T2Micro => "t2.micro",
  269    385   
            EnumString::T2Nano => "t2.nano",
  270    386   
        }
  271    387   
    }
  272    388   
    /// Returns all the `&str` representations of the enum members.
  273    389   
    pub const fn values() -> &'static [&'static str] {
  274    390   
        &["m256.mega", "t2.micro", "t2.nano"]
  275    391   
    }
  276    392   
}
         393  +
/* EnumGenerator.kt:223 */
  277    394   
impl ::std::convert::AsRef<str> for EnumString {
  278    395   
    fn as_ref(&self) -> &str {
  279    396   
        self.as_str()
  280    397   
    }
  281    398   
}
         399  +
/* RustType.kt:516 */
  282    400   
#[::pyo3::pymethods]
         401  +
/* PythonServerEnumGenerator.kt:41 */
  283    402   
impl EnumString {
  284    403   
    #[getter]
  285    404   
    pub fn name(&self) -> &str {
  286    405   
        match self {
  287    406   
            EnumString::M256Mega => "M256Mega",
  288    407   
            EnumString::T2Micro => "T2Micro",
  289    408   
            EnumString::T2Nano => "T2Nano",
  290    409   
        }
  291    410   
    }
  292    411   
    #[getter]
  293    412   
    pub fn value(&self) -> &str {
  294    413   
        self.as_str()
  295    414   
    }
  296    415   
    fn __repr__(&self) -> String {
  297    416   
        self.as_str().to_owned()
  298    417   
    }
  299    418   
    fn __str__(&self) -> String {
  300    419   
        self.as_str().to_owned()
  301    420   
    }
  302    421   
}
         422  +
/* ConstrainedTraitForEnumGenerator.kt:36 */
  303    423   
impl crate::constrained::Constrained for EnumString {
  304    424   
    type Unconstrained = ::std::string::String;
  305    425   
}
  306    426   
  307    427   
impl ::std::convert::From<::std::string::String>
  308    428   
    for crate::constrained::MaybeConstrained<crate::model::EnumString>
  309    429   
{
  310    430   
    fn from(value: ::std::string::String) -> Self {
  311    431   
        Self::Unconstrained(value)
  312    432   
    }
  313    433   
}
  314    434   
         435  +
/* ConstrainedMapGenerator.kt:78 */
  315    436   
#[allow(missing_docs)] // documentation missing in model
  316         -
///
         437  +
/// /* ConstrainedMapGenerator.kt:79 */
  317    438   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
  318    439   
/// [constraint traits]. Use [`ConBMap::try_from`] to construct values of this type.
  319    440   
///
  320    441   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
  321    442   
///
         443  +
/* RustType.kt:516 */
  322    444   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  323         -
pub(crate) struct ConBMap(
         445  +
pub(crate) /* ConstrainedMapGenerator.kt:82 */ struct ConBMap(
  324    446   
    pub(crate) ::std::collections::HashMap<::std::string::String, crate::model::LengthString>,
  325    447   
);
         448  +
/* ConstrainedMapGenerator.kt:83 */
  326    449   
impl ConBMap {
         450  +
    /* ConstrainedMapGenerator.kt:95 */
  327    451   
    /// Consumes the value, returning the underlying [`::std::collections::HashMap<::std::string::String, crate::model::LengthString>`].
  328    452   
    pub fn into_inner(
  329    453   
        self,
  330    454   
    ) -> ::std::collections::HashMap<::std::string::String, crate::model::LengthString> {
  331    455   
        self.0
  332    456   
    }
         457  +
    /* ConstrainedMapGenerator.kt:83 */
  333    458   
}
         459  +
/* ConstrainedMapGenerator.kt:106 */
  334    460   
impl
  335    461   
    ::std::convert::TryFrom<
  336    462   
        ::std::collections::HashMap<::std::string::String, crate::model::LengthString>,
  337    463   
    > for ConBMap
  338    464   
{
  339    465   
    type Error = crate::model::con_b_map_internal::ConstraintViolation;
  340    466   
  341    467   
    /// 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.
  342    468   
    fn try_from(
  343    469   
        value: ::std::collections::HashMap<::std::string::String, crate::model::LengthString>,
  344    470   
    ) -> ::std::result::Result<Self, Self::Error> {
  345    471   
        let length = value.len();
  346    472   
        if (1..=69).contains(&length) {
  347    473   
            Ok(Self(value))
  348    474   
        } else {
  349    475   
            Err(crate::model::con_b_map_internal::ConstraintViolation::Length(length))
  350    476   
        }
  351    477   
    }
  352    478   
}
  353    479   
  354    480   
impl ::std::convert::From<ConBMap>
  355    481   
    for ::std::collections::HashMap<::std::string::String, crate::model::LengthString>
  356    482   
{
  357    483   
    fn from(value: ConBMap) -> Self {
  358    484   
        value.into_inner()
  359    485   
    }
  360    486   
}
         487  +
/* ConstrainedMapGenerator.kt:146 */
  361    488   
impl ::std::convert::From<ConBMap>
  362    489   
    for ::std::collections::HashMap<::std::string::String, ::std::string::String>
  363    490   
{
  364    491   
    fn from(value: ConBMap) -> Self {
  365    492   
        value
  366    493   
            .into_inner()
  367    494   
            .into_iter()
  368    495   
            .map(|(k, v)| (k, v.into()))
  369    496   
            .collect()
  370    497   
    }
  371    498   
}
         499  +
/* ConstrainedMapGenerator.kt:164 */
  372    500   
impl crate::constrained::Constrained for ConBMap {
  373    501   
    type Unconstrained = crate::unconstrained::con_b_map_unconstrained::ConBMapUnconstrained;
  374    502   
}
  375    503   
         504  +
/* ConstrainedStringGenerator.kt:82 */
  376    505   
#[allow(missing_docs)] // documentation missing in model
  377         -
///
         506  +
/// /* ConstrainedStringGenerator.kt:83 */
  378    507   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
  379    508   
/// [constraint traits]. Use [`LengthString::try_from`] to construct values of this type.
  380    509   
///
  381    510   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
  382    511   
///
         512  +
/* RustType.kt:516 */
  383    513   
#[derive(
  384    514   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  385    515   
)]
  386         -
pub(crate) struct LengthString(pub(crate) ::std::string::String);
         516  +
pub(crate) /* ConstrainedStringGenerator.kt:86 */ struct LengthString(
         517  +
    pub(crate) ::std::string::String,
         518  +
);
         519  +
/* RustType.kt:516 */
  387    520   
#[allow(dead_code)]
         521  +
/* ConstrainedStringGenerator.kt:90 */
  388    522   
impl LengthString {
  389    523   
    /// Extracts a string slice containing the entire underlying `String`.
  390    524   
    pub fn as_str(&self) -> &str {
  391    525   
        &self.0
  392    526   
    }
  393    527   
  394    528   
    /// Returns an immutable reference to the underlying [`::std::string::String`].
  395    529   
    pub fn inner(&self) -> &::std::string::String {
  396    530   
        &self.0
  397    531   
    }
  398    532   
  399    533   
    /// Consumes the value, returning the underlying [`::std::string::String`].
  400    534   
    pub fn into_inner(self) -> ::std::string::String {
  401    535   
        self.0
  402    536   
    }
  403    537   
}
         538  +
/* TraitInfo.kt:41 */
  404    539   
impl LengthString {
  405    540   
    fn check_length(
  406    541   
        string: &str,
  407    542   
    ) -> ::std::result::Result<(), crate::model::length_string_internal::ConstraintViolation> {
  408    543   
        let length = string.chars().count();
  409    544   
  410    545   
        if (2..=69).contains(&length) {
  411    546   
            Ok(())
  412    547   
        } else {
  413    548   
            Err(crate::model::length_string_internal::ConstraintViolation::Length(length))
  414    549   
        }
  415    550   
    }
  416    551   
}
         552  +
/* TraitInfo.kt:57 */
  417    553   
impl ::std::convert::TryFrom<::std::string::String> for LengthString {
  418    554   
    type Error = crate::model::length_string_internal::ConstraintViolation;
  419    555   
  420    556   
    /// Constructs a `LengthString` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
  421    557   
    fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
  422    558   
        Self::check_length(&value)?;
  423    559   
  424    560   
        Ok(Self(value))
  425    561   
    }
  426    562   
}
         563  +
/* ConstrainedStringGenerator.kt:112 */
  427    564   
impl crate::constrained::Constrained for LengthString {
  428    565   
    type Unconstrained = ::std::string::String;
  429    566   
}
  430    567   
  431    568   
impl ::std::convert::From<::std::string::String>
  432    569   
    for crate::constrained::MaybeConstrained<crate::model::LengthString>
  433    570   
{
  434    571   
    fn from(value: ::std::string::String) -> Self {
  435    572   
        Self::Unconstrained(value)
  436    573   
    }
  437    574   
}
  438    575   
  439    576   
impl ::std::fmt::Display for LengthString {
  440    577   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  441    578   
        self.0.fmt(f)
  442    579   
    }
  443    580   
}
  444    581   
  445    582   
impl ::std::convert::From<LengthString> for ::std::string::String {
  446    583   
    fn from(value: LengthString) -> Self {
  447    584   
        value.into_inner()
  448    585   
    }
  449    586   
}
  450    587   
         588  +
/* ConstrainedStringGenerator.kt:82 */
  451    589   
#[allow(missing_docs)] // documentation missing in model
  452         -
///
         590  +
/// /* ConstrainedStringGenerator.kt:83 */
  453    591   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
  454    592   
/// [constraint traits]. Use [`LengthPatternString::try_from`] to construct values of this type.
  455    593   
///
  456    594   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
  457    595   
///
         596  +
/* RustType.kt:516 */
  458    597   
#[derive(
  459    598   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  460    599   
)]
  461         -
pub(crate) struct LengthPatternString(pub(crate) ::std::string::String);
         600  +
pub(crate) /* ConstrainedStringGenerator.kt:86 */ struct LengthPatternString(
         601  +
    pub(crate) ::std::string::String,
         602  +
);
         603  +
/* RustType.kt:516 */
  462    604   
#[allow(dead_code)]
         605  +
/* ConstrainedStringGenerator.kt:90 */
  463    606   
impl LengthPatternString {
  464    607   
    /// Extracts a string slice containing the entire underlying `String`.
  465    608   
    pub fn as_str(&self) -> &str {
  466    609   
        &self.0
  467    610   
    }
  468    611   
  469    612   
    /// Returns an immutable reference to the underlying [`::std::string::String`].
  470    613   
    pub fn inner(&self) -> &::std::string::String {
  471    614   
        &self.0
  472    615   
    }
  473    616   
  474    617   
    /// Consumes the value, returning the underlying [`::std::string::String`].
  475    618   
    pub fn into_inner(self) -> ::std::string::String {
  476    619   
        self.0
  477    620   
    }
  478    621   
}
         622  +
/* TraitInfo.kt:41 */
  479    623   
impl LengthPatternString {
  480    624   
    fn check_length(
  481    625   
        string: &str,
  482    626   
    ) -> ::std::result::Result<(), crate::model::length_pattern_string_internal::ConstraintViolation>
  483    627   
    {
  484    628   
        let length = string.chars().count();
  485    629   
  486    630   
        if (5..=10).contains(&length) {
  487    631   
            Ok(())
  488    632   
        } else {
  489    633   
            Err(crate::model::length_pattern_string_internal::ConstraintViolation::Length(length))
  490    634   
        }
  491    635   
    }
  492    636   
  493    637   
    fn check_pattern(
  494    638   
        string: ::std::string::String,
  495    639   
    ) -> ::std::result::Result<
  496    640   
        ::std::string::String,
  497    641   
        crate::model::length_pattern_string_internal::ConstraintViolation,
  498    642   
    > {
  499    643   
        let regex = Self::compile_regex();
  500    644   
  501    645   
        if regex.is_match(&string) {
  502    646   
            Ok(string)
  503    647   
        } else {
  504    648   
            Err(crate::model::length_pattern_string_internal::ConstraintViolation::Pattern(string))
  505    649   
        }
  506    650   
    }
  507    651   
  508    652   
    /// Attempts to compile the regex for this constrained type's `@pattern`.
  509    653   
    /// This can fail if the specified regex is not supported by the `::regex` crate.
  510    654   
    pub fn compile_regex() -> &'static ::regex::Regex {
  511    655   
        static REGEX: std::sync::LazyLock<::regex::Regex> = std::sync::LazyLock::new(|| {
  512    656   
            ::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"#)
  513    657   
        });
  514    658   
  515    659   
        &REGEX
  516    660   
    }
  517    661   
}
         662  +
/* TraitInfo.kt:57 */
  518    663   
impl ::std::convert::TryFrom<::std::string::String> for LengthPatternString {
  519    664   
    type Error = crate::model::length_pattern_string_internal::ConstraintViolation;
  520    665   
  521    666   
    /// Constructs a `LengthPatternString` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
  522    667   
    fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
  523    668   
        Self::check_length(&value)?;
  524    669   
  525    670   
        let value = Self::check_pattern(value)?;
  526    671   
  527    672   
        Ok(Self(value))
  528    673   
    }
  529    674   
}
         675  +
/* ConstrainedStringGenerator.kt:112 */
  530    676   
impl crate::constrained::Constrained for LengthPatternString {
  531    677   
    type Unconstrained = ::std::string::String;
  532    678   
}
  533    679   
  534    680   
impl ::std::convert::From<::std::string::String>
  535    681   
    for crate::constrained::MaybeConstrained<crate::model::LengthPatternString>
  536    682   
{
  537    683   
    fn from(value: ::std::string::String) -> Self {
  538    684   
        Self::Unconstrained(value)
  539    685   
    }
  540    686   
}
  541    687   
  542    688   
impl ::std::fmt::Display for LengthPatternString {
  543    689   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  544    690   
        self.0.fmt(f)
  545    691   
    }
  546    692   
}
  547    693   
  548    694   
impl ::std::convert::From<LengthPatternString> for ::std::string::String {
  549    695   
    fn from(value: LengthPatternString) -> Self {
  550    696   
        value.into_inner()
  551    697   
    }
  552    698   
}
  553    699   
         700  +
/* RustType.kt:516 */
  554    701   
#[cfg(test)]
         702  +
/* ConstrainedStringGenerator.kt:205 */
  555    703   
mod test_length_pattern_string {
  556    704   
    #[test]
  557    705   
    fn regex_compiles() {
  558    706   
        crate::model::LengthPatternString::compile_regex();
  559    707   
    }
         708  +
         709  +
    /* ConstrainedStringGenerator.kt:205 */
  560    710   
}
  561    711   
         712  +
/* ConstrainedStringGenerator.kt:82 */
  562    713   
#[allow(missing_docs)] // documentation missing in model
  563         -
///
         714  +
/// /* ConstrainedStringGenerator.kt:83 */
  564    715   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
  565    716   
/// [constraint traits]. Use [`PatternString::try_from`] to construct values of this type.
  566    717   
///
  567    718   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
  568    719   
///
         720  +
/* RustType.kt:516 */
  569    721   
#[derive(
  570    722   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  571    723   
)]
  572         -
pub(crate) struct PatternString(pub(crate) ::std::string::String);
         724  +
pub(crate) /* ConstrainedStringGenerator.kt:86 */ struct PatternString(
         725  +
    pub(crate) ::std::string::String,
         726  +
);
         727  +
/* RustType.kt:516 */
  573    728   
#[allow(dead_code)]
         729  +
/* ConstrainedStringGenerator.kt:90 */
  574    730   
impl PatternString {
  575    731   
    /// Extracts a string slice containing the entire underlying `String`.
  576    732   
    pub fn as_str(&self) -> &str {
  577    733   
        &self.0
  578    734   
    }
  579    735   
  580    736   
    /// Returns an immutable reference to the underlying [`::std::string::String`].
  581    737   
    pub fn inner(&self) -> &::std::string::String {
  582    738   
        &self.0
  583    739   
    }
  584    740   
  585    741   
    /// Consumes the value, returning the underlying [`::std::string::String`].
  586    742   
    pub fn into_inner(self) -> ::std::string::String {
  587    743   
        self.0
  588    744   
    }
  589    745   
}
         746  +
/* TraitInfo.kt:41 */
  590    747   
impl PatternString {
  591    748   
    fn check_pattern(
  592    749   
        string: ::std::string::String,
  593    750   
    ) -> ::std::result::Result<
  594    751   
        ::std::string::String,
  595    752   
        crate::model::pattern_string_internal::ConstraintViolation,
  596    753   
    > {
  597    754   
        let regex = Self::compile_regex();
  598    755   
  599    756   
        if regex.is_match(&string) {
  600    757   
            Ok(string)
  601    758   
        } else {
  602    759   
            Err(crate::model::pattern_string_internal::ConstraintViolation::Pattern(string))
  603    760   
        }
  604    761   
    }
  605    762   
  606    763   
    /// Attempts to compile the regex for this constrained type's `@pattern`.
  607    764   
    /// This can fail if the specified regex is not supported by the `::regex` crate.
  608    765   
    pub fn compile_regex() -> &'static ::regex::Regex {
  609    766   
        static REGEX: std::sync::LazyLock<::regex::Regex> = std::sync::LazyLock::new(|| {
  610    767   
            ::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"#)
  611    768   
        });
  612    769   
  613    770   
        &REGEX
  614    771   
    }
  615    772   
}
         773  +
/* TraitInfo.kt:57 */
  616    774   
impl ::std::convert::TryFrom<::std::string::String> for PatternString {
  617    775   
    type Error = crate::model::pattern_string_internal::ConstraintViolation;
  618    776   
  619    777   
    /// Constructs a `PatternString` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
  620    778   
    fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
  621    779   
        let value = Self::check_pattern(value)?;
  622    780   
  623    781   
        Ok(Self(value))
  624    782   
    }
  625    783   
}
         784  +
/* ConstrainedStringGenerator.kt:112 */
  626    785   
impl crate::constrained::Constrained for PatternString {
  627    786   
    type Unconstrained = ::std::string::String;
  628    787   
}
  629    788   
  630    789   
impl ::std::convert::From<::std::string::String>
  631    790   
    for crate::constrained::MaybeConstrained<crate::model::PatternString>
  632    791   
{
  633    792   
    fn from(value: ::std::string::String) -> Self {
  634    793   
        Self::Unconstrained(value)
  635    794   
    }
  636    795   
}
  637    796   
  638    797   
impl ::std::fmt::Display for PatternString {
  639    798   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  640    799   
        self.0.fmt(f)
  641    800   
    }
  642    801   
}
  643    802   
  644    803   
impl ::std::convert::From<PatternString> for ::std::string::String {
  645    804   
    fn from(value: PatternString) -> Self {
  646    805   
        value.into_inner()
  647    806   
    }
  648    807   
}
  649    808   
         809  +
/* RustType.kt:516 */
  650    810   
#[cfg(test)]
         811  +
/* ConstrainedStringGenerator.kt:205 */
  651    812   
mod test_pattern_string {
  652    813   
    #[test]
  653    814   
    fn regex_compiles() {
  654    815   
        crate::model::PatternString::compile_regex();
  655    816   
    }
         817  +
         818  +
    /* ConstrainedStringGenerator.kt:205 */
  656    819   
}
  657    820   
         821  +
/* ConstrainedCollectionGenerator.kt:93 */
  658    822   
#[allow(missing_docs)] // documentation missing in model
  659         -
///
         823  +
/// /* ConstrainedCollectionGenerator.kt:94 */
  660    824   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
  661    825   
/// [constraint traits]. Use [`LengthListOfPatternString::try_from`] to construct values of this type.
  662    826   
///
  663    827   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
  664    828   
///
         829  +
/* RustType.kt:516 */
  665    830   
#[derive(
  666    831   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  667    832   
)]
  668         -
pub(crate) struct LengthListOfPatternString(
         833  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct LengthListOfPatternString(
  669    834   
    pub(crate) ::std::vec::Vec<crate::model::PatternString>,
  670    835   
);
         836  +
/* ConstrainedCollectionGenerator.kt:104 */
  671    837   
impl LengthListOfPatternString {
         838  +
    /* ConstrainedCollectionGenerator.kt:116 */
  672    839   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::PatternString>`].
  673    840   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::PatternString> {
  674    841   
        self.0
  675    842   
    }
  676    843   
  677    844   
    fn check_length(
  678    845   
        length: usize,
  679    846   
    ) -> ::std::result::Result<
  680    847   
        (),
  681    848   
        crate::model::length_list_of_pattern_string_internal::ConstraintViolation,
  682    849   
    > {
  683    850   
        if (12..=39).contains(&length) {
  684    851   
            Ok(())
  685    852   
        } else {
  686    853   
            Err(
  687    854   
                crate::model::length_list_of_pattern_string_internal::ConstraintViolation::Length(
  688    855   
                    length,
  689    856   
                ),
  690    857   
            )
  691    858   
        }
  692    859   
    }
         860  +
    /* ConstrainedCollectionGenerator.kt:104 */
  693    861   
}
         862  +
/* ConstrainedCollectionGenerator.kt:133 */
  694    863   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::PatternString>>
  695    864   
    for LengthListOfPatternString
  696    865   
{
  697    866   
    type Error = crate::model::length_list_of_pattern_string_internal::ConstraintViolation;
  698    867   
  699    868   
    /// Constructs a `LengthListOfPatternString` from an [`::std::vec::Vec<crate::model::PatternString>`], failing when the provided value does not satisfy the modeled constraints.
  700    869   
    fn try_from(
  701    870   
        value: ::std::vec::Vec<crate::model::PatternString>,
  702    871   
    ) -> ::std::result::Result<Self, Self::Error> {
  703    872   
        Self::check_length(value.len())?;
  704    873   
  705    874   
        Ok(Self(value))
  706    875   
    }
  707    876   
}
  708    877   
  709    878   
impl ::std::convert::From<LengthListOfPatternString>
  710    879   
    for ::std::vec::Vec<crate::model::PatternString>
  711    880   
{
  712    881   
    fn from(value: LengthListOfPatternString) -> Self {
  713    882   
        value.into_inner()
  714    883   
    }
  715    884   
}
         885  +
/* ConstrainedCollectionGenerator.kt:163 */
  716    886   
impl ::std::convert::From<LengthListOfPatternString> for ::std::vec::Vec<::std::string::String> {
  717    887   
    fn from(value: LengthListOfPatternString) -> Self {
  718    888   
        value.into_inner().into_iter().map(|v| v.into()).collect()
  719    889   
    }
  720    890   
}
         891  +
/* ConstrainedCollectionGenerator.kt:181 */
  721    892   
impl crate::constrained::Constrained for LengthListOfPatternString {
  722    893   
    type Unconstrained = crate::unconstrained::length_list_of_pattern_string_unconstrained::LengthListOfPatternStringUnconstrained;
  723    894   
}
  724    895   
         896  +
/* ConstrainedCollectionGenerator.kt:93 */
  725    897   
#[allow(missing_docs)] // documentation missing in model
  726         -
///
         898  +
/// /* ConstrainedCollectionGenerator.kt:94 */
  727    899   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
  728    900   
/// [constraint traits]. Use [`SetOfLengthString::try_from`] to construct values of this type.
  729    901   
///
  730    902   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
  731    903   
///
         904  +
/* RustType.kt:516 */
  732    905   
#[derive(
  733    906   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  734    907   
)]
  735         -
pub(crate) struct SetOfLengthString(pub(crate) ::std::vec::Vec<crate::model::LengthString>);
         908  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct SetOfLengthString(
         909  +
    pub(crate) ::std::vec::Vec<crate::model::LengthString>,
         910  +
);
         911  +
/* ConstrainedCollectionGenerator.kt:104 */
  736    912   
impl SetOfLengthString {
         913  +
    /* ConstrainedCollectionGenerator.kt:116 */
  737    914   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::LengthString>`].
  738    915   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::LengthString> {
  739    916   
        self.0
  740    917   
    }
  741    918   
  742    919   
    fn check_unique_items(
  743    920   
        items: ::std::vec::Vec<crate::model::LengthString>,
  744    921   
    ) -> ::std::result::Result<
  745    922   
        ::std::vec::Vec<crate::model::LengthString>,
  746    923   
        crate::model::set_of_length_string_internal::ConstraintViolation,
  747    924   
    > {
  748    925   
        let mut seen = ::std::collections::HashMap::new();
  749    926   
        let mut duplicate_indices = ::std::vec::Vec::new();
  750    927   
        for (idx, item) in items.iter().enumerate() {
  751    928   
            if let Some(prev_idx) = seen.insert(item, idx) {
  752    929   
                duplicate_indices.push(prev_idx);
  753    930   
            }
  754    931   
        }
  755    932   
  756    933   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
  757    934   
        for idx in &duplicate_indices {
  758    935   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
  759    936   
                last_duplicate_indices.push(prev_idx);
  760    937   
            }
  761    938   
        }
  762    939   
        duplicate_indices.extend(last_duplicate_indices);
  763    940   
  764    941   
        if !duplicate_indices.is_empty() {
  765    942   
            debug_assert!(duplicate_indices.len() >= 2);
  766    943   
            Err(
  767    944   
                crate::model::set_of_length_string_internal::ConstraintViolation::UniqueItems {
  768    945   
                    duplicate_indices,
  769    946   
                    original: items,
  770    947   
                },
  771    948   
            )
  772    949   
        } else {
  773    950   
            Ok(items)
  774    951   
        }
  775    952   
    }
         953  +
    /* ConstrainedCollectionGenerator.kt:104 */
  776    954   
}
         955  +
/* ConstrainedCollectionGenerator.kt:133 */
  777    956   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::LengthString>> for SetOfLengthString {
  778    957   
    type Error = crate::model::set_of_length_string_internal::ConstraintViolation;
  779    958   
  780    959   
    /// Constructs a `SetOfLengthString` from an [`::std::vec::Vec<crate::model::LengthString>`], failing when the provided value does not satisfy the modeled constraints.
  781    960   
    fn try_from(
  782    961   
        value: ::std::vec::Vec<crate::model::LengthString>,
  783    962   
    ) -> ::std::result::Result<Self, Self::Error> {
  784    963   
        let value = Self::check_unique_items(value)?;
  785    964   
  786    965   
        Ok(Self(value))
  787    966   
    }
  788    967   
}
  789    968   
  790    969   
impl ::std::convert::From<SetOfLengthString> for ::std::vec::Vec<crate::model::LengthString> {
  791    970   
    fn from(value: SetOfLengthString) -> Self {
  792    971   
        value.into_inner()
  793    972   
    }
  794    973   
}
         974  +
/* ConstrainedCollectionGenerator.kt:163 */
  795    975   
impl ::std::convert::From<SetOfLengthString> for ::std::vec::Vec<::std::string::String> {
  796    976   
    fn from(value: SetOfLengthString) -> Self {
  797    977   
        value.into_inner().into_iter().map(|v| v.into()).collect()
  798    978   
    }
  799    979   
}
         980  +
/* ConstrainedCollectionGenerator.kt:181 */
  800    981   
impl crate::constrained::Constrained for SetOfLengthString {
  801    982   
    type Unconstrained =
  802    983   
        crate::unconstrained::set_of_length_string_unconstrained::SetOfLengthStringUnconstrained;
  803    984   
}
  804    985   
         986  +
/* RustType.kt:516 */
  805    987   
#[::pyo3::pyclass]
         988  +
/* PythonServerStructureGenerator.kt:63 */
  806    989   
/// :param recursive_member constraints_without_public_constrained_types.model.RecursiveShapesInputOutputNested2:
  807    990   
/// :rtype None:
         991  +
/* StructureGenerator.kt:197 */
  808    992   
#[allow(missing_docs)] // documentation missing in model
         993  +
/* RustType.kt:516 */
  809    994   
#[derive(
  810    995   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  811    996   
)]
  812         -
pub struct RecursiveShapesInputOutputNested1 {
         997  +
pub /* StructureGenerator.kt:201 */ struct RecursiveShapesInputOutputNested1 {
         998  +
    /* RustType.kt:516 */
  813    999   
    #[pyo3(get, set)]
        1000  +
    /* PythonServerStructureGenerator.kt:80 */
  814   1001   
    /// :type constraints_without_public_constrained_types.model.RecursiveShapesInputOutputNested2:
        1002  +
    /* StructureGenerator.kt:231 */
  815   1003   
    #[allow(missing_docs)] // documentation missing in model
  816   1004   
    pub recursive_member: ::std::boxed::Box<crate::model::RecursiveShapesInputOutputNested2>,
        1005  +
    /* StructureGenerator.kt:201 */
  817   1006   
}
        1007  +
/* StructureGenerator.kt:135 */
  818   1008   
impl RecursiveShapesInputOutputNested1 {
        1009  +
    /* StructureGenerator.kt:231 */
  819   1010   
    #[allow(missing_docs)] // documentation missing in model
        1011  +
                           /* StructureGenerator.kt:166 */
  820   1012   
    pub fn recursive_member(&self) -> &crate::model::RecursiveShapesInputOutputNested2 {
        1013  +
        /* StructureGenerator.kt:171 */
  821   1014   
        use std::ops::Deref;
  822   1015   
        self.recursive_member.deref()
        1016  +
        /* StructureGenerator.kt:166 */
  823   1017   
    }
        1018  +
    /* StructureGenerator.kt:135 */
  824   1019   
}
        1020  +
/* RustType.kt:516 */
  825   1021   
#[allow(clippy::new_without_default)]
        1022  +
/* RustType.kt:516 */
  826   1023   
#[allow(clippy::too_many_arguments)]
        1024  +
/* RustType.kt:516 */
  827   1025   
#[::pyo3::pymethods]
        1026  +
/* PythonServerStructureGenerator.kt:88 */
  828   1027   
impl RecursiveShapesInputOutputNested1 {
  829   1028   
    #[new]
  830   1029   
    pub fn new(
  831   1030   
        recursive_member: ::std::boxed::Box<crate::model::RecursiveShapesInputOutputNested2>,
  832   1031   
    ) -> Self {
  833   1032   
        Self { recursive_member }
  834   1033   
    }
  835   1034   
    fn __repr__(&self) -> String {
  836   1035   
        format!("{self:?}")
  837   1036   
    }
  838   1037   
    fn __str__(&self) -> String {
  839   1038   
        format!("{self:?}")
  840   1039   
    }
  841   1040   
}
        1041  +
/* PythonServerStructureGenerator.kt:111 */
  842   1042   
impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<RecursiveShapesInputOutputNested1> {
  843   1043   
    fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
  844   1044   
        ob.extract::<RecursiveShapesInputOutputNested1>()
  845   1045   
            .map(Box::new)
  846   1046   
    }
  847   1047   
}
  848   1048   
  849   1049   
impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<RecursiveShapesInputOutputNested1> {
  850   1050   
    fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
  851   1051   
        (*self).into_py(py)
  852   1052   
    }
  853   1053   
}
        1054  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  854   1055   
impl crate::constrained::Constrained for crate::model::RecursiveShapesInputOutputNested1 {
  855   1056   
    type Unconstrained = crate::model::recursive_shapes_input_output_nested1_internal::Builder;
  856   1057   
}
        1058  +
/* ServerCodegenVisitor.kt:370 */
  857   1059   
impl RecursiveShapesInputOutputNested1 {
  858         -
    /// Creates a new builder-style object to manufacture [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
        1060  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
        1061  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  859   1062   
    pub fn builder() -> crate::model::recursive_shapes_input_output_nested1::Builder {
        1063  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
  860   1064   
        crate::model::recursive_shapes_input_output_nested1::Builder::default()
        1065  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  861   1066   
    }
        1067  +
    /* ServerCodegenVisitor.kt:370 */
  862   1068   
}
  863   1069   
        1070  +
/* RustType.kt:516 */
  864   1071   
#[::pyo3::pyclass]
        1072  +
/* PythonServerStructureGenerator.kt:63 */
  865   1073   
/// :param recursive_member typing.Optional\[constraints_without_public_constrained_types.model.RecursiveShapesInputOutputNested1\]:
  866   1074   
/// :rtype None:
        1075  +
/* StructureGenerator.kt:197 */
  867   1076   
#[allow(missing_docs)] // documentation missing in model
        1077  +
/* RustType.kt:516 */
  868   1078   
#[derive(
  869   1079   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  870   1080   
)]
  871         -
pub struct RecursiveShapesInputOutputNested2 {
        1081  +
pub /* StructureGenerator.kt:201 */ struct RecursiveShapesInputOutputNested2 {
        1082  +
    /* RustType.kt:516 */
  872   1083   
    #[pyo3(get, set)]
        1084  +
    /* PythonServerStructureGenerator.kt:80 */
  873   1085   
    /// :type typing.Optional\[constraints_without_public_constrained_types.model.RecursiveShapesInputOutputNested1\]:
        1086  +
    /* StructureGenerator.kt:231 */
  874   1087   
    #[allow(missing_docs)] // documentation missing in model
  875   1088   
    pub recursive_member: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
        1089  +
    /* StructureGenerator.kt:201 */
  876   1090   
}
        1091  +
/* StructureGenerator.kt:135 */
  877   1092   
impl RecursiveShapesInputOutputNested2 {
        1093  +
    /* StructureGenerator.kt:231 */
  878   1094   
    #[allow(missing_docs)] // documentation missing in model
        1095  +
                           /* StructureGenerator.kt:166 */
  879   1096   
    pub fn recursive_member(
  880   1097   
        &self,
  881   1098   
    ) -> ::std::option::Option<&crate::model::RecursiveShapesInputOutputNested1> {
        1099  +
        /* StructureGenerator.kt:170 */
  882   1100   
        self.recursive_member.as_ref()
        1101  +
        /* StructureGenerator.kt:166 */
  883   1102   
    }
        1103  +
    /* StructureGenerator.kt:135 */
  884   1104   
}
        1105  +
/* RustType.kt:516 */
  885   1106   
#[allow(clippy::new_without_default)]
        1107  +
/* RustType.kt:516 */
  886   1108   
#[allow(clippy::too_many_arguments)]
        1109  +
/* RustType.kt:516 */
  887   1110   
#[::pyo3::pymethods]
        1111  +
/* PythonServerStructureGenerator.kt:88 */
  888   1112   
impl RecursiveShapesInputOutputNested2 {
  889   1113   
    #[new]
  890   1114   
    pub fn new(
  891   1115   
        recursive_member: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
  892   1116   
    ) -> Self {
  893   1117   
        Self { recursive_member }
  894   1118   
    }
  895   1119   
    fn __repr__(&self) -> String {
  896   1120   
        format!("{self:?}")
  897   1121   
    }
  898   1122   
    fn __str__(&self) -> String {
  899   1123   
        format!("{self:?}")
  900   1124   
    }
  901   1125   
}
        1126  +
/* PythonServerStructureGenerator.kt:111 */
  902   1127   
impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<RecursiveShapesInputOutputNested2> {
  903   1128   
    fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
  904   1129   
        ob.extract::<RecursiveShapesInputOutputNested2>()
  905   1130   
            .map(Box::new)
  906   1131   
    }
  907   1132   
}
  908   1133   
  909   1134   
impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<RecursiveShapesInputOutputNested2> {
  910   1135   
    fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
  911   1136   
        (*self).into_py(py)
  912   1137   
    }
  913   1138   
}
        1139  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  914   1140   
impl crate::constrained::Constrained for crate::model::RecursiveShapesInputOutputNested2 {
  915   1141   
    type Unconstrained = crate::model::recursive_shapes_input_output_nested2_internal::Builder;
  916   1142   
}
        1143  +
/* ServerCodegenVisitor.kt:370 */
  917   1144   
impl RecursiveShapesInputOutputNested2 {
  918         -
    /// Creates a new builder-style object to manufacture [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        1145  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        1146  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  919   1147   
    pub fn builder() -> crate::model::recursive_shapes_input_output_nested2::Builder {
        1148  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
  920   1149   
        crate::model::recursive_shapes_input_output_nested2::Builder::default()
        1150  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  921   1151   
    }
        1152  +
    /* ServerCodegenVisitor.kt:370 */
  922   1153   
}
  923   1154   
        1155  +
/* RustType.kt:516 */
  924   1156   
#[::pyo3::pyclass]
        1157  +
/* PythonServerStructureGenerator.kt:63 */
  925   1158   
/// :param con_b constraints_without_public_constrained_types.model.ConB:
  926         -
/// :param opt_con_b typing.Optional\[constraints_without_public_constrained_types.model.ConB\]:
  927         -
/// :param length_string typing.Optional\[str\]:
  928         -
/// :param min_length_string typing.Optional\[str\]:
  929         -
/// :param max_length_string typing.Optional\[str\]:
  930         -
/// :param fixed_length_string typing.Optional\[str\]:
  931         -
/// :param length_blob typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
  932         -
/// :param min_length_blob typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
  933         -
/// :param max_length_blob typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
  934         -
/// :param fixed_length_blob typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
  935   1159   
/// :param range_integer int:
  936   1160   
/// :param min_range_integer int:
  937   1161   
/// :param max_range_integer int:
  938   1162   
/// :param fixed_value_integer int:
  939   1163   
/// :param range_short int:
  940   1164   
/// :param min_range_short int:
  941   1165   
/// :param max_range_short int:
  942   1166   
/// :param fixed_value_short int:
  943   1167   
/// :param range_long int:
  944   1168   
/// :param min_range_long int:
  945   1169   
/// :param max_range_long int:
  946   1170   
/// :param fixed_value_long int:
  947   1171   
/// :param range_byte int:
  948   1172   
/// :param min_range_byte int:
  949   1173   
/// :param max_range_byte int:
  950   1174   
/// :param fixed_value_byte int:
        1175  +
/// :param opt_con_b typing.Optional\[constraints_without_public_constrained_types.model.ConB\]:
        1176  +
/// :param length_string typing.Optional\[str\]:
        1177  +
/// :param min_length_string typing.Optional\[str\]:
        1178  +
/// :param max_length_string typing.Optional\[str\]:
        1179  +
/// :param fixed_length_string typing.Optional\[str\]:
        1180  +
/// :param length_blob typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
        1181  +
/// :param min_length_blob typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
        1182  +
/// :param max_length_blob typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
        1183  +
/// :param fixed_length_blob typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
  951   1184   
/// :param con_b_list typing.Optional\[typing.List\[typing.List\[constraints_without_public_constrained_types.model.ConB\]\]\]:
  952   1185   
/// :param length_list typing.Optional\[typing.List\[str\]\]:
  953   1186   
/// :param sensitive_length_list typing.Optional\[typing.List\[constraints_without_public_constrained_types.model.SensitiveStructure\]\]:
  954   1187   
/// :param con_b_set typing.Optional\[typing.List\[typing.Set\[str\]\]\]:
  955   1188   
/// :param con_b_map typing.Optional\[typing.Dict\[str, str\]\]:
  956   1189   
/// :param length_map typing.Optional\[typing.Dict\[str, str\]\]:
  957   1190   
/// :param map_of_map_of_list_of_list_of_con_b typing.Optional\[typing.Dict\[str, typing.Dict\[str, typing.List\[typing.List\[constraints_without_public_constrained_types.model.ConB\]\]\]\]\]:
  958   1191   
/// :param sparse_map typing.Optional\[typing.Dict\[str, typing.Optional\[typing.List\[str\]\]\]\]:
  959   1192   
/// :param sparse_list typing.Optional\[typing.List\[typing.Optional\[str\]\]\]:
  960   1193   
/// :param sparse_length_map typing.Optional\[typing.Dict\[str, typing.Optional\[str\]\]\]:
  961   1194   
/// :param sparse_length_list typing.Optional\[typing.List\[typing.Optional\[str\]\]\]:
  962   1195   
/// :param constrained_union typing.Optional\[constraints_without_public_constrained_types.model.ConstrainedUnion\]:
  963   1196   
/// :param enum_string typing.Optional\[constraints_without_public_constrained_types.model.EnumString\]:
  964   1197   
/// :param list_of_length_string typing.Optional\[typing.List\[str\]\]:
  965   1198   
/// :param set_of_length_string typing.Optional\[typing.Set\[str\]\]:
  966   1199   
/// :param map_of_length_string typing.Optional\[typing.Dict\[str, str\]\]:
  967   1200   
/// :param list_of_length_blob typing.Optional\[typing.List\[constraints_without_public_constrained_types.types.Blob\]\]:
  968   1201   
/// :param map_of_length_blob typing.Optional\[typing.Dict\[str, constraints_without_public_constrained_types.types.Blob\]\]:
  969   1202   
/// :param list_of_range_integer typing.Optional\[typing.List\[int\]\]:
  970   1203   
/// :param set_of_range_integer typing.Optional\[typing.List\[int\]\]:
  971   1204   
/// :param map_of_range_integer typing.Optional\[typing.Dict\[str, int\]\]:
  972   1205   
/// :param list_of_range_short typing.Optional\[typing.List\[int\]\]:
  973   1206   
/// :param set_of_range_short typing.Optional\[typing.List\[int\]\]:
  974   1207   
/// :param map_of_range_short typing.Optional\[typing.Dict\[str, int\]\]:
  975   1208   
/// :param list_of_range_long typing.Optional\[typing.List\[int\]\]:
  976   1209   
/// :param set_of_range_long typing.Optional\[typing.List\[int\]\]:
  977   1210   
/// :param map_of_range_long typing.Optional\[typing.Dict\[str, int\]\]:
  978   1211   
/// :param list_of_range_byte typing.Optional\[typing.List\[int\]\]:
  979   1212   
/// :param set_of_range_byte typing.Optional\[typing.List\[int\]\]:
  980   1213   
/// :param map_of_range_byte typing.Optional\[typing.Dict\[str, int\]\]:
  981   1214   
/// :param non_streaming_blob typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
  982   1215   
/// :param pattern_string typing.Optional\[str\]:
  983   1216   
/// :param map_of_pattern_string typing.Optional\[typing.Dict\[str, str\]\]:
  984   1217   
/// :param list_of_pattern_string typing.Optional\[typing.List\[str\]\]:
  985   1218   
/// :param set_of_pattern_string typing.Optional\[typing.Set\[str\]\]:
  986   1219   
/// :param length_length_pattern_string typing.Optional\[str\]:
  987   1220   
/// :param map_of_length_pattern_string typing.Optional\[typing.Dict\[str, str\]\]:
  988   1221   
/// :param list_of_length_pattern_string typing.Optional\[typing.List\[str\]\]:
  989   1222   
/// :param set_of_length_pattern_string typing.Optional\[typing.Set\[str\]\]:
  990   1223   
/// :param length_list_of_pattern_string typing.Optional\[typing.List\[str\]\]:
  991   1224   
/// :param length_set_of_pattern_string typing.Optional\[typing.Set\[str\]\]:
  992   1225   
/// :rtype None:
        1226  +
/* StructureGenerator.kt:197 */
  993   1227   
#[allow(missing_docs)] // documentation missing in model
        1228  +
/* RustType.kt:516 */
  994   1229   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  995         -
pub struct ConA {
        1230  +
pub /* StructureGenerator.kt:201 */ struct ConA {
        1231  +
    /* RustType.kt:516 */
  996   1232   
    #[pyo3(get, set)]
        1233  +
    /* PythonServerStructureGenerator.kt:80 */
  997   1234   
    /// :type constraints_without_public_constrained_types.model.ConB:
        1235  +
    /* StructureGenerator.kt:231 */
  998   1236   
    #[allow(missing_docs)] // documentation missing in model
  999   1237   
    pub con_b: crate::model::ConB,
        1238  +
    /* RustType.kt:516 */
 1000   1239   
    #[pyo3(get, set)]
        1240  +
    /* PythonServerStructureGenerator.kt:80 */
 1001   1241   
    /// :type typing.Optional\[constraints_without_public_constrained_types.model.ConB\]:
        1242  +
    /* StructureGenerator.kt:231 */
 1002   1243   
    #[allow(missing_docs)] // documentation missing in model
 1003   1244   
    pub opt_con_b: ::std::option::Option<crate::model::ConB>,
        1245  +
    /* RustType.kt:516 */
 1004   1246   
    #[pyo3(get, set)]
        1247  +
    /* PythonServerStructureGenerator.kt:80 */
 1005   1248   
    /// :type typing.Optional\[str\]:
        1249  +
    /* StructureGenerator.kt:231 */
 1006   1250   
    #[allow(missing_docs)] // documentation missing in model
 1007   1251   
    pub length_string: ::std::option::Option<::std::string::String>,
        1252  +
    /* RustType.kt:516 */
 1008   1253   
    #[pyo3(get, set)]
        1254  +
    /* PythonServerStructureGenerator.kt:80 */
 1009   1255   
    /// :type typing.Optional\[str\]:
        1256  +
    /* StructureGenerator.kt:231 */
 1010   1257   
    #[allow(missing_docs)] // documentation missing in model
 1011   1258   
    pub min_length_string: ::std::option::Option<::std::string::String>,
        1259  +
    /* RustType.kt:516 */
 1012   1260   
    #[pyo3(get, set)]
        1261  +
    /* PythonServerStructureGenerator.kt:80 */
 1013   1262   
    /// :type typing.Optional\[str\]:
        1263  +
    /* StructureGenerator.kt:231 */
 1014   1264   
    #[allow(missing_docs)] // documentation missing in model
 1015   1265   
    pub max_length_string: ::std::option::Option<::std::string::String>,
        1266  +
    /* RustType.kt:516 */
 1016   1267   
    #[pyo3(get, set)]
        1268  +
    /* PythonServerStructureGenerator.kt:80 */
 1017   1269   
    /// :type typing.Optional\[str\]:
        1270  +
    /* StructureGenerator.kt:231 */
 1018   1271   
    #[allow(missing_docs)] // documentation missing in model
 1019   1272   
    pub fixed_length_string: ::std::option::Option<::std::string::String>,
        1273  +
    /* RustType.kt:516 */
 1020   1274   
    #[pyo3(get, set)]
        1275  +
    /* PythonServerStructureGenerator.kt:80 */
 1021   1276   
    /// :type typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
        1277  +
    /* StructureGenerator.kt:231 */
 1022   1278   
    #[allow(missing_docs)] // documentation missing in model
 1023   1279   
    pub length_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
        1280  +
    /* RustType.kt:516 */
 1024   1281   
    #[pyo3(get, set)]
        1282  +
    /* PythonServerStructureGenerator.kt:80 */
 1025   1283   
    /// :type typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
        1284  +
    /* StructureGenerator.kt:231 */
 1026   1285   
    #[allow(missing_docs)] // documentation missing in model
 1027   1286   
    pub min_length_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
        1287  +
    /* RustType.kt:516 */
 1028   1288   
    #[pyo3(get, set)]
        1289  +
    /* PythonServerStructureGenerator.kt:80 */
 1029   1290   
    /// :type typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
        1291  +
    /* StructureGenerator.kt:231 */
 1030   1292   
    #[allow(missing_docs)] // documentation missing in model
 1031   1293   
    pub max_length_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
        1294  +
    /* RustType.kt:516 */
 1032   1295   
    #[pyo3(get, set)]
        1296  +
    /* PythonServerStructureGenerator.kt:80 */
 1033   1297   
    /// :type typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
        1298  +
    /* StructureGenerator.kt:231 */
 1034   1299   
    #[allow(missing_docs)] // documentation missing in model
 1035   1300   
    pub fixed_length_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
        1301  +
    /* RustType.kt:516 */
 1036   1302   
    #[pyo3(get, set)]
        1303  +
    /* PythonServerStructureGenerator.kt:80 */
 1037   1304   
    /// :type int:
        1305  +
    /* StructureGenerator.kt:231 */
 1038   1306   
    #[allow(missing_docs)] // documentation missing in model
 1039   1307   
    pub range_integer: i32,
        1308  +
    /* RustType.kt:516 */
 1040   1309   
    #[pyo3(get, set)]
        1310  +
    /* PythonServerStructureGenerator.kt:80 */
 1041   1311   
    /// :type int:
        1312  +
    /* StructureGenerator.kt:231 */
 1042   1313   
    #[allow(missing_docs)] // documentation missing in model
 1043   1314   
    pub min_range_integer: i32,
        1315  +
    /* RustType.kt:516 */
 1044   1316   
    #[pyo3(get, set)]
        1317  +
    /* PythonServerStructureGenerator.kt:80 */
 1045   1318   
    /// :type int:
        1319  +
    /* StructureGenerator.kt:231 */
 1046   1320   
    #[allow(missing_docs)] // documentation missing in model
 1047   1321   
    pub max_range_integer: i32,
        1322  +
    /* RustType.kt:516 */
 1048   1323   
    #[pyo3(get, set)]
        1324  +
    /* PythonServerStructureGenerator.kt:80 */
 1049   1325   
    /// :type int:
        1326  +
    /* StructureGenerator.kt:231 */
 1050   1327   
    #[allow(missing_docs)] // documentation missing in model
 1051   1328   
    pub fixed_value_integer: i32,
        1329  +
    /* RustType.kt:516 */
 1052   1330   
    #[pyo3(get, set)]
        1331  +
    /* PythonServerStructureGenerator.kt:80 */
 1053   1332   
    /// :type int:
        1333  +
    /* StructureGenerator.kt:231 */
 1054   1334   
    #[allow(missing_docs)] // documentation missing in model
 1055   1335   
    pub range_short: i16,
        1336  +
    /* RustType.kt:516 */
 1056   1337   
    #[pyo3(get, set)]
        1338  +
    /* PythonServerStructureGenerator.kt:80 */
 1057   1339   
    /// :type int:
        1340  +
    /* StructureGenerator.kt:231 */
 1058   1341   
    #[allow(missing_docs)] // documentation missing in model
 1059   1342   
    pub min_range_short: i16,
        1343  +
    /* RustType.kt:516 */
 1060   1344   
    #[pyo3(get, set)]
        1345  +
    /* PythonServerStructureGenerator.kt:80 */
 1061   1346   
    /// :type int:
        1347  +
    /* StructureGenerator.kt:231 */
 1062   1348   
    #[allow(missing_docs)] // documentation missing in model
 1063   1349   
    pub max_range_short: i16,
        1350  +
    /* RustType.kt:516 */
 1064   1351   
    #[pyo3(get, set)]
        1352  +
    /* PythonServerStructureGenerator.kt:80 */
 1065   1353   
    /// :type int:
        1354  +
    /* StructureGenerator.kt:231 */
 1066   1355   
    #[allow(missing_docs)] // documentation missing in model
 1067   1356   
    pub fixed_value_short: i16,
        1357  +
    /* RustType.kt:516 */
 1068   1358   
    #[pyo3(get, set)]
        1359  +
    /* PythonServerStructureGenerator.kt:80 */
 1069   1360   
    /// :type int:
        1361  +
    /* StructureGenerator.kt:231 */
 1070   1362   
    #[allow(missing_docs)] // documentation missing in model
 1071   1363   
    pub range_long: i64,
        1364  +
    /* RustType.kt:516 */
 1072   1365   
    #[pyo3(get, set)]
        1366  +
    /* PythonServerStructureGenerator.kt:80 */
 1073   1367   
    /// :type int:
        1368  +
    /* StructureGenerator.kt:231 */
 1074   1369   
    #[allow(missing_docs)] // documentation missing in model
 1075   1370   
    pub min_range_long: i64,
        1371  +
    /* RustType.kt:516 */
 1076   1372   
    #[pyo3(get, set)]
        1373  +
    /* PythonServerStructureGenerator.kt:80 */
 1077   1374   
    /// :type int:
        1375  +
    /* StructureGenerator.kt:231 */
 1078   1376   
    #[allow(missing_docs)] // documentation missing in model
 1079   1377   
    pub max_range_long: i64,
        1378  +
    /* RustType.kt:516 */
 1080   1379   
    #[pyo3(get, set)]
        1380  +
    /* PythonServerStructureGenerator.kt:80 */
 1081   1381   
    /// :type int:
        1382  +
    /* StructureGenerator.kt:231 */
 1082   1383   
    #[allow(missing_docs)] // documentation missing in model
 1083   1384   
    pub fixed_value_long: i64,
        1385  +
    /* RustType.kt:516 */
 1084   1386   
    #[pyo3(get, set)]
        1387  +
    /* PythonServerStructureGenerator.kt:80 */
 1085   1388   
    /// :type int:
        1389  +
    /* StructureGenerator.kt:231 */
 1086   1390   
    #[allow(missing_docs)] // documentation missing in model
 1087   1391   
    pub range_byte: i8,
        1392  +
    /* RustType.kt:516 */
 1088   1393   
    #[pyo3(get, set)]
        1394  +
    /* PythonServerStructureGenerator.kt:80 */
 1089   1395   
    /// :type int:
        1396  +
    /* StructureGenerator.kt:231 */
 1090   1397   
    #[allow(missing_docs)] // documentation missing in model
 1091   1398   
    pub min_range_byte: i8,
        1399  +
    /* RustType.kt:516 */
 1092   1400   
    #[pyo3(get, set)]
        1401  +
    /* PythonServerStructureGenerator.kt:80 */
 1093   1402   
    /// :type int:
        1403  +
    /* StructureGenerator.kt:231 */
 1094   1404   
    #[allow(missing_docs)] // documentation missing in model
 1095   1405   
    pub max_range_byte: i8,
        1406  +
    /* RustType.kt:516 */
 1096   1407   
    #[pyo3(get, set)]
        1408  +
    /* PythonServerStructureGenerator.kt:80 */
 1097   1409   
    /// :type int:
        1410  +
    /* StructureGenerator.kt:231 */
 1098   1411   
    #[allow(missing_docs)] // documentation missing in model
 1099   1412   
    pub fixed_value_byte: i8,
        1413  +
    /* RustType.kt:516 */
 1100   1414   
    #[pyo3(get, set)]
        1415  +
    /* PythonServerStructureGenerator.kt:80 */
 1101   1416   
    /// :type typing.Optional\[typing.List\[typing.List\[constraints_without_public_constrained_types.model.ConB\]\]\]:
        1417  +
    /* StructureGenerator.kt:231 */
 1102   1418   
    #[allow(missing_docs)] // documentation missing in model
 1103   1419   
    pub con_b_list: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>>,
        1420  +
    /* RustType.kt:516 */
 1104   1421   
    #[pyo3(get, set)]
        1422  +
    /* PythonServerStructureGenerator.kt:80 */
 1105   1423   
    /// :type typing.Optional\[typing.List\[str\]\]:
        1424  +
    /* StructureGenerator.kt:231 */
 1106   1425   
    #[allow(missing_docs)] // documentation missing in model
 1107   1426   
    pub length_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
        1427  +
    /* RustType.kt:516 */
 1108   1428   
    #[pyo3(get, set)]
        1429  +
    /* PythonServerStructureGenerator.kt:80 */
 1109   1430   
    /// :type typing.Optional\[typing.List\[constraints_without_public_constrained_types.model.SensitiveStructure\]\]:
        1431  +
    /* StructureGenerator.kt:231 */
 1110   1432   
    #[allow(missing_docs)] // documentation missing in model
 1111   1433   
    pub sensitive_length_list:
 1112   1434   
        ::std::option::Option<::std::vec::Vec<crate::model::SensitiveStructure>>,
        1435  +
    /* RustType.kt:516 */
 1113   1436   
    #[pyo3(get, set)]
        1437  +
    /* PythonServerStructureGenerator.kt:80 */
 1114   1438   
    /// :type typing.Optional\[typing.List\[typing.Set\[str\]\]\]:
        1439  +
    /* StructureGenerator.kt:231 */
 1115   1440   
    #[allow(missing_docs)] // documentation missing in model
 1116   1441   
    pub con_b_set: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
        1442  +
    /* RustType.kt:516 */
 1117   1443   
    #[pyo3(get, set)]
        1444  +
    /* PythonServerStructureGenerator.kt:80 */
 1118   1445   
    /// :type typing.Optional\[typing.Dict\[str, str\]\]:
        1446  +
    /* StructureGenerator.kt:231 */
 1119   1447   
    #[allow(missing_docs)] // documentation missing in model
 1120   1448   
    pub con_b_map: ::std::option::Option<
 1121   1449   
        ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 1122   1450   
    >,
        1451  +
    /* RustType.kt:516 */
 1123   1452   
    #[pyo3(get, set)]
        1453  +
    /* PythonServerStructureGenerator.kt:80 */
 1124   1454   
    /// :type typing.Optional\[typing.Dict\[str, str\]\]:
        1455  +
    /* StructureGenerator.kt:231 */
 1125   1456   
    #[allow(missing_docs)] // documentation missing in model
 1126   1457   
    pub length_map: ::std::option::Option<
 1127   1458   
        ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 1128   1459   
    >,
        1460  +
    /* RustType.kt:516 */
 1129   1461   
    #[pyo3(get, set)]
        1462  +
    /* PythonServerStructureGenerator.kt:80 */
 1130   1463   
    /// :type typing.Optional\[typing.Dict\[str, typing.Dict\[str, typing.List\[typing.List\[constraints_without_public_constrained_types.model.ConB\]\]\]\]\]:
        1464  +
    /* StructureGenerator.kt:231 */
 1131   1465   
    #[allow(missing_docs)] // documentation missing in model
 1132   1466   
    pub map_of_map_of_list_of_list_of_con_b: ::std::option::Option<
 1133   1467   
        ::std::collections::HashMap<
 1134   1468   
            ::std::string::String,
 1135   1469   
            ::std::collections::HashMap<
 1136   1470   
                ::std::string::String,
 1137   1471   
                ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
 1138   1472   
            >,
 1139   1473   
        >,
 1140   1474   
    >,
        1475  +
    /* RustType.kt:516 */
 1141   1476   
    #[pyo3(get, set)]
        1477  +
    /* PythonServerStructureGenerator.kt:80 */
 1142   1478   
    /// :type typing.Optional\[typing.Dict\[str, typing.Optional\[typing.List\[str\]\]\]\]:
        1479  +
    /* StructureGenerator.kt:231 */
 1143   1480   
    #[allow(missing_docs)] // documentation missing in model
 1144   1481   
    pub sparse_map: ::std::option::Option<
 1145   1482   
        ::std::collections::HashMap<
 1146   1483   
            ::std::string::String,
 1147   1484   
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 1148   1485   
        >,
 1149   1486   
    >,
        1487  +
    /* RustType.kt:516 */
 1150   1488   
    #[pyo3(get, set)]
        1489  +
    /* PythonServerStructureGenerator.kt:80 */
 1151   1490   
    /// :type typing.Optional\[typing.List\[typing.Optional\[str\]\]\]:
        1491  +
    /* StructureGenerator.kt:231 */
 1152   1492   
    #[allow(missing_docs)] // documentation missing in model
 1153   1493   
    pub sparse_list:
 1154   1494   
        ::std::option::Option<::std::vec::Vec<::std::option::Option<::std::string::String>>>,
        1495  +
    /* RustType.kt:516 */
 1155   1496   
    #[pyo3(get, set)]
        1497  +
    /* PythonServerStructureGenerator.kt:80 */
 1156   1498   
    /// :type typing.Optional\[typing.Dict\[str, typing.Optional\[str\]\]\]:
        1499  +
    /* StructureGenerator.kt:231 */
 1157   1500   
    #[allow(missing_docs)] // documentation missing in model
 1158   1501   
    pub sparse_length_map: ::std::option::Option<
 1159   1502   
        ::std::collections::HashMap<
 1160   1503   
            ::std::string::String,
 1161   1504   
            ::std::option::Option<::std::string::String>,
 1162   1505   
        >,
 1163   1506   
    >,
        1507  +
    /* RustType.kt:516 */
 1164   1508   
    #[pyo3(get, set)]
        1509  +
    /* PythonServerStructureGenerator.kt:80 */
 1165   1510   
    /// :type typing.Optional\[typing.List\[typing.Optional\[str\]\]\]:
        1511  +
    /* StructureGenerator.kt:231 */
 1166   1512   
    #[allow(missing_docs)] // documentation missing in model
 1167   1513   
    pub sparse_length_list:
 1168   1514   
        ::std::option::Option<::std::vec::Vec<::std::option::Option<::std::string::String>>>,
        1515  +
    /* RustType.kt:516 */
 1169   1516   
    #[pyo3(get, set)]
        1517  +
    /* PythonServerStructureGenerator.kt:80 */
 1170   1518   
    /// :type typing.Optional\[constraints_without_public_constrained_types.model.ConstrainedUnion\]:
 1171         -
    /// A union with constrained members.
        1519  +
    /// /* StructureGenerator.kt:231 */A union with constrained members.
 1172   1520   
    pub constrained_union: ::std::option::Option<crate::model::ConstrainedUnion>,
        1521  +
    /* RustType.kt:516 */
 1173   1522   
    #[pyo3(get, set)]
        1523  +
    /* PythonServerStructureGenerator.kt:80 */
 1174   1524   
    /// :type typing.Optional\[constraints_without_public_constrained_types.model.EnumString\]:
        1525  +
    /* StructureGenerator.kt:231 */
 1175   1526   
    #[allow(missing_docs)] // documentation missing in model
 1176   1527   
    pub enum_string: ::std::option::Option<crate::model::EnumString>,
        1528  +
    /* RustType.kt:516 */
 1177   1529   
    #[pyo3(get, set)]
        1530  +
    /* PythonServerStructureGenerator.kt:80 */
 1178   1531   
    /// :type typing.Optional\[typing.List\[str\]\]:
        1532  +
    /* StructureGenerator.kt:231 */
 1179   1533   
    #[allow(missing_docs)] // documentation missing in model
 1180   1534   
    pub list_of_length_string: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
        1535  +
    /* RustType.kt:516 */
 1181   1536   
    #[pyo3(get, set)]
        1537  +
    /* PythonServerStructureGenerator.kt:80 */
 1182   1538   
    /// :type typing.Optional\[typing.Set\[str\]\]:
        1539  +
    /* StructureGenerator.kt:231 */
 1183   1540   
    #[allow(missing_docs)] // documentation missing in model
 1184   1541   
    pub set_of_length_string: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
        1542  +
    /* RustType.kt:516 */
 1185   1543   
    #[pyo3(get, set)]
        1544  +
    /* PythonServerStructureGenerator.kt:80 */
 1186   1545   
    /// :type typing.Optional\[typing.Dict\[str, str\]\]:
        1546  +
    /* StructureGenerator.kt:231 */
 1187   1547   
    #[allow(missing_docs)] // documentation missing in model
 1188   1548   
    pub map_of_length_string: ::std::option::Option<
 1189   1549   
        ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 1190   1550   
    >,
        1551  +
    /* RustType.kt:516 */
 1191   1552   
    #[pyo3(get, set)]
        1553  +
    /* PythonServerStructureGenerator.kt:80 */
 1192   1554   
    /// :type typing.Optional\[typing.List\[constraints_without_public_constrained_types.types.Blob\]\]:
        1555  +
    /* StructureGenerator.kt:231 */
 1193   1556   
    #[allow(missing_docs)] // documentation missing in model
 1194   1557   
    pub list_of_length_blob:
 1195   1558   
        ::std::option::Option<::std::vec::Vec<::aws_smithy_http_server_python::types::Blob>>,
        1559  +
    /* RustType.kt:516 */
 1196   1560   
    #[pyo3(get, set)]
        1561  +
    /* PythonServerStructureGenerator.kt:80 */
 1197   1562   
    /// :type typing.Optional\[typing.Dict\[str, constraints_without_public_constrained_types.types.Blob\]\]:
        1563  +
    /* StructureGenerator.kt:231 */
 1198   1564   
    #[allow(missing_docs)] // documentation missing in model
 1199   1565   
    pub map_of_length_blob: ::std::option::Option<
 1200   1566   
        ::std::collections::HashMap<
 1201   1567   
            ::std::string::String,
 1202   1568   
            ::aws_smithy_http_server_python::types::Blob,
 1203   1569   
        >,
 1204   1570   
    >,
        1571  +
    /* RustType.kt:516 */
 1205   1572   
    #[pyo3(get, set)]
        1573  +
    /* PythonServerStructureGenerator.kt:80 */
 1206   1574   
    /// :type typing.Optional\[typing.List\[int\]\]:
        1575  +
    /* StructureGenerator.kt:231 */
 1207   1576   
    #[allow(missing_docs)] // documentation missing in model
 1208   1577   
    pub list_of_range_integer: ::std::option::Option<::std::vec::Vec<i32>>,
        1578  +
    /* RustType.kt:516 */
 1209   1579   
    #[pyo3(get, set)]
        1580  +
    /* PythonServerStructureGenerator.kt:80 */
 1210   1581   
    /// :type typing.Optional\[typing.List\[int\]\]:
        1582  +
    /* StructureGenerator.kt:231 */
 1211   1583   
    #[allow(missing_docs)] // documentation missing in model
 1212   1584   
    pub set_of_range_integer: ::std::option::Option<::std::vec::Vec<i32>>,
        1585  +
    /* RustType.kt:516 */
 1213   1586   
    #[pyo3(get, set)]
        1587  +
    /* PythonServerStructureGenerator.kt:80 */
 1214   1588   
    /// :type typing.Optional\[typing.Dict\[str, int\]\]:
        1589  +
    /* StructureGenerator.kt:231 */
 1215   1590   
    #[allow(missing_docs)] // documentation missing in model
 1216   1591   
    pub map_of_range_integer:
 1217   1592   
        ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
        1593  +
    /* RustType.kt:516 */
 1218   1594   
    #[pyo3(get, set)]
        1595  +
    /* PythonServerStructureGenerator.kt:80 */
 1219   1596   
    /// :type typing.Optional\[typing.List\[int\]\]:
        1597  +
    /* StructureGenerator.kt:231 */
 1220   1598   
    #[allow(missing_docs)] // documentation missing in model
 1221   1599   
    pub list_of_range_short: ::std::option::Option<::std::vec::Vec<i16>>,
        1600  +
    /* RustType.kt:516 */
 1222   1601   
    #[pyo3(get, set)]
        1602  +
    /* PythonServerStructureGenerator.kt:80 */
 1223   1603   
    /// :type typing.Optional\[typing.List\[int\]\]:
        1604  +
    /* StructureGenerator.kt:231 */
 1224   1605   
    #[allow(missing_docs)] // documentation missing in model
 1225   1606   
    pub set_of_range_short: ::std::option::Option<::std::vec::Vec<i16>>,
        1607  +
    /* RustType.kt:516 */
 1226   1608   
    #[pyo3(get, set)]
        1609  +
    /* PythonServerStructureGenerator.kt:80 */
 1227   1610   
    /// :type typing.Optional\[typing.Dict\[str, int\]\]:
        1611  +
    /* StructureGenerator.kt:231 */
 1228   1612   
    #[allow(missing_docs)] // documentation missing in model
 1229   1613   
    pub map_of_range_short:
 1230   1614   
        ::std::option::Option<::std::collections::HashMap<::std::string::String, i16>>,
        1615  +
    /* RustType.kt:516 */
 1231   1616   
    #[pyo3(get, set)]
        1617  +
    /* PythonServerStructureGenerator.kt:80 */
 1232   1618   
    /// :type typing.Optional\[typing.List\[int\]\]:
        1619  +
    /* StructureGenerator.kt:231 */
 1233   1620   
    #[allow(missing_docs)] // documentation missing in model
 1234   1621   
    pub list_of_range_long: ::std::option::Option<::std::vec::Vec<i64>>,
        1622  +
    /* RustType.kt:516 */
 1235   1623   
    #[pyo3(get, set)]
        1624  +
    /* PythonServerStructureGenerator.kt:80 */
 1236   1625   
    /// :type typing.Optional\[typing.List\[int\]\]:
        1626  +
    /* StructureGenerator.kt:231 */
 1237   1627   
    #[allow(missing_docs)] // documentation missing in model
 1238   1628   
    pub set_of_range_long: ::std::option::Option<::std::vec::Vec<i64>>,
        1629  +
    /* RustType.kt:516 */
 1239   1630   
    #[pyo3(get, set)]
        1631  +
    /* PythonServerStructureGenerator.kt:80 */
 1240   1632   
    /// :type typing.Optional\[typing.Dict\[str, int\]\]:
        1633  +
    /* StructureGenerator.kt:231 */
 1241   1634   
    #[allow(missing_docs)] // documentation missing in model
 1242   1635   
    pub map_of_range_long:
 1243   1636   
        ::std::option::Option<::std::collections::HashMap<::std::string::String, i64>>,
        1637  +
    /* RustType.kt:516 */
 1244   1638   
    #[pyo3(get, set)]
        1639  +
    /* PythonServerStructureGenerator.kt:80 */
 1245   1640   
    /// :type typing.Optional\[typing.List\[int\]\]:
        1641  +
    /* StructureGenerator.kt:231 */
 1246   1642   
    #[allow(missing_docs)] // documentation missing in model
 1247   1643   
    pub list_of_range_byte: ::std::option::Option<::std::vec::Vec<i8>>,
        1644  +
    /* RustType.kt:516 */
 1248   1645   
    #[pyo3(get, set)]
        1646  +
    /* PythonServerStructureGenerator.kt:80 */
 1249   1647   
    /// :type typing.Optional\[typing.List\[int\]\]:
        1648  +
    /* StructureGenerator.kt:231 */
 1250   1649   
    #[allow(missing_docs)] // documentation missing in model
 1251   1650   
    pub set_of_range_byte: ::std::option::Option<::std::vec::Vec<i8>>,
        1651  +
    /* RustType.kt:516 */
 1252   1652   
    #[pyo3(get, set)]
        1653  +
    /* PythonServerStructureGenerator.kt:80 */
 1253   1654   
    /// :type typing.Optional\[typing.Dict\[str, int\]\]:
        1655  +
    /* StructureGenerator.kt:231 */
 1254   1656   
    #[allow(missing_docs)] // documentation missing in model
 1255   1657   
    pub map_of_range_byte:
 1256   1658   
        ::std::option::Option<::std::collections::HashMap<::std::string::String, i8>>,
        1659  +
    /* RustType.kt:516 */
 1257   1660   
    #[pyo3(get, set)]
        1661  +
    /* PythonServerStructureGenerator.kt:80 */
 1258   1662   
    /// :type typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
        1663  +
    /* StructureGenerator.kt:231 */
 1259   1664   
    #[allow(missing_docs)] // documentation missing in model
 1260   1665   
    pub non_streaming_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
        1666  +
    /* RustType.kt:516 */
 1261   1667   
    #[pyo3(get, set)]
        1668  +
    /* PythonServerStructureGenerator.kt:80 */
 1262   1669   
    /// :type typing.Optional\[str\]:
        1670  +
    /* StructureGenerator.kt:231 */
 1263   1671   
    #[allow(missing_docs)] // documentation missing in model
 1264   1672   
    pub pattern_string: ::std::option::Option<::std::string::String>,
        1673  +
    /* RustType.kt:516 */
 1265   1674   
    #[pyo3(get, set)]
        1675  +
    /* PythonServerStructureGenerator.kt:80 */
 1266   1676   
    /// :type typing.Optional\[typing.Dict\[str, str\]\]:
        1677  +
    /* StructureGenerator.kt:231 */
 1267   1678   
    #[allow(missing_docs)] // documentation missing in model
 1268   1679   
    pub map_of_pattern_string: ::std::option::Option<
 1269   1680   
        ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 1270   1681   
    >,
        1682  +
    /* RustType.kt:516 */
 1271   1683   
    #[pyo3(get, set)]
        1684  +
    /* PythonServerStructureGenerator.kt:80 */
 1272   1685   
    /// :type typing.Optional\[typing.List\[str\]\]:
        1686  +
    /* StructureGenerator.kt:231 */
 1273   1687   
    #[allow(missing_docs)] // documentation missing in model
 1274   1688   
    pub list_of_pattern_string: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
        1689  +
    /* RustType.kt:516 */
 1275   1690   
    #[pyo3(get, set)]
        1691  +
    /* PythonServerStructureGenerator.kt:80 */
 1276   1692   
    /// :type typing.Optional\[typing.Set\[str\]\]:
        1693  +
    /* StructureGenerator.kt:231 */
 1277   1694   
    #[allow(missing_docs)] // documentation missing in model
 1278   1695   
    pub set_of_pattern_string: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
        1696  +
    /* RustType.kt:516 */
 1279   1697   
    #[pyo3(get, set)]
        1698  +
    /* PythonServerStructureGenerator.kt:80 */
 1280   1699   
    /// :type typing.Optional\[str\]:
        1700  +
    /* StructureGenerator.kt:231 */
 1281   1701   
    #[allow(missing_docs)] // documentation missing in model
 1282   1702   
    pub length_length_pattern_string: ::std::option::Option<::std::string::String>,
        1703  +
    /* RustType.kt:516 */
 1283   1704   
    #[pyo3(get, set)]
        1705  +
    /* PythonServerStructureGenerator.kt:80 */
 1284   1706   
    /// :type typing.Optional\[typing.Dict\[str, str\]\]:
        1707  +
    /* StructureGenerator.kt:231 */
 1285   1708   
    #[allow(missing_docs)] // documentation missing in model
 1286   1709   
    pub map_of_length_pattern_string: ::std::option::Option<
 1287   1710   
        ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 1288   1711   
    >,
        1712  +
    /* RustType.kt:516 */
 1289   1713   
    #[pyo3(get, set)]
        1714  +
    /* PythonServerStructureGenerator.kt:80 */
 1290   1715   
    /// :type typing.Optional\[typing.List\[str\]\]:
        1716  +
    /* StructureGenerator.kt:231 */
 1291   1717   
    #[allow(missing_docs)] // documentation missing in model
 1292   1718   
    pub list_of_length_pattern_string:
 1293   1719   
        ::std::option::Option<::std::vec::Vec<::std::string::String>>,
        1720  +
    /* RustType.kt:516 */
 1294   1721   
    #[pyo3(get, set)]
        1722  +
    /* PythonServerStructureGenerator.kt:80 */
 1295   1723   
    /// :type typing.Optional\[typing.Set\[str\]\]:
        1724  +
    /* StructureGenerator.kt:231 */
 1296   1725   
    #[allow(missing_docs)] // documentation missing in model
 1297   1726   
    pub set_of_length_pattern_string: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
        1727  +
    /* RustType.kt:516 */
 1298   1728   
    #[pyo3(get, set)]
        1729  +
    /* PythonServerStructureGenerator.kt:80 */
 1299   1730   
    /// :type typing.Optional\[typing.List\[str\]\]:
        1731  +
    /* StructureGenerator.kt:231 */
 1300   1732   
    #[allow(missing_docs)] // documentation missing in model
 1301   1733   
    pub length_list_of_pattern_string:
 1302   1734   
        ::std::option::Option<::std::vec::Vec<::std::string::String>>,
        1735  +
    /* RustType.kt:516 */
 1303   1736   
    #[pyo3(get, set)]
        1737  +
    /* PythonServerStructureGenerator.kt:80 */
 1304   1738   
    /// :type typing.Optional\[typing.Set\[str\]\]:
        1739  +
    /* StructureGenerator.kt:231 */
 1305   1740   
    #[allow(missing_docs)] // documentation missing in model
 1306   1741   
    pub length_set_of_pattern_string: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
        1742  +
    /* StructureGenerator.kt:201 */
 1307   1743   
}
        1744  +
/* StructureGenerator.kt:135 */
 1308   1745   
impl ConA {
        1746  +
    /* StructureGenerator.kt:231 */
 1309   1747   
    #[allow(missing_docs)] // documentation missing in model
        1748  +
                           /* StructureGenerator.kt:166 */
 1310   1749   
    pub fn con_b(&self) -> &crate::model::ConB {
        1750  +
        /* StructureGenerator.kt:172 */
 1311   1751   
        &self.con_b
        1752  +
        /* StructureGenerator.kt:166 */
 1312   1753   
    }
        1754  +
    /* StructureGenerator.kt:231 */
 1313   1755   
    #[allow(missing_docs)] // documentation missing in model
        1756  +
                           /* StructureGenerator.kt:166 */
 1314   1757   
    pub fn opt_con_b(&self) -> ::std::option::Option<&crate::model::ConB> {
        1758  +
        /* StructureGenerator.kt:170 */
 1315   1759   
        self.opt_con_b.as_ref()
        1760  +
        /* StructureGenerator.kt:166 */
 1316   1761   
    }
        1762  +
    /* StructureGenerator.kt:231 */
 1317   1763   
    #[allow(missing_docs)] // documentation missing in model
        1764  +
                           /* StructureGenerator.kt:166 */
 1318   1765   
    pub fn length_string(&self) -> ::std::option::Option<&str> {
        1766  +
        /* StructureGenerator.kt:169 */
 1319   1767   
        self.length_string.as_deref()
        1768  +
        /* StructureGenerator.kt:166 */
 1320   1769   
    }
        1770  +
    /* StructureGenerator.kt:231 */
 1321   1771   
    #[allow(missing_docs)] // documentation missing in model
        1772  +
                           /* StructureGenerator.kt:166 */
 1322   1773   
    pub fn min_length_string(&self) -> ::std::option::Option<&str> {
        1774  +
        /* StructureGenerator.kt:169 */
 1323   1775   
        self.min_length_string.as_deref()
        1776  +
        /* StructureGenerator.kt:166 */
 1324   1777   
    }
        1778  +
    /* StructureGenerator.kt:231 */
 1325   1779   
    #[allow(missing_docs)] // documentation missing in model
        1780  +
                           /* StructureGenerator.kt:166 */
 1326   1781   
    pub fn max_length_string(&self) -> ::std::option::Option<&str> {
        1782  +
        /* StructureGenerator.kt:169 */
 1327   1783   
        self.max_length_string.as_deref()
        1784  +
        /* StructureGenerator.kt:166 */
 1328   1785   
    }
        1786  +
    /* StructureGenerator.kt:231 */
 1329   1787   
    #[allow(missing_docs)] // documentation missing in model
        1788  +
                           /* StructureGenerator.kt:166 */
 1330   1789   
    pub fn fixed_length_string(&self) -> ::std::option::Option<&str> {
        1790  +
        /* StructureGenerator.kt:169 */
 1331   1791   
        self.fixed_length_string.as_deref()
        1792  +
        /* StructureGenerator.kt:166 */
 1332   1793   
    }
        1794  +
    /* StructureGenerator.kt:231 */
 1333   1795   
    #[allow(missing_docs)] // documentation missing in model
        1796  +
                           /* StructureGenerator.kt:166 */
 1334   1797   
    pub fn length_blob(
 1335   1798   
        &self,
 1336   1799   
    ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
        1800  +
        /* StructureGenerator.kt:170 */
 1337   1801   
        self.length_blob.as_ref()
        1802  +
        /* StructureGenerator.kt:166 */
 1338   1803   
    }
        1804  +
    /* StructureGenerator.kt:231 */
 1339   1805   
    #[allow(missing_docs)] // documentation missing in model
        1806  +
                           /* StructureGenerator.kt:166 */
 1340   1807   
    pub fn min_length_blob(
 1341   1808   
        &self,
 1342   1809   
    ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
        1810  +
        /* StructureGenerator.kt:170 */
 1343   1811   
        self.min_length_blob.as_ref()
        1812  +
        /* StructureGenerator.kt:166 */
 1344   1813   
    }
        1814  +
    /* StructureGenerator.kt:231 */
 1345   1815   
    #[allow(missing_docs)] // documentation missing in model
        1816  +
                           /* StructureGenerator.kt:166 */
 1346   1817   
    pub fn max_length_blob(
 1347   1818   
        &self,
 1348   1819   
    ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
        1820  +
        /* StructureGenerator.kt:170 */
 1349   1821   
        self.max_length_blob.as_ref()
        1822  +
        /* StructureGenerator.kt:166 */
 1350   1823   
    }
        1824  +
    /* StructureGenerator.kt:231 */
 1351   1825   
    #[allow(missing_docs)] // documentation missing in model
        1826  +
                           /* StructureGenerator.kt:166 */
 1352   1827   
    pub fn fixed_length_blob(
 1353   1828   
        &self,
 1354   1829   
    ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
        1830  +
        /* StructureGenerator.kt:170 */
 1355   1831   
        self.fixed_length_blob.as_ref()
        1832  +
        /* StructureGenerator.kt:166 */
 1356   1833   
    }
        1834  +
    /* StructureGenerator.kt:231 */
 1357   1835   
    #[allow(missing_docs)] // documentation missing in model
        1836  +
                           /* StructureGenerator.kt:166 */
 1358   1837   
    pub fn range_integer(&self) -> i32 {
        1838  +
        /* StructureGenerator.kt:168 */
 1359   1839   
        self.range_integer
        1840  +
        /* StructureGenerator.kt:166 */
 1360   1841   
    }
        1842  +
    /* StructureGenerator.kt:231 */
 1361   1843   
    #[allow(missing_docs)] // documentation missing in model
        1844  +
                           /* StructureGenerator.kt:166 */
 1362   1845   
    pub fn min_range_integer(&self) -> i32 {
        1846  +
        /* StructureGenerator.kt:168 */
 1363   1847   
        self.min_range_integer
        1848  +
        /* StructureGenerator.kt:166 */
 1364   1849   
    }
        1850  +
    /* StructureGenerator.kt:231 */
 1365   1851   
    #[allow(missing_docs)] // documentation missing in model
        1852  +
                           /* StructureGenerator.kt:166 */
 1366   1853   
    pub fn max_range_integer(&self) -> i32 {
        1854  +
        /* StructureGenerator.kt:168 */
 1367   1855   
        self.max_range_integer
        1856  +
        /* StructureGenerator.kt:166 */
 1368   1857   
    }
        1858  +
    /* StructureGenerator.kt:231 */
 1369   1859   
    #[allow(missing_docs)] // documentation missing in model
        1860  +
                           /* StructureGenerator.kt:166 */
 1370   1861   
    pub fn fixed_value_integer(&self) -> i32 {
        1862  +
        /* StructureGenerator.kt:168 */
 1371   1863   
        self.fixed_value_integer
        1864  +
        /* StructureGenerator.kt:166 */
 1372   1865   
    }
        1866  +
    /* StructureGenerator.kt:231 */
 1373   1867   
    #[allow(missing_docs)] // documentation missing in model
        1868  +
                           /* StructureGenerator.kt:166 */
 1374   1869   
    pub fn range_short(&self) -> i16 {
        1870  +
        /* StructureGenerator.kt:168 */
 1375   1871   
        self.range_short
        1872  +
        /* StructureGenerator.kt:166 */
 1376   1873   
    }
        1874  +
    /* StructureGenerator.kt:231 */
 1377   1875   
    #[allow(missing_docs)] // documentation missing in model
        1876  +
                           /* StructureGenerator.kt:166 */
 1378   1877   
    pub fn min_range_short(&self) -> i16 {
        1878  +
        /* StructureGenerator.kt:168 */
 1379   1879   
        self.min_range_short
        1880  +
        /* StructureGenerator.kt:166 */
 1380   1881   
    }
        1882  +
    /* StructureGenerator.kt:231 */
 1381   1883   
    #[allow(missing_docs)] // documentation missing in model
        1884  +
                           /* StructureGenerator.kt:166 */
 1382   1885   
    pub fn max_range_short(&self) -> i16 {
        1886  +
        /* StructureGenerator.kt:168 */
 1383   1887   
        self.max_range_short
        1888  +
        /* StructureGenerator.kt:166 */
 1384   1889   
    }
        1890  +
    /* StructureGenerator.kt:231 */
 1385   1891   
    #[allow(missing_docs)] // documentation missing in model
        1892  +
                           /* StructureGenerator.kt:166 */
 1386   1893   
    pub fn fixed_value_short(&self) -> i16 {
        1894  +
        /* StructureGenerator.kt:168 */
 1387   1895   
        self.fixed_value_short
        1896  +
        /* StructureGenerator.kt:166 */
 1388   1897   
    }
        1898  +
    /* StructureGenerator.kt:231 */
 1389   1899   
    #[allow(missing_docs)] // documentation missing in model
        1900  +
                           /* StructureGenerator.kt:166 */
 1390   1901   
    pub fn range_long(&self) -> i64 {
        1902  +
        /* StructureGenerator.kt:168 */
 1391   1903   
        self.range_long
        1904  +
        /* StructureGenerator.kt:166 */
 1392   1905   
    }
        1906  +
    /* StructureGenerator.kt:231 */
 1393   1907   
    #[allow(missing_docs)] // documentation missing in model
        1908  +
                           /* StructureGenerator.kt:166 */
 1394   1909   
    pub fn min_range_long(&self) -> i64 {
        1910  +
        /* StructureGenerator.kt:168 */
 1395   1911   
        self.min_range_long
        1912  +
        /* StructureGenerator.kt:166 */
 1396   1913   
    }
        1914  +
    /* StructureGenerator.kt:231 */
 1397   1915   
    #[allow(missing_docs)] // documentation missing in model
        1916  +
                           /* StructureGenerator.kt:166 */
 1398   1917   
    pub fn max_range_long(&self) -> i64 {
        1918  +
        /* StructureGenerator.kt:168 */
 1399   1919   
        self.max_range_long
        1920  +
        /* StructureGenerator.kt:166 */
 1400   1921   
    }
        1922  +
    /* StructureGenerator.kt:231 */
 1401   1923   
    #[allow(missing_docs)] // documentation missing in model
        1924  +
                           /* StructureGenerator.kt:166 */
 1402   1925   
    pub fn fixed_value_long(&self) -> i64 {
        1926  +
        /* StructureGenerator.kt:168 */
 1403   1927   
        self.fixed_value_long
        1928  +
        /* StructureGenerator.kt:166 */
 1404   1929   
    }
        1930  +
    /* StructureGenerator.kt:231 */
 1405   1931   
    #[allow(missing_docs)] // documentation missing in model
        1932  +
                           /* StructureGenerator.kt:166 */
 1406   1933   
    pub fn range_byte(&self) -> i8 {
        1934  +
        /* StructureGenerator.kt:168 */
 1407   1935   
        self.range_byte
        1936  +
        /* StructureGenerator.kt:166 */
 1408   1937   
    }
        1938  +
    /* StructureGenerator.kt:231 */
 1409   1939   
    #[allow(missing_docs)] // documentation missing in model
        1940  +
                           /* StructureGenerator.kt:166 */
 1410   1941   
    pub fn min_range_byte(&self) -> i8 {
        1942  +
        /* StructureGenerator.kt:168 */
 1411   1943   
        self.min_range_byte
        1944  +
        /* StructureGenerator.kt:166 */
 1412   1945   
    }
        1946  +
    /* StructureGenerator.kt:231 */
 1413   1947   
    #[allow(missing_docs)] // documentation missing in model
        1948  +
                           /* StructureGenerator.kt:166 */
 1414   1949   
    pub fn max_range_byte(&self) -> i8 {
        1950  +
        /* StructureGenerator.kt:168 */
 1415   1951   
        self.max_range_byte
        1952  +
        /* StructureGenerator.kt:166 */
 1416   1953   
    }
        1954  +
    /* StructureGenerator.kt:231 */
 1417   1955   
    #[allow(missing_docs)] // documentation missing in model
        1956  +
                           /* StructureGenerator.kt:166 */
 1418   1957   
    pub fn fixed_value_byte(&self) -> i8 {
        1958  +
        /* StructureGenerator.kt:168 */
 1419   1959   
        self.fixed_value_byte
        1960  +
        /* StructureGenerator.kt:166 */
 1420   1961   
    }
        1962  +
    /* StructureGenerator.kt:231 */
 1421   1963   
    #[allow(missing_docs)] // documentation missing in model
        1964  +
                           /* StructureGenerator.kt:166 */
 1422   1965   
    pub fn con_b_list(&self) -> ::std::option::Option<&[::std::vec::Vec<crate::model::ConB>]> {
        1966  +
        /* StructureGenerator.kt:169 */
 1423   1967   
        self.con_b_list.as_deref()
        1968  +
        /* StructureGenerator.kt:166 */
 1424   1969   
    }
        1970  +
    /* StructureGenerator.kt:231 */
 1425   1971   
    #[allow(missing_docs)] // documentation missing in model
        1972  +
                           /* StructureGenerator.kt:166 */
 1426   1973   
    pub fn length_list(&self) -> ::std::option::Option<&[::std::string::String]> {
        1974  +
        /* StructureGenerator.kt:169 */
 1427   1975   
        self.length_list.as_deref()
        1976  +
        /* StructureGenerator.kt:166 */
 1428   1977   
    }
        1978  +
    /* StructureGenerator.kt:231 */
 1429   1979   
    #[allow(missing_docs)] // documentation missing in model
        1980  +
                           /* StructureGenerator.kt:166 */
 1430   1981   
    pub fn sensitive_length_list(
 1431   1982   
        &self,
 1432   1983   
    ) -> ::std::option::Option<&[crate::model::SensitiveStructure]> {
        1984  +
        /* StructureGenerator.kt:169 */
 1433   1985   
        self.sensitive_length_list.as_deref()
        1986  +
        /* StructureGenerator.kt:166 */
 1434   1987   
    }
        1988  +
    /* StructureGenerator.kt:231 */
 1435   1989   
    #[allow(missing_docs)] // documentation missing in model
        1990  +
                           /* StructureGenerator.kt:166 */
 1436   1991   
    pub fn con_b_set(&self) -> ::std::option::Option<&[::std::vec::Vec<::std::string::String>]> {
        1992  +
        /* StructureGenerator.kt:169 */
 1437   1993   
        self.con_b_set.as_deref()
        1994  +
        /* StructureGenerator.kt:166 */
 1438   1995   
    }
        1996  +
    /* StructureGenerator.kt:231 */
 1439   1997   
    #[allow(missing_docs)] // documentation missing in model
        1998  +
                           /* StructureGenerator.kt:166 */
 1440   1999   
    pub fn con_b_map(
 1441   2000   
        &self,
 1442   2001   
    ) -> ::std::option::Option<
 1443   2002   
        &::std::collections::HashMap<::std::string::String, ::std::string::String>,
 1444   2003   
    > {
        2004  +
        /* StructureGenerator.kt:170 */
 1445   2005   
        self.con_b_map.as_ref()
        2006  +
        /* StructureGenerator.kt:166 */
 1446   2007   
    }
        2008  +
    /* StructureGenerator.kt:231 */
 1447   2009   
    #[allow(missing_docs)] // documentation missing in model
        2010  +
                           /* StructureGenerator.kt:166 */
 1448   2011   
    pub fn length_map(
 1449   2012   
        &self,
 1450   2013   
    ) -> ::std::option::Option<
 1451   2014   
        &::std::collections::HashMap<::std::string::String, ::std::string::String>,
 1452   2015   
    > {
        2016  +
        /* StructureGenerator.kt:170 */
 1453   2017   
        self.length_map.as_ref()
        2018  +
        /* StructureGenerator.kt:166 */
 1454   2019   
    }
        2020  +
    /* StructureGenerator.kt:231 */
 1455   2021   
    #[allow(missing_docs)] // documentation missing in model
        2022  +
                           /* StructureGenerator.kt:166 */
 1456   2023   
    pub fn map_of_map_of_list_of_list_of_con_b(
 1457   2024   
        &self,
 1458   2025   
    ) -> ::std::option::Option<
 1459   2026   
        &::std::collections::HashMap<
 1460   2027   
            ::std::string::String,
 1461   2028   
            ::std::collections::HashMap<
 1462   2029   
                ::std::string::String,
 1463   2030   
                ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
 1464   2031   
            >,
 1465   2032   
        >,
 1466   2033   
    > {
        2034  +
        /* StructureGenerator.kt:170 */
 1467   2035   
        self.map_of_map_of_list_of_list_of_con_b.as_ref()
        2036  +
        /* StructureGenerator.kt:166 */
 1468   2037   
    }
        2038  +
    /* StructureGenerator.kt:231 */
 1469   2039   
    #[allow(missing_docs)] // documentation missing in model
        2040  +
                           /* StructureGenerator.kt:166 */
 1470   2041   
    pub fn sparse_map(
 1471   2042   
        &self,
 1472   2043   
    ) -> ::std::option::Option<
 1473   2044   
        &::std::collections::HashMap<
 1474   2045   
            ::std::string::String,
 1475   2046   
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 1476   2047   
        >,
 1477   2048   
    > {
        2049  +
        /* StructureGenerator.kt:170 */
 1478   2050   
        self.sparse_map.as_ref()
        2051  +
        /* StructureGenerator.kt:166 */
 1479   2052   
    }
        2053  +
    /* StructureGenerator.kt:231 */
 1480   2054   
    #[allow(missing_docs)] // documentation missing in model
        2055  +
                           /* StructureGenerator.kt:166 */
 1481   2056   
    pub fn sparse_list(
 1482   2057   
        &self,
 1483   2058   
    ) -> ::std::option::Option<&[::std::option::Option<::std::string::String>]> {
        2059  +
        /* StructureGenerator.kt:169 */
 1484   2060   
        self.sparse_list.as_deref()
        2061  +
        /* StructureGenerator.kt:166 */
 1485   2062   
    }
        2063  +
    /* StructureGenerator.kt:231 */
 1486   2064   
    #[allow(missing_docs)] // documentation missing in model
        2065  +
                           /* StructureGenerator.kt:166 */
 1487   2066   
    pub fn sparse_length_map(
 1488   2067   
        &self,
 1489   2068   
    ) -> ::std::option::Option<
 1490   2069   
        &::std::collections::HashMap<
 1491   2070   
            ::std::string::String,
 1492   2071   
            ::std::option::Option<::std::string::String>,
 1493   2072   
        >,
 1494   2073   
    > {
        2074  +
        /* StructureGenerator.kt:170 */
 1495   2075   
        self.sparse_length_map.as_ref()
        2076  +
        /* StructureGenerator.kt:166 */
 1496   2077   
    }
        2078  +
    /* StructureGenerator.kt:231 */
 1497   2079   
    #[allow(missing_docs)] // documentation missing in model
        2080  +
                           /* StructureGenerator.kt:166 */
 1498   2081   
    pub fn sparse_length_list(
 1499   2082   
        &self,
 1500   2083   
    ) -> ::std::option::Option<&[::std::option::Option<::std::string::String>]> {
        2084  +
        /* StructureGenerator.kt:169 */
 1501   2085   
        self.sparse_length_list.as_deref()
        2086  +
        /* StructureGenerator.kt:166 */
 1502   2087   
    }
 1503         -
    /// A union with constrained members.
        2088  +
    /// /* StructureGenerator.kt:231 */A union with constrained members.
        2089  +
    /* StructureGenerator.kt:166 */
 1504   2090   
    pub fn constrained_union(&self) -> ::std::option::Option<&crate::model::ConstrainedUnion> {
        2091  +
        /* StructureGenerator.kt:170 */
 1505   2092   
        self.constrained_union.as_ref()
        2093  +
        /* StructureGenerator.kt:166 */
 1506   2094   
    }
        2095  +
    /* StructureGenerator.kt:231 */
 1507   2096   
    #[allow(missing_docs)] // documentation missing in model
        2097  +
                           /* StructureGenerator.kt:166 */
 1508   2098   
    pub fn enum_string(&self) -> ::std::option::Option<&crate::model::EnumString> {
        2099  +
        /* StructureGenerator.kt:170 */
 1509   2100   
        self.enum_string.as_ref()
        2101  +
        /* StructureGenerator.kt:166 */
 1510   2102   
    }
        2103  +
    /* StructureGenerator.kt:231 */
 1511   2104   
    #[allow(missing_docs)] // documentation missing in model
        2105  +
                           /* StructureGenerator.kt:166 */
 1512   2106   
    pub fn list_of_length_string(&self) -> ::std::option::Option<&[::std::string::String]> {
        2107  +
        /* StructureGenerator.kt:169 */
 1513   2108   
        self.list_of_length_string.as_deref()
        2109  +
        /* StructureGenerator.kt:166 */
 1514   2110   
    }
        2111  +
    /* StructureGenerator.kt:231 */
 1515   2112   
    #[allow(missing_docs)] // documentation missing in model
        2113  +
                           /* StructureGenerator.kt:166 */
 1516   2114   
    pub fn set_of_length_string(
 1517   2115   
        &self,
 1518   2116   
    ) -> ::std::option::Option<&::std::vec::Vec<::std::string::String>> {
        2117  +
        /* StructureGenerator.kt:170 */
 1519   2118   
        self.set_of_length_string.as_ref()
        2119  +
        /* StructureGenerator.kt:166 */
 1520   2120   
    }
        2121  +
    /* StructureGenerator.kt:231 */
 1521   2122   
    #[allow(missing_docs)] // documentation missing in model
        2123  +
                           /* StructureGenerator.kt:166 */
 1522   2124   
    pub fn map_of_length_string(
 1523   2125   
        &self,
 1524   2126   
    ) -> ::std::option::Option<
 1525   2127   
        &::std::collections::HashMap<::std::string::String, ::std::string::String>,
 1526   2128   
    > {
        2129  +
        /* StructureGenerator.kt:170 */
 1527   2130   
        self.map_of_length_string.as_ref()
        2131  +
        /* StructureGenerator.kt:166 */
 1528   2132   
    }
        2133  +
    /* StructureGenerator.kt:231 */
 1529   2134   
    #[allow(missing_docs)] // documentation missing in model
        2135  +
                           /* StructureGenerator.kt:166 */
 1530   2136   
    pub fn list_of_length_blob(
 1531   2137   
        &self,
 1532   2138   
    ) -> ::std::option::Option<&[::aws_smithy_http_server_python::types::Blob]> {
        2139  +
        /* StructureGenerator.kt:169 */
 1533   2140   
        self.list_of_length_blob.as_deref()
        2141  +
        /* StructureGenerator.kt:166 */
 1534   2142   
    }
        2143  +
    /* StructureGenerator.kt:231 */
 1535   2144   
    #[allow(missing_docs)] // documentation missing in model
        2145  +
                           /* StructureGenerator.kt:166 */
 1536   2146   
    pub fn map_of_length_blob(
 1537   2147   
        &self,
 1538   2148   
    ) -> ::std::option::Option<
 1539   2149   
        &::std::collections::HashMap<
 1540   2150   
            ::std::string::String,
 1541   2151   
            ::aws_smithy_http_server_python::types::Blob,
 1542   2152   
        >,
 1543   2153   
    > {
        2154  +
        /* StructureGenerator.kt:170 */
 1544   2155   
        self.map_of_length_blob.as_ref()
        2156  +
        /* StructureGenerator.kt:166 */
 1545   2157   
    }
        2158  +
    /* StructureGenerator.kt:231 */
 1546   2159   
    #[allow(missing_docs)] // documentation missing in model
        2160  +
                           /* StructureGenerator.kt:166 */
 1547   2161   
    pub fn list_of_range_integer(&self) -> ::std::option::Option<&[i32]> {
        2162  +
        /* StructureGenerator.kt:169 */
 1548   2163   
        self.list_of_range_integer.as_deref()
        2164  +
        /* StructureGenerator.kt:166 */
 1549   2165   
    }
        2166  +
    /* StructureGenerator.kt:231 */
 1550   2167   
    #[allow(missing_docs)] // documentation missing in model
        2168  +
                           /* StructureGenerator.kt:166 */
 1551   2169   
    pub fn set_of_range_integer(&self) -> ::std::option::Option<&[i32]> {
        2170  +
        /* StructureGenerator.kt:169 */
 1552   2171   
        self.set_of_range_integer.as_deref()
        2172  +
        /* StructureGenerator.kt:166 */
 1553   2173   
    }
        2174  +
    /* StructureGenerator.kt:231 */
 1554   2175   
    #[allow(missing_docs)] // documentation missing in model
        2176  +
                           /* StructureGenerator.kt:166 */
 1555   2177   
    pub fn map_of_range_integer(
 1556   2178   
        &self,
 1557   2179   
    ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, i32>> {
        2180  +
        /* StructureGenerator.kt:170 */
 1558   2181   
        self.map_of_range_integer.as_ref()
        2182  +
        /* StructureGenerator.kt:166 */
 1559   2183   
    }
        2184  +
    /* StructureGenerator.kt:231 */
 1560   2185   
    #[allow(missing_docs)] // documentation missing in model
        2186  +
                           /* StructureGenerator.kt:166 */
 1561   2187   
    pub fn list_of_range_short(&self) -> ::std::option::Option<&[i16]> {
        2188  +
        /* StructureGenerator.kt:169 */
 1562   2189   
        self.list_of_range_short.as_deref()
        2190  +
        /* StructureGenerator.kt:166 */
 1563   2191   
    }
        2192  +
    /* StructureGenerator.kt:231 */
 1564   2193   
    #[allow(missing_docs)] // documentation missing in model
        2194  +
                           /* StructureGenerator.kt:166 */
 1565   2195   
    pub fn set_of_range_short(&self) -> ::std::option::Option<&[i16]> {
        2196  +
        /* StructureGenerator.kt:169 */
 1566   2197   
        self.set_of_range_short.as_deref()
        2198  +
        /* StructureGenerator.kt:166 */
 1567   2199   
    }
        2200  +
    /* StructureGenerator.kt:231 */
 1568   2201   
    #[allow(missing_docs)] // documentation missing in model
        2202  +
                           /* StructureGenerator.kt:166 */
 1569   2203   
    pub fn map_of_range_short(
 1570   2204   
        &self,
 1571   2205   
    ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, i16>> {
        2206  +
        /* StructureGenerator.kt:170 */
 1572   2207   
        self.map_of_range_short.as_ref()
        2208  +
        /* StructureGenerator.kt:166 */
 1573   2209   
    }
        2210  +
    /* StructureGenerator.kt:231 */
 1574   2211   
    #[allow(missing_docs)] // documentation missing in model
        2212  +
                           /* StructureGenerator.kt:166 */
 1575   2213   
    pub fn list_of_range_long(&self) -> ::std::option::Option<&[i64]> {
        2214  +
        /* StructureGenerator.kt:169 */
 1576   2215   
        self.list_of_range_long.as_deref()
        2216  +
        /* StructureGenerator.kt:166 */
 1577   2217   
    }
        2218  +
    /* StructureGenerator.kt:231 */
 1578   2219   
    #[allow(missing_docs)] // documentation missing in model
        2220  +
                           /* StructureGenerator.kt:166 */
 1579   2221   
    pub fn set_of_range_long(&self) -> ::std::option::Option<&[i64]> {
        2222  +
        /* StructureGenerator.kt:169 */
 1580   2223   
        self.set_of_range_long.as_deref()
        2224  +
        /* StructureGenerator.kt:166 */
 1581   2225   
    }
        2226  +
    /* StructureGenerator.kt:231 */
 1582   2227   
    #[allow(missing_docs)] // documentation missing in model
        2228  +
                           /* StructureGenerator.kt:166 */
 1583   2229   
    pub fn map_of_range_long(
 1584   2230   
        &self,
 1585   2231   
    ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, i64>> {
        2232  +
        /* StructureGenerator.kt:170 */
 1586   2233   
        self.map_of_range_long.as_ref()
        2234  +
        /* StructureGenerator.kt:166 */
 1587   2235   
    }
        2236  +
    /* StructureGenerator.kt:231 */
 1588   2237   
    #[allow(missing_docs)] // documentation missing in model
        2238  +
                           /* StructureGenerator.kt:166 */
 1589   2239   
    pub fn list_of_range_byte(&self) -> ::std::option::Option<&[i8]> {
        2240  +
        /* StructureGenerator.kt:169 */
 1590   2241   
        self.list_of_range_byte.as_deref()
        2242  +
        /* StructureGenerator.kt:166 */
 1591   2243   
    }
        2244  +
    /* StructureGenerator.kt:231 */
 1592   2245   
    #[allow(missing_docs)] // documentation missing in model
        2246  +
                           /* StructureGenerator.kt:166 */
 1593   2247   
    pub fn set_of_range_byte(&self) -> ::std::option::Option<&[i8]> {
        2248  +
        /* StructureGenerator.kt:169 */
 1594   2249   
        self.set_of_range_byte.as_deref()
        2250  +
        /* StructureGenerator.kt:166 */
 1595   2251   
    }
        2252  +
    /* StructureGenerator.kt:231 */
 1596   2253   
    #[allow(missing_docs)] // documentation missing in model
        2254  +
                           /* StructureGenerator.kt:166 */
 1597   2255   
    pub fn map_of_range_byte(
 1598   2256   
        &self,
 1599   2257   
    ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, i8>> {
        2258  +
        /* StructureGenerator.kt:170 */
 1600   2259   
        self.map_of_range_byte.as_ref()
        2260  +
        /* StructureGenerator.kt:166 */
 1601   2261   
    }
        2262  +
    /* StructureGenerator.kt:231 */
 1602   2263   
    #[allow(missing_docs)] // documentation missing in model
        2264  +
                           /* StructureGenerator.kt:166 */
 1603   2265   
    pub fn non_streaming_blob(
 1604   2266   
        &self,
 1605   2267   
    ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
        2268  +
        /* StructureGenerator.kt:170 */
 1606   2269   
        self.non_streaming_blob.as_ref()
        2270  +
        /* StructureGenerator.kt:166 */
 1607   2271   
    }
        2272  +
    /* StructureGenerator.kt:231 */
 1608   2273   
    #[allow(missing_docs)] // documentation missing in model
        2274  +
                           /* StructureGenerator.kt:166 */
 1609   2275   
    pub fn pattern_string(&self) -> ::std::option::Option<&str> {
        2276  +
        /* StructureGenerator.kt:169 */
 1610   2277   
        self.pattern_string.as_deref()
        2278  +
        /* StructureGenerator.kt:166 */
 1611   2279   
    }
        2280  +
    /* StructureGenerator.kt:231 */
 1612   2281   
    #[allow(missing_docs)] // documentation missing in model
        2282  +
                           /* StructureGenerator.kt:166 */
 1613   2283   
    pub fn map_of_pattern_string(
 1614   2284   
        &self,
 1615   2285   
    ) -> ::std::option::Option<
 1616   2286   
        &::std::collections::HashMap<::std::string::String, ::std::string::String>,
 1617   2287   
    > {
        2288  +
        /* StructureGenerator.kt:170 */
 1618   2289   
        self.map_of_pattern_string.as_ref()
        2290  +
        /* StructureGenerator.kt:166 */
 1619   2291   
    }
        2292  +
    /* StructureGenerator.kt:231 */
 1620   2293   
    #[allow(missing_docs)] // documentation missing in model
        2294  +
                           /* StructureGenerator.kt:166 */
 1621   2295   
    pub fn list_of_pattern_string(&self) -> ::std::option::Option<&[::std::string::String]> {
        2296  +
        /* StructureGenerator.kt:169 */
 1622   2297   
        self.list_of_pattern_string.as_deref()
        2298  +
        /* StructureGenerator.kt:166 */
 1623   2299   
    }
        2300  +
    /* StructureGenerator.kt:231 */
 1624   2301   
    #[allow(missing_docs)] // documentation missing in model
        2302  +
                           /* StructureGenerator.kt:166 */
 1625   2303   
    pub fn set_of_pattern_string(
 1626   2304   
        &self,
 1627   2305   
    ) -> ::std::option::Option<&::std::vec::Vec<::std::string::String>> {
        2306  +
        /* StructureGenerator.kt:170 */
 1628   2307   
        self.set_of_pattern_string.as_ref()
        2308  +
        /* StructureGenerator.kt:166 */
 1629   2309   
    }
        2310  +
    /* StructureGenerator.kt:231 */
 1630   2311   
    #[allow(missing_docs)] // documentation missing in model
        2312  +
                           /* StructureGenerator.kt:166 */
 1631   2313   
    pub fn length_length_pattern_string(&self) -> ::std::option::Option<&str> {
        2314  +
        /* StructureGenerator.kt:169 */
 1632   2315   
        self.length_length_pattern_string.as_deref()
        2316  +
        /* StructureGenerator.kt:166 */
 1633   2317   
    }
        2318  +
    /* StructureGenerator.kt:231 */
 1634   2319   
    #[allow(missing_docs)] // documentation missing in model
        2320  +
                           /* StructureGenerator.kt:166 */
 1635   2321   
    pub fn map_of_length_pattern_string(
 1636   2322   
        &self,
 1637   2323   
    ) -> ::std::option::Option<
 1638   2324   
        &::std::collections::HashMap<::std::string::String, ::std::string::String>,
 1639   2325   
    > {
        2326  +
        /* StructureGenerator.kt:170 */
 1640   2327   
        self.map_of_length_pattern_string.as_ref()
        2328  +
        /* StructureGenerator.kt:166 */
 1641   2329   
    }
        2330  +
    /* StructureGenerator.kt:231 */
 1642   2331   
    #[allow(missing_docs)] // documentation missing in model
        2332  +
                           /* StructureGenerator.kt:166 */
 1643   2333   
    pub fn list_of_length_pattern_string(&self) -> ::std::option::Option<&[::std::string::String]> {
        2334  +
        /* StructureGenerator.kt:169 */
 1644   2335   
        self.list_of_length_pattern_string.as_deref()
        2336  +
        /* StructureGenerator.kt:166 */
 1645   2337   
    }
        2338  +
    /* StructureGenerator.kt:231 */
 1646   2339   
    #[allow(missing_docs)] // documentation missing in model
        2340  +
                           /* StructureGenerator.kt:166 */
 1647   2341   
    pub fn set_of_length_pattern_string(
 1648   2342   
        &self,
 1649   2343   
    ) -> ::std::option::Option<&::std::vec::Vec<::std::string::String>> {
        2344  +
        /* StructureGenerator.kt:170 */
 1650   2345   
        self.set_of_length_pattern_string.as_ref()
        2346  +
        /* StructureGenerator.kt:166 */
 1651   2347   
    }
        2348  +
    /* StructureGenerator.kt:231 */
 1652   2349   
    #[allow(missing_docs)] // documentation missing in model
        2350  +
                           /* StructureGenerator.kt:166 */
 1653   2351   
    pub fn length_list_of_pattern_string(&self) -> ::std::option::Option<&[::std::string::String]> {
        2352  +
        /* StructureGenerator.kt:169 */
 1654   2353   
        self.length_list_of_pattern_string.as_deref()
        2354  +
        /* StructureGenerator.kt:166 */
 1655   2355   
    }
        2356  +
    /* StructureGenerator.kt:231 */
 1656   2357   
    #[allow(missing_docs)] // documentation missing in model
        2358  +
                           /* StructureGenerator.kt:166 */
 1657   2359   
    pub fn length_set_of_pattern_string(
 1658   2360   
        &self,
 1659   2361   
    ) -> ::std::option::Option<&::std::vec::Vec<::std::string::String>> {
        2362  +
        /* StructureGenerator.kt:170 */
 1660   2363   
        self.length_set_of_pattern_string.as_ref()
        2364  +
        /* StructureGenerator.kt:166 */
 1661   2365   
    }
        2366  +
    /* StructureGenerator.kt:135 */
 1662   2367   
}
        2368  +
/* RustType.kt:516 */
 1663   2369   
#[allow(clippy::new_without_default)]
        2370  +
/* RustType.kt:516 */
 1664   2371   
#[allow(clippy::too_many_arguments)]
        2372  +
/* RustType.kt:516 */
 1665   2373   
#[::pyo3::pymethods]
        2374  +
/* PythonServerStructureGenerator.kt:88 */
 1666   2375   
impl ConA {
 1667   2376   
    #[new]
 1668   2377   
    pub fn new(
 1669   2378   
        con_b: crate::model::ConB,
 1670         -
        opt_con_b: ::std::option::Option<crate::model::ConB>,
 1671         -
        length_string: ::std::option::Option<::std::string::String>,
 1672         -
        min_length_string: ::std::option::Option<::std::string::String>,
 1673         -
        max_length_string: ::std::option::Option<::std::string::String>,
 1674         -
        fixed_length_string: ::std::option::Option<::std::string::String>,
 1675         -
        length_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
 1676         -
        min_length_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
 1677         -
        max_length_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
 1678         -
        fixed_length_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
 1679   2379   
        range_integer: i32,
 1680   2380   
        min_range_integer: i32,
 1681   2381   
        max_range_integer: i32,
 1682   2382   
        fixed_value_integer: i32,
 1683   2383   
        range_short: i16,
 1684   2384   
        min_range_short: i16,
 1685   2385   
        max_range_short: i16,
 1686   2386   
        fixed_value_short: i16,
 1687   2387   
        range_long: i64,
 1688   2388   
        min_range_long: i64,
 1689   2389   
        max_range_long: i64,
 1690   2390   
        fixed_value_long: i64,
 1691   2391   
        range_byte: i8,
 1692   2392   
        min_range_byte: i8,
 1693   2393   
        max_range_byte: i8,
 1694   2394   
        fixed_value_byte: i8,
        2395  +
        opt_con_b: ::std::option::Option<crate::model::ConB>,
        2396  +
        length_string: ::std::option::Option<::std::string::String>,
        2397  +
        min_length_string: ::std::option::Option<::std::string::String>,
        2398  +
        max_length_string: ::std::option::Option<::std::string::String>,
        2399  +
        fixed_length_string: ::std::option::Option<::std::string::String>,
        2400  +
        length_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
        2401  +
        min_length_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
        2402  +
        max_length_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
        2403  +
        fixed_length_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
 1695   2404   
        con_b_list: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>>,
 1696   2405   
        length_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 1697   2406   
        sensitive_length_list: ::std::option::Option<
 1698   2407   
            ::std::vec::Vec<crate::model::SensitiveStructure>,
 1699   2408   
        >,
 1700   2409   
        con_b_set: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
 1701   2410   
        con_b_map: ::std::option::Option<
 1702   2411   
            ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 1703   2412   
        >,
 1704   2413   
        length_map: ::std::option::Option<
@@ -1762,2471 +6930,8749 @@
 1782   2491   
            ::std::vec::Vec<::std::string::String>,
 1783   2492   
        >,
 1784   2493   
        set_of_length_pattern_string: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 1785   2494   
        length_list_of_pattern_string: ::std::option::Option<
 1786   2495   
            ::std::vec::Vec<::std::string::String>,
 1787   2496   
        >,
 1788   2497   
        length_set_of_pattern_string: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 1789   2498   
    ) -> Self {
 1790   2499   
        Self {
 1791   2500   
            con_b,
 1792         -
            opt_con_b,
 1793         -
            length_string,
 1794         -
            min_length_string,
 1795         -
            max_length_string,
 1796         -
            fixed_length_string,
 1797         -
            length_blob,
 1798         -
            min_length_blob,
 1799         -
            max_length_blob,
 1800         -
            fixed_length_blob,
 1801   2501   
            range_integer,
 1802   2502   
            min_range_integer,
 1803   2503   
            max_range_integer,
 1804   2504   
            fixed_value_integer,
 1805   2505   
            range_short,
 1806   2506   
            min_range_short,
 1807   2507   
            max_range_short,
 1808   2508   
            fixed_value_short,
 1809   2509   
            range_long,
 1810   2510   
            min_range_long,
 1811   2511   
            max_range_long,
 1812   2512   
            fixed_value_long,
 1813   2513   
            range_byte,
 1814   2514   
            min_range_byte,
 1815   2515   
            max_range_byte,
 1816   2516   
            fixed_value_byte,
        2517  +
            opt_con_b,
        2518  +
            length_string,
        2519  +
            min_length_string,
        2520  +
            max_length_string,
        2521  +
            fixed_length_string,
        2522  +
            length_blob,
        2523  +
            min_length_blob,
        2524  +
            max_length_blob,
        2525  +
            fixed_length_blob,
 1817   2526   
            con_b_list,
 1818   2527   
            length_list,
 1819   2528   
            sensitive_length_list,
 1820   2529   
            con_b_set,
 1821   2530   
            con_b_map,
 1822   2531   
            length_map,
 1823   2532   
            map_of_map_of_list_of_list_of_con_b,
 1824   2533   
            sparse_map,
 1825   2534   
            sparse_list,
 1826   2535   
            sparse_length_map,
 1827   2536   
            sparse_length_list,
 1828   2537   
            constrained_union,
 1829   2538   
            enum_string,
 1830   2539   
            list_of_length_string,
 1831   2540   
            set_of_length_string,
 1832   2541   
            map_of_length_string,
 1833   2542   
            list_of_length_blob,
 1834   2543   
            map_of_length_blob,
 1835   2544   
            list_of_range_integer,
 1836   2545   
            set_of_range_integer,
 1837   2546   
            map_of_range_integer,
 1838   2547   
            list_of_range_short,
 1839   2548   
            set_of_range_short,
 1840   2549   
            map_of_range_short,
 1841   2550   
            list_of_range_long,
 1842   2551   
            set_of_range_long,
 1843   2552   
            map_of_range_long,
 1844   2553   
            list_of_range_byte,
 1845   2554   
            set_of_range_byte,
 1846   2555   
            map_of_range_byte,
 1847   2556   
            non_streaming_blob,
 1848   2557   
            pattern_string,
 1849   2558   
            map_of_pattern_string,
 1850   2559   
            list_of_pattern_string,
 1851   2560   
            set_of_pattern_string,
 1852   2561   
            length_length_pattern_string,
 1853   2562   
            map_of_length_pattern_string,
 1854   2563   
            list_of_length_pattern_string,
 1855   2564   
            set_of_length_pattern_string,
 1856   2565   
            length_list_of_pattern_string,
 1857   2566   
            length_set_of_pattern_string,
 1858   2567   
        }
 1859   2568   
    }
 1860   2569   
    fn __repr__(&self) -> String {
 1861   2570   
        format!("{self:?}")
 1862   2571   
    }
 1863   2572   
    fn __str__(&self) -> String {
 1864   2573   
        format!("{self:?}")
 1865   2574   
    }
 1866   2575   
}
        2576  +
/* PythonServerStructureGenerator.kt:111 */
 1867   2577   
impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ConA> {
 1868   2578   
    fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
 1869   2579   
        ob.extract::<ConA>().map(Box::new)
 1870   2580   
    }
 1871   2581   
}
 1872   2582   
 1873   2583   
impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ConA> {
 1874   2584   
    fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
 1875   2585   
        (*self).into_py(py)
 1876   2586   
    }
 1877   2587   
}
        2588  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
 1878   2589   
impl crate::constrained::Constrained for crate::model::ConA {
 1879   2590   
    type Unconstrained = crate::model::con_a_internal::Builder;
 1880   2591   
}
        2592  +
/* ServerCodegenVisitor.kt:370 */
 1881   2593   
impl ConA {
 1882         -
    /// Creates a new builder-style object to manufacture [`ConA`](crate::model::ConA).
        2594  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`ConA`](crate::model::ConA).
        2595  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
 1883   2596   
    pub fn builder() -> crate::model::con_a::Builder {
        2597  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
 1884   2598   
        crate::model::con_a::Builder::default()
        2599  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
 1885   2600   
    }
        2601  +
    /* ServerCodegenVisitor.kt:370 */
 1886   2602   
}
 1887   2603   
        2604  +
/* ConstrainedCollectionGenerator.kt:93 */
 1888   2605   
#[allow(missing_docs)] // documentation missing in model
 1889         -
///
        2606  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 1890   2607   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 1891   2608   
/// [constraint traits]. Use [`LengthSetOfPatternString::try_from`] to construct values of this type.
 1892   2609   
///
 1893   2610   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 1894   2611   
///
        2612  +
/* RustType.kt:516 */
 1895   2613   
#[derive(
 1896   2614   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1897   2615   
)]
 1898         -
pub(crate) struct LengthSetOfPatternString(pub(crate) ::std::vec::Vec<crate::model::PatternString>);
        2616  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct LengthSetOfPatternString(
        2617  +
    pub(crate) ::std::vec::Vec<crate::model::PatternString>,
        2618  +
);
        2619  +
/* ConstrainedCollectionGenerator.kt:104 */
 1899   2620   
impl LengthSetOfPatternString {
        2621  +
    /* ConstrainedCollectionGenerator.kt:116 */
 1900   2622   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::PatternString>`].
 1901   2623   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::PatternString> {
 1902   2624   
        self.0
 1903   2625   
    }
 1904   2626   
 1905   2627   
    fn check_length(
 1906   2628   
        length: usize,
 1907   2629   
    ) -> ::std::result::Result<
 1908   2630   
        (),
 1909   2631   
        crate::model::length_set_of_pattern_string_internal::ConstraintViolation,
 1910   2632   
    > {
 1911   2633   
        if (5..=9).contains(&length) {
 1912   2634   
            Ok(())
 1913   2635   
        } else {
 1914   2636   
            Err(
 1915   2637   
                crate::model::length_set_of_pattern_string_internal::ConstraintViolation::Length(
 1916   2638   
                    length,
 1917   2639   
                ),
 1918   2640   
            )
 1919   2641   
        }
 1920   2642   
    }
 1921   2643   
 1922   2644   
    fn check_unique_items(
 1923   2645   
        items: ::std::vec::Vec<crate::model::PatternString>,
 1924   2646   
    ) -> ::std::result::Result<
 1925   2647   
        ::std::vec::Vec<crate::model::PatternString>,
 1926   2648   
        crate::model::length_set_of_pattern_string_internal::ConstraintViolation,
 1927   2649   
    > {
 1928   2650   
        let mut seen = ::std::collections::HashMap::new();
 1929   2651   
        let mut duplicate_indices = ::std::vec::Vec::new();
 1930   2652   
        for (idx, item) in items.iter().enumerate() {
 1931   2653   
            if let Some(prev_idx) = seen.insert(item, idx) {
 1932   2654   
                duplicate_indices.push(prev_idx);
 1933   2655   
            }
 1934   2656   
        }
 1935   2657   
 1936   2658   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 1937   2659   
        for idx in &duplicate_indices {
 1938   2660   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 1939   2661   
                last_duplicate_indices.push(prev_idx);
 1940   2662   
            }
 1941   2663   
        }
 1942   2664   
        duplicate_indices.extend(last_duplicate_indices);
 1943   2665   
 1944   2666   
        if !duplicate_indices.is_empty() {
 1945   2667   
            debug_assert!(duplicate_indices.len() >= 2);
 1946   2668   
            Err(crate::model::length_set_of_pattern_string_internal::ConstraintViolation::UniqueItems { duplicate_indices, original: items })
 1947   2669   
        } else {
 1948   2670   
            Ok(items)
 1949   2671   
        }
 1950   2672   
    }
        2673  +
    /* ConstrainedCollectionGenerator.kt:104 */
 1951   2674   
}
        2675  +
/* ConstrainedCollectionGenerator.kt:133 */
 1952   2676   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::PatternString>>
 1953   2677   
    for LengthSetOfPatternString
 1954   2678   
{
 1955   2679   
    type Error = crate::model::length_set_of_pattern_string_internal::ConstraintViolation;
 1956   2680   
 1957   2681   
    /// Constructs a `LengthSetOfPatternString` from an [`::std::vec::Vec<crate::model::PatternString>`], failing when the provided value does not satisfy the modeled constraints.
 1958   2682   
    fn try_from(
 1959   2683   
        value: ::std::vec::Vec<crate::model::PatternString>,
 1960   2684   
    ) -> ::std::result::Result<Self, Self::Error> {
 1961   2685   
        Self::check_length(value.len())?;
 1962   2686   
 1963   2687   
        let value = Self::check_unique_items(value)?;
 1964   2688   
 1965   2689   
        Ok(Self(value))
 1966   2690   
    }
 1967   2691   
}
 1968   2692   
 1969   2693   
impl ::std::convert::From<LengthSetOfPatternString>
 1970   2694   
    for ::std::vec::Vec<crate::model::PatternString>
 1971   2695   
{
 1972   2696   
    fn from(value: LengthSetOfPatternString) -> Self {
 1973   2697   
        value.into_inner()
 1974   2698   
    }
 1975   2699   
}
        2700  +
/* ConstrainedCollectionGenerator.kt:163 */
 1976   2701   
impl ::std::convert::From<LengthSetOfPatternString> for ::std::vec::Vec<::std::string::String> {
 1977   2702   
    fn from(value: LengthSetOfPatternString) -> Self {
 1978   2703   
        value.into_inner().into_iter().map(|v| v.into()).collect()
 1979   2704   
    }
 1980   2705   
}
        2706  +
/* ConstrainedCollectionGenerator.kt:181 */
 1981   2707   
impl crate::constrained::Constrained for LengthSetOfPatternString {
 1982   2708   
    type Unconstrained = crate::unconstrained::length_set_of_pattern_string_unconstrained::LengthSetOfPatternStringUnconstrained;
 1983   2709   
}
 1984   2710   
        2711  +
/* ConstrainedCollectionGenerator.kt:93 */
 1985   2712   
#[allow(missing_docs)] // documentation missing in model
 1986         -
///
        2713  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 1987   2714   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 1988   2715   
/// [constraint traits]. Use [`SetOfLengthPatternString::try_from`] to construct values of this type.
 1989   2716   
///
 1990   2717   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 1991   2718   
///
        2719  +
/* RustType.kt:516 */
 1992   2720   
#[derive(
 1993   2721   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1994   2722   
)]
 1995         -
pub(crate) struct SetOfLengthPatternString(
        2723  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct SetOfLengthPatternString(
 1996   2724   
    pub(crate) ::std::vec::Vec<crate::model::LengthPatternString>,
 1997   2725   
);
        2726  +
/* ConstrainedCollectionGenerator.kt:104 */
 1998   2727   
impl SetOfLengthPatternString {
        2728  +
    /* ConstrainedCollectionGenerator.kt:116 */
 1999   2729   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::LengthPatternString>`].
 2000   2730   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::LengthPatternString> {
 2001   2731   
        self.0
 2002   2732   
    }
 2003   2733   
 2004   2734   
    fn check_unique_items(
 2005   2735   
        items: ::std::vec::Vec<crate::model::LengthPatternString>,
 2006   2736   
    ) -> ::std::result::Result<
 2007   2737   
        ::std::vec::Vec<crate::model::LengthPatternString>,
 2008   2738   
        crate::model::set_of_length_pattern_string_internal::ConstraintViolation,
 2009   2739   
    > {
 2010   2740   
        let mut seen = ::std::collections::HashMap::new();
 2011   2741   
        let mut duplicate_indices = ::std::vec::Vec::new();
 2012   2742   
        for (idx, item) in items.iter().enumerate() {
 2013   2743   
            if let Some(prev_idx) = seen.insert(item, idx) {
 2014   2744   
                duplicate_indices.push(prev_idx);
 2015   2745   
            }
 2016   2746   
        }
 2017   2747   
 2018   2748   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 2019   2749   
        for idx in &duplicate_indices {
 2020   2750   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 2021   2751   
                last_duplicate_indices.push(prev_idx);
 2022   2752   
            }
 2023   2753   
        }
 2024   2754   
        duplicate_indices.extend(last_duplicate_indices);
 2025   2755   
 2026   2756   
        if !duplicate_indices.is_empty() {
 2027   2757   
            debug_assert!(duplicate_indices.len() >= 2);
 2028   2758   
            Err(crate::model::set_of_length_pattern_string_internal::ConstraintViolation::UniqueItems { duplicate_indices, original: items })
 2029   2759   
        } else {
 2030   2760   
            Ok(items)
 2031   2761   
        }
 2032   2762   
    }
        2763  +
    /* ConstrainedCollectionGenerator.kt:104 */
 2033   2764   
}
        2765  +
/* ConstrainedCollectionGenerator.kt:133 */
 2034   2766   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::LengthPatternString>>
 2035   2767   
    for SetOfLengthPatternString
 2036   2768   
{
 2037   2769   
    type Error = crate::model::set_of_length_pattern_string_internal::ConstraintViolation;
 2038   2770   
 2039   2771   
    /// Constructs a `SetOfLengthPatternString` from an [`::std::vec::Vec<crate::model::LengthPatternString>`], failing when the provided value does not satisfy the modeled constraints.
 2040   2772   
    fn try_from(
 2041   2773   
        value: ::std::vec::Vec<crate::model::LengthPatternString>,
 2042   2774   
    ) -> ::std::result::Result<Self, Self::Error> {
 2043   2775   
        let value = Self::check_unique_items(value)?;
 2044   2776   
 2045   2777   
        Ok(Self(value))
 2046   2778   
    }
 2047   2779   
}
 2048   2780   
 2049   2781   
impl ::std::convert::From<SetOfLengthPatternString>
 2050   2782   
    for ::std::vec::Vec<crate::model::LengthPatternString>
 2051   2783   
{
 2052   2784   
    fn from(value: SetOfLengthPatternString) -> Self {
 2053   2785   
        value.into_inner()
 2054   2786   
    }
 2055   2787   
}
        2788  +
/* ConstrainedCollectionGenerator.kt:163 */
 2056   2789   
impl ::std::convert::From<SetOfLengthPatternString> for ::std::vec::Vec<::std::string::String> {
 2057   2790   
    fn from(value: SetOfLengthPatternString) -> Self {
 2058   2791   
        value.into_inner().into_iter().map(|v| v.into()).collect()
 2059   2792   
    }
 2060   2793   
}
        2794  +
/* ConstrainedCollectionGenerator.kt:181 */
 2061   2795   
impl crate::constrained::Constrained for SetOfLengthPatternString {
 2062   2796   
    type Unconstrained = crate::unconstrained::set_of_length_pattern_string_unconstrained::SetOfLengthPatternStringUnconstrained;
 2063   2797   
}
 2064   2798   
        2799  +
/* ConstrainedCollectionGenerator.kt:93 */
 2065   2800   
#[allow(missing_docs)] // documentation missing in model
 2066         -
///
        2801  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 2067   2802   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2068   2803   
/// [constraint traits]. Use [`SetOfPatternString::try_from`] to construct values of this type.
 2069   2804   
///
 2070   2805   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2071   2806   
///
        2807  +
/* RustType.kt:516 */
 2072   2808   
#[derive(
 2073   2809   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2074   2810   
)]
 2075         -
pub(crate) struct SetOfPatternString(pub(crate) ::std::vec::Vec<crate::model::PatternString>);
        2811  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct SetOfPatternString(
        2812  +
    pub(crate) ::std::vec::Vec<crate::model::PatternString>,
        2813  +
);
        2814  +
/* ConstrainedCollectionGenerator.kt:104 */
 2076   2815   
impl SetOfPatternString {
        2816  +
    /* ConstrainedCollectionGenerator.kt:116 */
 2077   2817   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::PatternString>`].
 2078   2818   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::PatternString> {
 2079   2819   
        self.0
 2080   2820   
    }
 2081   2821   
 2082   2822   
    fn check_unique_items(
 2083   2823   
        items: ::std::vec::Vec<crate::model::PatternString>,
 2084   2824   
    ) -> ::std::result::Result<
 2085   2825   
        ::std::vec::Vec<crate::model::PatternString>,
 2086   2826   
        crate::model::set_of_pattern_string_internal::ConstraintViolation,
 2087   2827   
    > {
 2088   2828   
        let mut seen = ::std::collections::HashMap::new();
 2089   2829   
        let mut duplicate_indices = ::std::vec::Vec::new();
 2090   2830   
        for (idx, item) in items.iter().enumerate() {
 2091   2831   
            if let Some(prev_idx) = seen.insert(item, idx) {
 2092   2832   
                duplicate_indices.push(prev_idx);
 2093   2833   
            }
 2094   2834   
        }
 2095   2835   
 2096   2836   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 2097   2837   
        for idx in &duplicate_indices {
 2098   2838   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 2099   2839   
                last_duplicate_indices.push(prev_idx);
 2100   2840   
            }
 2101   2841   
        }
 2102   2842   
        duplicate_indices.extend(last_duplicate_indices);
 2103   2843   
 2104   2844   
        if !duplicate_indices.is_empty() {
 2105   2845   
            debug_assert!(duplicate_indices.len() >= 2);
 2106   2846   
            Err(
 2107   2847   
                crate::model::set_of_pattern_string_internal::ConstraintViolation::UniqueItems {
 2108   2848   
                    duplicate_indices,
 2109   2849   
                    original: items,
 2110   2850   
                },
 2111   2851   
            )
 2112   2852   
        } else {
 2113   2853   
            Ok(items)
 2114   2854   
        }
 2115   2855   
    }
        2856  +
    /* ConstrainedCollectionGenerator.kt:104 */
 2116   2857   
}
        2858  +
/* ConstrainedCollectionGenerator.kt:133 */
 2117   2859   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::PatternString>> for SetOfPatternString {
 2118   2860   
    type Error = crate::model::set_of_pattern_string_internal::ConstraintViolation;
 2119   2861   
 2120   2862   
    /// Constructs a `SetOfPatternString` from an [`::std::vec::Vec<crate::model::PatternString>`], failing when the provided value does not satisfy the modeled constraints.
 2121   2863   
    fn try_from(
 2122   2864   
        value: ::std::vec::Vec<crate::model::PatternString>,
 2123   2865   
    ) -> ::std::result::Result<Self, Self::Error> {
 2124   2866   
        let value = Self::check_unique_items(value)?;
 2125   2867   
 2126   2868   
        Ok(Self(value))
 2127   2869   
    }
 2128   2870   
}
 2129   2871   
 2130   2872   
impl ::std::convert::From<SetOfPatternString> for ::std::vec::Vec<crate::model::PatternString> {
 2131   2873   
    fn from(value: SetOfPatternString) -> Self {
 2132   2874   
        value.into_inner()
 2133   2875   
    }
 2134   2876   
}
        2877  +
/* ConstrainedCollectionGenerator.kt:163 */
 2135   2878   
impl ::std::convert::From<SetOfPatternString> for ::std::vec::Vec<::std::string::String> {
 2136   2879   
    fn from(value: SetOfPatternString) -> Self {
 2137   2880   
        value.into_inner().into_iter().map(|v| v.into()).collect()
 2138   2881   
    }
 2139   2882   
}
        2883  +
/* ConstrainedCollectionGenerator.kt:181 */
 2140   2884   
impl crate::constrained::Constrained for SetOfPatternString {
 2141   2885   
    type Unconstrained =
 2142   2886   
        crate::unconstrained::set_of_pattern_string_unconstrained::SetOfPatternStringUnconstrained;
 2143   2887   
}
 2144   2888   
        2889  +
/* ConstrainedNumberGenerator.kt:82 */
 2145   2890   
#[allow(missing_docs)] // documentation missing in model
 2146         -
///
        2891  +
/// /* ConstrainedNumberGenerator.kt:83 */
 2147   2892   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2148   2893   
/// [constraint traits]. Use [`RangeByte::try_from`] to construct values of this type.
 2149   2894   
///
 2150   2895   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2151   2896   
///
        2897  +
/* RustType.kt:516 */
 2152   2898   
#[derive(
 2153   2899   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2154   2900   
)]
 2155         -
pub(crate) struct RangeByte(pub(crate) i8);
        2901  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct RangeByte(pub(crate) i8);
        2902  +
/* RustType.kt:516 */
 2156   2903   
#[allow(dead_code)]
        2904  +
/* ConstrainedNumberGenerator.kt:91 */
 2157   2905   
impl RangeByte {
 2158   2906   
    /// Returns an immutable reference to the underlying [`i8`].
 2159   2907   
    pub fn inner(&self) -> &i8 {
 2160   2908   
        &self.0
 2161   2909   
    }
 2162   2910   
 2163   2911   
    /// Consumes the value, returning the underlying [`i8`].
 2164   2912   
    pub fn into_inner(self) -> i8 {
 2165   2913   
        self.0
 2166   2914   
    }
 2167   2915   
}
 2168   2916   
 2169   2917   
impl crate::constrained::Constrained for RangeByte {
 2170   2918   
    type Unconstrained = i8;
 2171   2919   
}
 2172   2920   
 2173   2921   
impl ::std::convert::From<i8> for crate::constrained::MaybeConstrained<crate::model::RangeByte> {
 2174   2922   
    fn from(value: i8) -> Self {
 2175   2923   
        Self::Unconstrained(value)
 2176   2924   
    }
 2177   2925   
}
 2178   2926   
 2179   2927   
impl ::std::fmt::Display for RangeByte {
 2180   2928   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2181   2929   
        self.0.fmt(f)
 2182   2930   
    }
 2183   2931   
}
 2184   2932   
 2185   2933   
impl ::std::convert::From<RangeByte> for i8 {
 2186   2934   
    fn from(value: RangeByte) -> Self {
 2187   2935   
        value.into_inner()
 2188   2936   
    }
 2189   2937   
}
        2938  +
/* TraitInfo.kt:41 */
 2190   2939   
impl RangeByte {
 2191   2940   
    fn check_range(
 2192   2941   
        value: i8,
 2193   2942   
    ) -> ::std::result::Result<(), crate::model::range_byte_internal::ConstraintViolation> {
 2194   2943   
        if (0..=10).contains(&value) {
 2195   2944   
            Ok(())
 2196   2945   
        } else {
 2197   2946   
            Err(crate::model::range_byte_internal::ConstraintViolation::Range(value))
 2198   2947   
        }
 2199   2948   
    }
 2200   2949   
}
        2950  +
/* TraitInfo.kt:57 */
 2201   2951   
impl ::std::convert::TryFrom<i8> for RangeByte {
 2202   2952   
    type Error = crate::model::range_byte_internal::ConstraintViolation;
 2203   2953   
 2204   2954   
    /// Constructs a `RangeByte` from an [`i8`], failing when the provided value does not satisfy the modeled constraints.
 2205   2955   
    fn try_from(value: i8) -> ::std::result::Result<Self, Self::Error> {
 2206   2956   
        Self::check_range(value)?;
 2207   2957   
 2208   2958   
        Ok(Self(value))
 2209   2959   
    }
 2210   2960   
}
 2211   2961   
        2962  +
/* ConstrainedCollectionGenerator.kt:93 */
 2212   2963   
#[allow(missing_docs)] // documentation missing in model
 2213         -
///
        2964  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 2214   2965   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2215   2966   
/// [constraint traits]. Use [`SetOfRangeByte::try_from`] to construct values of this type.
 2216   2967   
///
 2217   2968   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2218   2969   
///
        2970  +
/* RustType.kt:516 */
 2219   2971   
#[derive(
 2220   2972   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2221   2973   
)]
 2222         -
pub(crate) struct SetOfRangeByte(pub(crate) ::std::vec::Vec<crate::model::RangeByte>);
        2974  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct SetOfRangeByte(
        2975  +
    pub(crate) ::std::vec::Vec<crate::model::RangeByte>,
        2976  +
);
        2977  +
/* ConstrainedCollectionGenerator.kt:104 */
 2223   2978   
impl SetOfRangeByte {
        2979  +
    /* ConstrainedCollectionGenerator.kt:116 */
 2224   2980   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::RangeByte>`].
 2225   2981   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::RangeByte> {
 2226   2982   
        self.0
 2227   2983   
    }
 2228   2984   
 2229   2985   
    fn check_unique_items(
 2230   2986   
        items: ::std::vec::Vec<crate::model::RangeByte>,
 2231   2987   
    ) -> ::std::result::Result<
 2232   2988   
        ::std::vec::Vec<crate::model::RangeByte>,
 2233   2989   
        crate::model::set_of_range_byte_internal::ConstraintViolation,
 2234   2990   
    > {
 2235   2991   
        let mut seen = ::std::collections::HashMap::new();
 2236   2992   
        let mut duplicate_indices = ::std::vec::Vec::new();
 2237   2993   
        for (idx, item) in items.iter().enumerate() {
 2238   2994   
            if let Some(prev_idx) = seen.insert(item, idx) {
 2239   2995   
                duplicate_indices.push(prev_idx);
 2240   2996   
            }
 2241   2997   
        }
 2242   2998   
 2243   2999   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 2244   3000   
        for idx in &duplicate_indices {
 2245   3001   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 2246   3002   
                last_duplicate_indices.push(prev_idx);
 2247   3003   
            }
 2248   3004   
        }
 2249   3005   
        duplicate_indices.extend(last_duplicate_indices);
 2250   3006   
 2251   3007   
        if !duplicate_indices.is_empty() {
 2252   3008   
            debug_assert!(duplicate_indices.len() >= 2);
 2253   3009   
            Err(
 2254   3010   
                crate::model::set_of_range_byte_internal::ConstraintViolation::UniqueItems {
 2255   3011   
                    duplicate_indices,
 2256   3012   
                    original: items,
 2257   3013   
                },
 2258   3014   
            )
 2259   3015   
        } else {
 2260   3016   
            Ok(items)
 2261   3017   
        }
 2262   3018   
    }
        3019  +
    /* ConstrainedCollectionGenerator.kt:104 */
 2263   3020   
}
        3021  +
/* ConstrainedCollectionGenerator.kt:133 */
 2264   3022   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::RangeByte>> for SetOfRangeByte {
 2265   3023   
    type Error = crate::model::set_of_range_byte_internal::ConstraintViolation;
 2266   3024   
 2267   3025   
    /// Constructs a `SetOfRangeByte` from an [`::std::vec::Vec<crate::model::RangeByte>`], failing when the provided value does not satisfy the modeled constraints.
 2268   3026   
    fn try_from(
 2269   3027   
        value: ::std::vec::Vec<crate::model::RangeByte>,
 2270   3028   
    ) -> ::std::result::Result<Self, Self::Error> {
 2271   3029   
        let value = Self::check_unique_items(value)?;
 2272   3030   
 2273   3031   
        Ok(Self(value))
 2274   3032   
    }
 2275   3033   
}
 2276   3034   
 2277   3035   
impl ::std::convert::From<SetOfRangeByte> for ::std::vec::Vec<crate::model::RangeByte> {
 2278   3036   
    fn from(value: SetOfRangeByte) -> Self {
 2279   3037   
        value.into_inner()
 2280   3038   
    }
 2281   3039   
}
        3040  +
/* ConstrainedCollectionGenerator.kt:163 */
 2282   3041   
impl ::std::convert::From<SetOfRangeByte> for ::std::vec::Vec<i8> {
 2283   3042   
    fn from(value: SetOfRangeByte) -> Self {
 2284   3043   
        value.into_inner().into_iter().map(|v| v.into()).collect()
 2285   3044   
    }
 2286   3045   
}
        3046  +
/* ConstrainedCollectionGenerator.kt:181 */
 2287   3047   
impl crate::constrained::Constrained for SetOfRangeByte {
 2288   3048   
    type Unconstrained =
 2289   3049   
        crate::unconstrained::set_of_range_byte_unconstrained::SetOfRangeByteUnconstrained;
 2290   3050   
}
 2291   3051   
        3052  +
/* ConstrainedNumberGenerator.kt:82 */
 2292   3053   
#[allow(missing_docs)] // documentation missing in model
 2293         -
///
        3054  +
/// /* ConstrainedNumberGenerator.kt:83 */
 2294   3055   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2295   3056   
/// [constraint traits]. Use [`RangeLong::try_from`] to construct values of this type.
 2296   3057   
///
 2297   3058   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2298   3059   
///
        3060  +
/* RustType.kt:516 */
 2299   3061   
#[derive(
 2300   3062   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2301   3063   
)]
 2302         -
pub(crate) struct RangeLong(pub(crate) i64);
        3064  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct RangeLong(pub(crate) i64);
        3065  +
/* RustType.kt:516 */
 2303   3066   
#[allow(dead_code)]
        3067  +
/* ConstrainedNumberGenerator.kt:91 */
 2304   3068   
impl RangeLong {
 2305   3069   
    /// Returns an immutable reference to the underlying [`i64`].
 2306   3070   
    pub fn inner(&self) -> &i64 {
 2307   3071   
        &self.0
 2308   3072   
    }
 2309   3073   
 2310   3074   
    /// Consumes the value, returning the underlying [`i64`].
 2311   3075   
    pub fn into_inner(self) -> i64 {
 2312   3076   
        self.0
 2313   3077   
    }
 2314   3078   
}
 2315   3079   
 2316   3080   
impl crate::constrained::Constrained for RangeLong {
 2317   3081   
    type Unconstrained = i64;
 2318   3082   
}
 2319   3083   
 2320   3084   
impl ::std::convert::From<i64> for crate::constrained::MaybeConstrained<crate::model::RangeLong> {
 2321   3085   
    fn from(value: i64) -> Self {
 2322   3086   
        Self::Unconstrained(value)
 2323   3087   
    }
 2324   3088   
}
 2325   3089   
 2326   3090   
impl ::std::fmt::Display for RangeLong {
 2327   3091   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2328   3092   
        self.0.fmt(f)
 2329   3093   
    }
 2330   3094   
}
 2331   3095   
 2332   3096   
impl ::std::convert::From<RangeLong> for i64 {
 2333   3097   
    fn from(value: RangeLong) -> Self {
 2334   3098   
        value.into_inner()
 2335   3099   
    }
 2336   3100   
}
        3101  +
/* TraitInfo.kt:41 */
 2337   3102   
impl RangeLong {
 2338   3103   
    fn check_range(
 2339   3104   
        value: i64,
 2340   3105   
    ) -> ::std::result::Result<(), crate::model::range_long_internal::ConstraintViolation> {
 2341   3106   
        if (0..=10).contains(&value) {
 2342   3107   
            Ok(())
 2343   3108   
        } else {
 2344   3109   
            Err(crate::model::range_long_internal::ConstraintViolation::Range(value))
 2345   3110   
        }
 2346   3111   
    }
 2347   3112   
}
        3113  +
/* TraitInfo.kt:57 */
 2348   3114   
impl ::std::convert::TryFrom<i64> for RangeLong {
 2349   3115   
    type Error = crate::model::range_long_internal::ConstraintViolation;
 2350   3116   
 2351   3117   
    /// Constructs a `RangeLong` from an [`i64`], failing when the provided value does not satisfy the modeled constraints.
 2352   3118   
    fn try_from(value: i64) -> ::std::result::Result<Self, Self::Error> {
 2353   3119   
        Self::check_range(value)?;
 2354   3120   
 2355   3121   
        Ok(Self(value))
 2356   3122   
    }
 2357   3123   
}
 2358   3124   
        3125  +
/* ConstrainedCollectionGenerator.kt:93 */
 2359   3126   
#[allow(missing_docs)] // documentation missing in model
 2360         -
///
        3127  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 2361   3128   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2362   3129   
/// [constraint traits]. Use [`SetOfRangeLong::try_from`] to construct values of this type.
 2363   3130   
///
 2364   3131   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2365   3132   
///
        3133  +
/* RustType.kt:516 */
 2366   3134   
#[derive(
 2367   3135   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2368   3136   
)]
 2369         -
pub(crate) struct SetOfRangeLong(pub(crate) ::std::vec::Vec<crate::model::RangeLong>);
        3137  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct SetOfRangeLong(
        3138  +
    pub(crate) ::std::vec::Vec<crate::model::RangeLong>,
        3139  +
);
        3140  +
/* ConstrainedCollectionGenerator.kt:104 */
 2370   3141   
impl SetOfRangeLong {
        3142  +
    /* ConstrainedCollectionGenerator.kt:116 */
 2371   3143   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::RangeLong>`].
 2372   3144   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::RangeLong> {
 2373   3145   
        self.0
 2374   3146   
    }
 2375   3147   
 2376   3148   
    fn check_unique_items(
 2377   3149   
        items: ::std::vec::Vec<crate::model::RangeLong>,
 2378   3150   
    ) -> ::std::result::Result<
 2379   3151   
        ::std::vec::Vec<crate::model::RangeLong>,
 2380   3152   
        crate::model::set_of_range_long_internal::ConstraintViolation,
 2381   3153   
    > {
 2382   3154   
        let mut seen = ::std::collections::HashMap::new();
 2383   3155   
        let mut duplicate_indices = ::std::vec::Vec::new();
 2384   3156   
        for (idx, item) in items.iter().enumerate() {
 2385   3157   
            if let Some(prev_idx) = seen.insert(item, idx) {
 2386   3158   
                duplicate_indices.push(prev_idx);
 2387   3159   
            }
 2388   3160   
        }
 2389   3161   
 2390   3162   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 2391   3163   
        for idx in &duplicate_indices {
 2392   3164   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 2393   3165   
                last_duplicate_indices.push(prev_idx);
 2394   3166   
            }
 2395   3167   
        }
 2396   3168   
        duplicate_indices.extend(last_duplicate_indices);
 2397   3169   
 2398   3170   
        if !duplicate_indices.is_empty() {
 2399   3171   
            debug_assert!(duplicate_indices.len() >= 2);
 2400   3172   
            Err(
 2401   3173   
                crate::model::set_of_range_long_internal::ConstraintViolation::UniqueItems {
 2402   3174   
                    duplicate_indices,
 2403   3175   
                    original: items,
 2404   3176   
                },
 2405   3177   
            )
 2406   3178   
        } else {
 2407   3179   
            Ok(items)
 2408   3180   
        }
 2409   3181   
    }
        3182  +
    /* ConstrainedCollectionGenerator.kt:104 */
 2410   3183   
}
        3184  +
/* ConstrainedCollectionGenerator.kt:133 */
 2411   3185   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::RangeLong>> for SetOfRangeLong {
 2412   3186   
    type Error = crate::model::set_of_range_long_internal::ConstraintViolation;
 2413   3187   
 2414   3188   
    /// Constructs a `SetOfRangeLong` from an [`::std::vec::Vec<crate::model::RangeLong>`], failing when the provided value does not satisfy the modeled constraints.
 2415   3189   
    fn try_from(
 2416   3190   
        value: ::std::vec::Vec<crate::model::RangeLong>,
 2417   3191   
    ) -> ::std::result::Result<Self, Self::Error> {
 2418   3192   
        let value = Self::check_unique_items(value)?;
 2419   3193   
 2420   3194   
        Ok(Self(value))
 2421   3195   
    }
 2422   3196   
}
 2423   3197   
 2424   3198   
impl ::std::convert::From<SetOfRangeLong> for ::std::vec::Vec<crate::model::RangeLong> {
 2425   3199   
    fn from(value: SetOfRangeLong) -> Self {
 2426   3200   
        value.into_inner()
 2427   3201   
    }
 2428   3202   
}
        3203  +
/* ConstrainedCollectionGenerator.kt:163 */
 2429   3204   
impl ::std::convert::From<SetOfRangeLong> for ::std::vec::Vec<i64> {
 2430   3205   
    fn from(value: SetOfRangeLong) -> Self {
 2431   3206   
        value.into_inner().into_iter().map(|v| v.into()).collect()
 2432   3207   
    }
 2433   3208   
}
        3209  +
/* ConstrainedCollectionGenerator.kt:181 */
 2434   3210   
impl crate::constrained::Constrained for SetOfRangeLong {
 2435   3211   
    type Unconstrained =
 2436   3212   
        crate::unconstrained::set_of_range_long_unconstrained::SetOfRangeLongUnconstrained;
 2437   3213   
}
 2438   3214   
        3215  +
/* ConstrainedNumberGenerator.kt:82 */
 2439   3216   
#[allow(missing_docs)] // documentation missing in model
 2440         -
///
        3217  +
/// /* ConstrainedNumberGenerator.kt:83 */
 2441   3218   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2442   3219   
/// [constraint traits]. Use [`RangeShort::try_from`] to construct values of this type.
 2443   3220   
///
 2444   3221   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2445   3222   
///
        3223  +
/* RustType.kt:516 */
 2446   3224   
#[derive(
 2447   3225   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2448   3226   
)]
 2449         -
pub(crate) struct RangeShort(pub(crate) i16);
        3227  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct RangeShort(pub(crate) i16);
        3228  +
/* RustType.kt:516 */
 2450   3229   
#[allow(dead_code)]
        3230  +
/* ConstrainedNumberGenerator.kt:91 */
 2451   3231   
impl RangeShort {
 2452   3232   
    /// Returns an immutable reference to the underlying [`i16`].
 2453   3233   
    pub fn inner(&self) -> &i16 {
 2454   3234   
        &self.0
 2455   3235   
    }
 2456   3236   
 2457   3237   
    /// Consumes the value, returning the underlying [`i16`].
 2458   3238   
    pub fn into_inner(self) -> i16 {
 2459   3239   
        self.0
 2460   3240   
    }
 2461   3241   
}
 2462   3242   
 2463   3243   
impl crate::constrained::Constrained for RangeShort {
 2464   3244   
    type Unconstrained = i16;
 2465   3245   
}
 2466   3246   
 2467   3247   
impl ::std::convert::From<i16> for crate::constrained::MaybeConstrained<crate::model::RangeShort> {
 2468   3248   
    fn from(value: i16) -> Self {
 2469   3249   
        Self::Unconstrained(value)
 2470   3250   
    }
 2471   3251   
}
 2472   3252   
 2473   3253   
impl ::std::fmt::Display for RangeShort {
 2474   3254   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2475   3255   
        self.0.fmt(f)
 2476   3256   
    }
 2477   3257   
}
 2478   3258   
 2479   3259   
impl ::std::convert::From<RangeShort> for i16 {
 2480   3260   
    fn from(value: RangeShort) -> Self {
 2481   3261   
        value.into_inner()
 2482   3262   
    }
 2483   3263   
}
        3264  +
/* TraitInfo.kt:41 */
 2484   3265   
impl RangeShort {
 2485   3266   
    fn check_range(
 2486   3267   
        value: i16,
 2487   3268   
    ) -> ::std::result::Result<(), crate::model::range_short_internal::ConstraintViolation> {
 2488   3269   
        if (0..=10).contains(&value) {
 2489   3270   
            Ok(())
 2490   3271   
        } else {
 2491   3272   
            Err(crate::model::range_short_internal::ConstraintViolation::Range(value))
 2492   3273   
        }
 2493   3274   
    }
 2494   3275   
}
        3276  +
/* TraitInfo.kt:57 */
 2495   3277   
impl ::std::convert::TryFrom<i16> for RangeShort {
 2496   3278   
    type Error = crate::model::range_short_internal::ConstraintViolation;
 2497   3279   
 2498   3280   
    /// Constructs a `RangeShort` from an [`i16`], failing when the provided value does not satisfy the modeled constraints.
 2499   3281   
    fn try_from(value: i16) -> ::std::result::Result<Self, Self::Error> {
 2500   3282   
        Self::check_range(value)?;
 2501   3283   
 2502   3284   
        Ok(Self(value))
 2503   3285   
    }
 2504   3286   
}
 2505   3287   
        3288  +
/* ConstrainedCollectionGenerator.kt:93 */
 2506   3289   
#[allow(missing_docs)] // documentation missing in model
 2507         -
///
        3290  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 2508   3291   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2509   3292   
/// [constraint traits]. Use [`SetOfRangeShort::try_from`] to construct values of this type.
 2510   3293   
///
 2511   3294   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2512   3295   
///
        3296  +
/* RustType.kt:516 */
 2513   3297   
#[derive(
 2514   3298   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2515   3299   
)]
 2516         -
pub(crate) struct SetOfRangeShort(pub(crate) ::std::vec::Vec<crate::model::RangeShort>);
        3300  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct SetOfRangeShort(
        3301  +
    pub(crate) ::std::vec::Vec<crate::model::RangeShort>,
        3302  +
);
        3303  +
/* ConstrainedCollectionGenerator.kt:104 */
 2517   3304   
impl SetOfRangeShort {
        3305  +
    /* ConstrainedCollectionGenerator.kt:116 */
 2518   3306   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::RangeShort>`].
 2519   3307   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::RangeShort> {
 2520   3308   
        self.0
 2521   3309   
    }
 2522   3310   
 2523   3311   
    fn check_unique_items(
 2524   3312   
        items: ::std::vec::Vec<crate::model::RangeShort>,
 2525   3313   
    ) -> ::std::result::Result<
 2526   3314   
        ::std::vec::Vec<crate::model::RangeShort>,
 2527   3315   
        crate::model::set_of_range_short_internal::ConstraintViolation,
 2528   3316   
    > {
 2529   3317   
        let mut seen = ::std::collections::HashMap::new();
 2530   3318   
        let mut duplicate_indices = ::std::vec::Vec::new();
 2531   3319   
        for (idx, item) in items.iter().enumerate() {
 2532   3320   
            if let Some(prev_idx) = seen.insert(item, idx) {
 2533   3321   
                duplicate_indices.push(prev_idx);
 2534   3322   
            }
 2535   3323   
        }
 2536   3324   
 2537   3325   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 2538   3326   
        for idx in &duplicate_indices {
 2539   3327   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 2540   3328   
                last_duplicate_indices.push(prev_idx);
 2541   3329   
            }
 2542   3330   
        }
 2543   3331   
        duplicate_indices.extend(last_duplicate_indices);
 2544   3332   
 2545   3333   
        if !duplicate_indices.is_empty() {
 2546   3334   
            debug_assert!(duplicate_indices.len() >= 2);
 2547   3335   
            Err(
 2548   3336   
                crate::model::set_of_range_short_internal::ConstraintViolation::UniqueItems {
 2549   3337   
                    duplicate_indices,
 2550   3338   
                    original: items,
 2551   3339   
                },
 2552   3340   
            )
 2553   3341   
        } else {
 2554   3342   
            Ok(items)
 2555   3343   
        }
 2556   3344   
    }
        3345  +
    /* ConstrainedCollectionGenerator.kt:104 */
 2557   3346   
}
        3347  +
/* ConstrainedCollectionGenerator.kt:133 */
 2558   3348   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::RangeShort>> for SetOfRangeShort {
 2559   3349   
    type Error = crate::model::set_of_range_short_internal::ConstraintViolation;
 2560   3350   
 2561   3351   
    /// Constructs a `SetOfRangeShort` from an [`::std::vec::Vec<crate::model::RangeShort>`], failing when the provided value does not satisfy the modeled constraints.
 2562   3352   
    fn try_from(
 2563   3353   
        value: ::std::vec::Vec<crate::model::RangeShort>,
 2564   3354   
    ) -> ::std::result::Result<Self, Self::Error> {
 2565   3355   
        let value = Self::check_unique_items(value)?;
 2566   3356   
 2567   3357   
        Ok(Self(value))
 2568   3358   
    }
 2569   3359   
}
 2570   3360   
 2571   3361   
impl ::std::convert::From<SetOfRangeShort> for ::std::vec::Vec<crate::model::RangeShort> {
 2572   3362   
    fn from(value: SetOfRangeShort) -> Self {
 2573   3363   
        value.into_inner()
 2574   3364   
    }
 2575   3365   
}
        3366  +
/* ConstrainedCollectionGenerator.kt:163 */
 2576   3367   
impl ::std::convert::From<SetOfRangeShort> for ::std::vec::Vec<i16> {
 2577   3368   
    fn from(value: SetOfRangeShort) -> Self {
 2578   3369   
        value.into_inner().into_iter().map(|v| v.into()).collect()
 2579   3370   
    }
 2580   3371   
}
        3372  +
/* ConstrainedCollectionGenerator.kt:181 */
 2581   3373   
impl crate::constrained::Constrained for SetOfRangeShort {
 2582   3374   
    type Unconstrained =
 2583   3375   
        crate::unconstrained::set_of_range_short_unconstrained::SetOfRangeShortUnconstrained;
 2584   3376   
}
 2585   3377   
        3378  +
/* ConstrainedNumberGenerator.kt:82 */
 2586   3379   
#[allow(missing_docs)] // documentation missing in model
 2587         -
///
        3380  +
/// /* ConstrainedNumberGenerator.kt:83 */
 2588   3381   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2589   3382   
/// [constraint traits]. Use [`RangeInteger::try_from`] to construct values of this type.
 2590   3383   
///
 2591   3384   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2592   3385   
///
        3386  +
/* RustType.kt:516 */
 2593   3387   
#[derive(
 2594   3388   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2595   3389   
)]
 2596         -
pub(crate) struct RangeInteger(pub(crate) i32);
        3390  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct RangeInteger(pub(crate) i32);
        3391  +
/* RustType.kt:516 */
 2597   3392   
#[allow(dead_code)]
        3393  +
/* ConstrainedNumberGenerator.kt:91 */
 2598   3394   
impl RangeInteger {
 2599   3395   
    /// Returns an immutable reference to the underlying [`i32`].
 2600   3396   
    pub fn inner(&self) -> &i32 {
 2601   3397   
        &self.0
 2602   3398   
    }
 2603   3399   
 2604   3400   
    /// Consumes the value, returning the underlying [`i32`].
 2605   3401   
    pub fn into_inner(self) -> i32 {
 2606   3402   
        self.0
 2607   3403   
    }
 2608   3404   
}
 2609   3405   
 2610   3406   
impl crate::constrained::Constrained for RangeInteger {
 2611   3407   
    type Unconstrained = i32;
 2612   3408   
}
 2613   3409   
 2614   3410   
impl ::std::convert::From<i32>
 2615   3411   
    for crate::constrained::MaybeConstrained<crate::model::RangeInteger>
 2616   3412   
{
 2617   3413   
    fn from(value: i32) -> Self {
 2618   3414   
        Self::Unconstrained(value)
 2619   3415   
    }
 2620   3416   
}
 2621   3417   
 2622   3418   
impl ::std::fmt::Display for RangeInteger {
 2623   3419   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2624   3420   
        self.0.fmt(f)
 2625   3421   
    }
 2626   3422   
}
 2627   3423   
 2628   3424   
impl ::std::convert::From<RangeInteger> for i32 {
 2629   3425   
    fn from(value: RangeInteger) -> Self {
 2630   3426   
        value.into_inner()
 2631   3427   
    }
 2632   3428   
}
        3429  +
/* TraitInfo.kt:41 */
 2633   3430   
impl RangeInteger {
 2634   3431   
    fn check_range(
 2635   3432   
        value: i32,
 2636   3433   
    ) -> ::std::result::Result<(), crate::model::range_integer_internal::ConstraintViolation> {
 2637   3434   
        if (0..=69).contains(&value) {
 2638   3435   
            Ok(())
 2639   3436   
        } else {
 2640   3437   
            Err(crate::model::range_integer_internal::ConstraintViolation::Range(value))
 2641   3438   
        }
 2642   3439   
    }
 2643   3440   
}
        3441  +
/* TraitInfo.kt:57 */
 2644   3442   
impl ::std::convert::TryFrom<i32> for RangeInteger {
 2645   3443   
    type Error = crate::model::range_integer_internal::ConstraintViolation;
 2646   3444   
 2647   3445   
    /// Constructs a `RangeInteger` from an [`i32`], failing when the provided value does not satisfy the modeled constraints.
 2648   3446   
    fn try_from(value: i32) -> ::std::result::Result<Self, Self::Error> {
 2649   3447   
        Self::check_range(value)?;
 2650   3448   
 2651   3449   
        Ok(Self(value))
 2652   3450   
    }
 2653   3451   
}
 2654   3452   
        3453  +
/* ConstrainedCollectionGenerator.kt:93 */
 2655   3454   
#[allow(missing_docs)] // documentation missing in model
 2656         -
///
        3455  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 2657   3456   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2658   3457   
/// [constraint traits]. Use [`SetOfRangeInteger::try_from`] to construct values of this type.
 2659   3458   
///
 2660   3459   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2661   3460   
///
        3461  +
/* RustType.kt:516 */
 2662   3462   
#[derive(
 2663   3463   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2664   3464   
)]
 2665         -
pub(crate) struct SetOfRangeInteger(pub(crate) ::std::vec::Vec<crate::model::RangeInteger>);
        3465  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct SetOfRangeInteger(
        3466  +
    pub(crate) ::std::vec::Vec<crate::model::RangeInteger>,
        3467  +
);
        3468  +
/* ConstrainedCollectionGenerator.kt:104 */
 2666   3469   
impl SetOfRangeInteger {
        3470  +
    /* ConstrainedCollectionGenerator.kt:116 */
 2667   3471   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::RangeInteger>`].
 2668   3472   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::RangeInteger> {
 2669   3473   
        self.0
 2670   3474   
    }
 2671   3475   
 2672   3476   
    fn check_unique_items(
 2673   3477   
        items: ::std::vec::Vec<crate::model::RangeInteger>,
 2674   3478   
    ) -> ::std::result::Result<
 2675   3479   
        ::std::vec::Vec<crate::model::RangeInteger>,
 2676   3480   
        crate::model::set_of_range_integer_internal::ConstraintViolation,
 2677   3481   
    > {
 2678   3482   
        let mut seen = ::std::collections::HashMap::new();
 2679   3483   
        let mut duplicate_indices = ::std::vec::Vec::new();
 2680   3484   
        for (idx, item) in items.iter().enumerate() {
 2681   3485   
            if let Some(prev_idx) = seen.insert(item, idx) {
 2682   3486   
                duplicate_indices.push(prev_idx);
 2683   3487   
            }
 2684   3488   
        }
 2685   3489   
 2686   3490   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 2687   3491   
        for idx in &duplicate_indices {
 2688   3492   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 2689   3493   
                last_duplicate_indices.push(prev_idx);
 2690   3494   
            }
 2691   3495   
        }
 2692   3496   
        duplicate_indices.extend(last_duplicate_indices);
 2693   3497   
 2694   3498   
        if !duplicate_indices.is_empty() {
 2695   3499   
            debug_assert!(duplicate_indices.len() >= 2);
 2696   3500   
            Err(
 2697   3501   
                crate::model::set_of_range_integer_internal::ConstraintViolation::UniqueItems {
 2698   3502   
                    duplicate_indices,
 2699   3503   
                    original: items,
 2700   3504   
                },
 2701   3505   
            )
 2702   3506   
        } else {
 2703   3507   
            Ok(items)
 2704   3508   
        }
 2705   3509   
    }
        3510  +
    /* ConstrainedCollectionGenerator.kt:104 */
 2706   3511   
}
        3512  +
/* ConstrainedCollectionGenerator.kt:133 */
 2707   3513   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::RangeInteger>> for SetOfRangeInteger {
 2708   3514   
    type Error = crate::model::set_of_range_integer_internal::ConstraintViolation;
 2709   3515   
 2710   3516   
    /// Constructs a `SetOfRangeInteger` from an [`::std::vec::Vec<crate::model::RangeInteger>`], failing when the provided value does not satisfy the modeled constraints.
 2711   3517   
    fn try_from(
 2712   3518   
        value: ::std::vec::Vec<crate::model::RangeInteger>,
 2713   3519   
    ) -> ::std::result::Result<Self, Self::Error> {
 2714   3520   
        let value = Self::check_unique_items(value)?;
 2715   3521   
 2716   3522   
        Ok(Self(value))
 2717   3523   
    }
 2718   3524   
}
 2719   3525   
 2720   3526   
impl ::std::convert::From<SetOfRangeInteger> for ::std::vec::Vec<crate::model::RangeInteger> {
 2721   3527   
    fn from(value: SetOfRangeInteger) -> Self {
 2722   3528   
        value.into_inner()
 2723   3529   
    }
 2724   3530   
}
        3531  +
/* ConstrainedCollectionGenerator.kt:163 */
 2725   3532   
impl ::std::convert::From<SetOfRangeInteger> for ::std::vec::Vec<i32> {
 2726   3533   
    fn from(value: SetOfRangeInteger) -> Self {
 2727   3534   
        value.into_inner().into_iter().map(|v| v.into()).collect()
 2728   3535   
    }
 2729   3536   
}
        3537  +
/* ConstrainedCollectionGenerator.kt:181 */
 2730   3538   
impl crate::constrained::Constrained for SetOfRangeInteger {
 2731   3539   
    type Unconstrained =
 2732   3540   
        crate::unconstrained::set_of_range_integer_unconstrained::SetOfRangeIntegerUnconstrained;
 2733   3541   
}
 2734   3542   
        3543  +
/* ConstrainedBlobGenerator.kt:66 */
 2735   3544   
#[allow(missing_docs)] // documentation missing in model
 2736         -
///
        3545  +
/// /* ConstrainedBlobGenerator.kt:67 */
 2737   3546   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2738   3547   
/// [constraint traits]. Use [`LengthBlob::try_from`] to construct values of this type.
 2739   3548   
///
 2740   3549   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2741   3550   
///
        3551  +
/* RustType.kt:516 */
 2742   3552   
#[derive(
 2743   3553   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 2744   3554   
)]
 2745         -
pub(crate) struct LengthBlob(pub(crate) ::aws_smithy_types::Blob);
        3555  +
pub(crate) /* ConstrainedBlobGenerator.kt:70 */ struct LengthBlob(
        3556  +
    pub(crate) ::aws_smithy_types::Blob,
        3557  +
);
        3558  +
/* ConstrainedBlobGenerator.kt:71 */
 2746   3559   
impl LengthBlob {
        3560  +
    /* ConstrainedBlobGenerator.kt:82 */
 2747   3561   
    /// Consumes the value, returning the underlying [`::aws_smithy_types::Blob`].
 2748   3562   
    pub fn into_inner(self) -> ::aws_smithy_types::Blob {
 2749   3563   
        self.0
 2750   3564   
    }
        3565  +
    /* ConstrainedBlobGenerator.kt:71 */
 2751   3566   
}
        3567  +
/* TraitInfo.kt:41 */
 2752   3568   
impl LengthBlob {
 2753   3569   
    fn check_length(
 2754   3570   
        blob: &::aws_smithy_types::Blob,
 2755   3571   
    ) -> ::std::result::Result<(), crate::model::length_blob_internal::ConstraintViolation> {
 2756   3572   
        let length = blob.as_ref().len();
 2757   3573   
 2758   3574   
        if (2..=70).contains(&length) {
 2759   3575   
            Ok(())
 2760   3576   
        } else {
 2761   3577   
            Err(crate::model::length_blob_internal::ConstraintViolation::Length(length))
 2762   3578   
        }
 2763   3579   
    }
 2764   3580   
}
        3581  +
/* TraitInfo.kt:57 */
 2765   3582   
impl ::std::convert::TryFrom<::aws_smithy_types::Blob> for LengthBlob {
 2766   3583   
    type Error = crate::model::length_blob_internal::ConstraintViolation;
 2767   3584   
 2768   3585   
    /// Constructs a `LengthBlob` from an [`::aws_smithy_types::Blob`], failing when the provided value does not satisfy the modeled constraints.
 2769   3586   
    fn try_from(value: ::aws_smithy_types::Blob) -> ::std::result::Result<Self, Self::Error> {
 2770   3587   
        Self::check_length(&value)?;
 2771   3588   
 2772   3589   
        Ok(Self(value))
 2773   3590   
    }
 2774   3591   
}
        3592  +
/* ConstrainedBlobGenerator.kt:94 */
 2775   3593   
impl crate::constrained::Constrained for LengthBlob {
 2776   3594   
    type Unconstrained = ::aws_smithy_types::Blob;
 2777   3595   
}
 2778   3596   
 2779   3597   
impl ::std::convert::From<::aws_smithy_types::Blob>
 2780   3598   
    for crate::constrained::MaybeConstrained<crate::model::LengthBlob>
 2781   3599   
{
 2782   3600   
    fn from(value: ::aws_smithy_types::Blob) -> Self {
 2783   3601   
        Self::Unconstrained(value)
 2784   3602   
    }
 2785   3603   
}
 2786   3604   
 2787   3605   
impl ::std::convert::From<LengthBlob> for ::aws_smithy_types::Blob {
 2788   3606   
    fn from(value: LengthBlob) -> Self {
 2789   3607   
        value.into_inner()
 2790   3608   
    }
 2791   3609   
}
 2792   3610   
        3611  +
/* ConstrainedPythonBlobGenerator.kt:67 */
 2793   3612   
impl ::std::convert::From<::aws_smithy_http_server_python::types::Blob>
 2794   3613   
    for crate::constrained::MaybeConstrained<crate::model::LengthBlob>
 2795   3614   
{
 2796   3615   
    fn from(value: ::aws_smithy_http_server_python::types::Blob) -> Self {
 2797   3616   
        Self::Unconstrained(value.into())
 2798   3617   
    }
 2799   3618   
}
 2800   3619   
 2801   3620   
impl ::std::convert::From<LengthBlob> for ::aws_smithy_http_server_python::types::Blob {
 2802   3621   
    fn from(value: LengthBlob) -> Self {
 2803   3622   
        value.into_inner().into()
 2804   3623   
    }
 2805   3624   
}
        3625  +
/* ConstrainedPythonBlobGenerator.kt:92 */
 2806   3626   
impl ::std::convert::TryFrom<::aws_smithy_http_server_python::types::Blob> for LengthBlob {
 2807   3627   
    type Error = crate::model::length_blob_internal::ConstraintViolation;
 2808   3628   
 2809   3629   
    fn try_from(
 2810   3630   
        value: ::aws_smithy_http_server_python::types::Blob,
 2811   3631   
    ) -> ::std::result::Result<Self, Self::Error> {
 2812   3632   
        value.try_into()
 2813   3633   
    }
 2814   3634   
}
 2815   3635   
 2816         -
/// A union with constrained members.
        3636  +
/// /* UnionGenerator.kt:67 */A union with constrained members.
        3637  +
/* RustType.kt:516 */
 2817   3638   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
 2818         -
pub enum ConstrainedUnion {
        3639  +
pub /* UnionGenerator.kt:85 */ enum ConstrainedUnion {
        3640  +
    /* UnionGenerator.kt:90 */
 2819   3641   
    #[allow(missing_docs)] // documentation missing in model
        3642  +
    /* UnionGenerator.kt:190 */
 2820   3643   
    ConBList(::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>),
        3644  +
    /* UnionGenerator.kt:90 */
 2821   3645   
    #[allow(missing_docs)] // documentation missing in model
        3646  +
    /* UnionGenerator.kt:190 */
 2822   3647   
    ConBMap(::std::collections::HashMap<::std::string::String, ::std::string::String>),
        3648  +
    /* UnionGenerator.kt:90 */
 2823   3649   
    #[allow(missing_docs)] // documentation missing in model
        3650  +
    /* UnionGenerator.kt:190 */
 2824   3651   
    ConBSet(::std::vec::Vec<::std::vec::Vec<::std::string::String>>),
        3652  +
    /* UnionGenerator.kt:90 */
 2825   3653   
    #[allow(missing_docs)] // documentation missing in model
        3654  +
    /* UnionGenerator.kt:190 */
 2826   3655   
    ConstrainedStructure(crate::model::ConB),
        3656  +
    /* UnionGenerator.kt:90 */
 2827   3657   
    #[allow(missing_docs)] // documentation missing in model
        3658  +
    /* UnionGenerator.kt:190 */
 2828   3659   
    EnumString(crate::model::EnumString),
        3660  +
    /* UnionGenerator.kt:90 */
 2829   3661   
    #[allow(missing_docs)] // documentation missing in model
        3662  +
    /* UnionGenerator.kt:190 */
 2830   3663   
    LengthString(::std::string::String),
        3664  +
    /* UnionGenerator.kt:85 */
 2831   3665   
}
        3666  +
/* UnionGenerator.kt:111 */
 2832   3667   
impl ConstrainedUnion {
        3668  +
    /* UnionGenerator.kt:217 */
 2833   3669   
    /// Tries to convert the enum instance into [`ConBList`](crate::model::ConstrainedUnion::ConBList), extracting the inner [`Vec`](::std::vec::Vec).
        3670  +
    /* UnionGenerator.kt:222 */
 2834   3671   
    /// Returns `Err(&Self)` if it can't be converted.
        3672  +
    /* UnionGenerator.kt:223 */
 2835   3673   
    pub fn as_con_b_list(
 2836   3674   
        &self,
 2837   3675   
    ) -> ::std::result::Result<&::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>, &Self> {
        3676  +
        /* UnionGenerator.kt:227 */
 2838   3677   
        if let ConstrainedUnion::ConBList(val) = &self {
 2839   3678   
            ::std::result::Result::Ok(val)
 2840   3679   
        } else {
 2841   3680   
            ::std::result::Result::Err(self)
 2842   3681   
        }
        3682  +
        /* UnionGenerator.kt:223 */
 2843   3683   
    }
        3684  +
    /* UnionGenerator.kt:121 */
 2844   3685   
    /// Returns true if this is a [`ConBList`](crate::model::ConstrainedUnion::ConBList).
        3686  +
    /* UnionGenerator.kt:122 */
 2845   3687   
    pub fn is_con_b_list(&self) -> bool {
        3688  +
        /* UnionGenerator.kt:123 */
 2846   3689   
        self.as_con_b_list().is_ok()
        3690  +
        /* UnionGenerator.kt:122 */
 2847   3691   
    }
        3692  +
    /* UnionGenerator.kt:217 */
 2848   3693   
    /// Tries to convert the enum instance into [`ConBMap`](crate::model::ConstrainedUnion::ConBMap), extracting the inner [`HashMap`](::std::collections::HashMap).
        3694  +
    /* UnionGenerator.kt:222 */
 2849   3695   
    /// Returns `Err(&Self)` if it can't be converted.
        3696  +
    /* UnionGenerator.kt:223 */
 2850   3697   
    pub fn as_con_b_map(
 2851   3698   
        &self,
 2852   3699   
    ) -> ::std::result::Result<
 2853   3700   
        &::std::collections::HashMap<::std::string::String, ::std::string::String>,
 2854   3701   
        &Self,
 2855   3702   
    > {
        3703  +
        /* UnionGenerator.kt:227 */
 2856   3704   
        if let ConstrainedUnion::ConBMap(val) = &self {
 2857   3705   
            ::std::result::Result::Ok(val)
 2858   3706   
        } else {
 2859   3707   
            ::std::result::Result::Err(self)
 2860   3708   
        }
        3709  +
        /* UnionGenerator.kt:223 */
 2861   3710   
    }
        3711  +
    /* UnionGenerator.kt:121 */
 2862   3712   
    /// Returns true if this is a [`ConBMap`](crate::model::ConstrainedUnion::ConBMap).
        3713  +
    /* UnionGenerator.kt:122 */
 2863   3714   
    pub fn is_con_b_map(&self) -> bool {
        3715  +
        /* UnionGenerator.kt:123 */
 2864   3716   
        self.as_con_b_map().is_ok()
        3717  +
        /* UnionGenerator.kt:122 */
 2865   3718   
    }
        3719  +
    /* UnionGenerator.kt:217 */
 2866   3720   
    /// Tries to convert the enum instance into [`ConBSet`](crate::model::ConstrainedUnion::ConBSet), extracting the inner [`Vec`](::std::vec::Vec).
        3721  +
    /* UnionGenerator.kt:222 */
 2867   3722   
    /// Returns `Err(&Self)` if it can't be converted.
        3723  +
    /* UnionGenerator.kt:223 */
 2868   3724   
    pub fn as_con_b_set(
 2869   3725   
        &self,
 2870   3726   
    ) -> ::std::result::Result<&::std::vec::Vec<::std::vec::Vec<::std::string::String>>, &Self>
 2871   3727   
    {
        3728  +
        /* UnionGenerator.kt:227 */
 2872   3729   
        if let ConstrainedUnion::ConBSet(val) = &self {
 2873   3730   
            ::std::result::Result::Ok(val)
 2874   3731   
        } else {
 2875   3732   
            ::std::result::Result::Err(self)
 2876   3733   
        }
        3734  +
        /* UnionGenerator.kt:223 */
 2877   3735   
    }
        3736  +
    /* UnionGenerator.kt:121 */
 2878   3737   
    /// Returns true if this is a [`ConBSet`](crate::model::ConstrainedUnion::ConBSet).
        3738  +
    /* UnionGenerator.kt:122 */
 2879   3739   
    pub fn is_con_b_set(&self) -> bool {
        3740  +
        /* UnionGenerator.kt:123 */
 2880   3741   
        self.as_con_b_set().is_ok()
        3742  +
        /* UnionGenerator.kt:122 */
 2881   3743   
    }
        3744  +
    /* UnionGenerator.kt:217 */
 2882   3745   
    /// Tries to convert the enum instance into [`ConstrainedStructure`](crate::model::ConstrainedUnion::ConstrainedStructure), extracting the inner [`ConB`](crate::model::ConB).
        3746  +
    /* UnionGenerator.kt:222 */
 2883   3747   
    /// Returns `Err(&Self)` if it can't be converted.
        3748  +
    /* UnionGenerator.kt:223 */
 2884   3749   
    pub fn as_constrained_structure(&self) -> ::std::result::Result<&crate::model::ConB, &Self> {
        3750  +
        /* UnionGenerator.kt:227 */
 2885   3751   
        if let ConstrainedUnion::ConstrainedStructure(val) = &self {
 2886   3752   
            ::std::result::Result::Ok(val)
 2887   3753   
        } else {
 2888   3754   
            ::std::result::Result::Err(self)
 2889   3755   
        }
        3756  +
        /* UnionGenerator.kt:223 */
 2890   3757   
    }
        3758  +
    /* UnionGenerator.kt:121 */
 2891   3759   
    /// Returns true if this is a [`ConstrainedStructure`](crate::model::ConstrainedUnion::ConstrainedStructure).
        3760  +
    /* UnionGenerator.kt:122 */
 2892   3761   
    pub fn is_constrained_structure(&self) -> bool {
        3762  +
        /* UnionGenerator.kt:123 */
 2893   3763   
        self.as_constrained_structure().is_ok()
        3764  +
        /* UnionGenerator.kt:122 */
 2894   3765   
    }
        3766  +
    /* UnionGenerator.kt:217 */
 2895   3767   
    /// Tries to convert the enum instance into [`EnumString`](crate::model::ConstrainedUnion::EnumString), extracting the inner [`EnumString`](crate::model::EnumString).
        3768  +
    /* UnionGenerator.kt:222 */
 2896   3769   
    /// Returns `Err(&Self)` if it can't be converted.
        3770  +
    /* UnionGenerator.kt:223 */
 2897   3771   
    pub fn as_enum_string(&self) -> ::std::result::Result<&crate::model::EnumString, &Self> {
        3772  +
        /* UnionGenerator.kt:227 */
 2898   3773   
        if let ConstrainedUnion::EnumString(val) = &self {
 2899   3774   
            ::std::result::Result::Ok(val)
 2900   3775   
        } else {
 2901   3776   
            ::std::result::Result::Err(self)
 2902   3777   
        }
        3778  +
        /* UnionGenerator.kt:223 */
 2903   3779   
    }
        3780  +
    /* UnionGenerator.kt:121 */
 2904   3781   
    /// Returns true if this is a [`EnumString`](crate::model::ConstrainedUnion::EnumString).
        3782  +
    /* UnionGenerator.kt:122 */
 2905   3783   
    pub fn is_enum_string(&self) -> bool {
        3784  +
        /* UnionGenerator.kt:123 */
 2906   3785   
        self.as_enum_string().is_ok()
        3786  +
        /* UnionGenerator.kt:122 */
 2907   3787   
    }
        3788  +
    /* UnionGenerator.kt:217 */
 2908   3789   
    /// Tries to convert the enum instance into [`LengthString`](crate::model::ConstrainedUnion::LengthString), extracting the inner [`String`](::std::string::String).
        3790  +
    /* UnionGenerator.kt:222 */
 2909   3791   
    /// Returns `Err(&Self)` if it can't be converted.
        3792  +
    /* UnionGenerator.kt:223 */
 2910   3793   
    pub fn as_length_string(&self) -> ::std::result::Result<&::std::string::String, &Self> {
        3794  +
        /* UnionGenerator.kt:227 */
 2911   3795   
        if let ConstrainedUnion::LengthString(val) = &self {
 2912   3796   
            ::std::result::Result::Ok(val)
 2913   3797   
        } else {
 2914   3798   
            ::std::result::Result::Err(self)
 2915   3799   
        }
        3800  +
        /* UnionGenerator.kt:223 */
 2916   3801   
    }
        3802  +
    /* UnionGenerator.kt:121 */
 2917   3803   
    /// Returns true if this is a [`LengthString`](crate::model::ConstrainedUnion::LengthString).
        3804  +
    /* UnionGenerator.kt:122 */
 2918   3805   
    pub fn is_length_string(&self) -> bool {
        3806  +
        /* UnionGenerator.kt:123 */
 2919   3807   
        self.as_length_string().is_ok()
        3808  +
        /* UnionGenerator.kt:122 */
 2920   3809   
    }
        3810  +
    /* UnionGenerator.kt:111 */
 2921   3811   
}
        3812  +
/* PythonServerUnionGenerator.kt:58 */
 2922   3813   
#[pyo3::pyclass(name = "ConstrainedUnion")]
        3814  +
/* RustType.kt:516 */
 2923   3815   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
 2924         -
pub struct PyUnionMarkerConstrainedUnion(pub ConstrainedUnion);
        3816  +
pub /* PythonServerUnionGenerator.kt:61 */ struct PyUnionMarkerConstrainedUnion(
        3817  +
    pub ConstrainedUnion,
        3818  +
);
        3819  +
/* RustType.kt:516 */
 2925   3820   
#[::pyo3::pymethods]
        3821  +
/* PythonServerUnionGenerator.kt:66 */
 2926   3822   
impl PyUnionMarkerConstrainedUnion {
        3823  +
    /* RustType.kt:516 */
 2927   3824   
    #[staticmethod]
        3825  +
    /* PythonServerUnionGenerator.kt:134 */
 2928   3826   
    /// Creates a new union instance of [`ConBList`](crate::model::ConstrainedUnion::ConBList)
        3827  +
    /* PythonServerUnionGenerator.kt:138 */
 2929   3828   
    /// :param data typing.List\[typing.List\[constraints_without_public_constrained_types.model.ConB\]\]:
        3829  +
    /* PythonServerUnionGenerator.kt:139 */
 2930   3830   
    /// :rtype ConstrainedUnion:
        3831  +
    /* PythonServerUnionGenerator.kt:140 */
 2931   3832   
    pub fn con_b_list(data: ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>) -> Self {
        3833  +
        /* PythonServerUnionGenerator.kt:141 */
 2932   3834   
        Self(ConstrainedUnion::ConBList(data))
        3835  +
        /* PythonServerUnionGenerator.kt:140 */
 2933   3836   
    }
        3837  +
    /* PythonServerUnionGenerator.kt:176 */
 2934   3838   
    /// Tries to convert the enum instance into [`ConBList`](crate::model::ConstrainedUnion::ConBList), extracting the inner [`Vec`](::std::vec::Vec).
        3839  +
    /* PythonServerUnionGenerator.kt:181 */
 2935   3840   
    /// :rtype typing.List\[typing.List\[constraints_without_public_constrained_types.model.ConB\]\]:
        3841  +
    /* PythonServerUnionGenerator.kt:182 */
 2936   3842   
    pub fn as_con_b_list(
 2937   3843   
        &self,
 2938   3844   
    ) -> ::pyo3::PyResult<::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>> {
        3845  +
        /* PythonServerUnionGenerator.kt:190 */
 2939   3846   
        match self.0.as_con_b_list() {
 2940   3847   
            Ok(variant) => Ok(variant.clone()),
 2941   3848   
            Err(_) => Err(::pyo3::exceptions::PyValueError::new_err(
 2942   3849   
                r"ConstrainedUnion variant is not of type typing.List\[typing.List\[constraints_without_public_constrained_types.model.ConB\]\]",
 2943   3850   
            )),
 2944   3851   
        }
        3852  +
        /* PythonServerUnionGenerator.kt:182 */
 2945   3853   
    }
        3854  +
    /* PythonServerUnionGenerator.kt:76 */
 2946   3855   
    /// Returns true if this is a [`ConBList`](crate::model::ConstrainedUnion::ConBList).
        3856  +
    /* PythonServerUnionGenerator.kt:77 */
 2947   3857   
    /// :rtype bool:
        3858  +
    /* PythonServerUnionGenerator.kt:78 */
 2948   3859   
    pub fn is_con_b_list(&self) -> bool {
        3860  +
        /* PythonServerUnionGenerator.kt:79 */
 2949   3861   
        self.0.is_con_b_list()
        3862  +
        /* PythonServerUnionGenerator.kt:78 */
 2950   3863   
    }
        3864  +
    /* RustType.kt:516 */
 2951   3865   
    #[staticmethod]
        3866  +
    /* PythonServerUnionGenerator.kt:134 */
 2952   3867   
    /// Creates a new union instance of [`ConBMap`](crate::model::ConstrainedUnion::ConBMap)
        3868  +
    /* PythonServerUnionGenerator.kt:138 */
 2953   3869   
    /// :param data typing.Dict\[str, str\]:
        3870  +
    /* PythonServerUnionGenerator.kt:139 */
 2954   3871   
    /// :rtype ConstrainedUnion:
        3872  +
    /* PythonServerUnionGenerator.kt:140 */
 2955   3873   
    pub fn con_b_map(
 2956   3874   
        data: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 2957   3875   
    ) -> Self {
        3876  +
        /* PythonServerUnionGenerator.kt:141 */
 2958   3877   
        Self(ConstrainedUnion::ConBMap(data))
        3878  +
        /* PythonServerUnionGenerator.kt:140 */
 2959   3879   
    }
        3880  +
    /* PythonServerUnionGenerator.kt:176 */
 2960   3881   
    /// Tries to convert the enum instance into [`ConBMap`](crate::model::ConstrainedUnion::ConBMap), extracting the inner [`HashMap`](::std::collections::HashMap).
        3882  +
    /* PythonServerUnionGenerator.kt:181 */
 2961   3883   
    /// :rtype typing.Dict\[str, str\]:
        3884  +
    /* PythonServerUnionGenerator.kt:182 */
 2962   3885   
    pub fn as_con_b_map(
 2963   3886   
        &self,
 2964   3887   
    ) -> ::pyo3::PyResult<::std::collections::HashMap<::std::string::String, ::std::string::String>>
 2965   3888   
    {
        3889  +
        /* PythonServerUnionGenerator.kt:190 */
 2966   3890   
        match self.0.as_con_b_map() {
 2967   3891   
            Ok(variant) => Ok(variant.clone()),
 2968   3892   
            Err(_) => Err(::pyo3::exceptions::PyValueError::new_err(
 2969   3893   
                r"ConstrainedUnion variant is not of type typing.Dict\[str, str\]",
 2970   3894   
            )),
 2971   3895   
        }
        3896  +
        /* PythonServerUnionGenerator.kt:182 */
 2972   3897   
    }
        3898  +
    /* PythonServerUnionGenerator.kt:76 */
 2973   3899   
    /// Returns true if this is a [`ConBMap`](crate::model::ConstrainedUnion::ConBMap).
        3900  +
    /* PythonServerUnionGenerator.kt:77 */
 2974   3901   
    /// :rtype bool:
        3902  +
    /* PythonServerUnionGenerator.kt:78 */
 2975   3903   
    pub fn is_con_b_map(&self) -> bool {
        3904  +
        /* PythonServerUnionGenerator.kt:79 */
 2976   3905   
        self.0.is_con_b_map()
        3906  +
        /* PythonServerUnionGenerator.kt:78 */
 2977   3907   
    }
        3908  +
    /* RustType.kt:516 */
 2978   3909   
    #[staticmethod]
        3910  +
    /* PythonServerUnionGenerator.kt:134 */
 2979   3911   
    /// Creates a new union instance of [`ConBSet`](crate::model::ConstrainedUnion::ConBSet)
        3912  +
    /* PythonServerUnionGenerator.kt:138 */
 2980   3913   
    /// :param data typing.List\[typing.Set\[str\]\]:
        3914  +
    /* PythonServerUnionGenerator.kt:139 */
 2981   3915   
    /// :rtype ConstrainedUnion:
        3916  +
    /* PythonServerUnionGenerator.kt:140 */
 2982   3917   
    pub fn con_b_set(data: ::std::vec::Vec<::std::vec::Vec<::std::string::String>>) -> Self {
        3918  +
        /* PythonServerUnionGenerator.kt:141 */
 2983   3919   
        Self(ConstrainedUnion::ConBSet(data))
        3920  +
        /* PythonServerUnionGenerator.kt:140 */
 2984   3921   
    }
        3922  +
    /* PythonServerUnionGenerator.kt:176 */
 2985   3923   
    /// Tries to convert the enum instance into [`ConBSet`](crate::model::ConstrainedUnion::ConBSet), extracting the inner [`Vec`](::std::vec::Vec).
        3924  +
    /* PythonServerUnionGenerator.kt:181 */
 2986   3925   
    /// :rtype typing.List\[typing.Set\[str\]\]:
        3926  +
    /* PythonServerUnionGenerator.kt:182 */
 2987   3927   
    pub fn as_con_b_set(
 2988   3928   
        &self,
 2989   3929   
    ) -> ::pyo3::PyResult<::std::vec::Vec<::std::vec::Vec<::std::string::String>>> {
        3930  +
        /* PythonServerUnionGenerator.kt:190 */
 2990   3931   
        match self.0.as_con_b_set() {
 2991   3932   
            Ok(variant) => Ok(variant.clone()),
 2992   3933   
            Err(_) => Err(::pyo3::exceptions::PyValueError::new_err(
 2993   3934   
                r"ConstrainedUnion variant is not of type typing.List\[typing.Set\[str\]\]",
 2994   3935   
            )),
 2995   3936   
        }
        3937  +
        /* PythonServerUnionGenerator.kt:182 */
 2996   3938   
    }
        3939  +
    /* PythonServerUnionGenerator.kt:76 */
 2997   3940   
    /// Returns true if this is a [`ConBSet`](crate::model::ConstrainedUnion::ConBSet).
        3941  +
    /* PythonServerUnionGenerator.kt:77 */
 2998   3942   
    /// :rtype bool:
        3943  +
    /* PythonServerUnionGenerator.kt:78 */
 2999   3944   
    pub fn is_con_b_set(&self) -> bool {
        3945  +
        /* PythonServerUnionGenerator.kt:79 */
 3000   3946   
        self.0.is_con_b_set()
        3947  +
        /* PythonServerUnionGenerator.kt:78 */
 3001   3948   
    }
        3949  +
    /* RustType.kt:516 */
 3002   3950   
    #[staticmethod]
        3951  +
    /* PythonServerUnionGenerator.kt:134 */
 3003   3952   
    /// Creates a new union instance of [`ConstrainedStructure`](crate::model::ConstrainedUnion::ConstrainedStructure)
        3953  +
    /* PythonServerUnionGenerator.kt:138 */
 3004   3954   
    /// :param data constraints_without_public_constrained_types.model.ConB:
        3955  +
    /* PythonServerUnionGenerator.kt:139 */
 3005   3956   
    /// :rtype ConstrainedUnion:
        3957  +
    /* PythonServerUnionGenerator.kt:140 */
 3006   3958   
    pub fn constrained_structure(data: crate::model::ConB) -> Self {
        3959  +
        /* PythonServerUnionGenerator.kt:141 */
 3007   3960   
        Self(ConstrainedUnion::ConstrainedStructure(data))
        3961  +
        /* PythonServerUnionGenerator.kt:140 */
 3008   3962   
    }
        3963  +
    /* PythonServerUnionGenerator.kt:176 */
 3009   3964   
    /// Tries to convert the enum instance into [`ConstrainedStructure`](crate::model::ConstrainedUnion::ConstrainedStructure), extracting the inner [`ConB`](crate::model::ConB).
        3965  +
    /* PythonServerUnionGenerator.kt:181 */
 3010   3966   
    /// :rtype constraints_without_public_constrained_types.model.ConB:
        3967  +
    /* PythonServerUnionGenerator.kt:182 */
 3011   3968   
    pub fn as_constrained_structure(&self) -> ::pyo3::PyResult<crate::model::ConB> {
        3969  +
        /* PythonServerUnionGenerator.kt:190 */
 3012   3970   
        match self.0.as_constrained_structure() {
 3013   3971   
            Ok(variant) => Ok(variant.clone()),
 3014   3972   
            Err(_) => Err(::pyo3::exceptions::PyValueError::new_err(
 3015   3973   
                r"ConstrainedUnion variant is not of type constraints_without_public_constrained_types.model.ConB",
 3016   3974   
            )),
 3017   3975   
        }
        3976  +
        /* PythonServerUnionGenerator.kt:182 */
 3018   3977   
    }
        3978  +
    /* PythonServerUnionGenerator.kt:76 */
 3019   3979   
    /// Returns true if this is a [`ConstrainedStructure`](crate::model::ConstrainedUnion::ConstrainedStructure).
        3980  +
    /* PythonServerUnionGenerator.kt:77 */
 3020   3981   
    /// :rtype bool:
        3982  +
    /* PythonServerUnionGenerator.kt:78 */
 3021   3983   
    pub fn is_constrained_structure(&self) -> bool {
        3984  +
        /* PythonServerUnionGenerator.kt:79 */
 3022   3985   
        self.0.is_constrained_structure()
        3986  +
        /* PythonServerUnionGenerator.kt:78 */
 3023   3987   
    }
        3988  +
    /* RustType.kt:516 */
 3024   3989   
    #[staticmethod]
        3990  +
    /* PythonServerUnionGenerator.kt:134 */
 3025   3991   
    /// Creates a new union instance of [`EnumString`](crate::model::ConstrainedUnion::EnumString)
        3992  +
    /* PythonServerUnionGenerator.kt:138 */
 3026   3993   
    /// :param data constraints_without_public_constrained_types.model.EnumString:
        3994  +
    /* PythonServerUnionGenerator.kt:139 */
 3027   3995   
    /// :rtype ConstrainedUnion:
        3996  +
    /* PythonServerUnionGenerator.kt:140 */
 3028   3997   
    pub fn enum_string(data: crate::model::EnumString) -> Self {
        3998  +
        /* PythonServerUnionGenerator.kt:141 */
 3029   3999   
        Self(ConstrainedUnion::EnumString(data))
        4000  +
        /* PythonServerUnionGenerator.kt:140 */
 3030   4001   
    }
        4002  +
    /* PythonServerUnionGenerator.kt:176 */
 3031   4003   
    /// Tries to convert the enum instance into [`EnumString`](crate::model::ConstrainedUnion::EnumString), extracting the inner [`EnumString`](crate::model::EnumString).
        4004  +
    /* PythonServerUnionGenerator.kt:181 */
 3032   4005   
    /// :rtype constraints_without_public_constrained_types.model.EnumString:
        4006  +
    /* PythonServerUnionGenerator.kt:182 */
 3033   4007   
    pub fn as_enum_string(&self) -> ::pyo3::PyResult<crate::model::EnumString> {
        4008  +
        /* PythonServerUnionGenerator.kt:190 */
 3034   4009   
        match self.0.as_enum_string() {
 3035   4010   
            Ok(variant) => Ok(variant.clone()),
 3036   4011   
            Err(_) => Err(::pyo3::exceptions::PyValueError::new_err(
 3037   4012   
                r"ConstrainedUnion variant is not of type constraints_without_public_constrained_types.model.EnumString",
 3038   4013   
            )),
 3039   4014   
        }
        4015  +
        /* PythonServerUnionGenerator.kt:182 */
 3040   4016   
    }
        4017  +
    /* PythonServerUnionGenerator.kt:76 */
 3041   4018   
    /// Returns true if this is a [`EnumString`](crate::model::ConstrainedUnion::EnumString).
        4019  +
    /* PythonServerUnionGenerator.kt:77 */
 3042   4020   
    /// :rtype bool:
        4021  +
    /* PythonServerUnionGenerator.kt:78 */
 3043   4022   
    pub fn is_enum_string(&self) -> bool {
        4023  +
        /* PythonServerUnionGenerator.kt:79 */
 3044   4024   
        self.0.is_enum_string()
        4025  +
        /* PythonServerUnionGenerator.kt:78 */
 3045   4026   
    }
        4027  +
    /* RustType.kt:516 */
 3046   4028   
    #[staticmethod]
        4029  +
    /* PythonServerUnionGenerator.kt:134 */
 3047   4030   
    /// Creates a new union instance of [`LengthString`](crate::model::ConstrainedUnion::LengthString)
        4031  +
    /* PythonServerUnionGenerator.kt:138 */
 3048   4032   
    /// :param data str:
        4033  +
    /* PythonServerUnionGenerator.kt:139 */
 3049   4034   
    /// :rtype ConstrainedUnion:
        4035  +
    /* PythonServerUnionGenerator.kt:140 */
 3050   4036   
    pub fn length_string(data: ::std::string::String) -> Self {
        4037  +
        /* PythonServerUnionGenerator.kt:141 */
 3051   4038   
        Self(ConstrainedUnion::LengthString(data))
        4039  +
        /* PythonServerUnionGenerator.kt:140 */
 3052   4040   
    }
        4041  +
    /* PythonServerUnionGenerator.kt:176 */
 3053   4042   
    /// Tries to convert the enum instance into [`LengthString`](crate::model::ConstrainedUnion::LengthString), extracting the inner [`String`](::std::string::String).
        4043  +
    /* PythonServerUnionGenerator.kt:181 */
 3054   4044   
    /// :rtype str:
        4045  +
    /* PythonServerUnionGenerator.kt:182 */
 3055   4046   
    pub fn as_length_string(&self) -> ::pyo3::PyResult<::std::string::String> {
        4047  +
        /* PythonServerUnionGenerator.kt:190 */
 3056   4048   
        match self.0.as_length_string() {
 3057   4049   
            Ok(variant) => Ok(variant.clone()),
 3058   4050   
            Err(_) => Err(::pyo3::exceptions::PyValueError::new_err(
 3059   4051   
                r"ConstrainedUnion variant is not of type str",
 3060   4052   
            )),
 3061   4053   
        }
        4054  +
        /* PythonServerUnionGenerator.kt:182 */
 3062   4055   
    }
        4056  +
    /* PythonServerUnionGenerator.kt:76 */
 3063   4057   
    /// Returns true if this is a [`LengthString`](crate::model::ConstrainedUnion::LengthString).
        4058  +
    /* PythonServerUnionGenerator.kt:77 */
 3064   4059   
    /// :rtype bool:
        4060  +
    /* PythonServerUnionGenerator.kt:78 */
 3065   4061   
    pub fn is_length_string(&self) -> bool {
        4062  +
        /* PythonServerUnionGenerator.kt:79 */
 3066   4063   
        self.0.is_length_string()
        4064  +
        /* PythonServerUnionGenerator.kt:78 */
 3067   4065   
    }
        4066  +
    /* PythonServerUnionGenerator.kt:66 */
 3068   4067   
}
        4068  +
/* PythonServerUnionGenerator.kt:93 */
 3069   4069   
impl ::pyo3::IntoPy<::pyo3::PyObject> for ConstrainedUnion {
        4070  +
    /* PythonServerUnionGenerator.kt:94 */
 3070   4071   
    fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
        4072  +
        /* PythonServerUnionGenerator.kt:95 */
 3071   4073   
        PyUnionMarkerConstrainedUnion(self).into_py(py)
        4074  +
        /* PythonServerUnionGenerator.kt:94 */
 3072   4075   
    }
        4076  +
    /* PythonServerUnionGenerator.kt:93 */
 3073   4077   
}
        4078  +
/* PythonServerUnionGenerator.kt:98 */
 3074   4079   
impl<'source> ::pyo3::FromPyObject<'source> for ConstrainedUnion {
        4080  +
    /* PythonServerUnionGenerator.kt:99 */
 3075   4081   
    fn extract(obj: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
        4082  +
        /* PythonServerUnionGenerator.kt:100 */
 3076   4083   
        let data: PyUnionMarkerConstrainedUnion = obj.extract()?;
 3077   4084   
        Ok(data.0)
        4085  +
        /* PythonServerUnionGenerator.kt:99 */
 3078   4086   
    }
        4087  +
    /* PythonServerUnionGenerator.kt:98 */
 3079   4088   
}
 3080   4089   
        4090  +
/* ConstrainedCollectionGenerator.kt:93 */
 3081   4091   
#[allow(missing_docs)] // documentation missing in model
 3082         -
///
        4092  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 3083   4093   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3084   4094   
/// [constraint traits]. Use [`ConBSet::try_from`] to construct values of this type.
 3085   4095   
///
 3086   4096   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3087   4097   
///
        4098  +
/* RustType.kt:516 */
 3088   4099   
#[derive(
 3089   4100   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3090   4101   
)]
 3091         -
pub(crate) struct ConBSet(pub(crate) ::std::vec::Vec<crate::model::ConBSetInner>);
        4102  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct ConBSet(
        4103  +
    pub(crate) ::std::vec::Vec<crate::model::ConBSetInner>,
        4104  +
);
        4105  +
/* ConstrainedCollectionGenerator.kt:104 */
 3092   4106   
impl ConBSet {
        4107  +
    /* ConstrainedCollectionGenerator.kt:116 */
 3093   4108   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::ConBSetInner>`].
 3094   4109   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::ConBSetInner> {
 3095   4110   
        self.0
 3096   4111   
    }
 3097   4112   
 3098   4113   
    fn check_unique_items(
 3099   4114   
        items: ::std::vec::Vec<crate::model::ConBSetInner>,
 3100   4115   
    ) -> ::std::result::Result<
 3101   4116   
        ::std::vec::Vec<crate::model::ConBSetInner>,
 3102   4117   
        crate::model::con_b_set_internal::ConstraintViolation,
 3103   4118   
    > {
 3104   4119   
        let mut seen = ::std::collections::HashMap::new();
 3105   4120   
        let mut duplicate_indices = ::std::vec::Vec::new();
 3106   4121   
        for (idx, item) in items.iter().enumerate() {
 3107   4122   
            if let Some(prev_idx) = seen.insert(item, idx) {
 3108   4123   
                duplicate_indices.push(prev_idx);
 3109   4124   
            }
 3110   4125   
        }
 3111   4126   
 3112   4127   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 3113   4128   
        for idx in &duplicate_indices {
 3114   4129   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 3115   4130   
                last_duplicate_indices.push(prev_idx);
 3116   4131   
            }
 3117   4132   
        }
 3118   4133   
        duplicate_indices.extend(last_duplicate_indices);
 3119   4134   
 3120   4135   
        if !duplicate_indices.is_empty() {
 3121   4136   
            debug_assert!(duplicate_indices.len() >= 2);
 3122   4137   
            Err(
 3123   4138   
                crate::model::con_b_set_internal::ConstraintViolation::UniqueItems {
 3124   4139   
                    duplicate_indices,
 3125   4140   
                    original: items,
 3126   4141   
                },
 3127   4142   
            )
 3128   4143   
        } else {
 3129   4144   
            Ok(items)
 3130   4145   
        }
 3131   4146   
    }
        4147  +
    /* ConstrainedCollectionGenerator.kt:104 */
 3132   4148   
}
        4149  +
/* ConstrainedCollectionGenerator.kt:133 */
 3133   4150   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::ConBSetInner>> for ConBSet {
 3134   4151   
    type Error = crate::model::con_b_set_internal::ConstraintViolation;
 3135   4152   
 3136   4153   
    /// Constructs a `ConBSet` from an [`::std::vec::Vec<crate::model::ConBSetInner>`], failing when the provided value does not satisfy the modeled constraints.
 3137   4154   
    fn try_from(
 3138   4155   
        value: ::std::vec::Vec<crate::model::ConBSetInner>,
 3139   4156   
    ) -> ::std::result::Result<Self, Self::Error> {
 3140   4157   
        let value = Self::check_unique_items(value)?;
 3141   4158   
 3142   4159   
        Ok(Self(value))
 3143   4160   
    }
 3144   4161   
}
 3145   4162   
 3146   4163   
impl ::std::convert::From<ConBSet> for ::std::vec::Vec<crate::model::ConBSetInner> {
 3147   4164   
    fn from(value: ConBSet) -> Self {
 3148   4165   
        value.into_inner()
 3149   4166   
    }
 3150   4167   
}
        4168  +
/* ConstrainedCollectionGenerator.kt:163 */
 3151   4169   
impl ::std::convert::From<ConBSet> for ::std::vec::Vec<::std::vec::Vec<::std::string::String>> {
 3152   4170   
    fn from(value: ConBSet) -> Self {
 3153   4171   
        value.into_inner().into_iter().map(|v| v.into()).collect()
 3154   4172   
    }
 3155   4173   
}
        4174  +
/* ConstrainedCollectionGenerator.kt:181 */
 3156   4175   
impl crate::constrained::Constrained for ConBSet {
 3157   4176   
    type Unconstrained = crate::unconstrained::con_b_set_unconstrained::ConBSetUnconstrained;
 3158   4177   
}
 3159   4178   
        4179  +
/* ConstrainedCollectionGenerator.kt:93 */
 3160   4180   
#[allow(missing_docs)] // documentation missing in model
 3161         -
///
        4181  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 3162   4182   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3163   4183   
/// [constraint traits]. Use [`ConBSetInner::try_from`] to construct values of this type.
 3164   4184   
///
 3165   4185   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3166   4186   
///
        4187  +
/* RustType.kt:516 */
 3167   4188   
#[derive(
 3168   4189   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3169   4190   
)]
 3170         -
pub(crate) struct ConBSetInner(pub(crate) ::std::vec::Vec<::std::string::String>);
        4191  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct ConBSetInner(
        4192  +
    pub(crate) ::std::vec::Vec<::std::string::String>,
        4193  +
);
        4194  +
/* ConstrainedCollectionGenerator.kt:104 */
 3171   4195   
impl ConBSetInner {
        4196  +
    /* ConstrainedCollectionGenerator.kt:116 */
 3172   4197   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<::std::string::String>`].
 3173   4198   
    pub fn into_inner(self) -> ::std::vec::Vec<::std::string::String> {
 3174   4199   
        self.0
 3175   4200   
    }
 3176   4201   
 3177   4202   
    fn check_unique_items(
 3178   4203   
        items: ::std::vec::Vec<::std::string::String>,
 3179   4204   
    ) -> ::std::result::Result<
 3180   4205   
        ::std::vec::Vec<::std::string::String>,
 3181   4206   
        crate::model::con_b_set_inner_internal::ConstraintViolation,
 3182   4207   
    > {
 3183   4208   
        let mut seen = ::std::collections::HashMap::new();
 3184   4209   
        let mut duplicate_indices = ::std::vec::Vec::new();
 3185   4210   
        for (idx, item) in items.iter().enumerate() {
 3186   4211   
            if let Some(prev_idx) = seen.insert(item, idx) {
 3187   4212   
                duplicate_indices.push(prev_idx);
 3188   4213   
            }
 3189   4214   
        }
 3190   4215   
 3191   4216   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 3192   4217   
        for idx in &duplicate_indices {
 3193   4218   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 3194   4219   
                last_duplicate_indices.push(prev_idx);
 3195   4220   
            }
 3196   4221   
        }
 3197   4222   
        duplicate_indices.extend(last_duplicate_indices);
 3198   4223   
 3199   4224   
        if !duplicate_indices.is_empty() {
 3200   4225   
            debug_assert!(duplicate_indices.len() >= 2);
 3201   4226   
            Err(
 3202   4227   
                crate::model::con_b_set_inner_internal::ConstraintViolation::UniqueItems {
 3203   4228   
                    duplicate_indices,
 3204   4229   
                    original: items,
 3205   4230   
                },
 3206   4231   
            )
 3207   4232   
        } else {
 3208   4233   
            Ok(items)
 3209   4234   
        }
 3210   4235   
    }
        4236  +
    /* ConstrainedCollectionGenerator.kt:104 */
 3211   4237   
}
        4238  +
/* ConstrainedCollectionGenerator.kt:133 */
 3212   4239   
impl ::std::convert::TryFrom<::std::vec::Vec<::std::string::String>> for ConBSetInner {
 3213   4240   
    type Error = crate::model::con_b_set_inner_internal::ConstraintViolation;
 3214   4241   
 3215   4242   
    /// Constructs a `ConBSetInner` from an [`::std::vec::Vec<::std::string::String>`], failing when the provided value does not satisfy the modeled constraints.
 3216   4243   
    fn try_from(
 3217   4244   
        value: ::std::vec::Vec<::std::string::String>,
 3218   4245   
    ) -> ::std::result::Result<Self, Self::Error> {
 3219   4246   
        let value = Self::check_unique_items(value)?;
 3220   4247   
 3221   4248   
        Ok(Self(value))
 3222   4249   
    }
 3223   4250   
}
 3224   4251   
 3225   4252   
impl ::std::convert::From<ConBSetInner> for ::std::vec::Vec<::std::string::String> {
 3226   4253   
    fn from(value: ConBSetInner) -> Self {
 3227   4254   
        value.into_inner()
 3228   4255   
    }
 3229   4256   
}
        4257  +
/* ConstrainedCollectionGenerator.kt:181 */
 3230   4258   
impl crate::constrained::Constrained for ConBSetInner {
 3231   4259   
    type Unconstrained =
 3232   4260   
        crate::unconstrained::con_b_set_inner_unconstrained::ConBSetInnerUnconstrained;
 3233   4261   
}
 3234   4262   
        4263  +
/* RustType.kt:516 */
 3235   4264   
#[::pyo3::pyclass]
        4265  +
/* PythonServerStructureGenerator.kt:63 */
 3236   4266   
/// :param nice str:
 3237   4267   
/// :param int int:
 3238   4268   
/// :param opt_nice typing.Optional\[str\]:
 3239   4269   
/// :param opt_int typing.Optional\[int\]:
 3240   4270   
/// :rtype None:
        4271  +
/* StructureGenerator.kt:197 */
 3241   4272   
#[allow(missing_docs)] // documentation missing in model
        4273  +
/* RustType.kt:516 */
 3242   4274   
#[derive(
 3243   4275   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3244   4276   
)]
 3245         -
pub struct ConB {
        4277  +
pub /* StructureGenerator.kt:201 */ struct ConB {
        4278  +
    /* RustType.kt:516 */
 3246   4279   
    #[pyo3(get, set)]
        4280  +
    /* PythonServerStructureGenerator.kt:80 */
 3247   4281   
    /// :type str:
        4282  +
    /* StructureGenerator.kt:231 */
 3248   4283   
    #[allow(missing_docs)] // documentation missing in model
 3249   4284   
    pub nice: ::std::string::String,
        4285  +
    /* RustType.kt:516 */
 3250   4286   
    #[pyo3(get, set)]
        4287  +
    /* PythonServerStructureGenerator.kt:80 */
 3251   4288   
    /// :type int:
        4289  +
    /* StructureGenerator.kt:231 */
 3252   4290   
    #[allow(missing_docs)] // documentation missing in model
 3253   4291   
    pub int: i32,
        4292  +
    /* RustType.kt:516 */
 3254   4293   
    #[pyo3(get, set)]
        4294  +
    /* PythonServerStructureGenerator.kt:80 */
 3255   4295   
    /// :type typing.Optional\[str\]:
        4296  +
    /* StructureGenerator.kt:231 */
 3256   4297   
    #[allow(missing_docs)] // documentation missing in model
 3257   4298   
    pub opt_nice: ::std::option::Option<::std::string::String>,
        4299  +
    /* RustType.kt:516 */
 3258   4300   
    #[pyo3(get, set)]
        4301  +
    /* PythonServerStructureGenerator.kt:80 */
 3259   4302   
    /// :type typing.Optional\[int\]:
        4303  +
    /* StructureGenerator.kt:231 */
 3260   4304   
    #[allow(missing_docs)] // documentation missing in model
 3261   4305   
    pub opt_int: ::std::option::Option<i32>,
        4306  +
    /* StructureGenerator.kt:201 */
 3262   4307   
}
        4308  +
/* StructureGenerator.kt:135 */
 3263   4309   
impl ConB {
        4310  +
    /* StructureGenerator.kt:231 */
 3264   4311   
    #[allow(missing_docs)] // documentation missing in model
        4312  +
                           /* StructureGenerator.kt:166 */
 3265   4313   
    pub fn nice(&self) -> &str {
        4314  +
        /* StructureGenerator.kt:171 */
 3266   4315   
        use std::ops::Deref;
 3267   4316   
        self.nice.deref()
        4317  +
        /* StructureGenerator.kt:166 */
 3268   4318   
    }
        4319  +
    /* StructureGenerator.kt:231 */
 3269   4320   
    #[allow(missing_docs)] // documentation missing in model
        4321  +
                           /* StructureGenerator.kt:166 */
 3270   4322   
    pub fn int(&self) -> i32 {
        4323  +
        /* StructureGenerator.kt:168 */
 3271   4324   
        self.int
        4325  +
        /* StructureGenerator.kt:166 */
 3272   4326   
    }
        4327  +
    /* StructureGenerator.kt:231 */
 3273   4328   
    #[allow(missing_docs)] // documentation missing in model
        4329  +
                           /* StructureGenerator.kt:166 */
 3274   4330   
    pub fn opt_nice(&self) -> ::std::option::Option<&str> {
        4331  +
        /* StructureGenerator.kt:169 */
 3275   4332   
        self.opt_nice.as_deref()
        4333  +
        /* StructureGenerator.kt:166 */
 3276   4334   
    }
        4335  +
    /* StructureGenerator.kt:231 */
 3277   4336   
    #[allow(missing_docs)] // documentation missing in model
        4337  +
                           /* StructureGenerator.kt:166 */
 3278   4338   
    pub fn opt_int(&self) -> ::std::option::Option<i32> {
        4339  +
        /* StructureGenerator.kt:168 */
 3279   4340   
        self.opt_int
        4341  +
        /* StructureGenerator.kt:166 */
 3280   4342   
    }
        4343  +
    /* StructureGenerator.kt:135 */
 3281   4344   
}
        4345  +
/* RustType.kt:516 */
 3282   4346   
#[allow(clippy::new_without_default)]
        4347  +
/* RustType.kt:516 */
 3283   4348   
#[allow(clippy::too_many_arguments)]
        4349  +
/* RustType.kt:516 */
 3284   4350   
#[::pyo3::pymethods]
        4351  +
/* PythonServerStructureGenerator.kt:88 */
 3285   4352   
impl ConB {
 3286   4353   
    #[new]
 3287   4354   
    pub fn new(
 3288   4355   
        nice: ::std::string::String,
 3289   4356   
        int: i32,
 3290   4357   
        opt_nice: ::std::option::Option<::std::string::String>,
 3291   4358   
        opt_int: ::std::option::Option<i32>,
 3292   4359   
    ) -> Self {
 3293   4360   
        Self {
 3294   4361   
            nice,
 3295   4362   
            int,
 3296   4363   
            opt_nice,
 3297   4364   
            opt_int,
 3298   4365   
        }
 3299   4366   
    }
 3300   4367   
    fn __repr__(&self) -> String {
 3301   4368   
        format!("{self:?}")
 3302   4369   
    }
 3303   4370   
    fn __str__(&self) -> String {
 3304   4371   
        format!("{self:?}")
 3305   4372   
    }
 3306   4373   
}
        4374  +
/* PythonServerStructureGenerator.kt:111 */
 3307   4375   
impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ConB> {
 3308   4376   
    fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
 3309   4377   
        ob.extract::<ConB>().map(Box::new)
 3310   4378   
    }
 3311   4379   
}
 3312   4380   
 3313   4381   
impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ConB> {
 3314   4382   
    fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
 3315   4383   
        (*self).into_py(py)
 3316   4384   
    }
 3317   4385   
}
        4386  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
 3318   4387   
impl crate::constrained::Constrained for crate::model::ConB {
 3319   4388   
    type Unconstrained = crate::model::con_b_internal::Builder;
 3320   4389   
}
        4390  +
/* ServerCodegenVisitor.kt:370 */
 3321   4391   
impl ConB {
 3322         -
    /// Creates a new builder-style object to manufacture [`ConB`](crate::model::ConB).
        4392  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`ConB`](crate::model::ConB).
        4393  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
 3323   4394   
    pub fn builder() -> crate::model::con_b::Builder {
        4395  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
 3324   4396   
        crate::model::con_b::Builder::default()
        4397  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
 3325   4398   
    }
        4399  +
    /* ServerCodegenVisitor.kt:370 */
 3326   4400   
}
 3327   4401   
        4402  +
/* ConstrainedCollectionGenerator.kt:93 */
 3328   4403   
#[allow(missing_docs)] // documentation missing in model
 3329         -
///
        4404  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 3330   4405   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3331   4406   
/// [constraint traits]. Use [`SparseLengthList::try_from`] to construct values of this type.
 3332   4407   
///
 3333   4408   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3334   4409   
///
        4410  +
/* RustType.kt:516 */
 3335   4411   
#[derive(
 3336   4412   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3337   4413   
)]
 3338         -
pub(crate) struct SparseLengthList(
        4414  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct SparseLengthList(
 3339   4415   
    pub(crate) ::std::vec::Vec<::std::option::Option<::std::string::String>>,
 3340   4416   
);
        4417  +
/* ConstrainedCollectionGenerator.kt:104 */
 3341   4418   
impl SparseLengthList {
        4419  +
    /* ConstrainedCollectionGenerator.kt:116 */
 3342   4420   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<::std::option::Option<::std::string::String>>`].
 3343   4421   
    pub fn into_inner(self) -> ::std::vec::Vec<::std::option::Option<::std::string::String>> {
 3344   4422   
        self.0
 3345   4423   
    }
 3346   4424   
 3347   4425   
    fn check_length(
 3348   4426   
        length: usize,
 3349   4427   
    ) -> ::std::result::Result<(), crate::model::sparse_length_list_internal::ConstraintViolation>
 3350   4428   
    {
 3351   4429   
        if 69 <= length {
 3352   4430   
            Ok(())
 3353   4431   
        } else {
 3354   4432   
            Err(crate::model::sparse_length_list_internal::ConstraintViolation::Length(length))
 3355   4433   
        }
 3356   4434   
    }
        4435  +
    /* ConstrainedCollectionGenerator.kt:104 */
 3357   4436   
}
        4437  +
/* ConstrainedCollectionGenerator.kt:133 */
 3358   4438   
impl ::std::convert::TryFrom<::std::vec::Vec<::std::option::Option<::std::string::String>>>
 3359   4439   
    for SparseLengthList
 3360   4440   
{
 3361   4441   
    type Error = crate::model::sparse_length_list_internal::ConstraintViolation;
 3362   4442   
 3363   4443   
    /// 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.
 3364   4444   
    fn try_from(
 3365   4445   
        value: ::std::vec::Vec<::std::option::Option<::std::string::String>>,
 3366   4446   
    ) -> ::std::result::Result<Self, Self::Error> {
 3367   4447   
        Self::check_length(value.len())?;
 3368   4448   
 3369   4449   
        Ok(Self(value))
 3370   4450   
    }
 3371   4451   
}
 3372   4452   
 3373   4453   
impl ::std::convert::From<SparseLengthList>
 3374   4454   
    for ::std::vec::Vec<::std::option::Option<::std::string::String>>
 3375   4455   
{
 3376   4456   
    fn from(value: SparseLengthList) -> Self {
 3377   4457   
        value.into_inner()
 3378   4458   
    }
 3379   4459   
}
        4460  +
/* ConstrainedCollectionGenerator.kt:181 */
 3380   4461   
impl crate::constrained::Constrained for SparseLengthList {
 3381   4462   
    type Unconstrained =
 3382   4463   
        crate::unconstrained::sparse_length_list_unconstrained::SparseLengthListUnconstrained;
 3383   4464   
}
 3384   4465   
        4466  +
/* ConstrainedMapGenerator.kt:78 */
 3385   4467   
#[allow(missing_docs)] // documentation missing in model
 3386         -
///
        4468  +
/// /* ConstrainedMapGenerator.kt:79 */
 3387   4469   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3388   4470   
/// [constraint traits]. Use [`SparseLengthMap::try_from`] to construct values of this type.
 3389   4471   
///
 3390   4472   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3391   4473   
///
        4474  +
/* RustType.kt:516 */
 3392   4475   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
 3393         -
pub(crate) struct SparseLengthMap(
        4476  +
pub(crate) /* ConstrainedMapGenerator.kt:82 */ struct SparseLengthMap(
 3394   4477   
    pub(crate)  ::std::collections::HashMap<
 3395   4478   
        ::std::string::String,
 3396   4479   
        ::std::option::Option<::std::string::String>,
 3397   4480   
    >,
 3398   4481   
);
        4482  +
/* ConstrainedMapGenerator.kt:83 */
 3399   4483   
impl SparseLengthMap {
        4484  +
    /* ConstrainedMapGenerator.kt:95 */
 3400   4485   
    /// Consumes the value, returning the underlying [`::std::collections::HashMap<::std::string::String, ::std::option::Option<::std::string::String>>`].
 3401   4486   
    pub fn into_inner(
 3402   4487   
        self,
 3403   4488   
    ) -> ::std::collections::HashMap<
 3404   4489   
        ::std::string::String,
 3405   4490   
        ::std::option::Option<::std::string::String>,
 3406   4491   
    > {
 3407   4492   
        self.0
 3408   4493   
    }
        4494  +
    /* ConstrainedMapGenerator.kt:83 */
 3409   4495   
}
        4496  +
/* ConstrainedMapGenerator.kt:106 */
 3410   4497   
impl
 3411   4498   
    ::std::convert::TryFrom<
 3412   4499   
        ::std::collections::HashMap<
 3413   4500   
            ::std::string::String,
 3414   4501   
            ::std::option::Option<::std::string::String>,
 3415   4502   
        >,
 3416   4503   
    > for SparseLengthMap
 3417   4504   
{
 3418   4505   
    type Error = crate::model::sparse_length_map_internal::ConstraintViolation;
 3419   4506   
 3420   4507   
    /// 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.
 3421   4508   
    fn try_from(
 3422   4509   
        value: ::std::collections::HashMap<
 3423   4510   
            ::std::string::String,
 3424   4511   
            ::std::option::Option<::std::string::String>,
 3425   4512   
        >,
 3426   4513   
    ) -> ::std::result::Result<Self, Self::Error> {
 3427   4514   
        let length = value.len();
 3428   4515   
        if 69 <= length {
 3429   4516   
            Ok(Self(value))
 3430   4517   
        } else {
 3431   4518   
            Err(crate::model::sparse_length_map_internal::ConstraintViolation::Length(length))
 3432   4519   
        }
 3433   4520   
    }
 3434   4521   
}
 3435   4522   
 3436   4523   
impl ::std::convert::From<SparseLengthMap>
 3437   4524   
    for ::std::collections::HashMap<
 3438   4525   
        ::std::string::String,
 3439   4526   
        ::std::option::Option<::std::string::String>,
 3440   4527   
    >
 3441   4528   
{
 3442   4529   
    fn from(value: SparseLengthMap) -> Self {
 3443   4530   
        value.into_inner()
 3444   4531   
    }
 3445   4532   
}
        4533  +
/* ConstrainedMapGenerator.kt:164 */
 3446   4534   
impl crate::constrained::Constrained for SparseLengthMap {
 3447   4535   
    type Unconstrained =
 3448   4536   
        crate::unconstrained::sparse_length_map_unconstrained::SparseLengthMapUnconstrained;
 3449   4537   
}
 3450   4538   
        4539  +
/* ConstrainedCollectionGenerator.kt:93 */
 3451   4540   
#[allow(missing_docs)] // documentation missing in model
 3452         -
///
        4541  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 3453   4542   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3454   4543   
/// [constraint traits]. Use [`UniqueItemsList::try_from`] to construct values of this type.
 3455   4544   
///
 3456   4545   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3457   4546   
///
        4547  +
/* RustType.kt:516 */
 3458   4548   
#[derive(
 3459   4549   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3460   4550   
)]
 3461         -
pub(crate) struct UniqueItemsList(pub(crate) ::std::vec::Vec<::std::string::String>);
        4551  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct UniqueItemsList(
        4552  +
    pub(crate) ::std::vec::Vec<::std::string::String>,
        4553  +
);
        4554  +
/* ConstrainedCollectionGenerator.kt:104 */
 3462   4555   
impl UniqueItemsList {
        4556  +
    /* ConstrainedCollectionGenerator.kt:116 */
 3463   4557   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<::std::string::String>`].
 3464   4558   
    pub fn into_inner(self) -> ::std::vec::Vec<::std::string::String> {
 3465   4559   
        self.0
 3466   4560   
    }
 3467   4561   
 3468   4562   
    fn check_unique_items(
 3469   4563   
        items: ::std::vec::Vec<::std::string::String>,
 3470   4564   
    ) -> ::std::result::Result<
 3471   4565   
        ::std::vec::Vec<::std::string::String>,
 3472   4566   
        crate::model::unique_items_list_internal::ConstraintViolation,
 3473   4567   
    > {
 3474   4568   
        let mut seen = ::std::collections::HashMap::new();
 3475   4569   
        let mut duplicate_indices = ::std::vec::Vec::new();
 3476   4570   
        for (idx, item) in items.iter().enumerate() {
 3477   4571   
            if let Some(prev_idx) = seen.insert(item, idx) {
 3478   4572   
                duplicate_indices.push(prev_idx);
 3479   4573   
            }
 3480   4574   
        }
 3481   4575   
 3482   4576   
        let mut last_duplicate_indices = ::std::vec::Vec::new();
 3483   4577   
        for idx in &duplicate_indices {
 3484   4578   
            if let Some(prev_idx) = seen.remove(&items[*idx]) {
 3485   4579   
                last_duplicate_indices.push(prev_idx);
 3486   4580   
            }
 3487   4581   
        }
 3488   4582   
        duplicate_indices.extend(last_duplicate_indices);
 3489   4583   
 3490   4584   
        if !duplicate_indices.is_empty() {
 3491   4585   
            debug_assert!(duplicate_indices.len() >= 2);
 3492   4586   
            Err(
 3493   4587   
                crate::model::unique_items_list_internal::ConstraintViolation::UniqueItems {
 3494   4588   
                    duplicate_indices,
 3495   4589   
                    original: items,
 3496   4590   
                },
 3497   4591   
            )
 3498   4592   
        } else {
 3499   4593   
            Ok(items)
 3500   4594   
        }
 3501   4595   
    }
        4596  +
    /* ConstrainedCollectionGenerator.kt:104 */
 3502   4597   
}
        4598  +
/* ConstrainedCollectionGenerator.kt:133 */
 3503   4599   
impl ::std::convert::TryFrom<::std::vec::Vec<::std::string::String>> for UniqueItemsList {
 3504   4600   
    type Error = crate::model::unique_items_list_internal::ConstraintViolation;
 3505   4601   
 3506   4602   
    /// Constructs a `UniqueItemsList` from an [`::std::vec::Vec<::std::string::String>`], failing when the provided value does not satisfy the modeled constraints.
 3507   4603   
    fn try_from(
 3508   4604   
        value: ::std::vec::Vec<::std::string::String>,
 3509   4605   
    ) -> ::std::result::Result<Self, Self::Error> {
 3510   4606   
        let value = Self::check_unique_items(value)?;
 3511   4607   
 3512   4608   
        Ok(Self(value))
 3513   4609   
    }
 3514   4610   
}
 3515   4611   
 3516   4612   
impl ::std::convert::From<UniqueItemsList> for ::std::vec::Vec<::std::string::String> {
 3517   4613   
    fn from(value: UniqueItemsList) -> Self {
 3518   4614   
        value.into_inner()
 3519   4615   
    }
 3520   4616   
}
        4617  +
/* ConstrainedCollectionGenerator.kt:181 */
 3521   4618   
impl crate::constrained::Constrained for UniqueItemsList {
 3522   4619   
    type Unconstrained =
 3523   4620   
        crate::unconstrained::unique_items_list_unconstrained::UniqueItemsListUnconstrained;
 3524   4621   
}
 3525   4622   
        4623  +
/* ConstrainedMapGenerator.kt:78 */
 3526   4624   
#[allow(missing_docs)] // documentation missing in model
 3527         -
///
        4625  +
/// /* ConstrainedMapGenerator.kt:79 */
 3528   4626   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3529   4627   
/// [constraint traits]. Use [`LengthMap::try_from`] to construct values of this type.
 3530   4628   
///
 3531   4629   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3532   4630   
///
        4631  +
/* RustType.kt:516 */
 3533   4632   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
 3534         -
pub(crate) struct LengthMap(
        4633  +
pub(crate) /* ConstrainedMapGenerator.kt:82 */ struct LengthMap(
 3535   4634   
    pub(crate) ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 3536   4635   
);
        4636  +
/* ConstrainedMapGenerator.kt:83 */
 3537   4637   
impl LengthMap {
        4638  +
    /* ConstrainedMapGenerator.kt:95 */
 3538   4639   
    /// Consumes the value, returning the underlying [`::std::collections::HashMap<::std::string::String, ::std::string::String>`].
 3539   4640   
    pub fn into_inner(
 3540   4641   
        self,
 3541   4642   
    ) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> {
 3542   4643   
        self.0
 3543   4644   
    }
        4645  +
    /* ConstrainedMapGenerator.kt:83 */
 3544   4646   
}
        4647  +
/* ConstrainedMapGenerator.kt:106 */
 3545   4648   
impl
 3546   4649   
    ::std::convert::TryFrom<
 3547   4650   
        ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 3548   4651   
    > for LengthMap
 3549   4652   
{
 3550   4653   
    type Error = crate::model::length_map_internal::ConstraintViolation;
 3551   4654   
 3552   4655   
    /// 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.
 3553   4656   
    fn try_from(
 3554   4657   
        value: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 3555   4658   
    ) -> ::std::result::Result<Self, Self::Error> {
 3556   4659   
        let length = value.len();
 3557   4660   
        if (1..=69).contains(&length) {
 3558   4661   
            Ok(Self(value))
 3559   4662   
        } else {
 3560   4663   
            Err(crate::model::length_map_internal::ConstraintViolation::Length(length))
 3561   4664   
        }
 3562   4665   
    }
 3563   4666   
}
 3564   4667   
 3565   4668   
impl ::std::convert::From<LengthMap>
 3566   4669   
    for ::std::collections::HashMap<::std::string::String, ::std::string::String>
 3567   4670   
{
 3568   4671   
    fn from(value: LengthMap) -> Self {
 3569   4672   
        value.into_inner()
 3570   4673   
    }
 3571   4674   
}
        4675  +
/* ConstrainedMapGenerator.kt:164 */
 3572   4676   
impl crate::constrained::Constrained for LengthMap {
 3573   4677   
    type Unconstrained = crate::unconstrained::length_map_unconstrained::LengthMapUnconstrained;
 3574   4678   
}
 3575   4679   
        4680  +
/* ConstrainedCollectionGenerator.kt:93 */
 3576   4681   
#[allow(missing_docs)] // documentation missing in model
 3577         -
///
        4682  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 3578   4683   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3579   4684   
/// [constraint traits]. Use [`SensitiveLengthList::try_from`] to construct values of this type.
 3580   4685   
///
 3581   4686   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3582   4687   
///
        4688  +
/* RustType.kt:516 */
 3583   4689   
#[derive(
 3584   4690   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3585   4691   
)]
 3586         -
pub(crate) struct SensitiveLengthList(pub(crate) ::std::vec::Vec<crate::model::SensitiveStructure>);
        4692  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct SensitiveLengthList(
        4693  +
    pub(crate) ::std::vec::Vec<crate::model::SensitiveStructure>,
        4694  +
);
        4695  +
/* ConstrainedCollectionGenerator.kt:104 */
 3587   4696   
impl SensitiveLengthList {
        4697  +
    /* ConstrainedCollectionGenerator.kt:116 */
 3588   4698   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::SensitiveStructure>`].
 3589   4699   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::SensitiveStructure> {
 3590   4700   
        self.0
 3591   4701   
    }
 3592   4702   
 3593   4703   
    fn check_length(
 3594   4704   
        length: usize,
 3595   4705   
    ) -> ::std::result::Result<(), crate::model::sensitive_length_list_internal::ConstraintViolation>
 3596   4706   
    {
 3597   4707   
        if length <= 69 {
 3598   4708   
            Ok(())
 3599   4709   
        } else {
 3600   4710   
            Err(crate::model::sensitive_length_list_internal::ConstraintViolation::Length(length))
 3601   4711   
        }
 3602   4712   
    }
        4713  +
    /* ConstrainedCollectionGenerator.kt:104 */
 3603   4714   
}
        4715  +
/* ConstrainedCollectionGenerator.kt:133 */
 3604   4716   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::SensitiveStructure>>
 3605   4717   
    for SensitiveLengthList
 3606   4718   
{
 3607   4719   
    type Error = crate::model::sensitive_length_list_internal::ConstraintViolation;
 3608   4720   
 3609   4721   
    /// Constructs a `SensitiveLengthList` from an [`::std::vec::Vec<crate::model::SensitiveStructure>`], failing when the provided value does not satisfy the modeled constraints.
 3610   4722   
    fn try_from(
 3611   4723   
        value: ::std::vec::Vec<crate::model::SensitiveStructure>,
 3612   4724   
    ) -> ::std::result::Result<Self, Self::Error> {
 3613   4725   
        Self::check_length(value.len())?;
 3614   4726   
 3615   4727   
        Ok(Self(value))
 3616   4728   
    }
 3617   4729   
}
 3618   4730   
 3619   4731   
impl ::std::convert::From<SensitiveLengthList>
 3620   4732   
    for ::std::vec::Vec<crate::model::SensitiveStructure>
 3621   4733   
{
 3622   4734   
    fn from(value: SensitiveLengthList) -> Self {
 3623   4735   
        value.into_inner()
 3624   4736   
    }
 3625   4737   
}
        4738  +
/* ConstrainedCollectionGenerator.kt:181 */
 3626   4739   
impl crate::constrained::Constrained for SensitiveLengthList {
 3627   4740   
    type Unconstrained =
 3628   4741   
        crate::unconstrained::sensitive_length_list_unconstrained::SensitiveLengthListUnconstrained;
 3629   4742   
}
 3630   4743   
        4744  +
/* RustType.kt:516 */
 3631   4745   
#[::pyo3::pyclass]
        4746  +
/* PythonServerStructureGenerator.kt:63 */
 3632   4747   
/// :rtype None:
        4748  +
/* StructureGenerator.kt:197 */
 3633   4749   
#[allow(missing_docs)] // documentation missing in model
        4750  +
/* RustType.kt:516 */
 3634   4751   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::hash::Hash)]
 3635         -
pub struct SensitiveStructure {}
        4752  +
pub /* StructureGenerator.kt:201 */ struct SensitiveStructure {/* StructureGenerator.kt:201 */}
        4753  +
/* StructureGenerator.kt:101 */
 3636   4754   
impl ::std::fmt::Debug for SensitiveStructure {
        4755  +
    /* StructureGenerator.kt:105 */
 3637   4756   
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        4757  +
        /* StructureGenerator.kt:106 */
 3638   4758   
        let mut formatter = f.debug_struct("SensitiveStructure");
        4759  +
        /* StructureGenerator.kt:126 */
 3639   4760   
        formatter.finish()
        4761  +
        /* StructureGenerator.kt:105 */
 3640   4762   
    }
        4763  +
    /* StructureGenerator.kt:101 */
 3641   4764   
}
        4765  +
/* RustType.kt:516 */
 3642   4766   
#[allow(clippy::new_without_default)]
        4767  +
/* RustType.kt:516 */
 3643   4768   
#[allow(clippy::too_many_arguments)]
        4769  +
/* RustType.kt:516 */
 3644   4770   
#[::pyo3::pymethods]
        4771  +
/* PythonServerStructureGenerator.kt:88 */
 3645   4772   
impl SensitiveStructure {
 3646   4773   
    #[new]
 3647   4774   
    pub fn new() -> Self {
 3648   4775   
        Self {}
 3649   4776   
    }
 3650   4777   
    fn __repr__(&self) -> String {
 3651   4778   
        format!("{self:?}")
 3652   4779   
    }
 3653   4780   
    fn __str__(&self) -> String {
 3654   4781   
        format!("{self:?}")
 3655   4782   
    }
 3656   4783   
}
        4784  +
/* PythonServerStructureGenerator.kt:111 */
 3657   4785   
impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<SensitiveStructure> {
 3658   4786   
    fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
 3659   4787   
        ob.extract::<SensitiveStructure>().map(Box::new)
 3660   4788   
    }
 3661   4789   
}
 3662   4790   
 3663   4791   
impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<SensitiveStructure> {
 3664   4792   
    fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
 3665   4793   
        (*self).into_py(py)
 3666   4794   
    }
 3667   4795   
}
        4796  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
 3668   4797   
impl crate::constrained::Constrained for crate::model::SensitiveStructure {
 3669   4798   
    type Unconstrained = crate::model::sensitive_structure_internal::Builder;
 3670   4799   
}
        4800  +
/* ServerCodegenVisitor.kt:370 */
 3671   4801   
impl SensitiveStructure {
 3672         -
    /// Creates a new builder-style object to manufacture [`SensitiveStructure`](crate::model::SensitiveStructure).
        4802  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`SensitiveStructure`](crate::model::SensitiveStructure).
        4803  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
 3673   4804   
    pub fn builder() -> crate::model::sensitive_structure::Builder {
        4805  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
 3674   4806   
        crate::model::sensitive_structure::Builder::default()
        4807  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
 3675   4808   
    }
        4809  +
    /* ServerCodegenVisitor.kt:370 */
 3676   4810   
}
 3677   4811   
        4812  +
/* ConstrainedCollectionGenerator.kt:93 */
 3678   4813   
#[allow(missing_docs)] // documentation missing in model
 3679         -
///
        4814  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 3680   4815   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3681   4816   
/// [constraint traits]. Use [`LengthList::try_from`] to construct values of this type.
 3682   4817   
///
 3683   4818   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3684   4819   
///
        4820  +
/* RustType.kt:516 */
 3685   4821   
#[derive(
 3686   4822   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3687   4823   
)]
 3688         -
pub(crate) struct LengthList(pub(crate) ::std::vec::Vec<::std::string::String>);
        4824  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct LengthList(
        4825  +
    pub(crate) ::std::vec::Vec<::std::string::String>,
        4826  +
);
        4827  +
/* ConstrainedCollectionGenerator.kt:104 */
 3689   4828   
impl LengthList {
        4829  +
    /* ConstrainedCollectionGenerator.kt:116 */
 3690   4830   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<::std::string::String>`].
 3691   4831   
    pub fn into_inner(self) -> ::std::vec::Vec<::std::string::String> {
 3692   4832   
        self.0
 3693   4833   
    }
 3694   4834   
 3695   4835   
    fn check_length(
 3696   4836   
        length: usize,
 3697   4837   
    ) -> ::std::result::Result<(), crate::model::length_list_internal::ConstraintViolation> {
 3698   4838   
        if length <= 69 {
 3699   4839   
            Ok(())
 3700   4840   
        } else {
 3701   4841   
            Err(crate::model::length_list_internal::ConstraintViolation::Length(length))
 3702   4842   
        }
 3703   4843   
    }
        4844  +
    /* ConstrainedCollectionGenerator.kt:104 */
 3704   4845   
}
        4846  +
/* ConstrainedCollectionGenerator.kt:133 */
 3705   4847   
impl ::std::convert::TryFrom<::std::vec::Vec<::std::string::String>> for LengthList {
 3706   4848   
    type Error = crate::model::length_list_internal::ConstraintViolation;
 3707   4849   
 3708   4850   
    /// Constructs a `LengthList` from an [`::std::vec::Vec<::std::string::String>`], failing when the provided value does not satisfy the modeled constraints.
 3709   4851   
    fn try_from(
 3710   4852   
        value: ::std::vec::Vec<::std::string::String>,
 3711   4853   
    ) -> ::std::result::Result<Self, Self::Error> {
 3712   4854   
        Self::check_length(value.len())?;
 3713   4855   
 3714   4856   
        Ok(Self(value))
 3715   4857   
    }
 3716   4858   
}
 3717   4859   
 3718   4860   
impl ::std::convert::From<LengthList> for ::std::vec::Vec<::std::string::String> {
 3719   4861   
    fn from(value: LengthList) -> Self {
 3720   4862   
        value.into_inner()
 3721   4863   
    }
 3722   4864   
}
        4865  +
/* ConstrainedCollectionGenerator.kt:181 */
 3723   4866   
impl crate::constrained::Constrained for LengthList {
 3724   4867   
    type Unconstrained = crate::unconstrained::length_list_unconstrained::LengthListUnconstrained;
 3725   4868   
}
 3726   4869   
        4870  +
/* ConstrainedNumberGenerator.kt:82 */
 3727   4871   
#[allow(missing_docs)] // documentation missing in model
 3728         -
///
        4872  +
/// /* ConstrainedNumberGenerator.kt:83 */
 3729   4873   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3730   4874   
/// [constraint traits]. Use [`FixedValueByte::try_from`] to construct values of this type.
 3731   4875   
///
 3732   4876   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3733   4877   
///
        4878  +
/* RustType.kt:516 */
 3734   4879   
#[derive(
 3735   4880   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3736   4881   
)]
 3737         -
pub(crate) struct FixedValueByte(pub(crate) i8);
        4882  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct FixedValueByte(pub(crate) i8);
        4883  +
/* RustType.kt:516 */
 3738   4884   
#[allow(dead_code)]
        4885  +
/* ConstrainedNumberGenerator.kt:91 */
 3739   4886   
impl FixedValueByte {
 3740   4887   
    /// Returns an immutable reference to the underlying [`i8`].
 3741   4888   
    pub fn inner(&self) -> &i8 {
 3742   4889   
        &self.0
 3743   4890   
    }
 3744   4891   
 3745   4892   
    /// Consumes the value, returning the underlying [`i8`].
 3746   4893   
    pub fn into_inner(self) -> i8 {
 3747   4894   
        self.0
 3748   4895   
    }
 3749   4896   
}
 3750   4897   
 3751   4898   
impl crate::constrained::Constrained for FixedValueByte {
 3752   4899   
    type Unconstrained = i8;
 3753   4900   
}
 3754   4901   
 3755   4902   
impl ::std::convert::From<i8>
 3756   4903   
    for crate::constrained::MaybeConstrained<crate::model::FixedValueByte>
 3757   4904   
{
 3758   4905   
    fn from(value: i8) -> Self {
 3759   4906   
        Self::Unconstrained(value)
 3760   4907   
    }
 3761   4908   
}
 3762   4909   
 3763   4910   
impl ::std::fmt::Display for FixedValueByte {
 3764   4911   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3765   4912   
        self.0.fmt(f)
 3766   4913   
    }
 3767   4914   
}
 3768   4915   
 3769   4916   
impl ::std::convert::From<FixedValueByte> for i8 {
 3770   4917   
    fn from(value: FixedValueByte) -> Self {
 3771   4918   
        value.into_inner()
 3772   4919   
    }
 3773   4920   
}
        4921  +
/* TraitInfo.kt:41 */
 3774   4922   
impl FixedValueByte {
 3775   4923   
    fn check_range(
 3776   4924   
        value: i8,
 3777   4925   
    ) -> ::std::result::Result<(), crate::model::fixed_value_byte_internal::ConstraintViolation>
 3778   4926   
    {
 3779   4927   
        if (10..=10).contains(&value) {
 3780   4928   
            Ok(())
 3781   4929   
        } else {
 3782   4930   
            Err(crate::model::fixed_value_byte_internal::ConstraintViolation::Range(value))
 3783   4931   
        }
 3784   4932   
    }
 3785   4933   
}
        4934  +
/* TraitInfo.kt:57 */
 3786   4935   
impl ::std::convert::TryFrom<i8> for FixedValueByte {
 3787   4936   
    type Error = crate::model::fixed_value_byte_internal::ConstraintViolation;
 3788   4937   
 3789   4938   
    /// Constructs a `FixedValueByte` from an [`i8`], failing when the provided value does not satisfy the modeled constraints.
 3790   4939   
    fn try_from(value: i8) -> ::std::result::Result<Self, Self::Error> {
 3791   4940   
        Self::check_range(value)?;
 3792   4941   
 3793   4942   
        Ok(Self(value))
 3794   4943   
    }
 3795   4944   
}
 3796   4945   
        4946  +
/* ConstrainedNumberGenerator.kt:82 */
 3797   4947   
#[allow(missing_docs)] // documentation missing in model
 3798         -
///
        4948  +
/// /* ConstrainedNumberGenerator.kt:83 */
 3799   4949   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3800   4950   
/// [constraint traits]. Use [`MaxRangeByte::try_from`] to construct values of this type.
 3801   4951   
///
 3802   4952   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3803   4953   
///
        4954  +
/* RustType.kt:516 */
 3804   4955   
#[derive(
 3805   4956   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3806   4957   
)]
 3807         -
pub(crate) struct MaxRangeByte(pub(crate) i8);
        4958  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct MaxRangeByte(pub(crate) i8);
        4959  +
/* RustType.kt:516 */
 3808   4960   
#[allow(dead_code)]
        4961  +
/* ConstrainedNumberGenerator.kt:91 */
 3809   4962   
impl MaxRangeByte {
 3810   4963   
    /// Returns an immutable reference to the underlying [`i8`].
 3811   4964   
    pub fn inner(&self) -> &i8 {
 3812   4965   
        &self.0
 3813   4966   
    }
 3814   4967   
 3815   4968   
    /// Consumes the value, returning the underlying [`i8`].
 3816   4969   
    pub fn into_inner(self) -> i8 {
 3817   4970   
        self.0
 3818   4971   
    }
 3819   4972   
}
 3820   4973   
 3821   4974   
impl crate::constrained::Constrained for MaxRangeByte {
 3822   4975   
    type Unconstrained = i8;
 3823   4976   
}
 3824   4977   
 3825   4978   
impl ::std::convert::From<i8> for crate::constrained::MaybeConstrained<crate::model::MaxRangeByte> {
 3826   4979   
    fn from(value: i8) -> Self {
 3827   4980   
        Self::Unconstrained(value)
 3828   4981   
    }
 3829   4982   
}
 3830   4983   
 3831   4984   
impl ::std::fmt::Display for MaxRangeByte {
 3832   4985   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3833   4986   
        self.0.fmt(f)
 3834   4987   
    }
 3835   4988   
}
 3836   4989   
 3837   4990   
impl ::std::convert::From<MaxRangeByte> for i8 {
 3838   4991   
    fn from(value: MaxRangeByte) -> Self {
 3839   4992   
        value.into_inner()
 3840   4993   
    }
 3841   4994   
}
        4995  +
/* TraitInfo.kt:41 */
 3842   4996   
impl MaxRangeByte {
 3843   4997   
    fn check_range(
 3844   4998   
        value: i8,
 3845   4999   
    ) -> ::std::result::Result<(), crate::model::max_range_byte_internal::ConstraintViolation> {
 3846   5000   
        if value <= 11 {
 3847   5001   
            Ok(())
 3848   5002   
        } else {
 3849   5003   
            Err(crate::model::max_range_byte_internal::ConstraintViolation::Range(value))
 3850   5004   
        }
 3851   5005   
    }
 3852   5006   
}
        5007  +
/* TraitInfo.kt:57 */
 3853   5008   
impl ::std::convert::TryFrom<i8> for MaxRangeByte {
 3854   5009   
    type Error = crate::model::max_range_byte_internal::ConstraintViolation;
 3855   5010   
 3856   5011   
    /// Constructs a `MaxRangeByte` from an [`i8`], failing when the provided value does not satisfy the modeled constraints.
 3857   5012   
    fn try_from(value: i8) -> ::std::result::Result<Self, Self::Error> {
 3858   5013   
        Self::check_range(value)?;
 3859   5014   
 3860   5015   
        Ok(Self(value))
 3861   5016   
    }
 3862   5017   
}
 3863   5018   
        5019  +
/* ConstrainedNumberGenerator.kt:82 */
 3864   5020   
#[allow(missing_docs)] // documentation missing in model
 3865         -
///
        5021  +
/// /* ConstrainedNumberGenerator.kt:83 */
 3866   5022   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3867   5023   
/// [constraint traits]. Use [`MinRangeByte::try_from`] to construct values of this type.
 3868   5024   
///
 3869   5025   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3870   5026   
///
        5027  +
/* RustType.kt:516 */
 3871   5028   
#[derive(
 3872   5029   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3873   5030   
)]
 3874         -
pub(crate) struct MinRangeByte(pub(crate) i8);
        5031  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct MinRangeByte(pub(crate) i8);
        5032  +
/* RustType.kt:516 */
 3875   5033   
#[allow(dead_code)]
        5034  +
/* ConstrainedNumberGenerator.kt:91 */
 3876   5035   
impl MinRangeByte {
 3877   5036   
    /// Returns an immutable reference to the underlying [`i8`].
 3878   5037   
    pub fn inner(&self) -> &i8 {
 3879   5038   
        &self.0
 3880   5039   
    }
 3881   5040   
 3882   5041   
    /// Consumes the value, returning the underlying [`i8`].
 3883   5042   
    pub fn into_inner(self) -> i8 {
 3884   5043   
        self.0
 3885   5044   
    }
 3886   5045   
}
 3887   5046   
 3888   5047   
impl crate::constrained::Constrained for MinRangeByte {
 3889   5048   
    type Unconstrained = i8;
 3890   5049   
}
 3891   5050   
 3892   5051   
impl ::std::convert::From<i8> for crate::constrained::MaybeConstrained<crate::model::MinRangeByte> {
 3893   5052   
    fn from(value: i8) -> Self {
 3894   5053   
        Self::Unconstrained(value)
 3895   5054   
    }
 3896   5055   
}
 3897   5056   
 3898   5057   
impl ::std::fmt::Display for MinRangeByte {
 3899   5058   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3900   5059   
        self.0.fmt(f)
 3901   5060   
    }
 3902   5061   
}
 3903   5062   
 3904   5063   
impl ::std::convert::From<MinRangeByte> for i8 {
 3905   5064   
    fn from(value: MinRangeByte) -> Self {
 3906   5065   
        value.into_inner()
 3907   5066   
    }
 3908   5067   
}
        5068  +
/* TraitInfo.kt:41 */
 3909   5069   
impl MinRangeByte {
 3910   5070   
    fn check_range(
 3911   5071   
        value: i8,
 3912   5072   
    ) -> ::std::result::Result<(), crate::model::min_range_byte_internal::ConstraintViolation> {
 3913   5073   
        if -10 <= value {
 3914   5074   
            Ok(())
 3915   5075   
        } else {
 3916   5076   
            Err(crate::model::min_range_byte_internal::ConstraintViolation::Range(value))
 3917   5077   
        }
 3918   5078   
    }
 3919   5079   
}
        5080  +
/* TraitInfo.kt:57 */
 3920   5081   
impl ::std::convert::TryFrom<i8> for MinRangeByte {
 3921   5082   
    type Error = crate::model::min_range_byte_internal::ConstraintViolation;
 3922   5083   
 3923   5084   
    /// Constructs a `MinRangeByte` from an [`i8`], failing when the provided value does not satisfy the modeled constraints.
 3924   5085   
    fn try_from(value: i8) -> ::std::result::Result<Self, Self::Error> {
 3925   5086   
        Self::check_range(value)?;
 3926   5087   
 3927   5088   
        Ok(Self(value))
 3928   5089   
    }
 3929   5090   
}
 3930   5091   
        5092  +
/* ConstrainedNumberGenerator.kt:82 */
 3931   5093   
#[allow(missing_docs)] // documentation missing in model
 3932         -
///
        5094  +
/// /* ConstrainedNumberGenerator.kt:83 */
 3933   5095   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3934   5096   
/// [constraint traits]. Use [`FixedValueLong::try_from`] to construct values of this type.
 3935   5097   
///
 3936   5098   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3937   5099   
///
        5100  +
/* RustType.kt:516 */
 3938   5101   
#[derive(
 3939   5102   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 3940   5103   
)]
 3941         -
pub(crate) struct FixedValueLong(pub(crate) i64);
        5104  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct FixedValueLong(pub(crate) i64);
        5105  +
/* RustType.kt:516 */
 3942   5106   
#[allow(dead_code)]
        5107  +
/* ConstrainedNumberGenerator.kt:91 */
 3943   5108   
impl FixedValueLong {
 3944   5109   
    /// Returns an immutable reference to the underlying [`i64`].
 3945   5110   
    pub fn inner(&self) -> &i64 {
 3946   5111   
        &self.0
 3947   5112   
    }
 3948   5113   
 3949   5114   
    /// Consumes the value, returning the underlying [`i64`].
 3950   5115   
    pub fn into_inner(self) -> i64 {
 3951   5116   
        self.0
 3952   5117   
    }
 3953   5118   
}
 3954   5119   
 3955   5120   
impl crate::constrained::Constrained for FixedValueLong {
 3956   5121   
    type Unconstrained = i64;
 3957   5122   
}
 3958   5123   
 3959   5124   
impl ::std::convert::From<i64>
 3960   5125   
    for crate::constrained::MaybeConstrained<crate::model::FixedValueLong>
 3961   5126   
{
 3962   5127   
    fn from(value: i64) -> Self {
 3963   5128   
        Self::Unconstrained(value)
 3964   5129   
    }
 3965   5130   
}
 3966   5131   
 3967   5132   
impl ::std::fmt::Display for FixedValueLong {
 3968   5133   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3969   5134   
        self.0.fmt(f)
 3970   5135   
    }
 3971   5136   
}
 3972   5137   
 3973   5138   
impl ::std::convert::From<FixedValueLong> for i64 {
 3974   5139   
    fn from(value: FixedValueLong) -> Self {
 3975   5140   
        value.into_inner()
 3976   5141   
    }
 3977   5142   
}
        5143  +
/* TraitInfo.kt:41 */
 3978   5144   
impl FixedValueLong {
 3979   5145   
    fn check_range(
 3980   5146   
        value: i64,
 3981   5147   
    ) -> ::std::result::Result<(), crate::model::fixed_value_long_internal::ConstraintViolation>
 3982   5148   
    {
 3983   5149   
        if (10..=10).contains(&value) {
 3984   5150   
            Ok(())
 3985   5151   
        } else {
 3986   5152   
            Err(crate::model::fixed_value_long_internal::ConstraintViolation::Range(value))
 3987   5153   
        }
 3988   5154   
    }
 3989   5155   
}
        5156  +
/* TraitInfo.kt:57 */
 3990   5157   
impl ::std::convert::TryFrom<i64> for FixedValueLong {
 3991   5158   
    type Error = crate::model::fixed_value_long_internal::ConstraintViolation;
 3992   5159   
 3993   5160   
    /// Constructs a `FixedValueLong` from an [`i64`], failing when the provided value does not satisfy the modeled constraints.
 3994   5161   
    fn try_from(value: i64) -> ::std::result::Result<Self, Self::Error> {
 3995   5162   
        Self::check_range(value)?;
 3996   5163   
 3997   5164   
        Ok(Self(value))
 3998   5165   
    }
 3999   5166   
}
 4000   5167   
        5168  +
/* ConstrainedNumberGenerator.kt:82 */
 4001   5169   
#[allow(missing_docs)] // documentation missing in model
 4002         -
///
        5170  +
/// /* ConstrainedNumberGenerator.kt:83 */
 4003   5171   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4004   5172   
/// [constraint traits]. Use [`MaxRangeLong::try_from`] to construct values of this type.
 4005   5173   
///
 4006   5174   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4007   5175   
///
        5176  +
/* RustType.kt:516 */
 4008   5177   
#[derive(
 4009   5178   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4010   5179   
)]
 4011         -
pub(crate) struct MaxRangeLong(pub(crate) i64);
        5180  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct MaxRangeLong(pub(crate) i64);
        5181  +
/* RustType.kt:516 */
 4012   5182   
#[allow(dead_code)]
        5183  +
/* ConstrainedNumberGenerator.kt:91 */
 4013   5184   
impl MaxRangeLong {
 4014   5185   
    /// Returns an immutable reference to the underlying [`i64`].
 4015   5186   
    pub fn inner(&self) -> &i64 {
 4016   5187   
        &self.0
 4017   5188   
    }
 4018   5189   
 4019   5190   
    /// Consumes the value, returning the underlying [`i64`].
 4020   5191   
    pub fn into_inner(self) -> i64 {
 4021   5192   
        self.0
 4022   5193   
    }
 4023   5194   
}
 4024   5195   
 4025   5196   
impl crate::constrained::Constrained for MaxRangeLong {
 4026   5197   
    type Unconstrained = i64;
 4027   5198   
}
 4028   5199   
 4029   5200   
impl ::std::convert::From<i64>
 4030   5201   
    for crate::constrained::MaybeConstrained<crate::model::MaxRangeLong>
 4031   5202   
{
 4032   5203   
    fn from(value: i64) -> Self {
 4033   5204   
        Self::Unconstrained(value)
 4034   5205   
    }
 4035   5206   
}
 4036   5207   
 4037   5208   
impl ::std::fmt::Display for MaxRangeLong {
 4038   5209   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4039   5210   
        self.0.fmt(f)
 4040   5211   
    }
 4041   5212   
}
 4042   5213   
 4043   5214   
impl ::std::convert::From<MaxRangeLong> for i64 {
 4044   5215   
    fn from(value: MaxRangeLong) -> Self {
 4045   5216   
        value.into_inner()
 4046   5217   
    }
 4047   5218   
}
        5219  +
/* TraitInfo.kt:41 */
 4048   5220   
impl MaxRangeLong {
 4049   5221   
    fn check_range(
 4050   5222   
        value: i64,
 4051   5223   
    ) -> ::std::result::Result<(), crate::model::max_range_long_internal::ConstraintViolation> {
 4052   5224   
        if value <= 11 {
 4053   5225   
            Ok(())
 4054   5226   
        } else {
 4055   5227   
            Err(crate::model::max_range_long_internal::ConstraintViolation::Range(value))
 4056   5228   
        }
 4057   5229   
    }
 4058   5230   
}
        5231  +
/* TraitInfo.kt:57 */
 4059   5232   
impl ::std::convert::TryFrom<i64> for MaxRangeLong {
 4060   5233   
    type Error = crate::model::max_range_long_internal::ConstraintViolation;
 4061   5234   
 4062   5235   
    /// Constructs a `MaxRangeLong` from an [`i64`], failing when the provided value does not satisfy the modeled constraints.
 4063   5236   
    fn try_from(value: i64) -> ::std::result::Result<Self, Self::Error> {
 4064   5237   
        Self::check_range(value)?;
 4065   5238   
 4066   5239   
        Ok(Self(value))
 4067   5240   
    }
 4068   5241   
}
 4069   5242   
        5243  +
/* ConstrainedNumberGenerator.kt:82 */
 4070   5244   
#[allow(missing_docs)] // documentation missing in model
 4071         -
///
        5245  +
/// /* ConstrainedNumberGenerator.kt:83 */
 4072   5246   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4073   5247   
/// [constraint traits]. Use [`MinRangeLong::try_from`] to construct values of this type.
 4074   5248   
///
 4075   5249   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4076   5250   
///
        5251  +
/* RustType.kt:516 */
 4077   5252   
#[derive(
 4078   5253   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4079   5254   
)]
 4080         -
pub(crate) struct MinRangeLong(pub(crate) i64);
        5255  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct MinRangeLong(pub(crate) i64);
        5256  +
/* RustType.kt:516 */
 4081   5257   
#[allow(dead_code)]
        5258  +
/* ConstrainedNumberGenerator.kt:91 */
 4082   5259   
impl MinRangeLong {
 4083   5260   
    /// Returns an immutable reference to the underlying [`i64`].
 4084   5261   
    pub fn inner(&self) -> &i64 {
 4085   5262   
        &self.0
 4086   5263   
    }
 4087   5264   
 4088   5265   
    /// Consumes the value, returning the underlying [`i64`].
 4089   5266   
    pub fn into_inner(self) -> i64 {
 4090   5267   
        self.0
 4091   5268   
    }
 4092   5269   
}
 4093   5270   
 4094   5271   
impl crate::constrained::Constrained for MinRangeLong {
 4095   5272   
    type Unconstrained = i64;
 4096   5273   
}
 4097   5274   
 4098   5275   
impl ::std::convert::From<i64>
 4099   5276   
    for crate::constrained::MaybeConstrained<crate::model::MinRangeLong>
 4100   5277   
{
 4101   5278   
    fn from(value: i64) -> Self {
 4102   5279   
        Self::Unconstrained(value)
 4103   5280   
    }
 4104   5281   
}
 4105   5282   
 4106   5283   
impl ::std::fmt::Display for MinRangeLong {
 4107   5284   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4108   5285   
        self.0.fmt(f)
 4109   5286   
    }
 4110   5287   
}
 4111   5288   
 4112   5289   
impl ::std::convert::From<MinRangeLong> for i64 {
 4113   5290   
    fn from(value: MinRangeLong) -> Self {
 4114   5291   
        value.into_inner()
 4115   5292   
    }
 4116   5293   
}
        5294  +
/* TraitInfo.kt:41 */
 4117   5295   
impl MinRangeLong {
 4118   5296   
    fn check_range(
 4119   5297   
        value: i64,
 4120   5298   
    ) -> ::std::result::Result<(), crate::model::min_range_long_internal::ConstraintViolation> {
 4121   5299   
        if -10 <= value {
 4122   5300   
            Ok(())
 4123   5301   
        } else {
 4124   5302   
            Err(crate::model::min_range_long_internal::ConstraintViolation::Range(value))
 4125   5303   
        }
 4126   5304   
    }
 4127   5305   
}
        5306  +
/* TraitInfo.kt:57 */
 4128   5307   
impl ::std::convert::TryFrom<i64> for MinRangeLong {
 4129   5308   
    type Error = crate::model::min_range_long_internal::ConstraintViolation;
 4130   5309   
 4131   5310   
    /// Constructs a `MinRangeLong` from an [`i64`], failing when the provided value does not satisfy the modeled constraints.
 4132   5311   
    fn try_from(value: i64) -> ::std::result::Result<Self, Self::Error> {
 4133   5312   
        Self::check_range(value)?;
 4134   5313   
 4135   5314   
        Ok(Self(value))
 4136   5315   
    }
 4137   5316   
}
 4138   5317   
        5318  +
/* ConstrainedNumberGenerator.kt:82 */
 4139   5319   
#[allow(missing_docs)] // documentation missing in model
 4140         -
///
        5320  +
/// /* ConstrainedNumberGenerator.kt:83 */
 4141   5321   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4142   5322   
/// [constraint traits]. Use [`FixedValueShort::try_from`] to construct values of this type.
 4143   5323   
///
 4144   5324   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4145   5325   
///
        5326  +
/* RustType.kt:516 */
 4146   5327   
#[derive(
 4147   5328   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4148   5329   
)]
 4149         -
pub(crate) struct FixedValueShort(pub(crate) i16);
        5330  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct FixedValueShort(pub(crate) i16);
        5331  +
/* RustType.kt:516 */
 4150   5332   
#[allow(dead_code)]
        5333  +
/* ConstrainedNumberGenerator.kt:91 */
 4151   5334   
impl FixedValueShort {
 4152   5335   
    /// Returns an immutable reference to the underlying [`i16`].
 4153   5336   
    pub fn inner(&self) -> &i16 {
 4154   5337   
        &self.0
 4155   5338   
    }
 4156   5339   
 4157   5340   
    /// Consumes the value, returning the underlying [`i16`].
 4158   5341   
    pub fn into_inner(self) -> i16 {
 4159   5342   
        self.0
 4160   5343   
    }
 4161   5344   
}
 4162   5345   
 4163   5346   
impl crate::constrained::Constrained for FixedValueShort {
 4164   5347   
    type Unconstrained = i16;
 4165   5348   
}
 4166   5349   
 4167   5350   
impl ::std::convert::From<i16>
 4168   5351   
    for crate::constrained::MaybeConstrained<crate::model::FixedValueShort>
 4169   5352   
{
 4170   5353   
    fn from(value: i16) -> Self {
 4171   5354   
        Self::Unconstrained(value)
 4172   5355   
    }
 4173   5356   
}
 4174   5357   
 4175   5358   
impl ::std::fmt::Display for FixedValueShort {
 4176   5359   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4177   5360   
        self.0.fmt(f)
 4178   5361   
    }
 4179   5362   
}
 4180   5363   
 4181   5364   
impl ::std::convert::From<FixedValueShort> for i16 {
 4182   5365   
    fn from(value: FixedValueShort) -> Self {
 4183   5366   
        value.into_inner()
 4184   5367   
    }
 4185   5368   
}
        5369  +
/* TraitInfo.kt:41 */
 4186   5370   
impl FixedValueShort {
 4187   5371   
    fn check_range(
 4188   5372   
        value: i16,
 4189   5373   
    ) -> ::std::result::Result<(), crate::model::fixed_value_short_internal::ConstraintViolation>
 4190   5374   
    {
 4191   5375   
        if (10..=10).contains(&value) {
 4192   5376   
            Ok(())
 4193   5377   
        } else {
 4194   5378   
            Err(crate::model::fixed_value_short_internal::ConstraintViolation::Range(value))
 4195   5379   
        }
 4196   5380   
    }
 4197   5381   
}
        5382  +
/* TraitInfo.kt:57 */
 4198   5383   
impl ::std::convert::TryFrom<i16> for FixedValueShort {
 4199   5384   
    type Error = crate::model::fixed_value_short_internal::ConstraintViolation;
 4200   5385   
 4201   5386   
    /// Constructs a `FixedValueShort` from an [`i16`], failing when the provided value does not satisfy the modeled constraints.
 4202   5387   
    fn try_from(value: i16) -> ::std::result::Result<Self, Self::Error> {
 4203   5388   
        Self::check_range(value)?;
 4204   5389   
 4205   5390   
        Ok(Self(value))
 4206   5391   
    }
 4207   5392   
}
 4208   5393   
        5394  +
/* ConstrainedNumberGenerator.kt:82 */
 4209   5395   
#[allow(missing_docs)] // documentation missing in model
 4210         -
///
        5396  +
/// /* ConstrainedNumberGenerator.kt:83 */
 4211   5397   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4212   5398   
/// [constraint traits]. Use [`MaxRangeShort::try_from`] to construct values of this type.
 4213   5399   
///
 4214   5400   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4215   5401   
///
        5402  +
/* RustType.kt:516 */
 4216   5403   
#[derive(
 4217   5404   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4218   5405   
)]
 4219         -
pub(crate) struct MaxRangeShort(pub(crate) i16);
        5406  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct MaxRangeShort(pub(crate) i16);
        5407  +
/* RustType.kt:516 */
 4220   5408   
#[allow(dead_code)]
        5409  +
/* ConstrainedNumberGenerator.kt:91 */
 4221   5410   
impl MaxRangeShort {
 4222   5411   
    /// Returns an immutable reference to the underlying [`i16`].
 4223   5412   
    pub fn inner(&self) -> &i16 {
 4224   5413   
        &self.0
 4225   5414   
    }
 4226   5415   
 4227   5416   
    /// Consumes the value, returning the underlying [`i16`].
 4228   5417   
    pub fn into_inner(self) -> i16 {
 4229   5418   
        self.0
 4230   5419   
    }
 4231   5420   
}
 4232   5421   
 4233   5422   
impl crate::constrained::Constrained for MaxRangeShort {
 4234   5423   
    type Unconstrained = i16;
 4235   5424   
}
 4236   5425   
 4237   5426   
impl ::std::convert::From<i16>
 4238   5427   
    for crate::constrained::MaybeConstrained<crate::model::MaxRangeShort>
 4239   5428   
{
 4240   5429   
    fn from(value: i16) -> Self {
 4241   5430   
        Self::Unconstrained(value)
 4242   5431   
    }
 4243   5432   
}
 4244   5433   
 4245   5434   
impl ::std::fmt::Display for MaxRangeShort {
 4246   5435   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4247   5436   
        self.0.fmt(f)
 4248   5437   
    }
 4249   5438   
}
 4250   5439   
 4251   5440   
impl ::std::convert::From<MaxRangeShort> for i16 {
 4252   5441   
    fn from(value: MaxRangeShort) -> Self {
 4253   5442   
        value.into_inner()
 4254   5443   
    }
 4255   5444   
}
        5445  +
/* TraitInfo.kt:41 */
 4256   5446   
impl MaxRangeShort {
 4257   5447   
    fn check_range(
 4258   5448   
        value: i16,
 4259   5449   
    ) -> ::std::result::Result<(), crate::model::max_range_short_internal::ConstraintViolation>
 4260   5450   
    {
 4261   5451   
        if value <= 11 {
 4262   5452   
            Ok(())
 4263   5453   
        } else {
 4264   5454   
            Err(crate::model::max_range_short_internal::ConstraintViolation::Range(value))
 4265   5455   
        }
 4266   5456   
    }
 4267   5457   
}
        5458  +
/* TraitInfo.kt:57 */
 4268   5459   
impl ::std::convert::TryFrom<i16> for MaxRangeShort {
 4269   5460   
    type Error = crate::model::max_range_short_internal::ConstraintViolation;
 4270   5461   
 4271   5462   
    /// Constructs a `MaxRangeShort` from an [`i16`], failing when the provided value does not satisfy the modeled constraints.
 4272   5463   
    fn try_from(value: i16) -> ::std::result::Result<Self, Self::Error> {
 4273   5464   
        Self::check_range(value)?;
 4274   5465   
 4275   5466   
        Ok(Self(value))
 4276   5467   
    }
 4277   5468   
}
 4278   5469   
        5470  +
/* ConstrainedNumberGenerator.kt:82 */
 4279   5471   
#[allow(missing_docs)] // documentation missing in model
 4280         -
///
        5472  +
/// /* ConstrainedNumberGenerator.kt:83 */
 4281   5473   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4282   5474   
/// [constraint traits]. Use [`MinRangeShort::try_from`] to construct values of this type.
 4283   5475   
///
 4284   5476   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4285   5477   
///
        5478  +
/* RustType.kt:516 */
 4286   5479   
#[derive(
 4287   5480   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4288   5481   
)]
 4289         -
pub(crate) struct MinRangeShort(pub(crate) i16);
        5482  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct MinRangeShort(pub(crate) i16);
        5483  +
/* RustType.kt:516 */
 4290   5484   
#[allow(dead_code)]
        5485  +
/* ConstrainedNumberGenerator.kt:91 */
 4291   5486   
impl MinRangeShort {
 4292   5487   
    /// Returns an immutable reference to the underlying [`i16`].
 4293   5488   
    pub fn inner(&self) -> &i16 {
 4294   5489   
        &self.0
 4295   5490   
    }
 4296   5491   
 4297   5492   
    /// Consumes the value, returning the underlying [`i16`].
 4298   5493   
    pub fn into_inner(self) -> i16 {
 4299   5494   
        self.0
 4300   5495   
    }
 4301   5496   
}
 4302   5497   
 4303   5498   
impl crate::constrained::Constrained for MinRangeShort {
 4304   5499   
    type Unconstrained = i16;
 4305   5500   
}
 4306   5501   
 4307   5502   
impl ::std::convert::From<i16>
 4308   5503   
    for crate::constrained::MaybeConstrained<crate::model::MinRangeShort>
 4309   5504   
{
 4310   5505   
    fn from(value: i16) -> Self {
 4311   5506   
        Self::Unconstrained(value)
 4312   5507   
    }
 4313   5508   
}
 4314   5509   
 4315   5510   
impl ::std::fmt::Display for MinRangeShort {
 4316   5511   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4317   5512   
        self.0.fmt(f)
 4318   5513   
    }
 4319   5514   
}
 4320   5515   
 4321   5516   
impl ::std::convert::From<MinRangeShort> for i16 {
 4322   5517   
    fn from(value: MinRangeShort) -> Self {
 4323   5518   
        value.into_inner()
 4324   5519   
    }
 4325   5520   
}
        5521  +
/* TraitInfo.kt:41 */
 4326   5522   
impl MinRangeShort {
 4327   5523   
    fn check_range(
 4328   5524   
        value: i16,
 4329   5525   
    ) -> ::std::result::Result<(), crate::model::min_range_short_internal::ConstraintViolation>
 4330   5526   
    {
 4331   5527   
        if -10 <= value {
 4332   5528   
            Ok(())
 4333   5529   
        } else {
 4334   5530   
            Err(crate::model::min_range_short_internal::ConstraintViolation::Range(value))
 4335   5531   
        }
 4336   5532   
    }
 4337   5533   
}
        5534  +
/* TraitInfo.kt:57 */
 4338   5535   
impl ::std::convert::TryFrom<i16> for MinRangeShort {
 4339   5536   
    type Error = crate::model::min_range_short_internal::ConstraintViolation;
 4340   5537   
 4341   5538   
    /// Constructs a `MinRangeShort` from an [`i16`], failing when the provided value does not satisfy the modeled constraints.
 4342   5539   
    fn try_from(value: i16) -> ::std::result::Result<Self, Self::Error> {
 4343   5540   
        Self::check_range(value)?;
 4344   5541   
 4345   5542   
        Ok(Self(value))
 4346   5543   
    }
 4347   5544   
}
 4348   5545   
        5546  +
/* ConstrainedNumberGenerator.kt:82 */
 4349   5547   
#[allow(missing_docs)] // documentation missing in model
 4350         -
///
        5548  +
/// /* ConstrainedNumberGenerator.kt:83 */
 4351   5549   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4352   5550   
/// [constraint traits]. Use [`FixedValueInteger::try_from`] to construct values of this type.
 4353   5551   
///
 4354   5552   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4355   5553   
///
        5554  +
/* RustType.kt:516 */
 4356   5555   
#[derive(
 4357   5556   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4358   5557   
)]
 4359         -
pub(crate) struct FixedValueInteger(pub(crate) i32);
        5558  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct FixedValueInteger(pub(crate) i32);
        5559  +
/* RustType.kt:516 */
 4360   5560   
#[allow(dead_code)]
        5561  +
/* ConstrainedNumberGenerator.kt:91 */
 4361   5562   
impl FixedValueInteger {
 4362   5563   
    /// Returns an immutable reference to the underlying [`i32`].
 4363   5564   
    pub fn inner(&self) -> &i32 {
 4364   5565   
        &self.0
 4365   5566   
    }
 4366   5567   
 4367   5568   
    /// Consumes the value, returning the underlying [`i32`].
 4368   5569   
    pub fn into_inner(self) -> i32 {
 4369   5570   
        self.0
 4370   5571   
    }
 4371   5572   
}
 4372   5573   
 4373   5574   
impl crate::constrained::Constrained for FixedValueInteger {
 4374   5575   
    type Unconstrained = i32;
 4375   5576   
}
 4376   5577   
 4377   5578   
impl ::std::convert::From<i32>
 4378   5579   
    for crate::constrained::MaybeConstrained<crate::model::FixedValueInteger>
 4379   5580   
{
 4380   5581   
    fn from(value: i32) -> Self {
 4381   5582   
        Self::Unconstrained(value)
 4382   5583   
    }
 4383   5584   
}
 4384   5585   
 4385   5586   
impl ::std::fmt::Display for FixedValueInteger {
 4386   5587   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4387   5588   
        self.0.fmt(f)
 4388   5589   
    }
 4389   5590   
}
 4390   5591   
 4391   5592   
impl ::std::convert::From<FixedValueInteger> for i32 {
 4392   5593   
    fn from(value: FixedValueInteger) -> Self {
 4393   5594   
        value.into_inner()
 4394   5595   
    }
 4395   5596   
}
        5597  +
/* TraitInfo.kt:41 */
 4396   5598   
impl FixedValueInteger {
 4397   5599   
    fn check_range(
 4398   5600   
        value: i32,
 4399   5601   
    ) -> ::std::result::Result<(), crate::model::fixed_value_integer_internal::ConstraintViolation>
 4400   5602   
    {
 4401   5603   
        if (69..=69).contains(&value) {
 4402   5604   
            Ok(())
 4403   5605   
        } else {
 4404   5606   
            Err(crate::model::fixed_value_integer_internal::ConstraintViolation::Range(value))
 4405   5607   
        }
 4406   5608   
    }
 4407   5609   
}
        5610  +
/* TraitInfo.kt:57 */
 4408   5611   
impl ::std::convert::TryFrom<i32> for FixedValueInteger {
 4409   5612   
    type Error = crate::model::fixed_value_integer_internal::ConstraintViolation;
 4410   5613   
 4411   5614   
    /// Constructs a `FixedValueInteger` from an [`i32`], failing when the provided value does not satisfy the modeled constraints.
 4412   5615   
    fn try_from(value: i32) -> ::std::result::Result<Self, Self::Error> {
 4413   5616   
        Self::check_range(value)?;
 4414   5617   
 4415   5618   
        Ok(Self(value))
 4416   5619   
    }
 4417   5620   
}
 4418   5621   
        5622  +
/* ConstrainedNumberGenerator.kt:82 */
 4419   5623   
#[allow(missing_docs)] // documentation missing in model
 4420         -
///
        5624  +
/// /* ConstrainedNumberGenerator.kt:83 */
 4421   5625   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4422   5626   
/// [constraint traits]. Use [`MaxRangeInteger::try_from`] to construct values of this type.
 4423   5627   
///
 4424   5628   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4425   5629   
///
        5630  +
/* RustType.kt:516 */
 4426   5631   
#[derive(
 4427   5632   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4428   5633   
)]
 4429         -
pub(crate) struct MaxRangeInteger(pub(crate) i32);
        5634  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct MaxRangeInteger(pub(crate) i32);
        5635  +
/* RustType.kt:516 */
 4430   5636   
#[allow(dead_code)]
        5637  +
/* ConstrainedNumberGenerator.kt:91 */
 4431   5638   
impl MaxRangeInteger {
 4432   5639   
    /// Returns an immutable reference to the underlying [`i32`].
 4433   5640   
    pub fn inner(&self) -> &i32 {
 4434   5641   
        &self.0
 4435   5642   
    }
 4436   5643   
 4437   5644   
    /// Consumes the value, returning the underlying [`i32`].
 4438   5645   
    pub fn into_inner(self) -> i32 {
 4439   5646   
        self.0
 4440   5647   
    }
 4441   5648   
}
 4442   5649   
 4443   5650   
impl crate::constrained::Constrained for MaxRangeInteger {
 4444   5651   
    type Unconstrained = i32;
 4445   5652   
}
 4446   5653   
 4447   5654   
impl ::std::convert::From<i32>
 4448   5655   
    for crate::constrained::MaybeConstrained<crate::model::MaxRangeInteger>
 4449   5656   
{
 4450   5657   
    fn from(value: i32) -> Self {
 4451   5658   
        Self::Unconstrained(value)
 4452   5659   
    }
 4453   5660   
}
 4454   5661   
 4455   5662   
impl ::std::fmt::Display for MaxRangeInteger {
 4456   5663   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4457   5664   
        self.0.fmt(f)
 4458   5665   
    }
 4459   5666   
}
 4460   5667   
 4461   5668   
impl ::std::convert::From<MaxRangeInteger> for i32 {
 4462   5669   
    fn from(value: MaxRangeInteger) -> Self {
 4463   5670   
        value.into_inner()
 4464   5671   
    }
 4465   5672   
}
        5673  +
/* TraitInfo.kt:41 */
 4466   5674   
impl MaxRangeInteger {
 4467   5675   
    fn check_range(
 4468   5676   
        value: i32,
 4469   5677   
    ) -> ::std::result::Result<(), crate::model::max_range_integer_internal::ConstraintViolation>
 4470   5678   
    {
 4471   5679   
        if value <= 69 {
 4472   5680   
            Ok(())
 4473   5681   
        } else {
 4474   5682   
            Err(crate::model::max_range_integer_internal::ConstraintViolation::Range(value))
 4475   5683   
        }
 4476   5684   
    }
 4477   5685   
}
        5686  +
/* TraitInfo.kt:57 */
 4478   5687   
impl ::std::convert::TryFrom<i32> for MaxRangeInteger {
 4479   5688   
    type Error = crate::model::max_range_integer_internal::ConstraintViolation;
 4480   5689   
 4481   5690   
    /// Constructs a `MaxRangeInteger` from an [`i32`], failing when the provided value does not satisfy the modeled constraints.
 4482   5691   
    fn try_from(value: i32) -> ::std::result::Result<Self, Self::Error> {
 4483   5692   
        Self::check_range(value)?;
 4484   5693   
 4485   5694   
        Ok(Self(value))
 4486   5695   
    }
 4487   5696   
}
 4488   5697   
        5698  +
/* ConstrainedNumberGenerator.kt:82 */
 4489   5699   
#[allow(missing_docs)] // documentation missing in model
 4490         -
///
        5700  +
/// /* ConstrainedNumberGenerator.kt:83 */
 4491   5701   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4492   5702   
/// [constraint traits]. Use [`MinRangeInteger::try_from`] to construct values of this type.
 4493   5703   
///
 4494   5704   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4495   5705   
///
        5706  +
/* RustType.kt:516 */
 4496   5707   
#[derive(
 4497   5708   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4498   5709   
)]
 4499         -
pub(crate) struct MinRangeInteger(pub(crate) i32);
        5710  +
pub(crate) /* ConstrainedNumberGenerator.kt:86 */ struct MinRangeInteger(pub(crate) i32);
        5711  +
/* RustType.kt:516 */
 4500   5712   
#[allow(dead_code)]
        5713  +
/* ConstrainedNumberGenerator.kt:91 */
 4501   5714   
impl MinRangeInteger {
 4502   5715   
    /// Returns an immutable reference to the underlying [`i32`].
 4503   5716   
    pub fn inner(&self) -> &i32 {
 4504   5717   
        &self.0
 4505   5718   
    }
 4506   5719   
 4507   5720   
    /// Consumes the value, returning the underlying [`i32`].
 4508   5721   
    pub fn into_inner(self) -> i32 {
 4509   5722   
        self.0
 4510   5723   
    }
 4511   5724   
}
 4512   5725   
 4513   5726   
impl crate::constrained::Constrained for MinRangeInteger {
 4514   5727   
    type Unconstrained = i32;
 4515   5728   
}
 4516   5729   
 4517   5730   
impl ::std::convert::From<i32>
 4518   5731   
    for crate::constrained::MaybeConstrained<crate::model::MinRangeInteger>
 4519   5732   
{
 4520   5733   
    fn from(value: i32) -> Self {
 4521   5734   
        Self::Unconstrained(value)
 4522   5735   
    }
 4523   5736   
}
 4524   5737   
 4525   5738   
impl ::std::fmt::Display for MinRangeInteger {
 4526   5739   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4527   5740   
        self.0.fmt(f)
 4528   5741   
    }
 4529   5742   
}
 4530   5743   
 4531   5744   
impl ::std::convert::From<MinRangeInteger> for i32 {
 4532   5745   
    fn from(value: MinRangeInteger) -> Self {
 4533   5746   
        value.into_inner()
 4534   5747   
    }
 4535   5748   
}
        5749  +
/* TraitInfo.kt:41 */
 4536   5750   
impl MinRangeInteger {
 4537   5751   
    fn check_range(
 4538   5752   
        value: i32,
 4539   5753   
    ) -> ::std::result::Result<(), crate::model::min_range_integer_internal::ConstraintViolation>
 4540   5754   
    {
 4541   5755   
        if -10 <= value {
 4542   5756   
            Ok(())
 4543   5757   
        } else {
 4544   5758   
            Err(crate::model::min_range_integer_internal::ConstraintViolation::Range(value))
 4545   5759   
        }
 4546   5760   
    }
 4547   5761   
}
        5762  +
/* TraitInfo.kt:57 */
 4548   5763   
impl ::std::convert::TryFrom<i32> for MinRangeInteger {
 4549   5764   
    type Error = crate::model::min_range_integer_internal::ConstraintViolation;
 4550   5765   
 4551   5766   
    /// Constructs a `MinRangeInteger` from an [`i32`], failing when the provided value does not satisfy the modeled constraints.
 4552   5767   
    fn try_from(value: i32) -> ::std::result::Result<Self, Self::Error> {
 4553   5768   
        Self::check_range(value)?;
 4554   5769   
 4555   5770   
        Ok(Self(value))
 4556   5771   
    }
 4557   5772   
}
 4558   5773   
        5774  +
/* ConstrainedBlobGenerator.kt:66 */
 4559   5775   
#[allow(missing_docs)] // documentation missing in model
 4560         -
///
        5776  +
/// /* ConstrainedBlobGenerator.kt:67 */
 4561   5777   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4562   5778   
/// [constraint traits]. Use [`FixedLengthBlob::try_from`] to construct values of this type.
 4563   5779   
///
 4564   5780   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4565   5781   
///
        5782  +
/* RustType.kt:516 */
 4566   5783   
#[derive(
 4567   5784   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4568   5785   
)]
 4569         -
pub(crate) struct FixedLengthBlob(pub(crate) ::aws_smithy_types::Blob);
        5786  +
pub(crate) /* ConstrainedBlobGenerator.kt:70 */ struct FixedLengthBlob(
        5787  +
    pub(crate) ::aws_smithy_types::Blob,
        5788  +
);
        5789  +
/* ConstrainedBlobGenerator.kt:71 */
 4570   5790   
impl FixedLengthBlob {
        5791  +
    /* ConstrainedBlobGenerator.kt:82 */
 4571   5792   
    /// Consumes the value, returning the underlying [`::aws_smithy_types::Blob`].
 4572   5793   
    pub fn into_inner(self) -> ::aws_smithy_types::Blob {
 4573   5794   
        self.0
 4574   5795   
    }
        5796  +
    /* ConstrainedBlobGenerator.kt:71 */
 4575   5797   
}
        5798  +
/* TraitInfo.kt:41 */
 4576   5799   
impl FixedLengthBlob {
 4577   5800   
    fn check_length(
 4578   5801   
        blob: &::aws_smithy_types::Blob,
 4579   5802   
    ) -> ::std::result::Result<(), crate::model::fixed_length_blob_internal::ConstraintViolation>
 4580   5803   
    {
 4581   5804   
        let length = blob.as_ref().len();
 4582   5805   
 4583   5806   
        if (70..=70).contains(&length) {
 4584   5807   
            Ok(())
 4585   5808   
        } else {
 4586   5809   
            Err(crate::model::fixed_length_blob_internal::ConstraintViolation::Length(length))
 4587   5810   
        }
 4588   5811   
    }
 4589   5812   
}
        5813  +
/* TraitInfo.kt:57 */
 4590   5814   
impl ::std::convert::TryFrom<::aws_smithy_types::Blob> for FixedLengthBlob {
 4591   5815   
    type Error = crate::model::fixed_length_blob_internal::ConstraintViolation;
 4592   5816   
 4593   5817   
    /// Constructs a `FixedLengthBlob` from an [`::aws_smithy_types::Blob`], failing when the provided value does not satisfy the modeled constraints.
 4594   5818   
    fn try_from(value: ::aws_smithy_types::Blob) -> ::std::result::Result<Self, Self::Error> {
 4595   5819   
        Self::check_length(&value)?;
 4596   5820   
 4597   5821   
        Ok(Self(value))
 4598   5822   
    }
 4599   5823   
}
        5824  +
/* ConstrainedBlobGenerator.kt:94 */
 4600   5825   
impl crate::constrained::Constrained for FixedLengthBlob {
 4601   5826   
    type Unconstrained = ::aws_smithy_types::Blob;
 4602   5827   
}
 4603   5828   
 4604   5829   
impl ::std::convert::From<::aws_smithy_types::Blob>
 4605   5830   
    for crate::constrained::MaybeConstrained<crate::model::FixedLengthBlob>
 4606   5831   
{
 4607   5832   
    fn from(value: ::aws_smithy_types::Blob) -> Self {
 4608   5833   
        Self::Unconstrained(value)
 4609   5834   
    }
 4610   5835   
}
 4611   5836   
 4612   5837   
impl ::std::convert::From<FixedLengthBlob> for ::aws_smithy_types::Blob {
 4613   5838   
    fn from(value: FixedLengthBlob) -> Self {
 4614   5839   
        value.into_inner()
 4615   5840   
    }
 4616   5841   
}
 4617   5842   
        5843  +
/* ConstrainedPythonBlobGenerator.kt:67 */
 4618   5844   
impl ::std::convert::From<::aws_smithy_http_server_python::types::Blob>
 4619   5845   
    for crate::constrained::MaybeConstrained<crate::model::FixedLengthBlob>
 4620   5846   
{
 4621   5847   
    fn from(value: ::aws_smithy_http_server_python::types::Blob) -> Self {
 4622   5848   
        Self::Unconstrained(value.into())
 4623   5849   
    }
 4624   5850   
}
 4625   5851   
 4626   5852   
impl ::std::convert::From<FixedLengthBlob> for ::aws_smithy_http_server_python::types::Blob {
 4627   5853   
    fn from(value: FixedLengthBlob) -> Self {
 4628   5854   
        value.into_inner().into()
 4629   5855   
    }
 4630   5856   
}
        5857  +
/* ConstrainedPythonBlobGenerator.kt:92 */
 4631   5858   
impl ::std::convert::TryFrom<::aws_smithy_http_server_python::types::Blob> for FixedLengthBlob {
 4632   5859   
    type Error = crate::model::fixed_length_blob_internal::ConstraintViolation;
 4633   5860   
 4634   5861   
    fn try_from(
 4635   5862   
        value: ::aws_smithy_http_server_python::types::Blob,
 4636   5863   
    ) -> ::std::result::Result<Self, Self::Error> {
 4637   5864   
        value.try_into()
 4638   5865   
    }
 4639   5866   
}
 4640   5867   
        5868  +
/* ConstrainedBlobGenerator.kt:66 */
 4641   5869   
#[allow(missing_docs)] // documentation missing in model
 4642         -
///
        5870  +
/// /* ConstrainedBlobGenerator.kt:67 */
 4643   5871   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4644   5872   
/// [constraint traits]. Use [`MaxLengthBlob::try_from`] to construct values of this type.
 4645   5873   
///
 4646   5874   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4647   5875   
///
        5876  +
/* RustType.kt:516 */
 4648   5877   
#[derive(
 4649   5878   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4650   5879   
)]
 4651         -
pub(crate) struct MaxLengthBlob(pub(crate) ::aws_smithy_types::Blob);
        5880  +
pub(crate) /* ConstrainedBlobGenerator.kt:70 */ struct MaxLengthBlob(
        5881  +
    pub(crate) ::aws_smithy_types::Blob,
        5882  +
);
        5883  +
/* ConstrainedBlobGenerator.kt:71 */
 4652   5884   
impl MaxLengthBlob {
        5885  +
    /* ConstrainedBlobGenerator.kt:82 */
 4653   5886   
    /// Consumes the value, returning the underlying [`::aws_smithy_types::Blob`].
 4654   5887   
    pub fn into_inner(self) -> ::aws_smithy_types::Blob {
 4655   5888   
        self.0
 4656   5889   
    }
        5890  +
    /* ConstrainedBlobGenerator.kt:71 */
 4657   5891   
}
        5892  +
/* TraitInfo.kt:41 */
 4658   5893   
impl MaxLengthBlob {
 4659   5894   
    fn check_length(
 4660   5895   
        blob: &::aws_smithy_types::Blob,
 4661   5896   
    ) -> ::std::result::Result<(), crate::model::max_length_blob_internal::ConstraintViolation>
 4662   5897   
    {
 4663   5898   
        let length = blob.as_ref().len();
 4664   5899   
 4665   5900   
        if length <= 70 {
 4666   5901   
            Ok(())
 4667   5902   
        } else {
 4668   5903   
            Err(crate::model::max_length_blob_internal::ConstraintViolation::Length(length))
 4669   5904   
        }
 4670   5905   
    }
 4671   5906   
}
        5907  +
/* TraitInfo.kt:57 */
 4672   5908   
impl ::std::convert::TryFrom<::aws_smithy_types::Blob> for MaxLengthBlob {
 4673   5909   
    type Error = crate::model::max_length_blob_internal::ConstraintViolation;
 4674   5910   
 4675   5911   
    /// Constructs a `MaxLengthBlob` from an [`::aws_smithy_types::Blob`], failing when the provided value does not satisfy the modeled constraints.
 4676   5912   
    fn try_from(value: ::aws_smithy_types::Blob) -> ::std::result::Result<Self, Self::Error> {
 4677   5913   
        Self::check_length(&value)?;
 4678   5914   
 4679   5915   
        Ok(Self(value))
 4680   5916   
    }
 4681   5917   
}
        5918  +
/* ConstrainedBlobGenerator.kt:94 */
 4682   5919   
impl crate::constrained::Constrained for MaxLengthBlob {
 4683   5920   
    type Unconstrained = ::aws_smithy_types::Blob;
 4684   5921   
}
 4685   5922   
 4686   5923   
impl ::std::convert::From<::aws_smithy_types::Blob>
 4687   5924   
    for crate::constrained::MaybeConstrained<crate::model::MaxLengthBlob>
 4688   5925   
{
 4689   5926   
    fn from(value: ::aws_smithy_types::Blob) -> Self {
 4690   5927   
        Self::Unconstrained(value)
 4691   5928   
    }
 4692   5929   
}
 4693   5930   
 4694   5931   
impl ::std::convert::From<MaxLengthBlob> for ::aws_smithy_types::Blob {
 4695   5932   
    fn from(value: MaxLengthBlob) -> Self {
 4696   5933   
        value.into_inner()
 4697   5934   
    }
 4698   5935   
}
 4699   5936   
        5937  +
/* ConstrainedPythonBlobGenerator.kt:67 */
 4700   5938   
impl ::std::convert::From<::aws_smithy_http_server_python::types::Blob>
 4701   5939   
    for crate::constrained::MaybeConstrained<crate::model::MaxLengthBlob>
 4702   5940   
{
 4703   5941   
    fn from(value: ::aws_smithy_http_server_python::types::Blob) -> Self {
 4704   5942   
        Self::Unconstrained(value.into())
 4705   5943   
    }
 4706   5944   
}
 4707   5945   
 4708   5946   
impl ::std::convert::From<MaxLengthBlob> for ::aws_smithy_http_server_python::types::Blob {
 4709   5947   
    fn from(value: MaxLengthBlob) -> Self {
 4710   5948   
        value.into_inner().into()
 4711   5949   
    }
 4712   5950   
}
        5951  +
/* ConstrainedPythonBlobGenerator.kt:92 */
 4713   5952   
impl ::std::convert::TryFrom<::aws_smithy_http_server_python::types::Blob> for MaxLengthBlob {
 4714   5953   
    type Error = crate::model::max_length_blob_internal::ConstraintViolation;
 4715   5954   
 4716   5955   
    fn try_from(
 4717   5956   
        value: ::aws_smithy_http_server_python::types::Blob,
 4718   5957   
    ) -> ::std::result::Result<Self, Self::Error> {
 4719   5958   
        value.try_into()
 4720   5959   
    }
 4721   5960   
}
 4722   5961   
        5962  +
/* ConstrainedBlobGenerator.kt:66 */
 4723   5963   
#[allow(missing_docs)] // documentation missing in model
 4724         -
///
        5964  +
/// /* ConstrainedBlobGenerator.kt:67 */
 4725   5965   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4726   5966   
/// [constraint traits]. Use [`MinLengthBlob::try_from`] to construct values of this type.
 4727   5967   
///
 4728   5968   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4729   5969   
///
        5970  +
/* RustType.kt:516 */
 4730   5971   
#[derive(
 4731   5972   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4732   5973   
)]
 4733         -
pub(crate) struct MinLengthBlob(pub(crate) ::aws_smithy_types::Blob);
        5974  +
pub(crate) /* ConstrainedBlobGenerator.kt:70 */ struct MinLengthBlob(
        5975  +
    pub(crate) ::aws_smithy_types::Blob,
        5976  +
);
        5977  +
/* ConstrainedBlobGenerator.kt:71 */
 4734   5978   
impl MinLengthBlob {
        5979  +
    /* ConstrainedBlobGenerator.kt:82 */
 4735   5980   
    /// Consumes the value, returning the underlying [`::aws_smithy_types::Blob`].
 4736   5981   
    pub fn into_inner(self) -> ::aws_smithy_types::Blob {
 4737   5982   
        self.0
 4738   5983   
    }
        5984  +
    /* ConstrainedBlobGenerator.kt:71 */
 4739   5985   
}
        5986  +
/* TraitInfo.kt:41 */
 4740   5987   
impl MinLengthBlob {
 4741   5988   
    fn check_length(
 4742   5989   
        blob: &::aws_smithy_types::Blob,
 4743   5990   
    ) -> ::std::result::Result<(), crate::model::min_length_blob_internal::ConstraintViolation>
 4744   5991   
    {
 4745   5992   
        let length = blob.as_ref().len();
 4746   5993   
 4747   5994   
        if 2 <= length {
 4748   5995   
            Ok(())
 4749   5996   
        } else {
 4750   5997   
            Err(crate::model::min_length_blob_internal::ConstraintViolation::Length(length))
 4751   5998   
        }
 4752   5999   
    }
 4753   6000   
}
        6001  +
/* TraitInfo.kt:57 */
 4754   6002   
impl ::std::convert::TryFrom<::aws_smithy_types::Blob> for MinLengthBlob {
 4755   6003   
    type Error = crate::model::min_length_blob_internal::ConstraintViolation;
 4756   6004   
 4757   6005   
    /// Constructs a `MinLengthBlob` from an [`::aws_smithy_types::Blob`], failing when the provided value does not satisfy the modeled constraints.
 4758   6006   
    fn try_from(value: ::aws_smithy_types::Blob) -> ::std::result::Result<Self, Self::Error> {
 4759   6007   
        Self::check_length(&value)?;
 4760   6008   
 4761   6009   
        Ok(Self(value))
 4762   6010   
    }
 4763   6011   
}
        6012  +
/* ConstrainedBlobGenerator.kt:94 */
 4764   6013   
impl crate::constrained::Constrained for MinLengthBlob {
 4765   6014   
    type Unconstrained = ::aws_smithy_types::Blob;
 4766   6015   
}
 4767   6016   
 4768   6017   
impl ::std::convert::From<::aws_smithy_types::Blob>
 4769   6018   
    for crate::constrained::MaybeConstrained<crate::model::MinLengthBlob>
 4770   6019   
{
 4771   6020   
    fn from(value: ::aws_smithy_types::Blob) -> Self {
 4772   6021   
        Self::Unconstrained(value)
 4773   6022   
    }
 4774   6023   
}
 4775   6024   
 4776   6025   
impl ::std::convert::From<MinLengthBlob> for ::aws_smithy_types::Blob {
 4777   6026   
    fn from(value: MinLengthBlob) -> Self {
 4778   6027   
        value.into_inner()
 4779   6028   
    }
 4780   6029   
}
 4781   6030   
        6031  +
/* ConstrainedPythonBlobGenerator.kt:67 */
 4782   6032   
impl ::std::convert::From<::aws_smithy_http_server_python::types::Blob>
 4783   6033   
    for crate::constrained::MaybeConstrained<crate::model::MinLengthBlob>
 4784   6034   
{
 4785   6035   
    fn from(value: ::aws_smithy_http_server_python::types::Blob) -> Self {
 4786   6036   
        Self::Unconstrained(value.into())
 4787   6037   
    }
 4788   6038   
}
 4789   6039   
 4790   6040   
impl ::std::convert::From<MinLengthBlob> for ::aws_smithy_http_server_python::types::Blob {
 4791   6041   
    fn from(value: MinLengthBlob) -> Self {
 4792   6042   
        value.into_inner().into()
 4793   6043   
    }
 4794   6044   
}
        6045  +
/* ConstrainedPythonBlobGenerator.kt:92 */
 4795   6046   
impl ::std::convert::TryFrom<::aws_smithy_http_server_python::types::Blob> for MinLengthBlob {
 4796   6047   
    type Error = crate::model::min_length_blob_internal::ConstraintViolation;
 4797   6048   
 4798   6049   
    fn try_from(
 4799   6050   
        value: ::aws_smithy_http_server_python::types::Blob,
 4800   6051   
    ) -> ::std::result::Result<Self, Self::Error> {
 4801   6052   
        value.try_into()
 4802   6053   
    }
 4803   6054   
}
 4804   6055   
        6056  +
/* ConstrainedStringGenerator.kt:82 */
 4805   6057   
#[allow(missing_docs)] // documentation missing in model
 4806         -
///
        6058  +
/// /* ConstrainedStringGenerator.kt:83 */
 4807   6059   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4808   6060   
/// [constraint traits]. Use [`FixedLengthString::try_from`] to construct values of this type.
 4809   6061   
///
 4810   6062   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4811   6063   
///
        6064  +
/* RustType.kt:516 */
 4812   6065   
#[derive(
 4813   6066   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4814   6067   
)]
 4815         -
pub(crate) struct FixedLengthString(pub(crate) ::std::string::String);
        6068  +
pub(crate) /* ConstrainedStringGenerator.kt:86 */ struct FixedLengthString(
        6069  +
    pub(crate) ::std::string::String,
        6070  +
);
        6071  +
/* RustType.kt:516 */
 4816   6072   
#[allow(dead_code)]
        6073  +
/* ConstrainedStringGenerator.kt:90 */
 4817   6074   
impl FixedLengthString {
 4818   6075   
    /// Extracts a string slice containing the entire underlying `String`.
 4819   6076   
    pub fn as_str(&self) -> &str {
 4820   6077   
        &self.0
 4821   6078   
    }
 4822   6079   
 4823   6080   
    /// Returns an immutable reference to the underlying [`::std::string::String`].
 4824   6081   
    pub fn inner(&self) -> &::std::string::String {
 4825   6082   
        &self.0
 4826   6083   
    }
 4827   6084   
 4828   6085   
    /// Consumes the value, returning the underlying [`::std::string::String`].
 4829   6086   
    pub fn into_inner(self) -> ::std::string::String {
 4830   6087   
        self.0
 4831   6088   
    }
 4832   6089   
}
        6090  +
/* TraitInfo.kt:41 */
 4833   6091   
impl FixedLengthString {
 4834   6092   
    fn check_length(
 4835   6093   
        string: &str,
 4836   6094   
    ) -> ::std::result::Result<(), crate::model::fixed_length_string_internal::ConstraintViolation>
 4837   6095   
    {
 4838   6096   
        let length = string.chars().count();
 4839   6097   
 4840   6098   
        if (69..=69).contains(&length) {
 4841   6099   
            Ok(())
 4842   6100   
        } else {
 4843   6101   
            Err(crate::model::fixed_length_string_internal::ConstraintViolation::Length(length))
 4844   6102   
        }
 4845   6103   
    }
 4846   6104   
}
        6105  +
/* TraitInfo.kt:57 */
 4847   6106   
impl ::std::convert::TryFrom<::std::string::String> for FixedLengthString {
 4848   6107   
    type Error = crate::model::fixed_length_string_internal::ConstraintViolation;
 4849   6108   
 4850   6109   
    /// Constructs a `FixedLengthString` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
 4851   6110   
    fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
 4852   6111   
        Self::check_length(&value)?;
 4853   6112   
 4854   6113   
        Ok(Self(value))
 4855   6114   
    }
 4856   6115   
}
        6116  +
/* ConstrainedStringGenerator.kt:112 */
 4857   6117   
impl crate::constrained::Constrained for FixedLengthString {
 4858   6118   
    type Unconstrained = ::std::string::String;
 4859   6119   
}
 4860   6120   
 4861   6121   
impl ::std::convert::From<::std::string::String>
 4862   6122   
    for crate::constrained::MaybeConstrained<crate::model::FixedLengthString>
 4863   6123   
{
 4864   6124   
    fn from(value: ::std::string::String) -> Self {
 4865   6125   
        Self::Unconstrained(value)
 4866   6126   
    }
 4867   6127   
}
 4868   6128   
 4869   6129   
impl ::std::fmt::Display for FixedLengthString {
 4870   6130   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4871   6131   
        self.0.fmt(f)
 4872   6132   
    }
 4873   6133   
}
 4874   6134   
 4875   6135   
impl ::std::convert::From<FixedLengthString> for ::std::string::String {
 4876   6136   
    fn from(value: FixedLengthString) -> Self {
 4877   6137   
        value.into_inner()
 4878   6138   
    }
 4879   6139   
}
 4880   6140   
        6141  +
/* ConstrainedStringGenerator.kt:82 */
 4881   6142   
#[allow(missing_docs)] // documentation missing in model
 4882         -
///
        6143  +
/// /* ConstrainedStringGenerator.kt:83 */
 4883   6144   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4884   6145   
/// [constraint traits]. Use [`MaxLengthString::try_from`] to construct values of this type.
 4885   6146   
///
 4886   6147   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4887   6148   
///
        6149  +
/* RustType.kt:516 */
 4888   6150   
#[derive(
 4889   6151   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4890   6152   
)]
 4891         -
pub(crate) struct MaxLengthString(pub(crate) ::std::string::String);
        6153  +
pub(crate) /* ConstrainedStringGenerator.kt:86 */ struct MaxLengthString(
        6154  +
    pub(crate) ::std::string::String,
        6155  +
);
        6156  +
/* RustType.kt:516 */
 4892   6157   
#[allow(dead_code)]
        6158  +
/* ConstrainedStringGenerator.kt:90 */
 4893   6159   
impl MaxLengthString {
 4894   6160   
    /// Extracts a string slice containing the entire underlying `String`.
 4895   6161   
    pub fn as_str(&self) -> &str {
 4896   6162   
        &self.0
 4897   6163   
    }
 4898   6164   
 4899   6165   
    /// Returns an immutable reference to the underlying [`::std::string::String`].
 4900   6166   
    pub fn inner(&self) -> &::std::string::String {
 4901   6167   
        &self.0
 4902   6168   
    }
 4903   6169   
 4904   6170   
    /// Consumes the value, returning the underlying [`::std::string::String`].
 4905   6171   
    pub fn into_inner(self) -> ::std::string::String {
 4906   6172   
        self.0
 4907   6173   
    }
 4908   6174   
}
        6175  +
/* TraitInfo.kt:41 */
 4909   6176   
impl MaxLengthString {
 4910   6177   
    fn check_length(
 4911   6178   
        string: &str,
 4912   6179   
    ) -> ::std::result::Result<(), crate::model::max_length_string_internal::ConstraintViolation>
 4913   6180   
    {
 4914   6181   
        let length = string.chars().count();
 4915   6182   
 4916   6183   
        if length <= 69 {
 4917   6184   
            Ok(())
 4918   6185   
        } else {
 4919   6186   
            Err(crate::model::max_length_string_internal::ConstraintViolation::Length(length))
 4920   6187   
        }
 4921   6188   
    }
 4922   6189   
}
        6190  +
/* TraitInfo.kt:57 */
 4923   6191   
impl ::std::convert::TryFrom<::std::string::String> for MaxLengthString {
 4924   6192   
    type Error = crate::model::max_length_string_internal::ConstraintViolation;
 4925   6193   
 4926   6194   
    /// Constructs a `MaxLengthString` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
 4927   6195   
    fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
 4928   6196   
        Self::check_length(&value)?;
 4929   6197   
 4930   6198   
        Ok(Self(value))
 4931   6199   
    }
 4932   6200   
}
        6201  +
/* ConstrainedStringGenerator.kt:112 */
 4933   6202   
impl crate::constrained::Constrained for MaxLengthString {
 4934   6203   
    type Unconstrained = ::std::string::String;
 4935   6204   
}
 4936   6205   
 4937   6206   
impl ::std::convert::From<::std::string::String>
 4938   6207   
    for crate::constrained::MaybeConstrained<crate::model::MaxLengthString>
 4939   6208   
{
 4940   6209   
    fn from(value: ::std::string::String) -> Self {
 4941   6210   
        Self::Unconstrained(value)
 4942   6211   
    }
 4943   6212   
}
 4944   6213   
 4945   6214   
impl ::std::fmt::Display for MaxLengthString {
 4946   6215   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4947   6216   
        self.0.fmt(f)
 4948   6217   
    }
 4949   6218   
}
 4950   6219   
 4951   6220   
impl ::std::convert::From<MaxLengthString> for ::std::string::String {
 4952   6221   
    fn from(value: MaxLengthString) -> Self {
 4953   6222   
        value.into_inner()
 4954   6223   
    }
 4955   6224   
}
 4956   6225   
        6226  +
/* ConstrainedStringGenerator.kt:82 */
 4957   6227   
#[allow(missing_docs)] // documentation missing in model
 4958         -
///
        6228  +
/// /* ConstrainedStringGenerator.kt:83 */
 4959   6229   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4960   6230   
/// [constraint traits]. Use [`MinLengthString::try_from`] to construct values of this type.
 4961   6231   
///
 4962   6232   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4963   6233   
///
        6234  +
/* RustType.kt:516 */
 4964   6235   
#[derive(
 4965   6236   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4966   6237   
)]
 4967         -
pub(crate) struct MinLengthString(pub(crate) ::std::string::String);
        6238  +
pub(crate) /* ConstrainedStringGenerator.kt:86 */ struct MinLengthString(
        6239  +
    pub(crate) ::std::string::String,
        6240  +
);
        6241  +
/* RustType.kt:516 */
 4968   6242   
#[allow(dead_code)]
        6243  +
/* ConstrainedStringGenerator.kt:90 */
 4969   6244   
impl MinLengthString {
 4970   6245   
    /// Extracts a string slice containing the entire underlying `String`.
 4971   6246   
    pub fn as_str(&self) -> &str {
 4972   6247   
        &self.0
 4973   6248   
    }
 4974   6249   
 4975   6250   
    /// Returns an immutable reference to the underlying [`::std::string::String`].
 4976   6251   
    pub fn inner(&self) -> &::std::string::String {
 4977   6252   
        &self.0
 4978   6253   
    }
 4979   6254   
 4980   6255   
    /// Consumes the value, returning the underlying [`::std::string::String`].
 4981   6256   
    pub fn into_inner(self) -> ::std::string::String {
 4982   6257   
        self.0
 4983   6258   
    }
 4984   6259   
}
        6260  +
/* TraitInfo.kt:41 */
 4985   6261   
impl MinLengthString {
 4986   6262   
    fn check_length(
 4987   6263   
        string: &str,
 4988   6264   
    ) -> ::std::result::Result<(), crate::model::min_length_string_internal::ConstraintViolation>
 4989   6265   
    {
 4990   6266   
        let length = string.chars().count();
 4991   6267   
 4992   6268   
        if 2 <= length {
 4993   6269   
            Ok(())
 4994   6270   
        } else {
 4995   6271   
            Err(crate::model::min_length_string_internal::ConstraintViolation::Length(length))
 4996   6272   
        }
 4997   6273   
    }
 4998   6274   
}
        6275  +
/* TraitInfo.kt:57 */
 4999   6276   
impl ::std::convert::TryFrom<::std::string::String> for MinLengthString {
 5000   6277   
    type Error = crate::model::min_length_string_internal::ConstraintViolation;
 5001   6278   
 5002   6279   
    /// Constructs a `MinLengthString` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
 5003   6280   
    fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
 5004   6281   
        Self::check_length(&value)?;
 5005   6282   
 5006   6283   
        Ok(Self(value))
 5007   6284   
    }
 5008   6285   
}
        6286  +
/* ConstrainedStringGenerator.kt:112 */
 5009   6287   
impl crate::constrained::Constrained for MinLengthString {
 5010   6288   
    type Unconstrained = ::std::string::String;
 5011   6289   
}
 5012   6290   
 5013   6291   
impl ::std::convert::From<::std::string::String>
 5014   6292   
    for crate::constrained::MaybeConstrained<crate::model::MinLengthString>
 5015   6293   
{
 5016   6294   
    fn from(value: ::std::string::String) -> Self {
 5017   6295   
        Self::Unconstrained(value)
 5018   6296   
    }
 5019   6297   
}
 5020   6298   
 5021   6299   
impl ::std::fmt::Display for MinLengthString {
 5022   6300   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5023   6301   
        self.0.fmt(f)
 5024   6302   
    }
 5025   6303   
}
 5026   6304   
 5027   6305   
impl ::std::convert::From<MinLengthString> for ::std::string::String {
 5028   6306   
    fn from(value: MinLengthString) -> Self {
 5029   6307   
        value.into_inner()
 5030   6308   
    }
 5031   6309   
}
 5032   6310   
        6311  +
/* UnionGenerator.kt:67 */
 5033   6312   
#[allow(missing_docs)] // documentation missing in model
        6313  +
/* RustType.kt:516 */
 5034   6314   
#[derive(
 5035   6315   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 5036   6316   
)]
 5037         -
pub enum ConstrainedUnionInOutput {
        6317  +
pub /* UnionGenerator.kt:85 */ enum ConstrainedUnionInOutput {
        6318  +
    /* UnionGenerator.kt:90 */
 5038   6319   
    #[allow(missing_docs)] // documentation missing in model
        6320  +
    /* UnionGenerator.kt:190 */
 5039   6321   
    Structure(crate::model::TransitivelyConstrainedStructureInOutput),
        6322  +
    /* UnionGenerator.kt:85 */
 5040   6323   
}
        6324  +
/* UnionGenerator.kt:111 */
 5041   6325   
impl ConstrainedUnionInOutput {
        6326  +
    /* RustType.kt:516 */
 5042   6327   
    #[allow(irrefutable_let_patterns)]
        6328  +
    /* UnionGenerator.kt:217 */
 5043   6329   
    /// Tries to convert the enum instance into [`Structure`](crate::model::ConstrainedUnionInOutput::Structure), extracting the inner [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
        6330  +
    /* UnionGenerator.kt:222 */
 5044   6331   
    /// Returns `Err(&Self)` if it can't be converted.
        6332  +
    /* UnionGenerator.kt:223 */
 5045   6333   
    pub fn as_structure(
 5046   6334   
        &self,
 5047   6335   
    ) -> ::std::result::Result<&crate::model::TransitivelyConstrainedStructureInOutput, &Self> {
        6336  +
        /* UnionGenerator.kt:227 */
 5048   6337   
        if let ConstrainedUnionInOutput::Structure(val) = &self {
 5049   6338   
            ::std::result::Result::Ok(val)
 5050   6339   
        } else {
 5051   6340   
            ::std::result::Result::Err(self)
 5052   6341   
        }
        6342  +
        /* UnionGenerator.kt:223 */
 5053   6343   
    }
        6344  +
    /* UnionGenerator.kt:121 */
 5054   6345   
    /// Returns true if this is a [`Structure`](crate::model::ConstrainedUnionInOutput::Structure).
        6346  +
    /* UnionGenerator.kt:122 */
 5055   6347   
    pub fn is_structure(&self) -> bool {
        6348  +
        /* UnionGenerator.kt:123 */
 5056   6349   
        self.as_structure().is_ok()
        6350  +
        /* UnionGenerator.kt:122 */
 5057   6351   
    }
        6352  +
    /* UnionGenerator.kt:111 */
 5058   6353   
}
        6354  +
/* PythonServerUnionGenerator.kt:58 */
 5059   6355   
#[pyo3::pyclass(name = "ConstrainedUnionInOutput")]
        6356  +
/* RustType.kt:516 */
 5060   6357   
#[derive(
 5061   6358   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 5062   6359   
)]
 5063         -
pub struct PyUnionMarkerConstrainedUnionInOutput(pub ConstrainedUnionInOutput);
        6360  +
pub /* PythonServerUnionGenerator.kt:61 */ struct PyUnionMarkerConstrainedUnionInOutput(
        6361  +
    pub ConstrainedUnionInOutput,
        6362  +
);
        6363  +
/* RustType.kt:516 */
 5064   6364   
#[::pyo3::pymethods]
        6365  +
/* PythonServerUnionGenerator.kt:66 */
 5065   6366   
impl PyUnionMarkerConstrainedUnionInOutput {
        6367  +
    /* RustType.kt:516 */
 5066   6368   
    #[allow(irrefutable_let_patterns)]
        6369  +
    /* RustType.kt:516 */
 5067   6370   
    #[staticmethod]
        6371  +
    /* PythonServerUnionGenerator.kt:134 */
 5068   6372   
    /// Creates a new union instance of [`Structure`](crate::model::ConstrainedUnionInOutput::Structure)
        6373  +
    /* PythonServerUnionGenerator.kt:138 */
 5069   6374   
    /// :param data constraints_without_public_constrained_types.model.TransitivelyConstrainedStructureInOutput:
        6375  +
    /* PythonServerUnionGenerator.kt:139 */
 5070   6376   
    /// :rtype ConstrainedUnionInOutput:
        6377  +
    /* PythonServerUnionGenerator.kt:140 */
 5071   6378   
    pub fn structure(data: crate::model::TransitivelyConstrainedStructureInOutput) -> Self {
        6379  +
        /* PythonServerUnionGenerator.kt:141 */
 5072   6380   
        Self(ConstrainedUnionInOutput::Structure(data))
        6381  +
        /* PythonServerUnionGenerator.kt:140 */
 5073   6382   
    }
        6383  +
    /* PythonServerUnionGenerator.kt:176 */
 5074   6384   
    /// Tries to convert the enum instance into [`Structure`](crate::model::ConstrainedUnionInOutput::Structure), extracting the inner [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
        6385  +
    /* PythonServerUnionGenerator.kt:181 */
 5075   6386   
    /// :rtype constraints_without_public_constrained_types.model.TransitivelyConstrainedStructureInOutput:
        6387  +
    /* PythonServerUnionGenerator.kt:182 */
 5076   6388   
    pub fn as_structure(
 5077   6389   
        &self,
 5078   6390   
    ) -> ::pyo3::PyResult<crate::model::TransitivelyConstrainedStructureInOutput> {
        6391  +
        /* PythonServerUnionGenerator.kt:190 */
 5079   6392   
        match self.0.as_structure() {
 5080   6393   
            Ok(variant) => Ok(variant.clone()),
 5081   6394   
            Err(_) => Err(::pyo3::exceptions::PyValueError::new_err(
 5082   6395   
                r"ConstrainedUnionInOutput variant is not of type constraints_without_public_constrained_types.model.TransitivelyConstrainedStructureInOutput",
 5083   6396   
            )),
 5084   6397   
        }
        6398  +
        /* PythonServerUnionGenerator.kt:182 */
 5085   6399   
    }
        6400  +
    /* PythonServerUnionGenerator.kt:76 */
 5086   6401   
    /// Returns true if this is a [`Structure`](crate::model::ConstrainedUnionInOutput::Structure).
        6402  +
    /* PythonServerUnionGenerator.kt:77 */
 5087   6403   
    /// :rtype bool:
        6404  +
    /* PythonServerUnionGenerator.kt:78 */
 5088   6405   
    pub fn is_structure(&self) -> bool {
        6406  +
        /* PythonServerUnionGenerator.kt:79 */
 5089   6407   
        self.0.is_structure()
        6408  +
        /* PythonServerUnionGenerator.kt:78 */
 5090   6409   
    }
        6410  +
    /* PythonServerUnionGenerator.kt:66 */
 5091   6411   
}
        6412  +
/* PythonServerUnionGenerator.kt:93 */
 5092   6413   
impl ::pyo3::IntoPy<::pyo3::PyObject> for ConstrainedUnionInOutput {
        6414  +
    /* PythonServerUnionGenerator.kt:94 */
 5093   6415   
    fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
        6416  +
        /* PythonServerUnionGenerator.kt:95 */
 5094   6417   
        PyUnionMarkerConstrainedUnionInOutput(self).into_py(py)
        6418  +
        /* PythonServerUnionGenerator.kt:94 */
 5095   6419   
    }
        6420  +
    /* PythonServerUnionGenerator.kt:93 */
 5096   6421   
}
        6422  +
/* PythonServerUnionGenerator.kt:98 */
 5097   6423   
impl<'source> ::pyo3::FromPyObject<'source> for ConstrainedUnionInOutput {
        6424  +
    /* PythonServerUnionGenerator.kt:99 */
 5098   6425   
    fn extract(obj: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
        6426  +
        /* PythonServerUnionGenerator.kt:100 */
 5099   6427   
        let data: PyUnionMarkerConstrainedUnionInOutput = obj.extract()?;
 5100   6428   
        Ok(data.0)
        6429  +
        /* PythonServerUnionGenerator.kt:99 */
 5101   6430   
    }
        6431  +
    /* PythonServerUnionGenerator.kt:98 */
 5102   6432   
}
 5103   6433   
        6434  +
/* RustType.kt:516 */
 5104   6435   
#[::pyo3::pyclass]
        6436  +
/* PythonServerStructureGenerator.kt:63 */
 5105   6437   
/// :param length_string typing.Optional\[str\]:
 5106   6438   
/// :rtype None:
        6439  +
/* StructureGenerator.kt:197 */
 5107   6440   
#[allow(missing_docs)] // documentation missing in model
        6441  +
/* RustType.kt:516 */
 5108   6442   
#[derive(
 5109   6443   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 5110   6444   
)]
 5111         -
pub struct TransitivelyConstrainedStructureInOutput {
        6445  +
pub /* StructureGenerator.kt:201 */ struct TransitivelyConstrainedStructureInOutput {
        6446  +
    /* RustType.kt:516 */
 5112   6447   
    #[pyo3(get, set)]
        6448  +
    /* PythonServerStructureGenerator.kt:80 */
 5113   6449   
    /// :type typing.Optional\[str\]:
        6450  +
    /* StructureGenerator.kt:231 */
 5114   6451   
    #[allow(missing_docs)] // documentation missing in model
 5115   6452   
    pub length_string: ::std::option::Option<::std::string::String>,
        6453  +
    /* StructureGenerator.kt:201 */
 5116   6454   
}
        6455  +
/* StructureGenerator.kt:135 */
 5117   6456   
impl TransitivelyConstrainedStructureInOutput {
        6457  +
    /* StructureGenerator.kt:231 */
 5118   6458   
    #[allow(missing_docs)] // documentation missing in model
        6459  +
                           /* StructureGenerator.kt:166 */
 5119   6460   
    pub fn length_string(&self) -> ::std::option::Option<&str> {
        6461  +
        /* StructureGenerator.kt:169 */
 5120   6462   
        self.length_string.as_deref()
        6463  +
        /* StructureGenerator.kt:166 */
 5121   6464   
    }
        6465  +
    /* StructureGenerator.kt:135 */
 5122   6466   
}
        6467  +
/* RustType.kt:516 */
 5123   6468   
#[allow(clippy::new_without_default)]
        6469  +
/* RustType.kt:516 */
 5124   6470   
#[allow(clippy::too_many_arguments)]
        6471  +
/* RustType.kt:516 */
 5125   6472   
#[::pyo3::pymethods]
        6473  +
/* PythonServerStructureGenerator.kt:88 */
 5126   6474   
impl TransitivelyConstrainedStructureInOutput {
 5127   6475   
    #[new]
 5128   6476   
    pub fn new(length_string: ::std::option::Option<::std::string::String>) -> Self {
 5129   6477   
        Self { length_string }
 5130   6478   
    }
 5131   6479   
    fn __repr__(&self) -> String {
 5132   6480   
        format!("{self:?}")
 5133   6481   
    }
 5134   6482   
    fn __str__(&self) -> String {
 5135   6483   
        format!("{self:?}")
 5136   6484   
    }
 5137   6485   
}
        6486  +
/* PythonServerStructureGenerator.kt:111 */
 5138   6487   
impl<'source> ::pyo3::FromPyObject<'source>
 5139   6488   
    for std::boxed::Box<TransitivelyConstrainedStructureInOutput>
 5140   6489   
{
 5141   6490   
    fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
 5142   6491   
        ob.extract::<TransitivelyConstrainedStructureInOutput>()
 5143   6492   
            .map(Box::new)
 5144   6493   
    }
 5145   6494   
}
 5146   6495   
 5147   6496   
impl ::pyo3::IntoPy<::pyo3::PyObject>
 5148   6497   
    for std::boxed::Box<TransitivelyConstrainedStructureInOutput>
 5149   6498   
{
 5150   6499   
    fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
 5151   6500   
        (*self).into_py(py)
 5152   6501   
    }
 5153   6502   
}
        6503  +
/* ServerCodegenVisitor.kt:370 */
 5154   6504   
impl TransitivelyConstrainedStructureInOutput {
 5155         -
    /// Creates a new builder-style object to manufacture [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
        6505  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
        6506  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
 5156   6507   
    pub fn builder() -> crate::model::transitively_constrained_structure_in_output::Builder {
        6508  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
 5157   6509   
        crate::model::transitively_constrained_structure_in_output::Builder::default()
        6510  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
 5158   6511   
    }
        6512  +
    /* ServerCodegenVisitor.kt:370 */
 5159   6513   
}
 5160   6514   
        6515  +
/* ConstrainedMapGenerator.kt:78 */
 5161   6516   
#[allow(missing_docs)] // documentation missing in model
 5162         -
///
        6517  +
/// /* ConstrainedMapGenerator.kt:79 */
 5163   6518   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 5164   6519   
/// [constraint traits]. Use [`ConstrainedMapInOutput::try_from`] to construct values of this type.
 5165   6520   
///
 5166   6521   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 5167   6522   
///
        6523  +
/* RustType.kt:516 */
 5168   6524   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
 5169         -
pub(crate) struct ConstrainedMapInOutput(
        6525  +
pub(crate) /* ConstrainedMapGenerator.kt:82 */ struct ConstrainedMapInOutput(
 5170   6526   
    pub(crate)  ::std::collections::HashMap<
 5171   6527   
        ::std::string::String,
 5172   6528   
        crate::model::TransitivelyConstrainedStructureInOutput,
 5173   6529   
    >,
 5174   6530   
);
        6531  +
/* ConstrainedMapGenerator.kt:83 */
 5175   6532   
impl ConstrainedMapInOutput {
        6533  +
    /* ConstrainedMapGenerator.kt:95 */
 5176   6534   
    /// Consumes the value, returning the underlying [`::std::collections::HashMap<::std::string::String, crate::model::TransitivelyConstrainedStructureInOutput>`].
 5177   6535   
    pub fn into_inner(
 5178   6536   
        self,
 5179   6537   
    ) -> ::std::collections::HashMap<
 5180   6538   
        ::std::string::String,
 5181   6539   
        crate::model::TransitivelyConstrainedStructureInOutput,
 5182   6540   
    > {
 5183   6541   
        self.0
 5184   6542   
    }
        6543  +
    /* ConstrainedMapGenerator.kt:83 */
 5185   6544   
}
        6545  +
/* ConstrainedMapGenerator.kt:106 */
 5186   6546   
impl
 5187   6547   
    ::std::convert::TryFrom<
 5188   6548   
        ::std::collections::HashMap<
 5189   6549   
            ::std::string::String,
 5190   6550   
            crate::model::TransitivelyConstrainedStructureInOutput,
 5191   6551   
        >,
 5192   6552   
    > for ConstrainedMapInOutput
 5193   6553   
{
 5194   6554   
    type Error = crate::model::constrained_map_in_output_internal::ConstraintViolation;
 5195   6555   
 5196   6556   
    /// 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.
 5197   6557   
    fn try_from(
 5198   6558   
        value: ::std::collections::HashMap<
 5199   6559   
            ::std::string::String,
 5200   6560   
            crate::model::TransitivelyConstrainedStructureInOutput,
 5201   6561   
        >,
 5202   6562   
    ) -> ::std::result::Result<Self, Self::Error> {
 5203   6563   
        let length = value.len();
 5204   6564   
        if 69 <= length {
 5205   6565   
            Ok(Self(value))
 5206   6566   
        } else {
 5207   6567   
            Err(
 5208   6568   
                crate::model::constrained_map_in_output_internal::ConstraintViolation::Length(
 5209   6569   
                    length,
 5210   6570   
                ),
 5211   6571   
            )
 5212   6572   
        }
 5213   6573   
    }
 5214   6574   
}
 5215   6575   
 5216   6576   
impl ::std::convert::From<ConstrainedMapInOutput>
 5217   6577   
    for ::std::collections::HashMap<
 5218   6578   
        ::std::string::String,
 5219   6579   
        crate::model::TransitivelyConstrainedStructureInOutput,
 5220   6580   
    >
 5221   6581   
{
 5222   6582   
    fn from(value: ConstrainedMapInOutput) -> Self {
 5223   6583   
        value.into_inner()
 5224   6584   
    }
 5225   6585   
}
 5226   6586   
        6587  +
/* ConstrainedCollectionGenerator.kt:93 */
 5227   6588   
#[allow(missing_docs)] // documentation missing in model
 5228         -
///
        6589  +
/// /* ConstrainedCollectionGenerator.kt:94 */
 5229   6590   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more
 5230   6591   
/// [constraint traits]. Use [`ConstrainedListInOutput::try_from`] to construct values of this type.
 5231   6592   
///
 5232   6593   
/// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 5233   6594   
///
        6595  +
/* RustType.kt:516 */
 5234   6596   
#[derive(
 5235   6597   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 5236   6598   
)]
 5237         -
pub(crate) struct ConstrainedListInOutput(
        6599  +
pub(crate) /* ConstrainedCollectionGenerator.kt:97 */ struct ConstrainedListInOutput(
 5238   6600   
    pub(crate) ::std::vec::Vec<crate::model::ConstrainedUnionInOutput>,
 5239   6601   
);
        6602  +
/* ConstrainedCollectionGenerator.kt:104 */
 5240   6603   
impl ConstrainedListInOutput {
        6604  +
    /* ConstrainedCollectionGenerator.kt:116 */
 5241   6605   
    /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::ConstrainedUnionInOutput>`].
 5242   6606   
    pub fn into_inner(self) -> ::std::vec::Vec<crate::model::ConstrainedUnionInOutput> {
 5243   6607   
        self.0
 5244   6608   
    }
 5245   6609   
 5246   6610   
    fn check_length(
 5247   6611   
        length: usize,
 5248   6612   
    ) -> ::std::result::Result<
 5249   6613   
        (),
 5250   6614   
        crate::model::constrained_list_in_output_internal::ConstraintViolation,
 5251   6615   
    > {
 5252   6616   
        if 69 <= length {
 5253   6617   
            Ok(())
 5254   6618   
        } else {
 5255   6619   
            Err(
 5256   6620   
                crate::model::constrained_list_in_output_internal::ConstraintViolation::Length(
 5257   6621   
                    length,
 5258   6622   
                ),
 5259   6623   
            )
 5260   6624   
        }
 5261   6625   
    }
        6626  +
    /* ConstrainedCollectionGenerator.kt:104 */
 5262   6627   
}
        6628  +
/* ConstrainedCollectionGenerator.kt:133 */
 5263   6629   
impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::ConstrainedUnionInOutput>>
 5264   6630   
    for ConstrainedListInOutput
 5265   6631   
{
 5266   6632   
    type Error = crate::model::constrained_list_in_output_internal::ConstraintViolation;
 5267   6633   
 5268   6634   
    /// Constructs a `ConstrainedListInOutput` from an [`::std::vec::Vec<crate::model::ConstrainedUnionInOutput>`], failing when the provided value does not satisfy the modeled constraints.
 5269   6635   
    fn try_from(
 5270   6636   
        value: ::std::vec::Vec<crate::model::ConstrainedUnionInOutput>,
 5271   6637   
    ) -> ::std::result::Result<Self, Self::Error> {
 5272   6638   
        Self::check_length(value.len())?;
 5273   6639   
 5274   6640   
        Ok(Self(value))
 5275   6641   
    }
 5276   6642   
}
 5277   6643   
 5278   6644   
impl ::std::convert::From<ConstrainedListInOutput>
 5279   6645   
    for ::std::vec::Vec<crate::model::ConstrainedUnionInOutput>
 5280   6646   
{
 5281   6647   
    fn from(value: ConstrainedListInOutput) -> Self {
 5282   6648   
        value.into_inner()
 5283   6649   
    }
 5284   6650   
}
 5285   6651   
 5286         -
/// See [`ValidationExceptionField`](crate::model::ValidationExceptionField).
        6652  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`ValidationExceptionField`](crate::model::ValidationExceptionField).
 5287   6653   
pub mod validation_exception_field {
 5288   6654   
        6655  +
    /* RustType.kt:516 */
 5289   6656   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 5290         -
    /// Holds one variant for each of the ways the builder can fail.
 5291         -
        6657  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        6658  +
    /* ServerBuilderConstraintViolations.kt:75 */
 5292   6659   
    #[allow(clippy::enum_variant_names)]
 5293   6660   
    pub enum ConstraintViolation {
 5294         -
        /// `path` was not provided but it is required when building `ValidationExceptionField`.
        6661  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`path` was not provided but it is required when building `ValidationExceptionField`.
        6662  +
        /* ServerBuilderConstraintViolations.kt:143 */
 5295   6663   
        MissingPath,
 5296         -
        /// `message` was not provided but it is required when building `ValidationExceptionField`.
        6664  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`message` was not provided but it is required when building `ValidationExceptionField`.
        6665  +
        /* ServerBuilderConstraintViolations.kt:143 */
 5297   6666   
        MissingMessage,
        6667  +
        /* ServerBuilderConstraintViolations.kt:75 */
 5298   6668   
    }
        6669  +
    /* ServerBuilderConstraintViolations.kt:117 */
 5299   6670   
    impl ::std::fmt::Display for ConstraintViolation {
        6671  +
        /* ServerBuilderConstraintViolations.kt:118 */
 5300   6672   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6673  +
            /* ServerBuilderConstraintViolations.kt:119 */
 5301   6674   
            match self {
 5302         -
                ConstraintViolation::MissingPath => write!(f, "`path` was not provided but it is required when building `ValidationExceptionField`"),
 5303         -
                ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationExceptionField`"),
 5304         -
            }
        6675  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingPath => write!(f, "`path` was not provided but it is required when building `ValidationExceptionField`"),
        6676  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationExceptionField`"),
        6677  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        6678  +
            /* ServerBuilderConstraintViolations.kt:118 */
 5305   6679   
        }
        6680  +
        /* ServerBuilderConstraintViolations.kt:117 */
 5306   6681   
    }
        6682  +
    /* ServerBuilderConstraintViolations.kt:84 */
 5307   6683   
    impl ::std::error::Error for ConstraintViolation {}
        6684  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:254 */
 5308   6685   
    impl ::std::convert::TryFrom<Builder> for crate::model::ValidationExceptionField {
 5309   6686   
        type Error = ConstraintViolation;
 5310   6687   
 5311   6688   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 5312   6689   
            builder.build()
 5313   6690   
        }
 5314   6691   
    }
 5315         -
    /// A builder for [`ValidationExceptionField`](crate::model::ValidationExceptionField).
        6692  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`ValidationExceptionField`](crate::model::ValidationExceptionField).
        6693  +
    /* RustType.kt:516 */
 5316   6694   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        6695  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 5317   6696   
    pub struct Builder {
        6697  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 5318   6698   
        pub(crate) path: ::std::option::Option<::std::string::String>,
        6699  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 5319   6700   
        pub(crate) message: ::std::option::Option<::std::string::String>,
        6701  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 5320   6702   
    }
        6703  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 5321   6704   
    impl Builder {
 5322         -
        /// A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
        6705  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
        6706  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 5323   6707   
        pub fn path(mut self, input: ::std::string::String) -> Self {
 5324         -
            self.path = Some(input);
        6708  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
        6709  +
            self.path =
        6710  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
        6711  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
        6712  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
        6713  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 5325   6714   
            self
        6715  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 5326   6716   
        }
 5327         -
        /// A detailed description of the validation failure.
        6717  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */A detailed description of the validation failure.
        6718  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 5328   6719   
        pub fn message(mut self, input: ::std::string::String) -> Self {
 5329         -
            self.message = Some(input);
        6720  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
        6721  +
            self.message =
        6722  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
        6723  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
        6724  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
        6725  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 5330   6726   
            self
        6727  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 5331   6728   
        }
 5332         -
        /// Consumes the builder and constructs a [`ValidationExceptionField`](crate::model::ValidationExceptionField).
 5333         -
        ///
        6729  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`ValidationExceptionField`](crate::model::ValidationExceptionField).
        6730  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:152 */
 5334   6731   
        /// The builder fails to construct a [`ValidationExceptionField`](crate::model::ValidationExceptionField) if you do not provide a value for all non-`Option`al members.
 5335   6732   
        ///
        6733  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 5336   6734   
        pub fn build(self) -> Result<crate::model::ValidationExceptionField, ConstraintViolation> {
 5337   6735   
            self.build_enforcing_required_and_enum_traits()
 5338   6736   
        }
        6737  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 5339   6738   
        fn build_enforcing_required_and_enum_traits(
 5340   6739   
            self,
 5341   6740   
        ) -> Result<crate::model::ValidationExceptionField, ConstraintViolation> {
 5342         -
            Ok(crate::model::ValidationExceptionField {
 5343         -
                path: self.path.ok_or(ConstraintViolation::MissingPath)?,
 5344         -
                message: self.message.ok_or(ConstraintViolation::MissingMessage)?,
 5345         -
            })
        6741  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
        6742  +
            Ok(
        6743  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
        6744  +
                crate::model::ValidationExceptionField {
        6745  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
        6746  +
                    path: self
        6747  +
                        .path
        6748  +
                        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:202 */
        6749  +
                        .ok_or(ConstraintViolation::MissingPath)?,
        6750  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
        6751  +
                    message: self
        6752  +
                        .message
        6753  +
                        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:202 */
        6754  +
                        .ok_or(ConstraintViolation::MissingMessage)?,
        6755  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
        6756  +
                }, /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
        6757  +
            )
        6758  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 5346   6759   
        }
        6760  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 5347   6761   
    }
        6762  +
        6763  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5348   6764   
}
 5349         -
/// See [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        6765  +
/// /* ServerBuilderGenerator.kt:171 */See [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
 5350   6766   
pub(crate) mod event_stream_regular_message_internal {
 5351   6767   
        6768  +
    /* ServerBuilderGenerator.kt:461 */
 5352   6769   
    impl ::std::convert::From<Builder> for crate::model::EventStreamRegularMessage {
 5353   6770   
        fn from(builder: Builder) -> Self {
 5354   6771   
            builder.build()
 5355   6772   
        }
 5356   6773   
    }
 5357         -
    /// A builder for [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        6774  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        6775  +
    /* RustType.kt:516 */
 5358   6776   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        6777  +
    /* ServerBuilderGenerator.kt:211 */
 5359   6778   
    pub(crate) struct Builder {
        6779  +
        /* ServerBuilderGenerator.kt:308 */
 5360   6780   
        pub(crate) message_content: ::std::option::Option<::std::string::String>,
        6781  +
        /* ServerBuilderGenerator.kt:211 */
 5361   6782   
    }
        6783  +
    /* ServerBuilderGenerator.kt:215 */
 5362   6784   
    impl Builder {
        6785  +
        /* ServerBuilderGenerator.kt:426 */
 5363   6786   
        #[allow(missing_docs)] // documentation missing in model
        6787  +
                               /* ServerBuilderGenerator.kt:428 */
 5364   6788   
        pub(crate) fn set_message_content(
 5365   6789   
            mut self,
 5366   6790   
            input: Option<impl ::std::convert::Into<::std::string::String>>,
 5367   6791   
        ) -> Self {
        6792  +
            /* ServerBuilderGenerator.kt:429 */
 5368   6793   
            self.message_content = input.map(|v| v.into());
 5369   6794   
            self
        6795  +
            /* ServerBuilderGenerator.kt:428 */
 5370   6796   
        }
 5371         -
        /// Consumes the builder and constructs a [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        6797  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        6798  +
        /* ServerBuilderGenerator.kt:271 */
 5372   6799   
        pub fn build(self) -> crate::model::EventStreamRegularMessage {
 5373   6800   
            self.build_enforcing_all_constraints()
 5374   6801   
        }
        6802  +
        /* ServerBuilderGenerator.kt:283 */
 5375   6803   
        fn build_enforcing_all_constraints(self) -> crate::model::EventStreamRegularMessage {
        6804  +
            /* ServerBuilderGenerator.kt:542 */
 5376   6805   
            crate::model::EventStreamRegularMessage {
        6806  +
                /* ServerBuilderGenerator.kt:546 */
 5377   6807   
                message_content: self.message_content,
        6808  +
                /* ServerBuilderGenerator.kt:542 */
 5378   6809   
            }
        6810  +
            /* ServerBuilderGenerator.kt:283 */
 5379   6811   
        }
        6812  +
        /* ServerBuilderGenerator.kt:215 */
 5380   6813   
    }
        6814  +
        6815  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5381   6816   
}
 5382         -
/// See [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        6817  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
 5383   6818   
pub mod event_stream_regular_message {
 5384   6819   
        6820  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
 5385   6821   
    impl ::std::convert::From<Builder> for crate::model::EventStreamRegularMessage {
 5386   6822   
        fn from(builder: Builder) -> Self {
 5387   6823   
            builder.build()
 5388   6824   
        }
 5389   6825   
    }
 5390         -
    /// A builder for [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        6826  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        6827  +
    /* RustType.kt:516 */
 5391   6828   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        6829  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 5392   6830   
    pub struct Builder {
        6831  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 5393   6832   
        pub(crate) message_content: ::std::option::Option<::std::string::String>,
        6833  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 5394   6834   
    }
        6835  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 5395   6836   
    impl Builder {
        6837  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 5396   6838   
        #[allow(missing_docs)] // documentation missing in model
        6839  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 5397   6840   
        pub fn message_content(
 5398   6841   
            mut self,
 5399   6842   
            input: ::std::option::Option<::std::string::String>,
 5400   6843   
        ) -> Self {
 5401         -
            self.message_content = input;
        6844  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
        6845  +
            self.message_content =
        6846  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
        6847  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 5402   6848   
            self
        6849  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 5403   6850   
        }
 5404         -
        /// Consumes the builder and constructs a [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        6851  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`EventStreamRegularMessage`](crate::model::EventStreamRegularMessage).
        6852  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 5405   6853   
        pub fn build(self) -> crate::model::EventStreamRegularMessage {
 5406   6854   
            self.build_enforcing_required_and_enum_traits()
 5407   6855   
        }
        6856  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 5408   6857   
        fn build_enforcing_required_and_enum_traits(
 5409   6858   
            self,
 5410   6859   
        ) -> crate::model::EventStreamRegularMessage {
        6860  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
 5411   6861   
            crate::model::EventStreamRegularMessage {
        6862  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
 5412   6863   
                message_content: self.message_content,
        6864  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
 5413   6865   
            }
        6866  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 5414   6867   
        }
        6868  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 5415   6869   
    }
        6870  +
        6871  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5416   6872   
}
 5417   6873   
pub(crate) mod map_of_enum_string_internal {
 5418   6874   
        6875  +
    /* MapConstraintViolationGenerator.kt:82 */
 5419   6876   
    #[allow(clippy::enum_variant_names)]
 5420   6877   
    #[derive(Debug, PartialEq)]
 5421   6878   
    pub(crate) enum ConstraintViolation {
 5422   6879   
        #[doc(hidden)]
 5423   6880   
        Key(crate::model::enum_string_internal::ConstraintViolation),
 5424   6881   
        #[doc(hidden)]
 5425   6882   
        Value(
 5426   6883   
            crate::model::EnumString,
 5427   6884   
            crate::model::enum_string_internal::ConstraintViolation,
 5428   6885   
        ),
 5429   6886   
    }
 5430   6887   
 5431   6888   
    impl ::std::fmt::Display for ConstraintViolation {
 5432   6889   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5433   6890   
            match self {
 5434   6891   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 5435   6892   
                Self::Value(_, value_constraint_violation) => {
 5436   6893   
                    write!(f, "{}", value_constraint_violation)
 5437   6894   
                }
 5438   6895   
            }
 5439   6896   
        }
 5440   6897   
    }
 5441   6898   
 5442   6899   
    impl ::std::error::Error for ConstraintViolation {}
        6900  +
    /* MapConstraintViolationGenerator.kt:111 */
 5443   6901   
    impl ConstraintViolation {
 5444   6902   
        pub(crate) fn as_validation_exception_field(
 5445   6903   
            self,
 5446   6904   
            path: ::std::string::String,
 5447   6905   
        ) -> crate::model::ValidationExceptionField {
 5448   6906   
            match self {
 5449   6907   
                Self::Key(key_constraint_violation) => {
 5450   6908   
                    key_constraint_violation.as_validation_exception_field(path)
 5451   6909   
                }
 5452   6910   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 5453   6911   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 5454   6912   
            }
 5455   6913   
        }
 5456   6914   
    }
        6915  +
        6916  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5457   6917   
}
 5458   6918   
pub(crate) mod con_b_map_internal {
 5459   6919   
        6920  +
    /* MapConstraintViolationGenerator.kt:82 */
 5460   6921   
    #[allow(clippy::enum_variant_names)]
 5461   6922   
    #[derive(Debug, PartialEq)]
 5462   6923   
    pub(crate) enum ConstraintViolation {
 5463   6924   
        Length(usize),
 5464   6925   
 5465   6926   
        #[doc(hidden)]
 5466   6927   
        Value(
 5467   6928   
            ::std::string::String,
 5468   6929   
            crate::model::length_string_internal::ConstraintViolation,
 5469   6930   
        ),
 5470   6931   
    }
 5471   6932   
 5472   6933   
    impl ::std::fmt::Display for ConstraintViolation {
 5473   6934   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5474   6935   
            match self {
 5475   6936   
                Self::Length(length) => {
 5476   6937   
                    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)
 5477   6938   
                }
 5478   6939   
 5479   6940   
                Self::Value(_, value_constraint_violation) => {
 5480   6941   
                    write!(f, "{}", value_constraint_violation)
 5481   6942   
                }
 5482   6943   
            }
 5483   6944   
        }
 5484   6945   
    }
 5485   6946   
 5486   6947   
    impl ::std::error::Error for ConstraintViolation {}
        6948  +
    /* MapConstraintViolationGenerator.kt:111 */
 5487   6949   
    impl ConstraintViolation {
 5488   6950   
        pub(crate) fn as_validation_exception_field(
 5489   6951   
            self,
 5490   6952   
            path: ::std::string::String,
 5491   6953   
        ) -> crate::model::ValidationExceptionField {
 5492   6954   
            match self {
 5493   6955   
            Self::Length(length) => crate::model::ValidationExceptionField {
 5494   6956   
                                        message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 1 and 69, inclusive", length, &path),
 5495   6957   
                                        path,
 5496   6958   
                                    },
 5497   6959   
            Self::Value(key, value_constraint_violation) => value_constraint_violation.as_validation_exception_field(path + "/" + key.as_str()),
 5498   6960   
        }
 5499   6961   
        }
 5500   6962   
    }
        6963  +
        6964  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5501   6965   
}
 5502   6966   
pub(crate) mod length_string_internal {
 5503   6967   
        6968  +
    /* ConstrainedStringGenerator.kt:155 */
 5504   6969   
    #[derive(Debug, PartialEq)]
 5505   6970   
    pub enum ConstraintViolation {
 5506   6971   
        /// Error when a string doesn't satisfy its `@length` requirements.
 5507   6972   
        Length(usize),
 5508   6973   
    }
 5509   6974   
 5510   6975   
    impl ::std::fmt::Display for ConstraintViolation {
 5511   6976   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5512   6977   
            let message = match self {
 5513   6978   
                Self::Length(length) => {
 5514   6979   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#LengthString' failed to satisfy constraint: Member must have length between 2 and 69, inclusive", length)
 5515   6980   
                }
 5516   6981   
            };
 5517   6982   
            write!(f, "{message}")
 5518   6983   
        }
 5519   6984   
    }
 5520   6985   
 5521   6986   
    impl ::std::error::Error for ConstraintViolation {}
        6987  +
    /* ConstrainedStringGenerator.kt:180 */
 5522   6988   
    impl ConstraintViolation {
 5523   6989   
        pub(crate) fn as_validation_exception_field(
 5524   6990   
            self,
 5525   6991   
            path: ::std::string::String,
 5526   6992   
        ) -> crate::model::ValidationExceptionField {
 5527   6993   
            match self {
 5528   6994   
                            Self::Length(length) => crate::model::ValidationExceptionField {
 5529   6995   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 2 and 69, inclusive", length, &path),
 5530   6996   
                            path,
 5531   6997   
                        },
 5532   6998   
                        }
 5533   6999   
        }
 5534   7000   
    }
        7001  +
        7002  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5535   7003   
}
 5536   7004   
pub(crate) mod map_of_list_of_length_pattern_string_internal {
 5537   7005   
        7006  +
    /* MapConstraintViolationGenerator.kt:82 */
 5538   7007   
    #[allow(clippy::enum_variant_names)]
 5539   7008   
    #[derive(Debug, PartialEq)]
 5540   7009   
    pub(crate) enum ConstraintViolation {
 5541   7010   
        #[doc(hidden)]
 5542   7011   
        Key(crate::model::length_pattern_string_internal::ConstraintViolation),
 5543   7012   
        #[doc(hidden)]
 5544   7013   
        Value(
 5545   7014   
            crate::model::LengthPatternString,
 5546   7015   
            crate::model::list_of_length_pattern_string_internal::ConstraintViolation,
 5547   7016   
        ),
 5548   7017   
    }
 5549   7018   
 5550   7019   
    impl ::std::fmt::Display for ConstraintViolation {
 5551   7020   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5552   7021   
            match self {
 5553   7022   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 5554   7023   
                Self::Value(_, value_constraint_violation) => {
 5555   7024   
                    write!(f, "{}", value_constraint_violation)
 5556   7025   
                }
 5557   7026   
            }
 5558   7027   
        }
 5559   7028   
    }
 5560   7029   
 5561   7030   
    impl ::std::error::Error for ConstraintViolation {}
        7031  +
    /* MapConstraintViolationGenerator.kt:111 */
 5562   7032   
    impl ConstraintViolation {
 5563   7033   
        pub(crate) fn as_validation_exception_field(
 5564   7034   
            self,
 5565   7035   
            path: ::std::string::String,
 5566   7036   
        ) -> crate::model::ValidationExceptionField {
 5567   7037   
            match self {
 5568   7038   
                Self::Key(key_constraint_violation) => {
 5569   7039   
                    key_constraint_violation.as_validation_exception_field(path)
 5570   7040   
                }
 5571   7041   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 5572   7042   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 5573   7043   
            }
 5574   7044   
        }
 5575   7045   
    }
        7046  +
        7047  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5576   7048   
}
 5577   7049   
pub(crate) mod list_of_length_pattern_string_internal {
 5578   7050   
        7051  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 5579   7052   
    #[allow(clippy::enum_variant_names)]
 5580   7053   
    #[derive(Debug, PartialEq)]
 5581   7054   
    pub(crate) enum ConstraintViolation {
 5582   7055   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 5583   7056   
        /// The first component of the tuple is the index in the collection where the
 5584   7057   
        /// first constraint violation was found.
 5585   7058   
        #[doc(hidden)]
 5586   7059   
        Member(
 5587   7060   
            usize,
 5588   7061   
            crate::model::length_pattern_string_internal::ConstraintViolation,
 5589   7062   
        ),
 5590   7063   
    }
 5591   7064   
 5592   7065   
    impl ::std::fmt::Display for ConstraintViolation {
 5593   7066   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5594   7067   
            let message = match self {
 5595   7068   
                Self::Member(index, failing_member) => format!(
 5596   7069   
                    "Value at index {index} failed to satisfy constraint. {}",
 5597   7070   
                    failing_member
 5598   7071   
                ),
 5599   7072   
            };
 5600   7073   
            write!(f, "{message}")
 5601   7074   
        }
 5602   7075   
    }
 5603   7076   
 5604   7077   
    impl ::std::error::Error for ConstraintViolation {}
        7078  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 5605   7079   
    impl ConstraintViolation {
 5606   7080   
        pub(crate) fn as_validation_exception_field(
 5607   7081   
            self,
 5608   7082   
            path: ::std::string::String,
 5609   7083   
        ) -> crate::model::ValidationExceptionField {
 5610   7084   
            match self {
 5611   7085   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 5612   7086   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 5613   7087   
            }
 5614   7088   
        }
 5615   7089   
    }
        7090  +
        7091  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5616   7092   
}
 5617   7093   
pub(crate) mod length_pattern_string_internal {
 5618   7094   
        7095  +
    /* ConstrainedStringGenerator.kt:155 */
 5619   7096   
    #[derive(Debug, PartialEq)]
 5620   7097   
    pub enum ConstraintViolation {
 5621   7098   
        /// Error when a string doesn't satisfy its `@length` requirements.
 5622   7099   
        Length(usize),
 5623   7100   
        /// Error when a string doesn't satisfy its `@pattern`.
 5624   7101   
        /// Contains the String that failed the pattern.
 5625   7102   
        Pattern(String),
 5626   7103   
    }
 5627   7104   
 5628   7105   
    impl ::std::fmt::Display for ConstraintViolation {
 5629   7106   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5630   7107   
            let message = match self {
 5631   7108   
                Self::Length(length) => {
 5632   7109   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#LengthPatternString' failed to satisfy constraint: Member must have length between 5 and 10, inclusive", length)
 5633   7110   
                }
 5634   7111   
                Self::Pattern(_) => {
 5635   7112   
                    format!(
 5636   7113   
                        r#"Value provided for `com.amazonaws.constraints#LengthPatternString` failed to satisfy the constraint: Member must match the regular expression pattern: {}"#,
 5637   7114   
                        r#"[a-f0-5]*"#
 5638   7115   
                    )
 5639   7116   
                }
 5640   7117   
            };
 5641   7118   
            write!(f, "{message}")
 5642   7119   
        }
 5643   7120   
    }
 5644   7121   
 5645   7122   
    impl ::std::error::Error for ConstraintViolation {}
        7123  +
    /* ConstrainedStringGenerator.kt:180 */
 5646   7124   
    impl ConstraintViolation {
 5647   7125   
        pub(crate) fn as_validation_exception_field(
 5648   7126   
            self,
 5649   7127   
            path: ::std::string::String,
 5650   7128   
        ) -> crate::model::ValidationExceptionField {
 5651   7129   
            match self {
 5652   7130   
                            Self::Length(length) => crate::model::ValidationExceptionField {
 5653   7131   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 5 and 10, inclusive", length, &path),
 5654   7132   
                            path,
 5655   7133   
                        },
 5656   7134   
    
 5657   7135   
    #[allow(unused_variables)]
 5658   7136   
    Self::Pattern(_) => crate::model::ValidationExceptionField {
 5659   7137   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must satisfy regular expression pattern: {}", &path, r#"[a-f0-5]*"#),
 5660   7138   
                            path
 5661   7139   
                        },
 5662   7140   
                        }
 5663   7141   
        }
 5664   7142   
    }
        7143  +
        7144  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5665   7145   
}
 5666   7146   
pub(crate) mod map_of_length_pattern_string_internal {
 5667   7147   
        7148  +
    /* MapConstraintViolationGenerator.kt:82 */
 5668   7149   
    #[allow(clippy::enum_variant_names)]
 5669   7150   
    #[derive(Debug, PartialEq)]
 5670   7151   
    pub(crate) enum ConstraintViolation {
 5671   7152   
        #[doc(hidden)]
 5672   7153   
        Key(crate::model::length_pattern_string_internal::ConstraintViolation),
 5673   7154   
        #[doc(hidden)]
 5674   7155   
        Value(
 5675   7156   
            crate::model::LengthPatternString,
 5676   7157   
            crate::model::length_pattern_string_internal::ConstraintViolation,
 5677   7158   
        ),
 5678   7159   
    }
 5679   7160   
 5680   7161   
    impl ::std::fmt::Display for ConstraintViolation {
 5681   7162   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5682   7163   
            match self {
 5683   7164   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 5684   7165   
                Self::Value(_, value_constraint_violation) => {
 5685   7166   
                    write!(f, "{}", value_constraint_violation)
 5686   7167   
                }
 5687   7168   
            }
 5688   7169   
        }
 5689   7170   
    }
 5690   7171   
 5691   7172   
    impl ::std::error::Error for ConstraintViolation {}
        7173  +
    /* MapConstraintViolationGenerator.kt:111 */
 5692   7174   
    impl ConstraintViolation {
 5693   7175   
        pub(crate) fn as_validation_exception_field(
 5694   7176   
            self,
 5695   7177   
            path: ::std::string::String,
 5696   7178   
        ) -> crate::model::ValidationExceptionField {
 5697   7179   
            match self {
 5698   7180   
                Self::Key(key_constraint_violation) => {
 5699   7181   
                    key_constraint_violation.as_validation_exception_field(path)
 5700   7182   
                }
 5701   7183   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 5702   7184   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 5703   7185   
            }
 5704   7186   
        }
 5705   7187   
    }
        7188  +
        7189  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5706   7190   
}
 5707   7191   
pub(crate) mod map_of_list_of_pattern_string_internal {
 5708   7192   
        7193  +
    /* MapConstraintViolationGenerator.kt:82 */
 5709   7194   
    #[allow(clippy::enum_variant_names)]
 5710   7195   
    #[derive(Debug, PartialEq)]
 5711   7196   
    pub(crate) enum ConstraintViolation {
 5712   7197   
        #[doc(hidden)]
 5713   7198   
        Key(crate::model::pattern_string_internal::ConstraintViolation),
 5714   7199   
        #[doc(hidden)]
 5715   7200   
        Value(
 5716   7201   
            crate::model::PatternString,
 5717   7202   
            crate::model::list_of_pattern_string_internal::ConstraintViolation,
 5718   7203   
        ),
 5719   7204   
    }
 5720   7205   
 5721   7206   
    impl ::std::fmt::Display for ConstraintViolation {
 5722   7207   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5723   7208   
            match self {
 5724   7209   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 5725   7210   
                Self::Value(_, value_constraint_violation) => {
 5726   7211   
                    write!(f, "{}", value_constraint_violation)
 5727   7212   
                }
 5728   7213   
            }
 5729   7214   
        }
 5730   7215   
    }
 5731   7216   
 5732   7217   
    impl ::std::error::Error for ConstraintViolation {}
        7218  +
    /* MapConstraintViolationGenerator.kt:111 */
 5733   7219   
    impl ConstraintViolation {
 5734   7220   
        pub(crate) fn as_validation_exception_field(
 5735   7221   
            self,
 5736   7222   
            path: ::std::string::String,
 5737   7223   
        ) -> crate::model::ValidationExceptionField {
 5738   7224   
            match self {
 5739   7225   
                Self::Key(key_constraint_violation) => {
 5740   7226   
                    key_constraint_violation.as_validation_exception_field(path)
 5741   7227   
                }
 5742   7228   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 5743   7229   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 5744   7230   
            }
 5745   7231   
        }
 5746   7232   
    }
        7233  +
        7234  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5747   7235   
}
 5748   7236   
pub(crate) mod list_of_pattern_string_internal {
 5749   7237   
        7238  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 5750   7239   
    #[allow(clippy::enum_variant_names)]
 5751   7240   
    #[derive(Debug, PartialEq)]
 5752   7241   
    pub(crate) enum ConstraintViolation {
 5753   7242   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 5754   7243   
        /// The first component of the tuple is the index in the collection where the
 5755   7244   
        /// first constraint violation was found.
 5756   7245   
        #[doc(hidden)]
 5757   7246   
        Member(
 5758   7247   
            usize,
 5759   7248   
            crate::model::pattern_string_internal::ConstraintViolation,
 5760   7249   
        ),
 5761   7250   
    }
 5762   7251   
 5763   7252   
    impl ::std::fmt::Display for ConstraintViolation {
 5764   7253   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5765   7254   
            let message = match self {
 5766   7255   
                Self::Member(index, failing_member) => format!(
 5767   7256   
                    "Value at index {index} failed to satisfy constraint. {}",
 5768   7257   
                    failing_member
 5769   7258   
                ),
 5770   7259   
            };
 5771   7260   
            write!(f, "{message}")
 5772   7261   
        }
 5773   7262   
    }
 5774   7263   
 5775   7264   
    impl ::std::error::Error for ConstraintViolation {}
        7265  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 5776   7266   
    impl ConstraintViolation {
 5777   7267   
        pub(crate) fn as_validation_exception_field(
 5778   7268   
            self,
 5779   7269   
            path: ::std::string::String,
 5780   7270   
        ) -> crate::model::ValidationExceptionField {
 5781   7271   
            match self {
 5782   7272   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 5783   7273   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 5784   7274   
            }
 5785   7275   
        }
 5786   7276   
    }
        7277  +
        7278  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5787   7279   
}
 5788   7280   
pub(crate) mod pattern_string_internal {
 5789   7281   
        7282  +
    /* ConstrainedStringGenerator.kt:155 */
 5790   7283   
    #[derive(Debug, PartialEq)]
 5791   7284   
    pub enum ConstraintViolation {
 5792   7285   
        /// Error when a string doesn't satisfy its `@pattern`.
 5793   7286   
        /// Contains the String that failed the pattern.
 5794   7287   
        Pattern(String),
 5795   7288   
    }
 5796   7289   
 5797   7290   
    impl ::std::fmt::Display for ConstraintViolation {
 5798   7291   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5799   7292   
            let message = match self {
 5800   7293   
                Self::Pattern(_) => {
 5801   7294   
                    format!(
 5802   7295   
                        r#"Value provided for `com.amazonaws.constraints#PatternString` failed to satisfy the constraint: Member must match the regular expression pattern: {}"#,
 5803   7296   
                        r#"[a-d]{5}"#
 5804   7297   
                    )
 5805   7298   
                }
 5806   7299   
            };
 5807   7300   
            write!(f, "{message}")
 5808   7301   
        }
 5809   7302   
    }
 5810   7303   
 5811   7304   
    impl ::std::error::Error for ConstraintViolation {}
        7305  +
    /* ConstrainedStringGenerator.kt:180 */
 5812   7306   
    impl ConstraintViolation {
 5813   7307   
        pub(crate) fn as_validation_exception_field(
 5814   7308   
            self,
 5815   7309   
            path: ::std::string::String,
 5816   7310   
        ) -> crate::model::ValidationExceptionField {
 5817   7311   
            match self {
 5818   7312   
                            #[allow(unused_variables)]
 5819   7313   
    Self::Pattern(_) => crate::model::ValidationExceptionField {
 5820   7314   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must satisfy regular expression pattern: {}", &path, r#"[a-d]{5}"#),
 5821   7315   
                            path
 5822   7316   
                        },
 5823   7317   
                        }
 5824   7318   
        }
 5825   7319   
    }
        7320  +
        7321  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5826   7322   
}
 5827   7323   
pub(crate) mod map_of_pattern_string_internal {
 5828   7324   
        7325  +
    /* MapConstraintViolationGenerator.kt:82 */
 5829   7326   
    #[allow(clippy::enum_variant_names)]
 5830   7327   
    #[derive(Debug, PartialEq)]
 5831   7328   
    pub(crate) enum ConstraintViolation {
 5832   7329   
        #[doc(hidden)]
 5833   7330   
        Key(crate::model::pattern_string_internal::ConstraintViolation),
 5834   7331   
        #[doc(hidden)]
 5835   7332   
        Value(
 5836   7333   
            crate::model::PatternString,
 5837   7334   
            crate::model::pattern_string_internal::ConstraintViolation,
 5838   7335   
        ),
 5839   7336   
    }
 5840   7337   
 5841   7338   
    impl ::std::fmt::Display for ConstraintViolation {
 5842   7339   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5843   7340   
            match self {
 5844   7341   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 5845   7342   
                Self::Value(_, value_constraint_violation) => {
 5846   7343   
                    write!(f, "{}", value_constraint_violation)
 5847   7344   
                }
 5848   7345   
            }
 5849   7346   
        }
 5850   7347   
    }
 5851   7348   
 5852   7349   
    impl ::std::error::Error for ConstraintViolation {}
        7350  +
    /* MapConstraintViolationGenerator.kt:111 */
 5853   7351   
    impl ConstraintViolation {
 5854   7352   
        pub(crate) fn as_validation_exception_field(
 5855   7353   
            self,
 5856   7354   
            path: ::std::string::String,
 5857   7355   
        ) -> crate::model::ValidationExceptionField {
 5858   7356   
            match self {
 5859   7357   
                Self::Key(key_constraint_violation) => {
 5860   7358   
                    key_constraint_violation.as_validation_exception_field(path)
 5861   7359   
                }
 5862   7360   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 5863   7361   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 5864   7362   
            }
 5865   7363   
        }
 5866   7364   
    }
        7365  +
        7366  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5867   7367   
}
 5868   7368   
pub(crate) mod map_of_list_of_enum_string_internal {
 5869   7369   
        7370  +
    /* MapConstraintViolationGenerator.kt:82 */
 5870   7371   
    #[allow(clippy::enum_variant_names)]
 5871   7372   
    #[derive(Debug, PartialEq)]
 5872   7373   
    pub(crate) enum ConstraintViolation {
 5873   7374   
        #[doc(hidden)]
 5874   7375   
        Key(crate::model::enum_string_internal::ConstraintViolation),
 5875   7376   
        #[doc(hidden)]
 5876   7377   
        Value(
 5877   7378   
            crate::model::EnumString,
 5878   7379   
            crate::model::list_of_enum_string_internal::ConstraintViolation,
 5879   7380   
        ),
 5880   7381   
    }
 5881   7382   
 5882   7383   
    impl ::std::fmt::Display for ConstraintViolation {
 5883   7384   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5884   7385   
            match self {
 5885   7386   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 5886   7387   
                Self::Value(_, value_constraint_violation) => {
 5887   7388   
                    write!(f, "{}", value_constraint_violation)
 5888   7389   
                }
 5889   7390   
            }
 5890   7391   
        }
 5891   7392   
    }
 5892   7393   
 5893   7394   
    impl ::std::error::Error for ConstraintViolation {}
        7395  +
    /* MapConstraintViolationGenerator.kt:111 */
 5894   7396   
    impl ConstraintViolation {
 5895   7397   
        pub(crate) fn as_validation_exception_field(
 5896   7398   
            self,
 5897   7399   
            path: ::std::string::String,
 5898   7400   
        ) -> crate::model::ValidationExceptionField {
 5899   7401   
            match self {
 5900   7402   
                Self::Key(key_constraint_violation) => {
 5901   7403   
                    key_constraint_violation.as_validation_exception_field(path)
 5902   7404   
                }
 5903   7405   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 5904   7406   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 5905   7407   
            }
 5906   7408   
        }
 5907   7409   
    }
        7410  +
        7411  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5908   7412   
}
 5909   7413   
pub(crate) mod list_of_enum_string_internal {
 5910   7414   
        7415  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 5911   7416   
    #[allow(clippy::enum_variant_names)]
 5912   7417   
    #[derive(Debug, PartialEq)]
 5913   7418   
    pub(crate) enum ConstraintViolation {
 5914   7419   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 5915   7420   
        /// The first component of the tuple is the index in the collection where the
 5916   7421   
        /// first constraint violation was found.
 5917   7422   
        #[doc(hidden)]
 5918   7423   
        Member(
 5919   7424   
            usize,
 5920   7425   
            crate::model::enum_string_internal::ConstraintViolation,
 5921   7426   
        ),
 5922   7427   
    }
 5923   7428   
 5924   7429   
    impl ::std::fmt::Display for ConstraintViolation {
 5925   7430   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5926   7431   
            let message = match self {
 5927   7432   
                Self::Member(index, failing_member) => format!(
 5928   7433   
                    "Value at index {index} failed to satisfy constraint. {}",
 5929   7434   
                    failing_member
 5930   7435   
                ),
 5931   7436   
            };
 5932   7437   
            write!(f, "{message}")
 5933   7438   
        }
 5934   7439   
    }
 5935   7440   
 5936   7441   
    impl ::std::error::Error for ConstraintViolation {}
        7442  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 5937   7443   
    impl ConstraintViolation {
 5938   7444   
        pub(crate) fn as_validation_exception_field(
 5939   7445   
            self,
 5940   7446   
            path: ::std::string::String,
 5941   7447   
        ) -> crate::model::ValidationExceptionField {
 5942   7448   
            match self {
 5943   7449   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 5944   7450   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 5945   7451   
            }
 5946   7452   
        }
 5947   7453   
    }
        7454  +
        7455  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5948   7456   
}
 5949   7457   
pub(crate) mod map_of_length_list_of_pattern_string_internal {
 5950   7458   
        7459  +
    /* MapConstraintViolationGenerator.kt:82 */
 5951   7460   
    #[allow(clippy::enum_variant_names)]
 5952   7461   
    #[derive(Debug, PartialEq)]
 5953   7462   
    pub(crate) enum ConstraintViolation {
 5954   7463   
        #[doc(hidden)]
 5955   7464   
        Key(crate::model::pattern_string_internal::ConstraintViolation),
 5956   7465   
        #[doc(hidden)]
 5957   7466   
        Value(
 5958   7467   
            crate::model::PatternString,
 5959   7468   
            crate::model::length_list_of_pattern_string_internal::ConstraintViolation,
 5960   7469   
        ),
 5961   7470   
    }
 5962   7471   
 5963   7472   
    impl ::std::fmt::Display for ConstraintViolation {
 5964   7473   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5965   7474   
            match self {
 5966   7475   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 5967   7476   
                Self::Value(_, value_constraint_violation) => {
 5968   7477   
                    write!(f, "{}", value_constraint_violation)
 5969   7478   
                }
 5970   7479   
            }
 5971   7480   
        }
 5972   7481   
    }
 5973   7482   
 5974   7483   
    impl ::std::error::Error for ConstraintViolation {}
        7484  +
    /* MapConstraintViolationGenerator.kt:111 */
 5975   7485   
    impl ConstraintViolation {
 5976   7486   
        pub(crate) fn as_validation_exception_field(
 5977   7487   
            self,
 5978   7488   
            path: ::std::string::String,
 5979   7489   
        ) -> crate::model::ValidationExceptionField {
 5980   7490   
            match self {
 5981   7491   
                Self::Key(key_constraint_violation) => {
 5982   7492   
                    key_constraint_violation.as_validation_exception_field(path)
 5983   7493   
                }
 5984   7494   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 5985   7495   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 5986   7496   
            }
 5987   7497   
        }
 5988   7498   
    }
        7499  +
        7500  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5989   7501   
}
 5990   7502   
pub(crate) mod length_list_of_pattern_string_internal {
 5991   7503   
        7504  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 5992   7505   
    #[allow(clippy::enum_variant_names)]
 5993   7506   
    #[derive(Debug, PartialEq)]
 5994   7507   
    pub(crate) enum ConstraintViolation {
 5995   7508   
        /// Constraint violation error when the list doesn't have the required length
 5996   7509   
        Length(usize),
 5997   7510   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 5998   7511   
        /// The first component of the tuple is the index in the collection where the
 5999   7512   
        /// first constraint violation was found.
 6000   7513   
        #[doc(hidden)]
 6001   7514   
        Member(
 6002   7515   
            usize,
 6003   7516   
            crate::model::pattern_string_internal::ConstraintViolation,
 6004   7517   
        ),
 6005   7518   
    }
 6006   7519   
 6007   7520   
    impl ::std::fmt::Display for ConstraintViolation {
 6008   7521   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 6009   7522   
            let message = match self {
 6010   7523   
                Self::Length(length) => {
 6011   7524   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#LengthListOfPatternString' failed to satisfy constraint: Member must have length between 12 and 39, inclusive", length)
 6012   7525   
                }
 6013   7526   
                Self::Member(index, failing_member) => format!(
 6014   7527   
                    "Value at index {index} failed to satisfy constraint. {}",
 6015   7528   
                    failing_member
 6016   7529   
                ),
 6017   7530   
            };
 6018   7531   
            write!(f, "{message}")
 6019   7532   
        }
 6020   7533   
    }
 6021   7534   
 6022   7535   
    impl ::std::error::Error for ConstraintViolation {}
        7536  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 6023   7537   
    impl ConstraintViolation {
 6024   7538   
        pub(crate) fn as_validation_exception_field(
 6025   7539   
            self,
 6026   7540   
            path: ::std::string::String,
 6027   7541   
        ) -> crate::model::ValidationExceptionField {
 6028   7542   
            match self {
 6029   7543   
                        Self::Length(length) => crate::model::ValidationExceptionField {
 6030   7544   
                                message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 12 and 39, inclusive", length, &path),
 6031   7545   
                                path,
 6032   7546   
                            },
 6033   7547   
    Self::Member(index, member_constraint_violation) =>
 6034   7548   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 6035   7549   
                    }
 6036   7550   
        }
 6037   7551   
    }
        7552  +
        7553  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6038   7554   
}
 6039   7555   
pub(crate) mod map_of_set_of_length_string_internal {
 6040   7556   
        7557  +
    /* MapConstraintViolationGenerator.kt:82 */
 6041   7558   
    #[allow(clippy::enum_variant_names)]
 6042   7559   
    #[derive(Debug, PartialEq)]
 6043   7560   
    pub(crate) enum ConstraintViolation {
 6044   7561   
        #[doc(hidden)]
 6045   7562   
        Key(crate::model::length_string_internal::ConstraintViolation),
 6046   7563   
        #[doc(hidden)]
 6047   7564   
        Value(
 6048   7565   
            crate::model::LengthString,
 6049   7566   
            crate::model::set_of_length_string_internal::ConstraintViolation,
 6050   7567   
        ),
 6051   7568   
    }
 6052   7569   
 6053   7570   
    impl ::std::fmt::Display for ConstraintViolation {
 6054   7571   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 6055   7572   
            match self {
 6056   7573   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 6057   7574   
                Self::Value(_, value_constraint_violation) => {
 6058   7575   
                    write!(f, "{}", value_constraint_violation)
 6059   7576   
                }
 6060   7577   
            }
 6061   7578   
        }
 6062   7579   
    }
 6063   7580   
 6064   7581   
    impl ::std::error::Error for ConstraintViolation {}
        7582  +
    /* MapConstraintViolationGenerator.kt:111 */
 6065   7583   
    impl ConstraintViolation {
 6066   7584   
        pub(crate) fn as_validation_exception_field(
 6067   7585   
            self,
 6068   7586   
            path: ::std::string::String,
 6069   7587   
        ) -> crate::model::ValidationExceptionField {
 6070   7588   
            match self {
 6071   7589   
                Self::Key(key_constraint_violation) => {
 6072   7590   
                    key_constraint_violation.as_validation_exception_field(path)
 6073   7591   
                }
 6074   7592   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 6075   7593   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 6076   7594   
            }
 6077   7595   
        }
 6078   7596   
    }
        7597  +
        7598  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6079   7599   
}
 6080   7600   
pub(crate) mod set_of_length_string_internal {
 6081   7601   
        7602  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 6082   7603   
    #[allow(clippy::enum_variant_names)]
 6083   7604   
    #[derive(Debug, PartialEq)]
 6084   7605   
    pub(crate) enum ConstraintViolation {
 6085   7606   
        /// Constraint violation error when the list does not contain unique items
 6086   7607   
        UniqueItems {
 6087   7608   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 6088   7609   
            /// at least two elements.
 6089   7610   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 6090   7611   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 6091   7612   
            /// Nothing is guaranteed about the order of the indices.
 6092   7613   
            duplicate_indices: ::std::vec::Vec<usize>,
 6093   7614   
            /// The original vector, that contains duplicate items.
 6094   7615   
            original: ::std::vec::Vec<crate::model::LengthString>,
 6095   7616   
        },
 6096   7617   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 6097   7618   
        /// The first component of the tuple is the index in the collection where the
 6098   7619   
        /// first constraint violation was found.
 6099   7620   
        #[doc(hidden)]
 6100   7621   
        Member(
 6101   7622   
            usize,
 6102   7623   
            crate::model::length_string_internal::ConstraintViolation,
 6103   7624   
        ),
 6104   7625   
    }
 6105   7626   
 6106   7627   
    impl ::std::fmt::Display for ConstraintViolation {
 6107   7628   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 6108   7629   
            let message = match self {
 6109   7630   
                                Self::UniqueItems { duplicate_indices, .. } =>
 6110   7631   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#SetOfLengthString' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 6111   7632   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 6112   7633   
                           failing_member)
 6113   7634   
                            };
 6114   7635   
            write!(f, "{message}")
 6115   7636   
        }
 6116   7637   
    }
 6117   7638   
 6118   7639   
    impl ::std::error::Error for ConstraintViolation {}
        7640  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 6119   7641   
    impl ConstraintViolation {
 6120   7642   
        pub(crate) fn as_validation_exception_field(
 6121   7643   
            self,
 6122   7644   
            path: ::std::string::String,
 6123   7645   
        ) -> crate::model::ValidationExceptionField {
 6124   7646   
            match self {
 6125   7647   
                        Self::UniqueItems { duplicate_indices, .. } =>
 6126   7648   
                                crate::model::ValidationExceptionField {
 6127   7649   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 6128   7650   
                                    path,
 6129   7651   
                                },
 6130   7652   
    Self::Member(index, member_constraint_violation) =>
 6131   7653   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 6132   7654   
                    }
 6133   7655   
        }
 6134   7656   
    }
        7657  +
        7658  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6135   7659   
}
 6136   7660   
pub(crate) mod map_of_list_of_length_string_internal {
 6137   7661   
        7662  +
    /* MapConstraintViolationGenerator.kt:82 */
 6138   7663   
    #[allow(clippy::enum_variant_names)]
 6139   7664   
    #[derive(Debug, PartialEq)]
 6140   7665   
    pub(crate) enum ConstraintViolation {
 6141   7666   
        #[doc(hidden)]
 6142   7667   
        Key(crate::model::length_string_internal::ConstraintViolation),
 6143   7668   
        #[doc(hidden)]
 6144   7669   
        Value(
 6145   7670   
            crate::model::LengthString,
 6146   7671   
            crate::model::list_of_length_string_internal::ConstraintViolation,
 6147   7672   
        ),
 6148   7673   
    }
 6149   7674   
 6150   7675   
    impl ::std::fmt::Display for ConstraintViolation {
 6151   7676   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 6152   7677   
            match self {
 6153   7678   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 6154   7679   
                Self::Value(_, value_constraint_violation) => {
 6155   7680   
                    write!(f, "{}", value_constraint_violation)
 6156   7681   
                }
 6157   7682   
            }
 6158   7683   
        }
 6159   7684   
    }
 6160   7685   
 6161   7686   
    impl ::std::error::Error for ConstraintViolation {}
        7687  +
    /* MapConstraintViolationGenerator.kt:111 */
 6162   7688   
    impl ConstraintViolation {
 6163   7689   
        pub(crate) fn as_validation_exception_field(
 6164   7690   
            self,
 6165   7691   
            path: ::std::string::String,
 6166   7692   
        ) -> crate::model::ValidationExceptionField {
 6167   7693   
            match self {
 6168   7694   
                Self::Key(key_constraint_violation) => {
 6169   7695   
                    key_constraint_violation.as_validation_exception_field(path)
 6170   7696   
                }
 6171   7697   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 6172   7698   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 6173   7699   
            }
 6174   7700   
        }
 6175   7701   
    }
        7702  +
        7703  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6176   7704   
}
 6177   7705   
pub(crate) mod list_of_length_string_internal {
 6178   7706   
        7707  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 6179   7708   
    #[allow(clippy::enum_variant_names)]
 6180   7709   
    #[derive(Debug, PartialEq)]
 6181   7710   
    pub(crate) enum ConstraintViolation {
 6182   7711   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 6183   7712   
        /// The first component of the tuple is the index in the collection where the
 6184   7713   
        /// first constraint violation was found.
 6185   7714   
        #[doc(hidden)]
 6186   7715   
        Member(
 6187   7716   
            usize,
 6188   7717   
            crate::model::length_string_internal::ConstraintViolation,
 6189   7718   
        ),
 6190   7719   
    }
 6191   7720   
 6192   7721   
    impl ::std::fmt::Display for ConstraintViolation {
 6193   7722   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 6194   7723   
            let message = match self {
 6195   7724   
                Self::Member(index, failing_member) => format!(
 6196   7725   
                    "Value at index {index} failed to satisfy constraint. {}",
 6197   7726   
                    failing_member
 6198   7727   
                ),
 6199   7728   
            };
 6200   7729   
            write!(f, "{message}")
 6201   7730   
        }
 6202   7731   
    }
 6203   7732   
 6204   7733   
    impl ::std::error::Error for ConstraintViolation {}
        7734  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 6205   7735   
    impl ConstraintViolation {
 6206   7736   
        pub(crate) fn as_validation_exception_field(
 6207   7737   
            self,
 6208   7738   
            path: ::std::string::String,
 6209   7739   
        ) -> crate::model::ValidationExceptionField {
 6210   7740   
            match self {
 6211   7741   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 6212   7742   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 6213   7743   
            }
 6214   7744   
        }
 6215   7745   
    }
        7746  +
        7747  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6216   7748   
}
 6217   7749   
pub(crate) mod map_of_length_string_internal {
 6218   7750   
        7751  +
    /* MapConstraintViolationGenerator.kt:82 */
 6219   7752   
    #[allow(clippy::enum_variant_names)]
 6220   7753   
    #[derive(Debug, PartialEq)]
 6221   7754   
    pub(crate) enum ConstraintViolation {
 6222   7755   
        #[doc(hidden)]
 6223   7756   
        Key(crate::model::length_string_internal::ConstraintViolation),
 6224   7757   
        #[doc(hidden)]
 6225   7758   
        Value(
 6226   7759   
            crate::model::LengthString,
 6227   7760   
            crate::model::length_string_internal::ConstraintViolation,
 6228   7761   
        ),
 6229   7762   
    }
 6230   7763   
 6231   7764   
    impl ::std::fmt::Display for ConstraintViolation {
 6232   7765   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 6233   7766   
            match self {
 6234   7767   
                Self::Key(key_constraint_violation) => write!(f, "{}", key_constraint_violation),
 6235   7768   
                Self::Value(_, value_constraint_violation) => {
 6236   7769   
                    write!(f, "{}", value_constraint_violation)
 6237   7770   
                }
 6238   7771   
            }
 6239   7772   
        }
 6240   7773   
    }
 6241   7774   
 6242   7775   
    impl ::std::error::Error for ConstraintViolation {}
        7776  +
    /* MapConstraintViolationGenerator.kt:111 */
 6243   7777   
    impl ConstraintViolation {
 6244   7778   
        pub(crate) fn as_validation_exception_field(
 6245   7779   
            self,
 6246   7780   
            path: ::std::string::String,
 6247   7781   
        ) -> crate::model::ValidationExceptionField {
 6248   7782   
            match self {
 6249   7783   
                Self::Key(key_constraint_violation) => {
 6250   7784   
                    key_constraint_violation.as_validation_exception_field(path)
 6251   7785   
                }
 6252   7786   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 6253   7787   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 6254   7788   
            }
 6255   7789   
        }
 6256   7790   
    }
        7791  +
        7792  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6257   7793   
}
 6258   7794   
pub(crate) mod recursive_list_internal {
 6259   7795   
        7796  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 6260   7797   
    #[allow(clippy::enum_variant_names)]
 6261   7798   
    #[derive(Debug, PartialEq)]
 6262   7799   
    pub(crate) enum ConstraintViolation {
 6263   7800   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 6264   7801   
        /// The first component of the tuple is the index in the collection where the
 6265   7802   
        /// first constraint violation was found.
 6266   7803   
        #[doc(hidden)]
 6267   7804   
        Member(
 6268   7805   
            usize,
 6269   7806   
            crate::model::recursive_shapes_input_output_nested1_internal::ConstraintViolation,
 6270   7807   
        ),
 6271   7808   
    }
 6272   7809   
 6273   7810   
    impl ::std::fmt::Display for ConstraintViolation {
 6274   7811   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 6275   7812   
            let message = match self {
 6276   7813   
                Self::Member(index, failing_member) => format!(
 6277   7814   
                    "Value at index {index} failed to satisfy constraint. {}",
 6278   7815   
                    failing_member
 6279   7816   
                ),
 6280   7817   
            };
 6281   7818   
            write!(f, "{message}")
 6282   7819   
        }
 6283   7820   
    }
 6284   7821   
 6285   7822   
    impl ::std::error::Error for ConstraintViolation {}
        7823  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 6286   7824   
    impl ConstraintViolation {
 6287   7825   
        pub(crate) fn as_validation_exception_field(
 6288   7826   
            self,
 6289   7827   
            path: ::std::string::String,
 6290   7828   
        ) -> crate::model::ValidationExceptionField {
 6291   7829   
            match self {
 6292   7830   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 6293   7831   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 6294   7832   
            }
 6295   7833   
        }
 6296   7834   
    }
        7835  +
        7836  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6297   7837   
}
 6298         -
/// See [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
        7838  +
/// /* ServerBuilderGenerator.kt:171 */See [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
 6299   7839   
pub(crate) mod recursive_shapes_input_output_nested1_internal {
 6300   7840   
        7841  +
    /* RustType.kt:516 */
 6301   7842   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 6302         -
    /// Holds one variant for each of the ways the builder can fail.
        7843  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        7844  +
    /* RustType.kt:516 */
 6303   7845   
    #[non_exhaustive]
        7846  +
    /* ServerBuilderConstraintViolations.kt:75 */
 6304   7847   
    #[allow(clippy::enum_variant_names)]
 6305   7848   
    pub(crate) enum ConstraintViolation {
 6306         -
        /// `recursive_member` was not provided but it is required when building `RecursiveShapesInputOutputNested1`.
        7849  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`recursive_member` was not provided but it is required when building `RecursiveShapesInputOutputNested1`.
        7850  +
        /* ServerBuilderConstraintViolations.kt:143 */
 6307   7851   
        MissingRecursiveMember,
 6308         -
        /// Constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested1`.
        7852  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested1`.
        7853  +
        /* RustType.kt:516 */
 6309   7854   
        #[doc(hidden)]
        7855  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6310   7856   
        RecursiveMember(
 6311   7857   
            ::std::boxed::Box<
 6312   7858   
                crate::model::recursive_shapes_input_output_nested2_internal::ConstraintViolation,
 6313   7859   
            >,
 6314   7860   
        ),
        7861  +
        /* ServerBuilderConstraintViolations.kt:75 */
 6315   7862   
    }
        7863  +
    /* ServerBuilderConstraintViolations.kt:117 */
 6316   7864   
    impl ::std::fmt::Display for ConstraintViolation {
        7865  +
        /* ServerBuilderConstraintViolations.kt:118 */
 6317   7866   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        7867  +
            /* ServerBuilderConstraintViolations.kt:119 */
 6318   7868   
            match self {
 6319         -
                ConstraintViolation::MissingRecursiveMember => write!(f, "`recursive_member` was not provided but it is required when building `RecursiveShapesInputOutputNested1`"),
 6320         -
                ConstraintViolation::RecursiveMember(_) => write!(f, "constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested1`"),
 6321         -
            }
        7869  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingRecursiveMember => write!(f, "`recursive_member` was not provided but it is required when building `RecursiveShapesInputOutputNested1`"),
        7870  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::RecursiveMember(_) => write!(f, "constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested1`"),
        7871  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        7872  +
            /* ServerBuilderConstraintViolations.kt:118 */
 6322   7873   
        }
        7874  +
        /* ServerBuilderConstraintViolations.kt:117 */
 6323   7875   
    }
        7876  +
    /* ServerBuilderConstraintViolations.kt:84 */
 6324   7877   
    impl ::std::error::Error for ConstraintViolation {}
        7878  +
    /* ServerBuilderConstraintViolations.kt:171 */
 6325   7879   
    impl ConstraintViolation {
 6326   7880   
        pub(crate) fn as_validation_exception_field(
 6327   7881   
            self,
 6328   7882   
            path: ::std::string::String,
 6329   7883   
        ) -> crate::model::ValidationExceptionField {
 6330   7884   
            match self {
 6331   7885   
            ConstraintViolation::MissingRecursiveMember => crate::model::ValidationExceptionField {
 6332   7886   
                                                message: format!("Value at '{}/recursiveMember' failed to satisfy constraint: Member must not be null", path),
 6333   7887   
                                                path: path + "/recursiveMember",
 6334   7888   
                                            },
 6335   7889   
            ConstraintViolation::RecursiveMember(inner) => inner.as_validation_exception_field(path + "/recursiveMember"),
 6336   7890   
        }
 6337   7891   
        }
 6338   7892   
    }
        7893  +
    /* ServerBuilderGenerator.kt:244 */
 6339   7894   
    impl ::std::convert::From<Builder>
 6340   7895   
        for crate::constrained::MaybeConstrained<crate::model::RecursiveShapesInputOutputNested1>
 6341   7896   
    {
 6342   7897   
        fn from(builder: Builder) -> Self {
 6343   7898   
            Self::Unconstrained(builder)
 6344   7899   
        }
 6345   7900   
    }
        7901  +
    /* ServerBuilderGenerator.kt:446 */
 6346   7902   
    impl ::std::convert::TryFrom<Builder> for crate::model::RecursiveShapesInputOutputNested1 {
 6347   7903   
        type Error = ConstraintViolation;
 6348   7904   
 6349   7905   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 6350   7906   
            builder.build()
 6351   7907   
        }
 6352   7908   
    }
 6353         -
    /// A builder for [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
        7909  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
        7910  +
    /* RustType.kt:516 */
 6354   7911   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        7912  +
    /* ServerBuilderGenerator.kt:211 */
 6355   7913   
    pub(crate) struct Builder {
        7914  +
        /* ServerBuilderGenerator.kt:308 */
 6356   7915   
        pub(crate) recursive_member: ::std::option::Option<
 6357   7916   
            ::std::boxed::Box<
 6358   7917   
                crate::constrained::MaybeConstrained<
 6359   7918   
                    crate::model::RecursiveShapesInputOutputNested2,
 6360   7919   
                >,
 6361   7920   
            >,
 6362   7921   
        >,
        7922  +
        /* ServerBuilderGenerator.kt:211 */
 6363   7923   
    }
        7924  +
    /* ServerBuilderGenerator.kt:215 */
 6364   7925   
    impl Builder {
        7926  +
        /* ServerBuilderGenerator.kt:426 */
 6365   7927   
        #[allow(missing_docs)] // documentation missing in model
        7928  +
                               /* ServerBuilderGenerator.kt:428 */
 6366   7929   
        pub(crate) fn set_recursive_member(
 6367   7930   
            mut self,
 6368   7931   
            input: impl ::std::convert::Into<
 6369   7932   
                ::std::boxed::Box<
 6370   7933   
                    crate::constrained::MaybeConstrained<
 6371   7934   
                        crate::model::RecursiveShapesInputOutputNested2,
 6372   7935   
                    >,
 6373   7936   
                >,
 6374   7937   
            >,
 6375   7938   
        ) -> Self {
        7939  +
            /* ServerBuilderGenerator.kt:429 */
 6376   7940   
            self.recursive_member = Some(input.into());
 6377   7941   
            self
        7942  +
            /* ServerBuilderGenerator.kt:428 */
 6378   7943   
        }
 6379         -
        /// Consumes the builder and constructs a [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
 6380         -
        ///
        7944  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
        7945  +
        /// /* ServerBuilderGenerator.kt:260 */
 6381   7946   
        /// The builder fails to construct a [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1) if a [`ConstraintViolation`] occurs.
 6382   7947   
        ///
 6383         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        7948  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        7949  +
        /* ServerBuilderGenerator.kt:271 */
 6384   7950   
        pub fn build(
 6385   7951   
            self,
 6386   7952   
        ) -> Result<crate::model::RecursiveShapesInputOutputNested1, ConstraintViolation> {
 6387   7953   
            self.build_enforcing_all_constraints()
 6388   7954   
        }
        7955  +
        /* ServerBuilderGenerator.kt:283 */
 6389   7956   
        fn build_enforcing_all_constraints(
 6390   7957   
            self,
 6391   7958   
        ) -> Result<crate::model::RecursiveShapesInputOutputNested1, ConstraintViolation> {
 6392         -
            Ok(crate::model::RecursiveShapesInputOutputNested1 {
 6393         -
                recursive_member: self
 6394         -
                    .recursive_member
 6395         -
                    .map(|v| match *v {
 6396         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(Box::new(x)),
 6397         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => {
 6398         -
                            Ok(Box::new(x.try_into()?))
 6399         -
                        }
 6400         -
                    })
 6401         -
                    .map(|res| {
 6402         -
                        res.map_err(Box::new)
 6403         -
                            .map_err(ConstraintViolation::RecursiveMember)
 6404         -
                    })
 6405         -
                    .transpose()?
 6406         -
                    .ok_or(ConstraintViolation::MissingRecursiveMember)?,
 6407         -
            })
        7959  +
            /* ServerBuilderGenerator.kt:287 */
        7960  +
            Ok(
        7961  +
                /* ServerBuilderGenerator.kt:542 */
        7962  +
                crate::model::RecursiveShapesInputOutputNested1 {
        7963  +
                    /* ServerBuilderGenerator.kt:546 */
        7964  +
                    recursive_member: self
        7965  +
                        .recursive_member
        7966  +
                        /* ServerBuilderGenerator.kt:592 */
        7967  +
                        .map(|v| match *v {
        7968  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(Box::new(x)),
        7969  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => {
        7970  +
                                Ok(Box::new(x.try_into()?))
        7971  +
                            }
        7972  +
                        })
        7973  +
                        /* ServerBuilderGenerator.kt:614 */
        7974  +
                        .map(|res| {
        7975  +
                            res.map_err(Box::new)
        7976  +
                                .map_err(ConstraintViolation::RecursiveMember)
        7977  +
                        })
        7978  +
                        .transpose()?
        7979  +
                        /* ServerBuilderGenerator.kt:569 */
        7980  +
                        .ok_or(ConstraintViolation::MissingRecursiveMember)?,
        7981  +
                    /* ServerBuilderGenerator.kt:542 */
        7982  +
                }, /* ServerBuilderGenerator.kt:287 */
        7983  +
            )
        7984  +
            /* ServerBuilderGenerator.kt:283 */
 6408   7985   
        }
        7986  +
        /* ServerBuilderGenerator.kt:215 */
 6409   7987   
    }
        7988  +
        7989  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6410   7990   
}
 6411         -
/// See [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
        7991  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
 6412   7992   
pub mod recursive_shapes_input_output_nested1 {
 6413   7993   
        7994  +
    /* RustType.kt:516 */
 6414   7995   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 6415         -
    /// Holds one variant for each of the ways the builder can fail.
 6416         -
        7996  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        7997  +
    /* ServerBuilderConstraintViolations.kt:75 */
 6417   7998   
    #[allow(clippy::enum_variant_names)]
 6418   7999   
    pub enum ConstraintViolation {
 6419         -
        /// `recursive_member` was not provided but it is required when building `RecursiveShapesInputOutputNested1`.
        8000  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`recursive_member` was not provided but it is required when building `RecursiveShapesInputOutputNested1`.
        8001  +
        /* ServerBuilderConstraintViolations.kt:143 */
 6420   8002   
        MissingRecursiveMember,
        8003  +
        /* ServerBuilderConstraintViolations.kt:75 */
 6421   8004   
    }
        8005  +
    /* ServerBuilderConstraintViolations.kt:117 */
 6422   8006   
    impl ::std::fmt::Display for ConstraintViolation {
        8007  +
        /* ServerBuilderConstraintViolations.kt:118 */
 6423   8008   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        8009  +
            /* ServerBuilderConstraintViolations.kt:119 */
 6424   8010   
            match self {
 6425         -
                ConstraintViolation::MissingRecursiveMember => write!(f, "`recursive_member` was not provided but it is required when building `RecursiveShapesInputOutputNested1`"),
 6426         -
            }
        8011  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingRecursiveMember => write!(f, "`recursive_member` was not provided but it is required when building `RecursiveShapesInputOutputNested1`"),
        8012  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        8013  +
            /* ServerBuilderConstraintViolations.kt:118 */
 6427   8014   
        }
        8015  +
        /* ServerBuilderConstraintViolations.kt:117 */
 6428   8016   
    }
        8017  +
    /* ServerBuilderConstraintViolations.kt:84 */
 6429   8018   
    impl ::std::error::Error for ConstraintViolation {}
        8019  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:254 */
 6430   8020   
    impl ::std::convert::TryFrom<Builder> for crate::model::RecursiveShapesInputOutputNested1 {
 6431   8021   
        type Error = ConstraintViolation;
 6432   8022   
 6433   8023   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 6434   8024   
            builder.build()
 6435   8025   
        }
 6436   8026   
    }
 6437         -
    /// A builder for [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
        8027  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
        8028  +
    /* RustType.kt:516 */
 6438   8029   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        8030  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 6439   8031   
    pub struct Builder {
        8032  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 6440   8033   
        pub(crate) recursive_member: ::std::option::Option<
 6441   8034   
            ::std::boxed::Box<crate::model::RecursiveShapesInputOutputNested2>,
 6442   8035   
        >,
        8036  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 6443   8037   
    }
        8038  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 6444   8039   
    impl Builder {
        8040  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 6445   8041   
        #[allow(missing_docs)] // documentation missing in model
        8042  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6446   8043   
        pub fn recursive_member(
 6447   8044   
            mut self,
 6448   8045   
            input: ::std::boxed::Box<crate::model::RecursiveShapesInputOutputNested2>,
 6449   8046   
        ) -> Self {
 6450         -
            self.recursive_member = Some(input);
        8047  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
        8048  +
            self.recursive_member =
        8049  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
        8050  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
        8051  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
        8052  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 6451   8053   
            self
        8054  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6452   8055   
        }
 6453         -
        /// Consumes the builder and constructs a [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
 6454         -
        ///
        8056  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1).
        8057  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:152 */
 6455   8058   
        /// The builder fails to construct a [`RecursiveShapesInputOutputNested1`](crate::model::RecursiveShapesInputOutputNested1) if you do not provide a value for all non-`Option`al members.
 6456   8059   
        ///
        8060  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 6457   8061   
        pub fn build(
 6458   8062   
            self,
 6459   8063   
        ) -> Result<crate::model::RecursiveShapesInputOutputNested1, ConstraintViolation> {
 6460   8064   
            self.build_enforcing_required_and_enum_traits()
 6461   8065   
        }
        8066  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 6462   8067   
        fn build_enforcing_required_and_enum_traits(
 6463   8068   
            self,
 6464   8069   
        ) -> Result<crate::model::RecursiveShapesInputOutputNested1, ConstraintViolation> {
 6465         -
            Ok(crate::model::RecursiveShapesInputOutputNested1 {
 6466         -
                recursive_member: self
 6467         -
                    .recursive_member
 6468         -
                    .ok_or(ConstraintViolation::MissingRecursiveMember)?,
 6469         -
            })
        8070  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
        8071  +
            Ok(
        8072  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
        8073  +
                crate::model::RecursiveShapesInputOutputNested1 {
        8074  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
        8075  +
                    recursive_member: self
        8076  +
                        .recursive_member
        8077  +
                        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:202 */
        8078  +
                        .ok_or(ConstraintViolation::MissingRecursiveMember)?,
        8079  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
        8080  +
                }, /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
        8081  +
            )
        8082  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 6470   8083   
        }
        8084  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 6471   8085   
    }
        8086  +
        8087  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6472   8088   
}
 6473         -
/// See [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        8089  +
/// /* ServerBuilderGenerator.kt:171 */See [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
 6474   8090   
pub(crate) mod recursive_shapes_input_output_nested2_internal {
 6475   8091   
        8092  +
    /* RustType.kt:516 */
 6476   8093   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 6477         -
    /// Holds one variant for each of the ways the builder can fail.
        8094  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        8095  +
    /* RustType.kt:516 */
 6478   8096   
    #[non_exhaustive]
        8097  +
    /* ServerBuilderConstraintViolations.kt:75 */
 6479   8098   
    #[allow(clippy::enum_variant_names)]
 6480   8099   
    pub(crate) enum ConstraintViolation {
 6481         -
        /// Constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested2`.
        8100  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested2`.
        8101  +
        /* RustType.kt:516 */
 6482   8102   
        #[doc(hidden)]
        8103  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6483   8104   
        RecursiveMember(
 6484   8105   
            crate::model::recursive_shapes_input_output_nested1_internal::ConstraintViolation,
 6485   8106   
        ),
        8107  +
        /* ServerBuilderConstraintViolations.kt:75 */
 6486   8108   
    }
        8109  +
    /* ServerBuilderConstraintViolations.kt:117 */
 6487   8110   
    impl ::std::fmt::Display for ConstraintViolation {
        8111  +
        /* ServerBuilderConstraintViolations.kt:118 */
 6488   8112   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        8113  +
            /* ServerBuilderConstraintViolations.kt:119 */
 6489   8114   
            match self {
 6490         -
                ConstraintViolation::RecursiveMember(_) => write!(f, "constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested2`"),
 6491         -
            }
        8115  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::RecursiveMember(_) => write!(f, "constraint violation occurred building member `recursive_member` when building `RecursiveShapesInputOutputNested2`"),
        8116  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        8117  +
            /* ServerBuilderConstraintViolations.kt:118 */
 6492   8118   
        }
        8119  +
        /* ServerBuilderConstraintViolations.kt:117 */
 6493   8120   
    }
        8121  +
    /* ServerBuilderConstraintViolations.kt:84 */
 6494   8122   
    impl ::std::error::Error for ConstraintViolation {}
        8123  +
    /* ServerBuilderConstraintViolations.kt:171 */
 6495   8124   
    impl ConstraintViolation {
 6496   8125   
        pub(crate) fn as_validation_exception_field(
 6497   8126   
            self,
 6498   8127   
            path: ::std::string::String,
 6499   8128   
        ) -> crate::model::ValidationExceptionField {
 6500   8129   
            match self {
 6501   8130   
                ConstraintViolation::RecursiveMember(inner) => {
 6502   8131   
                    inner.as_validation_exception_field(path + "/recursiveMember")
 6503   8132   
                }
 6504   8133   
            }
 6505   8134   
        }
 6506   8135   
    }
        8136  +
    /* ServerBuilderGenerator.kt:244 */
 6507   8137   
    impl ::std::convert::From<Builder>
 6508   8138   
        for crate::constrained::MaybeConstrained<crate::model::RecursiveShapesInputOutputNested2>
 6509   8139   
    {
 6510   8140   
        fn from(builder: Builder) -> Self {
 6511   8141   
            Self::Unconstrained(builder)
 6512   8142   
        }
 6513   8143   
    }
        8144  +
    /* ServerBuilderGenerator.kt:446 */
 6514   8145   
    impl ::std::convert::TryFrom<Builder> for crate::model::RecursiveShapesInputOutputNested2 {
 6515   8146   
        type Error = ConstraintViolation;
 6516   8147   
 6517   8148   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 6518   8149   
            builder.build()
 6519   8150   
        }
 6520   8151   
    }
 6521         -
    /// A builder for [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        8152  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        8153  +
    /* RustType.kt:516 */
 6522   8154   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        8155  +
    /* ServerBuilderGenerator.kt:211 */
 6523   8156   
    pub(crate) struct Builder {
        8157  +
        /* ServerBuilderGenerator.kt:308 */
 6524   8158   
        pub(crate) recursive_member: ::std::option::Option<
 6525   8159   
            crate::constrained::MaybeConstrained<crate::model::RecursiveShapesInputOutputNested1>,
 6526   8160   
        >,
        8161  +
        /* ServerBuilderGenerator.kt:211 */
 6527   8162   
    }
        8163  +
    /* ServerBuilderGenerator.kt:215 */
 6528   8164   
    impl Builder {
        8165  +
        /* ServerBuilderGenerator.kt:426 */
 6529   8166   
        #[allow(missing_docs)] // documentation missing in model
        8167  +
                               /* ServerBuilderGenerator.kt:428 */
 6530   8168   
        pub(crate) fn set_recursive_member(
 6531   8169   
            mut self,
 6532   8170   
            input: Option<
 6533   8171   
                impl ::std::convert::Into<
 6534   8172   
                    crate::constrained::MaybeConstrained<
 6535   8173   
                        crate::model::RecursiveShapesInputOutputNested1,
 6536   8174   
                    >,
 6537   8175   
                >,
 6538   8176   
            >,
 6539   8177   
        ) -> Self {
        8178  +
            /* ServerBuilderGenerator.kt:429 */
 6540   8179   
            self.recursive_member = input.map(|v| v.into());
 6541   8180   
            self
        8181  +
            /* ServerBuilderGenerator.kt:428 */
 6542   8182   
        }
 6543         -
        /// Consumes the builder and constructs a [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
 6544         -
        ///
        8183  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        8184  +
        /// /* ServerBuilderGenerator.kt:260 */
 6545   8185   
        /// The builder fails to construct a [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2) if a [`ConstraintViolation`] occurs.
 6546   8186   
        ///
        8187  +
        /* ServerBuilderGenerator.kt:271 */
 6547   8188   
        pub fn build(
 6548   8189   
            self,
 6549   8190   
        ) -> Result<crate::model::RecursiveShapesInputOutputNested2, ConstraintViolation> {
 6550   8191   
            self.build_enforcing_all_constraints()
 6551   8192   
        }
        8193  +
        /* ServerBuilderGenerator.kt:283 */
 6552   8194   
        fn build_enforcing_all_constraints(
 6553   8195   
            self,
 6554   8196   
        ) -> Result<crate::model::RecursiveShapesInputOutputNested2, ConstraintViolation> {
 6555         -
            Ok(crate::model::RecursiveShapesInputOutputNested2 {
 6556         -
                recursive_member: self
 6557         -
                    .recursive_member
 6558         -
                    .map(|v| match v {
 6559         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 6560         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 6561         -
                    })
 6562         -
                    .map(|res| res.map_err(ConstraintViolation::RecursiveMember))
 6563         -
                    .transpose()?,
 6564         -
            })
        8197  +
            /* ServerBuilderGenerator.kt:287 */
        8198  +
            Ok(
        8199  +
                /* ServerBuilderGenerator.kt:542 */
        8200  +
                crate::model::RecursiveShapesInputOutputNested2 {
        8201  +
                    /* ServerBuilderGenerator.kt:546 */
        8202  +
                    recursive_member: self
        8203  +
                        .recursive_member
        8204  +
                        /* ServerBuilderGenerator.kt:602 */
        8205  +
                        .map(|v| match v {
        8206  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        8207  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        8208  +
                        })
        8209  +
                        /* ServerBuilderGenerator.kt:614 */
        8210  +
                        .map(|res| res.map_err(ConstraintViolation::RecursiveMember))
        8211  +
                        .transpose()?,
        8212  +
                    /* ServerBuilderGenerator.kt:542 */
        8213  +
                }, /* ServerBuilderGenerator.kt:287 */
        8214  +
            )
        8215  +
            /* ServerBuilderGenerator.kt:283 */
 6565   8216   
        }
        8217  +
        /* ServerBuilderGenerator.kt:215 */
 6566   8218   
    }
        8219  +
        8220  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6567   8221   
}
 6568         -
/// See [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        8222  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
 6569   8223   
pub mod recursive_shapes_input_output_nested2 {
 6570   8224   
        8225  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
 6571   8226   
    impl ::std::convert::From<Builder> for crate::model::RecursiveShapesInputOutputNested2 {
 6572   8227   
        fn from(builder: Builder) -> Self {
 6573   8228   
            builder.build()
 6574   8229   
        }
 6575   8230   
    }
 6576         -
    /// A builder for [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        8231  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        8232  +
    /* RustType.kt:516 */
 6577   8233   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        8234  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 6578   8235   
    pub struct Builder {
        8236  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 6579   8237   
        pub(crate) recursive_member:
 6580   8238   
            ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
        8239  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 6581   8240   
    }
        8241  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 6582   8242   
    impl Builder {
        8243  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 6583   8244   
        #[allow(missing_docs)] // documentation missing in model
        8245  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6584   8246   
        pub fn recursive_member(
 6585   8247   
            mut self,
 6586   8248   
            input: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
 6587   8249   
        ) -> Self {
 6588         -
            self.recursive_member = input;
        8250  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
        8251  +
            self.recursive_member =
        8252  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
        8253  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 6589   8254   
            self
        8255  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6590   8256   
        }
 6591         -
        /// Consumes the builder and constructs a [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        8257  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`RecursiveShapesInputOutputNested2`](crate::model::RecursiveShapesInputOutputNested2).
        8258  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 6592   8259   
        pub fn build(self) -> crate::model::RecursiveShapesInputOutputNested2 {
 6593   8260   
            self.build_enforcing_required_and_enum_traits()
 6594   8261   
        }
        8262  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 6595   8263   
        fn build_enforcing_required_and_enum_traits(
 6596   8264   
            self,
 6597   8265   
        ) -> crate::model::RecursiveShapesInputOutputNested2 {
        8266  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
 6598   8267   
            crate::model::RecursiveShapesInputOutputNested2 {
        8268  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
 6599   8269   
                recursive_member: self.recursive_member,
        8270  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
 6600   8271   
            }
        8272  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 6601   8273   
        }
        8274  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 6602   8275   
    }
        8276  +
        8277  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6603   8278   
}
 6604         -
/// See [`ConA`](crate::model::ConA).
        8279  +
/// /* ServerBuilderGenerator.kt:171 */See [`ConA`](crate::model::ConA).
 6605   8280   
pub(crate) mod con_a_internal {
 6606   8281   
        8282  +
    /* RustType.kt:516 */
 6607   8283   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 6608         -
    /// Holds one variant for each of the ways the builder can fail.
        8284  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        8285  +
    /* RustType.kt:516 */
 6609   8286   
    #[non_exhaustive]
        8287  +
    /* ServerBuilderConstraintViolations.kt:75 */
 6610   8288   
    #[allow(clippy::enum_variant_names)]
 6611   8289   
    pub(crate) enum ConstraintViolation {
 6612         -
        /// `con_b` was not provided but it is required when building `ConA`.
        8290  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`con_b` was not provided but it is required when building `ConA`.
        8291  +
        /* ServerBuilderConstraintViolations.kt:143 */
 6613   8292   
        MissingConB,
 6614         -
        /// Constraint violation occurred building member `con_b` when building `ConA`.
        8293  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `con_b` when building `ConA`.
        8294  +
        /* RustType.kt:516 */
 6615   8295   
        #[doc(hidden)]
        8296  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6616   8297   
        ConB(crate::model::con_b_internal::ConstraintViolation),
 6617         -
        /// Constraint violation occurred building member `opt_con_b` when building `ConA`.
        8298  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `opt_con_b` when building `ConA`.
        8299  +
        /* RustType.kt:516 */
 6618   8300   
        #[doc(hidden)]
        8301  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6619   8302   
        OptConB(crate::model::con_b_internal::ConstraintViolation),
 6620         -
        /// Constraint violation occurred building member `length_string` when building `ConA`.
        8303  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `length_string` when building `ConA`.
        8304  +
        /* RustType.kt:516 */
 6621   8305   
        #[doc(hidden)]
        8306  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6622   8307   
        LengthString(crate::model::length_string_internal::ConstraintViolation),
 6623         -
        /// Constraint violation occurred building member `min_length_string` when building `ConA`.
        8308  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_length_string` when building `ConA`.
        8309  +
        /* RustType.kt:516 */
 6624   8310   
        #[doc(hidden)]
        8311  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6625   8312   
        MinLengthString(crate::model::min_length_string_internal::ConstraintViolation),
 6626         -
        /// Constraint violation occurred building member `max_length_string` when building `ConA`.
        8313  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_length_string` when building `ConA`.
        8314  +
        /* RustType.kt:516 */
 6627   8315   
        #[doc(hidden)]
        8316  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6628   8317   
        MaxLengthString(crate::model::max_length_string_internal::ConstraintViolation),
 6629         -
        /// Constraint violation occurred building member `fixed_length_string` when building `ConA`.
        8318  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `fixed_length_string` when building `ConA`.
        8319  +
        /* RustType.kt:516 */
 6630   8320   
        #[doc(hidden)]
        8321  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6631   8322   
        FixedLengthString(crate::model::fixed_length_string_internal::ConstraintViolation),
 6632         -
        /// Constraint violation occurred building member `length_blob` when building `ConA`.
        8323  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `length_blob` when building `ConA`.
        8324  +
        /* RustType.kt:516 */
 6633   8325   
        #[doc(hidden)]
        8326  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6634   8327   
        LengthBlob(crate::model::length_blob_internal::ConstraintViolation),
 6635         -
        /// Constraint violation occurred building member `min_length_blob` when building `ConA`.
        8328  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_length_blob` when building `ConA`.
        8329  +
        /* RustType.kt:516 */
 6636   8330   
        #[doc(hidden)]
        8331  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6637   8332   
        MinLengthBlob(crate::model::min_length_blob_internal::ConstraintViolation),
 6638         -
        /// Constraint violation occurred building member `max_length_blob` when building `ConA`.
        8333  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_length_blob` when building `ConA`.
        8334  +
        /* RustType.kt:516 */
 6639   8335   
        #[doc(hidden)]
        8336  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6640   8337   
        MaxLengthBlob(crate::model::max_length_blob_internal::ConstraintViolation),
 6641         -
        /// Constraint violation occurred building member `fixed_length_blob` when building `ConA`.
        8338  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `fixed_length_blob` when building `ConA`.
        8339  +
        /* RustType.kt:516 */
 6642   8340   
        #[doc(hidden)]
        8341  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6643   8342   
        FixedLengthBlob(crate::model::fixed_length_blob_internal::ConstraintViolation),
 6644         -
        /// Constraint violation occurred building member `range_integer` when building `ConA`.
        8343  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `range_integer` when building `ConA`.
        8344  +
        /* RustType.kt:516 */
 6645   8345   
        #[doc(hidden)]
        8346  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6646   8347   
        RangeInteger(crate::model::range_integer_internal::ConstraintViolation),
 6647         -
        /// Constraint violation occurred building member `min_range_integer` when building `ConA`.
        8348  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_range_integer` when building `ConA`.
        8349  +
        /* RustType.kt:516 */
 6648   8350   
        #[doc(hidden)]
        8351  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6649   8352   
        MinRangeInteger(crate::model::min_range_integer_internal::ConstraintViolation),
 6650         -
        /// Constraint violation occurred building member `max_range_integer` when building `ConA`.
        8353  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_range_integer` when building `ConA`.
        8354  +
        /* RustType.kt:516 */
 6651   8355   
        #[doc(hidden)]
        8356  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6652   8357   
        MaxRangeInteger(crate::model::max_range_integer_internal::ConstraintViolation),
 6653         -
        /// Constraint violation occurred building member `fixed_value_integer` when building `ConA`.
        8358  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `fixed_value_integer` when building `ConA`.
        8359  +
        /* RustType.kt:516 */
 6654   8360   
        #[doc(hidden)]
        8361  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6655   8362   
        FixedValueInteger(crate::model::fixed_value_integer_internal::ConstraintViolation),
 6656         -
        /// Constraint violation occurred building member `range_short` when building `ConA`.
        8363  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `range_short` when building `ConA`.
        8364  +
        /* RustType.kt:516 */
 6657   8365   
        #[doc(hidden)]
        8366  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6658   8367   
        RangeShort(crate::model::range_short_internal::ConstraintViolation),
 6659         -
        /// Constraint violation occurred building member `min_range_short` when building `ConA`.
        8368  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_range_short` when building `ConA`.
        8369  +
        /* RustType.kt:516 */
 6660   8370   
        #[doc(hidden)]
        8371  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6661   8372   
        MinRangeShort(crate::model::min_range_short_internal::ConstraintViolation),
 6662         -
        /// Constraint violation occurred building member `max_range_short` when building `ConA`.
        8373  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_range_short` when building `ConA`.
        8374  +
        /* RustType.kt:516 */
 6663   8375   
        #[doc(hidden)]
        8376  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6664   8377   
        MaxRangeShort(crate::model::max_range_short_internal::ConstraintViolation),
 6665         -
        /// Constraint violation occurred building member `fixed_value_short` when building `ConA`.
        8378  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `fixed_value_short` when building `ConA`.
        8379  +
        /* RustType.kt:516 */
 6666   8380   
        #[doc(hidden)]
        8381  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6667   8382   
        FixedValueShort(crate::model::fixed_value_short_internal::ConstraintViolation),
 6668         -
        /// Constraint violation occurred building member `range_long` when building `ConA`.
        8383  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `range_long` when building `ConA`.
        8384  +
        /* RustType.kt:516 */
 6669   8385   
        #[doc(hidden)]
        8386  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6670   8387   
        RangeLong(crate::model::range_long_internal::ConstraintViolation),
 6671         -
        /// Constraint violation occurred building member `min_range_long` when building `ConA`.
        8388  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_range_long` when building `ConA`.
        8389  +
        /* RustType.kt:516 */
 6672   8390   
        #[doc(hidden)]
        8391  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6673   8392   
        MinRangeLong(crate::model::min_range_long_internal::ConstraintViolation),
 6674         -
        /// Constraint violation occurred building member `max_range_long` when building `ConA`.
        8393  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_range_long` when building `ConA`.
        8394  +
        /* RustType.kt:516 */
 6675   8395   
        #[doc(hidden)]
        8396  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6676   8397   
        MaxRangeLong(crate::model::max_range_long_internal::ConstraintViolation),
 6677         -
        /// Constraint violation occurred building member `fixed_value_long` when building `ConA`.
        8398  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `fixed_value_long` when building `ConA`.
        8399  +
        /* RustType.kt:516 */
 6678   8400   
        #[doc(hidden)]
        8401  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6679   8402   
        FixedValueLong(crate::model::fixed_value_long_internal::ConstraintViolation),
 6680         -
        /// Constraint violation occurred building member `range_byte` when building `ConA`.
        8403  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `range_byte` when building `ConA`.
        8404  +
        /* RustType.kt:516 */
 6681   8405   
        #[doc(hidden)]
        8406  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6682   8407   
        RangeByte(crate::model::range_byte_internal::ConstraintViolation),
 6683         -
        /// Constraint violation occurred building member `min_range_byte` when building `ConA`.
        8408  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_range_byte` when building `ConA`.
        8409  +
        /* RustType.kt:516 */
 6684   8410   
        #[doc(hidden)]
        8411  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6685   8412   
        MinRangeByte(crate::model::min_range_byte_internal::ConstraintViolation),
 6686         -
        /// Constraint violation occurred building member `max_range_byte` when building `ConA`.
        8413  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_range_byte` when building `ConA`.
        8414  +
        /* RustType.kt:516 */
 6687   8415   
        #[doc(hidden)]
        8416  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6688   8417   
        MaxRangeByte(crate::model::max_range_byte_internal::ConstraintViolation),
 6689         -
        /// Constraint violation occurred building member `fixed_value_byte` when building `ConA`.
        8418  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `fixed_value_byte` when building `ConA`.
        8419  +
        /* RustType.kt:516 */
 6690   8420   
        #[doc(hidden)]
        8421  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6691   8422   
        FixedValueByte(crate::model::fixed_value_byte_internal::ConstraintViolation),
 6692         -
        /// Constraint violation occurred building member `con_b_list` when building `ConA`.
        8423  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `con_b_list` when building `ConA`.
        8424  +
        /* RustType.kt:516 */
 6693   8425   
        #[doc(hidden)]
        8426  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6694   8427   
        ConBList(crate::model::con_b_list_internal::ConstraintViolation),
 6695         -
        /// Constraint violation occurred building member `length_list` when building `ConA`.
        8428  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `length_list` when building `ConA`.
        8429  +
        /* RustType.kt:516 */
 6696   8430   
        #[doc(hidden)]
        8431  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6697   8432   
        LengthList(crate::model::length_list_internal::ConstraintViolation),
 6698         -
        /// Constraint violation occurred building member `sensitive_length_list` when building `ConA`.
        8433  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `sensitive_length_list` when building `ConA`.
        8434  +
        /* RustType.kt:516 */
 6699   8435   
        #[doc(hidden)]
        8436  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6700   8437   
        SensitiveLengthList(crate::model::sensitive_length_list_internal::ConstraintViolation),
 6701         -
        /// Constraint violation occurred building member `con_b_set` when building `ConA`.
        8438  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `con_b_set` when building `ConA`.
        8439  +
        /* RustType.kt:516 */
 6702   8440   
        #[doc(hidden)]
        8441  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6703   8442   
        ConBSet(crate::model::con_b_set_internal::ConstraintViolation),
 6704         -
        /// Constraint violation occurred building member `con_b_map` when building `ConA`.
        8443  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `con_b_map` when building `ConA`.
        8444  +
        /* RustType.kt:516 */
 6705   8445   
        #[doc(hidden)]
        8446  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6706   8447   
        ConBMap(crate::model::con_b_map_internal::ConstraintViolation),
 6707         -
        /// Constraint violation occurred building member `length_map` when building `ConA`.
        8448  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `length_map` when building `ConA`.
        8449  +
        /* RustType.kt:516 */
 6708   8450   
        #[doc(hidden)]
        8451  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6709   8452   
        LengthMap(crate::model::length_map_internal::ConstraintViolation),
 6710         -
        /// Constraint violation occurred building member `map_of_map_of_list_of_list_of_con_b` when building `ConA`.
        8453  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_map_of_list_of_list_of_con_b` when building `ConA`.
        8454  +
        /* RustType.kt:516 */
 6711   8455   
        #[doc(hidden)]
        8456  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6712   8457   
        MapOfMapOfListOfListOfConB(
 6713   8458   
            crate::model::map_of_map_of_list_of_list_of_con_b_internal::ConstraintViolation,
 6714   8459   
        ),
 6715         -
        /// Constraint violation occurred building member `sparse_map` when building `ConA`.
        8460  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `sparse_map` when building `ConA`.
        8461  +
        /* RustType.kt:516 */
 6716   8462   
        #[doc(hidden)]
        8463  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6717   8464   
        SparseMap(crate::model::sparse_map_internal::ConstraintViolation),
 6718         -
        /// Constraint violation occurred building member `sparse_list` when building `ConA`.
        8465  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `sparse_list` when building `ConA`.
        8466  +
        /* RustType.kt:516 */
 6719   8467   
        #[doc(hidden)]
        8468  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6720   8469   
        SparseList(crate::model::sparse_list_internal::ConstraintViolation),
 6721         -
        /// Constraint violation occurred building member `sparse_length_map` when building `ConA`.
        8470  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `sparse_length_map` when building `ConA`.
        8471  +
        /* RustType.kt:516 */
 6722   8472   
        #[doc(hidden)]
        8473  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6723   8474   
        SparseLengthMap(crate::model::sparse_length_map_internal::ConstraintViolation),
 6724         -
        /// Constraint violation occurred building member `sparse_length_list` when building `ConA`.
        8475  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `sparse_length_list` when building `ConA`.
        8476  +
        /* RustType.kt:516 */
 6725   8477   
        #[doc(hidden)]
        8478  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6726   8479   
        SparseLengthList(crate::model::sparse_length_list_internal::ConstraintViolation),
 6727         -
        /// Constraint violation occurred building member `constrained_union` when building `ConA`.
        8480  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `constrained_union` when building `ConA`.
        8481  +
        /* RustType.kt:516 */
 6728   8482   
        #[doc(hidden)]
        8483  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6729   8484   
        ConstrainedUnion(crate::model::constrained_union_internal::ConstraintViolation),
 6730         -
        /// Constraint violation occurred building member `enum_string` when building `ConA`.
        8485  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `enum_string` when building `ConA`.
        8486  +
        /* RustType.kt:516 */
 6731   8487   
        #[doc(hidden)]
        8488  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6732   8489   
        EnumString(crate::model::enum_string_internal::ConstraintViolation),
 6733         -
        /// Constraint violation occurred building member `list_of_length_string` when building `ConA`.
        8490  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_length_string` when building `ConA`.
        8491  +
        /* RustType.kt:516 */
 6734   8492   
        #[doc(hidden)]
        8493  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6735   8494   
        ListOfLengthString(crate::model::list_of_length_string_internal::ConstraintViolation),
 6736         -
        /// Constraint violation occurred building member `set_of_length_string` when building `ConA`.
        8495  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `set_of_length_string` when building `ConA`.
        8496  +
        /* RustType.kt:516 */
 6737   8497   
        #[doc(hidden)]
        8498  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6738   8499   
        SetOfLengthString(crate::model::set_of_length_string_internal::ConstraintViolation),
 6739         -
        /// Constraint violation occurred building member `map_of_length_string` when building `ConA`.
        8500  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_length_string` when building `ConA`.
        8501  +
        /* RustType.kt:516 */
 6740   8502   
        #[doc(hidden)]
        8503  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6741   8504   
        MapOfLengthString(crate::model::map_of_length_string_internal::ConstraintViolation),
 6742         -
        /// Constraint violation occurred building member `list_of_length_blob` when building `ConA`.
        8505  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_length_blob` when building `ConA`.
        8506  +
        /* RustType.kt:516 */
 6743   8507   
        #[doc(hidden)]
        8508  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6744   8509   
        ListOfLengthBlob(crate::model::list_of_length_blob_internal::ConstraintViolation),
 6745         -
        /// Constraint violation occurred building member `map_of_length_blob` when building `ConA`.
        8510  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_length_blob` when building `ConA`.
        8511  +
        /* RustType.kt:516 */
 6746   8512   
        #[doc(hidden)]
        8513  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6747   8514   
        MapOfLengthBlob(crate::model::map_of_length_blob_internal::ConstraintViolation),
 6748         -
        /// Constraint violation occurred building member `list_of_range_integer` when building `ConA`.
        8515  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_range_integer` when building `ConA`.
        8516  +
        /* RustType.kt:516 */
 6749   8517   
        #[doc(hidden)]
        8518  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6750   8519   
        ListOfRangeInteger(crate::model::list_of_range_integer_internal::ConstraintViolation),
 6751         -
        /// Constraint violation occurred building member `set_of_range_integer` when building `ConA`.
        8520  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `set_of_range_integer` when building `ConA`.
        8521  +
        /* RustType.kt:516 */
 6752   8522   
        #[doc(hidden)]
        8523  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6753   8524   
        SetOfRangeInteger(crate::model::set_of_range_integer_internal::ConstraintViolation),
 6754         -
        /// Constraint violation occurred building member `map_of_range_integer` when building `ConA`.
        8525  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_range_integer` when building `ConA`.
        8526  +
        /* RustType.kt:516 */
 6755   8527   
        #[doc(hidden)]
        8528  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6756   8529   
        MapOfRangeInteger(crate::model::map_of_range_integer_internal::ConstraintViolation),
 6757         -
        /// Constraint violation occurred building member `list_of_range_short` when building `ConA`.
        8530  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_range_short` when building `ConA`.
        8531  +
        /* RustType.kt:516 */
 6758   8532   
        #[doc(hidden)]
        8533  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6759   8534   
        ListOfRangeShort(crate::model::list_of_range_short_internal::ConstraintViolation),
 6760         -
        /// Constraint violation occurred building member `set_of_range_short` when building `ConA`.
        8535  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `set_of_range_short` when building `ConA`.
        8536  +
        /* RustType.kt:516 */
 6761   8537   
        #[doc(hidden)]
        8538  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6762   8539   
        SetOfRangeShort(crate::model::set_of_range_short_internal::ConstraintViolation),
 6763         -
        /// Constraint violation occurred building member `map_of_range_short` when building `ConA`.
        8540  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_range_short` when building `ConA`.
        8541  +
        /* RustType.kt:516 */
 6764   8542   
        #[doc(hidden)]
        8543  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6765   8544   
        MapOfRangeShort(crate::model::map_of_range_short_internal::ConstraintViolation),
 6766         -
        /// Constraint violation occurred building member `list_of_range_long` when building `ConA`.
        8545  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_range_long` when building `ConA`.
        8546  +
        /* RustType.kt:516 */
 6767   8547   
        #[doc(hidden)]
        8548  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6768   8549   
        ListOfRangeLong(crate::model::list_of_range_long_internal::ConstraintViolation),
 6769         -
        /// Constraint violation occurred building member `set_of_range_long` when building `ConA`.
        8550  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `set_of_range_long` when building `ConA`.
        8551  +
        /* RustType.kt:516 */
 6770   8552   
        #[doc(hidden)]
        8553  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6771   8554   
        SetOfRangeLong(crate::model::set_of_range_long_internal::ConstraintViolation),
 6772         -
        /// Constraint violation occurred building member `map_of_range_long` when building `ConA`.
        8555  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_range_long` when building `ConA`.
        8556  +
        /* RustType.kt:516 */
 6773   8557   
        #[doc(hidden)]
        8558  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6774   8559   
        MapOfRangeLong(crate::model::map_of_range_long_internal::ConstraintViolation),
 6775         -
        /// Constraint violation occurred building member `list_of_range_byte` when building `ConA`.
        8560  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_range_byte` when building `ConA`.
        8561  +
        /* RustType.kt:516 */
 6776   8562   
        #[doc(hidden)]
        8563  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6777   8564   
        ListOfRangeByte(crate::model::list_of_range_byte_internal::ConstraintViolation),
 6778         -
        /// Constraint violation occurred building member `set_of_range_byte` when building `ConA`.
        8565  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `set_of_range_byte` when building `ConA`.
        8566  +
        /* RustType.kt:516 */
 6779   8567   
        #[doc(hidden)]
        8568  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6780   8569   
        SetOfRangeByte(crate::model::set_of_range_byte_internal::ConstraintViolation),
 6781         -
        /// Constraint violation occurred building member `map_of_range_byte` when building `ConA`.
        8570  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_range_byte` when building `ConA`.
        8571  +
        /* RustType.kt:516 */
 6782   8572   
        #[doc(hidden)]
        8573  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6783   8574   
        MapOfRangeByte(crate::model::map_of_range_byte_internal::ConstraintViolation),
 6784         -
        /// Constraint violation occurred building member `pattern_string` when building `ConA`.
        8575  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `pattern_string` when building `ConA`.
        8576  +
        /* RustType.kt:516 */
 6785   8577   
        #[doc(hidden)]
        8578  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6786   8579   
        PatternString(crate::model::pattern_string_internal::ConstraintViolation),
 6787         -
        /// Constraint violation occurred building member `map_of_pattern_string` when building `ConA`.
        8580  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_pattern_string` when building `ConA`.
        8581  +
        /* RustType.kt:516 */
 6788   8582   
        #[doc(hidden)]
        8583  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6789   8584   
        MapOfPatternString(crate::model::map_of_pattern_string_internal::ConstraintViolation),
 6790         -
        /// Constraint violation occurred building member `list_of_pattern_string` when building `ConA`.
        8585  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_pattern_string` when building `ConA`.
        8586  +
        /* RustType.kt:516 */
 6791   8587   
        #[doc(hidden)]
        8588  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6792   8589   
        ListOfPatternString(crate::model::list_of_pattern_string_internal::ConstraintViolation),
 6793         -
        /// Constraint violation occurred building member `set_of_pattern_string` when building `ConA`.
        8590  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `set_of_pattern_string` when building `ConA`.
        8591  +
        /* RustType.kt:516 */
 6794   8592   
        #[doc(hidden)]
        8593  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6795   8594   
        SetOfPatternString(crate::model::set_of_pattern_string_internal::ConstraintViolation),
 6796         -
        /// Constraint violation occurred building member `length_length_pattern_string` when building `ConA`.
        8595  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `length_length_pattern_string` when building `ConA`.
        8596  +
        /* RustType.kt:516 */
 6797   8597   
        #[doc(hidden)]
        8598  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6798   8599   
        LengthLengthPatternString(
 6799   8600   
            crate::model::length_pattern_string_internal::ConstraintViolation,
 6800   8601   
        ),
 6801         -
        /// Constraint violation occurred building member `map_of_length_pattern_string` when building `ConA`.
        8602  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map_of_length_pattern_string` when building `ConA`.
        8603  +
        /* RustType.kt:516 */
 6802   8604   
        #[doc(hidden)]
        8605  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6803   8606   
        MapOfLengthPatternString(
 6804   8607   
            crate::model::map_of_length_pattern_string_internal::ConstraintViolation,
 6805   8608   
        ),
 6806         -
        /// Constraint violation occurred building member `list_of_length_pattern_string` when building `ConA`.
        8609  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_of_length_pattern_string` when building `ConA`.
        8610  +
        /* RustType.kt:516 */
 6807   8611   
        #[doc(hidden)]
        8612  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6808   8613   
        ListOfLengthPatternString(
 6809   8614   
            crate::model::list_of_length_pattern_string_internal::ConstraintViolation,
 6810   8615   
        ),
 6811         -
        /// Constraint violation occurred building member `set_of_length_pattern_string` when building `ConA`.
        8616  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `set_of_length_pattern_string` when building `ConA`.
        8617  +
        /* RustType.kt:516 */
 6812   8618   
        #[doc(hidden)]
        8619  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6813   8620   
        SetOfLengthPatternString(
 6814   8621   
            crate::model::set_of_length_pattern_string_internal::ConstraintViolation,
 6815   8622   
        ),
 6816         -
        /// Constraint violation occurred building member `length_list_of_pattern_string` when building `ConA`.
        8623  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `length_list_of_pattern_string` when building `ConA`.
        8624  +
        /* RustType.kt:516 */
 6817   8625   
        #[doc(hidden)]
        8626  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6818   8627   
        LengthListOfPatternString(
 6819   8628   
            crate::model::length_list_of_pattern_string_internal::ConstraintViolation,
 6820   8629   
        ),
 6821         -
        /// Constraint violation occurred building member `length_set_of_pattern_string` when building `ConA`.
        8630  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `length_set_of_pattern_string` when building `ConA`.
        8631  +
        /* RustType.kt:516 */
 6822   8632   
        #[doc(hidden)]
        8633  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6823   8634   
        LengthSetOfPatternString(
 6824   8635   
            crate::model::length_set_of_pattern_string_internal::ConstraintViolation,
 6825   8636   
        ),
        8637  +
        /* ServerBuilderConstraintViolations.kt:75 */
 6826   8638   
    }
        8639  +
    /* ServerBuilderConstraintViolations.kt:117 */
 6827   8640   
    impl ::std::fmt::Display for ConstraintViolation {
        8641  +
        /* ServerBuilderConstraintViolations.kt:118 */
 6828   8642   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        8643  +
            /* ServerBuilderConstraintViolations.kt:119 */
 6829   8644   
            match self {
 6830         -
                ConstraintViolation::MissingConB => write!(f, "`con_b` was not provided but it is required when building `ConA`"),
 6831         -
                ConstraintViolation::ConB(_) => write!(f, "constraint violation occurred building member `con_b` when building `ConA`"),
 6832         -
                ConstraintViolation::OptConB(_) => write!(f, "constraint violation occurred building member `opt_con_b` when building `ConA`"),
 6833         -
                ConstraintViolation::LengthString(_) => write!(f, "constraint violation occurred building member `length_string` when building `ConA`"),
 6834         -
                ConstraintViolation::MinLengthString(_) => write!(f, "constraint violation occurred building member `min_length_string` when building `ConA`"),
 6835         -
                ConstraintViolation::MaxLengthString(_) => write!(f, "constraint violation occurred building member `max_length_string` when building `ConA`"),
 6836         -
                ConstraintViolation::FixedLengthString(_) => write!(f, "constraint violation occurred building member `fixed_length_string` when building `ConA`"),
 6837         -
                ConstraintViolation::LengthBlob(_) => write!(f, "constraint violation occurred building member `length_blob` when building `ConA`"),
 6838         -
                ConstraintViolation::MinLengthBlob(_) => write!(f, "constraint violation occurred building member `min_length_blob` when building `ConA`"),
 6839         -
                ConstraintViolation::MaxLengthBlob(_) => write!(f, "constraint violation occurred building member `max_length_blob` when building `ConA`"),
 6840         -
                ConstraintViolation::FixedLengthBlob(_) => write!(f, "constraint violation occurred building member `fixed_length_blob` when building `ConA`"),
 6841         -
                ConstraintViolation::RangeInteger(_) => write!(f, "constraint violation occurred building member `range_integer` when building `ConA`"),
 6842         -
                ConstraintViolation::MinRangeInteger(_) => write!(f, "constraint violation occurred building member `min_range_integer` when building `ConA`"),
 6843         -
                ConstraintViolation::MaxRangeInteger(_) => write!(f, "constraint violation occurred building member `max_range_integer` when building `ConA`"),
 6844         -
                ConstraintViolation::FixedValueInteger(_) => write!(f, "constraint violation occurred building member `fixed_value_integer` when building `ConA`"),
 6845         -
                ConstraintViolation::RangeShort(_) => write!(f, "constraint violation occurred building member `range_short` when building `ConA`"),
 6846         -
                ConstraintViolation::MinRangeShort(_) => write!(f, "constraint violation occurred building member `min_range_short` when building `ConA`"),
 6847         -
                ConstraintViolation::MaxRangeShort(_) => write!(f, "constraint violation occurred building member `max_range_short` when building `ConA`"),
 6848         -
                ConstraintViolation::FixedValueShort(_) => write!(f, "constraint violation occurred building member `fixed_value_short` when building `ConA`"),
 6849         -
                ConstraintViolation::RangeLong(_) => write!(f, "constraint violation occurred building member `range_long` when building `ConA`"),
 6850         -
                ConstraintViolation::MinRangeLong(_) => write!(f, "constraint violation occurred building member `min_range_long` when building `ConA`"),
 6851         -
                ConstraintViolation::MaxRangeLong(_) => write!(f, "constraint violation occurred building member `max_range_long` when building `ConA`"),
 6852         -
                ConstraintViolation::FixedValueLong(_) => write!(f, "constraint violation occurred building member `fixed_value_long` when building `ConA`"),
 6853         -
                ConstraintViolation::RangeByte(_) => write!(f, "constraint violation occurred building member `range_byte` when building `ConA`"),
 6854         -
                ConstraintViolation::MinRangeByte(_) => write!(f, "constraint violation occurred building member `min_range_byte` when building `ConA`"),
 6855         -
                ConstraintViolation::MaxRangeByte(_) => write!(f, "constraint violation occurred building member `max_range_byte` when building `ConA`"),
 6856         -
                ConstraintViolation::FixedValueByte(_) => write!(f, "constraint violation occurred building member `fixed_value_byte` when building `ConA`"),
 6857         -
                ConstraintViolation::ConBList(_) => write!(f, "constraint violation occurred building member `con_b_list` when building `ConA`"),
 6858         -
                ConstraintViolation::LengthList(_) => write!(f, "constraint violation occurred building member `length_list` when building `ConA`"),
 6859         -
                ConstraintViolation::SensitiveLengthList(_) => write!(f, "constraint violation occurred building member `sensitive_length_list` when building `ConA`"),
 6860         -
                ConstraintViolation::ConBSet(_) => write!(f, "constraint violation occurred building member `con_b_set` when building `ConA`"),
 6861         -
                ConstraintViolation::ConBMap(_) => write!(f, "constraint violation occurred building member `con_b_map` when building `ConA`"),
 6862         -
                ConstraintViolation::LengthMap(_) => write!(f, "constraint violation occurred building member `length_map` when building `ConA`"),
 6863         -
                ConstraintViolation::MapOfMapOfListOfListOfConB(_) => write!(f, "constraint violation occurred building member `map_of_map_of_list_of_list_of_con_b` when building `ConA`"),
 6864         -
                ConstraintViolation::SparseMap(_) => write!(f, "constraint violation occurred building member `sparse_map` when building `ConA`"),
 6865         -
                ConstraintViolation::SparseList(_) => write!(f, "constraint violation occurred building member `sparse_list` when building `ConA`"),
 6866         -
                ConstraintViolation::SparseLengthMap(_) => write!(f, "constraint violation occurred building member `sparse_length_map` when building `ConA`"),
 6867         -
                ConstraintViolation::SparseLengthList(_) => write!(f, "constraint violation occurred building member `sparse_length_list` when building `ConA`"),
 6868         -
                ConstraintViolation::ConstrainedUnion(_) => write!(f, "constraint violation occurred building member `constrained_union` when building `ConA`"),
 6869         -
                ConstraintViolation::EnumString(_) => write!(f, "constraint violation occurred building member `enum_string` when building `ConA`"),
 6870         -
                ConstraintViolation::ListOfLengthString(_) => write!(f, "constraint violation occurred building member `list_of_length_string` when building `ConA`"),
 6871         -
                ConstraintViolation::SetOfLengthString(_) => write!(f, "constraint violation occurred building member `set_of_length_string` when building `ConA`"),
 6872         -
                ConstraintViolation::MapOfLengthString(_) => write!(f, "constraint violation occurred building member `map_of_length_string` when building `ConA`"),
 6873         -
                ConstraintViolation::ListOfLengthBlob(_) => write!(f, "constraint violation occurred building member `list_of_length_blob` when building `ConA`"),
 6874         -
                ConstraintViolation::MapOfLengthBlob(_) => write!(f, "constraint violation occurred building member `map_of_length_blob` when building `ConA`"),
 6875         -
                ConstraintViolation::ListOfRangeInteger(_) => write!(f, "constraint violation occurred building member `list_of_range_integer` when building `ConA`"),
 6876         -
                ConstraintViolation::SetOfRangeInteger(_) => write!(f, "constraint violation occurred building member `set_of_range_integer` when building `ConA`"),
 6877         -
                ConstraintViolation::MapOfRangeInteger(_) => write!(f, "constraint violation occurred building member `map_of_range_integer` when building `ConA`"),
 6878         -
                ConstraintViolation::ListOfRangeShort(_) => write!(f, "constraint violation occurred building member `list_of_range_short` when building `ConA`"),
 6879         -
                ConstraintViolation::SetOfRangeShort(_) => write!(f, "constraint violation occurred building member `set_of_range_short` when building `ConA`"),
 6880         -
                ConstraintViolation::MapOfRangeShort(_) => write!(f, "constraint violation occurred building member `map_of_range_short` when building `ConA`"),
 6881         -
                ConstraintViolation::ListOfRangeLong(_) => write!(f, "constraint violation occurred building member `list_of_range_long` when building `ConA`"),
 6882         -
                ConstraintViolation::SetOfRangeLong(_) => write!(f, "constraint violation occurred building member `set_of_range_long` when building `ConA`"),
 6883         -
                ConstraintViolation::MapOfRangeLong(_) => write!(f, "constraint violation occurred building member `map_of_range_long` when building `ConA`"),
 6884         -
                ConstraintViolation::ListOfRangeByte(_) => write!(f, "constraint violation occurred building member `list_of_range_byte` when building `ConA`"),
 6885         -
                ConstraintViolation::SetOfRangeByte(_) => write!(f, "constraint violation occurred building member `set_of_range_byte` when building `ConA`"),
 6886         -
                ConstraintViolation::MapOfRangeByte(_) => write!(f, "constraint violation occurred building member `map_of_range_byte` when building `ConA`"),
 6887         -
                ConstraintViolation::PatternString(_) => write!(f, "constraint violation occurred building member `pattern_string` when building `ConA`"),
 6888         -
                ConstraintViolation::MapOfPatternString(_) => write!(f, "constraint violation occurred building member `map_of_pattern_string` when building `ConA`"),
 6889         -
                ConstraintViolation::ListOfPatternString(_) => write!(f, "constraint violation occurred building member `list_of_pattern_string` when building `ConA`"),
 6890         -
                ConstraintViolation::SetOfPatternString(_) => write!(f, "constraint violation occurred building member `set_of_pattern_string` when building `ConA`"),
 6891         -
                ConstraintViolation::LengthLengthPatternString(_) => write!(f, "constraint violation occurred building member `length_length_pattern_string` when building `ConA`"),
 6892         -
                ConstraintViolation::MapOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `map_of_length_pattern_string` when building `ConA`"),
 6893         -
                ConstraintViolation::ListOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `list_of_length_pattern_string` when building `ConA`"),
 6894         -
                ConstraintViolation::SetOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `set_of_length_pattern_string` when building `ConA`"),
 6895         -
                ConstraintViolation::LengthListOfPatternString(_) => write!(f, "constraint violation occurred building member `length_list_of_pattern_string` when building `ConA`"),
 6896         -
                ConstraintViolation::LengthSetOfPatternString(_) => write!(f, "constraint violation occurred building member `length_set_of_pattern_string` when building `ConA`"),
 6897         -
            }
 6898         -
        }
 6899         -
    }
        8645  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingConB => write!(f, "`con_b` was not provided but it is required when building `ConA`"),
        8646  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ConB(_) => write!(f, "constraint violation occurred building member `con_b` when building `ConA`"),
        8647  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::OptConB(_) => write!(f, "constraint violation occurred building member `opt_con_b` when building `ConA`"),
        8648  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LengthString(_) => write!(f, "constraint violation occurred building member `length_string` when building `ConA`"),
        8649  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinLengthString(_) => write!(f, "constraint violation occurred building member `min_length_string` when building `ConA`"),
        8650  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxLengthString(_) => write!(f, "constraint violation occurred building member `max_length_string` when building `ConA`"),
        8651  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FixedLengthString(_) => write!(f, "constraint violation occurred building member `fixed_length_string` when building `ConA`"),
        8652  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LengthBlob(_) => write!(f, "constraint violation occurred building member `length_blob` when building `ConA`"),
        8653  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinLengthBlob(_) => write!(f, "constraint violation occurred building member `min_length_blob` when building `ConA`"),
        8654  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxLengthBlob(_) => write!(f, "constraint violation occurred building member `max_length_blob` when building `ConA`"),
        8655  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FixedLengthBlob(_) => write!(f, "constraint violation occurred building member `fixed_length_blob` when building `ConA`"),
        8656  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::RangeInteger(_) => write!(f, "constraint violation occurred building member `range_integer` when building `ConA`"),
        8657  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinRangeInteger(_) => write!(f, "constraint violation occurred building member `min_range_integer` when building `ConA`"),
        8658  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxRangeInteger(_) => write!(f, "constraint violation occurred building member `max_range_integer` when building `ConA`"),
        8659  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FixedValueInteger(_) => write!(f, "constraint violation occurred building member `fixed_value_integer` when building `ConA`"),
        8660  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::RangeShort(_) => write!(f, "constraint violation occurred building member `range_short` when building `ConA`"),
        8661  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinRangeShort(_) => write!(f, "constraint violation occurred building member `min_range_short` when building `ConA`"),
        8662  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxRangeShort(_) => write!(f, "constraint violation occurred building member `max_range_short` when building `ConA`"),
        8663  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FixedValueShort(_) => write!(f, "constraint violation occurred building member `fixed_value_short` when building `ConA`"),
        8664  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::RangeLong(_) => write!(f, "constraint violation occurred building member `range_long` when building `ConA`"),
        8665  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinRangeLong(_) => write!(f, "constraint violation occurred building member `min_range_long` when building `ConA`"),
        8666  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxRangeLong(_) => write!(f, "constraint violation occurred building member `max_range_long` when building `ConA`"),
        8667  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FixedValueLong(_) => write!(f, "constraint violation occurred building member `fixed_value_long` when building `ConA`"),
        8668  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::RangeByte(_) => write!(f, "constraint violation occurred building member `range_byte` when building `ConA`"),
        8669  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinRangeByte(_) => write!(f, "constraint violation occurred building member `min_range_byte` when building `ConA`"),
        8670  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxRangeByte(_) => write!(f, "constraint violation occurred building member `max_range_byte` when building `ConA`"),
        8671  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FixedValueByte(_) => write!(f, "constraint violation occurred building member `fixed_value_byte` when building `ConA`"),
        8672  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ConBList(_) => write!(f, "constraint violation occurred building member `con_b_list` when building `ConA`"),
        8673  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LengthList(_) => write!(f, "constraint violation occurred building member `length_list` when building `ConA`"),
        8674  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SensitiveLengthList(_) => write!(f, "constraint violation occurred building member `sensitive_length_list` when building `ConA`"),
        8675  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ConBSet(_) => write!(f, "constraint violation occurred building member `con_b_set` when building `ConA`"),
        8676  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ConBMap(_) => write!(f, "constraint violation occurred building member `con_b_map` when building `ConA`"),
        8677  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LengthMap(_) => write!(f, "constraint violation occurred building member `length_map` when building `ConA`"),
        8678  +
                /* 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`"),
        8679  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SparseMap(_) => write!(f, "constraint violation occurred building member `sparse_map` when building `ConA`"),
        8680  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SparseList(_) => write!(f, "constraint violation occurred building member `sparse_list` when building `ConA`"),
        8681  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SparseLengthMap(_) => write!(f, "constraint violation occurred building member `sparse_length_map` when building `ConA`"),
        8682  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SparseLengthList(_) => write!(f, "constraint violation occurred building member `sparse_length_list` when building `ConA`"),
        8683  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ConstrainedUnion(_) => write!(f, "constraint violation occurred building member `constrained_union` when building `ConA`"),
        8684  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::EnumString(_) => write!(f, "constraint violation occurred building member `enum_string` when building `ConA`"),
        8685  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfLengthString(_) => write!(f, "constraint violation occurred building member `list_of_length_string` when building `ConA`"),
        8686  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SetOfLengthString(_) => write!(f, "constraint violation occurred building member `set_of_length_string` when building `ConA`"),
        8687  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfLengthString(_) => write!(f, "constraint violation occurred building member `map_of_length_string` when building `ConA`"),
        8688  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfLengthBlob(_) => write!(f, "constraint violation occurred building member `list_of_length_blob` when building `ConA`"),
        8689  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfLengthBlob(_) => write!(f, "constraint violation occurred building member `map_of_length_blob` when building `ConA`"),
        8690  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfRangeInteger(_) => write!(f, "constraint violation occurred building member `list_of_range_integer` when building `ConA`"),
        8691  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SetOfRangeInteger(_) => write!(f, "constraint violation occurred building member `set_of_range_integer` when building `ConA`"),
        8692  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfRangeInteger(_) => write!(f, "constraint violation occurred building member `map_of_range_integer` when building `ConA`"),
        8693  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfRangeShort(_) => write!(f, "constraint violation occurred building member `list_of_range_short` when building `ConA`"),
        8694  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SetOfRangeShort(_) => write!(f, "constraint violation occurred building member `set_of_range_short` when building `ConA`"),
        8695  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfRangeShort(_) => write!(f, "constraint violation occurred building member `map_of_range_short` when building `ConA`"),
        8696  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfRangeLong(_) => write!(f, "constraint violation occurred building member `list_of_range_long` when building `ConA`"),
        8697  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SetOfRangeLong(_) => write!(f, "constraint violation occurred building member `set_of_range_long` when building `ConA`"),
        8698  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfRangeLong(_) => write!(f, "constraint violation occurred building member `map_of_range_long` when building `ConA`"),
        8699  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfRangeByte(_) => write!(f, "constraint violation occurred building member `list_of_range_byte` when building `ConA`"),
        8700  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SetOfRangeByte(_) => write!(f, "constraint violation occurred building member `set_of_range_byte` when building `ConA`"),
        8701  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfRangeByte(_) => write!(f, "constraint violation occurred building member `map_of_range_byte` when building `ConA`"),
        8702  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::PatternString(_) => write!(f, "constraint violation occurred building member `pattern_string` when building `ConA`"),
        8703  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfPatternString(_) => write!(f, "constraint violation occurred building member `map_of_pattern_string` when building `ConA`"),
        8704  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfPatternString(_) => write!(f, "constraint violation occurred building member `list_of_pattern_string` when building `ConA`"),
        8705  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SetOfPatternString(_) => write!(f, "constraint violation occurred building member `set_of_pattern_string` when building `ConA`"),
        8706  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LengthLengthPatternString(_) => write!(f, "constraint violation occurred building member `length_length_pattern_string` when building `ConA`"),
        8707  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MapOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `map_of_length_pattern_string` when building `ConA`"),
        8708  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `list_of_length_pattern_string` when building `ConA`"),
        8709  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::SetOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `set_of_length_pattern_string` when building `ConA`"),
        8710  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LengthListOfPatternString(_) => write!(f, "constraint violation occurred building member `length_list_of_pattern_string` when building `ConA`"),
        8711  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LengthSetOfPatternString(_) => write!(f, "constraint violation occurred building member `length_set_of_pattern_string` when building `ConA`"),
        8712  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        8713  +
            /* ServerBuilderConstraintViolations.kt:118 */
        8714  +
        }
        8715  +
        /* ServerBuilderConstraintViolations.kt:117 */
        8716  +
    }
        8717  +
    /* ServerBuilderConstraintViolations.kt:84 */
 6900   8718   
    impl ::std::error::Error for ConstraintViolation {}
        8719  +
    /* ServerBuilderConstraintViolations.kt:171 */
 6901   8720   
    impl ConstraintViolation {
 6902   8721   
        pub(crate) fn as_validation_exception_field(
 6903   8722   
            self,
 6904   8723   
            path: ::std::string::String,
 6905   8724   
        ) -> crate::model::ValidationExceptionField {
 6906   8725   
            match self {
 6907   8726   
                ConstraintViolation::MissingConB => crate::model::ValidationExceptionField {
 6908   8727   
                    message: format!(
 6909   8728   
                        "Value at '{}/conB' failed to satisfy constraint: Member must not be null",
 6910   8729   
                        path
@@ -7085,8904 +11685,15111 @@
 7105   8924   
                }
 7106   8925   
                ConstraintViolation::LengthListOfPatternString(inner) => {
 7107   8926   
                    inner.as_validation_exception_field(path + "/lengthListOfPatternString")
 7108   8927   
                }
 7109   8928   
                ConstraintViolation::LengthSetOfPatternString(inner) => {
 7110   8929   
                    inner.as_validation_exception_field(path + "/lengthSetOfPatternString")
 7111   8930   
                }
 7112   8931   
            }
 7113   8932   
        }
 7114   8933   
    }
        8934  +
    /* ServerBuilderGenerator.kt:244 */
 7115   8935   
    impl ::std::convert::From<Builder> for crate::constrained::MaybeConstrained<crate::model::ConA> {
 7116   8936   
        fn from(builder: Builder) -> Self {
 7117   8937   
            Self::Unconstrained(builder)
 7118   8938   
        }
 7119   8939   
    }
        8940  +
    /* ServerBuilderGenerator.kt:446 */
 7120   8941   
    impl ::std::convert::TryFrom<Builder> for crate::model::ConA {
 7121   8942   
        type Error = ConstraintViolation;
 7122   8943   
 7123   8944   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 7124   8945   
            builder.build()
 7125   8946   
        }
 7126   8947   
    }
 7127         -
    /// A builder for [`ConA`](crate::model::ConA).
        8948  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`ConA`](crate::model::ConA).
        8949  +
    /* RustType.kt:516 */
 7128   8950   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        8951  +
    /* ServerBuilderGenerator.kt:211 */
 7129   8952   
    pub(crate) struct Builder {
 7130         -
        pub(crate) con_b: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConB>>,
 7131         -
        pub(crate) opt_con_b: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConB>>,
 7132         -
        pub(crate) length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthString>>,
 7133         -
        pub(crate) min_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinLengthString>>,
 7134         -
        pub(crate) max_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxLengthString>>,
 7135         -
        pub(crate) fixed_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedLengthString>>,
 7136         -
        pub(crate) length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthBlob>>,
 7137         -
        pub(crate) min_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinLengthBlob>>,
 7138         -
        pub(crate) max_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxLengthBlob>>,
 7139         -
        pub(crate) fixed_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedLengthBlob>>,
 7140         -
        pub(crate) range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeInteger>>,
 7141         -
        pub(crate) min_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeInteger>>,
 7142         -
        pub(crate) max_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeInteger>>,
 7143         -
        pub(crate) fixed_value_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueInteger>>,
 7144         -
        pub(crate) range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeShort>>,
 7145         -
        pub(crate) min_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeShort>>,
 7146         -
        pub(crate) max_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeShort>>,
 7147         -
        pub(crate) fixed_value_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueShort>>,
 7148         -
        pub(crate) range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeLong>>,
 7149         -
        pub(crate) min_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeLong>>,
 7150         -
        pub(crate) max_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeLong>>,
 7151         -
        pub(crate) fixed_value_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueLong>>,
 7152         -
        pub(crate) range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeByte>>,
 7153         -
        pub(crate) min_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeByte>>,
 7154         -
        pub(crate) max_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeByte>>,
 7155         -
        pub(crate) fixed_value_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueByte>>,
 7156         -
        pub(crate) con_b_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::con_b_list_constrained::ConBListConstrained>>,
 7157         -
        pub(crate) length_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthList>>,
 7158         -
        pub(crate) sensitive_length_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SensitiveLengthList>>,
 7159         -
        pub(crate) con_b_set: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConBSet>>,
 7160         -
        pub(crate) con_b_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
 7161         -
        pub(crate) length_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthMap>>,
 7162         -
        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>>,
 7163         -
        pub(crate) sparse_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::sparse_map_constrained::SparseMapConstrained>>,
 7164         -
        pub(crate) sparse_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::sparse_list_constrained::SparseListConstrained>>,
 7165         -
        pub(crate) sparse_length_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SparseLengthMap>>,
 7166         -
        pub(crate) sparse_length_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SparseLengthList>>,
 7167         -
        pub(crate) constrained_union: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConstrainedUnion>>,
 7168         -
        pub(crate) enum_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::EnumString>>,
 7169         -
        pub(crate) list_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>,
 7170         -
        pub(crate) set_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>>,
 7171         -
        pub(crate) map_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_string_constrained::MapOfLengthStringConstrained>>,
 7172         -
        pub(crate) list_of_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_blob_constrained::ListOfLengthBlobConstrained>>,
 7173         -
        pub(crate) map_of_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_blob_constrained::MapOfLengthBlobConstrained>>,
 7174         -
        pub(crate) list_of_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>,
 7175         -
        pub(crate) set_of_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>>,
 7176         -
        pub(crate) map_of_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_integer_constrained::MapOfRangeIntegerConstrained>>,
 7177         -
        pub(crate) list_of_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>,
 7178         -
        pub(crate) set_of_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>>,
 7179         -
        pub(crate) map_of_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_short_constrained::MapOfRangeShortConstrained>>,
 7180         -
        pub(crate) list_of_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>,
 7181         -
        pub(crate) set_of_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>>,
 7182         -
        pub(crate) map_of_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_long_constrained::MapOfRangeLongConstrained>>,
 7183         -
        pub(crate) list_of_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>,
 7184         -
        pub(crate) set_of_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>>,
 7185         -
        pub(crate) map_of_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_byte_constrained::MapOfRangeByteConstrained>>,
 7186         -
        pub(crate) non_streaming_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
 7187         -
        pub(crate) pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::PatternString>>,
 7188         -
        pub(crate) map_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_pattern_string_constrained::MapOfPatternStringConstrained>>,
 7189         -
        pub(crate) list_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_pattern_string_constrained::ListOfPatternStringConstrained>>,
 7190         -
        pub(crate) set_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfPatternString>>,
 7191         -
        pub(crate) length_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthPatternString>>,
 7192         -
        pub(crate) map_of_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_pattern_string_constrained::MapOfLengthPatternStringConstrained>>,
 7193         -
        pub(crate) list_of_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_pattern_string_constrained::ListOfLengthPatternStringConstrained>>,
 7194         -
        pub(crate) set_of_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfLengthPatternString>>,
 7195         -
        pub(crate) length_list_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>>,
 7196         -
        pub(crate) length_set_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthSetOfPatternString>>,
 7197         -
    }
        8953  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) con_b: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConB>>,
        8954  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) opt_con_b: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConB>>,
        8955  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthString>>,
        8956  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) min_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinLengthString>>,
        8957  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) max_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxLengthString>>,
        8958  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) fixed_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedLengthString>>,
        8959  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthBlob>>,
        8960  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) min_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinLengthBlob>>,
        8961  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) max_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxLengthBlob>>,
        8962  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) fixed_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedLengthBlob>>,
        8963  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeInteger>>,
        8964  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) min_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeInteger>>,
        8965  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) max_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeInteger>>,
        8966  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) fixed_value_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueInteger>>,
        8967  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeShort>>,
        8968  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) min_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeShort>>,
        8969  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) max_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeShort>>,
        8970  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) fixed_value_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueShort>>,
        8971  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeLong>>,
        8972  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) min_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeLong>>,
        8973  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) max_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeLong>>,
        8974  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) fixed_value_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueLong>>,
        8975  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeByte>>,
        8976  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) min_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinRangeByte>>,
        8977  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) max_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxRangeByte>>,
        8978  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) fixed_value_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FixedValueByte>>,
        8979  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) con_b_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::con_b_list_constrained::ConBListConstrained>>,
        8980  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) length_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthList>>,
        8981  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) sensitive_length_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SensitiveLengthList>>,
        8982  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) con_b_set: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConBSet>>,
        8983  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) con_b_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
        8984  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) length_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthMap>>,
        8985  +
        /* 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>>,
        8986  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) sparse_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::sparse_map_constrained::SparseMapConstrained>>,
        8987  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) sparse_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::sparse_list_constrained::SparseListConstrained>>,
        8988  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) sparse_length_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SparseLengthMap>>,
        8989  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) sparse_length_list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SparseLengthList>>,
        8990  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) constrained_union: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConstrainedUnion>>,
        8991  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) enum_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::EnumString>>,
        8992  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>,
        8993  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) set_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>>,
        8994  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_string_constrained::MapOfLengthStringConstrained>>,
        8995  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_blob_constrained::ListOfLengthBlobConstrained>>,
        8996  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_length_blob: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_blob_constrained::MapOfLengthBlobConstrained>>,
        8997  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>,
        8998  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) set_of_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>>,
        8999  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_range_integer: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_integer_constrained::MapOfRangeIntegerConstrained>>,
        9000  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>,
        9001  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) set_of_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>>,
        9002  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_range_short: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_short_constrained::MapOfRangeShortConstrained>>,
        9003  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>,
        9004  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) set_of_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>>,
        9005  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_range_long: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_long_constrained::MapOfRangeLongConstrained>>,
        9006  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>,
        9007  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) set_of_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>>,
        9008  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_range_byte: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_byte_constrained::MapOfRangeByteConstrained>>,
        9009  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) non_streaming_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
        9010  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::PatternString>>,
        9011  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_pattern_string_constrained::MapOfPatternStringConstrained>>,
        9012  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_pattern_string_constrained::ListOfPatternStringConstrained>>,
        9013  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) set_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfPatternString>>,
        9014  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) length_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthPatternString>>,
        9015  +
        /* 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>>,
        9016  +
        /* 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>>,
        9017  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) set_of_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfLengthPatternString>>,
        9018  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) length_list_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>>,
        9019  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) length_set_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthSetOfPatternString>>,
        9020  +
    /* ServerBuilderGenerator.kt:211 */}
        9021  +
    /* ServerBuilderGenerator.kt:215 */
 7198   9022   
    impl Builder {
        9023  +
        /* ServerBuilderGenerator.kt:426 */
 7199   9024   
        #[allow(missing_docs)] // documentation missing in model
        9025  +
                               /* ServerBuilderGenerator.kt:428 */
 7200   9026   
        pub(crate) fn set_con_b(
 7201   9027   
            mut self,
 7202   9028   
            input: impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConB>>,
 7203   9029   
        ) -> Self {
        9030  +
            /* ServerBuilderGenerator.kt:429 */
 7204   9031   
            self.con_b = Some(input.into());
 7205   9032   
            self
        9033  +
            /* ServerBuilderGenerator.kt:428 */
 7206   9034   
        }
        9035  +
        /* ServerBuilderGenerator.kt:426 */
 7207   9036   
        #[allow(missing_docs)] // documentation missing in model
        9037  +
                               /* ServerBuilderGenerator.kt:428 */
 7208   9038   
        pub(crate) fn set_opt_con_b(
 7209   9039   
            mut self,
 7210   9040   
            input: Option<
 7211   9041   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConB>>,
 7212   9042   
            >,
 7213   9043   
        ) -> Self {
        9044  +
            /* ServerBuilderGenerator.kt:429 */
 7214   9045   
            self.opt_con_b = input.map(|v| v.into());
 7215   9046   
            self
        9047  +
            /* ServerBuilderGenerator.kt:428 */
 7216   9048   
        }
        9049  +
        /* ServerBuilderGenerator.kt:426 */
 7217   9050   
        #[allow(missing_docs)] // documentation missing in model
        9051  +
                               /* ServerBuilderGenerator.kt:428 */
 7218   9052   
        pub(crate) fn set_length_string(
 7219   9053   
            mut self,
 7220   9054   
            input: Option<
 7221   9055   
                impl ::std::convert::Into<
 7222   9056   
                    crate::constrained::MaybeConstrained<crate::model::LengthString>,
 7223   9057   
                >,
 7224   9058   
            >,
 7225   9059   
        ) -> Self {
        9060  +
            /* ServerBuilderGenerator.kt:429 */
 7226   9061   
            self.length_string = input.map(|v| v.into());
 7227   9062   
            self
        9063  +
            /* ServerBuilderGenerator.kt:428 */
 7228   9064   
        }
        9065  +
        /* ServerBuilderGenerator.kt:426 */
 7229   9066   
        #[allow(missing_docs)] // documentation missing in model
        9067  +
                               /* ServerBuilderGenerator.kt:428 */
 7230   9068   
        pub(crate) fn set_min_length_string(
 7231   9069   
            mut self,
 7232   9070   
            input: Option<
 7233   9071   
                impl ::std::convert::Into<
 7234   9072   
                    crate::constrained::MaybeConstrained<crate::model::MinLengthString>,
 7235   9073   
                >,
 7236   9074   
            >,
 7237   9075   
        ) -> Self {
        9076  +
            /* ServerBuilderGenerator.kt:429 */
 7238   9077   
            self.min_length_string = input.map(|v| v.into());
 7239   9078   
            self
        9079  +
            /* ServerBuilderGenerator.kt:428 */
 7240   9080   
        }
        9081  +
        /* ServerBuilderGenerator.kt:426 */
 7241   9082   
        #[allow(missing_docs)] // documentation missing in model
        9083  +
                               /* ServerBuilderGenerator.kt:428 */
 7242   9084   
        pub(crate) fn set_max_length_string(
 7243   9085   
            mut self,
 7244   9086   
            input: Option<
 7245   9087   
                impl ::std::convert::Into<
 7246   9088   
                    crate::constrained::MaybeConstrained<crate::model::MaxLengthString>,
 7247   9089   
                >,
 7248   9090   
            >,
 7249   9091   
        ) -> Self {
        9092  +
            /* ServerBuilderGenerator.kt:429 */
 7250   9093   
            self.max_length_string = input.map(|v| v.into());
 7251   9094   
            self
        9095  +
            /* ServerBuilderGenerator.kt:428 */
 7252   9096   
        }
        9097  +
        /* ServerBuilderGenerator.kt:426 */
 7253   9098   
        #[allow(missing_docs)] // documentation missing in model
        9099  +
                               /* ServerBuilderGenerator.kt:428 */
 7254   9100   
        pub(crate) fn set_fixed_length_string(
 7255   9101   
            mut self,
 7256   9102   
            input: Option<
 7257   9103   
                impl ::std::convert::Into<
 7258   9104   
                    crate::constrained::MaybeConstrained<crate::model::FixedLengthString>,
 7259   9105   
                >,
 7260   9106   
            >,
 7261   9107   
        ) -> Self {
        9108  +
            /* ServerBuilderGenerator.kt:429 */
 7262   9109   
            self.fixed_length_string = input.map(|v| v.into());
 7263   9110   
            self
        9111  +
            /* ServerBuilderGenerator.kt:428 */
 7264   9112   
        }
        9113  +
        /* ServerBuilderGenerator.kt:426 */
 7265   9114   
        #[allow(missing_docs)] // documentation missing in model
        9115  +
                               /* ServerBuilderGenerator.kt:428 */
 7266   9116   
        pub(crate) fn set_length_blob(
 7267   9117   
            mut self,
 7268   9118   
            input: Option<
 7269   9119   
                impl ::std::convert::Into<
 7270   9120   
                    crate::constrained::MaybeConstrained<crate::model::LengthBlob>,
 7271   9121   
                >,
 7272   9122   
            >,
 7273   9123   
        ) -> Self {
        9124  +
            /* ServerBuilderGenerator.kt:429 */
 7274   9125   
            self.length_blob = input.map(|v| v.into());
 7275   9126   
            self
        9127  +
            /* ServerBuilderGenerator.kt:428 */
 7276   9128   
        }
        9129  +
        /* ServerBuilderGenerator.kt:426 */
 7277   9130   
        #[allow(missing_docs)] // documentation missing in model
        9131  +
                               /* ServerBuilderGenerator.kt:428 */
 7278   9132   
        pub(crate) fn set_min_length_blob(
 7279   9133   
            mut self,
 7280   9134   
            input: Option<
 7281   9135   
                impl ::std::convert::Into<
 7282   9136   
                    crate::constrained::MaybeConstrained<crate::model::MinLengthBlob>,
 7283   9137   
                >,
 7284   9138   
            >,
 7285   9139   
        ) -> Self {
        9140  +
            /* ServerBuilderGenerator.kt:429 */
 7286   9141   
            self.min_length_blob = input.map(|v| v.into());
 7287   9142   
            self
        9143  +
            /* ServerBuilderGenerator.kt:428 */
 7288   9144   
        }
        9145  +
        /* ServerBuilderGenerator.kt:426 */
 7289   9146   
        #[allow(missing_docs)] // documentation missing in model
        9147  +
                               /* ServerBuilderGenerator.kt:428 */
 7290   9148   
        pub(crate) fn set_max_length_blob(
 7291   9149   
            mut self,
 7292   9150   
            input: Option<
 7293   9151   
                impl ::std::convert::Into<
 7294   9152   
                    crate::constrained::MaybeConstrained<crate::model::MaxLengthBlob>,
 7295   9153   
                >,
 7296   9154   
            >,
 7297   9155   
        ) -> Self {
        9156  +
            /* ServerBuilderGenerator.kt:429 */
 7298   9157   
            self.max_length_blob = input.map(|v| v.into());
 7299   9158   
            self
        9159  +
            /* ServerBuilderGenerator.kt:428 */
 7300   9160   
        }
        9161  +
        /* ServerBuilderGenerator.kt:426 */
 7301   9162   
        #[allow(missing_docs)] // documentation missing in model
        9163  +
                               /* ServerBuilderGenerator.kt:428 */
 7302   9164   
        pub(crate) fn set_fixed_length_blob(
 7303   9165   
            mut self,
 7304   9166   
            input: Option<
 7305   9167   
                impl ::std::convert::Into<
 7306   9168   
                    crate::constrained::MaybeConstrained<crate::model::FixedLengthBlob>,
 7307   9169   
                >,
 7308   9170   
            >,
 7309   9171   
        ) -> Self {
        9172  +
            /* ServerBuilderGenerator.kt:429 */
 7310   9173   
            self.fixed_length_blob = input.map(|v| v.into());
 7311   9174   
            self
        9175  +
            /* ServerBuilderGenerator.kt:428 */
 7312   9176   
        }
        9177  +
        /* ServerBuilderGenerator.kt:426 */
 7313   9178   
        #[allow(missing_docs)] // documentation missing in model
        9179  +
                               /* ServerBuilderGenerator.kt:428 */
 7314   9180   
        pub(crate) fn set_range_integer(
 7315   9181   
            mut self,
 7316   9182   
            input: impl ::std::convert::Into<
 7317   9183   
                crate::constrained::MaybeConstrained<crate::model::RangeInteger>,
 7318   9184   
            >,
 7319   9185   
        ) -> Self {
        9186  +
            /* ServerBuilderGenerator.kt:429 */
 7320   9187   
            self.range_integer = Some(input.into());
 7321   9188   
            self
        9189  +
            /* ServerBuilderGenerator.kt:428 */
 7322   9190   
        }
        9191  +
        /* ServerBuilderGenerator.kt:426 */
 7323   9192   
        #[allow(missing_docs)] // documentation missing in model
        9193  +
                               /* ServerBuilderGenerator.kt:428 */
 7324   9194   
        pub(crate) fn set_min_range_integer(
 7325   9195   
            mut self,
 7326   9196   
            input: impl ::std::convert::Into<
 7327   9197   
                crate::constrained::MaybeConstrained<crate::model::MinRangeInteger>,
 7328   9198   
            >,
 7329   9199   
        ) -> Self {
        9200  +
            /* ServerBuilderGenerator.kt:429 */
 7330   9201   
            self.min_range_integer = Some(input.into());
 7331   9202   
            self
        9203  +
            /* ServerBuilderGenerator.kt:428 */
 7332   9204   
        }
        9205  +
        /* ServerBuilderGenerator.kt:426 */
 7333   9206   
        #[allow(missing_docs)] // documentation missing in model
        9207  +
                               /* ServerBuilderGenerator.kt:428 */
 7334   9208   
        pub(crate) fn set_max_range_integer(
 7335   9209   
            mut self,
 7336   9210   
            input: impl ::std::convert::Into<
 7337   9211   
                crate::constrained::MaybeConstrained<crate::model::MaxRangeInteger>,
 7338   9212   
            >,
 7339   9213   
        ) -> Self {
        9214  +
            /* ServerBuilderGenerator.kt:429 */
 7340   9215   
            self.max_range_integer = Some(input.into());
 7341   9216   
            self
        9217  +
            /* ServerBuilderGenerator.kt:428 */
 7342   9218   
        }
        9219  +
        /* ServerBuilderGenerator.kt:426 */
 7343   9220   
        #[allow(missing_docs)] // documentation missing in model
        9221  +
                               /* ServerBuilderGenerator.kt:428 */
 7344   9222   
        pub(crate) fn set_fixed_value_integer(
 7345   9223   
            mut self,
 7346   9224   
            input: impl ::std::convert::Into<
 7347   9225   
                crate::constrained::MaybeConstrained<crate::model::FixedValueInteger>,
 7348   9226   
            >,
 7349   9227   
        ) -> Self {
        9228  +
            /* ServerBuilderGenerator.kt:429 */
 7350   9229   
            self.fixed_value_integer = Some(input.into());
 7351   9230   
            self
        9231  +
            /* ServerBuilderGenerator.kt:428 */
 7352   9232   
        }
        9233  +
        /* ServerBuilderGenerator.kt:426 */
 7353   9234   
        #[allow(missing_docs)] // documentation missing in model
        9235  +
                               /* ServerBuilderGenerator.kt:428 */
 7354   9236   
        pub(crate) fn set_range_short(
 7355   9237   
            mut self,
 7356   9238   
            input: impl ::std::convert::Into<
 7357   9239   
                crate::constrained::MaybeConstrained<crate::model::RangeShort>,
 7358   9240   
            >,
 7359   9241   
        ) -> Self {
        9242  +
            /* ServerBuilderGenerator.kt:429 */
 7360   9243   
            self.range_short = Some(input.into());
 7361   9244   
            self
        9245  +
            /* ServerBuilderGenerator.kt:428 */
 7362   9246   
        }
        9247  +
        /* ServerBuilderGenerator.kt:426 */
 7363   9248   
        #[allow(missing_docs)] // documentation missing in model
        9249  +
                               /* ServerBuilderGenerator.kt:428 */
 7364   9250   
        pub(crate) fn set_min_range_short(
 7365   9251   
            mut self,
 7366   9252   
            input: impl ::std::convert::Into<
 7367   9253   
                crate::constrained::MaybeConstrained<crate::model::MinRangeShort>,
 7368   9254   
            >,
 7369   9255   
        ) -> Self {
        9256  +
            /* ServerBuilderGenerator.kt:429 */
 7370   9257   
            self.min_range_short = Some(input.into());
 7371   9258   
            self
        9259  +
            /* ServerBuilderGenerator.kt:428 */
 7372   9260   
        }
        9261  +
        /* ServerBuilderGenerator.kt:426 */
 7373   9262   
        #[allow(missing_docs)] // documentation missing in model
        9263  +
                               /* ServerBuilderGenerator.kt:428 */
 7374   9264   
        pub(crate) fn set_max_range_short(
 7375   9265   
            mut self,
 7376   9266   
            input: impl ::std::convert::Into<
 7377   9267   
                crate::constrained::MaybeConstrained<crate::model::MaxRangeShort>,
 7378   9268   
            >,
 7379   9269   
        ) -> Self {
        9270  +
            /* ServerBuilderGenerator.kt:429 */
 7380   9271   
            self.max_range_short = Some(input.into());
 7381   9272   
            self
        9273  +
            /* ServerBuilderGenerator.kt:428 */
 7382   9274   
        }
        9275  +
        /* ServerBuilderGenerator.kt:426 */
 7383   9276   
        #[allow(missing_docs)] // documentation missing in model
        9277  +
                               /* ServerBuilderGenerator.kt:428 */
 7384   9278   
        pub(crate) fn set_fixed_value_short(
 7385   9279   
            mut self,
 7386   9280   
            input: impl ::std::convert::Into<
 7387   9281   
                crate::constrained::MaybeConstrained<crate::model::FixedValueShort>,
 7388   9282   
            >,
 7389   9283   
        ) -> Self {
        9284  +
            /* ServerBuilderGenerator.kt:429 */
 7390   9285   
            self.fixed_value_short = Some(input.into());
 7391   9286   
            self
        9287  +
            /* ServerBuilderGenerator.kt:428 */
 7392   9288   
        }
        9289  +
        /* ServerBuilderGenerator.kt:426 */
 7393   9290   
        #[allow(missing_docs)] // documentation missing in model
        9291  +
                               /* ServerBuilderGenerator.kt:428 */
 7394   9292   
        pub(crate) fn set_range_long(
 7395   9293   
            mut self,
 7396   9294   
            input: impl ::std::convert::Into<
 7397   9295   
                crate::constrained::MaybeConstrained<crate::model::RangeLong>,
 7398   9296   
            >,
 7399   9297   
        ) -> Self {
        9298  +
            /* ServerBuilderGenerator.kt:429 */
 7400   9299   
            self.range_long = Some(input.into());
 7401   9300   
            self
        9301  +
            /* ServerBuilderGenerator.kt:428 */
 7402   9302   
        }
        9303  +
        /* ServerBuilderGenerator.kt:426 */
 7403   9304   
        #[allow(missing_docs)] // documentation missing in model
        9305  +
                               /* ServerBuilderGenerator.kt:428 */
 7404   9306   
        pub(crate) fn set_min_range_long(
 7405   9307   
            mut self,
 7406   9308   
            input: impl ::std::convert::Into<
 7407   9309   
                crate::constrained::MaybeConstrained<crate::model::MinRangeLong>,
 7408   9310   
            >,
 7409   9311   
        ) -> Self {
        9312  +
            /* ServerBuilderGenerator.kt:429 */
 7410   9313   
            self.min_range_long = Some(input.into());
 7411   9314   
            self
        9315  +
            /* ServerBuilderGenerator.kt:428 */
 7412   9316   
        }
        9317  +
        /* ServerBuilderGenerator.kt:426 */
 7413   9318   
        #[allow(missing_docs)] // documentation missing in model
        9319  +
                               /* ServerBuilderGenerator.kt:428 */
 7414   9320   
        pub(crate) fn set_max_range_long(
 7415   9321   
            mut self,
 7416   9322   
            input: impl ::std::convert::Into<
 7417   9323   
                crate::constrained::MaybeConstrained<crate::model::MaxRangeLong>,
 7418   9324   
            >,
 7419   9325   
        ) -> Self {
        9326  +
            /* ServerBuilderGenerator.kt:429 */
 7420   9327   
            self.max_range_long = Some(input.into());
 7421   9328   
            self
        9329  +
            /* ServerBuilderGenerator.kt:428 */
 7422   9330   
        }
        9331  +
        /* ServerBuilderGenerator.kt:426 */
 7423   9332   
        #[allow(missing_docs)] // documentation missing in model
        9333  +
                               /* ServerBuilderGenerator.kt:428 */
 7424   9334   
        pub(crate) fn set_fixed_value_long(
 7425   9335   
            mut self,
 7426   9336   
            input: impl ::std::convert::Into<
 7427   9337   
                crate::constrained::MaybeConstrained<crate::model::FixedValueLong>,
 7428   9338   
            >,
 7429   9339   
        ) -> Self {
        9340  +
            /* ServerBuilderGenerator.kt:429 */
 7430   9341   
            self.fixed_value_long = Some(input.into());
 7431   9342   
            self
        9343  +
            /* ServerBuilderGenerator.kt:428 */
 7432   9344   
        }
        9345  +
        /* ServerBuilderGenerator.kt:426 */
 7433   9346   
        #[allow(missing_docs)] // documentation missing in model
        9347  +
                               /* ServerBuilderGenerator.kt:428 */
 7434   9348   
        pub(crate) fn set_range_byte(
 7435   9349   
            mut self,
 7436   9350   
            input: impl ::std::convert::Into<
 7437   9351   
                crate::constrained::MaybeConstrained<crate::model::RangeByte>,
 7438   9352   
            >,
 7439   9353   
        ) -> Self {
        9354  +
            /* ServerBuilderGenerator.kt:429 */
 7440   9355   
            self.range_byte = Some(input.into());
 7441   9356   
            self
        9357  +
            /* ServerBuilderGenerator.kt:428 */
 7442   9358   
        }
        9359  +
        /* ServerBuilderGenerator.kt:426 */
 7443   9360   
        #[allow(missing_docs)] // documentation missing in model
        9361  +
                               /* ServerBuilderGenerator.kt:428 */
 7444   9362   
        pub(crate) fn set_min_range_byte(
 7445   9363   
            mut self,
 7446   9364   
            input: impl ::std::convert::Into<
 7447   9365   
                crate::constrained::MaybeConstrained<crate::model::MinRangeByte>,
 7448   9366   
            >,
 7449   9367   
        ) -> Self {
        9368  +
            /* ServerBuilderGenerator.kt:429 */
 7450   9369   
            self.min_range_byte = Some(input.into());
 7451   9370   
            self
        9371  +
            /* ServerBuilderGenerator.kt:428 */
 7452   9372   
        }
        9373  +
        /* ServerBuilderGenerator.kt:426 */
 7453   9374   
        #[allow(missing_docs)] // documentation missing in model
        9375  +
                               /* ServerBuilderGenerator.kt:428 */
 7454   9376   
        pub(crate) fn set_max_range_byte(
 7455   9377   
            mut self,
 7456   9378   
            input: impl ::std::convert::Into<
 7457   9379   
                crate::constrained::MaybeConstrained<crate::model::MaxRangeByte>,
 7458   9380   
            >,
 7459   9381   
        ) -> Self {
        9382  +
            /* ServerBuilderGenerator.kt:429 */
 7460   9383   
            self.max_range_byte = Some(input.into());
 7461   9384   
            self
        9385  +
            /* ServerBuilderGenerator.kt:428 */
 7462   9386   
        }
        9387  +
        /* ServerBuilderGenerator.kt:426 */
 7463   9388   
        #[allow(missing_docs)] // documentation missing in model
        9389  +
                               /* ServerBuilderGenerator.kt:428 */
 7464   9390   
        pub(crate) fn set_fixed_value_byte(
 7465   9391   
            mut self,
 7466   9392   
            input: impl ::std::convert::Into<
 7467   9393   
                crate::constrained::MaybeConstrained<crate::model::FixedValueByte>,
 7468   9394   
            >,
 7469   9395   
        ) -> Self {
        9396  +
            /* ServerBuilderGenerator.kt:429 */
 7470   9397   
            self.fixed_value_byte = Some(input.into());
 7471   9398   
            self
        9399  +
            /* ServerBuilderGenerator.kt:428 */
 7472   9400   
        }
        9401  +
        /* ServerBuilderGenerator.kt:426 */
 7473   9402   
        #[allow(missing_docs)] // documentation missing in model
        9403  +
                               /* ServerBuilderGenerator.kt:428 */
 7474   9404   
        pub(crate) fn set_con_b_list(
 7475   9405   
            mut self,
 7476   9406   
            input: Option<
 7477   9407   
                impl ::std::convert::Into<
 7478   9408   
                    crate::constrained::MaybeConstrained<
 7479   9409   
                        crate::constrained::con_b_list_constrained::ConBListConstrained,
 7480   9410   
                    >,
 7481   9411   
                >,
 7482   9412   
            >,
 7483   9413   
        ) -> Self {
        9414  +
            /* ServerBuilderGenerator.kt:429 */
 7484   9415   
            self.con_b_list = input.map(|v| v.into());
 7485   9416   
            self
        9417  +
            /* ServerBuilderGenerator.kt:428 */
 7486   9418   
        }
        9419  +
        /* ServerBuilderGenerator.kt:426 */
 7487   9420   
        #[allow(missing_docs)] // documentation missing in model
        9421  +
                               /* ServerBuilderGenerator.kt:428 */
 7488   9422   
        pub(crate) fn set_length_list(
 7489   9423   
            mut self,
 7490   9424   
            input: Option<
 7491   9425   
                impl ::std::convert::Into<
 7492   9426   
                    crate::constrained::MaybeConstrained<crate::model::LengthList>,
 7493   9427   
                >,
 7494   9428   
            >,
 7495   9429   
        ) -> Self {
        9430  +
            /* ServerBuilderGenerator.kt:429 */
 7496   9431   
            self.length_list = input.map(|v| v.into());
 7497   9432   
            self
        9433  +
            /* ServerBuilderGenerator.kt:428 */
 7498   9434   
        }
        9435  +
        /* ServerBuilderGenerator.kt:426 */
 7499   9436   
        #[allow(missing_docs)] // documentation missing in model
        9437  +
                               /* ServerBuilderGenerator.kt:428 */
 7500   9438   
        pub(crate) fn set_sensitive_length_list(
 7501   9439   
            mut self,
 7502   9440   
            input: Option<
 7503   9441   
                impl ::std::convert::Into<
 7504   9442   
                    crate::constrained::MaybeConstrained<crate::model::SensitiveLengthList>,
 7505   9443   
                >,
 7506   9444   
            >,
 7507   9445   
        ) -> Self {
        9446  +
            /* ServerBuilderGenerator.kt:429 */
 7508   9447   
            self.sensitive_length_list = input.map(|v| v.into());
 7509   9448   
            self
        9449  +
            /* ServerBuilderGenerator.kt:428 */
 7510   9450   
        }
        9451  +
        /* ServerBuilderGenerator.kt:426 */
 7511   9452   
        #[allow(missing_docs)] // documentation missing in model
        9453  +
                               /* ServerBuilderGenerator.kt:428 */
 7512   9454   
        pub(crate) fn set_con_b_set(
 7513   9455   
            mut self,
 7514   9456   
            input: Option<
 7515   9457   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConBSet>>,
 7516   9458   
            >,
 7517   9459   
        ) -> Self {
        9460  +
            /* ServerBuilderGenerator.kt:429 */
 7518   9461   
            self.con_b_set = input.map(|v| v.into());
 7519   9462   
            self
        9463  +
            /* ServerBuilderGenerator.kt:428 */
 7520   9464   
        }
        9465  +
        /* ServerBuilderGenerator.kt:426 */
 7521   9466   
        #[allow(missing_docs)] // documentation missing in model
        9467  +
                               /* ServerBuilderGenerator.kt:428 */
 7522   9468   
        pub(crate) fn set_con_b_map(
 7523   9469   
            mut self,
 7524   9470   
            input: Option<
 7525   9471   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
 7526   9472   
            >,
 7527   9473   
        ) -> Self {
        9474  +
            /* ServerBuilderGenerator.kt:429 */
 7528   9475   
            self.con_b_map = input.map(|v| v.into());
 7529   9476   
            self
        9477  +
            /* ServerBuilderGenerator.kt:428 */
 7530   9478   
        }
        9479  +
        /* ServerBuilderGenerator.kt:426 */
 7531   9480   
        #[allow(missing_docs)] // documentation missing in model
        9481  +
                               /* ServerBuilderGenerator.kt:428 */
 7532   9482   
        pub(crate) fn set_length_map(
 7533   9483   
            mut self,
 7534   9484   
            input: Option<
 7535   9485   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::LengthMap>>,
 7536   9486   
            >,
 7537   9487   
        ) -> Self {
        9488  +
            /* ServerBuilderGenerator.kt:429 */
 7538   9489   
            self.length_map = input.map(|v| v.into());
 7539   9490   
            self
        9491  +
            /* ServerBuilderGenerator.kt:428 */
 7540   9492   
        }
        9493  +
        /* ServerBuilderGenerator.kt:426 */
 7541   9494   
        #[allow(missing_docs)] // documentation missing in model
        9495  +
                               /* ServerBuilderGenerator.kt:428 */
 7542   9496   
        pub(crate) fn set_map_of_map_of_list_of_list_of_con_b(
 7543   9497   
            mut self,
 7544   9498   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_map_of_list_of_list_of_con_b_constrained::MapOfMapOfListOfListOfConBConstrained>>>,
 7545   9499   
        ) -> Self {
        9500  +
            /* ServerBuilderGenerator.kt:429 */
 7546   9501   
            self.map_of_map_of_list_of_list_of_con_b = input.map(|v| v.into());
 7547   9502   
            self
        9503  +
            /* ServerBuilderGenerator.kt:428 */
 7548   9504   
        }
        9505  +
        /* ServerBuilderGenerator.kt:426 */
 7549   9506   
        #[allow(missing_docs)] // documentation missing in model
        9507  +
                               /* ServerBuilderGenerator.kt:428 */
 7550   9508   
        pub(crate) fn set_sparse_map(
 7551   9509   
            mut self,
 7552   9510   
            input: Option<
 7553   9511   
                impl ::std::convert::Into<
 7554   9512   
                    crate::constrained::MaybeConstrained<
 7555   9513   
                        crate::constrained::sparse_map_constrained::SparseMapConstrained,
 7556   9514   
                    >,
 7557   9515   
                >,
 7558   9516   
            >,
 7559   9517   
        ) -> Self {
        9518  +
            /* ServerBuilderGenerator.kt:429 */
 7560   9519   
            self.sparse_map = input.map(|v| v.into());
 7561   9520   
            self
        9521  +
            /* ServerBuilderGenerator.kt:428 */
 7562   9522   
        }
        9523  +
        /* ServerBuilderGenerator.kt:426 */
 7563   9524   
        #[allow(missing_docs)] // documentation missing in model
        9525  +
                               /* ServerBuilderGenerator.kt:428 */
 7564   9526   
        pub(crate) fn set_sparse_list(
 7565   9527   
            mut self,
 7566   9528   
            input: Option<
 7567   9529   
                impl ::std::convert::Into<
 7568   9530   
                    crate::constrained::MaybeConstrained<
 7569   9531   
                        crate::constrained::sparse_list_constrained::SparseListConstrained,
 7570   9532   
                    >,
 7571   9533   
                >,
 7572   9534   
            >,
 7573   9535   
        ) -> Self {
        9536  +
            /* ServerBuilderGenerator.kt:429 */
 7574   9537   
            self.sparse_list = input.map(|v| v.into());
 7575   9538   
            self
        9539  +
            /* ServerBuilderGenerator.kt:428 */
 7576   9540   
        }
        9541  +
        /* ServerBuilderGenerator.kt:426 */
 7577   9542   
        #[allow(missing_docs)] // documentation missing in model
        9543  +
                               /* ServerBuilderGenerator.kt:428 */
 7578   9544   
        pub(crate) fn set_sparse_length_map(
 7579   9545   
            mut self,
 7580   9546   
            input: Option<
 7581   9547   
                impl ::std::convert::Into<
 7582   9548   
                    crate::constrained::MaybeConstrained<crate::model::SparseLengthMap>,
 7583   9549   
                >,
 7584   9550   
            >,
 7585   9551   
        ) -> Self {
        9552  +
            /* ServerBuilderGenerator.kt:429 */
 7586   9553   
            self.sparse_length_map = input.map(|v| v.into());
 7587   9554   
            self
        9555  +
            /* ServerBuilderGenerator.kt:428 */
 7588   9556   
        }
        9557  +
        /* ServerBuilderGenerator.kt:426 */
 7589   9558   
        #[allow(missing_docs)] // documentation missing in model
        9559  +
                               /* ServerBuilderGenerator.kt:428 */
 7590   9560   
        pub(crate) fn set_sparse_length_list(
 7591   9561   
            mut self,
 7592   9562   
            input: Option<
 7593   9563   
                impl ::std::convert::Into<
 7594   9564   
                    crate::constrained::MaybeConstrained<crate::model::SparseLengthList>,
 7595   9565   
                >,
 7596   9566   
            >,
 7597   9567   
        ) -> Self {
        9568  +
            /* ServerBuilderGenerator.kt:429 */
 7598   9569   
            self.sparse_length_list = input.map(|v| v.into());
 7599   9570   
            self
        9571  +
            /* ServerBuilderGenerator.kt:428 */
 7600   9572   
        }
 7601         -
        /// A union with constrained members.
        9573  +
        /// /* ServerBuilderGenerator.kt:426 */A union with constrained members.
        9574  +
        /* ServerBuilderGenerator.kt:428 */
 7602   9575   
        pub(crate) fn set_constrained_union(
 7603   9576   
            mut self,
 7604   9577   
            input: Option<
 7605   9578   
                impl ::std::convert::Into<
 7606   9579   
                    crate::constrained::MaybeConstrained<crate::model::ConstrainedUnion>,
 7607   9580   
                >,
 7608   9581   
            >,
 7609   9582   
        ) -> Self {
        9583  +
            /* ServerBuilderGenerator.kt:429 */
 7610   9584   
            self.constrained_union = input.map(|v| v.into());
 7611   9585   
            self
        9586  +
            /* ServerBuilderGenerator.kt:428 */
 7612   9587   
        }
        9588  +
        /* ServerBuilderGenerator.kt:426 */
 7613   9589   
        #[allow(missing_docs)] // documentation missing in model
        9590  +
                               /* ServerBuilderGenerator.kt:428 */
 7614   9591   
        pub(crate) fn set_enum_string(
 7615   9592   
            mut self,
 7616   9593   
            input: Option<
 7617   9594   
                impl ::std::convert::Into<
 7618   9595   
                    crate::constrained::MaybeConstrained<crate::model::EnumString>,
 7619   9596   
                >,
 7620   9597   
            >,
 7621   9598   
        ) -> Self {
        9599  +
            /* ServerBuilderGenerator.kt:429 */
 7622   9600   
            self.enum_string = input.map(|v| v.into());
 7623   9601   
            self
        9602  +
            /* ServerBuilderGenerator.kt:428 */
 7624   9603   
        }
        9604  +
        /* ServerBuilderGenerator.kt:426 */
 7625   9605   
        #[allow(missing_docs)] // documentation missing in model
        9606  +
                               /* ServerBuilderGenerator.kt:428 */
 7626   9607   
        pub(crate) fn set_list_of_length_string(
 7627   9608   
            mut self,
 7628   9609   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>>,
 7629   9610   
        ) -> Self {
        9611  +
            /* ServerBuilderGenerator.kt:429 */
 7630   9612   
            self.list_of_length_string = input.map(|v| v.into());
 7631   9613   
            self
        9614  +
            /* ServerBuilderGenerator.kt:428 */
 7632   9615   
        }
        9616  +
        /* ServerBuilderGenerator.kt:426 */
 7633   9617   
        #[allow(missing_docs)] // documentation missing in model
        9618  +
                               /* ServerBuilderGenerator.kt:428 */
 7634   9619   
        pub(crate) fn set_set_of_length_string(
 7635   9620   
            mut self,
 7636   9621   
            input: Option<
 7637   9622   
                impl ::std::convert::Into<
 7638   9623   
                    crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>,
 7639   9624   
                >,
 7640   9625   
            >,
 7641   9626   
        ) -> Self {
        9627  +
            /* ServerBuilderGenerator.kt:429 */
 7642   9628   
            self.set_of_length_string = input.map(|v| v.into());
 7643   9629   
            self
        9630  +
            /* ServerBuilderGenerator.kt:428 */
 7644   9631   
        }
        9632  +
        /* ServerBuilderGenerator.kt:426 */
 7645   9633   
        #[allow(missing_docs)] // documentation missing in model
        9634  +
                               /* ServerBuilderGenerator.kt:428 */
 7646   9635   
        pub(crate) fn set_map_of_length_string(
 7647   9636   
            mut self,
 7648   9637   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_string_constrained::MapOfLengthStringConstrained>>>,
 7649   9638   
        ) -> Self {
        9639  +
            /* ServerBuilderGenerator.kt:429 */
 7650   9640   
            self.map_of_length_string = input.map(|v| v.into());
 7651   9641   
            self
        9642  +
            /* ServerBuilderGenerator.kt:428 */
 7652   9643   
        }
        9644  +
        /* ServerBuilderGenerator.kt:426 */
 7653   9645   
        #[allow(missing_docs)] // documentation missing in model
        9646  +
                               /* ServerBuilderGenerator.kt:428 */
 7654   9647   
        pub(crate) fn set_list_of_length_blob(
 7655   9648   
            mut self,
 7656   9649   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_blob_constrained::ListOfLengthBlobConstrained>>>,
 7657   9650   
        ) -> Self {
        9651  +
            /* ServerBuilderGenerator.kt:429 */
 7658   9652   
            self.list_of_length_blob = input.map(|v| v.into());
 7659   9653   
            self
        9654  +
            /* ServerBuilderGenerator.kt:428 */
 7660   9655   
        }
        9656  +
        /* ServerBuilderGenerator.kt:426 */
 7661   9657   
        #[allow(missing_docs)] // documentation missing in model
        9658  +
                               /* ServerBuilderGenerator.kt:428 */
 7662   9659   
        pub(crate) fn set_map_of_length_blob(
 7663   9660   
            mut self,
 7664   9661   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_blob_constrained::MapOfLengthBlobConstrained>>>,
 7665   9662   
        ) -> Self {
        9663  +
            /* ServerBuilderGenerator.kt:429 */
 7666   9664   
            self.map_of_length_blob = input.map(|v| v.into());
 7667   9665   
            self
        9666  +
            /* ServerBuilderGenerator.kt:428 */
 7668   9667   
        }
        9668  +
        /* ServerBuilderGenerator.kt:426 */
 7669   9669   
        #[allow(missing_docs)] // documentation missing in model
        9670  +
                               /* ServerBuilderGenerator.kt:428 */
 7670   9671   
        pub(crate) fn set_list_of_range_integer(
 7671   9672   
            mut self,
 7672   9673   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>>,
 7673   9674   
        ) -> Self {
        9675  +
            /* ServerBuilderGenerator.kt:429 */
 7674   9676   
            self.list_of_range_integer = input.map(|v| v.into());
 7675   9677   
            self
        9678  +
            /* ServerBuilderGenerator.kt:428 */
 7676   9679   
        }
        9680  +
        /* ServerBuilderGenerator.kt:426 */
 7677   9681   
        #[allow(missing_docs)] // documentation missing in model
        9682  +
                               /* ServerBuilderGenerator.kt:428 */
 7678   9683   
        pub(crate) fn set_set_of_range_integer(
 7679   9684   
            mut self,
 7680   9685   
            input: Option<
 7681   9686   
                impl ::std::convert::Into<
 7682   9687   
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>,
 7683   9688   
                >,
 7684   9689   
            >,
 7685   9690   
        ) -> Self {
        9691  +
            /* ServerBuilderGenerator.kt:429 */
 7686   9692   
            self.set_of_range_integer = input.map(|v| v.into());
 7687   9693   
            self
        9694  +
            /* ServerBuilderGenerator.kt:428 */
 7688   9695   
        }
        9696  +
        /* ServerBuilderGenerator.kt:426 */
 7689   9697   
        #[allow(missing_docs)] // documentation missing in model
        9698  +
                               /* ServerBuilderGenerator.kt:428 */
 7690   9699   
        pub(crate) fn set_map_of_range_integer(
 7691   9700   
            mut self,
 7692   9701   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_integer_constrained::MapOfRangeIntegerConstrained>>>,
 7693   9702   
        ) -> Self {
        9703  +
            /* ServerBuilderGenerator.kt:429 */
 7694   9704   
            self.map_of_range_integer = input.map(|v| v.into());
 7695   9705   
            self
        9706  +
            /* ServerBuilderGenerator.kt:428 */
 7696   9707   
        }
        9708  +
        /* ServerBuilderGenerator.kt:426 */
 7697   9709   
        #[allow(missing_docs)] // documentation missing in model
        9710  +
                               /* ServerBuilderGenerator.kt:428 */
 7698   9711   
        pub(crate) fn set_list_of_range_short(
 7699   9712   
            mut self,
 7700   9713   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>>,
 7701   9714   
        ) -> Self {
        9715  +
            /* ServerBuilderGenerator.kt:429 */
 7702   9716   
            self.list_of_range_short = input.map(|v| v.into());
 7703   9717   
            self
        9718  +
            /* ServerBuilderGenerator.kt:428 */
 7704   9719   
        }
        9720  +
        /* ServerBuilderGenerator.kt:426 */
 7705   9721   
        #[allow(missing_docs)] // documentation missing in model
        9722  +
                               /* ServerBuilderGenerator.kt:428 */
 7706   9723   
        pub(crate) fn set_set_of_range_short(
 7707   9724   
            mut self,
 7708   9725   
            input: Option<
 7709   9726   
                impl ::std::convert::Into<
 7710   9727   
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>,
 7711   9728   
                >,
 7712   9729   
            >,
 7713   9730   
        ) -> Self {
        9731  +
            /* ServerBuilderGenerator.kt:429 */
 7714   9732   
            self.set_of_range_short = input.map(|v| v.into());
 7715   9733   
            self
        9734  +
            /* ServerBuilderGenerator.kt:428 */
 7716   9735   
        }
        9736  +
        /* ServerBuilderGenerator.kt:426 */
 7717   9737   
        #[allow(missing_docs)] // documentation missing in model
        9738  +
                               /* ServerBuilderGenerator.kt:428 */
 7718   9739   
        pub(crate) fn set_map_of_range_short(
 7719   9740   
            mut self,
 7720   9741   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_short_constrained::MapOfRangeShortConstrained>>>,
 7721   9742   
        ) -> Self {
        9743  +
            /* ServerBuilderGenerator.kt:429 */
 7722   9744   
            self.map_of_range_short = input.map(|v| v.into());
 7723   9745   
            self
        9746  +
            /* ServerBuilderGenerator.kt:428 */
 7724   9747   
        }
        9748  +
        /* ServerBuilderGenerator.kt:426 */
 7725   9749   
        #[allow(missing_docs)] // documentation missing in model
        9750  +
                               /* ServerBuilderGenerator.kt:428 */
 7726   9751   
        pub(crate) fn set_list_of_range_long(
 7727   9752   
            mut self,
 7728   9753   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>>,
 7729   9754   
        ) -> Self {
        9755  +
            /* ServerBuilderGenerator.kt:429 */
 7730   9756   
            self.list_of_range_long = input.map(|v| v.into());
 7731   9757   
            self
        9758  +
            /* ServerBuilderGenerator.kt:428 */
 7732   9759   
        }
        9760  +
        /* ServerBuilderGenerator.kt:426 */
 7733   9761   
        #[allow(missing_docs)] // documentation missing in model
        9762  +
                               /* ServerBuilderGenerator.kt:428 */
 7734   9763   
        pub(crate) fn set_set_of_range_long(
 7735   9764   
            mut self,
 7736   9765   
            input: Option<
 7737   9766   
                impl ::std::convert::Into<
 7738   9767   
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>,
 7739   9768   
                >,
 7740   9769   
            >,
 7741   9770   
        ) -> Self {
        9771  +
            /* ServerBuilderGenerator.kt:429 */
 7742   9772   
            self.set_of_range_long = input.map(|v| v.into());
 7743   9773   
            self
        9774  +
            /* ServerBuilderGenerator.kt:428 */
 7744   9775   
        }
        9776  +
        /* ServerBuilderGenerator.kt:426 */
 7745   9777   
        #[allow(missing_docs)] // documentation missing in model
        9778  +
                               /* ServerBuilderGenerator.kt:428 */
 7746   9779   
        pub(crate) fn set_map_of_range_long(
 7747   9780   
            mut self,
 7748   9781   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_long_constrained::MapOfRangeLongConstrained>>>,
 7749   9782   
        ) -> Self {
        9783  +
            /* ServerBuilderGenerator.kt:429 */
 7750   9784   
            self.map_of_range_long = input.map(|v| v.into());
 7751   9785   
            self
        9786  +
            /* ServerBuilderGenerator.kt:428 */
 7752   9787   
        }
        9788  +
        /* ServerBuilderGenerator.kt:426 */
 7753   9789   
        #[allow(missing_docs)] // documentation missing in model
        9790  +
                               /* ServerBuilderGenerator.kt:428 */
 7754   9791   
        pub(crate) fn set_list_of_range_byte(
 7755   9792   
            mut self,
 7756   9793   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>>,
 7757   9794   
        ) -> Self {
        9795  +
            /* ServerBuilderGenerator.kt:429 */
 7758   9796   
            self.list_of_range_byte = input.map(|v| v.into());
 7759   9797   
            self
        9798  +
            /* ServerBuilderGenerator.kt:428 */
 7760   9799   
        }
        9800  +
        /* ServerBuilderGenerator.kt:426 */
 7761   9801   
        #[allow(missing_docs)] // documentation missing in model
        9802  +
                               /* ServerBuilderGenerator.kt:428 */
 7762   9803   
        pub(crate) fn set_set_of_range_byte(
 7763   9804   
            mut self,
 7764   9805   
            input: Option<
 7765   9806   
                impl ::std::convert::Into<
 7766   9807   
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>,
 7767   9808   
                >,
 7768   9809   
            >,
 7769   9810   
        ) -> Self {
        9811  +
            /* ServerBuilderGenerator.kt:429 */
 7770   9812   
            self.set_of_range_byte = input.map(|v| v.into());
 7771   9813   
            self
        9814  +
            /* ServerBuilderGenerator.kt:428 */
 7772   9815   
        }
        9816  +
        /* ServerBuilderGenerator.kt:426 */
 7773   9817   
        #[allow(missing_docs)] // documentation missing in model
        9818  +
                               /* ServerBuilderGenerator.kt:428 */
 7774   9819   
        pub(crate) fn set_map_of_range_byte(
 7775   9820   
            mut self,
 7776   9821   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_byte_constrained::MapOfRangeByteConstrained>>>,
 7777   9822   
        ) -> Self {
        9823  +
            /* ServerBuilderGenerator.kt:429 */
 7778   9824   
            self.map_of_range_byte = input.map(|v| v.into());
 7779   9825   
            self
        9826  +
            /* ServerBuilderGenerator.kt:428 */
 7780   9827   
        }
        9828  +
        /* ServerBuilderGenerator.kt:426 */
 7781   9829   
        #[allow(missing_docs)] // documentation missing in model
        9830  +
                               /* ServerBuilderGenerator.kt:428 */
 7782   9831   
        pub(crate) fn set_non_streaming_blob(
 7783   9832   
            mut self,
 7784   9833   
            input: Option<impl ::std::convert::Into<::aws_smithy_http_server_python::types::Blob>>,
 7785   9834   
        ) -> Self {
        9835  +
            /* ServerBuilderGenerator.kt:429 */
 7786   9836   
            self.non_streaming_blob = input.map(|v| v.into());
 7787   9837   
            self
        9838  +
            /* ServerBuilderGenerator.kt:428 */
 7788   9839   
        }
        9840  +
        /* ServerBuilderGenerator.kt:426 */
 7789   9841   
        #[allow(missing_docs)] // documentation missing in model
        9842  +
                               /* ServerBuilderGenerator.kt:428 */
 7790   9843   
        pub(crate) fn set_pattern_string(
 7791   9844   
            mut self,
 7792   9845   
            input: Option<
 7793   9846   
                impl ::std::convert::Into<
 7794   9847   
                    crate::constrained::MaybeConstrained<crate::model::PatternString>,
 7795   9848   
                >,
 7796   9849   
            >,
 7797   9850   
        ) -> Self {
        9851  +
            /* ServerBuilderGenerator.kt:429 */
 7798   9852   
            self.pattern_string = input.map(|v| v.into());
 7799   9853   
            self
        9854  +
            /* ServerBuilderGenerator.kt:428 */
 7800   9855   
        }
        9856  +
        /* ServerBuilderGenerator.kt:426 */
 7801   9857   
        #[allow(missing_docs)] // documentation missing in model
        9858  +
                               /* ServerBuilderGenerator.kt:428 */
 7802   9859   
        pub(crate) fn set_map_of_pattern_string(
 7803   9860   
            mut self,
 7804   9861   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_pattern_string_constrained::MapOfPatternStringConstrained>>>,
 7805   9862   
        ) -> Self {
        9863  +
            /* ServerBuilderGenerator.kt:429 */
 7806   9864   
            self.map_of_pattern_string = input.map(|v| v.into());
 7807   9865   
            self
        9866  +
            /* ServerBuilderGenerator.kt:428 */
 7808   9867   
        }
        9868  +
        /* ServerBuilderGenerator.kt:426 */
 7809   9869   
        #[allow(missing_docs)] // documentation missing in model
        9870  +
                               /* ServerBuilderGenerator.kt:428 */
 7810   9871   
        pub(crate) fn set_list_of_pattern_string(
 7811   9872   
            mut self,
 7812   9873   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_pattern_string_constrained::ListOfPatternStringConstrained>>>,
 7813   9874   
        ) -> Self {
        9875  +
            /* ServerBuilderGenerator.kt:429 */
 7814   9876   
            self.list_of_pattern_string = input.map(|v| v.into());
 7815   9877   
            self
        9878  +
            /* ServerBuilderGenerator.kt:428 */
 7816   9879   
        }
        9880  +
        /* ServerBuilderGenerator.kt:426 */
 7817   9881   
        #[allow(missing_docs)] // documentation missing in model
        9882  +
                               /* ServerBuilderGenerator.kt:428 */
 7818   9883   
        pub(crate) fn set_set_of_pattern_string(
 7819   9884   
            mut self,
 7820   9885   
            input: Option<
 7821   9886   
                impl ::std::convert::Into<
 7822   9887   
                    crate::constrained::MaybeConstrained<crate::model::SetOfPatternString>,
 7823   9888   
                >,
 7824   9889   
            >,
 7825   9890   
        ) -> Self {
        9891  +
            /* ServerBuilderGenerator.kt:429 */
 7826   9892   
            self.set_of_pattern_string = input.map(|v| v.into());
 7827   9893   
            self
        9894  +
            /* ServerBuilderGenerator.kt:428 */
 7828   9895   
        }
        9896  +
        /* ServerBuilderGenerator.kt:426 */
 7829   9897   
        #[allow(missing_docs)] // documentation missing in model
        9898  +
                               /* ServerBuilderGenerator.kt:428 */
 7830   9899   
        pub(crate) fn set_length_length_pattern_string(
 7831   9900   
            mut self,
 7832   9901   
            input: Option<
 7833   9902   
                impl ::std::convert::Into<
 7834   9903   
                    crate::constrained::MaybeConstrained<crate::model::LengthPatternString>,
 7835   9904   
                >,
 7836   9905   
            >,
 7837   9906   
        ) -> Self {
        9907  +
            /* ServerBuilderGenerator.kt:429 */
 7838   9908   
            self.length_length_pattern_string = input.map(|v| v.into());
 7839   9909   
            self
        9910  +
            /* ServerBuilderGenerator.kt:428 */
 7840   9911   
        }
        9912  +
        /* ServerBuilderGenerator.kt:426 */
 7841   9913   
        #[allow(missing_docs)] // documentation missing in model
        9914  +
                               /* ServerBuilderGenerator.kt:428 */
 7842   9915   
        pub(crate) fn set_map_of_length_pattern_string(
 7843   9916   
            mut self,
 7844   9917   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_pattern_string_constrained::MapOfLengthPatternStringConstrained>>>,
 7845   9918   
        ) -> Self {
        9919  +
            /* ServerBuilderGenerator.kt:429 */
 7846   9920   
            self.map_of_length_pattern_string = input.map(|v| v.into());
 7847   9921   
            self
        9922  +
            /* ServerBuilderGenerator.kt:428 */
 7848   9923   
        }
        9924  +
        /* ServerBuilderGenerator.kt:426 */
 7849   9925   
        #[allow(missing_docs)] // documentation missing in model
        9926  +
                               /* ServerBuilderGenerator.kt:428 */
 7850   9927   
        pub(crate) fn set_list_of_length_pattern_string(
 7851   9928   
            mut self,
 7852   9929   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_pattern_string_constrained::ListOfLengthPatternStringConstrained>>>,
 7853   9930   
        ) -> Self {
        9931  +
            /* ServerBuilderGenerator.kt:429 */
 7854   9932   
            self.list_of_length_pattern_string = input.map(|v| v.into());
 7855   9933   
            self
        9934  +
            /* ServerBuilderGenerator.kt:428 */
 7856   9935   
        }
        9936  +
        /* ServerBuilderGenerator.kt:426 */
 7857   9937   
        #[allow(missing_docs)] // documentation missing in model
        9938  +
                               /* ServerBuilderGenerator.kt:428 */
 7858   9939   
        pub(crate) fn set_set_of_length_pattern_string(
 7859   9940   
            mut self,
 7860   9941   
            input: Option<
 7861   9942   
                impl ::std::convert::Into<
 7862   9943   
                    crate::constrained::MaybeConstrained<crate::model::SetOfLengthPatternString>,
 7863   9944   
                >,
 7864   9945   
            >,
 7865   9946   
        ) -> Self {
        9947  +
            /* ServerBuilderGenerator.kt:429 */
 7866   9948   
            self.set_of_length_pattern_string = input.map(|v| v.into());
 7867   9949   
            self
        9950  +
            /* ServerBuilderGenerator.kt:428 */
 7868   9951   
        }
        9952  +
        /* ServerBuilderGenerator.kt:426 */
 7869   9953   
        #[allow(missing_docs)] // documentation missing in model
        9954  +
                               /* ServerBuilderGenerator.kt:428 */
 7870   9955   
        pub(crate) fn set_length_list_of_pattern_string(
 7871   9956   
            mut self,
 7872   9957   
            input: Option<
 7873   9958   
                impl ::std::convert::Into<
 7874   9959   
                    crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>,
 7875   9960   
                >,
 7876   9961   
            >,
 7877   9962   
        ) -> Self {
        9963  +
            /* ServerBuilderGenerator.kt:429 */
 7878   9964   
            self.length_list_of_pattern_string = input.map(|v| v.into());
 7879   9965   
            self
        9966  +
            /* ServerBuilderGenerator.kt:428 */
 7880   9967   
        }
        9968  +
        /* ServerBuilderGenerator.kt:426 */
 7881   9969   
        #[allow(missing_docs)] // documentation missing in model
        9970  +
                               /* ServerBuilderGenerator.kt:428 */
 7882   9971   
        pub(crate) fn set_length_set_of_pattern_string(
 7883   9972   
            mut self,
 7884   9973   
            input: Option<
 7885   9974   
                impl ::std::convert::Into<
 7886   9975   
                    crate::constrained::MaybeConstrained<crate::model::LengthSetOfPatternString>,
 7887   9976   
                >,
 7888   9977   
            >,
 7889   9978   
        ) -> Self {
        9979  +
            /* ServerBuilderGenerator.kt:429 */
 7890   9980   
            self.length_set_of_pattern_string = input.map(|v| v.into());
 7891   9981   
            self
        9982  +
            /* ServerBuilderGenerator.kt:428 */
 7892   9983   
        }
 7893         -
        /// Consumes the builder and constructs a [`ConA`](crate::model::ConA).
 7894         -
        ///
        9984  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`ConA`](crate::model::ConA).
        9985  +
        /// /* ServerBuilderGenerator.kt:260 */
 7895   9986   
        /// The builder fails to construct a [`ConA`](crate::model::ConA) if a [`ConstraintViolation`] occurs.
 7896   9987   
        ///
 7897         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        9988  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        9989  +
        /* ServerBuilderGenerator.kt:271 */
 7898   9990   
        pub fn build(self) -> Result<crate::model::ConA, ConstraintViolation> {
 7899   9991   
            self.build_enforcing_all_constraints()
 7900   9992   
        }
        9993  +
        /* ServerBuilderGenerator.kt:283 */
 7901   9994   
        fn build_enforcing_all_constraints(
 7902   9995   
            self,
 7903   9996   
        ) -> Result<crate::model::ConA, ConstraintViolation> {
 7904         -
            Ok(crate::model::ConA {
 7905         -
                con_b: self
 7906         -
                    .con_b
 7907         -
                    .map(|v| match v {
 7908         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7909         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7910         -
                    })
 7911         -
                    .map(|res| res.map_err(ConstraintViolation::ConB))
 7912         -
                    .transpose()?
 7913         -
                    .ok_or(ConstraintViolation::MissingConB)?,
 7914         -
                opt_con_b: self
 7915         -
                    .opt_con_b
 7916         -
                    .map(|v| match v {
 7917         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7918         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7919         -
                    })
 7920         -
                    .map(|res| res.map_err(ConstraintViolation::OptConB))
 7921         -
                    .transpose()?,
 7922         -
                length_string: self
 7923         -
                    .length_string
 7924         -
                    .map(|v| match v {
 7925         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7926         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7927         -
                    })
 7928         -
                    .map(|res| res.map_err(ConstraintViolation::LengthString))
 7929         -
                    .transpose()?
 7930         -
                    .map(|v: crate::model::LengthString| v.into()),
 7931         -
                min_length_string: self
 7932         -
                    .min_length_string
 7933         -
                    .map(|v| match v {
 7934         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7935         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7936         -
                    })
 7937         -
                    .map(|res| res.map_err(ConstraintViolation::MinLengthString))
 7938         -
                    .transpose()?
 7939         -
                    .map(|v: crate::model::MinLengthString| v.into()),
 7940         -
                max_length_string: self
 7941         -
                    .max_length_string
 7942         -
                    .map(|v| match v {
 7943         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7944         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7945         -
                    })
 7946         -
                    .map(|res| res.map_err(ConstraintViolation::MaxLengthString))
 7947         -
                    .transpose()?
 7948         -
                    .map(|v: crate::model::MaxLengthString| v.into()),
 7949         -
                fixed_length_string: self
 7950         -
                    .fixed_length_string
 7951         -
                    .map(|v| match v {
 7952         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7953         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7954         -
                    })
 7955         -
                    .map(|res| res.map_err(ConstraintViolation::FixedLengthString))
 7956         -
                    .transpose()?
 7957         -
                    .map(|v: crate::model::FixedLengthString| v.into()),
 7958         -
                length_blob: self
 7959         -
                    .length_blob
 7960         -
                    .map(|v| match v {
 7961         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7962         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7963         -
                    })
 7964         -
                    .map(|res| res.map_err(ConstraintViolation::LengthBlob))
 7965         -
                    .transpose()?
 7966         -
                    .map(|v: crate::model::LengthBlob| v.into()),
 7967         -
                min_length_blob: self
 7968         -
                    .min_length_blob
 7969         -
                    .map(|v| match v {
 7970         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7971         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7972         -
                    })
 7973         -
                    .map(|res| res.map_err(ConstraintViolation::MinLengthBlob))
 7974         -
                    .transpose()?
 7975         -
                    .map(|v: crate::model::MinLengthBlob| v.into()),
 7976         -
                max_length_blob: self
 7977         -
                    .max_length_blob
 7978         -
                    .map(|v| match v {
 7979         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7980         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7981         -
                    })
 7982         -
                    .map(|res| res.map_err(ConstraintViolation::MaxLengthBlob))
 7983         -
                    .transpose()?
 7984         -
                    .map(|v: crate::model::MaxLengthBlob| v.into()),
 7985         -
                fixed_length_blob: self
 7986         -
                    .fixed_length_blob
 7987         -
                    .map(|v| match v {
 7988         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7989         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7990         -
                    })
 7991         -
                    .map(|res| res.map_err(ConstraintViolation::FixedLengthBlob))
 7992         -
                    .transpose()?
 7993         -
                    .map(|v: crate::model::FixedLengthBlob| v.into()),
 7994         -
                range_integer: self
 7995         -
                    .range_integer
 7996         -
                    .map(|v| match v {
 7997         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 7998         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 7999         -
                    })
 8000         -
                    .map(|res| res.map_err(ConstraintViolation::RangeInteger))
 8001         -
                    .transpose()?
 8002         -
                    .map(|v: crate::model::RangeInteger| v.into())
 8003         -
                    .unwrap_or(0i32),
 8004         -
                min_range_integer: self
 8005         -
                    .min_range_integer
 8006         -
                    .map(|v| match v {
 8007         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8008         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8009         -
                    })
 8010         -
                    .map(|res| res.map_err(ConstraintViolation::MinRangeInteger))
 8011         -
                    .transpose()?
 8012         -
                    .map(|v: crate::model::MinRangeInteger| v.into())
 8013         -
                    .unwrap_or(0i32),
 8014         -
                max_range_integer: self
 8015         -
                    .max_range_integer
 8016         -
                    .map(|v| match v {
 8017         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8018         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8019         -
                    })
 8020         -
                    .map(|res| res.map_err(ConstraintViolation::MaxRangeInteger))
 8021         -
                    .transpose()?
 8022         -
                    .map(|v: crate::model::MaxRangeInteger| v.into())
 8023         -
                    .unwrap_or(0i32),
 8024         -
                fixed_value_integer: self
 8025         -
                    .fixed_value_integer
 8026         -
                    .map(|v| match v {
 8027         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8028         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8029         -
                    })
 8030         -
                    .map(|res| res.map_err(ConstraintViolation::FixedValueInteger))
 8031         -
                    .transpose()?
 8032         -
                    .map(|v: crate::model::FixedValueInteger| v.into())
 8033         -
                    .unwrap_or(0i32),
 8034         -
                range_short: self
 8035         -
                    .range_short
 8036         -
                    .map(|v| match v {
 8037         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8038         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8039         -
                    })
 8040         -
                    .map(|res| res.map_err(ConstraintViolation::RangeShort))
 8041         -
                    .transpose()?
 8042         -
                    .map(|v: crate::model::RangeShort| v.into())
 8043         -
                    .unwrap_or(0i16),
 8044         -
                min_range_short: self
 8045         -
                    .min_range_short
 8046         -
                    .map(|v| match v {
 8047         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8048         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8049         -
                    })
 8050         -
                    .map(|res| res.map_err(ConstraintViolation::MinRangeShort))
 8051         -
                    .transpose()?
 8052         -
                    .map(|v: crate::model::MinRangeShort| v.into())
 8053         -
                    .unwrap_or(0i16),
 8054         -
                max_range_short: self
 8055         -
                    .max_range_short
 8056         -
                    .map(|v| match v {
 8057         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8058         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8059         -
                    })
 8060         -
                    .map(|res| res.map_err(ConstraintViolation::MaxRangeShort))
 8061         -
                    .transpose()?
 8062         -
                    .map(|v: crate::model::MaxRangeShort| v.into())
 8063         -
                    .unwrap_or(0i16),
 8064         -
                fixed_value_short: self
 8065         -
                    .fixed_value_short
 8066         -
                    .map(|v| match v {
 8067         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8068         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8069         -
                    })
 8070         -
                    .map(|res| res.map_err(ConstraintViolation::FixedValueShort))
 8071         -
                    .transpose()?
 8072         -
                    .map(|v: crate::model::FixedValueShort| v.into())
 8073         -
                    .unwrap_or(0i16),
 8074         -
                range_long: self
 8075         -
                    .range_long
 8076         -
                    .map(|v| match v {
 8077         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8078         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8079         -
                    })
 8080         -
                    .map(|res| res.map_err(ConstraintViolation::RangeLong))
 8081         -
                    .transpose()?
 8082         -
                    .map(|v: crate::model::RangeLong| v.into())
 8083         -
                    .unwrap_or(0i64),
 8084         -
                min_range_long: self
 8085         -
                    .min_range_long
 8086         -
                    .map(|v| match v {
 8087         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8088         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8089         -
                    })
 8090         -
                    .map(|res| res.map_err(ConstraintViolation::MinRangeLong))
 8091         -
                    .transpose()?
 8092         -
                    .map(|v: crate::model::MinRangeLong| v.into())
 8093         -
                    .unwrap_or(0i64),
 8094         -
                max_range_long: self
 8095         -
                    .max_range_long
 8096         -
                    .map(|v| match v {
 8097         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8098         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8099         -
                    })
 8100         -
                    .map(|res| res.map_err(ConstraintViolation::MaxRangeLong))
 8101         -
                    .transpose()?
 8102         -
                    .map(|v: crate::model::MaxRangeLong| v.into())
 8103         -
                    .unwrap_or(0i64),
 8104         -
                fixed_value_long: self
 8105         -
                    .fixed_value_long
 8106         -
                    .map(|v| match v {
 8107         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8108         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8109         -
                    })
 8110         -
                    .map(|res| res.map_err(ConstraintViolation::FixedValueLong))
 8111         -
                    .transpose()?
 8112         -
                    .map(|v: crate::model::FixedValueLong| v.into())
 8113         -
                    .unwrap_or(0i64),
 8114         -
                range_byte: self
 8115         -
                    .range_byte
 8116         -
                    .map(|v| match v {
 8117         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8118         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8119         -
                    })
 8120         -
                    .map(|res| res.map_err(ConstraintViolation::RangeByte))
 8121         -
                    .transpose()?
 8122         -
                    .map(|v: crate::model::RangeByte| v.into())
 8123         -
                    .unwrap_or(0i8),
 8124         -
                min_range_byte: self
 8125         -
                    .min_range_byte
 8126         -
                    .map(|v| match v {
 8127         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8128         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8129         -
                    })
 8130         -
                    .map(|res| res.map_err(ConstraintViolation::MinRangeByte))
 8131         -
                    .transpose()?
 8132         -
                    .map(|v: crate::model::MinRangeByte| v.into())
 8133         -
                    .unwrap_or(0i8),
 8134         -
                max_range_byte: self
 8135         -
                    .max_range_byte
 8136         -
                    .map(|v| match v {
 8137         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8138         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8139         -
                    })
 8140         -
                    .map(|res| res.map_err(ConstraintViolation::MaxRangeByte))
 8141         -
                    .transpose()?
 8142         -
                    .map(|v: crate::model::MaxRangeByte| v.into())
 8143         -
                    .unwrap_or(0i8),
 8144         -
                fixed_value_byte: self
 8145         -
                    .fixed_value_byte
 8146         -
                    .map(|v| match v {
 8147         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8148         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8149         -
                    })
 8150         -
                    .map(|res| res.map_err(ConstraintViolation::FixedValueByte))
 8151         -
                    .transpose()?
 8152         -
                    .map(|v: crate::model::FixedValueByte| v.into())
 8153         -
                    .unwrap_or(0i8),
 8154         -
                con_b_list: self
 8155         -
                    .con_b_list
 8156         -
                    .map(|v| match v {
 8157         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8158         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8159         -
                    })
 8160         -
                    .map(|res| res.map(|v| v.into()).map_err(ConstraintViolation::ConBList))
 8161         -
                    .transpose()?,
 8162         -
                length_list: self
 8163         -
                    .length_list
 8164         -
                    .map(|v| match v {
 8165         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8166         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8167         -
                    })
 8168         -
                    .map(|res| res.map_err(ConstraintViolation::LengthList))
 8169         -
                    .transpose()?
 8170         -
                    .map(|v: crate::model::LengthList| v.into()),
 8171         -
                sensitive_length_list: self
 8172         -
                    .sensitive_length_list
 8173         -
                    .map(|v| match v {
 8174         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8175         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8176         -
                    })
 8177         -
                    .map(|res| res.map_err(ConstraintViolation::SensitiveLengthList))
 8178         -
                    .transpose()?
 8179         -
                    .map(|v: crate::model::SensitiveLengthList| v.into()),
 8180         -
                con_b_set: self
 8181         -
                    .con_b_set
 8182         -
                    .map(|v| match v {
 8183         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8184         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8185         -
                    })
 8186         -
                    .map(|res| res.map_err(ConstraintViolation::ConBSet))
 8187         -
                    .transpose()?
 8188         -
                    .map(|v: crate::model::ConBSet| v.into()),
 8189         -
                con_b_map: self
 8190         -
                    .con_b_map
 8191         -
                    .map(|v| match v {
 8192         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8193         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8194         -
                    })
 8195         -
                    .map(|res| res.map_err(ConstraintViolation::ConBMap))
 8196         -
                    .transpose()?
 8197         -
                    .map(|v: crate::model::ConBMap| v.into()),
 8198         -
                length_map: self
 8199         -
                    .length_map
 8200         -
                    .map(|v| match v {
 8201         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8202         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8203         -
                    })
 8204         -
                    .map(|res| res.map_err(ConstraintViolation::LengthMap))
 8205         -
                    .transpose()?
 8206         -
                    .map(|v: crate::model::LengthMap| v.into()),
 8207         -
                map_of_map_of_list_of_list_of_con_b: self
 8208         -
                    .map_of_map_of_list_of_list_of_con_b
 8209         -
                    .map(|v| match v {
 8210         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8211         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8212         -
                    })
 8213         -
                    .map(|res| {
 8214         -
                        res.map(|v| v.into())
 8215         -
                            .map_err(ConstraintViolation::MapOfMapOfListOfListOfConB)
 8216         -
                    })
 8217         -
                    .transpose()?,
 8218         -
                sparse_map: self
 8219         -
                    .sparse_map
 8220         -
                    .map(|v| match v {
 8221         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8222         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8223         -
                    })
 8224         -
                    .map(|res| {
 8225         -
                        res.map(|v| v.into())
 8226         -
                            .map_err(ConstraintViolation::SparseMap)
 8227         -
                    })
 8228         -
                    .transpose()?,
 8229         -
                sparse_list: self
 8230         -
                    .sparse_list
 8231         -
                    .map(|v| match v {
 8232         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8233         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8234         -
                    })
 8235         -
                    .map(|res| {
 8236         -
                        res.map(|v| v.into())
 8237         -
                            .map_err(ConstraintViolation::SparseList)
 8238         -
                    })
 8239         -
                    .transpose()?,
 8240         -
                sparse_length_map: self
 8241         -
                    .sparse_length_map
 8242         -
                    .map(|v| match v {
 8243         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8244         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8245         -
                    })
 8246         -
                    .map(|res| res.map_err(ConstraintViolation::SparseLengthMap))
 8247         -
                    .transpose()?
 8248         -
                    .map(|v: crate::model::SparseLengthMap| v.into()),
 8249         -
                sparse_length_list: self
 8250         -
                    .sparse_length_list
 8251         -
                    .map(|v| match v {
 8252         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8253         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8254         -
                    })
 8255         -
                    .map(|res| res.map_err(ConstraintViolation::SparseLengthList))
 8256         -
                    .transpose()?
 8257         -
                    .map(|v: crate::model::SparseLengthList| v.into()),
 8258         -
                constrained_union: self
 8259         -
                    .constrained_union
 8260         -
                    .map(|v| match v {
 8261         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8262         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8263         -
                    })
 8264         -
                    .map(|res| res.map_err(ConstraintViolation::ConstrainedUnion))
 8265         -
                    .transpose()?,
 8266         -
                enum_string: self
 8267         -
                    .enum_string
 8268         -
                    .map(|v| match v {
 8269         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8270         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8271         -
                    })
 8272         -
                    .map(|res| res.map_err(ConstraintViolation::EnumString))
 8273         -
                    .transpose()?,
 8274         -
                list_of_length_string: self
 8275         -
                    .list_of_length_string
 8276         -
                    .map(|v| match v {
 8277         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8278         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8279         -
                    })
 8280         -
                    .map(|res| {
 8281         -
                        res.map(|v| v.into())
 8282         -
                            .map_err(ConstraintViolation::ListOfLengthString)
 8283         -
                    })
 8284         -
                    .transpose()?,
 8285         -
                set_of_length_string: self
 8286         -
                    .set_of_length_string
 8287         -
                    .map(|v| match v {
 8288         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8289         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8290         -
                    })
 8291         -
                    .map(|res| res.map_err(ConstraintViolation::SetOfLengthString))
 8292         -
                    .transpose()?
 8293         -
                    .map(|v: crate::model::SetOfLengthString| v.into()),
 8294         -
                map_of_length_string: self
 8295         -
                    .map_of_length_string
 8296         -
                    .map(|v| match v {
 8297         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8298         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8299         -
                    })
 8300         -
                    .map(|res| {
 8301         -
                        res.map(|v| v.into())
 8302         -
                            .map_err(ConstraintViolation::MapOfLengthString)
 8303         -
                    })
 8304         -
                    .transpose()?,
 8305         -
                list_of_length_blob: self
 8306         -
                    .list_of_length_blob
 8307         -
                    .map(|v| match v {
 8308         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8309         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8310         -
                    })
 8311         -
                    .map(|res| {
 8312         -
                        res.map(|v| v.into())
 8313         -
                            .map_err(ConstraintViolation::ListOfLengthBlob)
 8314         -
                    })
 8315         -
                    .transpose()?,
 8316         -
                map_of_length_blob: self
 8317         -
                    .map_of_length_blob
 8318         -
                    .map(|v| match v {
 8319         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8320         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8321         -
                    })
 8322         -
                    .map(|res| {
 8323         -
                        res.map(|v| v.into())
 8324         -
                            .map_err(ConstraintViolation::MapOfLengthBlob)
 8325         -
                    })
 8326         -
                    .transpose()?,
 8327         -
                list_of_range_integer: self
 8328         -
                    .list_of_range_integer
 8329         -
                    .map(|v| match v {
 8330         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8331         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8332         -
                    })
 8333         -
                    .map(|res| {
 8334         -
                        res.map(|v| v.into())
 8335         -
                            .map_err(ConstraintViolation::ListOfRangeInteger)
 8336         -
                    })
 8337         -
                    .transpose()?,
 8338         -
                set_of_range_integer: self
 8339         -
                    .set_of_range_integer
 8340         -
                    .map(|v| match v {
 8341         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8342         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8343         -
                    })
 8344         -
                    .map(|res| res.map_err(ConstraintViolation::SetOfRangeInteger))
 8345         -
                    .transpose()?
 8346         -
                    .map(|v: crate::model::SetOfRangeInteger| v.into()),
 8347         -
                map_of_range_integer: self
 8348         -
                    .map_of_range_integer
 8349         -
                    .map(|v| match v {
 8350         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8351         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8352         -
                    })
 8353         -
                    .map(|res| {
 8354         -
                        res.map(|v| v.into())
 8355         -
                            .map_err(ConstraintViolation::MapOfRangeInteger)
 8356         -
                    })
 8357         -
                    .transpose()?,
 8358         -
                list_of_range_short: self
 8359         -
                    .list_of_range_short
 8360         -
                    .map(|v| match v {
 8361         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8362         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8363         -
                    })
 8364         -
                    .map(|res| {
 8365         -
                        res.map(|v| v.into())
 8366         -
                            .map_err(ConstraintViolation::ListOfRangeShort)
 8367         -
                    })
 8368         -
                    .transpose()?,
 8369         -
                set_of_range_short: self
 8370         -
                    .set_of_range_short
 8371         -
                    .map(|v| match v {
 8372         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8373         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8374         -
                    })
 8375         -
                    .map(|res| res.map_err(ConstraintViolation::SetOfRangeShort))
 8376         -
                    .transpose()?
 8377         -
                    .map(|v: crate::model::SetOfRangeShort| v.into()),
 8378         -
                map_of_range_short: self
 8379         -
                    .map_of_range_short
 8380         -
                    .map(|v| match v {
 8381         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8382         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8383         -
                    })
 8384         -
                    .map(|res| {
 8385         -
                        res.map(|v| v.into())
 8386         -
                            .map_err(ConstraintViolation::MapOfRangeShort)
 8387         -
                    })
 8388         -
                    .transpose()?,
 8389         -
                list_of_range_long: self
 8390         -
                    .list_of_range_long
 8391         -
                    .map(|v| match v {
 8392         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8393         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8394         -
                    })
 8395         -
                    .map(|res| {
 8396         -
                        res.map(|v| v.into())
 8397         -
                            .map_err(ConstraintViolation::ListOfRangeLong)
 8398         -
                    })
 8399         -
                    .transpose()?,
 8400         -
                set_of_range_long: self
 8401         -
                    .set_of_range_long
 8402         -
                    .map(|v| match v {
 8403         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8404         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8405         -
                    })
 8406         -
                    .map(|res| res.map_err(ConstraintViolation::SetOfRangeLong))
 8407         -
                    .transpose()?
 8408         -
                    .map(|v: crate::model::SetOfRangeLong| v.into()),
 8409         -
                map_of_range_long: self
 8410         -
                    .map_of_range_long
 8411         -
                    .map(|v| match v {
 8412         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8413         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8414         -
                    })
 8415         -
                    .map(|res| {
 8416         -
                        res.map(|v| v.into())
 8417         -
                            .map_err(ConstraintViolation::MapOfRangeLong)
 8418         -
                    })
 8419         -
                    .transpose()?,
 8420         -
                list_of_range_byte: self
 8421         -
                    .list_of_range_byte
 8422         -
                    .map(|v| match v {
 8423         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8424         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8425         -
                    })
 8426         -
                    .map(|res| {
 8427         -
                        res.map(|v| v.into())
 8428         -
                            .map_err(ConstraintViolation::ListOfRangeByte)
 8429         -
                    })
 8430         -
                    .transpose()?,
 8431         -
                set_of_range_byte: self
 8432         -
                    .set_of_range_byte
 8433         -
                    .map(|v| match v {
 8434         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8435         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8436         -
                    })
 8437         -
                    .map(|res| res.map_err(ConstraintViolation::SetOfRangeByte))
 8438         -
                    .transpose()?
 8439         -
                    .map(|v: crate::model::SetOfRangeByte| v.into()),
 8440         -
                map_of_range_byte: self
 8441         -
                    .map_of_range_byte
 8442         -
                    .map(|v| match v {
 8443         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8444         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8445         -
                    })
 8446         -
                    .map(|res| {
 8447         -
                        res.map(|v| v.into())
 8448         -
                            .map_err(ConstraintViolation::MapOfRangeByte)
 8449         -
                    })
 8450         -
                    .transpose()?,
 8451         -
                non_streaming_blob: self.non_streaming_blob,
 8452         -
                pattern_string: self
 8453         -
                    .pattern_string
 8454         -
                    .map(|v| match v {
 8455         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8456         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8457         -
                    })
 8458         -
                    .map(|res| res.map_err(ConstraintViolation::PatternString))
 8459         -
                    .transpose()?
 8460         -
                    .map(|v: crate::model::PatternString| v.into()),
 8461         -
                map_of_pattern_string: self
 8462         -
                    .map_of_pattern_string
 8463         -
                    .map(|v| match v {
 8464         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8465         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8466         -
                    })
 8467         -
                    .map(|res| {
 8468         -
                        res.map(|v| v.into())
 8469         -
                            .map_err(ConstraintViolation::MapOfPatternString)
 8470         -
                    })
 8471         -
                    .transpose()?,
 8472         -
                list_of_pattern_string: self
 8473         -
                    .list_of_pattern_string
 8474         -
                    .map(|v| match v {
 8475         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8476         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8477         -
                    })
 8478         -
                    .map(|res| {
 8479         -
                        res.map(|v| v.into())
 8480         -
                            .map_err(ConstraintViolation::ListOfPatternString)
 8481         -
                    })
 8482         -
                    .transpose()?,
 8483         -
                set_of_pattern_string: self
 8484         -
                    .set_of_pattern_string
 8485         -
                    .map(|v| match v {
 8486         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8487         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8488         -
                    })
 8489         -
                    .map(|res| res.map_err(ConstraintViolation::SetOfPatternString))
 8490         -
                    .transpose()?
 8491         -
                    .map(|v: crate::model::SetOfPatternString| v.into()),
 8492         -
                length_length_pattern_string: self
 8493         -
                    .length_length_pattern_string
 8494         -
                    .map(|v| match v {
 8495         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8496         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8497         -
                    })
 8498         -
                    .map(|res| res.map_err(ConstraintViolation::LengthLengthPatternString))
 8499         -
                    .transpose()?
 8500         -
                    .map(|v: crate::model::LengthPatternString| v.into()),
 8501         -
                map_of_length_pattern_string: self
 8502         -
                    .map_of_length_pattern_string
 8503         -
                    .map(|v| match v {
 8504         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8505         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8506         -
                    })
 8507         -
                    .map(|res| {
 8508         -
                        res.map(|v| v.into())
 8509         -
                            .map_err(ConstraintViolation::MapOfLengthPatternString)
 8510         -
                    })
 8511         -
                    .transpose()?,
 8512         -
                list_of_length_pattern_string: self
 8513         -
                    .list_of_length_pattern_string
 8514         -
                    .map(|v| match v {
 8515         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8516         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8517         -
                    })
 8518         -
                    .map(|res| {
 8519         -
                        res.map(|v| v.into())
 8520         -
                            .map_err(ConstraintViolation::ListOfLengthPatternString)
 8521         -
                    })
 8522         -
                    .transpose()?,
 8523         -
                set_of_length_pattern_string: self
 8524         -
                    .set_of_length_pattern_string
 8525         -
                    .map(|v| match v {
 8526         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8527         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8528         -
                    })
 8529         -
                    .map(|res| res.map_err(ConstraintViolation::SetOfLengthPatternString))
 8530         -
                    .transpose()?
 8531         -
                    .map(|v: crate::model::SetOfLengthPatternString| v.into()),
 8532         -
                length_list_of_pattern_string: self
 8533         -
                    .length_list_of_pattern_string
 8534         -
                    .map(|v| match v {
 8535         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8536         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8537         -
                    })
 8538         -
                    .map(|res| res.map_err(ConstraintViolation::LengthListOfPatternString))
 8539         -
                    .transpose()?
 8540         -
                    .map(|v: crate::model::LengthListOfPatternString| v.into()),
 8541         -
                length_set_of_pattern_string: self
 8542         -
                    .length_set_of_pattern_string
 8543         -
                    .map(|v| match v {
 8544         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 8545         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 8546         -
                    })
 8547         -
                    .map(|res| res.map_err(ConstraintViolation::LengthSetOfPatternString))
 8548         -
                    .transpose()?
 8549         -
                    .map(|v: crate::model::LengthSetOfPatternString| v.into()),
 8550         -
            })
 8551         -
        }
 8552         -
    }
 8553         -
}
 8554         -
/// See [`ConA`](crate::model::ConA).
        9997  +
            /* ServerBuilderGenerator.kt:287 */
        9998  +
            Ok(
        9999  +
                /* ServerBuilderGenerator.kt:542 */
       10000  +
                crate::model::ConA {
       10001  +
                    /* ServerBuilderGenerator.kt:546 */
       10002  +
                    con_b: self
       10003  +
                        .con_b
       10004  +
                        /* ServerBuilderGenerator.kt:602 */
       10005  +
                        .map(|v| match v {
       10006  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10007  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10008  +
                        })
       10009  +
                        /* ServerBuilderGenerator.kt:614 */
       10010  +
                        .map(|res| res.map_err(ConstraintViolation::ConB))
       10011  +
                        .transpose()?
       10012  +
                        /* ServerBuilderGenerator.kt:569 */
       10013  +
                        .ok_or(ConstraintViolation::MissingConB)?,
       10014  +
                    /* ServerBuilderGenerator.kt:546 */
       10015  +
                    opt_con_b: self
       10016  +
                        .opt_con_b
       10017  +
                        /* ServerBuilderGenerator.kt:602 */
       10018  +
                        .map(|v| match v {
       10019  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10020  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10021  +
                        })
       10022  +
                        /* ServerBuilderGenerator.kt:614 */
       10023  +
                        .map(|res| res.map_err(ConstraintViolation::OptConB))
       10024  +
                        .transpose()?,
       10025  +
                    /* ServerBuilderGenerator.kt:546 */
       10026  +
                    length_string: self
       10027  +
                        .length_string
       10028  +
                        /* ServerBuilderGenerator.kt:602 */
       10029  +
                        .map(|v| match v {
       10030  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10031  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10032  +
                        })
       10033  +
                        /* ServerBuilderGenerator.kt:614 */
       10034  +
                        .map(|res| res.map_err(ConstraintViolation::LengthString))
       10035  +
                        .transpose()?
       10036  +
                        /* ServerBuilderGenerator.kt:630 */
       10037  +
                        .map(|v: crate::model::LengthString| v.into()),
       10038  +
                    /* ServerBuilderGenerator.kt:546 */
       10039  +
                    min_length_string: self
       10040  +
                        .min_length_string
       10041  +
                        /* ServerBuilderGenerator.kt:602 */
       10042  +
                        .map(|v| match v {
       10043  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10044  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10045  +
                        })
       10046  +
                        /* ServerBuilderGenerator.kt:614 */
       10047  +
                        .map(|res| res.map_err(ConstraintViolation::MinLengthString))
       10048  +
                        .transpose()?
       10049  +
                        /* ServerBuilderGenerator.kt:630 */
       10050  +
                        .map(|v: crate::model::MinLengthString| v.into()),
       10051  +
                    /* ServerBuilderGenerator.kt:546 */
       10052  +
                    max_length_string: self
       10053  +
                        .max_length_string
       10054  +
                        /* ServerBuilderGenerator.kt:602 */
       10055  +
                        .map(|v| match v {
       10056  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10057  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10058  +
                        })
       10059  +
                        /* ServerBuilderGenerator.kt:614 */
       10060  +
                        .map(|res| res.map_err(ConstraintViolation::MaxLengthString))
       10061  +
                        .transpose()?
       10062  +
                        /* ServerBuilderGenerator.kt:630 */
       10063  +
                        .map(|v: crate::model::MaxLengthString| v.into()),
       10064  +
                    /* ServerBuilderGenerator.kt:546 */
       10065  +
                    fixed_length_string: self
       10066  +
                        .fixed_length_string
       10067  +
                        /* ServerBuilderGenerator.kt:602 */
       10068  +
                        .map(|v| match v {
       10069  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10070  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10071  +
                        })
       10072  +
                        /* ServerBuilderGenerator.kt:614 */
       10073  +
                        .map(|res| res.map_err(ConstraintViolation::FixedLengthString))
       10074  +
                        .transpose()?
       10075  +
                        /* ServerBuilderGenerator.kt:630 */
       10076  +
                        .map(|v: crate::model::FixedLengthString| v.into()),
       10077  +
                    /* ServerBuilderGenerator.kt:546 */
       10078  +
                    length_blob: self
       10079  +
                        .length_blob
       10080  +
                        /* ServerBuilderGenerator.kt:602 */
       10081  +
                        .map(|v| match v {
       10082  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10083  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10084  +
                        })
       10085  +
                        /* ServerBuilderGenerator.kt:614 */
       10086  +
                        .map(|res| res.map_err(ConstraintViolation::LengthBlob))
       10087  +
                        .transpose()?
       10088  +
                        /* ServerBuilderGenerator.kt:630 */
       10089  +
                        .map(|v: crate::model::LengthBlob| v.into()),
       10090  +
                    /* ServerBuilderGenerator.kt:546 */
       10091  +
                    min_length_blob: self
       10092  +
                        .min_length_blob
       10093  +
                        /* ServerBuilderGenerator.kt:602 */
       10094  +
                        .map(|v| match v {
       10095  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10096  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10097  +
                        })
       10098  +
                        /* ServerBuilderGenerator.kt:614 */
       10099  +
                        .map(|res| res.map_err(ConstraintViolation::MinLengthBlob))
       10100  +
                        .transpose()?
       10101  +
                        /* ServerBuilderGenerator.kt:630 */
       10102  +
                        .map(|v: crate::model::MinLengthBlob| v.into()),
       10103  +
                    /* ServerBuilderGenerator.kt:546 */
       10104  +
                    max_length_blob: self
       10105  +
                        .max_length_blob
       10106  +
                        /* ServerBuilderGenerator.kt:602 */
       10107  +
                        .map(|v| match v {
       10108  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10109  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10110  +
                        })
       10111  +
                        /* ServerBuilderGenerator.kt:614 */
       10112  +
                        .map(|res| res.map_err(ConstraintViolation::MaxLengthBlob))
       10113  +
                        .transpose()?
       10114  +
                        /* ServerBuilderGenerator.kt:630 */
       10115  +
                        .map(|v: crate::model::MaxLengthBlob| v.into()),
       10116  +
                    /* ServerBuilderGenerator.kt:546 */
       10117  +
                    fixed_length_blob: self
       10118  +
                        .fixed_length_blob
       10119  +
                        /* ServerBuilderGenerator.kt:602 */
       10120  +
                        .map(|v| match v {
       10121  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10122  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10123  +
                        })
       10124  +
                        /* ServerBuilderGenerator.kt:614 */
       10125  +
                        .map(|res| res.map_err(ConstraintViolation::FixedLengthBlob))
       10126  +
                        .transpose()?
       10127  +
                        /* ServerBuilderGenerator.kt:630 */
       10128  +
                        .map(|v: crate::model::FixedLengthBlob| v.into()),
       10129  +
                    /* ServerBuilderGenerator.kt:546 */
       10130  +
                    range_integer: self
       10131  +
                        .range_integer
       10132  +
                        /* ServerBuilderGenerator.kt:602 */
       10133  +
                        .map(|v| match v {
       10134  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10135  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10136  +
                        })
       10137  +
                        /* ServerBuilderGenerator.kt:614 */
       10138  +
                        .map(|res| res.map_err(ConstraintViolation::RangeInteger))
       10139  +
                        .transpose()?
       10140  +
                        /* ServerBuilderGenerator.kt:630 */
       10141  +
                        .map(|v: crate::model::RangeInteger| v.into())
       10142  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10143  +
                        .unwrap_or(0i32),
       10144  +
                    /* ServerBuilderGenerator.kt:546 */
       10145  +
                    min_range_integer: self
       10146  +
                        .min_range_integer
       10147  +
                        /* ServerBuilderGenerator.kt:602 */
       10148  +
                        .map(|v| match v {
       10149  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10150  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10151  +
                        })
       10152  +
                        /* ServerBuilderGenerator.kt:614 */
       10153  +
                        .map(|res| res.map_err(ConstraintViolation::MinRangeInteger))
       10154  +
                        .transpose()?
       10155  +
                        /* ServerBuilderGenerator.kt:630 */
       10156  +
                        .map(|v: crate::model::MinRangeInteger| v.into())
       10157  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10158  +
                        .unwrap_or(0i32),
       10159  +
                    /* ServerBuilderGenerator.kt:546 */
       10160  +
                    max_range_integer: self
       10161  +
                        .max_range_integer
       10162  +
                        /* ServerBuilderGenerator.kt:602 */
       10163  +
                        .map(|v| match v {
       10164  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10165  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10166  +
                        })
       10167  +
                        /* ServerBuilderGenerator.kt:614 */
       10168  +
                        .map(|res| res.map_err(ConstraintViolation::MaxRangeInteger))
       10169  +
                        .transpose()?
       10170  +
                        /* ServerBuilderGenerator.kt:630 */
       10171  +
                        .map(|v: crate::model::MaxRangeInteger| v.into())
       10172  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10173  +
                        .unwrap_or(0i32),
       10174  +
                    /* ServerBuilderGenerator.kt:546 */
       10175  +
                    fixed_value_integer: self
       10176  +
                        .fixed_value_integer
       10177  +
                        /* ServerBuilderGenerator.kt:602 */
       10178  +
                        .map(|v| match v {
       10179  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10180  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10181  +
                        })
       10182  +
                        /* ServerBuilderGenerator.kt:614 */
       10183  +
                        .map(|res| res.map_err(ConstraintViolation::FixedValueInteger))
       10184  +
                        .transpose()?
       10185  +
                        /* ServerBuilderGenerator.kt:630 */
       10186  +
                        .map(|v: crate::model::FixedValueInteger| v.into())
       10187  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10188  +
                        .unwrap_or(0i32),
       10189  +
                    /* ServerBuilderGenerator.kt:546 */
       10190  +
                    range_short: self
       10191  +
                        .range_short
       10192  +
                        /* ServerBuilderGenerator.kt:602 */
       10193  +
                        .map(|v| match v {
       10194  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10195  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10196  +
                        })
       10197  +
                        /* ServerBuilderGenerator.kt:614 */
       10198  +
                        .map(|res| res.map_err(ConstraintViolation::RangeShort))
       10199  +
                        .transpose()?
       10200  +
                        /* ServerBuilderGenerator.kt:630 */
       10201  +
                        .map(|v: crate::model::RangeShort| v.into())
       10202  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10203  +
                        .unwrap_or(0i16),
       10204  +
                    /* ServerBuilderGenerator.kt:546 */
       10205  +
                    min_range_short: self
       10206  +
                        .min_range_short
       10207  +
                        /* ServerBuilderGenerator.kt:602 */
       10208  +
                        .map(|v| match v {
       10209  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10210  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10211  +
                        })
       10212  +
                        /* ServerBuilderGenerator.kt:614 */
       10213  +
                        .map(|res| res.map_err(ConstraintViolation::MinRangeShort))
       10214  +
                        .transpose()?
       10215  +
                        /* ServerBuilderGenerator.kt:630 */
       10216  +
                        .map(|v: crate::model::MinRangeShort| v.into())
       10217  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10218  +
                        .unwrap_or(0i16),
       10219  +
                    /* ServerBuilderGenerator.kt:546 */
       10220  +
                    max_range_short: self
       10221  +
                        .max_range_short
       10222  +
                        /* ServerBuilderGenerator.kt:602 */
       10223  +
                        .map(|v| match v {
       10224  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10225  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10226  +
                        })
       10227  +
                        /* ServerBuilderGenerator.kt:614 */
       10228  +
                        .map(|res| res.map_err(ConstraintViolation::MaxRangeShort))
       10229  +
                        .transpose()?
       10230  +
                        /* ServerBuilderGenerator.kt:630 */
       10231  +
                        .map(|v: crate::model::MaxRangeShort| v.into())
       10232  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10233  +
                        .unwrap_or(0i16),
       10234  +
                    /* ServerBuilderGenerator.kt:546 */
       10235  +
                    fixed_value_short: self
       10236  +
                        .fixed_value_short
       10237  +
                        /* ServerBuilderGenerator.kt:602 */
       10238  +
                        .map(|v| match v {
       10239  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10240  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10241  +
                        })
       10242  +
                        /* ServerBuilderGenerator.kt:614 */
       10243  +
                        .map(|res| res.map_err(ConstraintViolation::FixedValueShort))
       10244  +
                        .transpose()?
       10245  +
                        /* ServerBuilderGenerator.kt:630 */
       10246  +
                        .map(|v: crate::model::FixedValueShort| v.into())
       10247  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10248  +
                        .unwrap_or(0i16),
       10249  +
                    /* ServerBuilderGenerator.kt:546 */
       10250  +
                    range_long: self
       10251  +
                        .range_long
       10252  +
                        /* ServerBuilderGenerator.kt:602 */
       10253  +
                        .map(|v| match v {
       10254  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10255  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10256  +
                        })
       10257  +
                        /* ServerBuilderGenerator.kt:614 */
       10258  +
                        .map(|res| res.map_err(ConstraintViolation::RangeLong))
       10259  +
                        .transpose()?
       10260  +
                        /* ServerBuilderGenerator.kt:630 */
       10261  +
                        .map(|v: crate::model::RangeLong| v.into())
       10262  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10263  +
                        .unwrap_or(0i64),
       10264  +
                    /* ServerBuilderGenerator.kt:546 */
       10265  +
                    min_range_long: self
       10266  +
                        .min_range_long
       10267  +
                        /* ServerBuilderGenerator.kt:602 */
       10268  +
                        .map(|v| match v {
       10269  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10270  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10271  +
                        })
       10272  +
                        /* ServerBuilderGenerator.kt:614 */
       10273  +
                        .map(|res| res.map_err(ConstraintViolation::MinRangeLong))
       10274  +
                        .transpose()?
       10275  +
                        /* ServerBuilderGenerator.kt:630 */
       10276  +
                        .map(|v: crate::model::MinRangeLong| v.into())
       10277  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10278  +
                        .unwrap_or(0i64),
       10279  +
                    /* ServerBuilderGenerator.kt:546 */
       10280  +
                    max_range_long: self
       10281  +
                        .max_range_long
       10282  +
                        /* ServerBuilderGenerator.kt:602 */
       10283  +
                        .map(|v| match v {
       10284  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10285  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10286  +
                        })
       10287  +
                        /* ServerBuilderGenerator.kt:614 */
       10288  +
                        .map(|res| res.map_err(ConstraintViolation::MaxRangeLong))
       10289  +
                        .transpose()?
       10290  +
                        /* ServerBuilderGenerator.kt:630 */
       10291  +
                        .map(|v: crate::model::MaxRangeLong| v.into())
       10292  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10293  +
                        .unwrap_or(0i64),
       10294  +
                    /* ServerBuilderGenerator.kt:546 */
       10295  +
                    fixed_value_long: self
       10296  +
                        .fixed_value_long
       10297  +
                        /* ServerBuilderGenerator.kt:602 */
       10298  +
                        .map(|v| match v {
       10299  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10300  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10301  +
                        })
       10302  +
                        /* ServerBuilderGenerator.kt:614 */
       10303  +
                        .map(|res| res.map_err(ConstraintViolation::FixedValueLong))
       10304  +
                        .transpose()?
       10305  +
                        /* ServerBuilderGenerator.kt:630 */
       10306  +
                        .map(|v: crate::model::FixedValueLong| v.into())
       10307  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10308  +
                        .unwrap_or(0i64),
       10309  +
                    /* ServerBuilderGenerator.kt:546 */
       10310  +
                    range_byte: self
       10311  +
                        .range_byte
       10312  +
                        /* ServerBuilderGenerator.kt:602 */
       10313  +
                        .map(|v| match v {
       10314  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10315  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10316  +
                        })
       10317  +
                        /* ServerBuilderGenerator.kt:614 */
       10318  +
                        .map(|res| res.map_err(ConstraintViolation::RangeByte))
       10319  +
                        .transpose()?
       10320  +
                        /* ServerBuilderGenerator.kt:630 */
       10321  +
                        .map(|v: crate::model::RangeByte| v.into())
       10322  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10323  +
                        .unwrap_or(0i8),
       10324  +
                    /* ServerBuilderGenerator.kt:546 */
       10325  +
                    min_range_byte: self
       10326  +
                        .min_range_byte
       10327  +
                        /* ServerBuilderGenerator.kt:602 */
       10328  +
                        .map(|v| match v {
       10329  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10330  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10331  +
                        })
       10332  +
                        /* ServerBuilderGenerator.kt:614 */
       10333  +
                        .map(|res| res.map_err(ConstraintViolation::MinRangeByte))
       10334  +
                        .transpose()?
       10335  +
                        /* ServerBuilderGenerator.kt:630 */
       10336  +
                        .map(|v: crate::model::MinRangeByte| v.into())
       10337  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10338  +
                        .unwrap_or(0i8),
       10339  +
                    /* ServerBuilderGenerator.kt:546 */
       10340  +
                    max_range_byte: self
       10341  +
                        .max_range_byte
       10342  +
                        /* ServerBuilderGenerator.kt:602 */
       10343  +
                        .map(|v| match v {
       10344  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10345  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10346  +
                        })
       10347  +
                        /* ServerBuilderGenerator.kt:614 */
       10348  +
                        .map(|res| res.map_err(ConstraintViolation::MaxRangeByte))
       10349  +
                        .transpose()?
       10350  +
                        /* ServerBuilderGenerator.kt:630 */
       10351  +
                        .map(|v: crate::model::MaxRangeByte| v.into())
       10352  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10353  +
                        .unwrap_or(0i8),
       10354  +
                    /* ServerBuilderGenerator.kt:546 */
       10355  +
                    fixed_value_byte: self
       10356  +
                        .fixed_value_byte
       10357  +
                        /* ServerBuilderGenerator.kt:602 */
       10358  +
                        .map(|v| match v {
       10359  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10360  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10361  +
                        })
       10362  +
                        /* ServerBuilderGenerator.kt:614 */
       10363  +
                        .map(|res| res.map_err(ConstraintViolation::FixedValueByte))
       10364  +
                        .transpose()?
       10365  +
                        /* ServerBuilderGenerator.kt:630 */
       10366  +
                        .map(|v: crate::model::FixedValueByte| v.into())
       10367  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       10368  +
                        .unwrap_or(0i8),
       10369  +
                    /* ServerBuilderGenerator.kt:546 */
       10370  +
                    con_b_list: self
       10371  +
                        .con_b_list
       10372  +
                        /* ServerBuilderGenerator.kt:602 */
       10373  +
                        .map(|v| match v {
       10374  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10375  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10376  +
                        })
       10377  +
                        /* ServerBuilderGenerator.kt:614 */
       10378  +
                        .map(|res| res.map(|v| v.into()).map_err(ConstraintViolation::ConBList))
       10379  +
                        .transpose()?,
       10380  +
                    /* ServerBuilderGenerator.kt:546 */
       10381  +
                    length_list: self
       10382  +
                        .length_list
       10383  +
                        /* ServerBuilderGenerator.kt:602 */
       10384  +
                        .map(|v| match v {
       10385  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10386  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10387  +
                        })
       10388  +
                        /* ServerBuilderGenerator.kt:614 */
       10389  +
                        .map(|res| res.map_err(ConstraintViolation::LengthList))
       10390  +
                        .transpose()?
       10391  +
                        /* ServerBuilderGenerator.kt:630 */
       10392  +
                        .map(|v: crate::model::LengthList| v.into()),
       10393  +
                    /* ServerBuilderGenerator.kt:546 */
       10394  +
                    sensitive_length_list: self
       10395  +
                        .sensitive_length_list
       10396  +
                        /* ServerBuilderGenerator.kt:602 */
       10397  +
                        .map(|v| match v {
       10398  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10399  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10400  +
                        })
       10401  +
                        /* ServerBuilderGenerator.kt:614 */
       10402  +
                        .map(|res| res.map_err(ConstraintViolation::SensitiveLengthList))
       10403  +
                        .transpose()?
       10404  +
                        /* ServerBuilderGenerator.kt:630 */
       10405  +
                        .map(|v: crate::model::SensitiveLengthList| v.into()),
       10406  +
                    /* ServerBuilderGenerator.kt:546 */
       10407  +
                    con_b_set: self
       10408  +
                        .con_b_set
       10409  +
                        /* ServerBuilderGenerator.kt:602 */
       10410  +
                        .map(|v| match v {
       10411  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10412  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10413  +
                        })
       10414  +
                        /* ServerBuilderGenerator.kt:614 */
       10415  +
                        .map(|res| res.map_err(ConstraintViolation::ConBSet))
       10416  +
                        .transpose()?
       10417  +
                        /* ServerBuilderGenerator.kt:630 */
       10418  +
                        .map(|v: crate::model::ConBSet| v.into()),
       10419  +
                    /* ServerBuilderGenerator.kt:546 */
       10420  +
                    con_b_map: self
       10421  +
                        .con_b_map
       10422  +
                        /* ServerBuilderGenerator.kt:602 */
       10423  +
                        .map(|v| match v {
       10424  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10425  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10426  +
                        })
       10427  +
                        /* ServerBuilderGenerator.kt:614 */
       10428  +
                        .map(|res| res.map_err(ConstraintViolation::ConBMap))
       10429  +
                        .transpose()?
       10430  +
                        /* ServerBuilderGenerator.kt:630 */
       10431  +
                        .map(|v: crate::model::ConBMap| v.into()),
       10432  +
                    /* ServerBuilderGenerator.kt:546 */
       10433  +
                    length_map: self
       10434  +
                        .length_map
       10435  +
                        /* ServerBuilderGenerator.kt:602 */
       10436  +
                        .map(|v| match v {
       10437  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10438  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10439  +
                        })
       10440  +
                        /* ServerBuilderGenerator.kt:614 */
       10441  +
                        .map(|res| res.map_err(ConstraintViolation::LengthMap))
       10442  +
                        .transpose()?
       10443  +
                        /* ServerBuilderGenerator.kt:630 */
       10444  +
                        .map(|v: crate::model::LengthMap| v.into()),
       10445  +
                    /* ServerBuilderGenerator.kt:546 */
       10446  +
                    map_of_map_of_list_of_list_of_con_b: self
       10447  +
                        .map_of_map_of_list_of_list_of_con_b
       10448  +
                        /* ServerBuilderGenerator.kt:602 */
       10449  +
                        .map(|v| match v {
       10450  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10451  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10452  +
                        })
       10453  +
                        /* ServerBuilderGenerator.kt:614 */
       10454  +
                        .map(|res| {
       10455  +
                            res.map(|v| v.into())
       10456  +
                                .map_err(ConstraintViolation::MapOfMapOfListOfListOfConB)
       10457  +
                        })
       10458  +
                        .transpose()?,
       10459  +
                    /* ServerBuilderGenerator.kt:546 */
       10460  +
                    sparse_map: self
       10461  +
                        .sparse_map
       10462  +
                        /* ServerBuilderGenerator.kt:602 */
       10463  +
                        .map(|v| match v {
       10464  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10465  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10466  +
                        })
       10467  +
                        /* ServerBuilderGenerator.kt:614 */
       10468  +
                        .map(|res| {
       10469  +
                            res.map(|v| v.into())
       10470  +
                                .map_err(ConstraintViolation::SparseMap)
       10471  +
                        })
       10472  +
                        .transpose()?,
       10473  +
                    /* ServerBuilderGenerator.kt:546 */
       10474  +
                    sparse_list: self
       10475  +
                        .sparse_list
       10476  +
                        /* ServerBuilderGenerator.kt:602 */
       10477  +
                        .map(|v| match v {
       10478  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10479  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10480  +
                        })
       10481  +
                        /* ServerBuilderGenerator.kt:614 */
       10482  +
                        .map(|res| {
       10483  +
                            res.map(|v| v.into())
       10484  +
                                .map_err(ConstraintViolation::SparseList)
       10485  +
                        })
       10486  +
                        .transpose()?,
       10487  +
                    /* ServerBuilderGenerator.kt:546 */
       10488  +
                    sparse_length_map: self
       10489  +
                        .sparse_length_map
       10490  +
                        /* ServerBuilderGenerator.kt:602 */
       10491  +
                        .map(|v| match v {
       10492  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10493  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10494  +
                        })
       10495  +
                        /* ServerBuilderGenerator.kt:614 */
       10496  +
                        .map(|res| res.map_err(ConstraintViolation::SparseLengthMap))
       10497  +
                        .transpose()?
       10498  +
                        /* ServerBuilderGenerator.kt:630 */
       10499  +
                        .map(|v: crate::model::SparseLengthMap| v.into()),
       10500  +
                    /* ServerBuilderGenerator.kt:546 */
       10501  +
                    sparse_length_list: self
       10502  +
                        .sparse_length_list
       10503  +
                        /* ServerBuilderGenerator.kt:602 */
       10504  +
                        .map(|v| match v {
       10505  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10506  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10507  +
                        })
       10508  +
                        /* ServerBuilderGenerator.kt:614 */
       10509  +
                        .map(|res| res.map_err(ConstraintViolation::SparseLengthList))
       10510  +
                        .transpose()?
       10511  +
                        /* ServerBuilderGenerator.kt:630 */
       10512  +
                        .map(|v: crate::model::SparseLengthList| v.into()),
       10513  +
                    /* ServerBuilderGenerator.kt:546 */
       10514  +
                    constrained_union: self
       10515  +
                        .constrained_union
       10516  +
                        /* ServerBuilderGenerator.kt:602 */
       10517  +
                        .map(|v| match v {
       10518  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10519  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10520  +
                        })
       10521  +
                        /* ServerBuilderGenerator.kt:614 */
       10522  +
                        .map(|res| res.map_err(ConstraintViolation::ConstrainedUnion))
       10523  +
                        .transpose()?,
       10524  +
                    /* ServerBuilderGenerator.kt:546 */
       10525  +
                    enum_string: self
       10526  +
                        .enum_string
       10527  +
                        /* ServerBuilderGenerator.kt:602 */
       10528  +
                        .map(|v| match v {
       10529  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10530  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10531  +
                        })
       10532  +
                        /* ServerBuilderGenerator.kt:614 */
       10533  +
                        .map(|res| res.map_err(ConstraintViolation::EnumString))
       10534  +
                        .transpose()?,
       10535  +
                    /* ServerBuilderGenerator.kt:546 */
       10536  +
                    list_of_length_string: self
       10537  +
                        .list_of_length_string
       10538  +
                        /* ServerBuilderGenerator.kt:602 */
       10539  +
                        .map(|v| match v {
       10540  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10541  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10542  +
                        })
       10543  +
                        /* ServerBuilderGenerator.kt:614 */
       10544  +
                        .map(|res| {
       10545  +
                            res.map(|v| v.into())
       10546  +
                                .map_err(ConstraintViolation::ListOfLengthString)
       10547  +
                        })
       10548  +
                        .transpose()?,
       10549  +
                    /* ServerBuilderGenerator.kt:546 */
       10550  +
                    set_of_length_string: self
       10551  +
                        .set_of_length_string
       10552  +
                        /* ServerBuilderGenerator.kt:602 */
       10553  +
                        .map(|v| match v {
       10554  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10555  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10556  +
                        })
       10557  +
                        /* ServerBuilderGenerator.kt:614 */
       10558  +
                        .map(|res| res.map_err(ConstraintViolation::SetOfLengthString))
       10559  +
                        .transpose()?
       10560  +
                        /* ServerBuilderGenerator.kt:630 */
       10561  +
                        .map(|v: crate::model::SetOfLengthString| v.into()),
       10562  +
                    /* ServerBuilderGenerator.kt:546 */
       10563  +
                    map_of_length_string: self
       10564  +
                        .map_of_length_string
       10565  +
                        /* ServerBuilderGenerator.kt:602 */
       10566  +
                        .map(|v| match v {
       10567  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10568  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10569  +
                        })
       10570  +
                        /* ServerBuilderGenerator.kt:614 */
       10571  +
                        .map(|res| {
       10572  +
                            res.map(|v| v.into())
       10573  +
                                .map_err(ConstraintViolation::MapOfLengthString)
       10574  +
                        })
       10575  +
                        .transpose()?,
       10576  +
                    /* ServerBuilderGenerator.kt:546 */
       10577  +
                    list_of_length_blob: self
       10578  +
                        .list_of_length_blob
       10579  +
                        /* ServerBuilderGenerator.kt:602 */
       10580  +
                        .map(|v| match v {
       10581  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10582  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10583  +
                        })
       10584  +
                        /* ServerBuilderGenerator.kt:614 */
       10585  +
                        .map(|res| {
       10586  +
                            res.map(|v| v.into())
       10587  +
                                .map_err(ConstraintViolation::ListOfLengthBlob)
       10588  +
                        })
       10589  +
                        .transpose()?,
       10590  +
                    /* ServerBuilderGenerator.kt:546 */
       10591  +
                    map_of_length_blob: self
       10592  +
                        .map_of_length_blob
       10593  +
                        /* ServerBuilderGenerator.kt:602 */
       10594  +
                        .map(|v| match v {
       10595  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10596  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10597  +
                        })
       10598  +
                        /* ServerBuilderGenerator.kt:614 */
       10599  +
                        .map(|res| {
       10600  +
                            res.map(|v| v.into())
       10601  +
                                .map_err(ConstraintViolation::MapOfLengthBlob)
       10602  +
                        })
       10603  +
                        .transpose()?,
       10604  +
                    /* ServerBuilderGenerator.kt:546 */
       10605  +
                    list_of_range_integer: self
       10606  +
                        .list_of_range_integer
       10607  +
                        /* ServerBuilderGenerator.kt:602 */
       10608  +
                        .map(|v| match v {
       10609  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10610  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10611  +
                        })
       10612  +
                        /* ServerBuilderGenerator.kt:614 */
       10613  +
                        .map(|res| {
       10614  +
                            res.map(|v| v.into())
       10615  +
                                .map_err(ConstraintViolation::ListOfRangeInteger)
       10616  +
                        })
       10617  +
                        .transpose()?,
       10618  +
                    /* ServerBuilderGenerator.kt:546 */
       10619  +
                    set_of_range_integer: self
       10620  +
                        .set_of_range_integer
       10621  +
                        /* ServerBuilderGenerator.kt:602 */
       10622  +
                        .map(|v| match v {
       10623  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10624  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10625  +
                        })
       10626  +
                        /* ServerBuilderGenerator.kt:614 */
       10627  +
                        .map(|res| res.map_err(ConstraintViolation::SetOfRangeInteger))
       10628  +
                        .transpose()?
       10629  +
                        /* ServerBuilderGenerator.kt:630 */
       10630  +
                        .map(|v: crate::model::SetOfRangeInteger| v.into()),
       10631  +
                    /* ServerBuilderGenerator.kt:546 */
       10632  +
                    map_of_range_integer: self
       10633  +
                        .map_of_range_integer
       10634  +
                        /* ServerBuilderGenerator.kt:602 */
       10635  +
                        .map(|v| match v {
       10636  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10637  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10638  +
                        })
       10639  +
                        /* ServerBuilderGenerator.kt:614 */
       10640  +
                        .map(|res| {
       10641  +
                            res.map(|v| v.into())
       10642  +
                                .map_err(ConstraintViolation::MapOfRangeInteger)
       10643  +
                        })
       10644  +
                        .transpose()?,
       10645  +
                    /* ServerBuilderGenerator.kt:546 */
       10646  +
                    list_of_range_short: self
       10647  +
                        .list_of_range_short
       10648  +
                        /* ServerBuilderGenerator.kt:602 */
       10649  +
                        .map(|v| match v {
       10650  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10651  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10652  +
                        })
       10653  +
                        /* ServerBuilderGenerator.kt:614 */
       10654  +
                        .map(|res| {
       10655  +
                            res.map(|v| v.into())
       10656  +
                                .map_err(ConstraintViolation::ListOfRangeShort)
       10657  +
                        })
       10658  +
                        .transpose()?,
       10659  +
                    /* ServerBuilderGenerator.kt:546 */
       10660  +
                    set_of_range_short: self
       10661  +
                        .set_of_range_short
       10662  +
                        /* ServerBuilderGenerator.kt:602 */
       10663  +
                        .map(|v| match v {
       10664  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10665  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10666  +
                        })
       10667  +
                        /* ServerBuilderGenerator.kt:614 */
       10668  +
                        .map(|res| res.map_err(ConstraintViolation::SetOfRangeShort))
       10669  +
                        .transpose()?
       10670  +
                        /* ServerBuilderGenerator.kt:630 */
       10671  +
                        .map(|v: crate::model::SetOfRangeShort| v.into()),
       10672  +
                    /* ServerBuilderGenerator.kt:546 */
       10673  +
                    map_of_range_short: self
       10674  +
                        .map_of_range_short
       10675  +
                        /* ServerBuilderGenerator.kt:602 */
       10676  +
                        .map(|v| match v {
       10677  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10678  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10679  +
                        })
       10680  +
                        /* ServerBuilderGenerator.kt:614 */
       10681  +
                        .map(|res| {
       10682  +
                            res.map(|v| v.into())
       10683  +
                                .map_err(ConstraintViolation::MapOfRangeShort)
       10684  +
                        })
       10685  +
                        .transpose()?,
       10686  +
                    /* ServerBuilderGenerator.kt:546 */
       10687  +
                    list_of_range_long: self
       10688  +
                        .list_of_range_long
       10689  +
                        /* ServerBuilderGenerator.kt:602 */
       10690  +
                        .map(|v| match v {
       10691  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10692  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10693  +
                        })
       10694  +
                        /* ServerBuilderGenerator.kt:614 */
       10695  +
                        .map(|res| {
       10696  +
                            res.map(|v| v.into())
       10697  +
                                .map_err(ConstraintViolation::ListOfRangeLong)
       10698  +
                        })
       10699  +
                        .transpose()?,
       10700  +
                    /* ServerBuilderGenerator.kt:546 */
       10701  +
                    set_of_range_long: self
       10702  +
                        .set_of_range_long
       10703  +
                        /* ServerBuilderGenerator.kt:602 */
       10704  +
                        .map(|v| match v {
       10705  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10706  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10707  +
                        })
       10708  +
                        /* ServerBuilderGenerator.kt:614 */
       10709  +
                        .map(|res| res.map_err(ConstraintViolation::SetOfRangeLong))
       10710  +
                        .transpose()?
       10711  +
                        /* ServerBuilderGenerator.kt:630 */
       10712  +
                        .map(|v: crate::model::SetOfRangeLong| v.into()),
       10713  +
                    /* ServerBuilderGenerator.kt:546 */
       10714  +
                    map_of_range_long: self
       10715  +
                        .map_of_range_long
       10716  +
                        /* ServerBuilderGenerator.kt:602 */
       10717  +
                        .map(|v| match v {
       10718  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10719  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10720  +
                        })
       10721  +
                        /* ServerBuilderGenerator.kt:614 */
       10722  +
                        .map(|res| {
       10723  +
                            res.map(|v| v.into())
       10724  +
                                .map_err(ConstraintViolation::MapOfRangeLong)
       10725  +
                        })
       10726  +
                        .transpose()?,
       10727  +
                    /* ServerBuilderGenerator.kt:546 */
       10728  +
                    list_of_range_byte: self
       10729  +
                        .list_of_range_byte
       10730  +
                        /* ServerBuilderGenerator.kt:602 */
       10731  +
                        .map(|v| match v {
       10732  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10733  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10734  +
                        })
       10735  +
                        /* ServerBuilderGenerator.kt:614 */
       10736  +
                        .map(|res| {
       10737  +
                            res.map(|v| v.into())
       10738  +
                                .map_err(ConstraintViolation::ListOfRangeByte)
       10739  +
                        })
       10740  +
                        .transpose()?,
       10741  +
                    /* ServerBuilderGenerator.kt:546 */
       10742  +
                    set_of_range_byte: self
       10743  +
                        .set_of_range_byte
       10744  +
                        /* ServerBuilderGenerator.kt:602 */
       10745  +
                        .map(|v| match v {
       10746  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10747  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10748  +
                        })
       10749  +
                        /* ServerBuilderGenerator.kt:614 */
       10750  +
                        .map(|res| res.map_err(ConstraintViolation::SetOfRangeByte))
       10751  +
                        .transpose()?
       10752  +
                        /* ServerBuilderGenerator.kt:630 */
       10753  +
                        .map(|v: crate::model::SetOfRangeByte| v.into()),
       10754  +
                    /* ServerBuilderGenerator.kt:546 */
       10755  +
                    map_of_range_byte: self
       10756  +
                        .map_of_range_byte
       10757  +
                        /* ServerBuilderGenerator.kt:602 */
       10758  +
                        .map(|v| match v {
       10759  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10760  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10761  +
                        })
       10762  +
                        /* ServerBuilderGenerator.kt:614 */
       10763  +
                        .map(|res| {
       10764  +
                            res.map(|v| v.into())
       10765  +
                                .map_err(ConstraintViolation::MapOfRangeByte)
       10766  +
                        })
       10767  +
                        .transpose()?,
       10768  +
                    /* ServerBuilderGenerator.kt:546 */
       10769  +
                    non_streaming_blob: self.non_streaming_blob,
       10770  +
                    /* ServerBuilderGenerator.kt:546 */
       10771  +
                    pattern_string: self
       10772  +
                        .pattern_string
       10773  +
                        /* ServerBuilderGenerator.kt:602 */
       10774  +
                        .map(|v| match v {
       10775  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10776  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10777  +
                        })
       10778  +
                        /* ServerBuilderGenerator.kt:614 */
       10779  +
                        .map(|res| res.map_err(ConstraintViolation::PatternString))
       10780  +
                        .transpose()?
       10781  +
                        /* ServerBuilderGenerator.kt:630 */
       10782  +
                        .map(|v: crate::model::PatternString| v.into()),
       10783  +
                    /* ServerBuilderGenerator.kt:546 */
       10784  +
                    map_of_pattern_string: self
       10785  +
                        .map_of_pattern_string
       10786  +
                        /* ServerBuilderGenerator.kt:602 */
       10787  +
                        .map(|v| match v {
       10788  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10789  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10790  +
                        })
       10791  +
                        /* ServerBuilderGenerator.kt:614 */
       10792  +
                        .map(|res| {
       10793  +
                            res.map(|v| v.into())
       10794  +
                                .map_err(ConstraintViolation::MapOfPatternString)
       10795  +
                        })
       10796  +
                        .transpose()?,
       10797  +
                    /* ServerBuilderGenerator.kt:546 */
       10798  +
                    list_of_pattern_string: self
       10799  +
                        .list_of_pattern_string
       10800  +
                        /* ServerBuilderGenerator.kt:602 */
       10801  +
                        .map(|v| match v {
       10802  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10803  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10804  +
                        })
       10805  +
                        /* ServerBuilderGenerator.kt:614 */
       10806  +
                        .map(|res| {
       10807  +
                            res.map(|v| v.into())
       10808  +
                                .map_err(ConstraintViolation::ListOfPatternString)
       10809  +
                        })
       10810  +
                        .transpose()?,
       10811  +
                    /* ServerBuilderGenerator.kt:546 */
       10812  +
                    set_of_pattern_string: self
       10813  +
                        .set_of_pattern_string
       10814  +
                        /* ServerBuilderGenerator.kt:602 */
       10815  +
                        .map(|v| match v {
       10816  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10817  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10818  +
                        })
       10819  +
                        /* ServerBuilderGenerator.kt:614 */
       10820  +
                        .map(|res| res.map_err(ConstraintViolation::SetOfPatternString))
       10821  +
                        .transpose()?
       10822  +
                        /* ServerBuilderGenerator.kt:630 */
       10823  +
                        .map(|v: crate::model::SetOfPatternString| v.into()),
       10824  +
                    /* ServerBuilderGenerator.kt:546 */
       10825  +
                    length_length_pattern_string: self
       10826  +
                        .length_length_pattern_string
       10827  +
                        /* ServerBuilderGenerator.kt:602 */
       10828  +
                        .map(|v| match v {
       10829  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10830  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10831  +
                        })
       10832  +
                        /* ServerBuilderGenerator.kt:614 */
       10833  +
                        .map(|res| res.map_err(ConstraintViolation::LengthLengthPatternString))
       10834  +
                        .transpose()?
       10835  +
                        /* ServerBuilderGenerator.kt:630 */
       10836  +
                        .map(|v: crate::model::LengthPatternString| v.into()),
       10837  +
                    /* ServerBuilderGenerator.kt:546 */
       10838  +
                    map_of_length_pattern_string: self
       10839  +
                        .map_of_length_pattern_string
       10840  +
                        /* ServerBuilderGenerator.kt:602 */
       10841  +
                        .map(|v| match v {
       10842  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10843  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10844  +
                        })
       10845  +
                        /* ServerBuilderGenerator.kt:614 */
       10846  +
                        .map(|res| {
       10847  +
                            res.map(|v| v.into())
       10848  +
                                .map_err(ConstraintViolation::MapOfLengthPatternString)
       10849  +
                        })
       10850  +
                        .transpose()?,
       10851  +
                    /* ServerBuilderGenerator.kt:546 */
       10852  +
                    list_of_length_pattern_string: self
       10853  +
                        .list_of_length_pattern_string
       10854  +
                        /* ServerBuilderGenerator.kt:602 */
       10855  +
                        .map(|v| match v {
       10856  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10857  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10858  +
                        })
       10859  +
                        /* ServerBuilderGenerator.kt:614 */
       10860  +
                        .map(|res| {
       10861  +
                            res.map(|v| v.into())
       10862  +
                                .map_err(ConstraintViolation::ListOfLengthPatternString)
       10863  +
                        })
       10864  +
                        .transpose()?,
       10865  +
                    /* ServerBuilderGenerator.kt:546 */
       10866  +
                    set_of_length_pattern_string: self
       10867  +
                        .set_of_length_pattern_string
       10868  +
                        /* ServerBuilderGenerator.kt:602 */
       10869  +
                        .map(|v| match v {
       10870  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10871  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10872  +
                        })
       10873  +
                        /* ServerBuilderGenerator.kt:614 */
       10874  +
                        .map(|res| res.map_err(ConstraintViolation::SetOfLengthPatternString))
       10875  +
                        .transpose()?
       10876  +
                        /* ServerBuilderGenerator.kt:630 */
       10877  +
                        .map(|v: crate::model::SetOfLengthPatternString| v.into()),
       10878  +
                    /* ServerBuilderGenerator.kt:546 */
       10879  +
                    length_list_of_pattern_string: self
       10880  +
                        .length_list_of_pattern_string
       10881  +
                        /* ServerBuilderGenerator.kt:602 */
       10882  +
                        .map(|v| match v {
       10883  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10884  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10885  +
                        })
       10886  +
                        /* ServerBuilderGenerator.kt:614 */
       10887  +
                        .map(|res| res.map_err(ConstraintViolation::LengthListOfPatternString))
       10888  +
                        .transpose()?
       10889  +
                        /* ServerBuilderGenerator.kt:630 */
       10890  +
                        .map(|v: crate::model::LengthListOfPatternString| v.into()),
       10891  +
                    /* ServerBuilderGenerator.kt:546 */
       10892  +
                    length_set_of_pattern_string: self
       10893  +
                        .length_set_of_pattern_string
       10894  +
                        /* ServerBuilderGenerator.kt:602 */
       10895  +
                        .map(|v| match v {
       10896  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
       10897  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
       10898  +
                        })
       10899  +
                        /* ServerBuilderGenerator.kt:614 */
       10900  +
                        .map(|res| res.map_err(ConstraintViolation::LengthSetOfPatternString))
       10901  +
                        .transpose()?
       10902  +
                        /* ServerBuilderGenerator.kt:630 */
       10903  +
                        .map(|v: crate::model::LengthSetOfPatternString| v.into()),
       10904  +
                    /* ServerBuilderGenerator.kt:542 */
       10905  +
                }, /* ServerBuilderGenerator.kt:287 */
       10906  +
            )
       10907  +
            /* ServerBuilderGenerator.kt:283 */
       10908  +
        }
       10909  +
        /* ServerBuilderGenerator.kt:215 */
       10910  +
    }
       10911  +
       10912  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
       10913  +
}
       10914  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`ConA`](crate::model::ConA).
 8555  10915   
pub mod con_a {
 8556  10916   
       10917  +
    /* RustType.kt:516 */
 8557  10918   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 8558         -
    /// Holds one variant for each of the ways the builder can fail.
 8559         -
       10919  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
       10920  +
    /* ServerBuilderConstraintViolations.kt:75 */
 8560  10921   
    #[allow(clippy::enum_variant_names)]
 8561  10922   
    pub enum ConstraintViolation {
 8562         -
        /// `con_b` was not provided but it is required when building `ConA`.
       10923  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`con_b` was not provided but it is required when building `ConA`.
       10924  +
        /* ServerBuilderConstraintViolations.kt:143 */
 8563  10925   
        MissingConB,
       10926  +
        /* ServerBuilderConstraintViolations.kt:75 */
 8564  10927   
    }
       10928  +
    /* ServerBuilderConstraintViolations.kt:117 */
 8565  10929   
    impl ::std::fmt::Display for ConstraintViolation {
       10930  +
        /* ServerBuilderConstraintViolations.kt:118 */
 8566  10931   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       10932  +
            /* ServerBuilderConstraintViolations.kt:119 */
 8567  10933   
            match self {
       10934  +
                /* ServerBuilderConstraintViolations.kt:127 */
 8568  10935   
                ConstraintViolation::MissingConB => write!(
 8569  10936   
                    f,
 8570  10937   
                    "`con_b` was not provided but it is required when building `ConA`"
 8571  10938   
                ),
       10939  +
                /* ServerBuilderConstraintViolations.kt:119 */
 8572  10940   
            }
       10941  +
            /* ServerBuilderConstraintViolations.kt:118 */
 8573  10942   
        }
       10943  +
        /* ServerBuilderConstraintViolations.kt:117 */
 8574  10944   
    }
       10945  +
    /* ServerBuilderConstraintViolations.kt:84 */
 8575  10946   
    impl ::std::error::Error for ConstraintViolation {}
       10947  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:254 */
 8576  10948   
    impl ::std::convert::TryFrom<Builder> for crate::model::ConA {
 8577  10949   
        type Error = ConstraintViolation;
 8578  10950   
 8579  10951   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 8580  10952   
            builder.build()
 8581  10953   
        }
 8582  10954   
    }
 8583         -
    /// A builder for [`ConA`](crate::model::ConA).
       10955  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`ConA`](crate::model::ConA).
       10956  +
    /* RustType.kt:516 */
 8584  10957   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
       10958  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 8585  10959   
    pub struct Builder {
       10960  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8586  10961   
        pub(crate) con_b: ::std::option::Option<crate::model::ConB>,
       10962  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8587  10963   
        pub(crate) opt_con_b: ::std::option::Option<crate::model::ConB>,
       10964  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8588  10965   
        pub(crate) length_string: ::std::option::Option<::std::string::String>,
       10966  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8589  10967   
        pub(crate) min_length_string: ::std::option::Option<::std::string::String>,
       10968  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8590  10969   
        pub(crate) max_length_string: ::std::option::Option<::std::string::String>,
       10970  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8591  10971   
        pub(crate) fixed_length_string: ::std::option::Option<::std::string::String>,
       10972  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8592  10973   
        pub(crate) length_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
       10974  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8593  10975   
        pub(crate) min_length_blob:
 8594  10976   
            ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
       10977  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8595  10978   
        pub(crate) max_length_blob:
 8596  10979   
            ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
       10980  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8597  10981   
        pub(crate) fixed_length_blob:
 8598  10982   
            ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
       10983  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8599  10984   
        pub(crate) range_integer: ::std::option::Option<i32>,
       10985  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8600  10986   
        pub(crate) min_range_integer: ::std::option::Option<i32>,
       10987  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8601  10988   
        pub(crate) max_range_integer: ::std::option::Option<i32>,
       10989  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8602  10990   
        pub(crate) fixed_value_integer: ::std::option::Option<i32>,
       10991  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8603  10992   
        pub(crate) range_short: ::std::option::Option<i16>,
       10993  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8604  10994   
        pub(crate) min_range_short: ::std::option::Option<i16>,
       10995  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8605  10996   
        pub(crate) max_range_short: ::std::option::Option<i16>,
       10997  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8606  10998   
        pub(crate) fixed_value_short: ::std::option::Option<i16>,
       10999  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8607  11000   
        pub(crate) range_long: ::std::option::Option<i64>,
       11001  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8608  11002   
        pub(crate) min_range_long: ::std::option::Option<i64>,
       11003  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8609  11004   
        pub(crate) max_range_long: ::std::option::Option<i64>,
       11005  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8610  11006   
        pub(crate) fixed_value_long: ::std::option::Option<i64>,
       11007  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8611  11008   
        pub(crate) range_byte: ::std::option::Option<i8>,
       11009  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8612  11010   
        pub(crate) min_range_byte: ::std::option::Option<i8>,
       11011  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8613  11012   
        pub(crate) max_range_byte: ::std::option::Option<i8>,
       11013  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8614  11014   
        pub(crate) fixed_value_byte: ::std::option::Option<i8>,
       11015  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8615  11016   
        pub(crate) con_b_list:
 8616  11017   
            ::std::option::Option<::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>>,
       11018  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8617  11019   
        pub(crate) length_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
       11020  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8618  11021   
        pub(crate) sensitive_length_list:
 8619  11022   
            ::std::option::Option<::std::vec::Vec<crate::model::SensitiveStructure>>,
       11023  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8620  11024   
        pub(crate) con_b_set:
 8621  11025   
            ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
       11026  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8622  11027   
        pub(crate) con_b_map: ::std::option::Option<
 8623  11028   
            ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 8624  11029   
        >,
       11030  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8625  11031   
        pub(crate) length_map: ::std::option::Option<
 8626  11032   
            ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 8627  11033   
        >,
       11034  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8628  11035   
        pub(crate) map_of_map_of_list_of_list_of_con_b: ::std::option::Option<
 8629  11036   
            ::std::collections::HashMap<
 8630  11037   
                ::std::string::String,
 8631  11038   
                ::std::collections::HashMap<
 8632  11039   
                    ::std::string::String,
 8633  11040   
                    ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
 8634  11041   
                >,
 8635  11042   
            >,
 8636  11043   
        >,
       11044  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8637  11045   
        pub(crate) sparse_map: ::std::option::Option<
 8638  11046   
            ::std::collections::HashMap<
 8639  11047   
                ::std::string::String,
 8640  11048   
                ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 8641  11049   
            >,
 8642  11050   
        >,
       11051  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8643  11052   
        pub(crate) sparse_list:
 8644  11053   
            ::std::option::Option<::std::vec::Vec<::std::option::Option<::std::string::String>>>,
       11054  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8645  11055   
        pub(crate) sparse_length_map: ::std::option::Option<
 8646  11056   
            ::std::collections::HashMap<
 8647  11057   
                ::std::string::String,
 8648  11058   
                ::std::option::Option<::std::string::String>,
 8649  11059   
            >,
 8650  11060   
        >,
       11061  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8651  11062   
        pub(crate) sparse_length_list:
 8652  11063   
            ::std::option::Option<::std::vec::Vec<::std::option::Option<::std::string::String>>>,
       11064  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8653  11065   
        pub(crate) constrained_union: ::std::option::Option<crate::model::ConstrainedUnion>,
       11066  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8654  11067   
        pub(crate) enum_string: ::std::option::Option<crate::model::EnumString>,
       11068  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8655  11069   
        pub(crate) list_of_length_string:
 8656  11070   
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
       11071  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8657  11072   
        pub(crate) set_of_length_string:
 8658  11073   
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
       11074  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8659  11075   
        pub(crate) map_of_length_string: ::std::option::Option<
 8660  11076   
            ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 8661  11077   
        >,
       11078  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8662  11079   
        pub(crate) list_of_length_blob:
 8663  11080   
            ::std::option::Option<::std::vec::Vec<::aws_smithy_http_server_python::types::Blob>>,
       11081  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8664  11082   
        pub(crate) map_of_length_blob: ::std::option::Option<
 8665  11083   
            ::std::collections::HashMap<
 8666  11084   
                ::std::string::String,
 8667  11085   
                ::aws_smithy_http_server_python::types::Blob,
 8668  11086   
            >,
 8669  11087   
        >,
       11088  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8670  11089   
        pub(crate) list_of_range_integer: ::std::option::Option<::std::vec::Vec<i32>>,
       11090  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8671  11091   
        pub(crate) set_of_range_integer: ::std::option::Option<::std::vec::Vec<i32>>,
       11092  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8672  11093   
        pub(crate) map_of_range_integer:
 8673  11094   
            ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
       11095  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8674  11096   
        pub(crate) list_of_range_short: ::std::option::Option<::std::vec::Vec<i16>>,
       11097  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8675  11098   
        pub(crate) set_of_range_short: ::std::option::Option<::std::vec::Vec<i16>>,
       11099  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8676  11100   
        pub(crate) map_of_range_short:
 8677  11101   
            ::std::option::Option<::std::collections::HashMap<::std::string::String, i16>>,
       11102  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8678  11103   
        pub(crate) list_of_range_long: ::std::option::Option<::std::vec::Vec<i64>>,
       11104  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8679  11105   
        pub(crate) set_of_range_long: ::std::option::Option<::std::vec::Vec<i64>>,
       11106  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8680  11107   
        pub(crate) map_of_range_long:
 8681  11108   
            ::std::option::Option<::std::collections::HashMap<::std::string::String, i64>>,
       11109  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8682  11110   
        pub(crate) list_of_range_byte: ::std::option::Option<::std::vec::Vec<i8>>,
       11111  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8683  11112   
        pub(crate) set_of_range_byte: ::std::option::Option<::std::vec::Vec<i8>>,
       11113  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8684  11114   
        pub(crate) map_of_range_byte:
 8685  11115   
            ::std::option::Option<::std::collections::HashMap<::std::string::String, i8>>,
       11116  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8686  11117   
        pub(crate) non_streaming_blob:
 8687  11118   
            ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
       11119  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8688  11120   
        pub(crate) pattern_string: ::std::option::Option<::std::string::String>,
       11121  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8689  11122   
        pub(crate) map_of_pattern_string: ::std::option::Option<
 8690  11123   
            ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 8691  11124   
        >,
       11125  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8692  11126   
        pub(crate) list_of_pattern_string:
 8693  11127   
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
       11128  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8694  11129   
        pub(crate) set_of_pattern_string:
 8695  11130   
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
       11131  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8696  11132   
        pub(crate) length_length_pattern_string: ::std::option::Option<::std::string::String>,
       11133  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8697  11134   
        pub(crate) map_of_length_pattern_string: ::std::option::Option<
 8698  11135   
            ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 8699  11136   
        >,
       11137  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8700  11138   
        pub(crate) list_of_length_pattern_string:
 8701  11139   
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
       11140  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8702  11141   
        pub(crate) set_of_length_pattern_string:
 8703  11142   
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
       11143  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8704  11144   
        pub(crate) length_list_of_pattern_string:
 8705  11145   
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
       11146  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 8706  11147   
        pub(crate) length_set_of_pattern_string:
 8707  11148   
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
       11149  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 8708  11150   
    }
       11151  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 8709  11152   
    impl Builder {
       11153  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8710  11154   
        #[allow(missing_docs)] // documentation missing in model
       11155  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8711  11156   
        pub fn con_b(mut self, input: crate::model::ConB) -> Self {
 8712         -
            self.con_b = Some(input);
       11157  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11158  +
            self.con_b =
       11159  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11160  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11161  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11162  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8713  11163   
            self
       11164  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8714  11165   
        }
       11166  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8715  11167   
        #[allow(missing_docs)] // documentation missing in model
       11168  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8716  11169   
        pub fn opt_con_b(mut self, input: ::std::option::Option<crate::model::ConB>) -> Self {
 8717         -
            self.opt_con_b = input;
       11170  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11171  +
            self.opt_con_b =
       11172  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11173  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8718  11174   
            self
       11175  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8719  11176   
        }
       11177  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8720  11178   
        #[allow(missing_docs)] // documentation missing in model
       11179  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8721  11180   
        pub fn length_string(
 8722  11181   
            mut self,
 8723  11182   
            input: ::std::option::Option<::std::string::String>,
 8724  11183   
        ) -> Self {
 8725         -
            self.length_string = input;
       11184  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11185  +
            self.length_string =
       11186  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11187  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8726  11188   
            self
       11189  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8727  11190   
        }
       11191  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8728  11192   
        #[allow(missing_docs)] // documentation missing in model
       11193  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8729  11194   
        pub fn min_length_string(
 8730  11195   
            mut self,
 8731  11196   
            input: ::std::option::Option<::std::string::String>,
 8732  11197   
        ) -> Self {
 8733         -
            self.min_length_string = input;
       11198  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11199  +
            self.min_length_string =
       11200  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11201  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8734  11202   
            self
       11203  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8735  11204   
        }
       11205  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8736  11206   
        #[allow(missing_docs)] // documentation missing in model
       11207  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8737  11208   
        pub fn max_length_string(
 8738  11209   
            mut self,
 8739  11210   
            input: ::std::option::Option<::std::string::String>,
 8740  11211   
        ) -> Self {
 8741         -
            self.max_length_string = input;
       11212  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11213  +
            self.max_length_string =
       11214  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11215  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8742  11216   
            self
       11217  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8743  11218   
        }
       11219  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8744  11220   
        #[allow(missing_docs)] // documentation missing in model
       11221  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8745  11222   
        pub fn fixed_length_string(
 8746  11223   
            mut self,
 8747  11224   
            input: ::std::option::Option<::std::string::String>,
 8748  11225   
        ) -> Self {
 8749         -
            self.fixed_length_string = input;
       11226  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11227  +
            self.fixed_length_string =
       11228  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11229  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8750  11230   
            self
       11231  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8751  11232   
        }
       11233  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8752  11234   
        #[allow(missing_docs)] // documentation missing in model
       11235  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8753  11236   
        pub fn length_blob(
 8754  11237   
            mut self,
 8755  11238   
            input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
 8756  11239   
        ) -> Self {
 8757         -
            self.length_blob = input;
       11240  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11241  +
            self.length_blob =
       11242  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11243  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8758  11244   
            self
       11245  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8759  11246   
        }
       11247  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8760  11248   
        #[allow(missing_docs)] // documentation missing in model
       11249  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8761  11250   
        pub fn min_length_blob(
 8762  11251   
            mut self,
 8763  11252   
            input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
 8764  11253   
        ) -> Self {
 8765         -
            self.min_length_blob = input;
       11254  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11255  +
            self.min_length_blob =
       11256  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11257  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8766  11258   
            self
       11259  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8767  11260   
        }
       11261  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8768  11262   
        #[allow(missing_docs)] // documentation missing in model
       11263  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8769  11264   
        pub fn max_length_blob(
 8770  11265   
            mut self,
 8771  11266   
            input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
 8772  11267   
        ) -> Self {
 8773         -
            self.max_length_blob = input;
       11268  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11269  +
            self.max_length_blob =
       11270  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11271  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8774  11272   
            self
       11273  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8775  11274   
        }
       11275  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8776  11276   
        #[allow(missing_docs)] // documentation missing in model
       11277  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8777  11278   
        pub fn fixed_length_blob(
 8778  11279   
            mut self,
 8779  11280   
            input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
 8780  11281   
        ) -> Self {
 8781         -
            self.fixed_length_blob = input;
       11282  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11283  +
            self.fixed_length_blob =
       11284  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11285  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8782  11286   
            self
       11287  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8783  11288   
        }
       11289  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8784  11290   
        #[allow(missing_docs)] // documentation missing in model
       11291  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8785  11292   
        pub fn range_integer(mut self, input: i32) -> Self {
 8786         -
            self.range_integer = Some(input);
       11293  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11294  +
            self.range_integer =
       11295  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11296  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11297  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11298  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8787  11299   
            self
       11300  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8788  11301   
        }
       11302  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8789  11303   
        #[allow(missing_docs)] // documentation missing in model
       11304  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8790  11305   
        pub fn min_range_integer(mut self, input: i32) -> Self {
 8791         -
            self.min_range_integer = Some(input);
       11306  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11307  +
            self.min_range_integer =
       11308  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11309  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11310  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11311  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8792  11312   
            self
       11313  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8793  11314   
        }
       11315  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8794  11316   
        #[allow(missing_docs)] // documentation missing in model
       11317  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8795  11318   
        pub fn max_range_integer(mut self, input: i32) -> Self {
 8796         -
            self.max_range_integer = Some(input);
       11319  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11320  +
            self.max_range_integer =
       11321  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11322  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11323  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11324  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8797  11325   
            self
       11326  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8798  11327   
        }
       11328  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8799  11329   
        #[allow(missing_docs)] // documentation missing in model
       11330  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8800  11331   
        pub fn fixed_value_integer(mut self, input: i32) -> Self {
 8801         -
            self.fixed_value_integer = Some(input);
       11332  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11333  +
            self.fixed_value_integer =
       11334  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11335  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11336  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11337  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8802  11338   
            self
       11339  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8803  11340   
        }
       11341  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8804  11342   
        #[allow(missing_docs)] // documentation missing in model
       11343  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8805  11344   
        pub fn range_short(mut self, input: i16) -> Self {
 8806         -
            self.range_short = Some(input);
       11345  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11346  +
            self.range_short =
       11347  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11348  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11349  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11350  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8807  11351   
            self
       11352  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8808  11353   
        }
       11354  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8809  11355   
        #[allow(missing_docs)] // documentation missing in model
       11356  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8810  11357   
        pub fn min_range_short(mut self, input: i16) -> Self {
 8811         -
            self.min_range_short = Some(input);
       11358  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11359  +
            self.min_range_short =
       11360  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11361  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11362  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11363  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8812  11364   
            self
       11365  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8813  11366   
        }
       11367  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8814  11368   
        #[allow(missing_docs)] // documentation missing in model
       11369  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8815  11370   
        pub fn max_range_short(mut self, input: i16) -> Self {
 8816         -
            self.max_range_short = Some(input);
       11371  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11372  +
            self.max_range_short =
       11373  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11374  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11375  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11376  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8817  11377   
            self
       11378  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8818  11379   
        }
       11380  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8819  11381   
        #[allow(missing_docs)] // documentation missing in model
       11382  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8820  11383   
        pub fn fixed_value_short(mut self, input: i16) -> Self {
 8821         -
            self.fixed_value_short = Some(input);
       11384  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11385  +
            self.fixed_value_short =
       11386  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11387  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11388  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11389  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8822  11390   
            self
       11391  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8823  11392   
        }
       11393  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8824  11394   
        #[allow(missing_docs)] // documentation missing in model
       11395  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8825  11396   
        pub fn range_long(mut self, input: i64) -> Self {
 8826         -
            self.range_long = Some(input);
       11397  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11398  +
            self.range_long =
       11399  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11400  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11401  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11402  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8827  11403   
            self
       11404  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8828  11405   
        }
       11406  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8829  11407   
        #[allow(missing_docs)] // documentation missing in model
       11408  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8830  11409   
        pub fn min_range_long(mut self, input: i64) -> Self {
 8831         -
            self.min_range_long = Some(input);
       11410  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11411  +
            self.min_range_long =
       11412  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11413  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11414  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11415  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8832  11416   
            self
       11417  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8833  11418   
        }
       11419  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8834  11420   
        #[allow(missing_docs)] // documentation missing in model
       11421  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8835  11422   
        pub fn max_range_long(mut self, input: i64) -> Self {
 8836         -
            self.max_range_long = Some(input);
       11423  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11424  +
            self.max_range_long =
       11425  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11426  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11427  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11428  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8837  11429   
            self
       11430  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8838  11431   
        }
       11432  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8839  11433   
        #[allow(missing_docs)] // documentation missing in model
       11434  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8840  11435   
        pub fn fixed_value_long(mut self, input: i64) -> Self {
 8841         -
            self.fixed_value_long = Some(input);
       11436  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11437  +
            self.fixed_value_long =
       11438  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11439  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11440  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11441  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8842  11442   
            self
       11443  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8843  11444   
        }
       11445  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8844  11446   
        #[allow(missing_docs)] // documentation missing in model
       11447  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8845  11448   
        pub fn range_byte(mut self, input: i8) -> Self {
 8846         -
            self.range_byte = Some(input);
       11449  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11450  +
            self.range_byte =
       11451  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11452  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11453  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11454  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8847  11455   
            self
       11456  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8848  11457   
        }
       11458  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8849  11459   
        #[allow(missing_docs)] // documentation missing in model
       11460  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8850  11461   
        pub fn min_range_byte(mut self, input: i8) -> Self {
 8851         -
            self.min_range_byte = Some(input);
       11462  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11463  +
            self.min_range_byte =
       11464  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11465  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11466  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11467  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8852  11468   
            self
       11469  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8853  11470   
        }
       11471  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8854  11472   
        #[allow(missing_docs)] // documentation missing in model
       11473  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8855  11474   
        pub fn max_range_byte(mut self, input: i8) -> Self {
 8856         -
            self.max_range_byte = Some(input);
       11475  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11476  +
            self.max_range_byte =
       11477  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11478  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11479  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11480  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8857  11481   
            self
       11482  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8858  11483   
        }
       11484  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8859  11485   
        #[allow(missing_docs)] // documentation missing in model
       11486  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8860  11487   
        pub fn fixed_value_byte(mut self, input: i8) -> Self {
 8861         -
            self.fixed_value_byte = Some(input);
       11488  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11489  +
            self.fixed_value_byte =
       11490  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       11491  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11492  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       11493  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8862  11494   
            self
       11495  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8863  11496   
        }
       11497  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8864  11498   
        #[allow(missing_docs)] // documentation missing in model
       11499  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8865  11500   
        pub fn con_b_list(
 8866  11501   
            mut self,
 8867  11502   
            input: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>>,
 8868  11503   
        ) -> Self {
 8869         -
            self.con_b_list = input;
       11504  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11505  +
            self.con_b_list =
       11506  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11507  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8870  11508   
            self
       11509  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8871  11510   
        }
       11511  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8872  11512   
        #[allow(missing_docs)] // documentation missing in model
       11513  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8873  11514   
        pub fn length_list(
 8874  11515   
            mut self,
 8875  11516   
            input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 8876  11517   
        ) -> Self {
 8877         -
            self.length_list = input;
       11518  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11519  +
            self.length_list =
       11520  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11521  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8878  11522   
            self
       11523  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8879  11524   
        }
       11525  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8880  11526   
        #[allow(missing_docs)] // documentation missing in model
       11527  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8881  11528   
        pub fn sensitive_length_list(
 8882  11529   
            mut self,
 8883  11530   
            input: ::std::option::Option<::std::vec::Vec<crate::model::SensitiveStructure>>,
 8884  11531   
        ) -> Self {
 8885         -
            self.sensitive_length_list = input;
       11532  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11533  +
            self.sensitive_length_list =
       11534  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11535  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8886  11536   
            self
       11537  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8887  11538   
        }
       11539  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8888  11540   
        #[allow(missing_docs)] // documentation missing in model
       11541  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8889  11542   
        pub fn con_b_set(
 8890  11543   
            mut self,
 8891  11544   
            input: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
 8892  11545   
        ) -> Self {
 8893         -
            self.con_b_set = input;
       11546  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11547  +
            self.con_b_set =
       11548  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11549  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8894  11550   
            self
       11551  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8895  11552   
        }
       11553  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8896  11554   
        #[allow(missing_docs)] // documentation missing in model
       11555  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8897  11556   
        pub fn con_b_map(
 8898  11557   
            mut self,
 8899  11558   
            input: ::std::option::Option<
 8900  11559   
                ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 8901  11560   
            >,
 8902  11561   
        ) -> Self {
 8903         -
            self.con_b_map = input;
       11562  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11563  +
            self.con_b_map =
       11564  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11565  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8904  11566   
            self
       11567  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8905  11568   
        }
       11569  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8906  11570   
        #[allow(missing_docs)] // documentation missing in model
       11571  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8907  11572   
        pub fn length_map(
 8908  11573   
            mut self,
 8909  11574   
            input: ::std::option::Option<
 8910  11575   
                ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 8911  11576   
            >,
 8912  11577   
        ) -> Self {
 8913         -
            self.length_map = input;
       11578  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11579  +
            self.length_map =
       11580  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11581  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8914  11582   
            self
       11583  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8915  11584   
        }
       11585  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8916  11586   
        #[allow(missing_docs)] // documentation missing in model
       11587  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8917  11588   
        pub fn map_of_map_of_list_of_list_of_con_b(
 8918  11589   
            mut self,
 8919  11590   
            input: ::std::option::Option<
 8920  11591   
                ::std::collections::HashMap<
 8921  11592   
                    ::std::string::String,
 8922  11593   
                    ::std::collections::HashMap<
 8923  11594   
                        ::std::string::String,
 8924  11595   
                        ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
 8925  11596   
                    >,
 8926  11597   
                >,
 8927  11598   
            >,
 8928  11599   
        ) -> Self {
 8929         -
            self.map_of_map_of_list_of_list_of_con_b = input;
       11600  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11601  +
            self.map_of_map_of_list_of_list_of_con_b =
       11602  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11603  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8930  11604   
            self
       11605  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8931  11606   
        }
       11607  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8932  11608   
        #[allow(missing_docs)] // documentation missing in model
       11609  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8933  11610   
        pub fn sparse_map(
 8934  11611   
            mut self,
 8935  11612   
            input: ::std::option::Option<
 8936  11613   
                ::std::collections::HashMap<
 8937  11614   
                    ::std::string::String,
 8938  11615   
                    ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 8939  11616   
                >,
 8940  11617   
            >,
 8941  11618   
        ) -> Self {
 8942         -
            self.sparse_map = input;
       11619  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11620  +
            self.sparse_map =
       11621  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11622  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8943  11623   
            self
       11624  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8944  11625   
        }
       11626  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8945  11627   
        #[allow(missing_docs)] // documentation missing in model
       11628  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8946  11629   
        pub fn sparse_list(
 8947  11630   
            mut self,
 8948  11631   
            input: ::std::option::Option<
 8949  11632   
                ::std::vec::Vec<::std::option::Option<::std::string::String>>,
 8950  11633   
            >,
 8951  11634   
        ) -> Self {
 8952         -
            self.sparse_list = input;
       11635  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11636  +
            self.sparse_list =
       11637  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11638  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8953  11639   
            self
       11640  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8954  11641   
        }
       11642  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8955  11643   
        #[allow(missing_docs)] // documentation missing in model
       11644  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8956  11645   
        pub fn sparse_length_map(
 8957  11646   
            mut self,
 8958  11647   
            input: ::std::option::Option<
 8959  11648   
                ::std::collections::HashMap<
 8960  11649   
                    ::std::string::String,
 8961  11650   
                    ::std::option::Option<::std::string::String>,
 8962  11651   
                >,
 8963  11652   
            >,
 8964  11653   
        ) -> Self {
 8965         -
            self.sparse_length_map = input;
       11654  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11655  +
            self.sparse_length_map =
       11656  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11657  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8966  11658   
            self
       11659  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8967  11660   
        }
       11661  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8968  11662   
        #[allow(missing_docs)] // documentation missing in model
       11663  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8969  11664   
        pub fn sparse_length_list(
 8970  11665   
            mut self,
 8971  11666   
            input: ::std::option::Option<
 8972  11667   
                ::std::vec::Vec<::std::option::Option<::std::string::String>>,
 8973  11668   
            >,
 8974  11669   
        ) -> Self {
 8975         -
            self.sparse_length_list = input;
       11670  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11671  +
            self.sparse_length_list =
       11672  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11673  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8976  11674   
            self
       11675  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8977  11676   
        }
 8978         -
        /// A union with constrained members.
       11677  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */A union with constrained members.
       11678  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8979  11679   
        pub fn constrained_union(
 8980  11680   
            mut self,
 8981  11681   
            input: ::std::option::Option<crate::model::ConstrainedUnion>,
 8982  11682   
        ) -> Self {
 8983         -
            self.constrained_union = input;
       11683  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11684  +
            self.constrained_union =
       11685  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11686  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8984  11687   
            self
       11688  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8985  11689   
        }
       11690  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8986  11691   
        #[allow(missing_docs)] // documentation missing in model
       11692  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8987  11693   
        pub fn enum_string(
 8988  11694   
            mut self,
 8989  11695   
            input: ::std::option::Option<crate::model::EnumString>,
 8990  11696   
        ) -> Self {
 8991         -
            self.enum_string = input;
       11697  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11698  +
            self.enum_string =
       11699  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11700  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 8992  11701   
            self
       11702  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8993  11703   
        }
       11704  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 8994  11705   
        #[allow(missing_docs)] // documentation missing in model
       11706  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 8995  11707   
        pub fn list_of_length_string(
 8996  11708   
            mut self,
 8997  11709   
            input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 8998  11710   
        ) -> Self {
 8999         -
            self.list_of_length_string = input;
       11711  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11712  +
            self.list_of_length_string =
       11713  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11714  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9000  11715   
            self
       11716  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9001  11717   
        }
       11718  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9002  11719   
        #[allow(missing_docs)] // documentation missing in model
       11720  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9003  11721   
        pub fn set_of_length_string(
 9004  11722   
            mut self,
 9005  11723   
            input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 9006  11724   
        ) -> Self {
 9007         -
            self.set_of_length_string = input;
       11725  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11726  +
            self.set_of_length_string =
       11727  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11728  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9008  11729   
            self
       11730  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9009  11731   
        }
       11732  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9010  11733   
        #[allow(missing_docs)] // documentation missing in model
       11734  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9011  11735   
        pub fn map_of_length_string(
 9012  11736   
            mut self,
 9013  11737   
            input: ::std::option::Option<
 9014  11738   
                ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 9015  11739   
            >,
 9016  11740   
        ) -> Self {
 9017         -
            self.map_of_length_string = input;
       11741  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11742  +
            self.map_of_length_string =
       11743  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11744  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9018  11745   
            self
       11746  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9019  11747   
        }
       11748  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9020  11749   
        #[allow(missing_docs)] // documentation missing in model
       11750  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9021  11751   
        pub fn list_of_length_blob(
 9022  11752   
            mut self,
 9023  11753   
            input: ::std::option::Option<
 9024  11754   
                ::std::vec::Vec<::aws_smithy_http_server_python::types::Blob>,
 9025  11755   
            >,
 9026  11756   
        ) -> Self {
 9027         -
            self.list_of_length_blob = input;
       11757  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11758  +
            self.list_of_length_blob =
       11759  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11760  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9028  11761   
            self
       11762  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9029  11763   
        }
       11764  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9030  11765   
        #[allow(missing_docs)] // documentation missing in model
       11766  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9031  11767   
        pub fn map_of_length_blob(
 9032  11768   
            mut self,
 9033  11769   
            input: ::std::option::Option<
 9034  11770   
                ::std::collections::HashMap<
 9035  11771   
                    ::std::string::String,
 9036  11772   
                    ::aws_smithy_http_server_python::types::Blob,
 9037  11773   
                >,
 9038  11774   
            >,
 9039  11775   
        ) -> Self {
 9040         -
            self.map_of_length_blob = input;
       11776  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11777  +
            self.map_of_length_blob =
       11778  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11779  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9041  11780   
            self
       11781  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9042  11782   
        }
       11783  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9043  11784   
        #[allow(missing_docs)] // documentation missing in model
       11785  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9044  11786   
        pub fn list_of_range_integer(
 9045  11787   
            mut self,
 9046  11788   
            input: ::std::option::Option<::std::vec::Vec<i32>>,
 9047  11789   
        ) -> Self {
 9048         -
            self.list_of_range_integer = input;
       11790  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11791  +
            self.list_of_range_integer =
       11792  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11793  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9049  11794   
            self
       11795  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9050  11796   
        }
       11797  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9051  11798   
        #[allow(missing_docs)] // documentation missing in model
       11799  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9052  11800   
        pub fn set_of_range_integer(
 9053  11801   
            mut self,
 9054  11802   
            input: ::std::option::Option<::std::vec::Vec<i32>>,
 9055  11803   
        ) -> Self {
 9056         -
            self.set_of_range_integer = input;
       11804  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11805  +
            self.set_of_range_integer =
       11806  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11807  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9057  11808   
            self
       11809  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9058  11810   
        }
       11811  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9059  11812   
        #[allow(missing_docs)] // documentation missing in model
       11813  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9060  11814   
        pub fn map_of_range_integer(
 9061  11815   
            mut self,
 9062  11816   
            input: ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
 9063  11817   
        ) -> Self {
 9064         -
            self.map_of_range_integer = input;
       11818  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11819  +
            self.map_of_range_integer =
       11820  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11821  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9065  11822   
            self
       11823  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9066  11824   
        }
       11825  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9067  11826   
        #[allow(missing_docs)] // documentation missing in model
       11827  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9068  11828   
        pub fn list_of_range_short(
 9069  11829   
            mut self,
 9070  11830   
            input: ::std::option::Option<::std::vec::Vec<i16>>,
 9071  11831   
        ) -> Self {
 9072         -
            self.list_of_range_short = input;
       11832  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11833  +
            self.list_of_range_short =
       11834  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11835  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9073  11836   
            self
       11837  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9074  11838   
        }
       11839  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9075  11840   
        #[allow(missing_docs)] // documentation missing in model
       11841  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9076  11842   
        pub fn set_of_range_short(
 9077  11843   
            mut self,
 9078  11844   
            input: ::std::option::Option<::std::vec::Vec<i16>>,
 9079  11845   
        ) -> Self {
 9080         -
            self.set_of_range_short = input;
       11846  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11847  +
            self.set_of_range_short =
       11848  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11849  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9081  11850   
            self
       11851  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9082  11852   
        }
       11853  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9083  11854   
        #[allow(missing_docs)] // documentation missing in model
       11855  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9084  11856   
        pub fn map_of_range_short(
 9085  11857   
            mut self,
 9086  11858   
            input: ::std::option::Option<::std::collections::HashMap<::std::string::String, i16>>,
 9087  11859   
        ) -> Self {
 9088         -
            self.map_of_range_short = input;
       11860  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11861  +
            self.map_of_range_short =
       11862  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11863  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9089  11864   
            self
       11865  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9090  11866   
        }
       11867  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9091  11868   
        #[allow(missing_docs)] // documentation missing in model
       11869  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9092  11870   
        pub fn list_of_range_long(
 9093  11871   
            mut self,
 9094  11872   
            input: ::std::option::Option<::std::vec::Vec<i64>>,
 9095  11873   
        ) -> Self {
 9096         -
            self.list_of_range_long = input;
       11874  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11875  +
            self.list_of_range_long =
       11876  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11877  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9097  11878   
            self
       11879  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9098  11880   
        }
       11881  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9099  11882   
        #[allow(missing_docs)] // documentation missing in model
       11883  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9100  11884   
        pub fn set_of_range_long(
 9101  11885   
            mut self,
 9102  11886   
            input: ::std::option::Option<::std::vec::Vec<i64>>,
 9103  11887   
        ) -> Self {
 9104         -
            self.set_of_range_long = input;
       11888  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11889  +
            self.set_of_range_long =
       11890  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11891  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9105  11892   
            self
       11893  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9106  11894   
        }
       11895  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9107  11896   
        #[allow(missing_docs)] // documentation missing in model
       11897  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9108  11898   
        pub fn map_of_range_long(
 9109  11899   
            mut self,
 9110  11900   
            input: ::std::option::Option<::std::collections::HashMap<::std::string::String, i64>>,
 9111  11901   
        ) -> Self {
 9112         -
            self.map_of_range_long = input;
       11902  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11903  +
            self.map_of_range_long =
       11904  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11905  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9113  11906   
            self
       11907  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9114  11908   
        }
       11909  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9115  11910   
        #[allow(missing_docs)] // documentation missing in model
       11911  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9116  11912   
        pub fn list_of_range_byte(
 9117  11913   
            mut self,
 9118  11914   
            input: ::std::option::Option<::std::vec::Vec<i8>>,
 9119  11915   
        ) -> Self {
 9120         -
            self.list_of_range_byte = input;
       11916  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11917  +
            self.list_of_range_byte =
       11918  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11919  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9121  11920   
            self
       11921  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9122  11922   
        }
       11923  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9123  11924   
        #[allow(missing_docs)] // documentation missing in model
       11925  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9124  11926   
        pub fn set_of_range_byte(
 9125  11927   
            mut self,
 9126  11928   
            input: ::std::option::Option<::std::vec::Vec<i8>>,
 9127  11929   
        ) -> Self {
 9128         -
            self.set_of_range_byte = input;
       11930  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11931  +
            self.set_of_range_byte =
       11932  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11933  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9129  11934   
            self
       11935  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9130  11936   
        }
       11937  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9131  11938   
        #[allow(missing_docs)] // documentation missing in model
       11939  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9132  11940   
        pub fn map_of_range_byte(
 9133  11941   
            mut self,
 9134  11942   
            input: ::std::option::Option<::std::collections::HashMap<::std::string::String, i8>>,
 9135  11943   
        ) -> Self {
 9136         -
            self.map_of_range_byte = input;
       11944  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11945  +
            self.map_of_range_byte =
       11946  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11947  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9137  11948   
            self
       11949  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9138  11950   
        }
       11951  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9139  11952   
        #[allow(missing_docs)] // documentation missing in model
       11953  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9140  11954   
        pub fn non_streaming_blob(
 9141  11955   
            mut self,
 9142  11956   
            input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
 9143  11957   
        ) -> Self {
 9144         -
            self.non_streaming_blob = input;
       11958  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11959  +
            self.non_streaming_blob =
       11960  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11961  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9145  11962   
            self
       11963  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9146  11964   
        }
       11965  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9147  11966   
        #[allow(missing_docs)] // documentation missing in model
       11967  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9148  11968   
        pub fn pattern_string(
 9149  11969   
            mut self,
 9150  11970   
            input: ::std::option::Option<::std::string::String>,
 9151  11971   
        ) -> Self {
 9152         -
            self.pattern_string = input;
       11972  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11973  +
            self.pattern_string =
       11974  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11975  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9153  11976   
            self
       11977  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9154  11978   
        }
       11979  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9155  11980   
        #[allow(missing_docs)] // documentation missing in model
       11981  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9156  11982   
        pub fn map_of_pattern_string(
 9157  11983   
            mut self,
 9158  11984   
            input: ::std::option::Option<
 9159  11985   
                ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 9160  11986   
            >,
 9161  11987   
        ) -> Self {
 9162         -
            self.map_of_pattern_string = input;
       11988  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       11989  +
            self.map_of_pattern_string =
       11990  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       11991  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9163  11992   
            self
       11993  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9164  11994   
        }
       11995  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9165  11996   
        #[allow(missing_docs)] // documentation missing in model
       11997  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9166  11998   
        pub fn list_of_pattern_string(
 9167  11999   
            mut self,
 9168  12000   
            input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 9169  12001   
        ) -> Self {
 9170         -
            self.list_of_pattern_string = input;
       12002  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       12003  +
            self.list_of_pattern_string =
       12004  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       12005  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9171  12006   
            self
       12007  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9172  12008   
        }
       12009  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9173  12010   
        #[allow(missing_docs)] // documentation missing in model
       12011  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9174  12012   
        pub fn set_of_pattern_string(
 9175  12013   
            mut self,
 9176  12014   
            input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 9177  12015   
        ) -> Self {
 9178         -
            self.set_of_pattern_string = input;
       12016  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       12017  +
            self.set_of_pattern_string =
       12018  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       12019  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9179  12020   
            self
       12021  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9180  12022   
        }
       12023  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9181  12024   
        #[allow(missing_docs)] // documentation missing in model
       12025  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9182  12026   
        pub fn length_length_pattern_string(
 9183  12027   
            mut self,
 9184  12028   
            input: ::std::option::Option<::std::string::String>,
 9185  12029   
        ) -> Self {
 9186         -
            self.length_length_pattern_string = input;
       12030  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       12031  +
            self.length_length_pattern_string =
       12032  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       12033  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9187  12034   
            self
       12035  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9188  12036   
        }
       12037  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9189  12038   
        #[allow(missing_docs)] // documentation missing in model
       12039  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9190  12040   
        pub fn map_of_length_pattern_string(
 9191  12041   
            mut self,
 9192  12042   
            input: ::std::option::Option<
 9193  12043   
                ::std::collections::HashMap<::std::string::String, ::std::string::String>,
 9194  12044   
            >,
 9195  12045   
        ) -> Self {
 9196         -
            self.map_of_length_pattern_string = input;
       12046  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       12047  +
            self.map_of_length_pattern_string =
       12048  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       12049  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9197  12050   
            self
       12051  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9198  12052   
        }
       12053  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9199  12054   
        #[allow(missing_docs)] // documentation missing in model
       12055  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9200  12056   
        pub fn list_of_length_pattern_string(
 9201  12057   
            mut self,
 9202  12058   
            input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 9203  12059   
        ) -> Self {
 9204         -
            self.list_of_length_pattern_string = input;
       12060  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       12061  +
            self.list_of_length_pattern_string =
       12062  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       12063  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9205  12064   
            self
       12065  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9206  12066   
        }
       12067  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9207  12068   
        #[allow(missing_docs)] // documentation missing in model
       12069  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9208  12070   
        pub fn set_of_length_pattern_string(
 9209  12071   
            mut self,
 9210  12072   
            input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 9211  12073   
        ) -> Self {
 9212         -
            self.set_of_length_pattern_string = input;
       12074  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       12075  +
            self.set_of_length_pattern_string =
       12076  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       12077  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9213  12078   
            self
       12079  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9214  12080   
        }
       12081  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9215  12082   
        #[allow(missing_docs)] // documentation missing in model
       12083  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9216  12084   
        pub fn length_list_of_pattern_string(
 9217  12085   
            mut self,
 9218  12086   
            input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 9219  12087   
        ) -> Self {
 9220         -
            self.length_list_of_pattern_string = input;
       12088  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       12089  +
            self.length_list_of_pattern_string =
       12090  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       12091  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9221  12092   
            self
       12093  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9222  12094   
        }
       12095  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 9223  12096   
        #[allow(missing_docs)] // documentation missing in model
       12097  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9224  12098   
        pub fn length_set_of_pattern_string(
 9225  12099   
            mut self,
 9226  12100   
            input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
 9227  12101   
        ) -> Self {
 9228         -
            self.length_set_of_pattern_string = input;
       12102  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       12103  +
            self.length_set_of_pattern_string =
       12104  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       12105  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 9229  12106   
            self
       12107  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 9230  12108   
        }
 9231         -
        /// Consumes the builder and constructs a [`ConA`](crate::model::ConA).
 9232         -
        ///
       12109  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`ConA`](crate::model::ConA).
       12110  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:152 */
 9233  12111   
        /// The builder fails to construct a [`ConA`](crate::model::ConA) if you do not provide a value for all non-`Option`al members.
 9234  12112   
        ///
       12113  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 9235  12114   
        pub fn build(self) -> Result<crate::model::ConA, ConstraintViolation> {
 9236  12115   
            self.build_enforcing_required_and_enum_traits()
 9237  12116   
        }
       12117  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 9238  12118   
        fn build_enforcing_required_and_enum_traits(
 9239  12119   
            self,
 9240  12120   
        ) -> Result<crate::model::ConA, ConstraintViolation> {
 9241         -
            Ok(crate::model::ConA {
 9242         -
                con_b: self.con_b.ok_or(ConstraintViolation::MissingConB)?,
 9243         -
                opt_con_b: self.opt_con_b,
 9244         -
                length_string: self.length_string,
 9245         -
                min_length_string: self.min_length_string,
 9246         -
                max_length_string: self.max_length_string,
 9247         -
                fixed_length_string: self.fixed_length_string,
 9248         -
                length_blob: self.length_blob,
 9249         -
                min_length_blob: self.min_length_blob,
 9250         -
                max_length_blob: self.max_length_blob,
 9251         -
                fixed_length_blob: self.fixed_length_blob,
 9252         -
                range_integer: self.range_integer.unwrap_or(0i32),
 9253         -
                min_range_integer: self.min_range_integer.unwrap_or(0i32),
 9254         -
                max_range_integer: self.max_range_integer.unwrap_or(0i32),
 9255         -
                fixed_value_integer: self.fixed_value_integer.unwrap_or(0i32),
 9256         -
                range_short: self.range_short.unwrap_or(0i16),
 9257         -
                min_range_short: self.min_range_short.unwrap_or(0i16),
 9258         -
                max_range_short: self.max_range_short.unwrap_or(0i16),
 9259         -
                fixed_value_short: self.fixed_value_short.unwrap_or(0i16),
 9260         -
                range_long: self.range_long.unwrap_or(0i64),
 9261         -
                min_range_long: self.min_range_long.unwrap_or(0i64),
 9262         -
                max_range_long: self.max_range_long.unwrap_or(0i64),
 9263         -
                fixed_value_long: self.fixed_value_long.unwrap_or(0i64),
 9264         -
                range_byte: self.range_byte.unwrap_or(0i8),
 9265         -
                min_range_byte: self.min_range_byte.unwrap_or(0i8),
 9266         -
                max_range_byte: self.max_range_byte.unwrap_or(0i8),
 9267         -
                fixed_value_byte: self.fixed_value_byte.unwrap_or(0i8),
 9268         -
                con_b_list: self.con_b_list,
 9269         -
                length_list: self.length_list,
 9270         -
                sensitive_length_list: self.sensitive_length_list,
 9271         -
                con_b_set: self.con_b_set,
 9272         -
                con_b_map: self.con_b_map,
 9273         -
                length_map: self.length_map,
 9274         -
                map_of_map_of_list_of_list_of_con_b: self.map_of_map_of_list_of_list_of_con_b,
 9275         -
                sparse_map: self.sparse_map,
 9276         -
                sparse_list: self.sparse_list,
 9277         -
                sparse_length_map: self.sparse_length_map,
 9278         -
                sparse_length_list: self.sparse_length_list,
 9279         -
                constrained_union: self.constrained_union,
 9280         -
                enum_string: self.enum_string,
 9281         -
                list_of_length_string: self.list_of_length_string,
 9282         -
                set_of_length_string: self.set_of_length_string,
 9283         -
                map_of_length_string: self.map_of_length_string,
 9284         -
                list_of_length_blob: self.list_of_length_blob,
 9285         -
                map_of_length_blob: self.map_of_length_blob,
 9286         -
                list_of_range_integer: self.list_of_range_integer,
 9287         -
                set_of_range_integer: self.set_of_range_integer,
 9288         -
                map_of_range_integer: self.map_of_range_integer,
 9289         -
                list_of_range_short: self.list_of_range_short,
 9290         -
                set_of_range_short: self.set_of_range_short,
 9291         -
                map_of_range_short: self.map_of_range_short,
 9292         -
                list_of_range_long: self.list_of_range_long,
 9293         -
                set_of_range_long: self.set_of_range_long,
 9294         -
                map_of_range_long: self.map_of_range_long,
 9295         -
                list_of_range_byte: self.list_of_range_byte,
 9296         -
                set_of_range_byte: self.set_of_range_byte,
 9297         -
                map_of_range_byte: self.map_of_range_byte,
 9298         -
                non_streaming_blob: self.non_streaming_blob,
 9299         -
                pattern_string: self.pattern_string,
 9300         -
                map_of_pattern_string: self.map_of_pattern_string,
 9301         -
                list_of_pattern_string: self.list_of_pattern_string,
 9302         -
                set_of_pattern_string: self.set_of_pattern_string,
 9303         -
                length_length_pattern_string: self.length_length_pattern_string,
 9304         -
                map_of_length_pattern_string: self.map_of_length_pattern_string,
 9305         -
                list_of_length_pattern_string: self.list_of_length_pattern_string,
 9306         -
                set_of_length_pattern_string: self.set_of_length_pattern_string,
 9307         -
                length_list_of_pattern_string: self.length_list_of_pattern_string,
 9308         -
                length_set_of_pattern_string: self.length_set_of_pattern_string,
 9309         -
            })
       12121  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
       12122  +
            Ok(
       12123  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
       12124  +
                crate::model::ConA {
       12125  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12126  +
                    con_b: self
       12127  +
                        .con_b
       12128  +
                        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:202 */
       12129  +
                        .ok_or(ConstraintViolation::MissingConB)?,
       12130  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12131  +
                    opt_con_b: self.opt_con_b,
       12132  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12133  +
                    length_string: self.length_string,
       12134  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12135  +
                    min_length_string: self.min_length_string,
       12136  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12137  +
                    max_length_string: self.max_length_string,
       12138  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12139  +
                    fixed_length_string: self.fixed_length_string,
       12140  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12141  +
                    length_blob: self.length_blob,
       12142  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12143  +
                    min_length_blob: self.min_length_blob,
       12144  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12145  +
                    max_length_blob: self.max_length_blob,
       12146  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12147  +
                    fixed_length_blob: self.fixed_length_blob,
       12148  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12149  +
                    range_integer: self
       12150  +
                        .range_integer
       12151  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12152  +
                        .unwrap_or(0i32),
       12153  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12154  +
                    min_range_integer: self
       12155  +
                        .min_range_integer
       12156  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12157  +
                        .unwrap_or(0i32),
       12158  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12159  +
                    max_range_integer: self
       12160  +
                        .max_range_integer
       12161  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12162  +
                        .unwrap_or(0i32),
       12163  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12164  +
                    fixed_value_integer: self
       12165  +
                        .fixed_value_integer
       12166  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12167  +
                        .unwrap_or(0i32),
       12168  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12169  +
                    range_short: self
       12170  +
                        .range_short
       12171  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12172  +
                        .unwrap_or(0i16),
       12173  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12174  +
                    min_range_short: self
       12175  +
                        .min_range_short
       12176  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12177  +
                        .unwrap_or(0i16),
       12178  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12179  +
                    max_range_short: self
       12180  +
                        .max_range_short
       12181  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12182  +
                        .unwrap_or(0i16),
       12183  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12184  +
                    fixed_value_short: self
       12185  +
                        .fixed_value_short
       12186  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12187  +
                        .unwrap_or(0i16),
       12188  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12189  +
                    range_long: self
       12190  +
                        .range_long
       12191  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12192  +
                        .unwrap_or(0i64),
       12193  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12194  +
                    min_range_long: self
       12195  +
                        .min_range_long
       12196  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12197  +
                        .unwrap_or(0i64),
       12198  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12199  +
                    max_range_long: self
       12200  +
                        .max_range_long
       12201  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12202  +
                        .unwrap_or(0i64),
       12203  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12204  +
                    fixed_value_long: self
       12205  +
                        .fixed_value_long
       12206  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12207  +
                        .unwrap_or(0i64),
       12208  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12209  +
                    range_byte: self
       12210  +
                        .range_byte
       12211  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12212  +
                        .unwrap_or(0i8),
       12213  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12214  +
                    min_range_byte: self
       12215  +
                        .min_range_byte
       12216  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12217  +
                        .unwrap_or(0i8),
       12218  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12219  +
                    max_range_byte: self
       12220  +
                        .max_range_byte
       12221  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12222  +
                        .unwrap_or(0i8),
       12223  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12224  +
                    fixed_value_byte: self
       12225  +
                        .fixed_value_byte
       12226  +
                        /* ServerBuilderGeneratorCommon.kt:135 */
       12227  +
                        .unwrap_or(0i8),
       12228  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12229  +
                    con_b_list: self.con_b_list,
       12230  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12231  +
                    length_list: self.length_list,
       12232  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12233  +
                    sensitive_length_list: self.sensitive_length_list,
       12234  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12235  +
                    con_b_set: self.con_b_set,
       12236  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12237  +
                    con_b_map: self.con_b_map,
       12238  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12239  +
                    length_map: self.length_map,
       12240  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12241  +
                    map_of_map_of_list_of_list_of_con_b: self.map_of_map_of_list_of_list_of_con_b,
       12242  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12243  +
                    sparse_map: self.sparse_map,
       12244  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12245  +
                    sparse_list: self.sparse_list,
       12246  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12247  +
                    sparse_length_map: self.sparse_length_map,
       12248  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12249  +
                    sparse_length_list: self.sparse_length_list,
       12250  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12251  +
                    constrained_union: self.constrained_union,
       12252  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12253  +
                    enum_string: self.enum_string,
       12254  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12255  +
                    list_of_length_string: self.list_of_length_string,
       12256  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12257  +
                    set_of_length_string: self.set_of_length_string,
       12258  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12259  +
                    map_of_length_string: self.map_of_length_string,
       12260  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12261  +
                    list_of_length_blob: self.list_of_length_blob,
       12262  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12263  +
                    map_of_length_blob: self.map_of_length_blob,
       12264  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12265  +
                    list_of_range_integer: self.list_of_range_integer,
       12266  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12267  +
                    set_of_range_integer: self.set_of_range_integer,
       12268  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12269  +
                    map_of_range_integer: self.map_of_range_integer,
       12270  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12271  +
                    list_of_range_short: self.list_of_range_short,
       12272  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12273  +
                    set_of_range_short: self.set_of_range_short,
       12274  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12275  +
                    map_of_range_short: self.map_of_range_short,
       12276  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12277  +
                    list_of_range_long: self.list_of_range_long,
       12278  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12279  +
                    set_of_range_long: self.set_of_range_long,
       12280  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12281  +
                    map_of_range_long: self.map_of_range_long,
       12282  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12283  +
                    list_of_range_byte: self.list_of_range_byte,
       12284  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12285  +
                    set_of_range_byte: self.set_of_range_byte,
       12286  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12287  +
                    map_of_range_byte: self.map_of_range_byte,
       12288  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12289  +
                    non_streaming_blob: self.non_streaming_blob,
       12290  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12291  +
                    pattern_string: self.pattern_string,
       12292  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12293  +
                    map_of_pattern_string: self.map_of_pattern_string,
       12294  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12295  +
                    list_of_pattern_string: self.list_of_pattern_string,
       12296  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12297  +
                    set_of_pattern_string: self.set_of_pattern_string,
       12298  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12299  +
                    length_length_pattern_string: self.length_length_pattern_string,
       12300  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12301  +
                    map_of_length_pattern_string: self.map_of_length_pattern_string,
       12302  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12303  +
                    list_of_length_pattern_string: self.list_of_length_pattern_string,
       12304  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12305  +
                    set_of_length_pattern_string: self.set_of_length_pattern_string,
       12306  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12307  +
                    length_list_of_pattern_string: self.length_list_of_pattern_string,
       12308  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       12309  +
                    length_set_of_pattern_string: self.length_set_of_pattern_string,
       12310  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
       12311  +
                }, /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
       12312  +
            )
       12313  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 9310  12314   
        }
       12315  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 9311  12316   
    }
       12317  +
       12318  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9312  12319   
}
 9313  12320   
pub(crate) mod length_set_of_pattern_string_internal {
 9314  12321   
       12322  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9315  12323   
    #[allow(clippy::enum_variant_names)]
 9316  12324   
    #[derive(Debug, PartialEq)]
 9317  12325   
    pub(crate) enum ConstraintViolation {
 9318  12326   
        /// Constraint violation error when the list doesn't have the required length
 9319  12327   
        Length(usize),
 9320  12328   
        /// Constraint violation error when the list does not contain unique items
 9321  12329   
        UniqueItems {
 9322  12330   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 9323  12331   
            /// at least two elements.
 9324  12332   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 9325  12333   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 9326  12334   
            /// Nothing is guaranteed about the order of the indices.
 9327  12335   
            duplicate_indices: ::std::vec::Vec<usize>,
 9328  12336   
            /// The original vector, that contains duplicate items.
 9329  12337   
            original: ::std::vec::Vec<crate::model::PatternString>,
 9330  12338   
        },
 9331  12339   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 9332  12340   
        /// The first component of the tuple is the index in the collection where the
 9333  12341   
        /// first constraint violation was found.
 9334  12342   
        #[doc(hidden)]
 9335  12343   
        Member(
 9336  12344   
            usize,
 9337  12345   
            crate::model::pattern_string_internal::ConstraintViolation,
 9338  12346   
        ),
 9339  12347   
    }
 9340  12348   
 9341  12349   
    impl ::std::fmt::Display for ConstraintViolation {
 9342  12350   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9343  12351   
            let message = match self {
 9344  12352   
                                Self::Length(length) => {
 9345  12353   
                            format!("Value with length {} provided for 'com.amazonaws.constraints#LengthSetOfPatternString' failed to satisfy constraint: Member must have length between 5 and 9, inclusive", length)
 9346  12354   
                        },
 9347  12355   
    Self::UniqueItems { duplicate_indices, .. } =>
 9348  12356   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#LengthSetOfPatternString' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 9349  12357   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 9350  12358   
                           failing_member)
 9351  12359   
                            };
 9352  12360   
            write!(f, "{message}")
 9353  12361   
        }
 9354  12362   
    }
 9355  12363   
 9356  12364   
    impl ::std::error::Error for ConstraintViolation {}
       12365  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9357  12366   
    impl ConstraintViolation {
 9358  12367   
        pub(crate) fn as_validation_exception_field(
 9359  12368   
            self,
 9360  12369   
            path: ::std::string::String,
 9361  12370   
        ) -> crate::model::ValidationExceptionField {
 9362  12371   
            match self {
 9363  12372   
                        Self::Length(length) => crate::model::ValidationExceptionField {
 9364  12373   
                                message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 5 and 9, inclusive", length, &path),
 9365  12374   
                                path,
 9366  12375   
                            },
 9367  12376   
    Self::UniqueItems { duplicate_indices, .. } =>
 9368  12377   
                                crate::model::ValidationExceptionField {
 9369  12378   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 9370  12379   
                                    path,
 9371  12380   
                                },
 9372  12381   
    Self::Member(index, member_constraint_violation) =>
 9373  12382   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 9374  12383   
                    }
 9375  12384   
        }
 9376  12385   
    }
       12386  +
       12387  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9377  12388   
}
 9378  12389   
pub(crate) mod set_of_length_pattern_string_internal {
 9379  12390   
       12391  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9380  12392   
    #[allow(clippy::enum_variant_names)]
 9381  12393   
    #[derive(Debug, PartialEq)]
 9382  12394   
    pub(crate) enum ConstraintViolation {
 9383  12395   
        /// Constraint violation error when the list does not contain unique items
 9384  12396   
        UniqueItems {
 9385  12397   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 9386  12398   
            /// at least two elements.
 9387  12399   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 9388  12400   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 9389  12401   
            /// Nothing is guaranteed about the order of the indices.
 9390  12402   
            duplicate_indices: ::std::vec::Vec<usize>,
 9391  12403   
            /// The original vector, that contains duplicate items.
 9392  12404   
            original: ::std::vec::Vec<crate::model::LengthPatternString>,
 9393  12405   
        },
 9394  12406   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 9395  12407   
        /// The first component of the tuple is the index in the collection where the
 9396  12408   
        /// first constraint violation was found.
 9397  12409   
        #[doc(hidden)]
 9398  12410   
        Member(
 9399  12411   
            usize,
 9400  12412   
            crate::model::length_pattern_string_internal::ConstraintViolation,
 9401  12413   
        ),
 9402  12414   
    }
 9403  12415   
 9404  12416   
    impl ::std::fmt::Display for ConstraintViolation {
 9405  12417   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9406  12418   
            let message = match self {
 9407  12419   
                                Self::UniqueItems { duplicate_indices, .. } =>
 9408  12420   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#SetOfLengthPatternString' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 9409  12421   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 9410  12422   
                           failing_member)
 9411  12423   
                            };
 9412  12424   
            write!(f, "{message}")
 9413  12425   
        }
 9414  12426   
    }
 9415  12427   
 9416  12428   
    impl ::std::error::Error for ConstraintViolation {}
       12429  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9417  12430   
    impl ConstraintViolation {
 9418  12431   
        pub(crate) fn as_validation_exception_field(
 9419  12432   
            self,
 9420  12433   
            path: ::std::string::String,
 9421  12434   
        ) -> crate::model::ValidationExceptionField {
 9422  12435   
            match self {
 9423  12436   
                        Self::UniqueItems { duplicate_indices, .. } =>
 9424  12437   
                                crate::model::ValidationExceptionField {
 9425  12438   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 9426  12439   
                                    path,
 9427  12440   
                                },
 9428  12441   
    Self::Member(index, member_constraint_violation) =>
 9429  12442   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 9430  12443   
                    }
 9431  12444   
        }
 9432  12445   
    }
       12446  +
       12447  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9433  12448   
}
 9434  12449   
pub(crate) mod set_of_pattern_string_internal {
 9435  12450   
       12451  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9436  12452   
    #[allow(clippy::enum_variant_names)]
 9437  12453   
    #[derive(Debug, PartialEq)]
 9438  12454   
    pub(crate) enum ConstraintViolation {
 9439  12455   
        /// Constraint violation error when the list does not contain unique items
 9440  12456   
        UniqueItems {
 9441  12457   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 9442  12458   
            /// at least two elements.
 9443  12459   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 9444  12460   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 9445  12461   
            /// Nothing is guaranteed about the order of the indices.
 9446  12462   
            duplicate_indices: ::std::vec::Vec<usize>,
 9447  12463   
            /// The original vector, that contains duplicate items.
 9448  12464   
            original: ::std::vec::Vec<crate::model::PatternString>,
 9449  12465   
        },
 9450  12466   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 9451  12467   
        /// The first component of the tuple is the index in the collection where the
 9452  12468   
        /// first constraint violation was found.
 9453  12469   
        #[doc(hidden)]
 9454  12470   
        Member(
 9455  12471   
            usize,
 9456  12472   
            crate::model::pattern_string_internal::ConstraintViolation,
 9457  12473   
        ),
 9458  12474   
    }
 9459  12475   
 9460  12476   
    impl ::std::fmt::Display for ConstraintViolation {
 9461  12477   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9462  12478   
            let message = match self {
 9463  12479   
                                Self::UniqueItems { duplicate_indices, .. } =>
 9464  12480   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#SetOfPatternString' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 9465  12481   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 9466  12482   
                           failing_member)
 9467  12483   
                            };
 9468  12484   
            write!(f, "{message}")
 9469  12485   
        }
 9470  12486   
    }
 9471  12487   
 9472  12488   
    impl ::std::error::Error for ConstraintViolation {}
       12489  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9473  12490   
    impl ConstraintViolation {
 9474  12491   
        pub(crate) fn as_validation_exception_field(
 9475  12492   
            self,
 9476  12493   
            path: ::std::string::String,
 9477  12494   
        ) -> crate::model::ValidationExceptionField {
 9478  12495   
            match self {
 9479  12496   
                        Self::UniqueItems { duplicate_indices, .. } =>
 9480  12497   
                                crate::model::ValidationExceptionField {
 9481  12498   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 9482  12499   
                                    path,
 9483  12500   
                                },
 9484  12501   
    Self::Member(index, member_constraint_violation) =>
 9485  12502   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 9486  12503   
                    }
 9487  12504   
        }
 9488  12505   
    }
       12506  +
       12507  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9489  12508   
}
 9490  12509   
pub(crate) mod map_of_range_byte_internal {
 9491  12510   
       12511  +
    /* MapConstraintViolationGenerator.kt:82 */
 9492  12512   
    #[allow(clippy::enum_variant_names)]
 9493  12513   
    #[derive(Debug, PartialEq)]
 9494  12514   
    pub(crate) enum ConstraintViolation {
 9495  12515   
        #[doc(hidden)]
 9496  12516   
        Value(
 9497  12517   
            ::std::string::String,
 9498  12518   
            crate::model::range_byte_internal::ConstraintViolation,
 9499  12519   
        ),
 9500  12520   
    }
 9501  12521   
 9502  12522   
    impl ::std::fmt::Display for ConstraintViolation {
 9503  12523   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9504  12524   
            match self {
 9505  12525   
                Self::Value(_, value_constraint_violation) => {
 9506  12526   
                    write!(f, "{}", value_constraint_violation)
 9507  12527   
                }
 9508  12528   
            }
 9509  12529   
        }
 9510  12530   
    }
 9511  12531   
 9512  12532   
    impl ::std::error::Error for ConstraintViolation {}
       12533  +
    /* MapConstraintViolationGenerator.kt:111 */
 9513  12534   
    impl ConstraintViolation {
 9514  12535   
        pub(crate) fn as_validation_exception_field(
 9515  12536   
            self,
 9516  12537   
            path: ::std::string::String,
 9517  12538   
        ) -> crate::model::ValidationExceptionField {
 9518  12539   
            match self {
 9519  12540   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 9520  12541   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 9521  12542   
            }
 9522  12543   
        }
 9523  12544   
    }
       12545  +
       12546  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9524  12547   
}
 9525  12548   
pub(crate) mod range_byte_internal {
 9526  12549   
       12550  +
    /* ConstrainedNumberGenerator.kt:139 */
 9527  12551   
    #[derive(Debug, PartialEq)]
 9528  12552   
    pub enum ConstraintViolation {
 9529  12553   
        Range(i8),
 9530  12554   
    }
 9531  12555   
 9532  12556   
    impl ::std::fmt::Display for ConstraintViolation {
 9533  12557   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9534  12558   
            write!(f, "Value for `com.amazonaws.constraints#RangeByte`failed to satisfy constraint: Member must be between 0 and 10, inclusive")
 9535  12559   
        }
 9536  12560   
    }
 9537  12561   
 9538  12562   
    impl ::std::error::Error for ConstraintViolation {}
       12563  +
    /* ConstrainedNumberGenerator.kt:159 */
 9539  12564   
    impl ConstraintViolation {
 9540  12565   
        pub(crate) fn as_validation_exception_field(
 9541  12566   
            self,
 9542  12567   
            path: ::std::string::String,
 9543  12568   
        ) -> crate::model::ValidationExceptionField {
 9544  12569   
            match self {
 9545  12570   
                            Self::Range(_) => crate::model::ValidationExceptionField {
 9546  12571   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 0 and 10, inclusive", &path),
 9547  12572   
                            path,
 9548  12573   
                        },
 9549  12574   
                        }
 9550  12575   
        }
 9551  12576   
    }
       12577  +
       12578  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9552  12579   
}
 9553  12580   
pub(crate) mod set_of_range_byte_internal {
 9554  12581   
       12582  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9555  12583   
    #[allow(clippy::enum_variant_names)]
 9556  12584   
    #[derive(Debug, PartialEq)]
 9557  12585   
    pub(crate) enum ConstraintViolation {
 9558  12586   
        /// Constraint violation error when the list does not contain unique items
 9559  12587   
        UniqueItems {
 9560  12588   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 9561  12589   
            /// at least two elements.
 9562  12590   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 9563  12591   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 9564  12592   
            /// Nothing is guaranteed about the order of the indices.
 9565  12593   
            duplicate_indices: ::std::vec::Vec<usize>,
 9566  12594   
            /// The original vector, that contains duplicate items.
 9567  12595   
            original: ::std::vec::Vec<crate::model::RangeByte>,
 9568  12596   
        },
 9569  12597   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 9570  12598   
        /// The first component of the tuple is the index in the collection where the
 9571  12599   
        /// first constraint violation was found.
 9572  12600   
        #[doc(hidden)]
 9573  12601   
        Member(
 9574  12602   
            usize,
 9575  12603   
            crate::model::range_byte_internal::ConstraintViolation,
 9576  12604   
        ),
 9577  12605   
    }
 9578  12606   
 9579  12607   
    impl ::std::fmt::Display for ConstraintViolation {
 9580  12608   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9581  12609   
            let message = match self {
 9582  12610   
                                Self::UniqueItems { duplicate_indices, .. } =>
 9583  12611   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#SetOfRangeByte' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 9584  12612   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 9585  12613   
                           failing_member)
 9586  12614   
                            };
 9587  12615   
            write!(f, "{message}")
 9588  12616   
        }
 9589  12617   
    }
 9590  12618   
 9591  12619   
    impl ::std::error::Error for ConstraintViolation {}
       12620  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9592  12621   
    impl ConstraintViolation {
 9593  12622   
        pub(crate) fn as_validation_exception_field(
 9594  12623   
            self,
 9595  12624   
            path: ::std::string::String,
 9596  12625   
        ) -> crate::model::ValidationExceptionField {
 9597  12626   
            match self {
 9598  12627   
                        Self::UniqueItems { duplicate_indices, .. } =>
 9599  12628   
                                crate::model::ValidationExceptionField {
 9600  12629   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 9601  12630   
                                    path,
 9602  12631   
                                },
 9603  12632   
    Self::Member(index, member_constraint_violation) =>
 9604  12633   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 9605  12634   
                    }
 9606  12635   
        }
 9607  12636   
    }
       12637  +
       12638  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9608  12639   
}
 9609  12640   
pub(crate) mod list_of_range_byte_internal {
 9610  12641   
       12642  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9611  12643   
    #[allow(clippy::enum_variant_names)]
 9612  12644   
    #[derive(Debug, PartialEq)]
 9613  12645   
    pub(crate) enum ConstraintViolation {
 9614  12646   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 9615  12647   
        /// The first component of the tuple is the index in the collection where the
 9616  12648   
        /// first constraint violation was found.
 9617  12649   
        #[doc(hidden)]
 9618  12650   
        Member(
 9619  12651   
            usize,
 9620  12652   
            crate::model::range_byte_internal::ConstraintViolation,
 9621  12653   
        ),
 9622  12654   
    }
 9623  12655   
 9624  12656   
    impl ::std::fmt::Display for ConstraintViolation {
 9625  12657   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9626  12658   
            let message = match self {
 9627  12659   
                Self::Member(index, failing_member) => format!(
 9628  12660   
                    "Value at index {index} failed to satisfy constraint. {}",
 9629  12661   
                    failing_member
 9630  12662   
                ),
 9631  12663   
            };
 9632  12664   
            write!(f, "{message}")
 9633  12665   
        }
 9634  12666   
    }
 9635  12667   
 9636  12668   
    impl ::std::error::Error for ConstraintViolation {}
       12669  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9637  12670   
    impl ConstraintViolation {
 9638  12671   
        pub(crate) fn as_validation_exception_field(
 9639  12672   
            self,
 9640  12673   
            path: ::std::string::String,
 9641  12674   
        ) -> crate::model::ValidationExceptionField {
 9642  12675   
            match self {
 9643  12676   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 9644  12677   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 9645  12678   
            }
 9646  12679   
        }
 9647  12680   
    }
       12681  +
       12682  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9648  12683   
}
 9649  12684   
pub(crate) mod map_of_range_long_internal {
 9650  12685   
       12686  +
    /* MapConstraintViolationGenerator.kt:82 */
 9651  12687   
    #[allow(clippy::enum_variant_names)]
 9652  12688   
    #[derive(Debug, PartialEq)]
 9653  12689   
    pub(crate) enum ConstraintViolation {
 9654  12690   
        #[doc(hidden)]
 9655  12691   
        Value(
 9656  12692   
            ::std::string::String,
 9657  12693   
            crate::model::range_long_internal::ConstraintViolation,
 9658  12694   
        ),
 9659  12695   
    }
 9660  12696   
 9661  12697   
    impl ::std::fmt::Display for ConstraintViolation {
 9662  12698   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9663  12699   
            match self {
 9664  12700   
                Self::Value(_, value_constraint_violation) => {
 9665  12701   
                    write!(f, "{}", value_constraint_violation)
 9666  12702   
                }
 9667  12703   
            }
 9668  12704   
        }
 9669  12705   
    }
 9670  12706   
 9671  12707   
    impl ::std::error::Error for ConstraintViolation {}
       12708  +
    /* MapConstraintViolationGenerator.kt:111 */
 9672  12709   
    impl ConstraintViolation {
 9673  12710   
        pub(crate) fn as_validation_exception_field(
 9674  12711   
            self,
 9675  12712   
            path: ::std::string::String,
 9676  12713   
        ) -> crate::model::ValidationExceptionField {
 9677  12714   
            match self {
 9678  12715   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 9679  12716   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 9680  12717   
            }
 9681  12718   
        }
 9682  12719   
    }
       12720  +
       12721  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9683  12722   
}
 9684  12723   
pub(crate) mod range_long_internal {
 9685  12724   
       12725  +
    /* ConstrainedNumberGenerator.kt:139 */
 9686  12726   
    #[derive(Debug, PartialEq)]
 9687  12727   
    pub enum ConstraintViolation {
 9688  12728   
        Range(i64),
 9689  12729   
    }
 9690  12730   
 9691  12731   
    impl ::std::fmt::Display for ConstraintViolation {
 9692  12732   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9693  12733   
            write!(f, "Value for `com.amazonaws.constraints#RangeLong`failed to satisfy constraint: Member must be between 0 and 10, inclusive")
 9694  12734   
        }
 9695  12735   
    }
 9696  12736   
 9697  12737   
    impl ::std::error::Error for ConstraintViolation {}
       12738  +
    /* ConstrainedNumberGenerator.kt:159 */
 9698  12739   
    impl ConstraintViolation {
 9699  12740   
        pub(crate) fn as_validation_exception_field(
 9700  12741   
            self,
 9701  12742   
            path: ::std::string::String,
 9702  12743   
        ) -> crate::model::ValidationExceptionField {
 9703  12744   
            match self {
 9704  12745   
                            Self::Range(_) => crate::model::ValidationExceptionField {
 9705  12746   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 0 and 10, inclusive", &path),
 9706  12747   
                            path,
 9707  12748   
                        },
 9708  12749   
                        }
 9709  12750   
        }
 9710  12751   
    }
       12752  +
       12753  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9711  12754   
}
 9712  12755   
pub(crate) mod set_of_range_long_internal {
 9713  12756   
       12757  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9714  12758   
    #[allow(clippy::enum_variant_names)]
 9715  12759   
    #[derive(Debug, PartialEq)]
 9716  12760   
    pub(crate) enum ConstraintViolation {
 9717  12761   
        /// Constraint violation error when the list does not contain unique items
 9718  12762   
        UniqueItems {
 9719  12763   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 9720  12764   
            /// at least two elements.
 9721  12765   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 9722  12766   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 9723  12767   
            /// Nothing is guaranteed about the order of the indices.
 9724  12768   
            duplicate_indices: ::std::vec::Vec<usize>,
 9725  12769   
            /// The original vector, that contains duplicate items.
 9726  12770   
            original: ::std::vec::Vec<crate::model::RangeLong>,
 9727  12771   
        },
 9728  12772   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 9729  12773   
        /// The first component of the tuple is the index in the collection where the
 9730  12774   
        /// first constraint violation was found.
 9731  12775   
        #[doc(hidden)]
 9732  12776   
        Member(
 9733  12777   
            usize,
 9734  12778   
            crate::model::range_long_internal::ConstraintViolation,
 9735  12779   
        ),
 9736  12780   
    }
 9737  12781   
 9738  12782   
    impl ::std::fmt::Display for ConstraintViolation {
 9739  12783   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9740  12784   
            let message = match self {
 9741  12785   
                                Self::UniqueItems { duplicate_indices, .. } =>
 9742  12786   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#SetOfRangeLong' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 9743  12787   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 9744  12788   
                           failing_member)
 9745  12789   
                            };
 9746  12790   
            write!(f, "{message}")
 9747  12791   
        }
 9748  12792   
    }
 9749  12793   
 9750  12794   
    impl ::std::error::Error for ConstraintViolation {}
       12795  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9751  12796   
    impl ConstraintViolation {
 9752  12797   
        pub(crate) fn as_validation_exception_field(
 9753  12798   
            self,
 9754  12799   
            path: ::std::string::String,
 9755  12800   
        ) -> crate::model::ValidationExceptionField {
 9756  12801   
            match self {
 9757  12802   
                        Self::UniqueItems { duplicate_indices, .. } =>
 9758  12803   
                                crate::model::ValidationExceptionField {
 9759  12804   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 9760  12805   
                                    path,
 9761  12806   
                                },
 9762  12807   
    Self::Member(index, member_constraint_violation) =>
 9763  12808   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 9764  12809   
                    }
 9765  12810   
        }
 9766  12811   
    }
       12812  +
       12813  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9767  12814   
}
 9768  12815   
pub(crate) mod list_of_range_long_internal {
 9769  12816   
       12817  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9770  12818   
    #[allow(clippy::enum_variant_names)]
 9771  12819   
    #[derive(Debug, PartialEq)]
 9772  12820   
    pub(crate) enum ConstraintViolation {
 9773  12821   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 9774  12822   
        /// The first component of the tuple is the index in the collection where the
 9775  12823   
        /// first constraint violation was found.
 9776  12824   
        #[doc(hidden)]
 9777  12825   
        Member(
 9778  12826   
            usize,
 9779  12827   
            crate::model::range_long_internal::ConstraintViolation,
 9780  12828   
        ),
 9781  12829   
    }
 9782  12830   
 9783  12831   
    impl ::std::fmt::Display for ConstraintViolation {
 9784  12832   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9785  12833   
            let message = match self {
 9786  12834   
                Self::Member(index, failing_member) => format!(
 9787  12835   
                    "Value at index {index} failed to satisfy constraint. {}",
 9788  12836   
                    failing_member
 9789  12837   
                ),
 9790  12838   
            };
 9791  12839   
            write!(f, "{message}")
 9792  12840   
        }
 9793  12841   
    }
 9794  12842   
 9795  12843   
    impl ::std::error::Error for ConstraintViolation {}
       12844  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9796  12845   
    impl ConstraintViolation {
 9797  12846   
        pub(crate) fn as_validation_exception_field(
 9798  12847   
            self,
 9799  12848   
            path: ::std::string::String,
 9800  12849   
        ) -> crate::model::ValidationExceptionField {
 9801  12850   
            match self {
 9802  12851   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 9803  12852   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 9804  12853   
            }
 9805  12854   
        }
 9806  12855   
    }
       12856  +
       12857  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9807  12858   
}
 9808  12859   
pub(crate) mod map_of_range_short_internal {
 9809  12860   
       12861  +
    /* MapConstraintViolationGenerator.kt:82 */
 9810  12862   
    #[allow(clippy::enum_variant_names)]
 9811  12863   
    #[derive(Debug, PartialEq)]
 9812  12864   
    pub(crate) enum ConstraintViolation {
 9813  12865   
        #[doc(hidden)]
 9814  12866   
        Value(
 9815  12867   
            ::std::string::String,
 9816  12868   
            crate::model::range_short_internal::ConstraintViolation,
 9817  12869   
        ),
 9818  12870   
    }
 9819  12871   
 9820  12872   
    impl ::std::fmt::Display for ConstraintViolation {
 9821  12873   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9822  12874   
            match self {
 9823  12875   
                Self::Value(_, value_constraint_violation) => {
 9824  12876   
                    write!(f, "{}", value_constraint_violation)
 9825  12877   
                }
 9826  12878   
            }
 9827  12879   
        }
 9828  12880   
    }
 9829  12881   
 9830  12882   
    impl ::std::error::Error for ConstraintViolation {}
       12883  +
    /* MapConstraintViolationGenerator.kt:111 */
 9831  12884   
    impl ConstraintViolation {
 9832  12885   
        pub(crate) fn as_validation_exception_field(
 9833  12886   
            self,
 9834  12887   
            path: ::std::string::String,
 9835  12888   
        ) -> crate::model::ValidationExceptionField {
 9836  12889   
            match self {
 9837  12890   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 9838  12891   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 9839  12892   
            }
 9840  12893   
        }
 9841  12894   
    }
       12895  +
       12896  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9842  12897   
}
 9843  12898   
pub(crate) mod range_short_internal {
 9844  12899   
       12900  +
    /* ConstrainedNumberGenerator.kt:139 */
 9845  12901   
    #[derive(Debug, PartialEq)]
 9846  12902   
    pub enum ConstraintViolation {
 9847  12903   
        Range(i16),
 9848  12904   
    }
 9849  12905   
 9850  12906   
    impl ::std::fmt::Display for ConstraintViolation {
 9851  12907   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9852  12908   
            write!(f, "Value for `com.amazonaws.constraints#RangeShort`failed to satisfy constraint: Member must be between 0 and 10, inclusive")
 9853  12909   
        }
 9854  12910   
    }
 9855  12911   
 9856  12912   
    impl ::std::error::Error for ConstraintViolation {}
       12913  +
    /* ConstrainedNumberGenerator.kt:159 */
 9857  12914   
    impl ConstraintViolation {
 9858  12915   
        pub(crate) fn as_validation_exception_field(
 9859  12916   
            self,
 9860  12917   
            path: ::std::string::String,
 9861  12918   
        ) -> crate::model::ValidationExceptionField {
 9862  12919   
            match self {
 9863  12920   
                            Self::Range(_) => crate::model::ValidationExceptionField {
 9864  12921   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 0 and 10, inclusive", &path),
 9865  12922   
                            path,
 9866  12923   
                        },
 9867  12924   
                        }
 9868  12925   
        }
 9869  12926   
    }
       12927  +
       12928  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9870  12929   
}
 9871  12930   
pub(crate) mod set_of_range_short_internal {
 9872  12931   
       12932  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9873  12933   
    #[allow(clippy::enum_variant_names)]
 9874  12934   
    #[derive(Debug, PartialEq)]
 9875  12935   
    pub(crate) enum ConstraintViolation {
 9876  12936   
        /// Constraint violation error when the list does not contain unique items
 9877  12937   
        UniqueItems {
 9878  12938   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
 9879  12939   
            /// at least two elements.
 9880  12940   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
 9881  12941   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
 9882  12942   
            /// Nothing is guaranteed about the order of the indices.
 9883  12943   
            duplicate_indices: ::std::vec::Vec<usize>,
 9884  12944   
            /// The original vector, that contains duplicate items.
 9885  12945   
            original: ::std::vec::Vec<crate::model::RangeShort>,
 9886  12946   
        },
 9887  12947   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 9888  12948   
        /// The first component of the tuple is the index in the collection where the
 9889  12949   
        /// first constraint violation was found.
 9890  12950   
        #[doc(hidden)]
 9891  12951   
        Member(
 9892  12952   
            usize,
 9893  12953   
            crate::model::range_short_internal::ConstraintViolation,
 9894  12954   
        ),
 9895  12955   
    }
 9896  12956   
 9897  12957   
    impl ::std::fmt::Display for ConstraintViolation {
 9898  12958   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9899  12959   
            let message = match self {
 9900  12960   
                                Self::UniqueItems { duplicate_indices, .. } =>
 9901  12961   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#SetOfRangeShort' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
 9902  12962   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
 9903  12963   
                           failing_member)
 9904  12964   
                            };
 9905  12965   
            write!(f, "{message}")
 9906  12966   
        }
 9907  12967   
    }
 9908  12968   
 9909  12969   
    impl ::std::error::Error for ConstraintViolation {}
       12970  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9910  12971   
    impl ConstraintViolation {
 9911  12972   
        pub(crate) fn as_validation_exception_field(
 9912  12973   
            self,
 9913  12974   
            path: ::std::string::String,
 9914  12975   
        ) -> crate::model::ValidationExceptionField {
 9915  12976   
            match self {
 9916  12977   
                        Self::UniqueItems { duplicate_indices, .. } =>
 9917  12978   
                                crate::model::ValidationExceptionField {
 9918  12979   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
 9919  12980   
                                    path,
 9920  12981   
                                },
 9921  12982   
    Self::Member(index, member_constraint_violation) =>
 9922  12983   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 9923  12984   
                    }
 9924  12985   
        }
 9925  12986   
    }
       12987  +
       12988  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9926  12989   
}
 9927  12990   
pub(crate) mod list_of_range_short_internal {
 9928  12991   
       12992  +
    /* CollectionConstraintViolationGenerator.kt:78 */
 9929  12993   
    #[allow(clippy::enum_variant_names)]
 9930  12994   
    #[derive(Debug, PartialEq)]
 9931  12995   
    pub(crate) enum ConstraintViolation {
 9932  12996   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
 9933  12997   
        /// The first component of the tuple is the index in the collection where the
 9934  12998   
        /// first constraint violation was found.
 9935  12999   
        #[doc(hidden)]
 9936  13000   
        Member(
 9937  13001   
            usize,
 9938  13002   
            crate::model::range_short_internal::ConstraintViolation,
 9939  13003   
        ),
 9940  13004   
    }
 9941  13005   
 9942  13006   
    impl ::std::fmt::Display for ConstraintViolation {
 9943  13007   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9944  13008   
            let message = match self {
 9945  13009   
                Self::Member(index, failing_member) => format!(
 9946  13010   
                    "Value at index {index} failed to satisfy constraint. {}",
 9947  13011   
                    failing_member
 9948  13012   
                ),
 9949  13013   
            };
 9950  13014   
            write!(f, "{message}")
 9951  13015   
        }
 9952  13016   
    }
 9953  13017   
 9954  13018   
    impl ::std::error::Error for ConstraintViolation {}
       13019  +
    /* CollectionConstraintViolationGenerator.kt:104 */
 9955  13020   
    impl ConstraintViolation {
 9956  13021   
        pub(crate) fn as_validation_exception_field(
 9957  13022   
            self,
 9958  13023   
            path: ::std::string::String,
 9959  13024   
        ) -> crate::model::ValidationExceptionField {
 9960  13025   
            match self {
 9961  13026   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
 9962  13027   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
 9963  13028   
            }
 9964  13029   
        }
 9965  13030   
    }
       13031  +
       13032  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 9966  13033   
}
 9967  13034   
pub(crate) mod map_of_range_integer_internal {
 9968  13035   
       13036  +
    /* MapConstraintViolationGenerator.kt:82 */
 9969  13037   
    #[allow(clippy::enum_variant_names)]
 9970  13038   
    #[derive(Debug, PartialEq)]
 9971  13039   
    pub(crate) enum ConstraintViolation {
 9972  13040   
        #[doc(hidden)]
 9973  13041   
        Value(
 9974  13042   
            ::std::string::String,
 9975  13043   
            crate::model::range_integer_internal::ConstraintViolation,
 9976  13044   
        ),
 9977  13045   
    }
 9978  13046   
 9979  13047   
    impl ::std::fmt::Display for ConstraintViolation {
 9980  13048   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 9981  13049   
            match self {
 9982  13050   
                Self::Value(_, value_constraint_violation) => {
 9983  13051   
                    write!(f, "{}", value_constraint_violation)
 9984  13052   
                }
 9985  13053   
            }
 9986  13054   
        }
 9987  13055   
    }
 9988  13056   
 9989  13057   
    impl ::std::error::Error for ConstraintViolation {}
       13058  +
    /* MapConstraintViolationGenerator.kt:111 */
 9990  13059   
    impl ConstraintViolation {
 9991  13060   
        pub(crate) fn as_validation_exception_field(
 9992  13061   
            self,
 9993  13062   
            path: ::std::string::String,
 9994  13063   
        ) -> crate::model::ValidationExceptionField {
 9995  13064   
            match self {
 9996  13065   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
 9997  13066   
                    .as_validation_exception_field(path + "/" + key.as_str()),
 9998  13067   
            }
 9999  13068   
        }
10000  13069   
    }
       13070  +
       13071  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10001  13072   
}
10002  13073   
pub(crate) mod range_integer_internal {
10003  13074   
       13075  +
    /* ConstrainedNumberGenerator.kt:139 */
10004  13076   
    #[derive(Debug, PartialEq)]
10005  13077   
    pub enum ConstraintViolation {
10006  13078   
        Range(i32),
10007  13079   
    }
10008  13080   
10009  13081   
    impl ::std::fmt::Display for ConstraintViolation {
10010  13082   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10011  13083   
            write!(f, "Value for `com.amazonaws.constraints#RangeInteger`failed to satisfy constraint: Member must be between 0 and 69, inclusive")
10012  13084   
        }
10013  13085   
    }
10014  13086   
10015  13087   
    impl ::std::error::Error for ConstraintViolation {}
       13088  +
    /* ConstrainedNumberGenerator.kt:159 */
10016  13089   
    impl ConstraintViolation {
10017  13090   
        pub(crate) fn as_validation_exception_field(
10018  13091   
            self,
10019  13092   
            path: ::std::string::String,
10020  13093   
        ) -> crate::model::ValidationExceptionField {
10021  13094   
            match self {
10022  13095   
                            Self::Range(_) => crate::model::ValidationExceptionField {
10023  13096   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 0 and 69, inclusive", &path),
10024  13097   
                            path,
10025  13098   
                        },
10026  13099   
                        }
10027  13100   
        }
10028  13101   
    }
       13102  +
       13103  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10029  13104   
}
10030  13105   
pub(crate) mod set_of_range_integer_internal {
10031  13106   
       13107  +
    /* CollectionConstraintViolationGenerator.kt:78 */
10032  13108   
    #[allow(clippy::enum_variant_names)]
10033  13109   
    #[derive(Debug, PartialEq)]
10034  13110   
    pub(crate) enum ConstraintViolation {
10035  13111   
        /// Constraint violation error when the list does not contain unique items
10036  13112   
        UniqueItems {
10037  13113   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
10038  13114   
            /// at least two elements.
10039  13115   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
10040  13116   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
10041  13117   
            /// Nothing is guaranteed about the order of the indices.
10042  13118   
            duplicate_indices: ::std::vec::Vec<usize>,
10043  13119   
            /// The original vector, that contains duplicate items.
10044  13120   
            original: ::std::vec::Vec<crate::model::RangeInteger>,
10045  13121   
        },
10046  13122   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
10047  13123   
        /// The first component of the tuple is the index in the collection where the
10048  13124   
        /// first constraint violation was found.
10049  13125   
        #[doc(hidden)]
10050  13126   
        Member(
10051  13127   
            usize,
10052  13128   
            crate::model::range_integer_internal::ConstraintViolation,
10053  13129   
        ),
10054  13130   
    }
10055  13131   
10056  13132   
    impl ::std::fmt::Display for ConstraintViolation {
10057  13133   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10058  13134   
            let message = match self {
10059  13135   
                                Self::UniqueItems { duplicate_indices, .. } =>
10060  13136   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#SetOfRangeInteger' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
10061  13137   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
10062  13138   
                           failing_member)
10063  13139   
                            };
10064  13140   
            write!(f, "{message}")
10065  13141   
        }
10066  13142   
    }
10067  13143   
10068  13144   
    impl ::std::error::Error for ConstraintViolation {}
       13145  +
    /* CollectionConstraintViolationGenerator.kt:104 */
10069  13146   
    impl ConstraintViolation {
10070  13147   
        pub(crate) fn as_validation_exception_field(
10071  13148   
            self,
10072  13149   
            path: ::std::string::String,
10073  13150   
        ) -> crate::model::ValidationExceptionField {
10074  13151   
            match self {
10075  13152   
                        Self::UniqueItems { duplicate_indices, .. } =>
10076  13153   
                                crate::model::ValidationExceptionField {
10077  13154   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
10078  13155   
                                    path,
10079  13156   
                                },
10080  13157   
    Self::Member(index, member_constraint_violation) =>
10081  13158   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
10082  13159   
                    }
10083  13160   
        }
10084  13161   
    }
       13162  +
       13163  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10085  13164   
}
10086  13165   
pub(crate) mod list_of_range_integer_internal {
10087  13166   
       13167  +
    /* CollectionConstraintViolationGenerator.kt:78 */
10088  13168   
    #[allow(clippy::enum_variant_names)]
10089  13169   
    #[derive(Debug, PartialEq)]
10090  13170   
    pub(crate) enum ConstraintViolation {
10091  13171   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
10092  13172   
        /// The first component of the tuple is the index in the collection where the
10093  13173   
        /// first constraint violation was found.
10094  13174   
        #[doc(hidden)]
10095  13175   
        Member(
10096  13176   
            usize,
10097  13177   
            crate::model::range_integer_internal::ConstraintViolation,
10098  13178   
        ),
10099  13179   
    }
10100  13180   
10101  13181   
    impl ::std::fmt::Display for ConstraintViolation {
10102  13182   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10103  13183   
            let message = match self {
10104  13184   
                Self::Member(index, failing_member) => format!(
10105  13185   
                    "Value at index {index} failed to satisfy constraint. {}",
10106  13186   
                    failing_member
10107  13187   
                ),
10108  13188   
            };
10109  13189   
            write!(f, "{message}")
10110  13190   
        }
10111  13191   
    }
10112  13192   
10113  13193   
    impl ::std::error::Error for ConstraintViolation {}
       13194  +
    /* CollectionConstraintViolationGenerator.kt:104 */
10114  13195   
    impl ConstraintViolation {
10115  13196   
        pub(crate) fn as_validation_exception_field(
10116  13197   
            self,
10117  13198   
            path: ::std::string::String,
10118  13199   
        ) -> crate::model::ValidationExceptionField {
10119  13200   
            match self {
10120  13201   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
10121  13202   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
10122  13203   
            }
10123  13204   
        }
10124  13205   
    }
       13206  +
       13207  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10125  13208   
}
10126  13209   
pub(crate) mod map_of_length_blob_internal {
10127  13210   
       13211  +
    /* MapConstraintViolationGenerator.kt:82 */
10128  13212   
    #[allow(clippy::enum_variant_names)]
10129  13213   
    #[derive(Debug, PartialEq)]
10130  13214   
    pub(crate) enum ConstraintViolation {
10131  13215   
        #[doc(hidden)]
10132  13216   
        Value(
10133  13217   
            ::std::string::String,
10134  13218   
            crate::model::length_blob_internal::ConstraintViolation,
10135  13219   
        ),
10136  13220   
    }
10137  13221   
10138  13222   
    impl ::std::fmt::Display for ConstraintViolation {
10139  13223   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10140  13224   
            match self {
10141  13225   
                Self::Value(_, value_constraint_violation) => {
10142  13226   
                    write!(f, "{}", value_constraint_violation)
10143  13227   
                }
10144  13228   
            }
10145  13229   
        }
10146  13230   
    }
10147  13231   
10148  13232   
    impl ::std::error::Error for ConstraintViolation {}
       13233  +
    /* MapConstraintViolationGenerator.kt:111 */
10149  13234   
    impl ConstraintViolation {
10150  13235   
        pub(crate) fn as_validation_exception_field(
10151  13236   
            self,
10152  13237   
            path: ::std::string::String,
10153  13238   
        ) -> crate::model::ValidationExceptionField {
10154  13239   
            match self {
10155  13240   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
10156  13241   
                    .as_validation_exception_field(path + "/" + key.as_str()),
10157  13242   
            }
10158  13243   
        }
10159  13244   
    }
       13245  +
       13246  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10160  13247   
}
10161  13248   
pub(crate) mod length_blob_internal {
10162  13249   
       13250  +
    /* ConstrainedBlobGenerator.kt:129 */
10163  13251   
    #[derive(Debug, PartialEq)]
10164  13252   
    pub enum ConstraintViolation {
10165  13253   
        /// Error when a blob doesn't satisfy its `@length` requirements.
10166  13254   
        Length(usize),
10167  13255   
    }
10168  13256   
10169  13257   
    impl ::std::fmt::Display for ConstraintViolation {
10170  13258   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10171  13259   
            let message = match self {
10172  13260   
                Self::Length(length) => {
10173  13261   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#LengthBlob' failed to satisfy constraint: Member must have length between 2 and 70, inclusive", length)
10174  13262   
                }
10175  13263   
            };
10176  13264   
            write!(f, "{message}")
10177  13265   
        }
10178  13266   
    }
10179  13267   
10180  13268   
    impl ::std::error::Error for ConstraintViolation {}
       13269  +
    /* ConstrainedBlobGenerator.kt:154 */
10181  13270   
    impl ConstraintViolation {
10182  13271   
        pub(crate) fn as_validation_exception_field(
10183  13272   
            self,
10184  13273   
            path: ::std::string::String,
10185  13274   
        ) -> crate::model::ValidationExceptionField {
10186  13275   
            match self {
10187  13276   
                            Self::Length(length) => crate::model::ValidationExceptionField {
10188  13277   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 2 and 70, inclusive", length, &path),
10189  13278   
                            path,
10190  13279   
                        },
10191  13280   
                        }
10192  13281   
        }
10193  13282   
    }
       13283  +
       13284  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10194  13285   
}
10195  13286   
pub(crate) mod list_of_length_blob_internal {
10196  13287   
       13288  +
    /* CollectionConstraintViolationGenerator.kt:78 */
10197  13289   
    #[allow(clippy::enum_variant_names)]
10198  13290   
    #[derive(Debug, PartialEq)]
10199  13291   
    pub(crate) enum ConstraintViolation {
10200  13292   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
10201  13293   
        /// The first component of the tuple is the index in the collection where the
10202  13294   
        /// first constraint violation was found.
10203  13295   
        #[doc(hidden)]
10204  13296   
        Member(
10205  13297   
            usize,
10206  13298   
            crate::model::length_blob_internal::ConstraintViolation,
10207  13299   
        ),
10208  13300   
    }
10209  13301   
10210  13302   
    impl ::std::fmt::Display for ConstraintViolation {
10211  13303   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10212  13304   
            let message = match self {
10213  13305   
                Self::Member(index, failing_member) => format!(
10214  13306   
                    "Value at index {index} failed to satisfy constraint. {}",
10215  13307   
                    failing_member
10216  13308   
                ),
10217  13309   
            };
10218  13310   
            write!(f, "{message}")
10219  13311   
        }
10220  13312   
    }
10221  13313   
10222  13314   
    impl ::std::error::Error for ConstraintViolation {}
       13315  +
    /* CollectionConstraintViolationGenerator.kt:104 */
10223  13316   
    impl ConstraintViolation {
10224  13317   
        pub(crate) fn as_validation_exception_field(
10225  13318   
            self,
10226  13319   
            path: ::std::string::String,
10227  13320   
        ) -> crate::model::ValidationExceptionField {
10228  13321   
            match self {
10229  13322   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
10230  13323   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
10231  13324   
            }
10232  13325   
        }
10233  13326   
    }
       13327  +
       13328  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10234  13329   
}
10235  13330   
pub(crate) mod constrained_union_internal {
10236  13331   
       13332  +
    /* RustType.kt:516 */
10237  13333   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
       13334  +
    /* UnconstrainedUnionGenerator.kt:150 */
10238  13335   
    #[allow(clippy::enum_variant_names)]
10239  13336   
    pub(crate) enum ConstraintViolation {
       13337  +
        /* UnconstrainedUnionGenerator.kt:218 */
10240  13338   
        ConBList(crate::model::con_b_list_internal::ConstraintViolation),
       13339  +
        /* UnconstrainedUnionGenerator.kt:218 */
10241  13340   
        ConBMap(crate::model::con_b_map_internal::ConstraintViolation),
       13341  +
        /* UnconstrainedUnionGenerator.kt:218 */
10242  13342   
        ConBSet(crate::model::con_b_set_internal::ConstraintViolation),
       13343  +
        /* UnconstrainedUnionGenerator.kt:218 */
10243  13344   
        ConstrainedStructure(crate::model::con_b_internal::ConstraintViolation),
       13345  +
        /* UnconstrainedUnionGenerator.kt:218 */
10244  13346   
        EnumString(crate::model::enum_string_internal::ConstraintViolation),
       13347  +
        /* UnconstrainedUnionGenerator.kt:218 */
10245  13348   
        LengthString(crate::model::length_string_internal::ConstraintViolation),
       13349  +
        /* UnconstrainedUnionGenerator.kt:150 */
10246  13350   
    }
       13351  +
    /* UnconstrainedUnionGenerator.kt:158 */
10247  13352   
    impl ::std::fmt::Display for ConstraintViolation {
10248  13353   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10249  13354   
            match self {
10250  13355   
                Self::ConBList(inner) => write!(f, "{inner}"),
10251  13356   
                Self::ConBMap(inner) => write!(f, "{inner}"),
10252  13357   
                Self::ConBSet(inner) => write!(f, "{inner}"),
10253  13358   
                Self::ConstrainedStructure(inner) => write!(f, "{inner}"),
10254  13359   
                Self::EnumString(inner) => write!(f, "{inner}"),
10255  13360   
                Self::LengthString(inner) => write!(f, "{inner}"),
10256  13361   
            }
10257  13362   
        }
10258  13363   
    }
10259  13364   
10260  13365   
    impl ::std::error::Error for ConstraintViolation {}
       13366  +
    /* UnconstrainedUnionGenerator.kt:176 */
10261  13367   
    impl ConstraintViolation {
10262  13368   
        pub(crate) fn as_validation_exception_field(
10263  13369   
            self,
10264  13370   
            path: ::std::string::String,
10265  13371   
        ) -> crate::model::ValidationExceptionField {
10266  13372   
            match self {
10267  13373   
                Self::ConBList(inner) => inner.as_validation_exception_field(path + "/conBList"),
10268  13374   
                Self::ConBMap(inner) => inner.as_validation_exception_field(path + "/conBMap"),
10269  13375   
                Self::ConBSet(inner) => inner.as_validation_exception_field(path + "/conBSet"),
10270  13376   
                Self::ConstrainedStructure(inner) => {
10271  13377   
                    inner.as_validation_exception_field(path + "/constrainedStructure")
10272  13378   
                }
10273  13379   
                Self::EnumString(inner) => {
10274  13380   
                    inner.as_validation_exception_field(path + "/enumString")
10275  13381   
                }
10276  13382   
                Self::LengthString(inner) => {
10277  13383   
                    inner.as_validation_exception_field(path + "/lengthString")
10278  13384   
                }
10279  13385   
            }
10280  13386   
        }
10281  13387   
    }
       13388  +
       13389  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10282  13390   
}
10283  13391   
pub(crate) mod con_b_set_internal {
10284  13392   
       13393  +
    /* CollectionConstraintViolationGenerator.kt:78 */
10285  13394   
    #[allow(clippy::enum_variant_names)]
10286  13395   
    #[derive(Debug, PartialEq)]
10287  13396   
    pub(crate) enum ConstraintViolation {
10288  13397   
        /// Constraint violation error when the list does not contain unique items
10289  13398   
        UniqueItems {
10290  13399   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
10291  13400   
            /// at least two elements.
10292  13401   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
10293  13402   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
10294  13403   
            /// Nothing is guaranteed about the order of the indices.
10295  13404   
            duplicate_indices: ::std::vec::Vec<usize>,
10296  13405   
            /// The original vector, that contains duplicate items.
10297  13406   
            original: ::std::vec::Vec<crate::model::ConBSetInner>,
10298  13407   
        },
10299  13408   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
10300  13409   
        /// The first component of the tuple is the index in the collection where the
10301  13410   
        /// first constraint violation was found.
10302  13411   
        #[doc(hidden)]
10303  13412   
        Member(
10304  13413   
            usize,
10305  13414   
            crate::model::con_b_set_inner_internal::ConstraintViolation,
10306  13415   
        ),
10307  13416   
    }
10308  13417   
10309  13418   
    impl ::std::fmt::Display for ConstraintViolation {
10310  13419   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10311  13420   
            let message = match self {
10312  13421   
                                Self::UniqueItems { duplicate_indices, .. } =>
10313  13422   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#ConBSet' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
10314  13423   
    Self::Member(index, failing_member) => format!("Value at index {index} failed to satisfy constraint. {}",
10315  13424   
                           failing_member)
10316  13425   
                            };
10317  13426   
            write!(f, "{message}")
10318  13427   
        }
10319  13428   
    }
10320  13429   
10321  13430   
    impl ::std::error::Error for ConstraintViolation {}
       13431  +
    /* CollectionConstraintViolationGenerator.kt:104 */
10322  13432   
    impl ConstraintViolation {
10323  13433   
        pub(crate) fn as_validation_exception_field(
10324  13434   
            self,
10325  13435   
            path: ::std::string::String,
10326  13436   
        ) -> crate::model::ValidationExceptionField {
10327  13437   
            match self {
10328  13438   
                        Self::UniqueItems { duplicate_indices, .. } =>
10329  13439   
                                crate::model::ValidationExceptionField {
10330  13440   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
10331  13441   
                                    path,
10332  13442   
                                },
10333  13443   
    Self::Member(index, member_constraint_violation) =>
10334  13444   
                        member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
10335  13445   
                    }
10336  13446   
        }
10337  13447   
    }
       13448  +
       13449  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10338  13450   
}
10339  13451   
pub(crate) mod con_b_set_inner_internal {
10340  13452   
       13453  +
    /* CollectionConstraintViolationGenerator.kt:78 */
10341  13454   
    #[allow(clippy::enum_variant_names)]
10342  13455   
    #[derive(Debug, PartialEq)]
10343  13456   
    pub(crate) enum ConstraintViolation {
10344  13457   
        /// Constraint violation error when the list does not contain unique items
10345  13458   
        UniqueItems {
10346  13459   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
10347  13460   
            /// at least two elements.
10348  13461   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
10349  13462   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
10350  13463   
            /// Nothing is guaranteed about the order of the indices.
10351  13464   
            duplicate_indices: ::std::vec::Vec<usize>,
10352  13465   
            /// The original vector, that contains duplicate items.
10353  13466   
            original: ::std::vec::Vec<::std::string::String>,
10354  13467   
        },
10355  13468   
    }
10356  13469   
10357  13470   
    impl ::std::fmt::Display for ConstraintViolation {
10358  13471   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10359  13472   
            let message = match self {
10360  13473   
                                Self::UniqueItems { duplicate_indices, .. } =>
10361  13474   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#ConBSetInner' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
10362  13475   
                            };
10363  13476   
            write!(f, "{message}")
10364  13477   
        }
10365  13478   
    }
10366  13479   
10367  13480   
    impl ::std::error::Error for ConstraintViolation {}
       13481  +
    /* CollectionConstraintViolationGenerator.kt:104 */
10368  13482   
    impl ConstraintViolation {
10369  13483   
        pub(crate) fn as_validation_exception_field(
10370  13484   
            self,
10371  13485   
            path: ::std::string::String,
10372  13486   
        ) -> crate::model::ValidationExceptionField {
10373  13487   
            match self {
10374  13488   
                        Self::UniqueItems { duplicate_indices, .. } =>
10375  13489   
                                crate::model::ValidationExceptionField {
10376  13490   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
10377  13491   
                                    path,
10378  13492   
                                },
10379  13493   
                    }
10380  13494   
        }
10381  13495   
    }
       13496  +
       13497  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10382  13498   
}
10383  13499   
pub(crate) mod con_b_list_internal {
10384  13500   
       13501  +
    /* CollectionConstraintViolationGenerator.kt:78 */
10385  13502   
    #[allow(clippy::enum_variant_names)]
10386  13503   
    #[derive(Debug, PartialEq)]
10387  13504   
    pub(crate) enum ConstraintViolation {
10388  13505   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
10389  13506   
        /// The first component of the tuple is the index in the collection where the
10390  13507   
        /// first constraint violation was found.
10391  13508   
        #[doc(hidden)]
10392  13509   
        Member(
10393  13510   
            usize,
10394  13511   
            crate::model::con_b_list_inner_internal::ConstraintViolation,
10395  13512   
        ),
10396  13513   
    }
10397  13514   
10398  13515   
    impl ::std::fmt::Display for ConstraintViolation {
10399  13516   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10400  13517   
            let message = match self {
10401  13518   
                Self::Member(index, failing_member) => format!(
10402  13519   
                    "Value at index {index} failed to satisfy constraint. {}",
10403  13520   
                    failing_member
10404  13521   
                ),
10405  13522   
            };
10406  13523   
            write!(f, "{message}")
10407  13524   
        }
10408  13525   
    }
10409  13526   
10410  13527   
    impl ::std::error::Error for ConstraintViolation {}
       13528  +
    /* CollectionConstraintViolationGenerator.kt:104 */
10411  13529   
    impl ConstraintViolation {
10412  13530   
        pub(crate) fn as_validation_exception_field(
10413  13531   
            self,
10414  13532   
            path: ::std::string::String,
10415  13533   
        ) -> crate::model::ValidationExceptionField {
10416  13534   
            match self {
10417  13535   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
10418  13536   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
10419  13537   
            }
10420  13538   
        }
10421  13539   
    }
       13540  +
       13541  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10422  13542   
}
10423  13543   
pub(crate) mod con_b_list_inner_internal {
10424  13544   
       13545  +
    /* CollectionConstraintViolationGenerator.kt:78 */
10425  13546   
    #[allow(clippy::enum_variant_names)]
10426  13547   
    #[derive(Debug, PartialEq)]
10427  13548   
    pub(crate) enum ConstraintViolation {
10428  13549   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
10429  13550   
        /// The first component of the tuple is the index in the collection where the
10430  13551   
        /// first constraint violation was found.
10431  13552   
        #[doc(hidden)]
10432  13553   
        Member(usize, crate::model::con_b_internal::ConstraintViolation),
10433  13554   
    }
10434  13555   
10435  13556   
    impl ::std::fmt::Display for ConstraintViolation {
10436  13557   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10437  13558   
            let message = match self {
10438  13559   
                Self::Member(index, failing_member) => format!(
10439  13560   
                    "Value at index {index} failed to satisfy constraint. {}",
10440  13561   
                    failing_member
10441  13562   
                ),
10442  13563   
            };
10443  13564   
            write!(f, "{message}")
10444  13565   
        }
10445  13566   
    }
10446  13567   
10447  13568   
    impl ::std::error::Error for ConstraintViolation {}
       13569  +
    /* CollectionConstraintViolationGenerator.kt:104 */
10448  13570   
    impl ConstraintViolation {
10449  13571   
        pub(crate) fn as_validation_exception_field(
10450  13572   
            self,
10451  13573   
            path: ::std::string::String,
10452  13574   
        ) -> crate::model::ValidationExceptionField {
10453  13575   
            match self {
10454  13576   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
10455  13577   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
10456  13578   
            }
10457  13579   
        }
10458  13580   
    }
       13581  +
       13582  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10459  13583   
}
10460         -
/// See [`ConB`](crate::model::ConB).
       13584  +
/// /* ServerBuilderGenerator.kt:171 */See [`ConB`](crate::model::ConB).
10461  13585   
pub(crate) mod con_b_internal {
10462  13586   
       13587  +
    /* RustType.kt:516 */
10463  13588   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
10464         -
    /// Holds one variant for each of the ways the builder can fail.
       13589  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
       13590  +
    /* RustType.kt:516 */
10465  13591   
    #[non_exhaustive]
       13592  +
    /* ServerBuilderConstraintViolations.kt:75 */
10466  13593   
    #[allow(clippy::enum_variant_names)]
10467  13594   
    pub(crate) enum ConstraintViolation {
10468         -
        /// `nice` was not provided but it is required when building `ConB`.
       13595  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`nice` was not provided but it is required when building `ConB`.
       13596  +
        /* ServerBuilderConstraintViolations.kt:143 */
10469  13597   
        MissingNice,
10470         -
        /// `int` was not provided but it is required when building `ConB`.
       13598  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`int` was not provided but it is required when building `ConB`.
       13599  +
        /* ServerBuilderConstraintViolations.kt:143 */
10471  13600   
        MissingInt,
       13601  +
        /* ServerBuilderConstraintViolations.kt:75 */
10472  13602   
    }
       13603  +
    /* ServerBuilderConstraintViolations.kt:117 */
10473  13604   
    impl ::std::fmt::Display for ConstraintViolation {
       13605  +
        /* ServerBuilderConstraintViolations.kt:118 */
10474  13606   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       13607  +
            /* ServerBuilderConstraintViolations.kt:119 */
10475  13608   
            match self {
       13609  +
                /* ServerBuilderConstraintViolations.kt:127 */
10476  13610   
                ConstraintViolation::MissingNice => write!(
10477  13611   
                    f,
10478  13612   
                    "`nice` was not provided but it is required when building `ConB`"
10479  13613   
                ),
       13614  +
                /* ServerBuilderConstraintViolations.kt:127 */
10480  13615   
                ConstraintViolation::MissingInt => write!(
10481  13616   
                    f,
10482  13617   
                    "`int` was not provided but it is required when building `ConB`"
10483  13618   
                ),
       13619  +
                /* ServerBuilderConstraintViolations.kt:119 */
10484  13620   
            }
       13621  +
            /* ServerBuilderConstraintViolations.kt:118 */
10485  13622   
        }
       13623  +
        /* ServerBuilderConstraintViolations.kt:117 */
10486  13624   
    }
       13625  +
    /* ServerBuilderConstraintViolations.kt:84 */
10487  13626   
    impl ::std::error::Error for ConstraintViolation {}
       13627  +
    /* ServerBuilderConstraintViolations.kt:171 */
10488  13628   
    impl ConstraintViolation {
10489  13629   
        pub(crate) fn as_validation_exception_field(
10490  13630   
            self,
10491  13631   
            path: ::std::string::String,
10492  13632   
        ) -> crate::model::ValidationExceptionField {
10493  13633   
            match self {
10494  13634   
                ConstraintViolation::MissingNice => crate::model::ValidationExceptionField {
10495  13635   
                    message: format!(
10496  13636   
                        "Value at '{}/nice' failed to satisfy constraint: Member must not be null",
10497  13637   
                        path
10498  13638   
                    ),
10499  13639   
                    path: path + "/nice",
10500  13640   
                },
10501  13641   
                ConstraintViolation::MissingInt => crate::model::ValidationExceptionField {
10502  13642   
                    message: format!(
10503  13643   
                        "Value at '{}/int' failed to satisfy constraint: Member must not be null",
10504  13644   
                        path
10505  13645   
                    ),
10506  13646   
                    path: path + "/int",
10507  13647   
                },
10508  13648   
            }
10509  13649   
        }
10510  13650   
    }
       13651  +
    /* ServerBuilderGenerator.kt:244 */
10511  13652   
    impl ::std::convert::From<Builder> for crate::constrained::MaybeConstrained<crate::model::ConB> {
10512  13653   
        fn from(builder: Builder) -> Self {
10513  13654   
            Self::Unconstrained(builder)
10514  13655   
        }
10515  13656   
    }
       13657  +
    /* ServerBuilderGenerator.kt:446 */
10516  13658   
    impl ::std::convert::TryFrom<Builder> for crate::model::ConB {
10517  13659   
        type Error = ConstraintViolation;
10518  13660   
10519  13661   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
10520  13662   
            builder.build()
10521  13663   
        }
10522  13664   
    }
10523         -
    /// A builder for [`ConB`](crate::model::ConB).
       13665  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`ConB`](crate::model::ConB).
       13666  +
    /* RustType.kt:516 */
10524  13667   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
       13668  +
    /* ServerBuilderGenerator.kt:211 */
10525  13669   
    pub(crate) struct Builder {
       13670  +
        /* ServerBuilderGenerator.kt:308 */
10526  13671   
        pub(crate) nice: ::std::option::Option<::std::string::String>,
10527         -
        pub(crate) int: ::std::option::Option<i32>,
       13672  +
        /* ServerBuilderGenerator.kt:308 */ pub(crate) int: ::std::option::Option<i32>,
       13673  +
        /* ServerBuilderGenerator.kt:308 */
10528  13674   
        pub(crate) opt_nice: ::std::option::Option<::std::string::String>,
       13675  +
        /* ServerBuilderGenerator.kt:308 */
10529  13676   
        pub(crate) opt_int: ::std::option::Option<i32>,
       13677  +
        /* ServerBuilderGenerator.kt:211 */
10530  13678   
    }
       13679  +
    /* ServerBuilderGenerator.kt:215 */
10531  13680   
    impl Builder {
       13681  +
        /* ServerBuilderGenerator.kt:426 */
10532  13682   
        #[allow(missing_docs)] // documentation missing in model
       13683  +
                               /* ServerBuilderGenerator.kt:428 */
10533  13684   
        pub(crate) fn set_nice(
10534  13685   
            mut self,
10535  13686   
            input: impl ::std::convert::Into<::std::string::String>,
10536  13687   
        ) -> Self {
       13688  +
            /* ServerBuilderGenerator.kt:429 */
10537  13689   
            self.nice = Some(input.into());
10538  13690   
            self
       13691  +
            /* ServerBuilderGenerator.kt:428 */
10539  13692   
        }
       13693  +
        /* ServerBuilderGenerator.kt:426 */
10540  13694   
        #[allow(missing_docs)] // documentation missing in model
       13695  +
                               /* ServerBuilderGenerator.kt:428 */
10541  13696   
        pub(crate) fn set_int(mut self, input: impl ::std::convert::Into<i32>) -> Self {
       13697  +
            /* ServerBuilderGenerator.kt:429 */
10542  13698   
            self.int = Some(input.into());
10543  13699   
            self
       13700  +
            /* ServerBuilderGenerator.kt:428 */
10544  13701   
        }
       13702  +
        /* ServerBuilderGenerator.kt:426 */
10545  13703   
        #[allow(missing_docs)] // documentation missing in model
       13704  +
                               /* ServerBuilderGenerator.kt:428 */
10546  13705   
        pub(crate) fn set_opt_nice(
10547  13706   
            mut self,
10548  13707   
            input: Option<impl ::std::convert::Into<::std::string::String>>,
10549  13708   
        ) -> Self {
       13709  +
            /* ServerBuilderGenerator.kt:429 */
10550  13710   
            self.opt_nice = input.map(|v| v.into());
10551  13711   
            self
       13712  +
            /* ServerBuilderGenerator.kt:428 */
10552  13713   
        }
       13714  +
        /* ServerBuilderGenerator.kt:426 */
10553  13715   
        #[allow(missing_docs)] // documentation missing in model
       13716  +
                               /* ServerBuilderGenerator.kt:428 */
10554  13717   
        pub(crate) fn set_opt_int(mut self, input: Option<impl ::std::convert::Into<i32>>) -> Self {
       13718  +
            /* ServerBuilderGenerator.kt:429 */
10555  13719   
            self.opt_int = input.map(|v| v.into());
10556  13720   
            self
       13721  +
            /* ServerBuilderGenerator.kt:428 */
10557  13722   
        }
10558         -
        /// Consumes the builder and constructs a [`ConB`](crate::model::ConB).
10559         -
        ///
       13723  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`ConB`](crate::model::ConB).
       13724  +
        /// /* ServerBuilderGenerator.kt:260 */
10560  13725   
        /// The builder fails to construct a [`ConB`](crate::model::ConB) if a [`ConstraintViolation`] occurs.
10561  13726   
        ///
10562         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
       13727  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
       13728  +
        /* ServerBuilderGenerator.kt:271 */
10563  13729   
        pub fn build(self) -> Result<crate::model::ConB, ConstraintViolation> {
10564  13730   
            self.build_enforcing_all_constraints()
10565  13731   
        }
       13732  +
        /* ServerBuilderGenerator.kt:283 */
10566  13733   
        fn build_enforcing_all_constraints(
10567  13734   
            self,
10568  13735   
        ) -> Result<crate::model::ConB, ConstraintViolation> {
10569         -
            Ok(crate::model::ConB {
10570         -
                nice: self.nice.ok_or(ConstraintViolation::MissingNice)?,
10571         -
                int: self.int.ok_or(ConstraintViolation::MissingInt)?,
10572         -
                opt_nice: self.opt_nice,
10573         -
                opt_int: self.opt_int,
10574         -
            })
       13736  +
            /* ServerBuilderGenerator.kt:287 */
       13737  +
            Ok(
       13738  +
                /* ServerBuilderGenerator.kt:542 */
       13739  +
                crate::model::ConB {
       13740  +
                    /* ServerBuilderGenerator.kt:546 */
       13741  +
                    nice: self
       13742  +
                        .nice
       13743  +
                        /* ServerBuilderGenerator.kt:569 */
       13744  +
                        .ok_or(ConstraintViolation::MissingNice)?,
       13745  +
                    /* ServerBuilderGenerator.kt:546 */
       13746  +
                    int: self
       13747  +
                        .int
       13748  +
                        /* ServerBuilderGenerator.kt:569 */
       13749  +
                        .ok_or(ConstraintViolation::MissingInt)?,
       13750  +
                    /* ServerBuilderGenerator.kt:546 */
       13751  +
                    opt_nice: self.opt_nice,
       13752  +
                    /* ServerBuilderGenerator.kt:546 */
       13753  +
                    opt_int: self.opt_int,
       13754  +
                    /* ServerBuilderGenerator.kt:542 */
       13755  +
                }, /* ServerBuilderGenerator.kt:287 */
       13756  +
            )
       13757  +
            /* ServerBuilderGenerator.kt:283 */
10575  13758   
        }
       13759  +
        /* ServerBuilderGenerator.kt:215 */
10576  13760   
    }
       13761  +
       13762  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10577  13763   
}
10578         -
/// See [`ConB`](crate::model::ConB).
       13764  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`ConB`](crate::model::ConB).
10579  13765   
pub mod con_b {
10580  13766   
       13767  +
    /* RustType.kt:516 */
10581  13768   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
10582         -
    /// Holds one variant for each of the ways the builder can fail.
10583         -
       13769  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
       13770  +
    /* ServerBuilderConstraintViolations.kt:75 */
10584  13771   
    #[allow(clippy::enum_variant_names)]
10585  13772   
    pub enum ConstraintViolation {
10586         -
        /// `nice` was not provided but it is required when building `ConB`.
       13773  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`nice` was not provided but it is required when building `ConB`.
       13774  +
        /* ServerBuilderConstraintViolations.kt:143 */
10587  13775   
        MissingNice,
10588         -
        /// `int` was not provided but it is required when building `ConB`.
       13776  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`int` was not provided but it is required when building `ConB`.
       13777  +
        /* ServerBuilderConstraintViolations.kt:143 */
10589  13778   
        MissingInt,
       13779  +
        /* ServerBuilderConstraintViolations.kt:75 */
10590  13780   
    }
       13781  +
    /* ServerBuilderConstraintViolations.kt:117 */
10591  13782   
    impl ::std::fmt::Display for ConstraintViolation {
       13783  +
        /* ServerBuilderConstraintViolations.kt:118 */
10592  13784   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       13785  +
            /* ServerBuilderConstraintViolations.kt:119 */
10593  13786   
            match self {
       13787  +
                /* ServerBuilderConstraintViolations.kt:127 */
10594  13788   
                ConstraintViolation::MissingNice => write!(
10595  13789   
                    f,
10596  13790   
                    "`nice` was not provided but it is required when building `ConB`"
10597  13791   
                ),
       13792  +
                /* ServerBuilderConstraintViolations.kt:127 */
10598  13793   
                ConstraintViolation::MissingInt => write!(
10599  13794   
                    f,
10600  13795   
                    "`int` was not provided but it is required when building `ConB`"
10601  13796   
                ),
       13797  +
                /* ServerBuilderConstraintViolations.kt:119 */
10602  13798   
            }
       13799  +
            /* ServerBuilderConstraintViolations.kt:118 */
10603  13800   
        }
       13801  +
        /* ServerBuilderConstraintViolations.kt:117 */
10604  13802   
    }
       13803  +
    /* ServerBuilderConstraintViolations.kt:84 */
10605  13804   
    impl ::std::error::Error for ConstraintViolation {}
       13805  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:254 */
10606  13806   
    impl ::std::convert::TryFrom<Builder> for crate::model::ConB {
10607  13807   
        type Error = ConstraintViolation;
10608  13808   
10609  13809   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
10610  13810   
            builder.build()
10611  13811   
        }
10612  13812   
    }
10613         -
    /// A builder for [`ConB`](crate::model::ConB).
       13813  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`ConB`](crate::model::ConB).
       13814  +
    /* RustType.kt:516 */
10614  13815   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
       13816  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
10615  13817   
    pub struct Builder {
       13818  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
10616  13819   
        pub(crate) nice: ::std::option::Option<::std::string::String>,
       13820  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
10617  13821   
        pub(crate) int: ::std::option::Option<i32>,
       13822  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
10618  13823   
        pub(crate) opt_nice: ::std::option::Option<::std::string::String>,
       13824  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
10619  13825   
        pub(crate) opt_int: ::std::option::Option<i32>,
       13826  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
10620  13827   
    }
       13828  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
10621  13829   
    impl Builder {
       13830  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
10622  13831   
        #[allow(missing_docs)] // documentation missing in model
       13832  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
10623  13833   
        pub fn nice(mut self, input: ::std::string::String) -> Self {
10624         -
            self.nice = Some(input);
       13834  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       13835  +
            self.nice =
       13836  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       13837  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       13838  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       13839  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
10625  13840   
            self
       13841  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
10626  13842   
        }
       13843  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
10627  13844   
        #[allow(missing_docs)] // documentation missing in model
       13845  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
10628  13846   
        pub fn int(mut self, input: i32) -> Self {
10629         -
            self.int = Some(input);
       13847  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       13848  +
            self.int =
       13849  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       13850  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       13851  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       13852  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
10630  13853   
            self
       13854  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
10631  13855   
        }
       13856  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
10632  13857   
        #[allow(missing_docs)] // documentation missing in model
       13858  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
10633  13859   
        pub fn opt_nice(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
10634         -
            self.opt_nice = input;
       13860  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       13861  +
            self.opt_nice =
       13862  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       13863  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
10635  13864   
            self
       13865  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
10636  13866   
        }
       13867  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
10637  13868   
        #[allow(missing_docs)] // documentation missing in model
       13869  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
10638  13870   
        pub fn opt_int(mut self, input: ::std::option::Option<i32>) -> Self {
10639         -
            self.opt_int = input;
       13871  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       13872  +
            self.opt_int =
       13873  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       13874  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
10640  13875   
            self
       13876  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
10641  13877   
        }
10642         -
        /// Consumes the builder and constructs a [`ConB`](crate::model::ConB).
10643         -
        ///
       13878  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`ConB`](crate::model::ConB).
       13879  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:152 */
10644  13880   
        /// The builder fails to construct a [`ConB`](crate::model::ConB) if you do not provide a value for all non-`Option`al members.
10645  13881   
        ///
       13882  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
10646  13883   
        pub fn build(self) -> Result<crate::model::ConB, ConstraintViolation> {
10647  13884   
            self.build_enforcing_required_and_enum_traits()
10648  13885   
        }
       13886  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
10649  13887   
        fn build_enforcing_required_and_enum_traits(
10650  13888   
            self,
10651  13889   
        ) -> Result<crate::model::ConB, ConstraintViolation> {
10652         -
            Ok(crate::model::ConB {
10653         -
                nice: self.nice.ok_or(ConstraintViolation::MissingNice)?,
10654         -
                int: self.int.ok_or(ConstraintViolation::MissingInt)?,
10655         -
                opt_nice: self.opt_nice,
10656         -
                opt_int: self.opt_int,
10657         -
            })
       13890  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
       13891  +
            Ok(
       13892  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
       13893  +
                crate::model::ConB {
       13894  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       13895  +
                    nice: self
       13896  +
                        .nice
       13897  +
                        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:202 */
       13898  +
                        .ok_or(ConstraintViolation::MissingNice)?,
       13899  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       13900  +
                    int: self
       13901  +
                        .int
       13902  +
                        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:202 */
       13903  +
                        .ok_or(ConstraintViolation::MissingInt)?,
       13904  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       13905  +
                    opt_nice: self.opt_nice,
       13906  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       13907  +
                    opt_int: self.opt_int,
       13908  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
       13909  +
                }, /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
       13910  +
            )
       13911  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
10658  13912   
        }
       13913  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
10659  13914   
    }
       13915  +
       13916  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10660  13917   
}
10661  13918   
pub(crate) mod sparse_length_list_internal {
10662  13919   
       13920  +
    /* CollectionConstraintViolationGenerator.kt:78 */
10663  13921   
    #[allow(clippy::enum_variant_names)]
10664  13922   
    #[derive(Debug, PartialEq)]
10665  13923   
    pub(crate) enum ConstraintViolation {
10666  13924   
        /// Constraint violation error when the list doesn't have the required length
10667  13925   
        Length(usize),
10668  13926   
    }
10669  13927   
10670  13928   
    impl ::std::fmt::Display for ConstraintViolation {
10671  13929   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10672  13930   
            let message = match self {
10673  13931   
                Self::Length(length) => {
10674  13932   
                    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)
10675  13933   
                }
10676  13934   
            };
10677  13935   
            write!(f, "{message}")
10678  13936   
        }
10679  13937   
    }
10680  13938   
10681  13939   
    impl ::std::error::Error for ConstraintViolation {}
       13940  +
    /* CollectionConstraintViolationGenerator.kt:104 */
10682  13941   
    impl ConstraintViolation {
10683  13942   
        pub(crate) fn as_validation_exception_field(
10684  13943   
            self,
10685  13944   
            path: ::std::string::String,
10686  13945   
        ) -> crate::model::ValidationExceptionField {
10687  13946   
            match self {
10688  13947   
                        Self::Length(length) => crate::model::ValidationExceptionField {
10689  13948   
                                message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length greater than or equal to 69", length, &path),
10690  13949   
                                path,
10691  13950   
                            },
10692  13951   
                    }
10693  13952   
        }
10694  13953   
    }
       13954  +
       13955  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10695  13956   
}
10696  13957   
pub(crate) mod sparse_length_map_internal {
10697  13958   
       13959  +
    /* MapConstraintViolationGenerator.kt:82 */
10698  13960   
    #[allow(clippy::enum_variant_names)]
10699  13961   
    #[derive(Debug, PartialEq)]
10700  13962   
    pub(crate) enum ConstraintViolation {
10701  13963   
        Length(usize),
10702  13964   
    }
10703  13965   
10704  13966   
    impl ::std::fmt::Display for ConstraintViolation {
10705  13967   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10706  13968   
            match self {
10707  13969   
                Self::Length(length) => {
10708  13970   
                    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)
10709  13971   
                }
10710  13972   
            }
10711  13973   
        }
10712  13974   
    }
10713  13975   
10714  13976   
    impl ::std::error::Error for ConstraintViolation {}
       13977  +
    /* MapConstraintViolationGenerator.kt:111 */
10715  13978   
    impl ConstraintViolation {
10716  13979   
        pub(crate) fn as_validation_exception_field(
10717  13980   
            self,
10718  13981   
            path: ::std::string::String,
10719  13982   
        ) -> crate::model::ValidationExceptionField {
10720  13983   
            match self {
10721  13984   
            Self::Length(length) => crate::model::ValidationExceptionField {
10722  13985   
                                        message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length greater than or equal to 69", length, &path),
10723  13986   
                                        path,
10724  13987   
                                    },
10725  13988   
        }
10726  13989   
        }
10727  13990   
    }
       13991  +
       13992  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10728  13993   
}
10729  13994   
pub(crate) mod sparse_list_internal {
10730  13995   
       13996  +
    /* CollectionConstraintViolationGenerator.kt:78 */
10731  13997   
    #[allow(clippy::enum_variant_names)]
10732  13998   
    #[derive(Debug, PartialEq)]
10733  13999   
    pub(crate) enum ConstraintViolation {
10734  14000   
        /// Constraint violation error when an element doesn't satisfy its own constraints.
10735  14001   
        /// The first component of the tuple is the index in the collection where the
10736  14002   
        /// first constraint violation was found.
10737  14003   
        #[doc(hidden)]
10738  14004   
        Member(
10739  14005   
            usize,
10740  14006   
            crate::model::length_string_internal::ConstraintViolation,
10741  14007   
        ),
10742  14008   
    }
10743  14009   
10744  14010   
    impl ::std::fmt::Display for ConstraintViolation {
10745  14011   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10746  14012   
            let message = match self {
10747  14013   
                Self::Member(index, failing_member) => format!(
10748  14014   
                    "Value at index {index} failed to satisfy constraint. {}",
10749  14015   
                    failing_member
10750  14016   
                ),
10751  14017   
            };
10752  14018   
            write!(f, "{message}")
10753  14019   
        }
10754  14020   
    }
10755  14021   
10756  14022   
    impl ::std::error::Error for ConstraintViolation {}
       14023  +
    /* CollectionConstraintViolationGenerator.kt:104 */
10757  14024   
    impl ConstraintViolation {
10758  14025   
        pub(crate) fn as_validation_exception_field(
10759  14026   
            self,
10760  14027   
            path: ::std::string::String,
10761  14028   
        ) -> crate::model::ValidationExceptionField {
10762  14029   
            match self {
10763  14030   
                Self::Member(index, member_constraint_violation) => member_constraint_violation
10764  14031   
                    .as_validation_exception_field(path + "/" + &index.to_string()),
10765  14032   
            }
10766  14033   
        }
10767  14034   
    }
       14035  +
       14036  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10768  14037   
}
10769  14038   
pub(crate) mod sparse_map_internal {
10770  14039   
       14040  +
    /* MapConstraintViolationGenerator.kt:82 */
10771  14041   
    #[allow(clippy::enum_variant_names)]
10772  14042   
    #[derive(Debug, PartialEq)]
10773  14043   
    pub(crate) enum ConstraintViolation {
10774  14044   
        #[doc(hidden)]
10775  14045   
        Value(
10776  14046   
            ::std::string::String,
10777  14047   
            crate::model::unique_items_list_internal::ConstraintViolation,
10778  14048   
        ),
10779  14049   
    }
10780  14050   
10781  14051   
    impl ::std::fmt::Display for ConstraintViolation {
10782  14052   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10783  14053   
            match self {
10784  14054   
                Self::Value(_, value_constraint_violation) => {
10785  14055   
                    write!(f, "{}", value_constraint_violation)
10786  14056   
                }
10787  14057   
            }
10788  14058   
        }
10789  14059   
    }
10790  14060   
10791  14061   
    impl ::std::error::Error for ConstraintViolation {}
       14062  +
    /* MapConstraintViolationGenerator.kt:111 */
10792  14063   
    impl ConstraintViolation {
10793  14064   
        pub(crate) fn as_validation_exception_field(
10794  14065   
            self,
10795  14066   
            path: ::std::string::String,
10796  14067   
        ) -> crate::model::ValidationExceptionField {
10797  14068   
            match self {
10798  14069   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
10799  14070   
                    .as_validation_exception_field(path + "/" + key.as_str()),
10800  14071   
            }
10801  14072   
        }
10802  14073   
    }
       14074  +
       14075  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10803  14076   
}
10804  14077   
pub(crate) mod unique_items_list_internal {
10805  14078   
       14079  +
    /* CollectionConstraintViolationGenerator.kt:78 */
10806  14080   
    #[allow(clippy::enum_variant_names)]
10807  14081   
    #[derive(Debug, PartialEq)]
10808  14082   
    pub(crate) enum ConstraintViolation {
10809  14083   
        /// Constraint violation error when the list does not contain unique items
10810  14084   
        UniqueItems {
10811  14085   
            /// A vector of indices into `original` pointing to all duplicate items. This vector has
10812  14086   
            /// at least two elements.
10813  14087   
            /// More specifically, for every element `idx_1` in `duplicate_indices`, there exists another
10814  14088   
            /// distinct element `idx_2` such that `original[idx_1] == original[idx_2]` is `true`.
10815  14089   
            /// Nothing is guaranteed about the order of the indices.
10816  14090   
            duplicate_indices: ::std::vec::Vec<usize>,
10817  14091   
            /// The original vector, that contains duplicate items.
10818  14092   
            original: ::std::vec::Vec<::std::string::String>,
10819  14093   
        },
10820  14094   
    }
10821  14095   
10822  14096   
    impl ::std::fmt::Display for ConstraintViolation {
10823  14097   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10824  14098   
            let message = match self {
10825  14099   
                                Self::UniqueItems { duplicate_indices, .. } =>
10826  14100   
                            format!("Value with repeated values at indices {:?} provided for 'com.amazonaws.constraints#UniqueItemsList' failed to satisfy constraint: Member must have unique values", &duplicate_indices),
10827  14101   
                            };
10828  14102   
            write!(f, "{message}")
10829  14103   
        }
10830  14104   
    }
10831  14105   
10832  14106   
    impl ::std::error::Error for ConstraintViolation {}
       14107  +
    /* CollectionConstraintViolationGenerator.kt:104 */
10833  14108   
    impl ConstraintViolation {
10834  14109   
        pub(crate) fn as_validation_exception_field(
10835  14110   
            self,
10836  14111   
            path: ::std::string::String,
10837  14112   
        ) -> crate::model::ValidationExceptionField {
10838  14113   
            match self {
10839  14114   
                        Self::UniqueItems { duplicate_indices, .. } =>
10840  14115   
                                crate::model::ValidationExceptionField {
10841  14116   
                                    message: format!("Value with repeated values at indices {:?} at '{}' failed to satisfy constraint: Member must have unique values", &duplicate_indices, &path),
10842  14117   
                                    path,
10843  14118   
                                },
10844  14119   
                    }
10845  14120   
        }
10846  14121   
    }
       14122  +
       14123  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10847  14124   
}
10848  14125   
pub(crate) mod map_of_map_of_list_of_list_of_con_b_internal {
10849  14126   
       14127  +
    /* MapConstraintViolationGenerator.kt:82 */
10850  14128   
    #[allow(clippy::enum_variant_names)]
10851  14129   
    #[derive(Debug, PartialEq)]
10852  14130   
    pub(crate) enum ConstraintViolation {
10853  14131   
        #[doc(hidden)]
10854  14132   
        Value(
10855  14133   
            ::std::string::String,
10856  14134   
            crate::model::map_of_list_of_list_of_con_b_internal::ConstraintViolation,
10857  14135   
        ),
10858  14136   
    }
10859  14137   
10860  14138   
    impl ::std::fmt::Display for ConstraintViolation {
10861  14139   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10862  14140   
            match self {
10863  14141   
                Self::Value(_, value_constraint_violation) => {
10864  14142   
                    write!(f, "{}", value_constraint_violation)
10865  14143   
                }
10866  14144   
            }
10867  14145   
        }
10868  14146   
    }
10869  14147   
10870  14148   
    impl ::std::error::Error for ConstraintViolation {}
       14149  +
    /* MapConstraintViolationGenerator.kt:111 */
10871  14150   
    impl ConstraintViolation {
10872  14151   
        pub(crate) fn as_validation_exception_field(
10873  14152   
            self,
10874  14153   
            path: ::std::string::String,
10875  14154   
        ) -> crate::model::ValidationExceptionField {
10876  14155   
            match self {
10877  14156   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
10878  14157   
                    .as_validation_exception_field(path + "/" + key.as_str()),
10879  14158   
            }
10880  14159   
        }
10881  14160   
    }
       14161  +
       14162  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10882  14163   
}
10883  14164   
pub(crate) mod map_of_list_of_list_of_con_b_internal {
10884  14165   
       14166  +
    /* MapConstraintViolationGenerator.kt:82 */
10885  14167   
    #[allow(clippy::enum_variant_names)]
10886  14168   
    #[derive(Debug, PartialEq)]
10887  14169   
    pub(crate) enum ConstraintViolation {
10888  14170   
        #[doc(hidden)]
10889  14171   
        Value(
10890  14172   
            ::std::string::String,
10891  14173   
            crate::model::con_b_list_internal::ConstraintViolation,
10892  14174   
        ),
10893  14175   
    }
10894  14176   
10895  14177   
    impl ::std::fmt::Display for ConstraintViolation {
10896  14178   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10897  14179   
            match self {
10898  14180   
                Self::Value(_, value_constraint_violation) => {
10899  14181   
                    write!(f, "{}", value_constraint_violation)
10900  14182   
                }
10901  14183   
            }
10902  14184   
        }
10903  14185   
    }
10904  14186   
10905  14187   
    impl ::std::error::Error for ConstraintViolation {}
       14188  +
    /* MapConstraintViolationGenerator.kt:111 */
10906  14189   
    impl ConstraintViolation {
10907  14190   
        pub(crate) fn as_validation_exception_field(
10908  14191   
            self,
10909  14192   
            path: ::std::string::String,
10910  14193   
        ) -> crate::model::ValidationExceptionField {
10911  14194   
            match self {
10912  14195   
                Self::Value(key, value_constraint_violation) => value_constraint_violation
10913  14196   
                    .as_validation_exception_field(path + "/" + key.as_str()),
10914  14197   
            }
10915  14198   
        }
10916  14199   
    }
       14200  +
       14201  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10917  14202   
}
10918  14203   
pub(crate) mod length_map_internal {
10919  14204   
       14205  +
    /* MapConstraintViolationGenerator.kt:82 */
10920  14206   
    #[allow(clippy::enum_variant_names)]
10921  14207   
    #[derive(Debug, PartialEq)]
10922  14208   
    pub(crate) enum ConstraintViolation {
10923  14209   
        Length(usize),
10924  14210   
    }
10925  14211   
10926  14212   
    impl ::std::fmt::Display for ConstraintViolation {
10927  14213   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10928  14214   
            match self {
10929  14215   
                Self::Length(length) => {
10930  14216   
                    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)
10931  14217   
                }
10932  14218   
            }
10933  14219   
        }
10934  14220   
    }
10935  14221   
10936  14222   
    impl ::std::error::Error for ConstraintViolation {}
       14223  +
    /* MapConstraintViolationGenerator.kt:111 */
10937  14224   
    impl ConstraintViolation {
10938  14225   
        pub(crate) fn as_validation_exception_field(
10939  14226   
            self,
10940  14227   
            path: ::std::string::String,
10941  14228   
        ) -> crate::model::ValidationExceptionField {
10942  14229   
            match self {
10943  14230   
            Self::Length(length) => crate::model::ValidationExceptionField {
10944  14231   
                                        message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 1 and 69, inclusive", length, &path),
10945  14232   
                                        path,
10946  14233   
                                    },
10947  14234   
        }
10948  14235   
        }
10949  14236   
    }
       14237  +
       14238  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10950  14239   
}
10951  14240   
pub(crate) mod sensitive_length_list_internal {
10952  14241   
       14242  +
    /* CollectionConstraintViolationGenerator.kt:78 */
10953  14243   
    #[allow(clippy::enum_variant_names)]
10954  14244   
    #[derive(Debug, PartialEq)]
10955  14245   
    pub(crate) enum ConstraintViolation {
10956  14246   
        /// Constraint violation error when the list doesn't have the required length
10957  14247   
        Length(usize),
10958  14248   
    }
10959  14249   
10960  14250   
    impl ::std::fmt::Display for ConstraintViolation {
10961  14251   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
10962  14252   
            let message = match self {
10963  14253   
                Self::Length(length) => {
10964  14254   
                    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)
10965  14255   
                }
10966  14256   
            };
10967  14257   
            write!(f, "{message}")
10968  14258   
        }
10969  14259   
    }
10970  14260   
10971  14261   
    impl ::std::error::Error for ConstraintViolation {}
       14262  +
    /* CollectionConstraintViolationGenerator.kt:104 */
10972  14263   
    impl ConstraintViolation {
10973  14264   
        pub(crate) fn as_validation_exception_field(
10974  14265   
            self,
10975  14266   
            path: ::std::string::String,
10976  14267   
        ) -> crate::model::ValidationExceptionField {
10977  14268   
            match self {
10978  14269   
                        Self::Length(length) => crate::model::ValidationExceptionField {
10979  14270   
                                message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length less than or equal to 69", length, &path),
10980  14271   
                                path,
10981  14272   
                            },
10982  14273   
                    }
10983  14274   
        }
10984  14275   
    }
       14276  +
       14277  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
10985  14278   
}
10986         -
/// See [`SensitiveStructure`](crate::model::SensitiveStructure).
       14279  +
/// /* ServerBuilderGenerator.kt:171 */See [`SensitiveStructure`](crate::model::SensitiveStructure).
10987  14280   
pub(crate) mod sensitive_structure_internal {
10988  14281   
       14282  +
    /* ServerBuilderGenerator.kt:461 */
10989  14283   
    impl ::std::convert::From<Builder> for crate::model::SensitiveStructure {
10990  14284   
        fn from(builder: Builder) -> Self {
10991  14285   
            builder.build()
10992  14286   
        }
10993  14287   
    }
10994         -
    /// A builder for [`SensitiveStructure`](crate::model::SensitiveStructure).
       14288  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`SensitiveStructure`](crate::model::SensitiveStructure).
       14289  +
    /* RustType.kt:516 */
10995  14290   
    #[derive(::std::clone::Clone, ::std::default::Default)]
10996         -
    pub(crate) struct Builder {}
       14291  +
    /* ServerBuilderGenerator.kt:211 */
       14292  +
    pub(crate) struct Builder {/* ServerBuilderGenerator.kt:211 */}
       14293  +
    /* ServerBuilderGenerator.kt:215 */
10997  14294   
    impl Builder {
10998         -
        /// Consumes the builder and constructs a [`SensitiveStructure`](crate::model::SensitiveStructure).
       14295  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`SensitiveStructure`](crate::model::SensitiveStructure).
       14296  +
        /* ServerBuilderGenerator.kt:271 */
10999  14297   
        pub fn build(self) -> crate::model::SensitiveStructure {
11000  14298   
            self.build_enforcing_all_constraints()
11001  14299   
        }
       14300  +
        /* ServerBuilderGenerator.kt:283 */
11002  14301   
        fn build_enforcing_all_constraints(self) -> crate::model::SensitiveStructure {
11003         -
            crate::model::SensitiveStructure {}
       14302  +
            /* ServerBuilderGenerator.kt:542 */
       14303  +
            crate::model::SensitiveStructure {
       14304  +
            /* ServerBuilderGenerator.kt:542 */}
       14305  +
            /* ServerBuilderGenerator.kt:283 */
11004  14306   
        }
       14307  +
        /* ServerBuilderGenerator.kt:215 */
11005  14308   
    }
       14309  +
    /* ServerBuilderGenerator.kt:474 */
11006  14310   
    impl ::std::fmt::Debug for Builder {
       14311  +
        /* ServerBuilderGenerator.kt:475 */
11007  14312   
        fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
       14313  +
            /* ServerBuilderGenerator.kt:476 */
11008  14314   
            let mut formatter = f.debug_struct("Builder");
       14315  +
            /* ServerBuilderGenerator.kt:485 */
11009  14316   
            formatter.finish()
       14317  +
            /* ServerBuilderGenerator.kt:475 */
11010  14318   
        }
       14319  +
        /* ServerBuilderGenerator.kt:474 */
11011  14320   
    }
       14321  +
       14322  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11012  14323   
}
11013         -
/// See [`SensitiveStructure`](crate::model::SensitiveStructure).
       14324  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`SensitiveStructure`](crate::model::SensitiveStructure).
11014  14325   
pub mod sensitive_structure {
11015  14326   
       14327  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
11016  14328   
    impl ::std::convert::From<Builder> for crate::model::SensitiveStructure {
11017  14329   
        fn from(builder: Builder) -> Self {
11018  14330   
            builder.build()
11019  14331   
        }
11020  14332   
    }
11021         -
    /// A builder for [`SensitiveStructure`](crate::model::SensitiveStructure).
       14333  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`SensitiveStructure`](crate::model::SensitiveStructure).
       14334  +
    /* RustType.kt:516 */
11022  14335   
    #[derive(::std::clone::Clone, ::std::default::Default)]
11023         -
    pub struct Builder {}
       14336  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
       14337  +
    pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
       14338  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
11024  14339   
    impl Builder {
11025         -
        /// Consumes the builder and constructs a [`SensitiveStructure`](crate::model::SensitiveStructure).
       14340  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`SensitiveStructure`](crate::model::SensitiveStructure).
       14341  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
11026  14342   
        pub fn build(self) -> crate::model::SensitiveStructure {
11027  14343   
            self.build_enforcing_required_and_enum_traits()
11028  14344   
        }
       14345  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
11029  14346   
        fn build_enforcing_required_and_enum_traits(self) -> crate::model::SensitiveStructure {
11030         -
            crate::model::SensitiveStructure {}
       14347  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
       14348  +
            crate::model::SensitiveStructure {
       14349  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
       14350  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
11031  14351   
        }
       14352  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
11032  14353   
    }
       14354  +
       14355  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11033  14356   
}
11034  14357   
pub(crate) mod length_list_internal {
11035  14358   
       14359  +
    /* CollectionConstraintViolationGenerator.kt:78 */
11036  14360   
    #[allow(clippy::enum_variant_names)]
11037  14361   
    #[derive(Debug, PartialEq)]
11038  14362   
    pub(crate) enum ConstraintViolation {
11039  14363   
        /// Constraint violation error when the list doesn't have the required length
11040  14364   
        Length(usize),
11041  14365   
    }
11042  14366   
11043  14367   
    impl ::std::fmt::Display for ConstraintViolation {
11044  14368   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11045  14369   
            let message = match self {
11046  14370   
                Self::Length(length) => {
11047  14371   
                    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)
11048  14372   
                }
11049  14373   
            };
11050  14374   
            write!(f, "{message}")
11051  14375   
        }
11052  14376   
    }
11053  14377   
11054  14378   
    impl ::std::error::Error for ConstraintViolation {}
       14379  +
    /* CollectionConstraintViolationGenerator.kt:104 */
11055  14380   
    impl ConstraintViolation {
11056  14381   
        pub(crate) fn as_validation_exception_field(
11057  14382   
            self,
11058  14383   
            path: ::std::string::String,
11059  14384   
        ) -> crate::model::ValidationExceptionField {
11060  14385   
            match self {
11061  14386   
                        Self::Length(length) => crate::model::ValidationExceptionField {
11062  14387   
                                message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length less than or equal to 69", length, &path),
11063  14388   
                                path,
11064  14389   
                            },
11065  14390   
                    }
11066  14391   
        }
11067  14392   
    }
       14393  +
       14394  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11068  14395   
}
11069  14396   
pub(crate) mod fixed_value_byte_internal {
11070  14397   
       14398  +
    /* ConstrainedNumberGenerator.kt:139 */
11071  14399   
    #[derive(Debug, PartialEq)]
11072  14400   
    pub enum ConstraintViolation {
11073  14401   
        Range(i8),
11074  14402   
    }
11075  14403   
11076  14404   
    impl ::std::fmt::Display for ConstraintViolation {
11077  14405   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11078  14406   
            write!(f, "Value for `com.amazonaws.constraints#FixedValueByte`failed to satisfy constraint: Member must be between 10 and 10, inclusive")
11079  14407   
        }
11080  14408   
    }
11081  14409   
11082  14410   
    impl ::std::error::Error for ConstraintViolation {}
       14411  +
    /* ConstrainedNumberGenerator.kt:159 */
11083  14412   
    impl ConstraintViolation {
11084  14413   
        pub(crate) fn as_validation_exception_field(
11085  14414   
            self,
11086  14415   
            path: ::std::string::String,
11087  14416   
        ) -> crate::model::ValidationExceptionField {
11088  14417   
            match self {
11089  14418   
                            Self::Range(_) => crate::model::ValidationExceptionField {
11090  14419   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 10 and 10, inclusive", &path),
11091  14420   
                            path,
11092  14421   
                        },
11093  14422   
                        }
11094  14423   
        }
11095  14424   
    }
       14425  +
       14426  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11096  14427   
}
11097  14428   
pub(crate) mod max_range_byte_internal {
11098  14429   
       14430  +
    /* ConstrainedNumberGenerator.kt:139 */
11099  14431   
    #[derive(Debug, PartialEq)]
11100  14432   
    pub enum ConstraintViolation {
11101  14433   
        Range(i8),
11102  14434   
    }
11103  14435   
11104  14436   
    impl ::std::fmt::Display for ConstraintViolation {
11105  14437   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11106  14438   
            write!(f, "Value for `com.amazonaws.constraints#MaxRangeByte`failed to satisfy constraint: Member must be less than or equal to 11")
11107  14439   
        }
11108  14440   
    }
11109  14441   
11110  14442   
    impl ::std::error::Error for ConstraintViolation {}
       14443  +
    /* ConstrainedNumberGenerator.kt:159 */
11111  14444   
    impl ConstraintViolation {
11112  14445   
        pub(crate) fn as_validation_exception_field(
11113  14446   
            self,
11114  14447   
            path: ::std::string::String,
11115  14448   
        ) -> crate::model::ValidationExceptionField {
11116  14449   
            match self {
11117  14450   
                            Self::Range(_) => crate::model::ValidationExceptionField {
11118  14451   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be less than or equal to 11", &path),
11119  14452   
                            path,
11120  14453   
                        },
11121  14454   
                        }
11122  14455   
        }
11123  14456   
    }
       14457  +
       14458  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11124  14459   
}
11125  14460   
pub(crate) mod min_range_byte_internal {
11126  14461   
       14462  +
    /* ConstrainedNumberGenerator.kt:139 */
11127  14463   
    #[derive(Debug, PartialEq)]
11128  14464   
    pub enum ConstraintViolation {
11129  14465   
        Range(i8),
11130  14466   
    }
11131  14467   
11132  14468   
    impl ::std::fmt::Display for ConstraintViolation {
11133  14469   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11134  14470   
            write!(f, "Value for `com.amazonaws.constraints#MinRangeByte`failed to satisfy constraint: Member must be greater than or equal to -10")
11135  14471   
        }
11136  14472   
    }
11137  14473   
11138  14474   
    impl ::std::error::Error for ConstraintViolation {}
       14475  +
    /* ConstrainedNumberGenerator.kt:159 */
11139  14476   
    impl ConstraintViolation {
11140  14477   
        pub(crate) fn as_validation_exception_field(
11141  14478   
            self,
11142  14479   
            path: ::std::string::String,
11143  14480   
        ) -> crate::model::ValidationExceptionField {
11144  14481   
            match self {
11145  14482   
                            Self::Range(_) => crate::model::ValidationExceptionField {
11146  14483   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be greater than or equal to -10", &path),
11147  14484   
                            path,
11148  14485   
                        },
11149  14486   
                        }
11150  14487   
        }
11151  14488   
    }
       14489  +
       14490  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11152  14491   
}
11153  14492   
pub(crate) mod fixed_value_long_internal {
11154  14493   
       14494  +
    /* ConstrainedNumberGenerator.kt:139 */
11155  14495   
    #[derive(Debug, PartialEq)]
11156  14496   
    pub enum ConstraintViolation {
11157  14497   
        Range(i64),
11158  14498   
    }
11159  14499   
11160  14500   
    impl ::std::fmt::Display for ConstraintViolation {
11161  14501   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11162  14502   
            write!(f, "Value for `com.amazonaws.constraints#FixedValueLong`failed to satisfy constraint: Member must be between 10 and 10, inclusive")
11163  14503   
        }
11164  14504   
    }
11165  14505   
11166  14506   
    impl ::std::error::Error for ConstraintViolation {}
       14507  +
    /* ConstrainedNumberGenerator.kt:159 */
11167  14508   
    impl ConstraintViolation {
11168  14509   
        pub(crate) fn as_validation_exception_field(
11169  14510   
            self,
11170  14511   
            path: ::std::string::String,
11171  14512   
        ) -> crate::model::ValidationExceptionField {
11172  14513   
            match self {
11173  14514   
                            Self::Range(_) => crate::model::ValidationExceptionField {
11174  14515   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 10 and 10, inclusive", &path),
11175  14516   
                            path,
11176  14517   
                        },
11177  14518   
                        }
11178  14519   
        }
11179  14520   
    }
       14521  +
       14522  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11180  14523   
}
11181  14524   
pub(crate) mod max_range_long_internal {
11182  14525   
       14526  +
    /* ConstrainedNumberGenerator.kt:139 */
11183  14527   
    #[derive(Debug, PartialEq)]
11184  14528   
    pub enum ConstraintViolation {
11185  14529   
        Range(i64),
11186  14530   
    }
11187  14531   
11188  14532   
    impl ::std::fmt::Display for ConstraintViolation {
11189  14533   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11190  14534   
            write!(f, "Value for `com.amazonaws.constraints#MaxRangeLong`failed to satisfy constraint: Member must be less than or equal to 11")
11191  14535   
        }
11192  14536   
    }
11193  14537   
11194  14538   
    impl ::std::error::Error for ConstraintViolation {}
       14539  +
    /* ConstrainedNumberGenerator.kt:159 */
11195  14540   
    impl ConstraintViolation {
11196  14541   
        pub(crate) fn as_validation_exception_field(
11197  14542   
            self,
11198  14543   
            path: ::std::string::String,
11199  14544   
        ) -> crate::model::ValidationExceptionField {
11200  14545   
            match self {
11201  14546   
                            Self::Range(_) => crate::model::ValidationExceptionField {
11202  14547   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be less than or equal to 11", &path),
11203  14548   
                            path,
11204  14549   
                        },
11205  14550   
                        }
11206  14551   
        }
11207  14552   
    }
       14553  +
       14554  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11208  14555   
}
11209  14556   
pub(crate) mod min_range_long_internal {
11210  14557   
       14558  +
    /* ConstrainedNumberGenerator.kt:139 */
11211  14559   
    #[derive(Debug, PartialEq)]
11212  14560   
    pub enum ConstraintViolation {
11213  14561   
        Range(i64),
11214  14562   
    }
11215  14563   
11216  14564   
    impl ::std::fmt::Display for ConstraintViolation {
11217  14565   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11218  14566   
            write!(f, "Value for `com.amazonaws.constraints#MinRangeLong`failed to satisfy constraint: Member must be greater than or equal to -10")
11219  14567   
        }
11220  14568   
    }
11221  14569   
11222  14570   
    impl ::std::error::Error for ConstraintViolation {}
       14571  +
    /* ConstrainedNumberGenerator.kt:159 */
11223  14572   
    impl ConstraintViolation {
11224  14573   
        pub(crate) fn as_validation_exception_field(
11225  14574   
            self,
11226  14575   
            path: ::std::string::String,
11227  14576   
        ) -> crate::model::ValidationExceptionField {
11228  14577   
            match self {
11229  14578   
                            Self::Range(_) => crate::model::ValidationExceptionField {
11230  14579   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be greater than or equal to -10", &path),
11231  14580   
                            path,
11232  14581   
                        },
11233  14582   
                        }
11234  14583   
        }
11235  14584   
    }
       14585  +
       14586  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11236  14587   
}
11237  14588   
pub(crate) mod fixed_value_short_internal {
11238  14589   
       14590  +
    /* ConstrainedNumberGenerator.kt:139 */
11239  14591   
    #[derive(Debug, PartialEq)]
11240  14592   
    pub enum ConstraintViolation {
11241  14593   
        Range(i16),
11242  14594   
    }
11243  14595   
11244  14596   
    impl ::std::fmt::Display for ConstraintViolation {
11245  14597   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11246  14598   
            write!(f, "Value for `com.amazonaws.constraints#FixedValueShort`failed to satisfy constraint: Member must be between 10 and 10, inclusive")
11247  14599   
        }
11248  14600   
    }
11249  14601   
11250  14602   
    impl ::std::error::Error for ConstraintViolation {}
       14603  +
    /* ConstrainedNumberGenerator.kt:159 */
11251  14604   
    impl ConstraintViolation {
11252  14605   
        pub(crate) fn as_validation_exception_field(
11253  14606   
            self,
11254  14607   
            path: ::std::string::String,
11255  14608   
        ) -> crate::model::ValidationExceptionField {
11256  14609   
            match self {
11257  14610   
                            Self::Range(_) => crate::model::ValidationExceptionField {
11258  14611   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 10 and 10, inclusive", &path),
11259  14612   
                            path,
11260  14613   
                        },
11261  14614   
                        }
11262  14615   
        }
11263  14616   
    }
       14617  +
       14618  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11264  14619   
}
11265  14620   
pub(crate) mod max_range_short_internal {
11266  14621   
       14622  +
    /* ConstrainedNumberGenerator.kt:139 */
11267  14623   
    #[derive(Debug, PartialEq)]
11268  14624   
    pub enum ConstraintViolation {
11269  14625   
        Range(i16),
11270  14626   
    }
11271  14627   
11272  14628   
    impl ::std::fmt::Display for ConstraintViolation {
11273  14629   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11274  14630   
            write!(f, "Value for `com.amazonaws.constraints#MaxRangeShort`failed to satisfy constraint: Member must be less than or equal to 11")
11275  14631   
        }
11276  14632   
    }
11277  14633   
11278  14634   
    impl ::std::error::Error for ConstraintViolation {}
       14635  +
    /* ConstrainedNumberGenerator.kt:159 */
11279  14636   
    impl ConstraintViolation {
11280  14637   
        pub(crate) fn as_validation_exception_field(
11281  14638   
            self,
11282  14639   
            path: ::std::string::String,
11283  14640   
        ) -> crate::model::ValidationExceptionField {
11284  14641   
            match self {
11285  14642   
                            Self::Range(_) => crate::model::ValidationExceptionField {
11286  14643   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be less than or equal to 11", &path),
11287  14644   
                            path,
11288  14645   
                        },
11289  14646   
                        }
11290  14647   
        }
11291  14648   
    }
       14649  +
       14650  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11292  14651   
}
11293  14652   
pub(crate) mod min_range_short_internal {
11294  14653   
       14654  +
    /* ConstrainedNumberGenerator.kt:139 */
11295  14655   
    #[derive(Debug, PartialEq)]
11296  14656   
    pub enum ConstraintViolation {
11297  14657   
        Range(i16),
11298  14658   
    }
11299  14659   
11300  14660   
    impl ::std::fmt::Display for ConstraintViolation {
11301  14661   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11302  14662   
            write!(f, "Value for `com.amazonaws.constraints#MinRangeShort`failed to satisfy constraint: Member must be greater than or equal to -10")
11303  14663   
        }
11304  14664   
    }
11305  14665   
11306  14666   
    impl ::std::error::Error for ConstraintViolation {}
       14667  +
    /* ConstrainedNumberGenerator.kt:159 */
11307  14668   
    impl ConstraintViolation {
11308  14669   
        pub(crate) fn as_validation_exception_field(
11309  14670   
            self,
11310  14671   
            path: ::std::string::String,
11311  14672   
        ) -> crate::model::ValidationExceptionField {
11312  14673   
            match self {
11313  14674   
                            Self::Range(_) => crate::model::ValidationExceptionField {
11314  14675   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be greater than or equal to -10", &path),
11315  14676   
                            path,
11316  14677   
                        },
11317  14678   
                        }
11318  14679   
        }
11319  14680   
    }
       14681  +
       14682  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11320  14683   
}
11321  14684   
pub(crate) mod fixed_value_integer_internal {
11322  14685   
       14686  +
    /* ConstrainedNumberGenerator.kt:139 */
11323  14687   
    #[derive(Debug, PartialEq)]
11324  14688   
    pub enum ConstraintViolation {
11325  14689   
        Range(i32),
11326  14690   
    }
11327  14691   
11328  14692   
    impl ::std::fmt::Display for ConstraintViolation {
11329  14693   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11330  14694   
            write!(f, "Value for `com.amazonaws.constraints#FixedValueInteger`failed to satisfy constraint: Member must be between 69 and 69, inclusive")
11331  14695   
        }
11332  14696   
    }
11333  14697   
11334  14698   
    impl ::std::error::Error for ConstraintViolation {}
       14699  +
    /* ConstrainedNumberGenerator.kt:159 */
11335  14700   
    impl ConstraintViolation {
11336  14701   
        pub(crate) fn as_validation_exception_field(
11337  14702   
            self,
11338  14703   
            path: ::std::string::String,
11339  14704   
        ) -> crate::model::ValidationExceptionField {
11340  14705   
            match self {
11341  14706   
                            Self::Range(_) => crate::model::ValidationExceptionField {
11342  14707   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be between 69 and 69, inclusive", &path),
11343  14708   
                            path,
11344  14709   
                        },
11345  14710   
                        }
11346  14711   
        }
11347  14712   
    }
       14713  +
       14714  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11348  14715   
}
11349  14716   
pub(crate) mod max_range_integer_internal {
11350  14717   
       14718  +
    /* ConstrainedNumberGenerator.kt:139 */
11351  14719   
    #[derive(Debug, PartialEq)]
11352  14720   
    pub enum ConstraintViolation {
11353  14721   
        Range(i32),
11354  14722   
    }
11355  14723   
11356  14724   
    impl ::std::fmt::Display for ConstraintViolation {
11357  14725   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11358  14726   
            write!(f, "Value for `com.amazonaws.constraints#MaxRangeInteger`failed to satisfy constraint: Member must be less than or equal to 69")
11359  14727   
        }
11360  14728   
    }
11361  14729   
11362  14730   
    impl ::std::error::Error for ConstraintViolation {}
       14731  +
    /* ConstrainedNumberGenerator.kt:159 */
11363  14732   
    impl ConstraintViolation {
11364  14733   
        pub(crate) fn as_validation_exception_field(
11365  14734   
            self,
11366  14735   
            path: ::std::string::String,
11367  14736   
        ) -> crate::model::ValidationExceptionField {
11368  14737   
            match self {
11369  14738   
                            Self::Range(_) => crate::model::ValidationExceptionField {
11370  14739   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be less than or equal to 69", &path),
11371  14740   
                            path,
11372  14741   
                        },
11373  14742   
                        }
11374  14743   
        }
11375  14744   
    }
       14745  +
       14746  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11376  14747   
}
11377  14748   
pub(crate) mod min_range_integer_internal {
11378  14749   
       14750  +
    /* ConstrainedNumberGenerator.kt:139 */
11379  14751   
    #[derive(Debug, PartialEq)]
11380  14752   
    pub enum ConstraintViolation {
11381  14753   
        Range(i32),
11382  14754   
    }
11383  14755   
11384  14756   
    impl ::std::fmt::Display for ConstraintViolation {
11385  14757   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11386  14758   
            write!(f, "Value for `com.amazonaws.constraints#MinRangeInteger`failed to satisfy constraint: Member must be greater than or equal to -10")
11387  14759   
        }
11388  14760   
    }
11389  14761   
11390  14762   
    impl ::std::error::Error for ConstraintViolation {}
       14763  +
    /* ConstrainedNumberGenerator.kt:159 */
11391  14764   
    impl ConstraintViolation {
11392  14765   
        pub(crate) fn as_validation_exception_field(
11393  14766   
            self,
11394  14767   
            path: ::std::string::String,
11395  14768   
        ) -> crate::model::ValidationExceptionField {
11396  14769   
            match self {
11397  14770   
                            Self::Range(_) => crate::model::ValidationExceptionField {
11398  14771   
                            message: format!("Value at '{}' failed to satisfy constraint: Member must be greater than or equal to -10", &path),
11399  14772   
                            path,
11400  14773   
                        },
11401  14774   
                        }
11402  14775   
        }
11403  14776   
    }
       14777  +
       14778  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11404  14779   
}
11405  14780   
pub(crate) mod fixed_length_blob_internal {
11406  14781   
       14782  +
    /* ConstrainedBlobGenerator.kt:129 */
11407  14783   
    #[derive(Debug, PartialEq)]
11408  14784   
    pub enum ConstraintViolation {
11409  14785   
        /// Error when a blob doesn't satisfy its `@length` requirements.
11410  14786   
        Length(usize),
11411  14787   
    }
11412  14788   
11413  14789   
    impl ::std::fmt::Display for ConstraintViolation {
11414  14790   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11415  14791   
            let message = match self {
11416  14792   
                Self::Length(length) => {
11417  14793   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#FixedLengthBlob' failed to satisfy constraint: Member must have length between 70 and 70, inclusive", length)
11418  14794   
                }
11419  14795   
            };
11420  14796   
            write!(f, "{message}")
11421  14797   
        }
11422  14798   
    }
11423  14799   
11424  14800   
    impl ::std::error::Error for ConstraintViolation {}
       14801  +
    /* ConstrainedBlobGenerator.kt:154 */
11425  14802   
    impl ConstraintViolation {
11426  14803   
        pub(crate) fn as_validation_exception_field(
11427  14804   
            self,
11428  14805   
            path: ::std::string::String,
11429  14806   
        ) -> crate::model::ValidationExceptionField {
11430  14807   
            match self {
11431  14808   
                            Self::Length(length) => crate::model::ValidationExceptionField {
11432  14809   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 70 and 70, inclusive", length, &path),
11433  14810   
                            path,
11434  14811   
                        },
11435  14812   
                        }
11436  14813   
        }
11437  14814   
    }
       14815  +
       14816  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11438  14817   
}
11439  14818   
pub(crate) mod max_length_blob_internal {
11440  14819   
       14820  +
    /* ConstrainedBlobGenerator.kt:129 */
11441  14821   
    #[derive(Debug, PartialEq)]
11442  14822   
    pub enum ConstraintViolation {
11443  14823   
        /// Error when a blob doesn't satisfy its `@length` requirements.
11444  14824   
        Length(usize),
11445  14825   
    }
11446  14826   
11447  14827   
    impl ::std::fmt::Display for ConstraintViolation {
11448  14828   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11449  14829   
            let message = match self {
11450  14830   
                Self::Length(length) => {
11451  14831   
                    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)
11452  14832   
                }
11453  14833   
            };
11454  14834   
            write!(f, "{message}")
11455  14835   
        }
11456  14836   
    }
11457  14837   
11458  14838   
    impl ::std::error::Error for ConstraintViolation {}
       14839  +
    /* ConstrainedBlobGenerator.kt:154 */
11459  14840   
    impl ConstraintViolation {
11460  14841   
        pub(crate) fn as_validation_exception_field(
11461  14842   
            self,
11462  14843   
            path: ::std::string::String,
11463  14844   
        ) -> crate::model::ValidationExceptionField {
11464  14845   
            match self {
11465  14846   
                            Self::Length(length) => crate::model::ValidationExceptionField {
11466  14847   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length less than or equal to 70", length, &path),
11467  14848   
                            path,
11468  14849   
                        },
11469  14850   
                        }
11470  14851   
        }
11471  14852   
    }
       14853  +
       14854  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11472  14855   
}
11473  14856   
pub(crate) mod min_length_blob_internal {
11474  14857   
       14858  +
    /* ConstrainedBlobGenerator.kt:129 */
11475  14859   
    #[derive(Debug, PartialEq)]
11476  14860   
    pub enum ConstraintViolation {
11477  14861   
        /// Error when a blob doesn't satisfy its `@length` requirements.
11478  14862   
        Length(usize),
11479  14863   
    }
11480  14864   
11481  14865   
    impl ::std::fmt::Display for ConstraintViolation {
11482  14866   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11483  14867   
            let message = match self {
11484  14868   
                Self::Length(length) => {
11485  14869   
                    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)
11486  14870   
                }
11487  14871   
            };
11488  14872   
            write!(f, "{message}")
11489  14873   
        }
11490  14874   
    }
11491  14875   
11492  14876   
    impl ::std::error::Error for ConstraintViolation {}
       14877  +
    /* ConstrainedBlobGenerator.kt:154 */
11493  14878   
    impl ConstraintViolation {
11494  14879   
        pub(crate) fn as_validation_exception_field(
11495  14880   
            self,
11496  14881   
            path: ::std::string::String,
11497  14882   
        ) -> crate::model::ValidationExceptionField {
11498  14883   
            match self {
11499  14884   
                            Self::Length(length) => crate::model::ValidationExceptionField {
11500  14885   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length greater than or equal to 2", length, &path),
11501  14886   
                            path,
11502  14887   
                        },
11503  14888   
                        }
11504  14889   
        }
11505  14890   
    }
       14891  +
       14892  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11506  14893   
}
11507  14894   
pub(crate) mod fixed_length_string_internal {
11508  14895   
       14896  +
    /* ConstrainedStringGenerator.kt:155 */
11509  14897   
    #[derive(Debug, PartialEq)]
11510  14898   
    pub enum ConstraintViolation {
11511  14899   
        /// Error when a string doesn't satisfy its `@length` requirements.
11512  14900   
        Length(usize),
11513  14901   
    }
11514  14902   
11515  14903   
    impl ::std::fmt::Display for ConstraintViolation {
11516  14904   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11517  14905   
            let message = match self {
11518  14906   
                Self::Length(length) => {
11519  14907   
                    format!("Value with length {} provided for 'com.amazonaws.constraints#FixedLengthString' failed to satisfy constraint: Member must have length between 69 and 69, inclusive", length)
11520  14908   
                }
11521  14909   
            };
11522  14910   
            write!(f, "{message}")
11523  14911   
        }
11524  14912   
    }
11525  14913   
11526  14914   
    impl ::std::error::Error for ConstraintViolation {}
       14915  +
    /* ConstrainedStringGenerator.kt:180 */
11527  14916   
    impl ConstraintViolation {
11528  14917   
        pub(crate) fn as_validation_exception_field(
11529  14918   
            self,
11530  14919   
            path: ::std::string::String,
11531  14920   
        ) -> crate::model::ValidationExceptionField {
11532  14921   
            match self {
11533  14922   
                            Self::Length(length) => crate::model::ValidationExceptionField {
11534  14923   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 69 and 69, inclusive", length, &path),
11535  14924   
                            path,
11536  14925   
                        },
11537  14926   
                        }
11538  14927   
        }
11539  14928   
    }
       14929  +
       14930  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11540  14931   
}
11541  14932   
pub(crate) mod max_length_string_internal {
11542  14933   
       14934  +
    /* ConstrainedStringGenerator.kt:155 */
11543  14935   
    #[derive(Debug, PartialEq)]
11544  14936   
    pub enum ConstraintViolation {
11545  14937   
        /// Error when a string doesn't satisfy its `@length` requirements.
11546  14938   
        Length(usize),
11547  14939   
    }
11548  14940   
11549  14941   
    impl ::std::fmt::Display for ConstraintViolation {
11550  14942   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11551  14943   
            let message = match self {
11552  14944   
                Self::Length(length) => {
11553  14945   
                    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)
11554  14946   
                }
11555  14947   
            };
11556  14948   
            write!(f, "{message}")
11557  14949   
        }
11558  14950   
    }
11559  14951   
11560  14952   
    impl ::std::error::Error for ConstraintViolation {}
       14953  +
    /* ConstrainedStringGenerator.kt:180 */
11561  14954   
    impl ConstraintViolation {
11562  14955   
        pub(crate) fn as_validation_exception_field(
11563  14956   
            self,
11564  14957   
            path: ::std::string::String,
11565  14958   
        ) -> crate::model::ValidationExceptionField {
11566  14959   
            match self {
11567  14960   
                            Self::Length(length) => crate::model::ValidationExceptionField {
11568  14961   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length less than or equal to 69", length, &path),
11569  14962   
                            path,
11570  14963   
                        },
11571  14964   
                        }
11572  14965   
        }
11573  14966   
    }
       14967  +
       14968  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11574  14969   
}
11575  14970   
pub(crate) mod min_length_string_internal {
11576  14971   
       14972  +
    /* ConstrainedStringGenerator.kt:155 */
11577  14973   
    #[derive(Debug, PartialEq)]
11578  14974   
    pub enum ConstraintViolation {
11579  14975   
        /// Error when a string doesn't satisfy its `@length` requirements.
11580  14976   
        Length(usize),
11581  14977   
    }
11582  14978   
11583  14979   
    impl ::std::fmt::Display for ConstraintViolation {
11584  14980   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11585  14981   
            let message = match self {
11586  14982   
                Self::Length(length) => {
11587  14983   
                    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)
11588  14984   
                }
11589  14985   
            };
11590  14986   
            write!(f, "{message}")
11591  14987   
        }
11592  14988   
    }
11593  14989   
11594  14990   
    impl ::std::error::Error for ConstraintViolation {}
       14991  +
    /* ConstrainedStringGenerator.kt:180 */
11595  14992   
    impl ConstraintViolation {
11596  14993   
        pub(crate) fn as_validation_exception_field(
11597  14994   
            self,
11598  14995   
            path: ::std::string::String,
11599  14996   
        ) -> crate::model::ValidationExceptionField {
11600  14997   
            match self {
11601  14998   
                            Self::Length(length) => crate::model::ValidationExceptionField {
11602  14999   
                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length greater than or equal to 2", length, &path),
11603  15000   
                            path,
11604  15001   
                        },
11605  15002   
                        }
11606  15003   
        }
11607  15004   
    }
       15005  +
       15006  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11608  15007   
}
11609         -
/// See [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
       15008  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
11610  15009   
pub mod transitively_constrained_structure_in_output {
11611  15010   
       15011  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
11612  15012   
    impl ::std::convert::From<Builder> for crate::model::TransitivelyConstrainedStructureInOutput {
11613  15013   
        fn from(builder: Builder) -> Self {
11614  15014   
            builder.build()
11615  15015   
        }
11616  15016   
    }
11617         -
    /// A builder for [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
       15017  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
       15018  +
    /* RustType.kt:516 */
11618  15019   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
       15020  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
11619  15021   
    pub struct Builder {
       15022  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
11620  15023   
        pub(crate) length_string: ::std::option::Option<::std::string::String>,
       15024  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
11621  15025   
    }
       15026  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
11622  15027   
    impl Builder {
       15028  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
11623  15029   
        #[allow(missing_docs)] // documentation missing in model
       15030  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
11624  15031   
        pub fn length_string(
11625  15032   
            mut self,
11626  15033   
            input: ::std::option::Option<::std::string::String>,
11627  15034   
        ) -> Self {
11628         -
            self.length_string = input;
       15035  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       15036  +
            self.length_string =
       15037  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       15038  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
11629  15039   
            self
       15040  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
11630  15041   
        }
11631         -
        /// Consumes the builder and constructs a [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
       15042  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`TransitivelyConstrainedStructureInOutput`](crate::model::TransitivelyConstrainedStructureInOutput).
       15043  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
11632  15044   
        pub fn build(self) -> crate::model::TransitivelyConstrainedStructureInOutput {
11633  15045   
            self.build_enforcing_required_and_enum_traits()
11634  15046   
        }
       15047  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
11635  15048   
        fn build_enforcing_required_and_enum_traits(
11636  15049   
            self,
11637  15050   
        ) -> crate::model::TransitivelyConstrainedStructureInOutput {
       15051  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
11638  15052   
            crate::model::TransitivelyConstrainedStructureInOutput {
       15053  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
11639  15054   
                length_string: self.length_string,
       15055  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
11640  15056   
            }
       15057  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
11641  15058   
        }
       15059  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
11642  15060   
    }
       15061  +
       15062  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11643  15063   
}
11644  15064   
pub(crate) mod constrained_map_in_output_internal {
11645  15065   
       15066  +
    /* MapConstraintViolationGenerator.kt:82 */
11646  15067   
    #[allow(clippy::enum_variant_names)]
11647  15068   
    #[derive(Debug, PartialEq)]
11648  15069   
    pub(crate) enum ConstraintViolation {
11649  15070   
        Length(usize),
11650  15071   
    }
11651  15072   
11652  15073   
    impl ::std::fmt::Display for ConstraintViolation {
11653  15074   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11654  15075   
            match self {
11655  15076   
                Self::Length(length) => {
11656  15077   
                    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)
11657  15078   
                }
11658  15079   
            }
11659  15080   
        }
11660  15081   
    }
11661  15082   
11662  15083   
    impl ::std::error::Error for ConstraintViolation {}
       15084  +
       15085  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11663  15086   
}
11664  15087   
pub(crate) mod constrained_list_in_output_internal {
11665  15088   
       15089  +
    /* CollectionConstraintViolationGenerator.kt:78 */
11666  15090   
    #[allow(clippy::enum_variant_names)]
11667  15091   
    #[derive(Debug, PartialEq)]
11668  15092   
    pub(crate) enum ConstraintViolation {
11669  15093   
        /// Constraint violation error when the list doesn't have the required length
11670  15094   
        Length(usize),
11671  15095   
    }
11672  15096   
11673  15097   
    impl ::std::fmt::Display for ConstraintViolation {
11674  15098   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
11675  15099   
            let message = match self {
11676  15100   
                Self::Length(length) => {
11677  15101   
                    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)
11678  15102   
                }
11679  15103   
            };
11680  15104   
            write!(f, "{message}")
11681  15105   
        }
11682  15106   
    }
11683  15107   
11684  15108   
    impl ::std::error::Error for ConstraintViolation {}
       15109  +
       15110  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
11685  15111   
}