1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PutRawMessageContentOutput {}
impl std::fmt::Debug for PutRawMessageContentOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("PutRawMessageContentOutput");
        formatter.finish()
    }
}
/// See [`PutRawMessageContentOutput`](crate::output::PutRawMessageContentOutput).
pub mod put_raw_message_content_output {

    /// A builder for [`PutRawMessageContentOutput`](crate::output::PutRawMessageContentOutput).
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {}
    impl Builder {
        /// Consumes the builder and constructs a [`PutRawMessageContentOutput`](crate::output::PutRawMessageContentOutput).
        pub fn build(self) -> crate::output::PutRawMessageContentOutput {
            crate::output::PutRawMessageContentOutput {}
        }
    }
}
impl PutRawMessageContentOutput {
    /// Creates a new builder-style object to manufacture [`PutRawMessageContentOutput`](crate::output::PutRawMessageContentOutput).
    pub fn builder() -> crate::output::put_raw_message_content_output::Builder {
        crate::output::put_raw_message_content_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
pub struct GetRawMessageContentOutput {
    /// <p>The raw content of the email message, in MIME format.</p>
    pub message_content: aws_smithy_http::byte_stream::ByteStream,
}
impl GetRawMessageContentOutput {
    /// <p>The raw content of the email message, in MIME format.</p>
    pub fn message_content(&self) -> &aws_smithy_http::byte_stream::ByteStream {
        &self.message_content
    }
}
impl std::fmt::Debug for GetRawMessageContentOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("GetRawMessageContentOutput");
        formatter.field("message_content", &self.message_content);
        formatter.finish()
    }
}
/// See [`GetRawMessageContentOutput`](crate::output::GetRawMessageContentOutput).
pub mod get_raw_message_content_output {

    /// A builder for [`GetRawMessageContentOutput`](crate::output::GetRawMessageContentOutput).
    #[derive(std::default::Default, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) message_content: std::option::Option<aws_smithy_http::byte_stream::ByteStream>,
    }
    impl Builder {
        /// <p>The raw content of the email message, in MIME format.</p>
        pub fn message_content(mut self, input: aws_smithy_http::byte_stream::ByteStream) -> Self {
            self.message_content = Some(input);
            self
        }
        /// <p>The raw content of the email message, in MIME format.</p>
        pub fn set_message_content(
            mut self,
            input: std::option::Option<aws_smithy_http::byte_stream::ByteStream>,
        ) -> Self {
            self.message_content = input;
            self
        }
        /// Consumes the builder and constructs a [`GetRawMessageContentOutput`](crate::output::GetRawMessageContentOutput).
        pub fn build(self) -> crate::output::GetRawMessageContentOutput {
            crate::output::GetRawMessageContentOutput {
                message_content: self.message_content.unwrap_or_default(),
            }
        }
    }
}
impl GetRawMessageContentOutput {
    /// Creates a new builder-style object to manufacture [`GetRawMessageContentOutput`](crate::output::GetRawMessageContentOutput).
    pub fn builder() -> crate::output::get_raw_message_content_output::Builder {
        crate::output::get_raw_message_content_output::Builder::default()
    }
}