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