Struct aws_sdk_iottwinmaker::operation::get_entity::GetEntityOutput
source · #[non_exhaustive]pub struct GetEntityOutput {Show 13 fields
pub entity_id: String,
pub entity_name: String,
pub arn: String,
pub status: Option<Status>,
pub workspace_id: String,
pub description: Option<String>,
pub components: Option<HashMap<String, ComponentResponse>>,
pub parent_entity_id: String,
pub has_child_entities: bool,
pub creation_date_time: DateTime,
pub update_date_time: DateTime,
pub sync_source: Option<String>,
pub are_all_components_returned: Option<bool>,
/* private fields */
}
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.entity_id: String
The ID of the entity.
entity_name: String
The name of the entity.
arn: String
The ARN of the entity.
status: Option<Status>
The current status of the entity.
workspace_id: String
The ID of the workspace.
description: Option<String>
The description of the entity.
components: Option<HashMap<String, ComponentResponse>>
An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.
parent_entity_id: String
The ID of the parent entity for this entity.
has_child_entities: bool
A Boolean value that specifies whether the entity has associated child entities.
creation_date_time: DateTime
The date and time when the entity was created.
update_date_time: DateTime
The date and time when the entity was last updated.
sync_source: Option<String>
The syncSource of the sync job, if this entity was created by a sync job.
are_all_components_returned: Option<bool>
This flag notes whether all components are returned in the API response. The maximum number of components returned is 30.
Implementations§
source§impl GetEntityOutput
impl GetEntityOutput
sourcepub fn entity_name(&self) -> &str
pub fn entity_name(&self) -> &str
The name of the entity.
sourcepub fn workspace_id(&self) -> &str
pub fn workspace_id(&self) -> &str
The ID of the workspace.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the entity.
sourcepub fn components(&self) -> Option<&HashMap<String, ComponentResponse>>
pub fn components(&self) -> Option<&HashMap<String, ComponentResponse>>
An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.
sourcepub fn parent_entity_id(&self) -> &str
pub fn parent_entity_id(&self) -> &str
The ID of the parent entity for this entity.
sourcepub fn has_child_entities(&self) -> bool
pub fn has_child_entities(&self) -> bool
A Boolean value that specifies whether the entity has associated child entities.
sourcepub fn creation_date_time(&self) -> &DateTime
pub fn creation_date_time(&self) -> &DateTime
The date and time when the entity was created.
sourcepub fn update_date_time(&self) -> &DateTime
pub fn update_date_time(&self) -> &DateTime
The date and time when the entity was last updated.
sourcepub fn sync_source(&self) -> Option<&str>
pub fn sync_source(&self) -> Option<&str>
The syncSource of the sync job, if this entity was created by a sync job.
sourcepub fn are_all_components_returned(&self) -> Option<bool>
pub fn are_all_components_returned(&self) -> Option<bool>
This flag notes whether all components are returned in the API response. The maximum number of components returned is 30.
source§impl GetEntityOutput
impl GetEntityOutput
sourcepub fn builder() -> GetEntityOutputBuilder
pub fn builder() -> GetEntityOutputBuilder
Creates a new builder-style object to manufacture GetEntityOutput
.
Trait Implementations§
source§impl Clone for GetEntityOutput
impl Clone for GetEntityOutput
source§fn clone(&self) -> GetEntityOutput
fn clone(&self) -> GetEntityOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetEntityOutput
impl Debug for GetEntityOutput
source§impl PartialEq for GetEntityOutput
impl PartialEq for GetEntityOutput
source§fn eq(&self, other: &GetEntityOutput) -> bool
fn eq(&self, other: &GetEntityOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetEntityOutput
impl RequestId for GetEntityOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.