aws_sdk_iot/operation/delete_command/
_delete_command_input.rs#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DeleteCommandInput {
    pub command_id: ::std::option::Option<::std::string::String>,
}
impl DeleteCommandInput {
    pub fn command_id(&self) -> ::std::option::Option<&str> {
        self.command_id.as_deref()
    }
}
impl DeleteCommandInput {
    pub fn builder() -> crate::operation::delete_command::builders::DeleteCommandInputBuilder {
        crate::operation::delete_command::builders::DeleteCommandInputBuilder::default()
    }
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct DeleteCommandInputBuilder {
    pub(crate) command_id: ::std::option::Option<::std::string::String>,
}
impl DeleteCommandInputBuilder {
    pub fn command_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.command_id = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_command_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.command_id = input;
        self
    }
    pub fn get_command_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.command_id
    }
    pub fn build(
        self,
    ) -> ::std::result::Result<crate::operation::delete_command::DeleteCommandInput, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::operation::delete_command::DeleteCommandInput { command_id: self.command_id })
    }
}