#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct CreateSchemaOutput {
    pub registry_name: ::std::option::Option<::std::string::String>,
    pub registry_arn: ::std::option::Option<::std::string::String>,
    pub schema_name: ::std::option::Option<::std::string::String>,
    pub schema_arn: ::std::option::Option<::std::string::String>,
    pub description: ::std::option::Option<::std::string::String>,
    pub data_format: ::std::option::Option<crate::types::DataFormat>,
    pub compatibility: ::std::option::Option<crate::types::Compatibility>,
    pub schema_checkpoint: ::std::option::Option<i64>,
    pub latest_schema_version: ::std::option::Option<i64>,
    pub next_schema_version: ::std::option::Option<i64>,
    pub schema_status: ::std::option::Option<crate::types::SchemaStatus>,
    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    pub schema_version_id: ::std::option::Option<::std::string::String>,
    pub schema_version_status: ::std::option::Option<crate::types::SchemaVersionStatus>,
    _request_id: Option<String>,
}
impl CreateSchemaOutput {
    pub fn registry_name(&self) -> ::std::option::Option<&str> {
        self.registry_name.as_deref()
    }
    pub fn registry_arn(&self) -> ::std::option::Option<&str> {
        self.registry_arn.as_deref()
    }
    pub fn schema_name(&self) -> ::std::option::Option<&str> {
        self.schema_name.as_deref()
    }
    pub fn schema_arn(&self) -> ::std::option::Option<&str> {
        self.schema_arn.as_deref()
    }
    pub fn description(&self) -> ::std::option::Option<&str> {
        self.description.as_deref()
    }
    pub fn data_format(&self) -> ::std::option::Option<&crate::types::DataFormat> {
        self.data_format.as_ref()
    }
    pub fn compatibility(&self) -> ::std::option::Option<&crate::types::Compatibility> {
        self.compatibility.as_ref()
    }
    pub fn schema_checkpoint(&self) -> ::std::option::Option<i64> {
        self.schema_checkpoint
    }
    pub fn latest_schema_version(&self) -> ::std::option::Option<i64> {
        self.latest_schema_version
    }
    pub fn next_schema_version(&self) -> ::std::option::Option<i64> {
        self.next_schema_version
    }
    pub fn schema_status(&self) -> ::std::option::Option<&crate::types::SchemaStatus> {
        self.schema_status.as_ref()
    }
    pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        self.tags.as_ref()
    }
    pub fn schema_version_id(&self) -> ::std::option::Option<&str> {
        self.schema_version_id.as_deref()
    }
    pub fn schema_version_status(&self) -> ::std::option::Option<&crate::types::SchemaVersionStatus> {
        self.schema_version_status.as_ref()
    }
}
impl ::aws_types::request_id::RequestId for CreateSchemaOutput {
    fn request_id(&self) -> Option<&str> {
        self._request_id.as_deref()
    }
}
impl CreateSchemaOutput {
    pub fn builder() -> crate::operation::create_schema::builders::CreateSchemaOutputBuilder {
        crate::operation::create_schema::builders::CreateSchemaOutputBuilder::default()
    }
}
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct CreateSchemaOutputBuilder {
    pub(crate) registry_name: ::std::option::Option<::std::string::String>,
    pub(crate) registry_arn: ::std::option::Option<::std::string::String>,
    pub(crate) schema_name: ::std::option::Option<::std::string::String>,
    pub(crate) schema_arn: ::std::option::Option<::std::string::String>,
    pub(crate) description: ::std::option::Option<::std::string::String>,
    pub(crate) data_format: ::std::option::Option<crate::types::DataFormat>,
    pub(crate) compatibility: ::std::option::Option<crate::types::Compatibility>,
    pub(crate) schema_checkpoint: ::std::option::Option<i64>,
    pub(crate) latest_schema_version: ::std::option::Option<i64>,
    pub(crate) next_schema_version: ::std::option::Option<i64>,
    pub(crate) schema_status: ::std::option::Option<crate::types::SchemaStatus>,
    pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    pub(crate) schema_version_id: ::std::option::Option<::std::string::String>,
    pub(crate) schema_version_status: ::std::option::Option<crate::types::SchemaVersionStatus>,
    _request_id: Option<String>,
}
impl CreateSchemaOutputBuilder {
    pub fn registry_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.registry_name = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_registry_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.registry_name = input;
        self
    }
    pub fn get_registry_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.registry_name
    }
    pub fn registry_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.registry_arn = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_registry_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.registry_arn = input;
        self
    }
    pub fn get_registry_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.registry_arn
    }
    pub fn schema_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.schema_name = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_schema_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.schema_name = input;
        self
    }
    pub fn get_schema_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.schema_name
    }
    pub fn schema_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.schema_arn = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_schema_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.schema_arn = input;
        self
    }
    pub fn get_schema_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.schema_arn
    }
    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.description = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.description = input;
        self
    }
    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
        &self.description
    }
    pub fn data_format(mut self, input: crate::types::DataFormat) -> Self {
        self.data_format = ::std::option::Option::Some(input);
        self
    }
    pub fn set_data_format(mut self, input: ::std::option::Option<crate::types::DataFormat>) -> Self {
        self.data_format = input;
        self
    }
    pub fn get_data_format(&self) -> &::std::option::Option<crate::types::DataFormat> {
        &self.data_format
    }
    pub fn compatibility(mut self, input: crate::types::Compatibility) -> Self {
        self.compatibility = ::std::option::Option::Some(input);
        self
    }
    pub fn set_compatibility(mut self, input: ::std::option::Option<crate::types::Compatibility>) -> Self {
        self.compatibility = input;
        self
    }
    pub fn get_compatibility(&self) -> &::std::option::Option<crate::types::Compatibility> {
        &self.compatibility
    }
    pub fn schema_checkpoint(mut self, input: i64) -> Self {
        self.schema_checkpoint = ::std::option::Option::Some(input);
        self
    }
    pub fn set_schema_checkpoint(mut self, input: ::std::option::Option<i64>) -> Self {
        self.schema_checkpoint = input;
        self
    }
    pub fn get_schema_checkpoint(&self) -> &::std::option::Option<i64> {
        &self.schema_checkpoint
    }
    pub fn latest_schema_version(mut self, input: i64) -> Self {
        self.latest_schema_version = ::std::option::Option::Some(input);
        self
    }
    pub fn set_latest_schema_version(mut self, input: ::std::option::Option<i64>) -> Self {
        self.latest_schema_version = input;
        self
    }
    pub fn get_latest_schema_version(&self) -> &::std::option::Option<i64> {
        &self.latest_schema_version
    }
    pub fn next_schema_version(mut self, input: i64) -> Self {
        self.next_schema_version = ::std::option::Option::Some(input);
        self
    }
    pub fn set_next_schema_version(mut self, input: ::std::option::Option<i64>) -> Self {
        self.next_schema_version = input;
        self
    }
    pub fn get_next_schema_version(&self) -> &::std::option::Option<i64> {
        &self.next_schema_version
    }
    pub fn schema_status(mut self, input: crate::types::SchemaStatus) -> Self {
        self.schema_status = ::std::option::Option::Some(input);
        self
    }
    pub fn set_schema_status(mut self, input: ::std::option::Option<crate::types::SchemaStatus>) -> Self {
        self.schema_status = input;
        self
    }
    pub fn get_schema_status(&self) -> &::std::option::Option<crate::types::SchemaStatus> {
        &self.schema_status
    }
    pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut hash_map = self.tags.unwrap_or_default();
        hash_map.insert(k.into(), v.into());
        self.tags = ::std::option::Option::Some(hash_map);
        self
    }
    pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
        self.tags = input;
        self
    }
    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        &self.tags
    }
    pub fn schema_version_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.schema_version_id = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_schema_version_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.schema_version_id = input;
        self
    }
    pub fn get_schema_version_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.schema_version_id
    }
    pub fn schema_version_status(mut self, input: crate::types::SchemaVersionStatus) -> Self {
        self.schema_version_status = ::std::option::Option::Some(input);
        self
    }
    pub fn set_schema_version_status(mut self, input: ::std::option::Option<crate::types::SchemaVersionStatus>) -> Self {
        self.schema_version_status = input;
        self
    }
    pub fn get_schema_version_status(&self) -> &::std::option::Option<crate::types::SchemaVersionStatus> {
        &self.schema_version_status
    }
    pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
        self._request_id = Some(request_id.into());
        self
    }
    pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
        self._request_id = request_id;
        self
    }
    pub fn build(self) -> crate::operation::create_schema::CreateSchemaOutput {
        crate::operation::create_schema::CreateSchemaOutput {
            registry_name: self.registry_name,
            registry_arn: self.registry_arn,
            schema_name: self.schema_name,
            schema_arn: self.schema_arn,
            description: self.description,
            data_format: self.data_format,
            compatibility: self.compatibility,
            schema_checkpoint: self.schema_checkpoint,
            latest_schema_version: self.latest_schema_version,
            next_schema_version: self.next_schema_version,
            schema_status: self.schema_status,
            tags: self.tags,
            schema_version_id: self.schema_version_id,
            schema_version_status: self.schema_version_status,
            _request_id: self._request_id,
        }
    }
}