Client Test

Client Test

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943

Files changed:

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/kitchen_sink_operation/_kitchen_sink_operation_output.rs

@@ -1,1 +707,1238 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* StructureGenerator.kt:197 */
    2      3   
#[allow(missing_docs)] // documentation missing in model
           4  +
/* RustType.kt:516 */
    3      5   
#[non_exhaustive]
           6  +
/* RustType.kt:516 */
    4      7   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    5         -
pub struct KitchenSinkOperationOutput {
           8  +
pub /* StructureGenerator.kt:201 */ struct KitchenSinkOperationOutput {
           9  +
    /* StructureGenerator.kt:231 */
    6     10   
    #[allow(missing_docs)] // documentation missing in model
    7     11   
    pub blob: ::std::option::Option<::aws_smithy_types::Blob>,
    8         -
    #[allow(missing_docs)] // documentation missing in model
          12  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
    9     13   
    pub boolean: ::std::option::Option<bool>,
   10         -
    #[allow(missing_docs)] // documentation missing in model
          14  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   11     15   
    pub double: ::std::option::Option<f64>,
          16  +
    /* StructureGenerator.kt:231 */
   12     17   
    #[allow(missing_docs)] // documentation missing in model
   13     18   
    pub empty_struct: ::std::option::Option<crate::types::EmptyStruct>,
   14         -
    #[allow(missing_docs)] // documentation missing in model
          19  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   15     20   
    pub float: ::std::option::Option<f32>,
          21  +
    /* StructureGenerator.kt:231 */
   16     22   
    #[allow(missing_docs)] // documentation missing in model
   17     23   
    pub httpdate_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
   18         -
    #[allow(missing_docs)] // documentation missing in model
          24  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   19     25   
    pub integer: ::std::option::Option<i32>,
          26  +
    /* StructureGenerator.kt:231 */
   20     27   
    #[allow(missing_docs)] // documentation missing in model
   21     28   
    pub iso8601_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
          29  +
    /* StructureGenerator.kt:231 */
   22     30   
    #[allow(missing_docs)] // documentation missing in model
   23     31   
    pub json_value: ::std::option::Option<::std::string::String>,
          32  +
    /* StructureGenerator.kt:231 */
   24     33   
    #[allow(missing_docs)] // documentation missing in model
   25     34   
    pub list_of_lists: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
          35  +
    /* StructureGenerator.kt:231 */
   26     36   
    #[allow(missing_docs)] // documentation missing in model
   27     37   
    pub list_of_maps_of_strings: ::std::option::Option<::std::vec::Vec<::std::collections::HashMap<::std::string::String, ::std::string::String>>>,
          38  +
    /* StructureGenerator.kt:231 */
   28     39   
    #[allow(missing_docs)] // documentation missing in model
   29     40   
    pub list_of_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
          41  +
    /* StructureGenerator.kt:231 */
   30     42   
    #[allow(missing_docs)] // documentation missing in model
   31     43   
    pub list_of_structs: ::std::option::Option<::std::vec::Vec<crate::types::SimpleStruct>>,
   32         -
    #[allow(missing_docs)] // documentation missing in model
          44  +
    /* StructureGenerator.kt:231 */ #[allow(missing_docs)] // documentation missing in model
   33     45   
    pub long: ::std::option::Option<i64>,
          46  +
    /* StructureGenerator.kt:231 */
   34     47   
    #[allow(missing_docs)] // documentation missing in model
   35     48   
    pub map_of_lists_of_strings: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>>,
          49  +
    /* StructureGenerator.kt:231 */
   36     50   
    #[allow(missing_docs)] // documentation missing in model
   37     51   
    pub map_of_maps: ::std::option::Option<
   38     52   
        ::std::collections::HashMap<::std::string::String, ::std::collections::HashMap<::std::string::String, ::std::string::String>>,
   39     53   
    >,
          54  +
    /* StructureGenerator.kt:231 */
   40     55   
    #[allow(missing_docs)] // documentation missing in model
   41     56   
    pub map_of_strings: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
          57  +
    /* StructureGenerator.kt:231 */
   42     58   
    #[allow(missing_docs)] // documentation missing in model
   43     59   
    pub map_of_structs: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::SimpleStruct>>,
          60  +
    /* StructureGenerator.kt:231 */
   44     61   
    #[allow(missing_docs)] // documentation missing in model
   45     62   
    pub recursive_list: ::std::option::Option<::std::vec::Vec<crate::types::KitchenSink>>,
          63  +
    /* StructureGenerator.kt:231 */
   46     64   
    #[allow(missing_docs)] // documentation missing in model
   47     65   
    pub recursive_map: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::KitchenSink>>,
          66  +
    /* StructureGenerator.kt:231 */
   48     67   
    #[allow(missing_docs)] // documentation missing in model
   49     68   
    pub recursive_struct: ::std::option::Option<::std::boxed::Box<crate::types::KitchenSink>>,
          69  +
    /* StructureGenerator.kt:231 */
   50     70   
    #[allow(missing_docs)] // documentation missing in model
   51     71   
    pub simple_struct: ::std::option::Option<crate::types::SimpleStruct>,
          72  +
    /* StructureGenerator.kt:231 */
   52     73   
    #[allow(missing_docs)] // documentation missing in model
   53     74   
    pub string: ::std::option::Option<::std::string::String>,
          75  +
    /* StructureGenerator.kt:231 */
   54     76   
    #[allow(missing_docs)] // documentation missing in model
   55     77   
    pub struct_with_json_name: ::std::option::Option<crate::types::StructWithJsonName>,
          78  +
    /* StructureGenerator.kt:231 */
   56     79   
    #[allow(missing_docs)] // documentation missing in model
   57     80   
    pub timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
          81  +
    /* StructureGenerator.kt:231 */
   58     82   
    #[allow(missing_docs)] // documentation missing in model
   59     83   
    pub unix_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
          84  +
    /* StructureGenerator.kt:201 */
   60     85   
}
          86  +
/* StructureGenerator.kt:135 */
   61     87   
impl KitchenSinkOperationOutput {
          88  +
    /* StructureGenerator.kt:231 */
   62     89   
    #[allow(missing_docs)] // documentation missing in model
          90  +
                           /* StructureGenerator.kt:166 */
   63     91   
    pub fn blob(&self) -> ::std::option::Option<&::aws_smithy_types::Blob> {
          92  +
        /* StructureGenerator.kt:170 */
   64     93   
        self.blob.as_ref()
          94  +
        /* StructureGenerator.kt:166 */
   65     95   
    }
          96  +
    /* StructureGenerator.kt:231 */
   66     97   
    #[allow(missing_docs)] // documentation missing in model
          98  +
                           /* StructureGenerator.kt:166 */
   67     99   
    pub fn boolean(&self) -> ::std::option::Option<bool> {
         100  +
        /* StructureGenerator.kt:168 */
   68    101   
        self.boolean
         102  +
        /* StructureGenerator.kt:166 */
   69    103   
    }
         104  +
    /* StructureGenerator.kt:231 */
   70    105   
    #[allow(missing_docs)] // documentation missing in model
         106  +
                           /* StructureGenerator.kt:166 */
   71    107   
    pub fn double(&self) -> ::std::option::Option<f64> {
         108  +
        /* StructureGenerator.kt:168 */
   72    109   
        self.double
         110  +
        /* StructureGenerator.kt:166 */
   73    111   
    }
         112  +
    /* StructureGenerator.kt:231 */
   74    113   
    #[allow(missing_docs)] // documentation missing in model
         114  +
                           /* StructureGenerator.kt:166 */
   75    115   
    pub fn empty_struct(&self) -> ::std::option::Option<&crate::types::EmptyStruct> {
         116  +
        /* StructureGenerator.kt:170 */
   76    117   
        self.empty_struct.as_ref()
         118  +
        /* StructureGenerator.kt:166 */
   77    119   
    }
         120  +
    /* StructureGenerator.kt:231 */
   78    121   
    #[allow(missing_docs)] // documentation missing in model
         122  +
                           /* StructureGenerator.kt:166 */
   79    123   
    pub fn float(&self) -> ::std::option::Option<f32> {
         124  +
        /* StructureGenerator.kt:168 */
   80    125   
        self.float
         126  +
        /* StructureGenerator.kt:166 */
   81    127   
    }
         128  +
    /* StructureGenerator.kt:231 */
   82    129   
    #[allow(missing_docs)] // documentation missing in model
         130  +
                           /* StructureGenerator.kt:166 */
   83    131   
    pub fn httpdate_timestamp(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
         132  +
        /* StructureGenerator.kt:170 */
   84    133   
        self.httpdate_timestamp.as_ref()
         134  +
        /* StructureGenerator.kt:166 */
   85    135   
    }
         136  +
    /* StructureGenerator.kt:231 */
   86    137   
    #[allow(missing_docs)] // documentation missing in model
         138  +
                           /* StructureGenerator.kt:166 */
   87    139   
    pub fn integer(&self) -> ::std::option::Option<i32> {
         140  +
        /* StructureGenerator.kt:168 */
   88    141   
        self.integer
         142  +
        /* StructureGenerator.kt:166 */
   89    143   
    }
         144  +
    /* StructureGenerator.kt:231 */
   90    145   
    #[allow(missing_docs)] // documentation missing in model
         146  +
                           /* StructureGenerator.kt:166 */
   91    147   
    pub fn iso8601_timestamp(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
         148  +
        /* StructureGenerator.kt:170 */
   92    149   
        self.iso8601_timestamp.as_ref()
         150  +
        /* StructureGenerator.kt:166 */
   93    151   
    }
         152  +
    /* StructureGenerator.kt:231 */
   94    153   
    #[allow(missing_docs)] // documentation missing in model
         154  +
                           /* StructureGenerator.kt:166 */
   95    155   
    pub fn json_value(&self) -> ::std::option::Option<&str> {
         156  +
        /* StructureGenerator.kt:169 */
   96    157   
        self.json_value.as_deref()
         158  +
        /* StructureGenerator.kt:166 */
   97    159   
    }
         160  +
    /* StructureGenerator.kt:231 */
   98    161   
    #[allow(missing_docs)] // documentation missing in model
   99         -
    ///
  100         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.list_of_lists.is_none()`.
         162  +
    /// /* StructureGenerator.kt:162 */
         163  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.list_of_lists.is_none()`.
         164  +
    /* StructureGenerator.kt:166 */
  101    165   
    pub fn list_of_lists(&self) -> &[::std::vec::Vec<::std::string::String>] {
  102         -
        self.list_of_lists.as_deref().unwrap_or_default()
  103         -
    }
  104         -
    #[allow(missing_docs)] // documentation missing in model
  105         -
    ///
  106         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.list_of_maps_of_strings.is_none()`.
         166  +
        /* StructureGenerator.kt:169 */
         167  +
        self.list_of_lists
         168  +
            .as_deref()
         169  +
            /* StructureGenerator.kt:175 */
         170  +
            .unwrap_or_default()
         171  +
        /* StructureGenerator.kt:166 */
         172  +
    }
         173  +
    /* StructureGenerator.kt:231 */
         174  +
    #[allow(missing_docs)] // documentation missing in model
         175  +
    /// /* StructureGenerator.kt:162 */
         176  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.list_of_maps_of_strings.is_none()`.
         177  +
    /* StructureGenerator.kt:166 */
  107    178   
    pub fn list_of_maps_of_strings(&self) -> &[::std::collections::HashMap<::std::string::String, ::std::string::String>] {
  108         -
        self.list_of_maps_of_strings.as_deref().unwrap_or_default()
  109         -
    }
  110         -
    #[allow(missing_docs)] // documentation missing in model
  111         -
    ///
  112         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.list_of_strings.is_none()`.
         179  +
        /* StructureGenerator.kt:169 */
         180  +
        self.list_of_maps_of_strings
         181  +
            .as_deref()
         182  +
            /* StructureGenerator.kt:175 */
         183  +
            .unwrap_or_default()
         184  +
        /* StructureGenerator.kt:166 */
         185  +
    }
         186  +
    /* StructureGenerator.kt:231 */
         187  +
    #[allow(missing_docs)] // documentation missing in model
         188  +
    /// /* StructureGenerator.kt:162 */
         189  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.list_of_strings.is_none()`.
         190  +
    /* StructureGenerator.kt:166 */
  113    191   
    pub fn list_of_strings(&self) -> &[::std::string::String] {
  114         -
        self.list_of_strings.as_deref().unwrap_or_default()
  115         -
    }
  116         -
    #[allow(missing_docs)] // documentation missing in model
  117         -
    ///
  118         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.list_of_structs.is_none()`.
         192  +
        /* StructureGenerator.kt:169 */
         193  +
        self.list_of_strings
         194  +
            .as_deref()
         195  +
            /* StructureGenerator.kt:175 */
         196  +
            .unwrap_or_default()
         197  +
        /* StructureGenerator.kt:166 */
         198  +
    }
         199  +
    /* StructureGenerator.kt:231 */
         200  +
    #[allow(missing_docs)] // documentation missing in model
         201  +
    /// /* StructureGenerator.kt:162 */
         202  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.list_of_structs.is_none()`.
         203  +
    /* StructureGenerator.kt:166 */
  119    204   
    pub fn list_of_structs(&self) -> &[crate::types::SimpleStruct] {
  120         -
        self.list_of_structs.as_deref().unwrap_or_default()
         205  +
        /* StructureGenerator.kt:169 */
         206  +
        self.list_of_structs
         207  +
            .as_deref()
         208  +
            /* StructureGenerator.kt:175 */
         209  +
            .unwrap_or_default()
         210  +
        /* StructureGenerator.kt:166 */
  121    211   
    }
         212  +
    /* StructureGenerator.kt:231 */
  122    213   
    #[allow(missing_docs)] // documentation missing in model
         214  +
                           /* StructureGenerator.kt:166 */
  123    215   
    pub fn long(&self) -> ::std::option::Option<i64> {
         216  +
        /* StructureGenerator.kt:168 */
  124    217   
        self.long
         218  +
        /* StructureGenerator.kt:166 */
  125    219   
    }
         220  +
    /* StructureGenerator.kt:231 */
  126    221   
    #[allow(missing_docs)] // documentation missing in model
         222  +
                           /* StructureGenerator.kt:166 */
  127    223   
    pub fn map_of_lists_of_strings(
  128    224   
        &self,
  129    225   
    ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>> {
         226  +
        /* StructureGenerator.kt:170 */
  130    227   
        self.map_of_lists_of_strings.as_ref()
         228  +
        /* StructureGenerator.kt:166 */
  131    229   
    }
         230  +
    /* StructureGenerator.kt:231 */
  132    231   
    #[allow(missing_docs)] // documentation missing in model
         232  +
                           /* StructureGenerator.kt:166 */
  133    233   
    pub fn map_of_maps(
  134    234   
        &self,
  135    235   
    ) -> ::std::option::Option<
  136    236   
        &::std::collections::HashMap<::std::string::String, ::std::collections::HashMap<::std::string::String, ::std::string::String>>,
  137    237   
    > {
         238  +
        /* StructureGenerator.kt:170 */
  138    239   
        self.map_of_maps.as_ref()
         240  +
        /* StructureGenerator.kt:166 */
  139    241   
    }
         242  +
    /* StructureGenerator.kt:231 */
  140    243   
    #[allow(missing_docs)] // documentation missing in model
         244  +
                           /* StructureGenerator.kt:166 */
  141    245   
    pub fn map_of_strings(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
         246  +
        /* StructureGenerator.kt:170 */
  142    247   
        self.map_of_strings.as_ref()
         248  +
        /* StructureGenerator.kt:166 */
  143    249   
    }
         250  +
    /* StructureGenerator.kt:231 */
  144    251   
    #[allow(missing_docs)] // documentation missing in model
         252  +
                           /* StructureGenerator.kt:166 */
  145    253   
    pub fn map_of_structs(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, crate::types::SimpleStruct>> {
         254  +
        /* StructureGenerator.kt:170 */
  146    255   
        self.map_of_structs.as_ref()
         256  +
        /* StructureGenerator.kt:166 */
  147    257   
    }
         258  +
    /* StructureGenerator.kt:231 */
  148    259   
    #[allow(missing_docs)] // documentation missing in model
  149         -
    ///
  150         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.recursive_list.is_none()`.
         260  +
    /// /* StructureGenerator.kt:162 */
         261  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.recursive_list.is_none()`.
         262  +
    /* StructureGenerator.kt:166 */
  151    263   
    pub fn recursive_list(&self) -> &[crate::types::KitchenSink] {
  152         -
        self.recursive_list.as_deref().unwrap_or_default()
         264  +
        /* StructureGenerator.kt:169 */
         265  +
        self.recursive_list
         266  +
            .as_deref()
         267  +
            /* StructureGenerator.kt:175 */
         268  +
            .unwrap_or_default()
         269  +
        /* StructureGenerator.kt:166 */
  153    270   
    }
         271  +
    /* StructureGenerator.kt:231 */
  154    272   
    #[allow(missing_docs)] // documentation missing in model
         273  +
                           /* StructureGenerator.kt:166 */
  155    274   
    pub fn recursive_map(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, crate::types::KitchenSink>> {
         275  +
        /* StructureGenerator.kt:170 */
  156    276   
        self.recursive_map.as_ref()
         277  +
        /* StructureGenerator.kt:166 */
  157    278   
    }
         279  +
    /* StructureGenerator.kt:231 */
  158    280   
    #[allow(missing_docs)] // documentation missing in model
         281  +
                           /* StructureGenerator.kt:166 */
  159    282   
    pub fn recursive_struct(&self) -> ::std::option::Option<&crate::types::KitchenSink> {
         283  +
        /* StructureGenerator.kt:169 */
  160    284   
        self.recursive_struct.as_deref()
         285  +
        /* StructureGenerator.kt:166 */
  161    286   
    }
         287  +
    /* StructureGenerator.kt:231 */
  162    288   
    #[allow(missing_docs)] // documentation missing in model
         289  +
                           /* StructureGenerator.kt:166 */
  163    290   
    pub fn simple_struct(&self) -> ::std::option::Option<&crate::types::SimpleStruct> {
         291  +
        /* StructureGenerator.kt:170 */
  164    292   
        self.simple_struct.as_ref()
         293  +
        /* StructureGenerator.kt:166 */
  165    294   
    }
         295  +
    /* StructureGenerator.kt:231 */
  166    296   
    #[allow(missing_docs)] // documentation missing in model
         297  +
                           /* StructureGenerator.kt:166 */
  167    298   
    pub fn string(&self) -> ::std::option::Option<&str> {
         299  +
        /* StructureGenerator.kt:169 */
  168    300   
        self.string.as_deref()
         301  +
        /* StructureGenerator.kt:166 */
  169    302   
    }
         303  +
    /* StructureGenerator.kt:231 */
  170    304   
    #[allow(missing_docs)] // documentation missing in model
         305  +
                           /* StructureGenerator.kt:166 */
  171    306   
    pub fn struct_with_json_name(&self) -> ::std::option::Option<&crate::types::StructWithJsonName> {
         307  +
        /* StructureGenerator.kt:170 */
  172    308   
        self.struct_with_json_name.as_ref()
         309  +
        /* StructureGenerator.kt:166 */
  173    310   
    }
         311  +
    /* StructureGenerator.kt:231 */
  174    312   
    #[allow(missing_docs)] // documentation missing in model
         313  +
                           /* StructureGenerator.kt:166 */
  175    314   
    pub fn timestamp(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
         315  +
        /* StructureGenerator.kt:170 */
  176    316   
        self.timestamp.as_ref()
         317  +
        /* StructureGenerator.kt:166 */
  177    318   
    }
         319  +
    /* StructureGenerator.kt:231 */
  178    320   
    #[allow(missing_docs)] // documentation missing in model
         321  +
                           /* StructureGenerator.kt:166 */
  179    322   
    pub fn unix_timestamp(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
         323  +
        /* StructureGenerator.kt:170 */
  180    324   
        self.unix_timestamp.as_ref()
         325  +
        /* StructureGenerator.kt:166 */
  181    326   
    }
         327  +
    /* StructureGenerator.kt:135 */
  182    328   
}
         329  +
/* ClientCodegenVisitor.kt:237 */
  183    330   
impl KitchenSinkOperationOutput {
  184         -
    /// Creates a new builder-style object to manufacture [`KitchenSinkOperationOutput`](crate::operation::kitchen_sink_operation::KitchenSinkOperationOutput).
         331  +
    /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`KitchenSinkOperationOutput`](crate::operation::kitchen_sink_operation::KitchenSinkOperationOutput).
         332  +
    /* BuilderGenerator.kt:175 */
  185    333   
    pub fn builder() -> crate::operation::kitchen_sink_operation::builders::KitchenSinkOperationOutputBuilder {
         334  +
        /* BuilderGenerator.kt:176 */
  186    335   
        crate::operation::kitchen_sink_operation::builders::KitchenSinkOperationOutputBuilder::default()
         336  +
        /* BuilderGenerator.kt:175 */
  187    337   
    }
         338  +
    /* ClientCodegenVisitor.kt:237 */
  188    339   
}
  189    340   
  190         -
/// A builder for [`KitchenSinkOperationOutput`](crate::operation::kitchen_sink_operation::KitchenSinkOperationOutput).
         341  +
/// /* BuilderGenerator.kt:342 */A builder for [`KitchenSinkOperationOutput`](crate::operation::kitchen_sink_operation::KitchenSinkOperationOutput).
         342  +
/* RustType.kt:516 */
  191    343   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
         344  +
/* RustType.kt:516 */
  192    345   
#[non_exhaustive]
         346  +
/* BuilderGenerator.kt:345 */
  193    347   
pub struct KitchenSinkOperationOutputBuilder {
  194         -
    pub(crate) blob: ::std::option::Option<::aws_smithy_types::Blob>,
  195         -
    pub(crate) boolean: ::std::option::Option<bool>,
  196         -
    pub(crate) double: ::std::option::Option<f64>,
  197         -
    pub(crate) empty_struct: ::std::option::Option<crate::types::EmptyStruct>,
  198         -
    pub(crate) float: ::std::option::Option<f32>,
  199         -
    pub(crate) httpdate_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
  200         -
    pub(crate) integer: ::std::option::Option<i32>,
  201         -
    pub(crate) iso8601_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
  202         -
    pub(crate) json_value: ::std::option::Option<::std::string::String>,
  203         -
    pub(crate) list_of_lists: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
         348  +
    /* BuilderGenerator.kt:275 */ pub(crate) blob: ::std::option::Option<::aws_smithy_types::Blob>,
         349  +
    /* BuilderGenerator.kt:275 */ pub(crate) boolean: ::std::option::Option<bool>,
         350  +
    /* BuilderGenerator.kt:275 */ pub(crate) double: ::std::option::Option<f64>,
         351  +
    /* BuilderGenerator.kt:275 */ pub(crate) empty_struct: ::std::option::Option<crate::types::EmptyStruct>,
         352  +
    /* BuilderGenerator.kt:275 */ pub(crate) float: ::std::option::Option<f32>,
         353  +
    /* BuilderGenerator.kt:275 */ pub(crate) httpdate_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
         354  +
    /* BuilderGenerator.kt:275 */ pub(crate) integer: ::std::option::Option<i32>,
         355  +
    /* BuilderGenerator.kt:275 */ pub(crate) iso8601_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
         356  +
    /* BuilderGenerator.kt:275 */ pub(crate) json_value: ::std::option::Option<::std::string::String>,
         357  +
    /* BuilderGenerator.kt:275 */ pub(crate) list_of_lists: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
         358  +
    /* BuilderGenerator.kt:275 */
  204    359   
    pub(crate) list_of_maps_of_strings:
  205    360   
        ::std::option::Option<::std::vec::Vec<::std::collections::HashMap<::std::string::String, ::std::string::String>>>,
  206         -
    pub(crate) list_of_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  207         -
    pub(crate) list_of_structs: ::std::option::Option<::std::vec::Vec<crate::types::SimpleStruct>>,
  208         -
    pub(crate) long: ::std::option::Option<i64>,
         361  +
    /* BuilderGenerator.kt:275 */ pub(crate) list_of_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         362  +
    /* BuilderGenerator.kt:275 */ pub(crate) list_of_structs: ::std::option::Option<::std::vec::Vec<crate::types::SimpleStruct>>,
         363  +
    /* BuilderGenerator.kt:275 */ pub(crate) long: ::std::option::Option<i64>,
         364  +
    /* BuilderGenerator.kt:275 */
  209    365   
    pub(crate) map_of_lists_of_strings:
  210    366   
        ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>>,
         367  +
    /* BuilderGenerator.kt:275 */
  211    368   
    pub(crate) map_of_maps: ::std::option::Option<
  212    369   
        ::std::collections::HashMap<::std::string::String, ::std::collections::HashMap<::std::string::String, ::std::string::String>>,
  213    370   
    >,
         371  +
    /* BuilderGenerator.kt:275 */
  214    372   
    pub(crate) map_of_strings: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
         373  +
    /* BuilderGenerator.kt:275 */
  215    374   
    pub(crate) map_of_structs: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::SimpleStruct>>,
  216         -
    pub(crate) recursive_list: ::std::option::Option<::std::vec::Vec<crate::types::KitchenSink>>,
         375  +
    /* BuilderGenerator.kt:275 */ pub(crate) recursive_list: ::std::option::Option<::std::vec::Vec<crate::types::KitchenSink>>,
         376  +
    /* BuilderGenerator.kt:275 */
  217    377   
    pub(crate) recursive_map: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::KitchenSink>>,
  218         -
    pub(crate) recursive_struct: ::std::option::Option<::std::boxed::Box<crate::types::KitchenSink>>,
  219         -
    pub(crate) simple_struct: ::std::option::Option<crate::types::SimpleStruct>,
  220         -
    pub(crate) string: ::std::option::Option<::std::string::String>,
  221         -
    pub(crate) struct_with_json_name: ::std::option::Option<crate::types::StructWithJsonName>,
  222         -
    pub(crate) timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
         378  +
    /* BuilderGenerator.kt:275 */ pub(crate) recursive_struct: ::std::option::Option<::std::boxed::Box<crate::types::KitchenSink>>,
         379  +
    /* BuilderGenerator.kt:275 */ pub(crate) simple_struct: ::std::option::Option<crate::types::SimpleStruct>,
         380  +
    /* BuilderGenerator.kt:275 */ pub(crate) string: ::std::option::Option<::std::string::String>,
         381  +
    /* BuilderGenerator.kt:275 */ pub(crate) struct_with_json_name: ::std::option::Option<crate::types::StructWithJsonName>,
         382  +
    /* BuilderGenerator.kt:275 */ pub(crate) timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
         383  +
    /* BuilderGenerator.kt:275 */
  223    384   
    pub(crate) unix_timestamp: ::std::option::Option<::aws_smithy_types::DateTime>,
         385  +
    /* BuilderGenerator.kt:345 */
  224    386   
}
         387  +
/* BuilderGenerator.kt:355 */
  225    388   
impl KitchenSinkOperationOutputBuilder {
         389  +
    /* BuilderGenerator.kt:286 */
  226    390   
    #[allow(missing_docs)] // documentation missing in model
         391  +
                           /* BuilderGenerator.kt:291 */
  227    392   
    pub fn blob(mut self, input: ::aws_smithy_types::Blob) -> Self {
         393  +
        /* BuilderGenerator.kt:292 */
  228    394   
        self.blob = ::std::option::Option::Some(input);
         395  +
        /* BuilderGenerator.kt:293 */
  229    396   
        self
         397  +
        /* BuilderGenerator.kt:291 */
  230    398   
    }
         399  +
    /* BuilderGenerator.kt:312 */
  231    400   
    #[allow(missing_docs)] // documentation missing in model
         401  +
                           /* BuilderGenerator.kt:314 */
  232    402   
    pub fn set_blob(mut self, input: ::std::option::Option<::aws_smithy_types::Blob>) -> Self {
         403  +
        /* BuilderGenerator.kt:315 */
  233    404   
        self.blob = input;
  234    405   
        self
         406  +
        /* BuilderGenerator.kt:314 */
  235    407   
    }
         408  +
    /* BuilderGenerator.kt:334 */
  236    409   
    #[allow(missing_docs)] // documentation missing in model
         410  +
                           /* BuilderGenerator.kt:336 */
  237    411   
    pub fn get_blob(&self) -> &::std::option::Option<::aws_smithy_types::Blob> {
         412  +
        /* BuilderGenerator.kt:337 */
  238    413   
        &self.blob
         414  +
        /* BuilderGenerator.kt:336 */
  239    415   
    }
         416  +
    /* BuilderGenerator.kt:286 */
  240    417   
    #[allow(missing_docs)] // documentation missing in model
         418  +
                           /* BuilderGenerator.kt:291 */
  241    419   
    pub fn boolean(mut self, input: bool) -> Self {
         420  +
        /* BuilderGenerator.kt:292 */
  242    421   
        self.boolean = ::std::option::Option::Some(input);
         422  +
        /* BuilderGenerator.kt:293 */
  243    423   
        self
         424  +
        /* BuilderGenerator.kt:291 */
  244    425   
    }
         426  +
    /* BuilderGenerator.kt:312 */
  245    427   
    #[allow(missing_docs)] // documentation missing in model
         428  +
                           /* BuilderGenerator.kt:314 */
  246    429   
    pub fn set_boolean(mut self, input: ::std::option::Option<bool>) -> Self {
         430  +
        /* BuilderGenerator.kt:315 */
  247    431   
        self.boolean = input;
  248    432   
        self
         433  +
        /* BuilderGenerator.kt:314 */
  249    434   
    }
         435  +
    /* BuilderGenerator.kt:334 */
  250    436   
    #[allow(missing_docs)] // documentation missing in model
         437  +
                           /* BuilderGenerator.kt:336 */
  251    438   
    pub fn get_boolean(&self) -> &::std::option::Option<bool> {
         439  +
        /* BuilderGenerator.kt:337 */
  252    440   
        &self.boolean
         441  +
        /* BuilderGenerator.kt:336 */
  253    442   
    }
         443  +
    /* BuilderGenerator.kt:286 */
  254    444   
    #[allow(missing_docs)] // documentation missing in model
         445  +
                           /* BuilderGenerator.kt:291 */
  255    446   
    pub fn double(mut self, input: f64) -> Self {
         447  +
        /* BuilderGenerator.kt:292 */
  256    448   
        self.double = ::std::option::Option::Some(input);
         449  +
        /* BuilderGenerator.kt:293 */
  257    450   
        self
         451  +
        /* BuilderGenerator.kt:291 */
  258    452   
    }
         453  +
    /* BuilderGenerator.kt:312 */
  259    454   
    #[allow(missing_docs)] // documentation missing in model
         455  +
                           /* BuilderGenerator.kt:314 */
  260    456   
    pub fn set_double(mut self, input: ::std::option::Option<f64>) -> Self {
         457  +
        /* BuilderGenerator.kt:315 */
  261    458   
        self.double = input;
  262    459   
        self
         460  +
        /* BuilderGenerator.kt:314 */
  263    461   
    }
         462  +
    /* BuilderGenerator.kt:334 */
  264    463   
    #[allow(missing_docs)] // documentation missing in model
         464  +
                           /* BuilderGenerator.kt:336 */
  265    465   
    pub fn get_double(&self) -> &::std::option::Option<f64> {
         466  +
        /* BuilderGenerator.kt:337 */
  266    467   
        &self.double
         468  +
        /* BuilderGenerator.kt:336 */
  267    469   
    }
         470  +
    /* BuilderGenerator.kt:286 */
  268    471   
    #[allow(missing_docs)] // documentation missing in model
         472  +
                           /* BuilderGenerator.kt:291 */
  269    473   
    pub fn empty_struct(mut self, input: crate::types::EmptyStruct) -> Self {
         474  +
        /* BuilderGenerator.kt:292 */
  270    475   
        self.empty_struct = ::std::option::Option::Some(input);
         476  +
        /* BuilderGenerator.kt:293 */
  271    477   
        self
         478  +
        /* BuilderGenerator.kt:291 */
  272    479   
    }
         480  +
    /* BuilderGenerator.kt:312 */
  273    481   
    #[allow(missing_docs)] // documentation missing in model
         482  +
                           /* BuilderGenerator.kt:314 */
  274    483   
    pub fn set_empty_struct(mut self, input: ::std::option::Option<crate::types::EmptyStruct>) -> Self {
         484  +
        /* BuilderGenerator.kt:315 */
  275    485   
        self.empty_struct = input;
  276    486   
        self
         487  +
        /* BuilderGenerator.kt:314 */
  277    488   
    }
         489  +
    /* BuilderGenerator.kt:334 */
  278    490   
    #[allow(missing_docs)] // documentation missing in model
         491  +
                           /* BuilderGenerator.kt:336 */
  279    492   
    pub fn get_empty_struct(&self) -> &::std::option::Option<crate::types::EmptyStruct> {
         493  +
        /* BuilderGenerator.kt:337 */
  280    494   
        &self.empty_struct
         495  +
        /* BuilderGenerator.kt:336 */
  281    496   
    }
         497  +
    /* BuilderGenerator.kt:286 */
  282    498   
    #[allow(missing_docs)] // documentation missing in model
         499  +
                           /* BuilderGenerator.kt:291 */
  283    500   
    pub fn float(mut self, input: f32) -> Self {
         501  +
        /* BuilderGenerator.kt:292 */
  284    502   
        self.float = ::std::option::Option::Some(input);
         503  +
        /* BuilderGenerator.kt:293 */
  285    504   
        self
         505  +
        /* BuilderGenerator.kt:291 */
  286    506   
    }
         507  +
    /* BuilderGenerator.kt:312 */
  287    508   
    #[allow(missing_docs)] // documentation missing in model
         509  +
                           /* BuilderGenerator.kt:314 */
  288    510   
    pub fn set_float(mut self, input: ::std::option::Option<f32>) -> Self {
         511  +
        /* BuilderGenerator.kt:315 */
  289    512   
        self.float = input;
  290    513   
        self
         514  +
        /* BuilderGenerator.kt:314 */
  291    515   
    }
         516  +
    /* BuilderGenerator.kt:334 */
  292    517   
    #[allow(missing_docs)] // documentation missing in model
         518  +
                           /* BuilderGenerator.kt:336 */
  293    519   
    pub fn get_float(&self) -> &::std::option::Option<f32> {
         520  +
        /* BuilderGenerator.kt:337 */
  294    521   
        &self.float
         522  +
        /* BuilderGenerator.kt:336 */
  295    523   
    }
         524  +
    /* BuilderGenerator.kt:286 */
  296    525   
    #[allow(missing_docs)] // documentation missing in model
         526  +
                           /* BuilderGenerator.kt:291 */
  297    527   
    pub fn httpdate_timestamp(mut self, input: ::aws_smithy_types::DateTime) -> Self {
         528  +
        /* BuilderGenerator.kt:292 */
  298    529   
        self.httpdate_timestamp = ::std::option::Option::Some(input);
         530  +
        /* BuilderGenerator.kt:293 */
  299    531   
        self
         532  +
        /* BuilderGenerator.kt:291 */
  300    533   
    }
         534  +
    /* BuilderGenerator.kt:312 */
  301    535   
    #[allow(missing_docs)] // documentation missing in model
         536  +
                           /* BuilderGenerator.kt:314 */
  302    537   
    pub fn set_httpdate_timestamp(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
         538  +
        /* BuilderGenerator.kt:315 */
  303    539   
        self.httpdate_timestamp = input;
  304    540   
        self
         541  +
        /* BuilderGenerator.kt:314 */
  305    542   
    }
         543  +
    /* BuilderGenerator.kt:334 */
  306    544   
    #[allow(missing_docs)] // documentation missing in model
         545  +
                           /* BuilderGenerator.kt:336 */
  307    546   
    pub fn get_httpdate_timestamp(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
         547  +
        /* BuilderGenerator.kt:337 */
  308    548   
        &self.httpdate_timestamp
         549  +
        /* BuilderGenerator.kt:336 */
  309    550   
    }
         551  +
    /* BuilderGenerator.kt:286 */
  310    552   
    #[allow(missing_docs)] // documentation missing in model
         553  +
                           /* BuilderGenerator.kt:291 */
  311    554   
    pub fn integer(mut self, input: i32) -> Self {
         555  +
        /* BuilderGenerator.kt:292 */
  312    556   
        self.integer = ::std::option::Option::Some(input);
         557  +
        /* BuilderGenerator.kt:293 */
  313    558   
        self
         559  +
        /* BuilderGenerator.kt:291 */
  314    560   
    }
         561  +
    /* BuilderGenerator.kt:312 */
  315    562   
    #[allow(missing_docs)] // documentation missing in model
         563  +
                           /* BuilderGenerator.kt:314 */
  316    564   
    pub fn set_integer(mut self, input: ::std::option::Option<i32>) -> Self {
         565  +
        /* BuilderGenerator.kt:315 */
  317    566   
        self.integer = input;
  318    567   
        self
         568  +
        /* BuilderGenerator.kt:314 */
  319    569   
    }
         570  +
    /* BuilderGenerator.kt:334 */
  320    571   
    #[allow(missing_docs)] // documentation missing in model
         572  +
                           /* BuilderGenerator.kt:336 */
  321    573   
    pub fn get_integer(&self) -> &::std::option::Option<i32> {
         574  +
        /* BuilderGenerator.kt:337 */
  322    575   
        &self.integer
         576  +
        /* BuilderGenerator.kt:336 */
  323    577   
    }
         578  +
    /* BuilderGenerator.kt:286 */
  324    579   
    #[allow(missing_docs)] // documentation missing in model
         580  +
                           /* BuilderGenerator.kt:291 */
  325    581   
    pub fn iso8601_timestamp(mut self, input: ::aws_smithy_types::DateTime) -> Self {
         582  +
        /* BuilderGenerator.kt:292 */
  326    583   
        self.iso8601_timestamp = ::std::option::Option::Some(input);
         584  +
        /* BuilderGenerator.kt:293 */
  327    585   
        self
         586  +
        /* BuilderGenerator.kt:291 */
  328    587   
    }
         588  +
    /* BuilderGenerator.kt:312 */
  329    589   
    #[allow(missing_docs)] // documentation missing in model
         590  +
                           /* BuilderGenerator.kt:314 */
  330    591   
    pub fn set_iso8601_timestamp(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
         592  +
        /* BuilderGenerator.kt:315 */
  331    593   
        self.iso8601_timestamp = input;
  332    594   
        self
         595  +
        /* BuilderGenerator.kt:314 */
  333    596   
    }
         597  +
    /* BuilderGenerator.kt:334 */
  334    598   
    #[allow(missing_docs)] // documentation missing in model
         599  +
                           /* BuilderGenerator.kt:336 */
  335    600   
    pub fn get_iso8601_timestamp(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
         601  +
        /* BuilderGenerator.kt:337 */
  336    602   
        &self.iso8601_timestamp
         603  +
        /* BuilderGenerator.kt:336 */
  337    604   
    }
         605  +
    /* BuilderGenerator.kt:286 */
  338    606   
    #[allow(missing_docs)] // documentation missing in model
         607  +
                           /* BuilderGenerator.kt:291 */
  339    608   
    pub fn json_value(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         609  +
        /* BuilderGenerator.kt:292 */
  340    610   
        self.json_value = ::std::option::Option::Some(input.into());
         611  +
        /* BuilderGenerator.kt:293 */
  341    612   
        self
         613  +
        /* BuilderGenerator.kt:291 */
  342    614   
    }
         615  +
    /* BuilderGenerator.kt:312 */
  343    616   
    #[allow(missing_docs)] // documentation missing in model
         617  +
                           /* BuilderGenerator.kt:314 */
  344    618   
    pub fn set_json_value(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         619  +
        /* BuilderGenerator.kt:315 */
  345    620   
        self.json_value = input;
  346    621   
        self
         622  +
        /* BuilderGenerator.kt:314 */
  347    623   
    }
         624  +
    /* BuilderGenerator.kt:334 */
  348    625   
    #[allow(missing_docs)] // documentation missing in model
         626  +
                           /* BuilderGenerator.kt:336 */
  349    627   
    pub fn get_json_value(&self) -> &::std::option::Option<::std::string::String> {
         628  +
        /* BuilderGenerator.kt:337 */
  350    629   
        &self.json_value
         630  +
        /* BuilderGenerator.kt:336 */
  351    631   
    }
  352         -
    /// Appends an item to `list_of_lists`.
         632  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `list_of_lists`.
         633  +
    /* BuilderGenerator.kt:411 */
  353    634   
    ///
  354         -
    /// To override the contents of this collection use [`set_list_of_lists`](Self::set_list_of_lists).
         635  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_list_of_lists`](Self::set_list_of_lists).
         636  +
    /* BuilderGenerator.kt:413 */
  355    637   
    ///
         638  +
    /* BuilderGenerator.kt:418 */
  356    639   
    pub fn list_of_lists(mut self, input: ::std::vec::Vec<::std::string::String>) -> Self {
         640  +
        /* BuilderGenerator.kt:419 */
  357    641   
        let mut v = self.list_of_lists.unwrap_or_default();
  358    642   
        v.push(input);
  359    643   
        self.list_of_lists = ::std::option::Option::Some(v);
  360    644   
        self
         645  +
        /* BuilderGenerator.kt:418 */
  361    646   
    }
         647  +
    /* BuilderGenerator.kt:312 */
  362    648   
    #[allow(missing_docs)] // documentation missing in model
         649  +
                           /* BuilderGenerator.kt:314 */
  363    650   
    pub fn set_list_of_lists(mut self, input: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>) -> Self {
         651  +
        /* BuilderGenerator.kt:315 */
  364    652   
        self.list_of_lists = input;
  365    653   
        self
         654  +
        /* BuilderGenerator.kt:314 */
  366    655   
    }
         656  +
    /* BuilderGenerator.kt:334 */
  367    657   
    #[allow(missing_docs)] // documentation missing in model
         658  +
                           /* BuilderGenerator.kt:336 */
  368    659   
    pub fn get_list_of_lists(&self) -> &::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>> {
         660  +
        /* BuilderGenerator.kt:337 */
  369    661   
        &self.list_of_lists
         662  +
        /* BuilderGenerator.kt:336 */
  370    663   
    }
  371         -
    /// Appends an item to `list_of_maps_of_strings`.
         664  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `list_of_maps_of_strings`.
         665  +
    /* BuilderGenerator.kt:411 */
  372    666   
    ///
  373         -
    /// To override the contents of this collection use [`set_list_of_maps_of_strings`](Self::set_list_of_maps_of_strings).
         667  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_list_of_maps_of_strings`](Self::set_list_of_maps_of_strings).
         668  +
    /* BuilderGenerator.kt:413 */
  374    669   
    ///
         670  +
    /* BuilderGenerator.kt:418 */
  375    671   
    pub fn list_of_maps_of_strings(mut self, input: ::std::collections::HashMap<::std::string::String, ::std::string::String>) -> Self {
         672  +
        /* BuilderGenerator.kt:419 */
  376    673   
        let mut v = self.list_of_maps_of_strings.unwrap_or_default();
  377    674   
        v.push(input);
  378    675   
        self.list_of_maps_of_strings = ::std::option::Option::Some(v);
  379    676   
        self
         677  +
        /* BuilderGenerator.kt:418 */
  380    678   
    }
         679  +
    /* BuilderGenerator.kt:312 */
  381    680   
    #[allow(missing_docs)] // documentation missing in model
         681  +
                           /* BuilderGenerator.kt:314 */
  382    682   
    pub fn set_list_of_maps_of_strings(
  383    683   
        mut self,
  384    684   
        input: ::std::option::Option<::std::vec::Vec<::std::collections::HashMap<::std::string::String, ::std::string::String>>>,
  385    685   
    ) -> Self {
         686  +
        /* BuilderGenerator.kt:315 */
  386    687   
        self.list_of_maps_of_strings = input;
  387    688   
        self
         689  +
        /* BuilderGenerator.kt:314 */
  388    690   
    }
         691  +
    /* BuilderGenerator.kt:334 */
  389    692   
    #[allow(missing_docs)] // documentation missing in model
         693  +
                           /* BuilderGenerator.kt:336 */
  390    694   
    pub fn get_list_of_maps_of_strings(
  391    695   
        &self,
  392    696   
    ) -> &::std::option::Option<::std::vec::Vec<::std::collections::HashMap<::std::string::String, ::std::string::String>>> {
         697  +
        /* BuilderGenerator.kt:337 */
  393    698   
        &self.list_of_maps_of_strings
         699  +
        /* BuilderGenerator.kt:336 */
  394    700   
    }
  395         -
    /// Appends an item to `list_of_strings`.
         701  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `list_of_strings`.
         702  +
    /* BuilderGenerator.kt:411 */
  396    703   
    ///
  397         -
    /// To override the contents of this collection use [`set_list_of_strings`](Self::set_list_of_strings).
         704  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_list_of_strings`](Self::set_list_of_strings).
         705  +
    /* BuilderGenerator.kt:413 */
  398    706   
    ///
         707  +
    /* BuilderGenerator.kt:418 */
  399    708   
    pub fn list_of_strings(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         709  +
        /* BuilderGenerator.kt:419 */
  400    710   
        let mut v = self.list_of_strings.unwrap_or_default();
  401    711   
        v.push(input.into());
  402    712   
        self.list_of_strings = ::std::option::Option::Some(v);
  403    713   
        self
         714  +
        /* BuilderGenerator.kt:418 */
  404    715   
    }
         716  +
    /* BuilderGenerator.kt:312 */
  405    717   
    #[allow(missing_docs)] // documentation missing in model
         718  +
                           /* BuilderGenerator.kt:314 */
  406    719   
    pub fn set_list_of_strings(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
         720  +
        /* BuilderGenerator.kt:315 */
  407    721   
        self.list_of_strings = input;
  408    722   
        self
         723  +
        /* BuilderGenerator.kt:314 */
  409    724   
    }
         725  +
    /* BuilderGenerator.kt:334 */
  410    726   
    #[allow(missing_docs)] // documentation missing in model
         727  +
                           /* BuilderGenerator.kt:336 */
  411    728   
    pub fn get_list_of_strings(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
         729  +
        /* BuilderGenerator.kt:337 */
  412    730   
        &self.list_of_strings
         731  +
        /* BuilderGenerator.kt:336 */
  413    732   
    }
  414         -
    /// Appends an item to `list_of_structs`.
         733  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `list_of_structs`.
         734  +
    /* BuilderGenerator.kt:411 */
  415    735   
    ///
  416         -
    /// To override the contents of this collection use [`set_list_of_structs`](Self::set_list_of_structs).
         736  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_list_of_structs`](Self::set_list_of_structs).
         737  +
    /* BuilderGenerator.kt:413 */
  417    738   
    ///
         739  +
    /* BuilderGenerator.kt:418 */
  418    740   
    pub fn list_of_structs(mut self, input: crate::types::SimpleStruct) -> Self {
         741  +
        /* BuilderGenerator.kt:419 */
  419    742   
        let mut v = self.list_of_structs.unwrap_or_default();
  420    743   
        v.push(input);
  421    744   
        self.list_of_structs = ::std::option::Option::Some(v);
  422    745   
        self
         746  +
        /* BuilderGenerator.kt:418 */
  423    747   
    }
         748  +
    /* BuilderGenerator.kt:312 */
  424    749   
    #[allow(missing_docs)] // documentation missing in model
         750  +
                           /* BuilderGenerator.kt:314 */
  425    751   
    pub fn set_list_of_structs(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::SimpleStruct>>) -> Self {
         752  +
        /* BuilderGenerator.kt:315 */
  426    753   
        self.list_of_structs = input;
  427    754   
        self
         755  +
        /* BuilderGenerator.kt:314 */
  428    756   
    }
         757  +
    /* BuilderGenerator.kt:334 */
  429    758   
    #[allow(missing_docs)] // documentation missing in model
         759  +
                           /* BuilderGenerator.kt:336 */
  430    760   
    pub fn get_list_of_structs(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::SimpleStruct>> {
         761  +
        /* BuilderGenerator.kt:337 */
  431    762   
        &self.list_of_structs
         763  +
        /* BuilderGenerator.kt:336 */
  432    764   
    }
         765  +
    /* BuilderGenerator.kt:286 */
  433    766   
    #[allow(missing_docs)] // documentation missing in model
         767  +
                           /* BuilderGenerator.kt:291 */
  434    768   
    pub fn long(mut self, input: i64) -> Self {
         769  +
        /* BuilderGenerator.kt:292 */
  435    770   
        self.long = ::std::option::Option::Some(input);
         771  +
        /* BuilderGenerator.kt:293 */
  436    772   
        self
         773  +
        /* BuilderGenerator.kt:291 */
  437    774   
    }
         775  +
    /* BuilderGenerator.kt:312 */
  438    776   
    #[allow(missing_docs)] // documentation missing in model
         777  +
                           /* BuilderGenerator.kt:314 */
  439    778   
    pub fn set_long(mut self, input: ::std::option::Option<i64>) -> Self {
         779  +
        /* BuilderGenerator.kt:315 */
  440    780   
        self.long = input;
  441    781   
        self
         782  +
        /* BuilderGenerator.kt:314 */
  442    783   
    }
         784  +
    /* BuilderGenerator.kt:334 */
  443    785   
    #[allow(missing_docs)] // documentation missing in model
         786  +
                           /* BuilderGenerator.kt:336 */
  444    787   
    pub fn get_long(&self) -> &::std::option::Option<i64> {
         788  +
        /* BuilderGenerator.kt:337 */
  445    789   
        &self.long
         790  +
        /* BuilderGenerator.kt:336 */
  446    791   
    }
  447         -
    /// Adds a key-value pair to `map_of_lists_of_strings`.
         792  +
    /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `map_of_lists_of_strings`.
         793  +
    /* BuilderGenerator.kt:437 */
  448    794   
    ///
  449         -
    /// To override the contents of this collection use [`set_map_of_lists_of_strings`](Self::set_map_of_lists_of_strings).
         795  +
    /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_map_of_lists_of_strings`](Self::set_map_of_lists_of_strings).
         796  +
    /* BuilderGenerator.kt:439 */
  450    797   
    ///
         798  +
    /* BuilderGenerator.kt:445 */
  451    799   
    pub fn map_of_lists_of_strings(mut self, k: impl ::std::convert::Into<::std::string::String>, v: ::std::vec::Vec<::std::string::String>) -> Self {
         800  +
        /* BuilderGenerator.kt:448 */
  452    801   
        let mut hash_map = self.map_of_lists_of_strings.unwrap_or_default();
  453    802   
        hash_map.insert(k.into(), v);
  454    803   
        self.map_of_lists_of_strings = ::std::option::Option::Some(hash_map);
  455    804   
        self
         805  +
        /* BuilderGenerator.kt:445 */
  456    806   
    }
         807  +
    /* BuilderGenerator.kt:312 */
  457    808   
    #[allow(missing_docs)] // documentation missing in model
         809  +
                           /* BuilderGenerator.kt:314 */
  458    810   
    pub fn set_map_of_lists_of_strings(
  459    811   
        mut self,
  460    812   
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>>,
  461    813   
    ) -> Self {
         814  +
        /* BuilderGenerator.kt:315 */
  462    815   
        self.map_of_lists_of_strings = input;
  463    816   
        self
         817  +
        /* BuilderGenerator.kt:314 */
  464    818   
    }
         819  +
    /* BuilderGenerator.kt:334 */
  465    820   
    #[allow(missing_docs)] // documentation missing in model
         821  +
                           /* BuilderGenerator.kt:336 */
  466    822   
    pub fn get_map_of_lists_of_strings(
  467    823   
        &self,
  468    824   
    ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>> {
         825  +
        /* BuilderGenerator.kt:337 */
  469    826   
        &self.map_of_lists_of_strings
         827  +
        /* BuilderGenerator.kt:336 */
  470    828   
    }
  471         -
    /// Adds a key-value pair to `map_of_maps`.
         829  +
    /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `map_of_maps`.
         830  +
    /* BuilderGenerator.kt:437 */
  472    831   
    ///
  473         -
    /// To override the contents of this collection use [`set_map_of_maps`](Self::set_map_of_maps).
         832  +
    /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_map_of_maps`](Self::set_map_of_maps).
         833  +
    /* BuilderGenerator.kt:439 */
  474    834   
    ///
         835  +
    /* BuilderGenerator.kt:445 */
  475    836   
    pub fn map_of_maps(
  476    837   
        mut self,
  477    838   
        k: impl ::std::convert::Into<::std::string::String>,
  478    839   
        v: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
  479    840   
    ) -> Self {
         841  +
        /* BuilderGenerator.kt:448 */
  480    842   
        let mut hash_map = self.map_of_maps.unwrap_or_default();
  481    843   
        hash_map.insert(k.into(), v);
  482    844   
        self.map_of_maps = ::std::option::Option::Some(hash_map);
  483    845   
        self
         846  +
        /* BuilderGenerator.kt:445 */
  484    847   
    }
         848  +
    /* BuilderGenerator.kt:312 */
  485    849   
    #[allow(missing_docs)] // documentation missing in model
         850  +
                           /* BuilderGenerator.kt:314 */
  486    851   
    pub fn set_map_of_maps(
  487    852   
        mut self,
  488    853   
        input: ::std::option::Option<
  489    854   
            ::std::collections::HashMap<::std::string::String, ::std::collections::HashMap<::std::string::String, ::std::string::String>>,
  490    855   
        >,
  491    856   
    ) -> Self {
         857  +
        /* BuilderGenerator.kt:315 */
  492    858   
        self.map_of_maps = input;
  493    859   
        self
         860  +
        /* BuilderGenerator.kt:314 */
  494    861   
    }
         862  +
    /* BuilderGenerator.kt:334 */
  495    863   
    #[allow(missing_docs)] // documentation missing in model
         864  +
                           /* BuilderGenerator.kt:336 */
  496    865   
    pub fn get_map_of_maps(
  497    866   
        &self,
  498    867   
    ) -> &::std::option::Option<
  499    868   
        ::std::collections::HashMap<::std::string::String, ::std::collections::HashMap<::std::string::String, ::std::string::String>>,
  500    869   
    > {
         870  +
        /* BuilderGenerator.kt:337 */
  501    871   
        &self.map_of_maps
         872  +
        /* BuilderGenerator.kt:336 */
  502    873   
    }
  503         -
    /// Adds a key-value pair to `map_of_strings`.
         874  +
    /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `map_of_strings`.
         875  +
    /* BuilderGenerator.kt:437 */
  504    876   
    ///
  505         -
    /// To override the contents of this collection use [`set_map_of_strings`](Self::set_map_of_strings).
         877  +
    /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_map_of_strings`](Self::set_map_of_strings).
         878  +
    /* BuilderGenerator.kt:439 */
  506    879   
    ///
         880  +
    /* BuilderGenerator.kt:445 */
  507    881   
    pub fn map_of_strings(
  508    882   
        mut self,
  509    883   
        k: impl ::std::convert::Into<::std::string::String>,
  510    884   
        v: impl ::std::convert::Into<::std::string::String>,
  511    885   
    ) -> Self {
         886  +
        /* BuilderGenerator.kt:448 */
  512    887   
        let mut hash_map = self.map_of_strings.unwrap_or_default();
  513    888   
        hash_map.insert(k.into(), v.into());
  514    889   
        self.map_of_strings = ::std::option::Option::Some(hash_map);
  515    890   
        self
         891  +
        /* BuilderGenerator.kt:445 */
  516    892   
    }
         893  +
    /* BuilderGenerator.kt:312 */
  517    894   
    #[allow(missing_docs)] // documentation missing in model
         895  +
                           /* BuilderGenerator.kt:314 */
  518    896   
    pub fn set_map_of_strings(
  519    897   
        mut self,
  520    898   
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
  521    899   
    ) -> Self {
         900  +
        /* BuilderGenerator.kt:315 */
  522    901   
        self.map_of_strings = input;
  523    902   
        self
         903  +
        /* BuilderGenerator.kt:314 */
  524    904   
    }
         905  +
    /* BuilderGenerator.kt:334 */
  525    906   
    #[allow(missing_docs)] // documentation missing in model
         907  +
                           /* BuilderGenerator.kt:336 */
  526    908   
    pub fn get_map_of_strings(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
         909  +
        /* BuilderGenerator.kt:337 */
  527    910   
        &self.map_of_strings
         911  +
        /* BuilderGenerator.kt:336 */
  528    912   
    }
  529         -
    /// Adds a key-value pair to `map_of_structs`.
         913  +
    /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `map_of_structs`.
         914  +
    /* BuilderGenerator.kt:437 */
  530    915   
    ///
  531         -
    /// To override the contents of this collection use [`set_map_of_structs`](Self::set_map_of_structs).
         916  +
    /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_map_of_structs`](Self::set_map_of_structs).
         917  +
    /* BuilderGenerator.kt:439 */
  532    918   
    ///
         919  +
    /* BuilderGenerator.kt:445 */
  533    920   
    pub fn map_of_structs(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::SimpleStruct) -> Self {
         921  +
        /* BuilderGenerator.kt:448 */
  534    922   
        let mut hash_map = self.map_of_structs.unwrap_or_default();
  535    923   
        hash_map.insert(k.into(), v);
  536    924   
        self.map_of_structs = ::std::option::Option::Some(hash_map);
  537    925   
        self
         926  +
        /* BuilderGenerator.kt:445 */
  538    927   
    }
         928  +
    /* BuilderGenerator.kt:312 */
  539    929   
    #[allow(missing_docs)] // documentation missing in model
         930  +
                           /* BuilderGenerator.kt:314 */
  540    931   
    pub fn set_map_of_structs(
  541    932   
        mut self,
  542    933   
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::SimpleStruct>>,
  543    934   
    ) -> Self {
         935  +
        /* BuilderGenerator.kt:315 */
  544    936   
        self.map_of_structs = input;
  545    937   
        self
         938  +
        /* BuilderGenerator.kt:314 */
  546    939   
    }
         940  +
    /* BuilderGenerator.kt:334 */
  547    941   
    #[allow(missing_docs)] // documentation missing in model
         942  +
                           /* BuilderGenerator.kt:336 */
  548    943   
    pub fn get_map_of_structs(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::SimpleStruct>> {
         944  +
        /* BuilderGenerator.kt:337 */
  549    945   
        &self.map_of_structs
         946  +
        /* BuilderGenerator.kt:336 */
  550    947   
    }
  551         -
    /// Appends an item to `recursive_list`.
         948  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `recursive_list`.
         949  +
    /* BuilderGenerator.kt:411 */
  552    950   
    ///
  553         -
    /// To override the contents of this collection use [`set_recursive_list`](Self::set_recursive_list).
         951  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_recursive_list`](Self::set_recursive_list).
         952  +
    /* BuilderGenerator.kt:413 */
  554    953   
    ///
         954  +
    /* BuilderGenerator.kt:418 */
  555    955   
    pub fn recursive_list(mut self, input: crate::types::KitchenSink) -> Self {
         956  +
        /* BuilderGenerator.kt:419 */
  556    957   
        let mut v = self.recursive_list.unwrap_or_default();
  557    958   
        v.push(input);
  558    959   
        self.recursive_list = ::std::option::Option::Some(v);
  559    960   
        self
         961  +
        /* BuilderGenerator.kt:418 */
  560    962   
    }
         963  +
    /* BuilderGenerator.kt:312 */
  561    964   
    #[allow(missing_docs)] // documentation missing in model
         965  +
                           /* BuilderGenerator.kt:314 */
  562    966   
    pub fn set_recursive_list(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::KitchenSink>>) -> Self {
         967  +
        /* BuilderGenerator.kt:315 */
  563    968   
        self.recursive_list = input;
  564    969   
        self
         970  +
        /* BuilderGenerator.kt:314 */
  565    971   
    }
         972  +
    /* BuilderGenerator.kt:334 */
  566    973   
    #[allow(missing_docs)] // documentation missing in model
         974  +
                           /* BuilderGenerator.kt:336 */
  567    975   
    pub fn get_recursive_list(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::KitchenSink>> {
         976  +
        /* BuilderGenerator.kt:337 */
  568    977   
        &self.recursive_list
         978  +
        /* BuilderGenerator.kt:336 */
  569    979   
    }
  570         -
    /// Adds a key-value pair to `recursive_map`.
         980  +
    /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `recursive_map`.
         981  +
    /* BuilderGenerator.kt:437 */
  571    982   
    ///
  572         -
    /// To override the contents of this collection use [`set_recursive_map`](Self::set_recursive_map).
         983  +
    /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_recursive_map`](Self::set_recursive_map).
         984  +
    /* BuilderGenerator.kt:439 */
  573    985   
    ///
         986  +
    /* BuilderGenerator.kt:445 */
  574    987   
    pub fn recursive_map(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::KitchenSink) -> Self {
         988  +
        /* BuilderGenerator.kt:448 */
  575    989   
        let mut hash_map = self.recursive_map.unwrap_or_default();
  576    990   
        hash_map.insert(k.into(), v);
  577    991   
        self.recursive_map = ::std::option::Option::Some(hash_map);
  578    992   
        self
         993  +
        /* BuilderGenerator.kt:445 */
  579    994   
    }
         995  +
    /* BuilderGenerator.kt:312 */
  580    996   
    #[allow(missing_docs)] // documentation missing in model
         997  +
                           /* BuilderGenerator.kt:314 */
  581    998   
    pub fn set_recursive_map(
  582    999   
        mut self,
  583   1000   
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::KitchenSink>>,
  584   1001   
    ) -> Self {
        1002  +
        /* BuilderGenerator.kt:315 */
  585   1003   
        self.recursive_map = input;
  586   1004   
        self
        1005  +
        /* BuilderGenerator.kt:314 */
  587   1006   
    }
        1007  +
    /* BuilderGenerator.kt:334 */
  588   1008   
    #[allow(missing_docs)] // documentation missing in model
        1009  +
                           /* BuilderGenerator.kt:336 */
  589   1010   
    pub fn get_recursive_map(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::KitchenSink>> {
        1011  +
        /* BuilderGenerator.kt:337 */
  590   1012   
        &self.recursive_map
        1013  +
        /* BuilderGenerator.kt:336 */
  591   1014   
    }
        1015  +
    /* BuilderGenerator.kt:286 */
  592   1016   
    #[allow(missing_docs)] // documentation missing in model
        1017  +
                           /* BuilderGenerator.kt:291 */
  593   1018   
    pub fn recursive_struct(mut self, input: impl ::std::convert::Into<::std::boxed::Box<crate::types::KitchenSink>>) -> Self {
        1019  +
        /* BuilderGenerator.kt:292 */
  594   1020   
        self.recursive_struct = ::std::option::Option::Some(input.into());
        1021  +
        /* BuilderGenerator.kt:293 */
  595   1022   
        self
        1023  +
        /* BuilderGenerator.kt:291 */
  596   1024   
    }
        1025  +
    /* BuilderGenerator.kt:312 */
  597   1026   
    #[allow(missing_docs)] // documentation missing in model
        1027  +
                           /* BuilderGenerator.kt:314 */
  598   1028   
    pub fn set_recursive_struct(mut self, input: ::std::option::Option<::std::boxed::Box<crate::types::KitchenSink>>) -> Self {
        1029  +
        /* BuilderGenerator.kt:315 */
  599   1030   
        self.recursive_struct = input;
  600   1031   
        self
        1032  +
        /* BuilderGenerator.kt:314 */
  601   1033   
    }
        1034  +
    /* BuilderGenerator.kt:334 */
  602   1035   
    #[allow(missing_docs)] // documentation missing in model
        1036  +
                           /* BuilderGenerator.kt:336 */
  603   1037   
    pub fn get_recursive_struct(&self) -> &::std::option::Option<::std::boxed::Box<crate::types::KitchenSink>> {
        1038  +
        /* BuilderGenerator.kt:337 */
  604   1039   
        &self.recursive_struct
        1040  +
        /* BuilderGenerator.kt:336 */
  605   1041   
    }
        1042  +
    /* BuilderGenerator.kt:286 */
  606   1043   
    #[allow(missing_docs)] // documentation missing in model
        1044  +
                           /* BuilderGenerator.kt:291 */
  607   1045   
    pub fn simple_struct(mut self, input: crate::types::SimpleStruct) -> Self {
        1046  +
        /* BuilderGenerator.kt:292 */
  608   1047   
        self.simple_struct = ::std::option::Option::Some(input);
        1048  +
        /* BuilderGenerator.kt:293 */
  609   1049   
        self
        1050  +
        /* BuilderGenerator.kt:291 */
  610   1051   
    }
        1052  +
    /* BuilderGenerator.kt:312 */
  611   1053   
    #[allow(missing_docs)] // documentation missing in model
        1054  +
                           /* BuilderGenerator.kt:314 */
  612   1055   
    pub fn set_simple_struct(mut self, input: ::std::option::Option<crate::types::SimpleStruct>) -> Self {
        1056  +
        /* BuilderGenerator.kt:315 */
  613   1057   
        self.simple_struct = input;
  614   1058   
        self
        1059  +
        /* BuilderGenerator.kt:314 */
  615   1060   
    }
        1061  +
    /* BuilderGenerator.kt:334 */
  616   1062   
    #[allow(missing_docs)] // documentation missing in model
        1063  +
                           /* BuilderGenerator.kt:336 */
  617   1064   
    pub fn get_simple_struct(&self) -> &::std::option::Option<crate::types::SimpleStruct> {
        1065  +
        /* BuilderGenerator.kt:337 */
  618   1066   
        &self.simple_struct
        1067  +
        /* BuilderGenerator.kt:336 */
  619   1068   
    }
        1069  +
    /* BuilderGenerator.kt:286 */
  620   1070   
    #[allow(missing_docs)] // documentation missing in model
        1071  +
                           /* BuilderGenerator.kt:291 */
  621   1072   
    pub fn string(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        1073  +
        /* BuilderGenerator.kt:292 */
  622   1074   
        self.string = ::std::option::Option::Some(input.into());
        1075  +
        /* BuilderGenerator.kt:293 */
  623   1076   
        self
        1077  +
        /* BuilderGenerator.kt:291 */
  624   1078   
    }
        1079  +
    /* BuilderGenerator.kt:312 */
  625   1080   
    #[allow(missing_docs)] // documentation missing in model
        1081  +
                           /* BuilderGenerator.kt:314 */
  626   1082   
    pub fn set_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        1083  +
        /* BuilderGenerator.kt:315 */
  627   1084   
        self.string = input;
  628   1085   
        self
        1086  +
        /* BuilderGenerator.kt:314 */
  629   1087   
    }
        1088  +
    /* BuilderGenerator.kt:334 */
  630   1089   
    #[allow(missing_docs)] // documentation missing in model
        1090  +
                           /* BuilderGenerator.kt:336 */
  631   1091   
    pub fn get_string(&self) -> &::std::option::Option<::std::string::String> {
        1092  +
        /* BuilderGenerator.kt:337 */
  632   1093   
        &self.string
        1094  +
        /* BuilderGenerator.kt:336 */
  633   1095   
    }
        1096  +
    /* BuilderGenerator.kt:286 */
  634   1097   
    #[allow(missing_docs)] // documentation missing in model
        1098  +
                           /* BuilderGenerator.kt:291 */
  635   1099   
    pub fn struct_with_json_name(mut self, input: crate::types::StructWithJsonName) -> Self {
        1100  +
        /* BuilderGenerator.kt:292 */
  636   1101   
        self.struct_with_json_name = ::std::option::Option::Some(input);
        1102  +
        /* BuilderGenerator.kt:293 */
  637   1103   
        self
        1104  +
        /* BuilderGenerator.kt:291 */
  638   1105   
    }
        1106  +
    /* BuilderGenerator.kt:312 */
  639   1107   
    #[allow(missing_docs)] // documentation missing in model
        1108  +
                           /* BuilderGenerator.kt:314 */
  640   1109   
    pub fn set_struct_with_json_name(mut self, input: ::std::option::Option<crate::types::StructWithJsonName>) -> Self {
        1110  +
        /* BuilderGenerator.kt:315 */
  641   1111   
        self.struct_with_json_name = input;
  642   1112   
        self
        1113  +
        /* BuilderGenerator.kt:314 */
  643   1114   
    }
        1115  +
    /* BuilderGenerator.kt:334 */
  644   1116   
    #[allow(missing_docs)] // documentation missing in model
        1117  +
                           /* BuilderGenerator.kt:336 */
  645   1118   
    pub fn get_struct_with_json_name(&self) -> &::std::option::Option<crate::types::StructWithJsonName> {
        1119  +
        /* BuilderGenerator.kt:337 */
  646   1120   
        &self.struct_with_json_name
        1121  +
        /* BuilderGenerator.kt:336 */
  647   1122   
    }
        1123  +
    /* BuilderGenerator.kt:286 */
  648   1124   
    #[allow(missing_docs)] // documentation missing in model
        1125  +
                           /* BuilderGenerator.kt:291 */
  649   1126   
    pub fn timestamp(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        1127  +
        /* BuilderGenerator.kt:292 */
  650   1128   
        self.timestamp = ::std::option::Option::Some(input);
        1129  +
        /* BuilderGenerator.kt:293 */
  651   1130   
        self
        1131  +
        /* BuilderGenerator.kt:291 */
  652   1132   
    }
        1133  +
    /* BuilderGenerator.kt:312 */
  653   1134   
    #[allow(missing_docs)] // documentation missing in model
        1135  +
                           /* BuilderGenerator.kt:314 */
  654   1136   
    pub fn set_timestamp(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        1137  +
        /* BuilderGenerator.kt:315 */
  655   1138   
        self.timestamp = input;
  656   1139   
        self
        1140  +
        /* BuilderGenerator.kt:314 */
  657   1141   
    }
        1142  +
    /* BuilderGenerator.kt:334 */
  658   1143   
    #[allow(missing_docs)] // documentation missing in model
        1144  +
                           /* BuilderGenerator.kt:336 */
  659   1145   
    pub fn get_timestamp(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        1146  +
        /* BuilderGenerator.kt:337 */
  660   1147   
        &self.timestamp
        1148  +
        /* BuilderGenerator.kt:336 */
  661   1149   
    }
        1150  +
    /* BuilderGenerator.kt:286 */
  662   1151   
    #[allow(missing_docs)] // documentation missing in model
        1152  +
                           /* BuilderGenerator.kt:291 */
  663   1153   
    pub fn unix_timestamp(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        1154  +
        /* BuilderGenerator.kt:292 */
  664   1155   
        self.unix_timestamp = ::std::option::Option::Some(input);
        1156  +
        /* BuilderGenerator.kt:293 */
  665   1157   
        self
        1158  +
        /* BuilderGenerator.kt:291 */
  666   1159   
    }
        1160  +
    /* BuilderGenerator.kt:312 */
  667   1161   
    #[allow(missing_docs)] // documentation missing in model
        1162  +
                           /* BuilderGenerator.kt:314 */
  668   1163   
    pub fn set_unix_timestamp(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        1164  +
        /* BuilderGenerator.kt:315 */
  669   1165   
        self.unix_timestamp = input;
  670   1166   
        self
        1167  +
        /* BuilderGenerator.kt:314 */
  671   1168   
    }
        1169  +
    /* BuilderGenerator.kt:334 */
  672   1170   
    #[allow(missing_docs)] // documentation missing in model
        1171  +
                           /* BuilderGenerator.kt:336 */
  673   1172   
    pub fn get_unix_timestamp(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        1173  +
        /* BuilderGenerator.kt:337 */
  674   1174   
        &self.unix_timestamp
        1175  +
        /* BuilderGenerator.kt:336 */
  675   1176   
    }
  676         -
    /// Consumes the builder and constructs a [`KitchenSinkOperationOutput`](crate::operation::kitchen_sink_operation::KitchenSinkOperationOutput).
        1177  +
    /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`KitchenSinkOperationOutput`](crate::operation::kitchen_sink_operation::KitchenSinkOperationOutput).
        1178  +
    /* BuilderGenerator.kt:253 */
  677   1179   
    pub fn build(self) -> crate::operation::kitchen_sink_operation::KitchenSinkOperationOutput {
        1180  +
        /* BuilderGenerator.kt:477 */
  678   1181   
        crate::operation::kitchen_sink_operation::KitchenSinkOperationOutput {
  679         -
            blob: self.blob,
        1182  +
            /* BuilderGenerator.kt:481 */ blob: self.blob,
        1183  +
            /* BuilderGenerator.kt:481 */
  680   1184   
            boolean: self.boolean,
        1185  +
            /* BuilderGenerator.kt:481 */
  681   1186   
            double: self.double,
        1187  +
            /* BuilderGenerator.kt:481 */
  682   1188   
            empty_struct: self.empty_struct,
        1189  +
            /* BuilderGenerator.kt:481 */
  683   1190   
            float: self.float,
        1191  +
            /* BuilderGenerator.kt:481 */
  684   1192   
            httpdate_timestamp: self.httpdate_timestamp,
        1193  +
            /* BuilderGenerator.kt:481 */
  685   1194   
            integer: self.integer,
        1195  +
            /* BuilderGenerator.kt:481 */
  686   1196   
            iso8601_timestamp: self.iso8601_timestamp,
        1197  +
            /* BuilderGenerator.kt:481 */
  687   1198   
            json_value: self.json_value,
        1199  +
            /* BuilderGenerator.kt:481 */
  688   1200   
            list_of_lists: self.list_of_lists,
        1201  +
            /* BuilderGenerator.kt:481 */
  689   1202   
            list_of_maps_of_strings: self.list_of_maps_of_strings,
        1203  +
            /* BuilderGenerator.kt:481 */
  690   1204   
            list_of_strings: self.list_of_strings,
        1205  +
            /* BuilderGenerator.kt:481 */
  691   1206   
            list_of_structs: self.list_of_structs,
        1207  +
            /* BuilderGenerator.kt:481 */
  692   1208   
            long: self.long,
        1209  +
            /* BuilderGenerator.kt:481 */
  693   1210   
            map_of_lists_of_strings: self.map_of_lists_of_strings,
        1211  +
            /* BuilderGenerator.kt:481 */
  694   1212   
            map_of_maps: self.map_of_maps,
        1213  +
            /* BuilderGenerator.kt:481 */
  695   1214   
            map_of_strings: self.map_of_strings,
        1215  +
            /* BuilderGenerator.kt:481 */
  696   1216   
            map_of_structs: self.map_of_structs,
        1217  +
            /* BuilderGenerator.kt:481 */
  697   1218   
            recursive_list: self.recursive_list,
        1219  +
            /* BuilderGenerator.kt:481 */
  698   1220   
            recursive_map: self.recursive_map,
        1221  +
            /* BuilderGenerator.kt:481 */
  699   1222   
            recursive_struct: self.recursive_struct,
        1223  +
            /* BuilderGenerator.kt:481 */
  700   1224   
            simple_struct: self.simple_struct,
        1225  +
            /* BuilderGenerator.kt:481 */
  701   1226   
            string: self.string,
        1227  +
            /* BuilderGenerator.kt:481 */
  702   1228   
            struct_with_json_name: self.struct_with_json_name,
        1229  +
            /* BuilderGenerator.kt:481 */
  703   1230   
            timestamp: self.timestamp,
        1231  +
            /* BuilderGenerator.kt:481 */
  704   1232   
            unix_timestamp: self.unix_timestamp,
        1233  +
            /* BuilderGenerator.kt:477 */
  705   1234   
        }
        1235  +
        /* BuilderGenerator.kt:253 */
  706   1236   
    }
        1237  +
    /* BuilderGenerator.kt:355 */
  707   1238   
}

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/kitchen_sink_operation/builders.rs

@@ -1,1 +560,728 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* CodegenDelegator.kt:255 */
    2      3   
pub use crate::operation::kitchen_sink_operation::_kitchen_sink_operation_output::KitchenSinkOperationOutputBuilder;
    3      4   
           5  +
/* CodegenDelegator.kt:255 */
    4      6   
pub use crate::operation::kitchen_sink_operation::_kitchen_sink_operation_input::KitchenSinkOperationInputBuilder;
    5      7   
           8  +
/* FluentBuilderGenerator.kt:408 */
    6      9   
impl crate::operation::kitchen_sink_operation::builders::KitchenSinkOperationInputBuilder {
    7     10   
    /// Sends a request with this input using the given client.
    8     11   
    pub async fn send_with(
    9     12   
        self,
   10     13   
        client: &crate::Client,
   11     14   
    ) -> ::std::result::Result<
   12     15   
        crate::operation::kitchen_sink_operation::KitchenSinkOperationOutput,
   13     16   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     17   
            crate::operation::kitchen_sink_operation::KitchenSinkOperationError,
   15     18   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   16     19   
        >,
   17     20   
    > {
   18     21   
        let mut fluent_builder = client.kitchen_sink_operation();
   19     22   
        fluent_builder.inner = self;
   20     23   
        fluent_builder.send().await
   21     24   
    }
   22     25   
}
   23         -
/// Fluent builder constructing a request to `KitchenSinkOperation`.
          26  +
/// /* FluentBuilderGenerator.kt:129 */Fluent builder constructing a request to `KitchenSinkOperation`.
   24     27   
///
          28  +
/* RustType.kt:516 */
   25     29   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
          30  +
/* FluentBuilderGenerator.kt:270 */
   26     31   
pub struct KitchenSinkOperationFluentBuilder {
   27     32   
    handle: ::std::sync::Arc<crate::client::Handle>,
   28     33   
    inner: crate::operation::kitchen_sink_operation::builders::KitchenSinkOperationInputBuilder,
   29     34   
    config_override: ::std::option::Option<crate::config::Builder>,
   30     35   
}
          36  +
/* FluentBuilderGenerator.kt:381 */
   31     37   
impl
   32     38   
    crate::client::customize::internal::CustomizableSend<
   33     39   
        crate::operation::kitchen_sink_operation::KitchenSinkOperationOutput,
   34     40   
        crate::operation::kitchen_sink_operation::KitchenSinkOperationError,
   35     41   
    > for KitchenSinkOperationFluentBuilder
   36     42   
{
   37     43   
    fn send(
   38     44   
        self,
   39     45   
        config_override: crate::config::Builder,
   40     46   
    ) -> crate::client::customize::internal::BoxFuture<
   41     47   
        crate::client::customize::internal::SendResult<
   42     48   
            crate::operation::kitchen_sink_operation::KitchenSinkOperationOutput,
   43     49   
            crate::operation::kitchen_sink_operation::KitchenSinkOperationError,
   44     50   
        >,
   45     51   
    > {
   46     52   
        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
   47     53   
    }
   48     54   
}
          55  +
/* FluentBuilderGenerator.kt:282 */
   49     56   
impl KitchenSinkOperationFluentBuilder {
          57  +
    /* FluentBuilderGenerator.kt:288 */
   50     58   
    /// Creates a new `KitchenSinkOperationFluentBuilder`.
   51     59   
    pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
   52     60   
        Self {
   53     61   
            handle,
   54     62   
            inner: ::std::default::Default::default(),
   55     63   
            config_override: ::std::option::Option::None,
   56     64   
        }
   57     65   
    }
          66  +
    /* FluentBuilderGenerator.kt:301 */
   58     67   
    /// Access the KitchenSinkOperation as a reference.
   59     68   
    pub fn as_input(&self) -> &crate::operation::kitchen_sink_operation::builders::KitchenSinkOperationInputBuilder {
   60     69   
        &self.inner
   61     70   
    }
          71  +
    /* FluentBuilderGenerator.kt:145 */
   62     72   
    /// Sends the request and returns the response.
   63     73   
    ///
   64     74   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     75   
    /// can be matched against.
   66     76   
    ///
   67     77   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     78   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69     79   
    /// set when configuring the client.
   70     80   
    pub async fn send(
   71     81   
        self,
   72     82   
    ) -> ::std::result::Result<
   73     83   
        crate::operation::kitchen_sink_operation::KitchenSinkOperationOutput,
   74     84   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     85   
            crate::operation::kitchen_sink_operation::KitchenSinkOperationError,
   76     86   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     87   
        >,
   78     88   
    > {
   79     89   
        let input = self
   80     90   
            .inner
   81     91   
            .build()
   82     92   
            .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
   83     93   
        let runtime_plugins = crate::operation::kitchen_sink_operation::KitchenSinkOperation::operation_runtime_plugins(
   84     94   
            self.handle.runtime_plugins.clone(),
   85     95   
            &self.handle.conf,
   86     96   
            self.config_override,
   87     97   
        );
   88     98   
        crate::operation::kitchen_sink_operation::KitchenSinkOperation::orchestrate(&runtime_plugins, input).await
   89     99   
    }
   90    100   
   91    101   
    /// Consumes this builder, creating a customizable operation that can be modified before being sent.
   92    102   
    pub fn customize(
   93    103   
        self,
   94    104   
    ) -> crate::client::customize::CustomizableOperation<
   95    105   
        crate::operation::kitchen_sink_operation::KitchenSinkOperationOutput,
   96    106   
        crate::operation::kitchen_sink_operation::KitchenSinkOperationError,
   97    107   
        Self,
   98    108   
    > {
   99    109   
        crate::client::customize::CustomizableOperation::new(self)
  100    110   
    }
         111  +
    /* FluentBuilderGenerator.kt:315 */
  101    112   
    pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
  102    113   
        self.set_config_override(::std::option::Option::Some(config_override.into()));
  103    114   
        self
  104    115   
    }
  105    116   
  106    117   
    pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
  107    118   
        self.config_override = config_override;
  108    119   
        self
  109    120   
    }
         121  +
    /* FluentBuilderGenerator.kt:498 */
  110    122   
    #[allow(missing_docs)] // documentation missing in model
         123  +
                           /* FluentBuilderGenerator.kt:500 */
  111    124   
    pub fn blob(mut self, input: ::aws_smithy_types::Blob) -> Self {
  112    125   
        self.inner = self.inner.blob(input);
  113    126   
        self
  114    127   
    }
         128  +
    /* FluentBuilderGenerator.kt:498 */
  115    129   
    #[allow(missing_docs)] // documentation missing in model
         130  +
                           /* FluentBuilderGenerator.kt:500 */
  116    131   
    pub fn set_blob(mut self, input: ::std::option::Option<::aws_smithy_types::Blob>) -> Self {
  117    132   
        self.inner = self.inner.set_blob(input);
  118    133   
        self
  119    134   
    }
         135  +
    /* FluentBuilderGenerator.kt:518 */
  120    136   
    #[allow(missing_docs)] // documentation missing in model
         137  +
                           /* FluentBuilderGenerator.kt:520 */
  121    138   
    pub fn get_blob(&self) -> &::std::option::Option<::aws_smithy_types::Blob> {
  122    139   
        self.inner.get_blob()
  123    140   
    }
         141  +
    /* FluentBuilderGenerator.kt:498 */
  124    142   
    #[allow(missing_docs)] // documentation missing in model
         143  +
                           /* FluentBuilderGenerator.kt:500 */
  125    144   
    pub fn boolean(mut self, input: bool) -> Self {
  126    145   
        self.inner = self.inner.boolean(input);
  127    146   
        self
  128    147   
    }
         148  +
    /* FluentBuilderGenerator.kt:498 */
  129    149   
    #[allow(missing_docs)] // documentation missing in model
         150  +
                           /* FluentBuilderGenerator.kt:500 */
  130    151   
    pub fn set_boolean(mut self, input: ::std::option::Option<bool>) -> Self {
  131    152   
        self.inner = self.inner.set_boolean(input);
  132    153   
        self
  133    154   
    }
         155  +
    /* FluentBuilderGenerator.kt:518 */
  134    156   
    #[allow(missing_docs)] // documentation missing in model
         157  +
                           /* FluentBuilderGenerator.kt:520 */
  135    158   
    pub fn get_boolean(&self) -> &::std::option::Option<bool> {
  136    159   
        self.inner.get_boolean()
  137    160   
    }
         161  +
    /* FluentBuilderGenerator.kt:498 */
  138    162   
    #[allow(missing_docs)] // documentation missing in model
         163  +
                           /* FluentBuilderGenerator.kt:500 */
  139    164   
    pub fn double(mut self, input: f64) -> Self {
  140    165   
        self.inner = self.inner.double(input);
  141    166   
        self
  142    167   
    }
         168  +
    /* FluentBuilderGenerator.kt:498 */
  143    169   
    #[allow(missing_docs)] // documentation missing in model
         170  +
                           /* FluentBuilderGenerator.kt:500 */
  144    171   
    pub fn set_double(mut self, input: ::std::option::Option<f64>) -> Self {
  145    172   
        self.inner = self.inner.set_double(input);
  146    173   
        self
  147    174   
    }
         175  +
    /* FluentBuilderGenerator.kt:518 */
  148    176   
    #[allow(missing_docs)] // documentation missing in model
         177  +
                           /* FluentBuilderGenerator.kt:520 */
  149    178   
    pub fn get_double(&self) -> &::std::option::Option<f64> {
  150    179   
        self.inner.get_double()
  151    180   
    }
         181  +
    /* FluentBuilderGenerator.kt:498 */
  152    182   
    #[allow(missing_docs)] // documentation missing in model
         183  +
                           /* FluentBuilderGenerator.kt:500 */
  153    184   
    pub fn empty_struct(mut self, input: crate::types::EmptyStruct) -> Self {
  154    185   
        self.inner = self.inner.empty_struct(input);
  155    186   
        self
  156    187   
    }
         188  +
    /* FluentBuilderGenerator.kt:498 */
  157    189   
    #[allow(missing_docs)] // documentation missing in model
         190  +
                           /* FluentBuilderGenerator.kt:500 */
  158    191   
    pub fn set_empty_struct(mut self, input: ::std::option::Option<crate::types::EmptyStruct>) -> Self {
  159    192   
        self.inner = self.inner.set_empty_struct(input);
  160    193   
        self
  161    194   
    }
         195  +
    /* FluentBuilderGenerator.kt:518 */
  162    196   
    #[allow(missing_docs)] // documentation missing in model
         197  +
                           /* FluentBuilderGenerator.kt:520 */
  163    198   
    pub fn get_empty_struct(&self) -> &::std::option::Option<crate::types::EmptyStruct> {
  164    199   
        self.inner.get_empty_struct()
  165    200   
    }
         201  +
    /* FluentBuilderGenerator.kt:498 */
  166    202   
    #[allow(missing_docs)] // documentation missing in model
         203  +
                           /* FluentBuilderGenerator.kt:500 */
  167    204   
    pub fn float(mut self, input: f32) -> Self {
  168    205   
        self.inner = self.inner.float(input);
  169    206   
        self
  170    207   
    }
         208  +
    /* FluentBuilderGenerator.kt:498 */
  171    209   
    #[allow(missing_docs)] // documentation missing in model
         210  +
                           /* FluentBuilderGenerator.kt:500 */
  172    211   
    pub fn set_float(mut self, input: ::std::option::Option<f32>) -> Self {
  173    212   
        self.inner = self.inner.set_float(input);
  174    213   
        self
  175    214   
    }
         215  +
    /* FluentBuilderGenerator.kt:518 */
  176    216   
    #[allow(missing_docs)] // documentation missing in model
         217  +
                           /* FluentBuilderGenerator.kt:520 */
  177    218   
    pub fn get_float(&self) -> &::std::option::Option<f32> {
  178    219   
        self.inner.get_float()
  179    220   
    }
         221  +
    /* FluentBuilderGenerator.kt:498 */
  180    222   
    #[allow(missing_docs)] // documentation missing in model
         223  +
                           /* FluentBuilderGenerator.kt:500 */
  181    224   
    pub fn httpdate_timestamp(mut self, input: ::aws_smithy_types::DateTime) -> Self {
  182    225   
        self.inner = self.inner.httpdate_timestamp(input);
  183    226   
        self
  184    227   
    }
         228  +
    /* FluentBuilderGenerator.kt:498 */
  185    229   
    #[allow(missing_docs)] // documentation missing in model
         230  +
                           /* FluentBuilderGenerator.kt:500 */
  186    231   
    pub fn set_httpdate_timestamp(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
  187    232   
        self.inner = self.inner.set_httpdate_timestamp(input);
  188    233   
        self
  189    234   
    }
         235  +
    /* FluentBuilderGenerator.kt:518 */
  190    236   
    #[allow(missing_docs)] // documentation missing in model
         237  +
                           /* FluentBuilderGenerator.kt:520 */
  191    238   
    pub fn get_httpdate_timestamp(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
  192    239   
        self.inner.get_httpdate_timestamp()
  193    240   
    }
         241  +
    /* FluentBuilderGenerator.kt:498 */
  194    242   
    #[allow(missing_docs)] // documentation missing in model
         243  +
                           /* FluentBuilderGenerator.kt:500 */
  195    244   
    pub fn integer(mut self, input: i32) -> Self {
  196    245   
        self.inner = self.inner.integer(input);
  197    246   
        self
  198    247   
    }
         248  +
    /* FluentBuilderGenerator.kt:498 */
  199    249   
    #[allow(missing_docs)] // documentation missing in model
         250  +
                           /* FluentBuilderGenerator.kt:500 */
  200    251   
    pub fn set_integer(mut self, input: ::std::option::Option<i32>) -> Self {
  201    252   
        self.inner = self.inner.set_integer(input);
  202    253   
        self
  203    254   
    }
         255  +
    /* FluentBuilderGenerator.kt:518 */
  204    256   
    #[allow(missing_docs)] // documentation missing in model
         257  +
                           /* FluentBuilderGenerator.kt:520 */
  205    258   
    pub fn get_integer(&self) -> &::std::option::Option<i32> {
  206    259   
        self.inner.get_integer()
  207    260   
    }
         261  +
    /* FluentBuilderGenerator.kt:498 */
  208    262   
    #[allow(missing_docs)] // documentation missing in model
         263  +
                           /* FluentBuilderGenerator.kt:500 */
  209    264   
    pub fn iso8601_timestamp(mut self, input: ::aws_smithy_types::DateTime) -> Self {
  210    265   
        self.inner = self.inner.iso8601_timestamp(input);
  211    266   
        self
  212    267   
    }
         268  +
    /* FluentBuilderGenerator.kt:498 */
  213    269   
    #[allow(missing_docs)] // documentation missing in model
         270  +
                           /* FluentBuilderGenerator.kt:500 */
  214    271   
    pub fn set_iso8601_timestamp(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
  215    272   
        self.inner = self.inner.set_iso8601_timestamp(input);
  216    273   
        self
  217    274   
    }
         275  +
    /* FluentBuilderGenerator.kt:518 */
  218    276   
    #[allow(missing_docs)] // documentation missing in model
         277  +
                           /* FluentBuilderGenerator.kt:520 */
  219    278   
    pub fn get_iso8601_timestamp(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
  220    279   
        self.inner.get_iso8601_timestamp()
  221    280   
    }
         281  +
    /* FluentBuilderGenerator.kt:498 */
  222    282   
    #[allow(missing_docs)] // documentation missing in model
         283  +
                           /* FluentBuilderGenerator.kt:500 */
  223    284   
    pub fn json_value(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
  224    285   
        self.inner = self.inner.json_value(input.into());
  225    286   
        self
  226    287   
    }
         288  +
    /* FluentBuilderGenerator.kt:498 */
  227    289   
    #[allow(missing_docs)] // documentation missing in model
         290  +
                           /* FluentBuilderGenerator.kt:500 */
  228    291   
    pub fn set_json_value(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
  229    292   
        self.inner = self.inner.set_json_value(input);
  230    293   
        self
  231    294   
    }
         295  +
    /* FluentBuilderGenerator.kt:518 */
  232    296   
    #[allow(missing_docs)] // documentation missing in model
         297  +
                           /* FluentBuilderGenerator.kt:520 */
  233    298   
    pub fn get_json_value(&self) -> &::std::option::Option<::std::string::String> {
  234    299   
        self.inner.get_json_value()
  235    300   
    }
  236         -
    ///
         301  +
    /// /* FluentBuilderGenerator.kt:436 */
  237    302   
    /// Appends an item to `ListOfLists`.
  238    303   
    ///
  239    304   
    /// To override the contents of this collection use [`set_list_of_lists`](Self::set_list_of_lists).
  240    305   
    ///
         306  +
    /* FluentBuilderGenerator.kt:443 */
  241    307   
    #[allow(missing_docs)] // documentation missing in model
         308  +
                           /* FluentBuilderGenerator.kt:446 */
  242    309   
    pub fn list_of_lists(mut self, input: ::std::vec::Vec<::std::string::String>) -> Self {
  243    310   
        self.inner = self.inner.list_of_lists(input);
  244    311   
        self
  245    312   
    }
         313  +
    /* FluentBuilderGenerator.kt:498 */
  246    314   
    #[allow(missing_docs)] // documentation missing in model
         315  +
                           /* FluentBuilderGenerator.kt:500 */
  247    316   
    pub fn set_list_of_lists(mut self, input: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>) -> Self {
  248    317   
        self.inner = self.inner.set_list_of_lists(input);
  249    318   
        self
  250    319   
    }
         320  +
    /* FluentBuilderGenerator.kt:518 */
  251    321   
    #[allow(missing_docs)] // documentation missing in model
         322  +
                           /* FluentBuilderGenerator.kt:520 */
  252    323   
    pub fn get_list_of_lists(&self) -> &::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>> {
  253    324   
        self.inner.get_list_of_lists()
  254    325   
    }
  255         -
    ///
         326  +
    /// /* FluentBuilderGenerator.kt:436 */
  256    327   
    /// Appends an item to `ListOfMapsOfStrings`.
  257    328   
    ///
  258    329   
    /// To override the contents of this collection use [`set_list_of_maps_of_strings`](Self::set_list_of_maps_of_strings).
  259    330   
    ///
         331  +
    /* FluentBuilderGenerator.kt:443 */
  260    332   
    #[allow(missing_docs)] // documentation missing in model
         333  +
                           /* FluentBuilderGenerator.kt:446 */
  261    334   
    pub fn list_of_maps_of_strings(mut self, input: ::std::collections::HashMap<::std::string::String, ::std::string::String>) -> Self {
  262    335   
        self.inner = self.inner.list_of_maps_of_strings(input);
  263    336   
        self
  264    337   
    }
         338  +
    /* FluentBuilderGenerator.kt:498 */
  265    339   
    #[allow(missing_docs)] // documentation missing in model
         340  +
                           /* FluentBuilderGenerator.kt:500 */
  266    341   
    pub fn set_list_of_maps_of_strings(
  267    342   
        mut self,
  268    343   
        input: ::std::option::Option<::std::vec::Vec<::std::collections::HashMap<::std::string::String, ::std::string::String>>>,
  269    344   
    ) -> Self {
  270    345   
        self.inner = self.inner.set_list_of_maps_of_strings(input);
  271    346   
        self
  272    347   
    }
         348  +
    /* FluentBuilderGenerator.kt:518 */
  273    349   
    #[allow(missing_docs)] // documentation missing in model
         350  +
                           /* FluentBuilderGenerator.kt:520 */
  274    351   
    pub fn get_list_of_maps_of_strings(
  275    352   
        &self,
  276    353   
    ) -> &::std::option::Option<::std::vec::Vec<::std::collections::HashMap<::std::string::String, ::std::string::String>>> {
  277    354   
        self.inner.get_list_of_maps_of_strings()
  278    355   
    }
  279         -
    ///
         356  +
    /// /* FluentBuilderGenerator.kt:436 */
  280    357   
    /// Appends an item to `ListOfStrings`.
  281    358   
    ///
  282    359   
    /// To override the contents of this collection use [`set_list_of_strings`](Self::set_list_of_strings).
  283    360   
    ///
         361  +
    /* FluentBuilderGenerator.kt:443 */
  284    362   
    #[allow(missing_docs)] // documentation missing in model
         363  +
                           /* FluentBuilderGenerator.kt:446 */
  285    364   
    pub fn list_of_strings(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
  286    365   
        self.inner = self.inner.list_of_strings(input.into());
  287    366   
        self
  288    367   
    }
         368  +
    /* FluentBuilderGenerator.kt:498 */
  289    369   
    #[allow(missing_docs)] // documentation missing in model
         370  +
                           /* FluentBuilderGenerator.kt:500 */
  290    371   
    pub fn set_list_of_strings(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
  291    372   
        self.inner = self.inner.set_list_of_strings(input);
  292    373   
        self
  293    374   
    }
         375  +
    /* FluentBuilderGenerator.kt:518 */
  294    376   
    #[allow(missing_docs)] // documentation missing in model
         377  +
                           /* FluentBuilderGenerator.kt:520 */
  295    378   
    pub fn get_list_of_strings(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
  296    379   
        self.inner.get_list_of_strings()
  297    380   
    }
  298         -
    ///
         381  +
    /// /* FluentBuilderGenerator.kt:436 */
  299    382   
    /// Appends an item to `ListOfStructs`.
  300    383   
    ///
  301    384   
    /// To override the contents of this collection use [`set_list_of_structs`](Self::set_list_of_structs).
  302    385   
    ///
         386  +
    /* FluentBuilderGenerator.kt:443 */
  303    387   
    #[allow(missing_docs)] // documentation missing in model
         388  +
                           /* FluentBuilderGenerator.kt:446 */
  304    389   
    pub fn list_of_structs(mut self, input: crate::types::SimpleStruct) -> Self {
  305    390   
        self.inner = self.inner.list_of_structs(input);
  306    391   
        self
  307    392   
    }
         393  +
    /* FluentBuilderGenerator.kt:498 */
  308    394   
    #[allow(missing_docs)] // documentation missing in model
         395  +
                           /* FluentBuilderGenerator.kt:500 */
  309    396   
    pub fn set_list_of_structs(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::SimpleStruct>>) -> Self {
  310    397   
        self.inner = self.inner.set_list_of_structs(input);
  311    398   
        self
  312    399   
    }
         400  +
    /* FluentBuilderGenerator.kt:518 */
  313    401   
    #[allow(missing_docs)] // documentation missing in model
         402  +
                           /* FluentBuilderGenerator.kt:520 */
  314    403   
    pub fn get_list_of_structs(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::SimpleStruct>> {
  315    404   
        self.inner.get_list_of_structs()
  316    405   
    }
         406  +
    /* FluentBuilderGenerator.kt:498 */
  317    407   
    #[allow(missing_docs)] // documentation missing in model
         408  +
                           /* FluentBuilderGenerator.kt:500 */
  318    409   
    pub fn long(mut self, input: i64) -> Self {
  319    410   
        self.inner = self.inner.long(input);
  320    411   
        self
  321    412   
    }
         413  +
    /* FluentBuilderGenerator.kt:498 */
  322    414   
    #[allow(missing_docs)] // documentation missing in model
         415  +
                           /* FluentBuilderGenerator.kt:500 */
  323    416   
    pub fn set_long(mut self, input: ::std::option::Option<i64>) -> Self {
  324    417   
        self.inner = self.inner.set_long(input);
  325    418   
        self
  326    419   
    }
         420  +
    /* FluentBuilderGenerator.kt:518 */
  327    421   
    #[allow(missing_docs)] // documentation missing in model
         422  +
                           /* FluentBuilderGenerator.kt:520 */
  328    423   
    pub fn get_long(&self) -> &::std::option::Option<i64> {
  329    424   
        self.inner.get_long()
  330    425   
    }
  331         -
    ///
         426  +
    /// /* FluentBuilderGenerator.kt:466 */
  332    427   
    /// Adds a key-value pair to `MapOfListsOfStrings`.
  333    428   
    ///
  334    429   
    /// To override the contents of this collection use [`set_map_of_lists_of_strings`](Self::set_map_of_lists_of_strings).
  335    430   
    ///
         431  +
    /* FluentBuilderGenerator.kt:473 */
  336    432   
    #[allow(missing_docs)] // documentation missing in model
         433  +
                           /* FluentBuilderGenerator.kt:475 */
  337    434   
    pub fn map_of_lists_of_strings(mut self, k: impl ::std::convert::Into<::std::string::String>, v: ::std::vec::Vec<::std::string::String>) -> Self {
  338    435   
        self.inner = self.inner.map_of_lists_of_strings(k.into(), v);
  339    436   
        self
  340    437   
    }
         438  +
    /* FluentBuilderGenerator.kt:498 */
  341    439   
    #[allow(missing_docs)] // documentation missing in model
         440  +
                           /* FluentBuilderGenerator.kt:500 */
  342    441   
    pub fn set_map_of_lists_of_strings(
  343    442   
        mut self,
  344    443   
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>>,
  345    444   
    ) -> Self {
  346    445   
        self.inner = self.inner.set_map_of_lists_of_strings(input);
  347    446   
        self
  348    447   
    }
         448  +
    /* FluentBuilderGenerator.kt:518 */
  349    449   
    #[allow(missing_docs)] // documentation missing in model
         450  +
                           /* FluentBuilderGenerator.kt:520 */
  350    451   
    pub fn get_map_of_lists_of_strings(
  351    452   
        &self,
  352    453   
    ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>> {
  353    454   
        self.inner.get_map_of_lists_of_strings()
  354    455   
    }
  355         -
    ///
         456  +
    /// /* FluentBuilderGenerator.kt:466 */
  356    457   
    /// Adds a key-value pair to `MapOfMaps`.
  357    458   
    ///
  358    459   
    /// To override the contents of this collection use [`set_map_of_maps`](Self::set_map_of_maps).
  359    460   
    ///
         461  +
    /* FluentBuilderGenerator.kt:473 */
  360    462   
    #[allow(missing_docs)] // documentation missing in model
         463  +
                           /* FluentBuilderGenerator.kt:475 */
  361    464   
    pub fn map_of_maps(
  362    465   
        mut self,
  363    466   
        k: impl ::std::convert::Into<::std::string::String>,
  364    467   
        v: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
  365    468   
    ) -> Self {
  366    469   
        self.inner = self.inner.map_of_maps(k.into(), v);
  367    470   
        self
  368    471   
    }
         472  +
    /* FluentBuilderGenerator.kt:498 */
  369    473   
    #[allow(missing_docs)] // documentation missing in model
         474  +
                           /* FluentBuilderGenerator.kt:500 */
  370    475   
    pub fn set_map_of_maps(
  371    476   
        mut self,
  372    477   
        input: ::std::option::Option<
  373    478   
            ::std::collections::HashMap<::std::string::String, ::std::collections::HashMap<::std::string::String, ::std::string::String>>,
  374    479   
        >,
  375    480   
    ) -> Self {
  376    481   
        self.inner = self.inner.set_map_of_maps(input);
  377    482   
        self
  378    483   
    }
         484  +
    /* FluentBuilderGenerator.kt:518 */
  379    485   
    #[allow(missing_docs)] // documentation missing in model
         486  +
                           /* FluentBuilderGenerator.kt:520 */
  380    487   
    pub fn get_map_of_maps(
  381    488   
        &self,
  382    489   
    ) -> &::std::option::Option<
  383    490   
        ::std::collections::HashMap<::std::string::String, ::std::collections::HashMap<::std::string::String, ::std::string::String>>,
  384    491   
    > {
  385    492   
        self.inner.get_map_of_maps()
  386    493   
    }
  387         -
    ///
         494  +
    /// /* FluentBuilderGenerator.kt:466 */
  388    495   
    /// Adds a key-value pair to `MapOfStrings`.
  389    496   
    ///
  390    497   
    /// To override the contents of this collection use [`set_map_of_strings`](Self::set_map_of_strings).
  391    498   
    ///
         499  +
    /* FluentBuilderGenerator.kt:473 */
  392    500   
    #[allow(missing_docs)] // documentation missing in model
         501  +
                           /* FluentBuilderGenerator.kt:475 */
  393    502   
    pub fn map_of_strings(
  394    503   
        mut self,
  395    504   
        k: impl ::std::convert::Into<::std::string::String>,
  396    505   
        v: impl ::std::convert::Into<::std::string::String>,
  397    506   
    ) -> Self {
  398    507   
        self.inner = self.inner.map_of_strings(k.into(), v.into());
  399    508   
        self
  400    509   
    }
         510  +
    /* FluentBuilderGenerator.kt:498 */
  401    511   
    #[allow(missing_docs)] // documentation missing in model
         512  +
                           /* FluentBuilderGenerator.kt:500 */
  402    513   
    pub fn set_map_of_strings(
  403    514   
        mut self,
  404    515   
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
  405    516   
    ) -> Self {
  406    517   
        self.inner = self.inner.set_map_of_strings(input);
  407    518   
        self
  408    519   
    }
         520  +
    /* FluentBuilderGenerator.kt:518 */
  409    521   
    #[allow(missing_docs)] // documentation missing in model
         522  +
                           /* FluentBuilderGenerator.kt:520 */
  410    523   
    pub fn get_map_of_strings(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
  411    524   
        self.inner.get_map_of_strings()
  412    525   
    }
  413         -
    ///
         526  +
    /// /* FluentBuilderGenerator.kt:466 */
  414    527   
    /// Adds a key-value pair to `MapOfStructs`.
  415    528   
    ///
  416    529   
    /// To override the contents of this collection use [`set_map_of_structs`](Self::set_map_of_structs).
  417    530   
    ///
         531  +
    /* FluentBuilderGenerator.kt:473 */
  418    532   
    #[allow(missing_docs)] // documentation missing in model
         533  +
                           /* FluentBuilderGenerator.kt:475 */
  419    534   
    pub fn map_of_structs(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::SimpleStruct) -> Self {
  420    535   
        self.inner = self.inner.map_of_structs(k.into(), v);
  421    536   
        self
  422    537   
    }
         538  +
    /* FluentBuilderGenerator.kt:498 */
  423    539   
    #[allow(missing_docs)] // documentation missing in model
         540  +
                           /* FluentBuilderGenerator.kt:500 */
  424    541   
    pub fn set_map_of_structs(
  425    542   
        mut self,
  426    543   
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::SimpleStruct>>,
  427    544   
    ) -> Self {
  428    545   
        self.inner = self.inner.set_map_of_structs(input);
  429    546   
        self
  430    547   
    }
         548  +
    /* FluentBuilderGenerator.kt:518 */
  431    549   
    #[allow(missing_docs)] // documentation missing in model
         550  +
                           /* FluentBuilderGenerator.kt:520 */
  432    551   
    pub fn get_map_of_structs(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::SimpleStruct>> {
  433    552   
        self.inner.get_map_of_structs()
  434    553   
    }
  435         -
    ///
         554  +
    /// /* FluentBuilderGenerator.kt:436 */
  436    555   
    /// Appends an item to `RecursiveList`.
  437    556   
    ///
  438    557   
    /// To override the contents of this collection use [`set_recursive_list`](Self::set_recursive_list).
  439    558   
    ///
         559  +
    /* FluentBuilderGenerator.kt:443 */
  440    560   
    #[allow(missing_docs)] // documentation missing in model
         561  +
                           /* FluentBuilderGenerator.kt:446 */
  441    562   
    pub fn recursive_list(mut self, input: crate::types::KitchenSink) -> Self {
  442    563   
        self.inner = self.inner.recursive_list(input);
  443    564   
        self
  444    565   
    }
         566  +
    /* FluentBuilderGenerator.kt:498 */
  445    567   
    #[allow(missing_docs)] // documentation missing in model
         568  +
                           /* FluentBuilderGenerator.kt:500 */
  446    569   
    pub fn set_recursive_list(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::KitchenSink>>) -> Self {
  447    570   
        self.inner = self.inner.set_recursive_list(input);
  448    571   
        self
  449    572   
    }
         573  +
    /* FluentBuilderGenerator.kt:518 */
  450    574   
    #[allow(missing_docs)] // documentation missing in model
         575  +
                           /* FluentBuilderGenerator.kt:520 */
  451    576   
    pub fn get_recursive_list(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::KitchenSink>> {
  452    577   
        self.inner.get_recursive_list()
  453    578   
    }
  454         -
    ///
         579  +
    /// /* FluentBuilderGenerator.kt:466 */
  455    580   
    /// Adds a key-value pair to `RecursiveMap`.
  456    581   
    ///
  457    582   
    /// To override the contents of this collection use [`set_recursive_map`](Self::set_recursive_map).
  458    583   
    ///
         584  +
    /* FluentBuilderGenerator.kt:473 */
  459    585   
    #[allow(missing_docs)] // documentation missing in model
         586  +
                           /* FluentBuilderGenerator.kt:475 */
  460    587   
    pub fn recursive_map(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::KitchenSink) -> Self {
  461    588   
        self.inner = self.inner.recursive_map(k.into(), v);
  462    589   
        self
  463    590   
    }
         591  +
    /* FluentBuilderGenerator.kt:498 */
  464    592   
    #[allow(missing_docs)] // documentation missing in model
         593  +
                           /* FluentBuilderGenerator.kt:500 */
  465    594   
    pub fn set_recursive_map(
  466    595   
        mut self,
  467    596   
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::KitchenSink>>,
  468    597   
    ) -> Self {
  469    598   
        self.inner = self.inner.set_recursive_map(input);
  470    599   
        self
  471    600   
    }
         601  +
    /* FluentBuilderGenerator.kt:518 */
  472    602   
    #[allow(missing_docs)] // documentation missing in model
         603  +
                           /* FluentBuilderGenerator.kt:520 */
  473    604   
    pub fn get_recursive_map(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::KitchenSink>> {
  474    605   
        self.inner.get_recursive_map()
  475    606   
    }
         607  +
    /* FluentBuilderGenerator.kt:498 */
  476    608   
    #[allow(missing_docs)] // documentation missing in model
         609  +
                           /* FluentBuilderGenerator.kt:500 */
  477    610   
    pub fn recursive_struct(mut self, input: impl ::std::convert::Into<::std::boxed::Box<crate::types::KitchenSink>>) -> Self {
  478    611   
        self.inner = self.inner.recursive_struct(input.into());
  479    612   
        self
  480    613   
    }
         614  +
    /* FluentBuilderGenerator.kt:498 */
  481    615   
    #[allow(missing_docs)] // documentation missing in model
         616  +
                           /* FluentBuilderGenerator.kt:500 */
  482    617   
    pub fn set_recursive_struct(mut self, input: ::std::option::Option<::std::boxed::Box<crate::types::KitchenSink>>) -> Self {
  483    618   
        self.inner = self.inner.set_recursive_struct(input);
  484    619   
        self
  485    620   
    }
         621  +
    /* FluentBuilderGenerator.kt:518 */
  486    622   
    #[allow(missing_docs)] // documentation missing in model
         623  +
                           /* FluentBuilderGenerator.kt:520 */
  487    624   
    pub fn get_recursive_struct(&self) -> &::std::option::Option<::std::boxed::Box<crate::types::KitchenSink>> {
  488    625   
        self.inner.get_recursive_struct()
  489    626   
    }
         627  +
    /* FluentBuilderGenerator.kt:498 */
  490    628   
    #[allow(missing_docs)] // documentation missing in model
         629  +
                           /* FluentBuilderGenerator.kt:500 */
  491    630   
    pub fn simple_struct(mut self, input: crate::types::SimpleStruct) -> Self {
  492    631   
        self.inner = self.inner.simple_struct(input);
  493    632   
        self
  494    633   
    }
         634  +
    /* FluentBuilderGenerator.kt:498 */
  495    635   
    #[allow(missing_docs)] // documentation missing in model
         636  +
                           /* FluentBuilderGenerator.kt:500 */
  496    637   
    pub fn set_simple_struct(mut self, input: ::std::option::Option<crate::types::SimpleStruct>) -> Self {
  497    638   
        self.inner = self.inner.set_simple_struct(input);
  498    639   
        self
  499    640   
    }
         641  +
    /* FluentBuilderGenerator.kt:518 */
  500    642   
    #[allow(missing_docs)] // documentation missing in model
         643  +
                           /* FluentBuilderGenerator.kt:520 */
  501    644   
    pub fn get_simple_struct(&self) -> &::std::option::Option<crate::types::SimpleStruct> {
  502    645   
        self.inner.get_simple_struct()
  503    646   
    }
         647  +
    /* FluentBuilderGenerator.kt:498 */
  504    648   
    #[allow(missing_docs)] // documentation missing in model
         649  +
                           /* FluentBuilderGenerator.kt:500 */
  505    650   
    pub fn string(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
  506    651   
        self.inner = self.inner.string(input.into());
  507    652   
        self
  508    653   
    }
         654  +
    /* FluentBuilderGenerator.kt:498 */
  509    655   
    #[allow(missing_docs)] // documentation missing in model
         656  +
                           /* FluentBuilderGenerator.kt:500 */
  510    657   
    pub fn set_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
  511    658   
        self.inner = self.inner.set_string(input);
  512    659   
        self
  513    660   
    }
         661  +
    /* FluentBuilderGenerator.kt:518 */
  514    662   
    #[allow(missing_docs)] // documentation missing in model
         663  +
                           /* FluentBuilderGenerator.kt:520 */
  515    664   
    pub fn get_string(&self) -> &::std::option::Option<::std::string::String> {
  516    665   
        self.inner.get_string()
  517    666   
    }
         667  +
    /* FluentBuilderGenerator.kt:498 */
  518    668   
    #[allow(missing_docs)] // documentation missing in model
         669  +
                           /* FluentBuilderGenerator.kt:500 */
  519    670   
    pub fn struct_with_json_name(mut self, input: crate::types::StructWithJsonName) -> Self {
  520    671   
        self.inner = self.inner.struct_with_json_name(input);
  521    672   
        self
  522    673   
    }
         674  +
    /* FluentBuilderGenerator.kt:498 */
  523    675   
    #[allow(missing_docs)] // documentation missing in model
         676  +
                           /* FluentBuilderGenerator.kt:500 */
  524    677   
    pub fn set_struct_with_json_name(mut self, input: ::std::option::Option<crate::types::StructWithJsonName>) -> Self {
  525    678   
        self.inner = self.inner.set_struct_with_json_name(input);
  526    679   
        self
  527    680   
    }
         681  +
    /* FluentBuilderGenerator.kt:518 */
  528    682   
    #[allow(missing_docs)] // documentation missing in model
         683  +
                           /* FluentBuilderGenerator.kt:520 */
  529    684   
    pub fn get_struct_with_json_name(&self) -> &::std::option::Option<crate::types::StructWithJsonName> {
  530    685   
        self.inner.get_struct_with_json_name()
  531    686   
    }
         687  +
    /* FluentBuilderGenerator.kt:498 */
  532    688   
    #[allow(missing_docs)] // documentation missing in model
         689  +
                           /* FluentBuilderGenerator.kt:500 */
  533    690   
    pub fn timestamp(mut self, input: ::aws_smithy_types::DateTime) -> Self {
  534    691   
        self.inner = self.inner.timestamp(input);
  535    692   
        self
  536    693   
    }
         694  +
    /* FluentBuilderGenerator.kt:498 */
  537    695   
    #[allow(missing_docs)] // documentation missing in model
         696  +
                           /* FluentBuilderGenerator.kt:500 */
  538    697   
    pub fn set_timestamp(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
  539    698   
        self.inner = self.inner.set_timestamp(input);
  540    699   
        self
  541    700   
    }
         701  +
    /* FluentBuilderGenerator.kt:518 */
  542    702   
    #[allow(missing_docs)] // documentation missing in model
         703  +
                           /* FluentBuilderGenerator.kt:520 */
  543    704   
    pub fn get_timestamp(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
  544    705   
        self.inner.get_timestamp()
  545    706   
    }
         707  +
    /* FluentBuilderGenerator.kt:498 */
  546    708   
    #[allow(missing_docs)] // documentation missing in model
         709  +
                           /* FluentBuilderGenerator.kt:500 */
  547    710   
    pub fn unix_timestamp(mut self, input: ::aws_smithy_types::DateTime) -> Self {
  548    711   
        self.inner = self.inner.unix_timestamp(input);
  549    712   
        self
  550    713   
    }
         714  +
    /* FluentBuilderGenerator.kt:498 */
  551    715   
    #[allow(missing_docs)] // documentation missing in model
         716  +
                           /* FluentBuilderGenerator.kt:500 */
  552    717   
    pub fn set_unix_timestamp(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
  553    718   
        self.inner = self.inner.set_unix_timestamp(input);
  554    719   
        self
  555    720   
    }
         721  +
    /* FluentBuilderGenerator.kt:518 */
  556    722   
    #[allow(missing_docs)] // documentation missing in model
         723  +
                           /* FluentBuilderGenerator.kt:520 */
  557    724   
    pub fn get_unix_timestamp(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
  558    725   
        self.inner.get_unix_timestamp()
  559    726   
    }
         727  +
    /* FluentBuilderGenerator.kt:282 */
  560    728   
}

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/null_operation.rs

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

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/null_operation/_null_operation_input.rs

@@ -1,1 +49,93 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* StructureGenerator.kt:197 */
    2      3   
#[allow(missing_docs)] // documentation missing in model
           4  +
/* RustType.kt:516 */
    3      5   
#[non_exhaustive]
           6  +
/* RustType.kt:516 */
    4      7   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    5         -
pub struct NullOperationInput {
           8  +
pub /* StructureGenerator.kt:201 */ struct NullOperationInput {
           9  +
    /* StructureGenerator.kt:231 */
    6     10   
    #[allow(missing_docs)] // documentation missing in model
    7     11   
    pub string: ::std::option::Option<::std::string::String>,
          12  +
    /* StructureGenerator.kt:201 */
    8     13   
}
          14  +
/* StructureGenerator.kt:135 */
    9     15   
impl NullOperationInput {
          16  +
    /* StructureGenerator.kt:231 */
   10     17   
    #[allow(missing_docs)] // documentation missing in model
          18  +
                           /* StructureGenerator.kt:166 */
   11     19   
    pub fn string(&self) -> ::std::option::Option<&str> {
          20  +
        /* StructureGenerator.kt:169 */
   12     21   
        self.string.as_deref()
          22  +
        /* StructureGenerator.kt:166 */
   13     23   
    }
          24  +
    /* StructureGenerator.kt:135 */
   14     25   
}
          26  +
/* ClientCodegenVisitor.kt:237 */
   15     27   
impl NullOperationInput {
   16         -
    /// Creates a new builder-style object to manufacture [`NullOperationInput`](crate::operation::null_operation::NullOperationInput).
          28  +
    /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`NullOperationInput`](crate::operation::null_operation::NullOperationInput).
          29  +
    /* BuilderGenerator.kt:175 */
   17     30   
    pub fn builder() -> crate::operation::null_operation::builders::NullOperationInputBuilder {
          31  +
        /* BuilderGenerator.kt:176 */
   18     32   
        crate::operation::null_operation::builders::NullOperationInputBuilder::default()
          33  +
        /* BuilderGenerator.kt:175 */
   19     34   
    }
          35  +
    /* ClientCodegenVisitor.kt:237 */
   20     36   
}
   21     37   
   22         -
/// A builder for [`NullOperationInput`](crate::operation::null_operation::NullOperationInput).
          38  +
/// /* BuilderGenerator.kt:342 */A builder for [`NullOperationInput`](crate::operation::null_operation::NullOperationInput).
          39  +
/* RustType.kt:516 */
   23     40   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
          41  +
/* RustType.kt:516 */
   24     42   
#[non_exhaustive]
          43  +
/* BuilderGenerator.kt:345 */
   25     44   
pub struct NullOperationInputBuilder {
   26         -
    pub(crate) string: ::std::option::Option<::std::string::String>,
          45  +
    /* BuilderGenerator.kt:275 */ pub(crate) string: ::std::option::Option<::std::string::String>,
          46  +
    /* BuilderGenerator.kt:345 */
   27     47   
}
          48  +
/* BuilderGenerator.kt:355 */
   28     49   
impl NullOperationInputBuilder {
          50  +
    /* BuilderGenerator.kt:286 */
   29     51   
    #[allow(missing_docs)] // documentation missing in model
          52  +
                           /* BuilderGenerator.kt:291 */
   30     53   
    pub fn string(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
          54  +
        /* BuilderGenerator.kt:292 */
   31     55   
        self.string = ::std::option::Option::Some(input.into());
          56  +
        /* BuilderGenerator.kt:293 */
   32     57   
        self
          58  +
        /* BuilderGenerator.kt:291 */
   33     59   
    }
          60  +
    /* BuilderGenerator.kt:312 */
   34     61   
    #[allow(missing_docs)] // documentation missing in model
          62  +
                           /* BuilderGenerator.kt:314 */
   35     63   
    pub fn set_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
          64  +
        /* BuilderGenerator.kt:315 */
   36     65   
        self.string = input;
   37     66   
        self
          67  +
        /* BuilderGenerator.kt:314 */
   38     68   
    }
          69  +
    /* BuilderGenerator.kt:334 */
   39     70   
    #[allow(missing_docs)] // documentation missing in model
          71  +
                           /* BuilderGenerator.kt:336 */
   40     72   
    pub fn get_string(&self) -> &::std::option::Option<::std::string::String> {
          73  +
        /* BuilderGenerator.kt:337 */
   41     74   
        &self.string
          75  +
        /* BuilderGenerator.kt:336 */
   42     76   
    }
   43         -
    /// Consumes the builder and constructs a [`NullOperationInput`](crate::operation::null_operation::NullOperationInput).
          77  +
    /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`NullOperationInput`](crate::operation::null_operation::NullOperationInput).
          78  +
    /* BuilderGenerator.kt:253 */
   44     79   
    pub fn build(
   45     80   
        self,
   46     81   
    ) -> ::std::result::Result<crate::operation::null_operation::NullOperationInput, ::aws_smithy_types::error::operation::BuildError> {
   47         -
        ::std::result::Result::Ok(crate::operation::null_operation::NullOperationInput { string: self.string })
          82  +
        /* BuilderGenerator.kt:254 */
          83  +
        ::std::result::Result::Ok(
          84  +
            /* BuilderGenerator.kt:477 */
          85  +
            crate::operation::null_operation::NullOperationInput {
          86  +
                /* BuilderGenerator.kt:481 */ string: self.string,
          87  +
                /* BuilderGenerator.kt:477 */
          88  +
            }, /* BuilderGenerator.kt:254 */
          89  +
        )
          90  +
        /* BuilderGenerator.kt:253 */
   48     91   
    }
          92  +
    /* BuilderGenerator.kt:355 */
   49     93   
}