Client Test

Client Test

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943

Files changed:

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/lib.rs

@@ -18,18 +140,152 @@
   38     38   
//! The [`operation`](crate::operation) module has a submodule for every API, and in each submodule
   39     39   
//! is the input, output, and error type for that API, as well as builders to construct each of those.
   40     40   
//!
   41     41   
//! There is a top-level [`Error`](crate::Error) type that encompasses all the errors that the
   42     42   
//! client can return. Any other error type can be converted to this `Error` type via the
   43     43   
//! [`From`](std::convert::From) trait.
   44     44   
//!
   45     45   
//! The other modules within this crate are not required for normal usage.
   46     46   
   47     47   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
          48  +
/* ServiceErrorGenerator.kt:127 */
   48     49   
pub use error_meta::Error;
   49     50   
          51  +
/* RustType.kt:516 */
   50     52   
#[doc(inline)]
          53  +
/* ServiceGenerator.kt:63 */
   51     54   
pub use config::Config;
   52     55   
   53         -
/// Client for calling Sample Rest Json Protocol Service.
          56  +
/// /* FluentClientDocs.kt:24 */Client for calling Sample Rest Json Protocol Service.
   54     57   
///
   55     58   
/// ## Constructing a `Client`
   56     59   
///
   57     60   
/// A `Client` requires a config in order to be constructed. With the default set of Cargo features,
   58     61   
/// this config will only require an endpoint to produce a functioning client. However, some Smithy
   59     62   
/// features will require additional configuration. For example, `@auth` requires some kind of identity
   60     63   
/// or identity resolver to be configured. The config is used to customize various aspects of the client,
   61     64   
/// such as:
   62     65   
///
   63     66   
///   - [The underlying HTTP client](crate::config::Builder::http_client)
   64     67   
///   - [Retries](crate::config::Builder::retry_config)
   65     68   
///   - [Timeouts](crate::config::Builder::timeout_config)
   66     69   
///   - [... and more](crate::config::Builder)
   67     70   
///
   68     71   
/// Below is a minimal example of how to create a client:
   69     72   
///
   70     73   
/// ```rust,no_run
   71     74   
/// let config = rest_json::Config::builder()
   72     75   
///     .endpoint_url("http://localhost:1234")
   73     76   
///     .build();
   74     77   
/// let client = rest_json::Client::from_conf(config);
   75     78   
/// ```
   76     79   
///
   77     80   
/// _Note:_ Client construction is expensive due to connection thread pool initialization, and should be done
   78     81   
/// once at application start-up. Cloning a client is cheap (it's just an [`Arc`](std::sync::Arc) under the hood),
   79     82   
/// so creating it once at start-up and cloning it around the application as needed is recommended.
   80         -
/// # Using the `Client`
          83  +
/// /* FluentClientDocs.kt:79 */# Using the `Client`
   81     84   
///
   82     85   
/// A client has a function for every operation that can be performed by the service.
   83     86   
/// For example, the [`AllQueryStringTypes`](crate::operation::all_query_string_types) operation has
   84     87   
/// a [`Client::all_query_string_types`], function which returns a builder for that operation.
   85     88   
/// The fluent builder ultimately has a `send()` function that returns an async future that
   86     89   
/// returns a result, as illustrated below:
   87     90   
///
   88     91   
/// ```rust,ignore
   89     92   
/// let result = client.all_query_string_types()
   90     93   
///     .query_string("example")
   91     94   
///     .send()
   92     95   
///     .await;
   93     96   
/// ```
   94     97   
///
   95     98   
/// The underlying HTTP requests that get made by this can be modified with the `customize_operation`
   96     99   
/// function on the fluent builder. See the [`customize`](crate::client::customize) module for more
   97    100   
/// information.
   98    101   
pub mod client;
   99    102   
  100         -
/// Configuration for Sample Rest Json Protocol Service.
         103  +
/// /* ClientRustModule.kt:121 */Configuration for Sample Rest Json Protocol Service.
  101    104   
pub mod config;
  102    105   
  103         -
/// Common errors and error handling utilities.
         106  +
/// /* ClientRustModule.kt:121 */Common errors and error handling utilities.
  104    107   
pub mod error;
  105    108   
         109  +
/* RustModule.kt:172 */
  106    110   
mod error_meta;
  107    111   
  108         -
/// Information about this crate.
         112  +
/// /* ClientRustModule.kt:121 */Information about this crate.
  109    113   
pub mod meta;
  110    114   
  111         -
/// Primitives such as `Blob` or `DateTime` used by other types.
         115  +
/// /* ClientRustModule.kt:121 */Primitives such as `Blob` or `DateTime` used by other types.
  112    116   
pub mod primitives;
  113    117   
  114         -
/// Data structures used by operation inputs/outputs.
         118  +
/// /* ClientRustModule.kt:121 */Data structures used by operation inputs/outputs.
  115    119   
pub mod types;
  116    120   
         121  +
/* RustModule.kt:172 */
  117    122   
mod auth_plugin;
  118    123   
  119    124   
pub(crate) mod client_http_checksum_required;
  120    125   
  121    126   
pub(crate) mod client_idempotency_token;
  122    127   
         128  +
/* RustModule.kt:172 */
  123    129   
mod client_request_compression;
  124    130   
         131  +
/* RustModule.kt:172 */
  125    132   
mod idempotency_token;
  126    133   
  127         -
/// All operations that this crate can perform.
         134  +
/// /* ClientRustModule.kt:121 */All operations that this crate can perform.
  128    135   
pub mod operation;
  129    136   
  130    137   
pub(crate) mod protocol_serde;
  131    138   
         139  +
/* RustModule.kt:172 */
  132    140   
mod sdk_feature_tracker;
  133    141   
         142  +
/* RustModule.kt:172 */
  134    143   
mod serialization_settings;
  135    144   
         145  +
/* RustModule.kt:172 */
  136    146   
mod serde_util;
  137    147   
         148  +
/* RustModule.kt:172 */
  138    149   
mod json_errors;
  139    150   
         151  +
/* FluentClientDecorator.kt:76 */
  140    152   
pub use client::Client;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/meta.rs

@@ -1,1 +4,5 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
           3  +
/* CrateVersionCustomization.kt:23 */
    3      4   
/// Crate version number.
    4      5   
pub static PKG_VERSION: &str = env!("CARGO_PKG_VERSION");

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

@@ -1,1 +304,304 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
    3         -
/// Types for the `AllQueryStringTypes` operation.
           2  +
/* CodegenDelegator.kt:51 */
           3  +
/// /* CodegenDelegator.kt:51 */Types for the `AllQueryStringTypes` operation.
    4      4   
pub mod all_query_string_types;
    5      5   
    6         -
/// Types for the `ConstantAndVariableQueryString` operation.
           6  +
/// /* CodegenDelegator.kt:51 */Types for the `ConstantAndVariableQueryString` operation.
    7      7   
pub mod constant_and_variable_query_string;
    8      8   
    9         -
/// Types for the `ConstantQueryString` operation.
           9  +
/// /* CodegenDelegator.kt:51 */Types for the `ConstantQueryString` operation.
   10     10   
pub mod constant_query_string;
   11     11   
   12         -
/// Types for the `ContentTypeParameters` operation.
          12  +
/// /* CodegenDelegator.kt:51 */Types for the `ContentTypeParameters` operation.
   13     13   
pub mod content_type_parameters;
   14     14   
   15         -
/// Types for the `DatetimeOffsets` operation.
          15  +
/// /* CodegenDelegator.kt:51 */Types for the `DatetimeOffsets` operation.
   16     16   
pub mod datetime_offsets;
   17     17   
   18         -
/// Types for the `DocumentType` operation.
          18  +
/// /* CodegenDelegator.kt:51 */Types for the `DocumentType` operation.
   19     19   
pub mod document_type;
   20     20   
   21         -
/// Types for the `DocumentTypeAsMapValue` operation.
          21  +
/// /* CodegenDelegator.kt:51 */Types for the `DocumentTypeAsMapValue` operation.
   22     22   
pub mod document_type_as_map_value;
   23     23   
   24         -
/// Types for the `DocumentTypeAsPayload` operation.
          24  +
/// /* CodegenDelegator.kt:51 */Types for the `DocumentTypeAsPayload` operation.
   25     25   
pub mod document_type_as_payload;
   26     26   
   27         -
/// Types for the `EmptyInputAndEmptyOutput` operation.
          27  +
/// /* CodegenDelegator.kt:51 */Types for the `EmptyInputAndEmptyOutput` operation.
   28     28   
pub mod empty_input_and_empty_output;
   29     29   
   30         -
/// Types for the `EndpointOperation` operation.
          30  +
/// /* CodegenDelegator.kt:51 */Types for the `EndpointOperation` operation.
   31     31   
pub mod endpoint_operation;
   32     32   
   33         -
/// Types for the `EndpointWithHostLabelOperation` operation.
          33  +
/// /* CodegenDelegator.kt:51 */Types for the `EndpointWithHostLabelOperation` operation.
   34     34   
pub mod endpoint_with_host_label_operation;
   35     35   
   36         -
/// Types for the `FractionalSeconds` operation.
          36  +
/// /* CodegenDelegator.kt:51 */Types for the `FractionalSeconds` operation.
   37     37   
pub mod fractional_seconds;
   38     38   
   39         -
/// Types for the `GreetingWithErrors` operation.
          39  +
/// /* CodegenDelegator.kt:51 */Types for the `GreetingWithErrors` operation.
   40     40   
pub mod greeting_with_errors;
   41     41   
   42         -
/// Types for the `HostWithPathOperation` operation.
          42  +
/// /* CodegenDelegator.kt:51 */Types for the `HostWithPathOperation` operation.
   43     43   
pub mod host_with_path_operation;
   44     44   
   45         -
/// Types for the `HttpChecksumRequired` operation.
          45  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpChecksumRequired` operation.
   46     46   
pub mod http_checksum_required;
   47     47   
   48         -
/// Types for the `HttpEnumPayload` operation.
          48  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpEnumPayload` operation.
   49     49   
pub mod http_enum_payload;
   50     50   
   51         -
/// Types for the `HttpPayloadTraits` operation.
          51  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpPayloadTraits` operation.
   52     52   
pub mod http_payload_traits;
   53     53   
   54         -
/// Types for the `HttpPayloadTraitsWithMediaType` operation.
          54  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpPayloadTraitsWithMediaType` operation.
   55     55   
pub mod http_payload_traits_with_media_type;
   56     56   
   57         -
/// Types for the `HttpPayloadWithStructure` operation.
          57  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpPayloadWithStructure` operation.
   58     58   
pub mod http_payload_with_structure;
   59     59   
   60         -
/// Types for the `HttpPayloadWithUnion` operation.
          60  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpPayloadWithUnion` operation.
   61     61   
pub mod http_payload_with_union;
   62     62   
   63         -
/// Types for the `HttpPrefixHeaders` operation.
          63  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpPrefixHeaders` operation.
   64     64   
pub mod http_prefix_headers;
   65     65   
   66         -
/// Types for the `HttpPrefixHeadersInResponse` operation.
          66  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpPrefixHeadersInResponse` operation.
   67     67   
pub mod http_prefix_headers_in_response;
   68     68   
   69         -
/// Types for the `HttpRequestWithFloatLabels` operation.
          69  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpRequestWithFloatLabels` operation.
   70     70   
pub mod http_request_with_float_labels;
   71     71   
   72         -
/// Types for the `HttpRequestWithGreedyLabelInPath` operation.
          72  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpRequestWithGreedyLabelInPath` operation.
   73     73   
pub mod http_request_with_greedy_label_in_path;
   74     74   
   75         -
/// Types for the `HttpRequestWithLabels` operation.
          75  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpRequestWithLabels` operation.
   76     76   
pub mod http_request_with_labels;
   77     77   
   78         -
/// Types for the `HttpRequestWithLabelsAndTimestampFormat` operation.
          78  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpRequestWithLabelsAndTimestampFormat` operation.
   79     79   
pub mod http_request_with_labels_and_timestamp_format;
   80     80   
   81         -
/// Types for the `HttpRequestWithRegexLiteral` operation.
          81  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpRequestWithRegexLiteral` operation.
   82     82   
pub mod http_request_with_regex_literal;
   83     83   
   84         -
/// Types for the `HttpResponseCode` operation.
          84  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpResponseCode` operation.
   85     85   
pub mod http_response_code;
   86     86   
   87         -
/// Types for the `HttpStringPayload` operation.
          87  +
/// /* CodegenDelegator.kt:51 */Types for the `HttpStringPayload` operation.
   88     88   
pub mod http_string_payload;
   89     89   
   90         -
/// Types for the `IgnoreQueryParamsInResponse` operation.
          90  +
/// /* CodegenDelegator.kt:51 */Types for the `IgnoreQueryParamsInResponse` operation.
   91     91   
pub mod ignore_query_params_in_response;
   92     92   
   93         -
/// Types for the `InputAndOutputWithHeaders` operation.
          93  +
/// /* CodegenDelegator.kt:51 */Types for the `InputAndOutputWithHeaders` operation.
   94     94   
pub mod input_and_output_with_headers;
   95     95   
   96         -
/// Types for the `JsonBlobs` operation.
          96  +
/// /* CodegenDelegator.kt:51 */Types for the `JsonBlobs` operation.
   97     97   
pub mod json_blobs;
   98     98   
   99         -
/// Types for the `JsonEnums` operation.
          99  +
/// /* CodegenDelegator.kt:51 */Types for the `JsonEnums` operation.
  100    100   
pub mod json_enums;
  101    101   
  102         -
/// Types for the `JsonIntEnums` operation.
         102  +
/// /* CodegenDelegator.kt:51 */Types for the `JsonIntEnums` operation.
  103    103   
pub mod json_int_enums;
  104    104   
  105         -
/// Types for the `JsonLists` operation.
         105  +
/// /* CodegenDelegator.kt:51 */Types for the `JsonLists` operation.
  106    106   
pub mod json_lists;
  107    107   
  108         -
/// Types for the `JsonMaps` operation.
         108  +
/// /* CodegenDelegator.kt:51 */Types for the `JsonMaps` operation.
  109    109   
pub mod json_maps;
  110    110   
  111         -
/// Types for the `JsonTimestamps` operation.
         111  +
/// /* CodegenDelegator.kt:51 */Types for the `JsonTimestamps` operation.
  112    112   
pub mod json_timestamps;
  113    113   
  114         -
/// Types for the `JsonUnions` operation.
         114  +
/// /* CodegenDelegator.kt:51 */Types for the `JsonUnions` operation.
  115    115   
pub mod json_unions;
  116    116   
  117         -
/// Types for the `MalformedAcceptWithBody` operation.
         117  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedAcceptWithBody` operation.
  118    118   
pub mod malformed_accept_with_body;
  119    119   
  120         -
/// Types for the `MalformedAcceptWithGenericString` operation.
         120  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedAcceptWithGenericString` operation.
  121    121   
pub mod malformed_accept_with_generic_string;
  122    122   
  123         -
/// Types for the `MalformedAcceptWithPayload` operation.
         123  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedAcceptWithPayload` operation.
  124    124   
pub mod malformed_accept_with_payload;
  125    125   
  126         -
/// Types for the `MalformedBlob` operation.
         126  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedBlob` operation.
  127    127   
pub mod malformed_blob;
  128    128   
  129         -
/// Types for the `MalformedBoolean` operation.
         129  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedBoolean` operation.
  130    130   
pub mod malformed_boolean;
  131    131   
  132         -
/// Types for the `MalformedByte` operation.
         132  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedByte` operation.
  133    133   
pub mod malformed_byte;
  134    134   
  135         -
/// Types for the `MalformedContentTypeWithBody` operation.
         135  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedContentTypeWithBody` operation.
  136    136   
pub mod malformed_content_type_with_body;
  137    137   
  138         -
/// Types for the `MalformedContentTypeWithGenericString` operation.
         138  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedContentTypeWithGenericString` operation.
  139    139   
pub mod malformed_content_type_with_generic_string;
  140    140   
  141         -
/// Types for the `MalformedContentTypeWithPayload` operation.
         141  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedContentTypeWithPayload` operation.
  142    142   
pub mod malformed_content_type_with_payload;
  143    143   
  144         -
/// Types for the `MalformedContentTypeWithoutBody` operation.
         144  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedContentTypeWithoutBody` operation.
  145    145   
pub mod malformed_content_type_without_body;
  146    146   
  147         -
/// Types for the `MalformedDouble` operation.
         147  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedDouble` operation.
  148    148   
pub mod malformed_double;
  149    149   
  150         -
/// Types for the `MalformedFloat` operation.
         150  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedFloat` operation.
  151    151   
pub mod malformed_float;
  152    152   
  153         -
/// Types for the `MalformedInteger` operation.
         153  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedInteger` operation.
  154    154   
pub mod malformed_integer;
  155    155   
  156         -
/// Types for the `MalformedList` operation.
         156  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedList` operation.
  157    157   
pub mod malformed_list;
  158    158   
  159         -
/// Types for the `MalformedLong` operation.
         159  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedLong` operation.
  160    160   
pub mod malformed_long;
  161    161   
  162         -
/// Types for the `MalformedMap` operation.
         162  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedMap` operation.
  163    163   
pub mod malformed_map;
  164    164   
  165         -
/// Types for the `MalformedRequestBody` operation.
         165  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedRequestBody` operation.
  166    166   
pub mod malformed_request_body;
  167    167   
  168         -
/// Types for the `MalformedShort` operation.
         168  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedShort` operation.
  169    169   
pub mod malformed_short;
  170    170   
  171         -
/// Types for the `MalformedString` operation.
         171  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedString` operation.
  172    172   
pub mod malformed_string;
  173    173   
  174         -
/// Types for the `MalformedTimestampBodyDateTime` operation.
         174  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedTimestampBodyDateTime` operation.
  175    175   
pub mod malformed_timestamp_body_date_time;
  176    176   
  177         -
/// Types for the `MalformedTimestampBodyDefault` operation.
         177  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedTimestampBodyDefault` operation.
  178    178   
pub mod malformed_timestamp_body_default;
  179    179   
  180         -
/// Types for the `MalformedTimestampBodyHttpDate` operation.
         180  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedTimestampBodyHttpDate` operation.
  181    181   
pub mod malformed_timestamp_body_http_date;
  182    182   
  183         -
/// Types for the `MalformedTimestampHeaderDateTime` operation.
         183  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedTimestampHeaderDateTime` operation.
  184    184   
pub mod malformed_timestamp_header_date_time;
  185    185   
  186         -
/// Types for the `MalformedTimestampHeaderDefault` operation.
         186  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedTimestampHeaderDefault` operation.
  187    187   
pub mod malformed_timestamp_header_default;
  188    188   
  189         -
/// Types for the `MalformedTimestampHeaderEpoch` operation.
         189  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedTimestampHeaderEpoch` operation.
  190    190   
pub mod malformed_timestamp_header_epoch;
  191    191   
  192         -
/// Types for the `MalformedTimestampPathDefault` operation.
         192  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedTimestampPathDefault` operation.
  193    193   
pub mod malformed_timestamp_path_default;
  194    194   
  195         -
/// Types for the `MalformedTimestampPathEpoch` operation.
         195  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedTimestampPathEpoch` operation.
  196    196   
pub mod malformed_timestamp_path_epoch;
  197    197   
  198         -
/// Types for the `MalformedTimestampPathHttpDate` operation.
         198  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedTimestampPathHttpDate` operation.
  199    199   
pub mod malformed_timestamp_path_http_date;
  200    200   
  201         -
/// Types for the `MalformedTimestampQueryDefault` operation.
         201  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedTimestampQueryDefault` operation.
  202    202   
pub mod malformed_timestamp_query_default;
  203    203   
  204         -
/// Types for the `MalformedTimestampQueryEpoch` operation.
         204  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedTimestampQueryEpoch` operation.
  205    205   
pub mod malformed_timestamp_query_epoch;
  206    206   
  207         -
/// Types for the `MalformedTimestampQueryHttpDate` operation.
         207  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedTimestampQueryHttpDate` operation.
  208    208   
pub mod malformed_timestamp_query_http_date;
  209    209   
  210         -
/// Types for the `MalformedUnion` operation.
         210  +
/// /* CodegenDelegator.kt:51 */Types for the `MalformedUnion` operation.
  211    211   
pub mod malformed_union;
  212    212   
  213         -
/// Types for the `MediaTypeHeader` operation.
         213  +
/// /* CodegenDelegator.kt:51 */Types for the `MediaTypeHeader` operation.
  214    214   
pub mod media_type_header;
  215    215   
  216         -
/// Types for the `NoInputAndNoOutput` operation.
         216  +
/// /* CodegenDelegator.kt:51 */Types for the `NoInputAndNoOutput` operation.
  217    217   
pub mod no_input_and_no_output;
  218    218   
  219         -
/// Types for the `NoInputAndOutput` operation.
         219  +
/// /* CodegenDelegator.kt:51 */Types for the `NoInputAndOutput` operation.
  220    220   
pub mod no_input_and_output;
  221    221   
  222         -
/// Types for the `NullAndEmptyHeadersClient` operation.
         222  +
/// /* CodegenDelegator.kt:51 */Types for the `NullAndEmptyHeadersClient` operation.
  223    223   
pub mod null_and_empty_headers_client;
  224    224   
  225         -
/// Types for the `NullAndEmptyHeadersServer` operation.
         225  +
/// /* CodegenDelegator.kt:51 */Types for the `NullAndEmptyHeadersServer` operation.
  226    226   
pub mod null_and_empty_headers_server;
  227    227   
  228         -
/// Types for the `OmitsNullSerializesEmptyString` operation.
         228  +
/// /* CodegenDelegator.kt:51 */Types for the `OmitsNullSerializesEmptyString` operation.
  229    229   
pub mod omits_null_serializes_empty_string;
  230    230   
  231         -
/// Types for the `OmitsSerializingEmptyLists` operation.
         231  +
/// /* CodegenDelegator.kt:51 */Types for the `OmitsSerializingEmptyLists` operation.
  232    232   
pub mod omits_serializing_empty_lists;
  233    233   
  234         -
/// Types for the `OperationWithDefaults` operation.
         234  +
/// /* CodegenDelegator.kt:51 */Types for the `OperationWithDefaults` operation.
  235    235   
pub mod operation_with_defaults;
  236    236   
  237         -
/// Types for the `OperationWithNestedStructure` operation.
         237  +
/// /* CodegenDelegator.kt:51 */Types for the `OperationWithNestedStructure` operation.
  238    238   
pub mod operation_with_nested_structure;
  239    239   
  240         -
/// Types for the `PostPlayerAction` operation.
         240  +
/// /* CodegenDelegator.kt:51 */Types for the `PostPlayerAction` operation.
  241    241   
pub mod post_player_action;
  242    242   
  243         -
/// Types for the `PostUnionWithJsonName` operation.
         243  +
/// /* CodegenDelegator.kt:51 */Types for the `PostUnionWithJsonName` operation.
  244    244   
pub mod post_union_with_json_name;
  245    245   
  246         -
/// Types for the `PutWithContentEncoding` operation.
         246  +
/// /* CodegenDelegator.kt:51 */Types for the `PutWithContentEncoding` operation.
  247    247   
pub mod put_with_content_encoding;
  248    248   
  249         -
/// Types for the `QueryIdempotencyTokenAutoFill` operation.
         249  +
/// /* CodegenDelegator.kt:51 */Types for the `QueryIdempotencyTokenAutoFill` operation.
  250    250   
pub mod query_idempotency_token_auto_fill;
  251    251   
  252         -
/// Types for the `QueryParamsAsStringListMap` operation.
         252  +
/// /* CodegenDelegator.kt:51 */Types for the `QueryParamsAsStringListMap` operation.
  253    253   
pub mod query_params_as_string_list_map;
  254    254   
  255         -
/// Types for the `QueryPrecedence` operation.
         255  +
/// /* CodegenDelegator.kt:51 */Types for the `QueryPrecedence` operation.
  256    256   
pub mod query_precedence;
  257    257   
  258         -
/// Types for the `RecursiveShapes` operation.
         258  +
/// /* CodegenDelegator.kt:51 */Types for the `RecursiveShapes` operation.
  259    259   
pub mod recursive_shapes;
  260    260   
  261         -
/// Types for the `SimpleScalarProperties` operation.
         261  +
/// /* CodegenDelegator.kt:51 */Types for the `SimpleScalarProperties` operation.
  262    262   
pub mod simple_scalar_properties;
  263    263   
  264         -
/// Types for the `SparseJsonLists` operation.
         264  +
/// /* CodegenDelegator.kt:51 */Types for the `SparseJsonLists` operation.
  265    265   
pub mod sparse_json_lists;
  266    266   
  267         -
/// Types for the `SparseJsonMaps` operation.
         267  +
/// /* CodegenDelegator.kt:51 */Types for the `SparseJsonMaps` operation.
  268    268   
pub mod sparse_json_maps;
  269    269   
  270         -
/// Types for the `StreamingTraits` operation.
         270  +
/// /* CodegenDelegator.kt:51 */Types for the `StreamingTraits` operation.
  271    271   
pub mod streaming_traits;
  272    272   
  273         -
/// Types for the `StreamingTraitsRequireLength` operation.
         273  +
/// /* CodegenDelegator.kt:51 */Types for the `StreamingTraitsRequireLength` operation.
  274    274   
pub mod streaming_traits_require_length;
  275    275   
  276         -
/// Types for the `StreamingTraitsWithMediaType` operation.
         276  +
/// /* CodegenDelegator.kt:51 */Types for the `StreamingTraitsWithMediaType` operation.
  277    277   
pub mod streaming_traits_with_media_type;
  278    278   
  279         -
/// Types for the `TestBodyStructure` operation.
         279  +
/// /* CodegenDelegator.kt:51 */Types for the `TestBodyStructure` operation.
  280    280   
pub mod test_body_structure;
  281    281   
  282         -
/// Types for the `TestGetNoInputNoPayload` operation.
         282  +
/// /* CodegenDelegator.kt:51 */Types for the `TestGetNoInputNoPayload` operation.
  283    283   
pub mod test_get_no_input_no_payload;
  284    284   
  285         -
/// Types for the `TestGetNoPayload` operation.
         285  +
/// /* CodegenDelegator.kt:51 */Types for the `TestGetNoPayload` operation.
  286    286   
pub mod test_get_no_payload;
  287    287   
  288         -
/// Types for the `TestPayloadBlob` operation.
         288  +
/// /* CodegenDelegator.kt:51 */Types for the `TestPayloadBlob` operation.
  289    289   
pub mod test_payload_blob;
  290    290   
  291         -
/// Types for the `TestPayloadStructure` operation.
         291  +
/// /* CodegenDelegator.kt:51 */Types for the `TestPayloadStructure` operation.
  292    292   
pub mod test_payload_structure;
  293    293   
  294         -
/// Types for the `TestPostNoInputNoPayload` operation.
         294  +
/// /* CodegenDelegator.kt:51 */Types for the `TestPostNoInputNoPayload` operation.
  295    295   
pub mod test_post_no_input_no_payload;
  296    296   
  297         -
/// Types for the `TestPostNoPayload` operation.
         297  +
/// /* CodegenDelegator.kt:51 */Types for the `TestPostNoPayload` operation.
  298    298   
pub mod test_post_no_payload;
  299    299   
  300         -
/// Types for the `TimestampFormatHeaders` operation.
         300  +
/// /* CodegenDelegator.kt:51 */Types for the `TimestampFormatHeaders` operation.
  301    301   
pub mod timestamp_format_headers;
  302    302   
  303         -
/// Types for the `UnitInputAndOutput` operation.
         303  +
/// /* CodegenDelegator.kt:51 */Types for the `UnitInputAndOutput` operation.
  304    304   
pub mod unit_input_and_output;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/all_query_string_types.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 `AllQueryStringTypes`.
           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 AllQueryStringTypes;
          10  +
/* OperationGenerator.kt:85 */
    6     11   
impl AllQueryStringTypes {
    7         -
    /// Creates a new `AllQueryStringTypes`
          12  +
    /// /* OperationGenerator.kt:86 */Creates a new `AllQueryStringTypes`
          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::all_query_string_types::AllQueryStringTypesInput,
   14     23   
    ) -> ::std::result::Result<
   15     24   
        crate::operation::all_query_string_types::AllQueryStringTypesOutput,
   16     25   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     26   
            crate::operation::all_query_string_types::AllQueryStringTypesError,
   18     27   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     28   
        >,
   20     29   
    > {
@@ -63,72 +186,199 @@
   83     92   
                runtime_plugins = runtime_plugins.with_operation_plugin(plugin);
   84     93   
            }
   85     94   
            runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new(
   86     95   
                config_override,
   87     96   
                client_config.config.clone(),
   88     97   
                &client_config.runtime_components,
   89     98   
            ));
   90     99   
        }
   91    100   
        runtime_plugins
   92    101   
    }
         102  +
    /* OperationGenerator.kt:85 */
   93    103   
}
         104  +
/* OperationRuntimePluginGenerator.kt:55 */
   94    105   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for AllQueryStringTypes {
   95    106   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
   96    107   
        let mut cfg = ::aws_smithy_types::config_bag::Layer::new("AllQueryStringTypes");
   97    108   
   98    109   
        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
   99    110   
            AllQueryStringTypesRequestSerializer,
  100    111   
        ));
  101    112   
        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
  102    113   
            AllQueryStringTypesResponseDeserializer,
  103    114   
        ));
  104    115   
  105    116   
        cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
  106    117   
            ::aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolverParams::new(),
  107    118   
        ));
  108    119   
  109    120   
        cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
  110    121   
            "AllQueryStringTypes",
  111    122   
            "Rest Json Protocol",
  112    123   
        ));
  113    124   
  114    125   
        ::std::option::Option::Some(cfg.freeze())
  115    126   
    }
  116    127   
  117    128   
    fn runtime_components(
  118    129   
        &self,
  119    130   
        _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
  120    131   
    ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
  121    132   
        #[allow(unused_mut)]
  122    133   
        let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("AllQueryStringTypes")
  123    134   
            .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
  124    135   
            .with_interceptor(AllQueryStringTypesEndpointParamsInterceptor)
  125    136   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
  126    137   
                crate::operation::all_query_string_types::AllQueryStringTypesError,
  127    138   
            >::new())
  128    139   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
  129    140   
                crate::operation::all_query_string_types::AllQueryStringTypesError,
  130    141   
            >::new());
  131    142   
  132    143   
        ::std::borrow::Cow::Owned(rcb)
  133    144   
    }
  134    145   
}
  135    146   
         147  +
/* ResponseDeserializerGenerator.kt:64 */
  136    148   
#[derive(Debug)]
  137    149   
struct AllQueryStringTypesResponseDeserializer;
  138    150   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for AllQueryStringTypesResponseDeserializer {
  139    151   
    fn deserialize_nonstreaming(
  140    152   
        &self,
  141    153   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
  142    154   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  143    155   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  144    156   
        let headers = response.headers();
  145    157   
        let body = response.body().bytes().expect("body loaded");
  146    158   
        #[allow(unused_mut)]
  147    159   
        let mut force_error = false;
  148    160   
  149    161   
        let parse_result = if !success && status != 200 || force_error {
  150    162   
            crate::protocol_serde::shape_all_query_string_types::de_all_query_string_types_http_error(status, headers, body)
  151    163   
        } else {
  152    164   
            crate::protocol_serde::shape_all_query_string_types::de_all_query_string_types_http_response(status, headers, body)
  153    165   
        };
  154    166   
        crate::protocol_serde::type_erase_result(parse_result)
  155    167   
    }
  156    168   
}
         169  +
/* RequestSerializerGenerator.kt:67 */
  157    170   
#[derive(Debug)]
  158    171   
struct AllQueryStringTypesRequestSerializer;
  159    172   
impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for AllQueryStringTypesRequestSerializer {
  160    173   
    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
  161    174   
    fn serialize_input(
  162    175   
        &self,
  163    176   
        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
  164    177   
        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  165    178   
    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
  166    179   
        let input = input
@@ -334,347 +430,447 @@
  354    367   
                ::std::result::Result::Ok(builder.method("GET").uri(uri))
  355    368   
            }
  356    369   
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  357    370   
            builder
  358    371   
        };
  359    372   
        let body = ::aws_smithy_types::body::SdkBody::from("");
  360    373   
  361    374   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  362    375   
    }
  363    376   
}
         377  +
/* EndpointParamsInterceptorGenerator.kt:86 */
  364    378   
#[derive(Debug)]
  365    379   
struct AllQueryStringTypesEndpointParamsInterceptor;
  366    380   
  367    381   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for AllQueryStringTypesEndpointParamsInterceptor {
  368    382   
    fn name(&self) -> &'static str {
  369    383   
        "AllQueryStringTypesEndpointParamsInterceptor"
  370    384   
    }
  371    385   
  372    386   
    fn read_before_execution(
  373    387   
        &self,
  374    388   
        context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
  375    389   
            '_,
  376    390   
            ::aws_smithy_runtime_api::client::interceptors::context::Input,
  377    391   
            ::aws_smithy_runtime_api::client::interceptors::context::Output,
  378    392   
            ::aws_smithy_runtime_api::client::interceptors::context::Error,
  379    393   
        >,
  380    394   
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  381    395   
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
  382    396   
        let _input = context
  383    397   
            .input()
  384    398   
            .downcast_ref::<AllQueryStringTypesInput>()
  385    399   
            .ok_or("failed to downcast to AllQueryStringTypesInput")?;
  386    400   
  387    401   
        let params = crate::config::endpoint::Params::builder().build().map_err(|err| {
  388    402   
            ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  389    403   
        })?;
  390    404   
        cfg.interceptor_state()
  391    405   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
  392    406   
        ::std::result::Result::Ok(())
  393    407   
    }
  394    408   
}
  395    409   
  396    410   
// The get_* functions below are generated from JMESPath expressions in the
  397    411   
// operationContextParams trait. They target the operation's input shape.
  398    412   
         413  +
/* RustType.kt:516 */
  399    414   
#[allow(unreachable_code, unused_variables)]
         415  +
/* RustType.kt:516 */
  400    416   
#[cfg(test)]
         417  +
/* ProtocolTestGenerator.kt:98 */
  401    418   
mod all_query_string_types_test {
  402    419   
  403    420   
    /// Serializes query string parameters with all supported types
  404    421   
    /// Test ID: RestJsonAllQueryStringTypes
  405    422   
    #[::tokio::test]
  406    423   
    #[::tracing_test::traced_test]
  407    424   
    async fn rest_json_all_query_string_types_request() {
  408    425   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  409    426   
        let config_builder = crate::config::Config::builder().with_test_defaults().endpoint_url("https://example.com");
  410    427   
@@ -703,720 +832,908 @@
  723    740   
        let http_request = request_receiver.expect_request();
  724    741   
        let expected_query_params = &["Integer=0", "Boolean=false"];
  725    742   
        ::aws_smithy_protocol_test::assert_ok(::aws_smithy_protocol_test::validate_query_string(&http_request, expected_query_params));
  726    743   
        let body = http_request.body().bytes().expect("body should be strict");
  727    744   
        // No body.
  728    745   
        ::pretty_assertions::assert_eq!(&body, &bytes::Bytes::new());
  729    746   
        let uri: ::http::Uri = http_request.uri().parse().expect("invalid URI sent");
  730    747   
        ::pretty_assertions::assert_eq!(http_request.method(), "GET", "method was incorrect");
  731    748   
        ::pretty_assertions::assert_eq!(uri.path(), "/AllQueryStringTypesInput", "path was incorrect");
  732    749   
    }
         750  +
         751  +
    /* ProtocolTestGenerator.kt:98 */
  733    752   
}
  734    753   
         754  +
/* OperationErrorGenerator.kt:79 */
  735    755   
/// Error type for the `AllQueryStringTypesError` operation.
         756  +
/* RustType.kt:516 */
  736    757   
#[non_exhaustive]
         758  +
/* RustType.kt:516 */
  737    759   
#[derive(::std::fmt::Debug)]
  738         -
pub enum AllQueryStringTypesError {
         760  +
pub /* OperationErrorGenerator.kt:81 */ enum AllQueryStringTypesError {
         761  +
    /* OperationErrorGenerator.kt:88 */
  739    762   
    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
  740    763   
    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
  741    764   
    variable wildcard pattern and check `.code()`:
  742    765   
     \
  743    766   
    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
  744    767   
     \
  745    768   
    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-AllQueryStringTypesError) for what information is available for the error.")]
  746    769   
    Unhandled(crate::error::sealed_unhandled::Unhandled),
         770  +
    /* OperationErrorGenerator.kt:81 */
  747    771   
}
         772  +
/* OperationErrorGenerator.kt:218 */
  748    773   
impl AllQueryStringTypesError {
         774  +
    /* OperationErrorGenerator.kt:219 */
  749    775   
    /// Creates the `AllQueryStringTypesError::Unhandled` variant from any error type.
  750    776   
    pub fn unhandled(
  751    777   
        err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
  752    778   
    ) -> Self {
  753    779   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  754    780   
            source: err.into(),
  755    781   
            meta: ::std::default::Default::default(),
  756    782   
        })
  757    783   
    }
  758    784   
  759    785   
    /// Creates the `AllQueryStringTypesError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
  760    786   
    pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
  761    787   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  762    788   
            source: err.clone().into(),
  763    789   
            meta: err,
  764    790   
        })
  765    791   
    }
  766         -
    ///
         792  +
    /// /* OperationErrorGenerator.kt:236 */
  767    793   
    /// Returns error metadata, which includes the error code, message,
  768    794   
    /// request ID, and potentially additional information.
  769    795   
    ///
         796  +
    /* OperationErrorGenerator.kt:242 */
  770    797   
    pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         798  +
        /* OperationErrorGenerator.kt:243 */
  771    799   
        match self {
  772         -
            Self::Unhandled(e) => &e.meta,
         800  +
            /* OperationErrorGenerator.kt:251 */ Self::Unhandled(e) => &e.meta,
         801  +
            /* OperationErrorGenerator.kt:243 */
  773    802   
        }
         803  +
        /* OperationErrorGenerator.kt:242 */
  774    804   
    }
         805  +
    /* OperationErrorGenerator.kt:218 */
  775    806   
}
         807  +
/* OperationErrorGenerator.kt:269 */
  776    808   
impl ::std::error::Error for AllQueryStringTypesError {
         809  +
    /* OperationErrorGenerator.kt:270 */
  777    810   
    fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
         811  +
        /* OperationErrorGenerator.kt:318 */
  778    812   
        match self {
  779         -
            Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
         813  +
            /* OperationErrorGenerator.kt:326 */
         814  +
            Self::Unhandled(_inner) => {
         815  +
                /* OperationErrorGenerator.kt:279 */
         816  +
                ::std::option::Option::Some(&*_inner.source)
         817  +
                /* OperationErrorGenerator.kt:326 */
         818  +
            } /* OperationErrorGenerator.kt:318 */
  780    819   
        }
         820  +
        /* OperationErrorGenerator.kt:270 */
  781    821   
    }
         822  +
    /* OperationErrorGenerator.kt:269 */
  782    823   
}
         824  +
/* OperationErrorGenerator.kt:133 */
  783    825   
impl ::std::fmt::Display for AllQueryStringTypesError {
         826  +
    /* OperationErrorGenerator.kt:134 */
  784    827   
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
         828  +
        /* OperationErrorGenerator.kt:318 */
  785    829   
        match self {
         830  +
            /* OperationErrorGenerator.kt:326 */
  786    831   
            Self::Unhandled(_inner) => {
         832  +
                /* OperationErrorGenerator.kt:139 */
  787    833   
                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
  788    834   
                    write!(f, "unhandled error ({code})")
  789    835   
                } else {
  790    836   
                    f.write_str("unhandled error")
  791    837   
                }
  792         -
            }
         838  +
                /* OperationErrorGenerator.kt:326 */
         839  +
            } /* OperationErrorGenerator.kt:318 */
  793    840   
        }
         841  +
        /* OperationErrorGenerator.kt:134 */
  794    842   
    }
         843  +
    /* OperationErrorGenerator.kt:133 */
  795    844   
}
         845  +
/* OperationErrorGenerator.kt:182 */
  796    846   
impl ::aws_smithy_types::retry::ProvideErrorKind for AllQueryStringTypesError {
         847  +
    /* OperationErrorGenerator.kt:186 */
  797    848   
    fn code(&self) -> ::std::option::Option<&str> {
         849  +
        /* OperationErrorGenerator.kt:187 */
  798    850   
        ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
         851  +
        /* OperationErrorGenerator.kt:186 */
  799    852   
    }
         853  +
    /* OperationErrorGenerator.kt:190 */
  800    854   
    fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
         855  +
        /* OperationErrorGenerator.kt:197 */
  801    856   
        ::std::option::Option::None
         857  +
        /* OperationErrorGenerator.kt:190 */
  802    858   
    }
         859  +
    /* OperationErrorGenerator.kt:182 */
  803    860   
}
         861  +
/* OperationErrorGenerator.kt:163 */
  804    862   
impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for AllQueryStringTypesError {
         863  +
    /* OperationErrorGenerator.kt:164 */
  805    864   
    fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         865  +
        /* OperationErrorGenerator.kt:318 */
  806    866   
        match self {
  807         -
            Self::Unhandled(_inner) => &_inner.meta,
         867  +
            /* OperationErrorGenerator.kt:326 */
         868  +
            Self::Unhandled(_inner) => {
         869  +
                /* OperationErrorGenerator.kt:168 */
         870  +
                &_inner.meta
         871  +
                /* OperationErrorGenerator.kt:326 */
         872  +
            } /* OperationErrorGenerator.kt:318 */
  808    873   
        }
         874  +
        /* OperationErrorGenerator.kt:164 */
  809    875   
    }
         876  +
    /* OperationErrorGenerator.kt:163 */
  810    877   
}
         878  +
/* OperationErrorGenerator.kt:109 */
  811    879   
impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for AllQueryStringTypesError {
         880  +
    /* OperationErrorGenerator.kt:110 */
  812    881   
    fn create_unhandled_error(
  813    882   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  814    883   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  815    884   
    ) -> Self {
         885  +
        /* OperationErrorGenerator.kt:121 */
  816    886   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  817    887   
            source,
  818    888   
            meta: meta.unwrap_or_default(),
  819    889   
        })
         890  +
        /* OperationErrorGenerator.kt:110 */
  820    891   
    }
         892  +
    /* OperationErrorGenerator.kt:109 */
  821    893   
}
  822    894   
         895  +
/* CodegenDelegator.kt:255 */
  823    896   
pub use crate::operation::all_query_string_types::_all_query_string_types_output::AllQueryStringTypesOutput;
  824    897   
         898  +
/* CodegenDelegator.kt:255 */
  825    899   
pub use crate::operation::all_query_string_types::_all_query_string_types_input::AllQueryStringTypesInput;
  826    900   
         901  +
/* RustModule.kt:172 */
  827    902   
mod _all_query_string_types_input;
  828    903   
         904  +
/* RustModule.kt:172 */
  829    905   
mod _all_query_string_types_output;
  830    906   
  831         -
/// Builders
         907  +
/// /* CodegenDelegator.kt:51 */Builders
  832    908   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/all_query_string_types/_all_query_string_types_input.rs

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

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/all_query_string_types/_all_query_string_types_output.rs

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