#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DeleteWaveInput {
pub wave_id: ::std::option::Option<::std::string::String>,
pub account_id: ::std::option::Option<::std::string::String>,
}
impl DeleteWaveInput {
pub fn wave_id(&self) -> ::std::option::Option<&str> {
self.wave_id.as_deref()
}
pub fn account_id(&self) -> ::std::option::Option<&str> {
self.account_id.as_deref()
}
}
impl DeleteWaveInput {
pub fn builder() -> crate::operation::delete_wave::builders::DeleteWaveInputBuilder {
crate::operation::delete_wave::builders::DeleteWaveInputBuilder::default()
}
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct DeleteWaveInputBuilder {
pub(crate) wave_id: ::std::option::Option<::std::string::String>,
pub(crate) account_id: ::std::option::Option<::std::string::String>,
}
impl DeleteWaveInputBuilder {
pub fn wave_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.wave_id = ::std::option::Option::Some(input.into());
self
}
pub fn set_wave_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.wave_id = input;
self
}
pub fn get_wave_id(&self) -> &::std::option::Option<::std::string::String> {
&self.wave_id
}
pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.account_id = ::std::option::Option::Some(input.into());
self
}
pub fn set_account_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.account_id = input;
self
}
pub fn get_account_id(&self) -> &::std::option::Option<::std::string::String> {
&self.account_id
}
pub fn build(self) -> ::std::result::Result<crate::operation::delete_wave::DeleteWaveInput, ::aws_smithy_types::error::operation::BuildError> {
::std::result::Result::Ok(crate::operation::delete_wave::DeleteWaveInput {
wave_id: self.wave_id,
account_id: self.account_id,
})
}
}