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