Struct aws_sdk_iot::types::PutAssetPropertyValueEntry
source · #[non_exhaustive]pub struct PutAssetPropertyValueEntry {
pub entry_id: Option<String>,
pub asset_id: Option<String>,
pub property_id: Option<String>,
pub property_alias: Option<String>,
pub property_values: Vec<AssetPropertyValue>,
}
Expand description
An asset property value entry containing the following information.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.entry_id: Option<String>
Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.
asset_id: Option<String>
The ID of the IoT SiteWise asset. You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
property_id: Option<String>
The ID of the asset's property. You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
property_alias: Option<String>
The name of the property alias associated with your asset property. You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
property_values: Vec<AssetPropertyValue>
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
Implementations§
source§impl PutAssetPropertyValueEntry
impl PutAssetPropertyValueEntry
sourcepub fn entry_id(&self) -> Option<&str>
pub fn entry_id(&self) -> Option<&str>
Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.
sourcepub fn asset_id(&self) -> Option<&str>
pub fn asset_id(&self) -> Option<&str>
The ID of the IoT SiteWise asset. You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
sourcepub fn property_id(&self) -> Option<&str>
pub fn property_id(&self) -> Option<&str>
The ID of the asset's property. You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
sourcepub fn property_alias(&self) -> Option<&str>
pub fn property_alias(&self) -> Option<&str>
The name of the property alias associated with your asset property. You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
sourcepub fn property_values(&self) -> &[AssetPropertyValue]
pub fn property_values(&self) -> &[AssetPropertyValue]
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
source§impl PutAssetPropertyValueEntry
impl PutAssetPropertyValueEntry
sourcepub fn builder() -> PutAssetPropertyValueEntryBuilder
pub fn builder() -> PutAssetPropertyValueEntryBuilder
Creates a new builder-style object to manufacture PutAssetPropertyValueEntry
.
Trait Implementations§
source§impl Clone for PutAssetPropertyValueEntry
impl Clone for PutAssetPropertyValueEntry
source§fn clone(&self) -> PutAssetPropertyValueEntry
fn clone(&self) -> PutAssetPropertyValueEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutAssetPropertyValueEntry
impl Debug for PutAssetPropertyValueEntry
source§impl PartialEq for PutAssetPropertyValueEntry
impl PartialEq for PutAssetPropertyValueEntry
source§fn eq(&self, other: &PutAssetPropertyValueEntry) -> bool
fn eq(&self, other: &PutAssetPropertyValueEntry) -> bool
self
and other
values to be equal, and is used
by ==
.