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