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: _grid_view_configuration.rs
    path of file: ./repos/aws-sdk-rust/sdk/chimesdkmediapipelines/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>Specifies the type of grid layout.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct GridViewConfiguration {
    /// <p>Defines the layout of the video tiles when content sharing is enabled.</p>
    pub content_share_layout: crate::types::ContentShareLayoutOption,
    /// <p>Defines the configuration options for a presenter only video tile.</p>
    pub presenter_only_configuration: ::std::option::Option<crate::types::PresenterOnlyConfiguration>,
    /// <p>The configuration settings for an <code>ActiveSpeakerOnly</code> video tile.</p>
    pub active_speaker_only_configurati
    
    pub fn build(self) -> ::std::result::Result<crate::types::GridViewConfiguration, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::GridViewConfiguration {
            content_share_layout: self.content_share_layout.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "content_share_layout",
                    "content_share_layout was not specified but it is required when building GridViewConfiguration",
                )
            })?,
            presenter_only_configuration: self.presenter_only_configuration,
            active_speaker_only_configuration: self.active_speaker_only_configuration,
            horizontal_layout_configuration: self.horizontal_layout_configuration,
            vertical_layout_configuration: self.vertical_layout_configuration,
            video_attribute: self.video_attribute,
            canvas_orientation: self.canvas_orientation,
        })
    }