Struct aws_sdk_iottwinmaker::operation::get_scene::GetSceneOutput
source · #[non_exhaustive]pub struct GetSceneOutput {
pub workspace_id: String,
pub scene_id: String,
pub content_location: String,
pub arn: String,
pub creation_date_time: DateTime,
pub update_date_time: DateTime,
pub description: Option<String>,
pub capabilities: Option<Vec<String>>,
pub scene_metadata: Option<HashMap<String, String>>,
pub generated_scene_metadata: Option<HashMap<String, String>>,
pub error: Option<SceneError>,
/* 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.workspace_id: String
The ID of the workspace that contains the scene.
scene_id: String
The ID of the scene.
content_location: String
The relative path that specifies the location of the content definition file.
arn: String
The ARN of the scene.
creation_date_time: DateTime
The date and time when the scene was created.
update_date_time: DateTime
The date and time when the scene was last updated.
description: Option<String>
The description of the scene.
capabilities: Option<Vec<String>>
A list of capabilities that the scene uses to render.
scene_metadata: Option<HashMap<String, String>>
The response metadata.
generated_scene_metadata: Option<HashMap<String, String>>
The generated scene metadata.
error: Option<SceneError>
The SceneResponse error.
Implementations§
source§impl GetSceneOutput
impl GetSceneOutput
sourcepub fn workspace_id(&self) -> &str
pub fn workspace_id(&self) -> &str
The ID of the workspace that contains the scene.
sourcepub fn content_location(&self) -> &str
pub fn content_location(&self) -> &str
The relative path that specifies the location of the content definition file.
sourcepub fn creation_date_time(&self) -> &DateTime
pub fn creation_date_time(&self) -> &DateTime
The date and time when the scene was created.
sourcepub fn update_date_time(&self) -> &DateTime
pub fn update_date_time(&self) -> &DateTime
The date and time when the scene was last updated.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the scene.
sourcepub fn capabilities(&self) -> &[String]
pub fn capabilities(&self) -> &[String]
A list of capabilities that the scene uses to render.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .capabilities.is_none()
.
sourcepub fn generated_scene_metadata(&self) -> Option<&HashMap<String, String>>
pub fn generated_scene_metadata(&self) -> Option<&HashMap<String, String>>
The generated scene metadata.
sourcepub fn error(&self) -> Option<&SceneError>
pub fn error(&self) -> Option<&SceneError>
The SceneResponse error.
source§impl GetSceneOutput
impl GetSceneOutput
sourcepub fn builder() -> GetSceneOutputBuilder
pub fn builder() -> GetSceneOutputBuilder
Creates a new builder-style object to manufacture GetSceneOutput
.
Trait Implementations§
source§impl Clone for GetSceneOutput
impl Clone for GetSceneOutput
source§fn clone(&self) -> GetSceneOutput
fn clone(&self) -> GetSceneOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetSceneOutput
impl Debug for GetSceneOutput
source§impl PartialEq for GetSceneOutput
impl PartialEq for GetSceneOutput
source§fn eq(&self, other: &GetSceneOutput) -> bool
fn eq(&self, other: &GetSceneOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetSceneOutput
impl RequestId for GetSceneOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.