#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DeleteHapgInput {
pub hapg_arn: ::std::option::Option<::std::string::String>,
}
impl DeleteHapgInput {
pub fn hapg_arn(&self) -> ::std::option::Option<&str> {
self.hapg_arn.as_deref()
}
}
impl DeleteHapgInput {
pub fn builder() -> crate::operation::delete_hapg::builders::DeleteHapgInputBuilder {
crate::operation::delete_hapg::builders::DeleteHapgInputBuilder::default()
}
}
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct DeleteHapgInputBuilder {
pub(crate) hapg_arn: ::std::option::Option<::std::string::String>,
}
impl DeleteHapgInputBuilder {
pub fn hapg_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.hapg_arn = ::std::option::Option::Some(input.into());
self
}
pub fn set_hapg_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.hapg_arn = input;
self
}
pub fn get_hapg_arn(&self) -> &::std::option::Option<::std::string::String> {
&self.hapg_arn
}
pub fn build(self) -> ::std::result::Result<crate::operation::delete_hapg::DeleteHapgInput, ::aws_smithy_http::operation::error::BuildError> {
::std::result::Result::Ok(crate::operation::delete_hapg::DeleteHapgInput { hapg_arn: self.hapg_arn })
}
}