#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DeleteApplicationInput {
#[doc(hidden)]
pub resource_group_name: std::option::Option<std::string::String>,
}
impl DeleteApplicationInput {
pub fn resource_group_name(&self) -> std::option::Option<&str> {
self.resource_group_name.as_deref()
}
}
impl DeleteApplicationInput {
pub fn builder() -> crate::operation::delete_application::builders::DeleteApplicationInputBuilder
{
crate::operation::delete_application::builders::DeleteApplicationInputBuilder::default()
}
}
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct DeleteApplicationInputBuilder {
pub(crate) resource_group_name: std::option::Option<std::string::String>,
}
impl DeleteApplicationInputBuilder {
pub fn resource_group_name(mut self, input: impl Into<std::string::String>) -> Self {
self.resource_group_name = Some(input.into());
self
}
pub fn set_resource_group_name(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.resource_group_name = input;
self
}
pub fn build(
self,
) -> Result<
crate::operation::delete_application::DeleteApplicationInput,
aws_smithy_http::operation::error::BuildError,
> {
Ok(
crate::operation::delete_application::DeleteApplicationInput {
resource_group_name: self.resource_group_name,
},
)
}
}