aws_sdk_sagemaker/operation/describe_cluster/
_describe_cluster_input.rs#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DescribeClusterInput {
    pub cluster_name: ::std::option::Option<::std::string::String>,
}
impl DescribeClusterInput {
    pub fn cluster_name(&self) -> ::std::option::Option<&str> {
        self.cluster_name.as_deref()
    }
}
impl DescribeClusterInput {
    pub fn builder() -> crate::operation::describe_cluster::builders::DescribeClusterInputBuilder {
        crate::operation::describe_cluster::builders::DescribeClusterInputBuilder::default()
    }
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct DescribeClusterInputBuilder {
    pub(crate) cluster_name: ::std::option::Option<::std::string::String>,
}
impl DescribeClusterInputBuilder {
    pub fn cluster_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.cluster_name = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_cluster_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.cluster_name = input;
        self
    }
    pub fn get_cluster_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.cluster_name
    }
    pub fn build(
        self,
    ) -> ::std::result::Result<crate::operation::describe_cluster::DescribeClusterInput, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::operation::describe_cluster::DescribeClusterInput {
            cluster_name: self.cluster_name,
        })
    }
}