#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DeleteVcenterClientInput {
pub vcenter_client_id: ::std::option::Option<::std::string::String>,
}
impl DeleteVcenterClientInput {
pub fn vcenter_client_id(&self) -> ::std::option::Option<&str> {
self.vcenter_client_id.as_deref()
}
}
impl DeleteVcenterClientInput {
pub fn builder() -> crate::operation::delete_vcenter_client::builders::DeleteVcenterClientInputBuilder {
crate::operation::delete_vcenter_client::builders::DeleteVcenterClientInputBuilder::default()
}
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct DeleteVcenterClientInputBuilder {
pub(crate) vcenter_client_id: ::std::option::Option<::std::string::String>,
}
impl DeleteVcenterClientInputBuilder {
pub fn vcenter_client_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.vcenter_client_id = ::std::option::Option::Some(input.into());
self
}
pub fn set_vcenter_client_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.vcenter_client_id = input;
self
}
pub fn get_vcenter_client_id(&self) -> &::std::option::Option<::std::string::String> {
&self.vcenter_client_id
}
pub fn build(
self,
) -> ::std::result::Result<crate::operation::delete_vcenter_client::DeleteVcenterClientInput, ::aws_smithy_types::error::operation::BuildError>
{
::std::result::Result::Ok(crate::operation::delete_vcenter_client::DeleteVcenterClientInput {
vcenter_client_id: self.vcenter_client_id,
})
}
}