/// The tags used when ingesting the dataset file.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct IngestTagMetadata {
    #[builder(default, map(key(type = String, into), value(type = String, into)))]
    #[serde(
        rename = "tagColumns",
        skip_serializing_if = "std::collections::BTreeMap::is_empty",
        default
    )]
    tag_columns: std::collections::BTreeMap<String, String>,
    #[builder(default, map(key(type = String, into), value(type = String, into)))]
    #[serde(
        rename = "additionalFileTags",
        skip_serializing_if = "std::collections::BTreeMap::is_empty",
        default
    )]
    additional_file_tags: std::collections::BTreeMap<String, String>,
}
impl IngestTagMetadata {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    /// A map of tag names to column names to derive the tag values from.
    #[inline]
    pub fn tag_columns(&self) -> &std::collections::BTreeMap<String, String> {
        &self.tag_columns
    }
    #[inline]
    pub fn additional_file_tags(&self) -> &std::collections::BTreeMap<String, String> {
        &self.additional_file_tags
    }
}
