Struct aws_sdk_iottwinmaker::types::DataValue
source · #[non_exhaustive]pub struct DataValue { /* private fields */ }Expand description
An object that specifies a value for a property.
Implementations§
source§impl DataValue
impl DataValue
sourcepub fn boolean_value(&self) -> Option<bool>
pub fn boolean_value(&self) -> Option<bool>
A Boolean value.
sourcepub fn double_value(&self) -> Option<f64>
pub fn double_value(&self) -> Option<f64>
A double value.
sourcepub fn integer_value(&self) -> Option<i32>
pub fn integer_value(&self) -> Option<i32>
An integer value.
sourcepub fn long_value(&self) -> Option<i64>
pub fn long_value(&self) -> Option<i64>
A long value.
sourcepub fn string_value(&self) -> Option<&str>
pub fn string_value(&self) -> Option<&str>
A string value.
sourcepub fn list_value(&self) -> Option<&[DataValue]>
pub fn list_value(&self) -> Option<&[DataValue]>
A list of multiple values.
sourcepub fn map_value(&self) -> Option<&HashMap<String, DataValue>>
pub fn map_value(&self) -> Option<&HashMap<String, DataValue>>
An object that maps strings to multiple DataValue objects.
sourcepub fn relationship_value(&self) -> Option<&RelationshipValue>
pub fn relationship_value(&self) -> Option<&RelationshipValue>
A value that relates a component to another component.
sourcepub fn expression(&self) -> Option<&str>
pub fn expression(&self) -> Option<&str>
An expression that produces the value.