pub fn de_body_payload(
body: &mut ::aws_smithy_types::body::SdkBody,
) -> std::result::Result<::aws_smithy_types::byte_stream::ByteStream, crate::operation::sample_with_response_stream::SampleWithResponseStreamError> {
let body = std::mem::replace(body, ::aws_smithy_types::body::SdkBody::taken());
Ok(::aws_smithy_types::byte_stream::ByteStream::new(body))
}
pub(crate) fn de_content_type_header(
header_map: &::aws_smithy_runtime_api::http::Headers,
) -> ::std::result::Result<::std::option::Option<::std::string::String>, ::aws_smithy_http::header::ParseError> {
let headers = header_map.get_all("Content-Type");
::aws_smithy_http::header::one_or_none(headers)
}