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: _analytics_session_filter.rs
    path of file: ./repos/aws-sdk-rust/sdk/lexmodelsv2/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>Contains fields describing a condition by which to filter the sessions. The expression may be understood as <code>name</code> <code>operator</code> <code>values</code>. For example:</p>
/// <ul>
/// <li>
/// <p><code>LocaleId EQ en</code> – The locale is "en".</p></li>
/// <li>
/// <p><code>Duration GT 200</code> – The duration is greater than 200 seconds.</p></li>
/// </ul>
/// <p>The operators that each filter supports are listed below:</p>
/// <ul>
/// <li>
    
    pub fn build(self) -> ::std::result::Result<crate::types::AnalyticsSessionFilter, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::AnalyticsSessionFilter {
            name: self.name.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "name",
                    "name was not specified but it is required when building AnalyticsSessionFilter",
                )
            })?,
            operator: self.operator.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "operator",
                    "operator was not specified but it is required when building AnalyticsSessionFilter",
                )
            })?,
            values: self.values.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "values",
                    "values was not specified but it is required when building AnalyticsSessionFilter",
                )
            })?,
        })
    }