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: _trusted_advisor_resource_detail.rs
    path of file: ./repos/aws-sdk-rust/sdk/support/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 information about a resource identified by a Trusted Advisor check.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct TrustedAdvisorResourceDetail {
    /// <p>The status code for the resource identified in the Trusted Advisor check.</p>
    pub status: ::std::string::String,
    /// <p>The Amazon Web Services Region in which the identified resource is located.</p>
    pub region: ::std::option::Option<::std::string::String>,
    /// <p>The unique identifier for the identified resource.</p>
    pub resource_id: ::std::string::String,
    /// <p>Specifies whether the Amazon Web Services resource was ignored by Trusted Advisor because it was marked as suppressed by the user.</p>
    pub is_suppressed: bool,
    /// <p>Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the <code>TrustedAdvisorCheckDescription</code> object returned by the call to <code>DescribeTrustedAdvisorChecks</code
    
    pub fn build(self) -> ::std::result::Result<crate::types::TrustedAdvisorResourceDetail, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::TrustedAdvisorResourceDetail {
            status: self.status.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "status",
                    "status was not specified but it is required when building TrustedAdvisorResourceDetail",
                )
            })?,
            region: self.region,
            resource_id: self.resource_id.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "resource_id",
                    "resource_id was not specified but it is required when building TrustedAdvisorResourceDetail",
                )
            })?,
            is_suppressed: self.is_suppressed.unwrap_or_default(),
            metadata: self.metadata.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "metadata",
                    "metadata was not specified but it is required when building TrustedAdvisorResourceDetail",
                )
            })?,
        })
    }