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
impl StructuralPartialEq for ComponentResponse
Auto Trait Implementations§
impl Freeze for ComponentResponse
impl RefUnwindSafe for ComponentResponse
impl Send for ComponentResponse
impl Sync for ComponentResponse
impl Unpin for ComponentResponse
impl UnwindSafe for ComponentResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more