#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct InvokeScreenAutomationOutput {
pub workbook_cursor: i64,
_request_id: Option<String>,
}
impl InvokeScreenAutomationOutput {
pub fn workbook_cursor(&self) -> i64 {
self.workbook_cursor
}
}
impl ::aws_types::request_id::RequestId for InvokeScreenAutomationOutput {
fn request_id(&self) -> Option<&str> {
self._request_id.as_deref()
}
}
impl InvokeScreenAutomationOutput {
pub fn builder() -> crate::operation::invoke_screen_automation::builders::InvokeScreenAutomationOutputBuilder {
crate::operation::invoke_screen_automation::builders::InvokeScreenAutomationOutputBuilder::default()
}
}
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct InvokeScreenAutomationOutputBuilder {
pub(crate) workbook_cursor: ::std::option::Option<i64>,
_request_id: Option<String>,
}
impl InvokeScreenAutomationOutputBuilder {
pub fn workbook_cursor(mut self, input: i64) -> Self {
self.workbook_cursor = ::std::option::Option::Some(input);
self
}
pub fn set_workbook_cursor(mut self, input: ::std::option::Option<i64>) -> Self {
self.workbook_cursor = input;
self
}
pub fn get_workbook_cursor(&self) -> &::std::option::Option<i64> {
&self.workbook_cursor
}
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::invoke_screen_automation::InvokeScreenAutomationOutput {
crate::operation::invoke_screen_automation::InvokeScreenAutomationOutput {
workbook_cursor: self.workbook_cursor.unwrap_or_default(),
_request_id: self._request_id,
}
}
}