#[allow(missing_docs)] #[deprecated(note = "Amazon Lex V1 is deprecated. Use Amazon Lex V2 instead.", since = "2025-09-08")]
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct GetBuiltinIntentInput {
pub signature: ::std::option::Option<::std::string::String>,
}
impl GetBuiltinIntentInput {
pub fn signature(&self) -> ::std::option::Option<&str> {
self.signature.as_deref()
}
}
impl GetBuiltinIntentInput {
pub fn builder() -> crate::operation::get_builtin_intent::builders::GetBuiltinIntentInputBuilder {
crate::operation::get_builtin_intent::builders::GetBuiltinIntentInputBuilder::default()
}
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct GetBuiltinIntentInputBuilder {
pub(crate) signature: ::std::option::Option<::std::string::String>,
}
impl GetBuiltinIntentInputBuilder {
pub fn signature(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.signature = ::std::option::Option::Some(input.into());
self
}
pub fn set_signature(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.signature = input;
self
}
pub fn get_signature(&self) -> &::std::option::Option<::std::string::String> {
&self.signature
}
pub fn build(
self,
) -> ::std::result::Result<crate::operation::get_builtin_intent::GetBuiltinIntentInput, ::aws_smithy_types::error::operation::BuildError> {
::std::result::Result::Ok(crate::operation::get_builtin_intent::GetBuiltinIntentInput { signature: self.signature })
}
}