#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct GetAsyncInvokeInput {
pub invocation_arn: ::std::option::Option<::std::string::String>,
}
impl GetAsyncInvokeInput {
pub fn invocation_arn(&self) -> ::std::option::Option<&str> {
self.invocation_arn.as_deref()
}
}
impl GetAsyncInvokeInput {
pub fn builder() -> crate::operation::get_async_invoke::builders::GetAsyncInvokeInputBuilder {
crate::operation::get_async_invoke::builders::GetAsyncInvokeInputBuilder::default()
}
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct GetAsyncInvokeInputBuilder {
pub(crate) invocation_arn: ::std::option::Option<::std::string::String>,
}
impl GetAsyncInvokeInputBuilder {
pub fn invocation_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.invocation_arn = ::std::option::Option::Some(input.into());
self
}
pub fn set_invocation_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.invocation_arn = input;
self
}
pub fn get_invocation_arn(&self) -> &::std::option::Option<::std::string::String> {
&self.invocation_arn
}
pub fn build(
self,
) -> ::std::result::Result<crate::operation::get_async_invoke::GetAsyncInvokeInput, ::aws_smithy_types::error::operation::BuildError> {
::std::result::Result::Ok(crate::operation::get_async_invoke::GetAsyncInvokeInput {
invocation_arn: self.invocation_arn,
})
}
}