Struct aws_sdk_iottwinmaker::types::ComponentResponse
source · #[non_exhaustive]pub struct ComponentResponse {
pub component_name: Option<String>,
pub description: Option<String>,
pub component_type_id: Option<String>,
pub status: Option<Status>,
pub defined_in: Option<String>,
pub properties: Option<HashMap<String, PropertyResponse>>,
pub property_groups: Option<HashMap<String, ComponentPropertyGroupResponse>>,
pub sync_source: Option<String>,
pub are_all_properties_returned: Option<bool>,
pub composite_components: Option<HashMap<String, ComponentSummary>>,
pub are_all_composite_components_returned: Option<bool>,
}
Expand description
An object that returns information about a component type create or update request.
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.component_name: Option<String>
The name of the component.
description: Option<String>
The description of the component type.
component_type_id: Option<String>
The ID of the component type.
status: Option<Status>
The status of the component type.
defined_in: Option<String>
The name of the property definition set in the request.
properties: Option<HashMap<String, PropertyResponse>>
An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
property_groups: Option<HashMap<String, ComponentPropertyGroupResponse>>
The property groups.
sync_source: Option<String>
The syncSource of the sync job, if this entity was created by a sync job.
are_all_properties_returned: Option<bool>
This flag notes whether all properties of the component are returned in the API response. The maximum number of properties returned is 800.
composite_components: Option<HashMap<String, ComponentSummary>>
This lists objects that contain information about the compositeComponents
.
are_all_composite_components_returned: Option<bool>
This flag notes whether all compositeComponents
are returned in the API response.
Implementations§
source§impl ComponentResponse
impl ComponentResponse
sourcepub fn component_name(&self) -> Option<&str>
pub fn component_name(&self) -> Option<&str>
The name of the component.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the component type.
sourcepub fn component_type_id(&self) -> Option<&str>
pub fn component_type_id(&self) -> Option<&str>
The ID of the component type.
sourcepub fn defined_in(&self) -> Option<&str>
pub fn defined_in(&self) -> Option<&str>
The name of the property definition set in the request.
sourcepub fn properties(&self) -> Option<&HashMap<String, PropertyResponse>>
pub fn properties(&self) -> Option<&HashMap<String, PropertyResponse>>
An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
sourcepub fn property_groups(
&self
) -> Option<&HashMap<String, ComponentPropertyGroupResponse>>
pub fn property_groups( &self ) -> Option<&HashMap<String, ComponentPropertyGroupResponse>>
The property groups.
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_properties_returned(&self) -> Option<bool>
pub fn are_all_properties_returned(&self) -> Option<bool>
This flag notes whether all properties of the component are returned in the API response. The maximum number of properties returned is 800.
sourcepub fn composite_components(&self) -> Option<&HashMap<String, ComponentSummary>>
pub fn composite_components(&self) -> Option<&HashMap<String, ComponentSummary>>
This lists objects that contain information about the compositeComponents
.
sourcepub fn are_all_composite_components_returned(&self) -> Option<bool>
pub fn are_all_composite_components_returned(&self) -> Option<bool>
This flag notes whether all compositeComponents
are returned in the API response.
source§impl ComponentResponse
impl ComponentResponse
sourcepub fn builder() -> ComponentResponseBuilder
pub fn builder() -> ComponentResponseBuilder
Creates a new builder-style object to manufacture ComponentResponse
.
Trait Implementations§
source§impl Clone for ComponentResponse
impl Clone for ComponentResponse
source§fn clone(&self) -> ComponentResponse
fn clone(&self) -> ComponentResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ComponentResponse
impl Debug for ComponentResponse
source§impl PartialEq for ComponentResponse
impl PartialEq for ComponentResponse
source§fn eq(&self, other: &ComponentResponse) -> bool
fn eq(&self, other: &ComponentResponse) -> bool
self
and other
values to be equal, and is used
by ==
.