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: _enable_alarm_action_request.rs
    path of file: ./repos/aws-sdk-rust/sdk/ioteventsdata/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>Information needed to enable the alarm.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct EnableAlarmActionRequest {
    /// <p>The request ID. Each ID must be unique within each batch.</p>
    pub request_id: ::std::string::String,
    /// <p>The name of the alarm model.</p>
    pub alarm_model_name: ::std::string::String,
    /// <p>The value of the key used as a filter to select only the alarms associated with the <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateAlarmModel.html#iotevents-CreateAlarmModel-request-key">key</a>.</p>
    pub key_value: ::std::option::Option<::std::string::String>,
    /// <p>The note that you can leave when you enable the 
    
    pub fn build(self) -> ::std::result::Result<crate::types::EnableAlarmActionRequest, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::EnableAlarmActionRequest {
            request_id: self.request_id.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "request_id",
                    "request_id was not specified but it is required when building EnableAlarmActionRequest",
                )
            })?,
            alarm_model_name: self.alarm_model_name.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "alarm_model_name",
                    "alarm_model_name was not specified but it is required when building EnableAlarmActionRequest",
                )
            })?,
            key_value: self.key_value,
            note: self.note,
        })
    }