/// A literal string value
#[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 TagStringLiteral {
    #[serde(rename = "id")]
    id: conjure_object::Uuid,
    #[builder(into)]
    #[serde(rename = "value")]
    value: String,
}
impl TagStringLiteral {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(id: conjure_object::Uuid, value: impl Into<String>) -> Self {
        Self::builder().id(id).value(value).build()
    }
    /// A unique identifier for this string. Cannot be shared across different Tag inputs.
    /// Used as the variable id for the StringConstant applied to the tag fields
    /// of the channel compute node.
    #[inline]
    pub fn id(&self) -> conjure_object::Uuid {
        self.id
    }
    /// The string value.
    #[inline]
    pub fn value(&self) -> &str {
        &*self.value
    }
}
