You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: _realtime_log_configs.rs
    path of file: ./repos/aws-sdk-rust/sdk/cloudfront/src/types
    
    the code of the file until where you have to start completion: // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>A list of real-time log configurations.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct RealtimeLogConfigs {
    /// <p>The maximum number of real-time log configurations requested.</p>
    pub max_items: i32,
    /// <p>Contains the list of real-time log configurations.</p>
    pub items: ::std::option::Option<::std::vec::Vec<crate::types::RealtimeLogConfig>>,
    /// <p>A flag that indicates whether there are more real-time log configurations than are contained in this list.</p>
    pub is_truncated: bool,
    /// <p>This parameter indicates where this list of real-time log configurations begins. This list includes real-time log configurations that occur after the marker.</p>
    pub marker: ::std::string::String,
    /// <p>If there are more items in the list than are in this response, this element is present. It contains the
    
    pub fn build(self) -> ::std::result::Result<crate::types::RealtimeLogConfigs, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::RealtimeLogConfigs {
            max_items: self.max_items.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "max_items",
                    "max_items was not specified but it is required when building RealtimeLogConfigs",
                )
            })?,
            items: self.items,
            is_truncated: self.is_truncated.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "is_truncated",
                    "is_truncated was not specified but it is required when building RealtimeLogConfigs",
                )
            })?,
            marker: self.marker.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "marker",
                    "marker was not specified but it is required when building RealtimeLogConfigs",
                )
            })?,
            next_marker: self.next_marker,
        })
    }