#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct ScheduleRunOutput {
    pub run: ::std::option::Option<crate::types::Run>,
    _request_id: Option<String>,
}
impl ScheduleRunOutput {
    pub fn run(&self) -> ::std::option::Option<&crate::types::Run> {
        self.run.as_ref()
    }
}
impl ::aws_http::request_id::RequestId for ScheduleRunOutput {
    fn request_id(&self) -> Option<&str> {
        self._request_id.as_deref()
    }
}
impl ScheduleRunOutput {
    pub fn builder() -> crate::operation::schedule_run::builders::ScheduleRunOutputBuilder {
        crate::operation::schedule_run::builders::ScheduleRunOutputBuilder::default()
    }
}
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct ScheduleRunOutputBuilder {
    pub(crate) run: ::std::option::Option<crate::types::Run>,
    _request_id: Option<String>,
}
impl ScheduleRunOutputBuilder {
    pub fn run(mut self, input: crate::types::Run) -> Self {
        self.run = ::std::option::Option::Some(input);
        self
    }
    pub fn set_run(mut self, input: ::std::option::Option<crate::types::Run>) -> Self {
        self.run = input;
        self
    }
    pub fn get_run(&self) -> &::std::option::Option<crate::types::Run> {
        &self.run
    }
    pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
        self._request_id = Some(request_id.into());
        self
    }
    pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
        self._request_id = request_id;
        self
    }
    pub fn build(self) -> crate::operation::schedule_run::ScheduleRunOutput {
        crate::operation::schedule_run::ScheduleRunOutput {
            run: self.run,
            _request_id: self._request_id,
        }
    }
}