/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTTwinMaker { namespace Model { /** *

An object that contains information about a scene.

See Also:

* AWS * API Reference

*/ class SceneSummary { public: AWS_IOTTWINMAKER_API SceneSummary(); AWS_IOTTWINMAKER_API SceneSummary(Aws::Utils::Json::JsonView jsonValue); AWS_IOTTWINMAKER_API SceneSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ID of the scene.

*/ inline const Aws::String& GetSceneId() const{ return m_sceneId; } /** *

The ID of the scene.

*/ inline bool SceneIdHasBeenSet() const { return m_sceneIdHasBeenSet; } /** *

The ID of the scene.

*/ inline void SetSceneId(const Aws::String& value) { m_sceneIdHasBeenSet = true; m_sceneId = value; } /** *

The ID of the scene.

*/ inline void SetSceneId(Aws::String&& value) { m_sceneIdHasBeenSet = true; m_sceneId = std::move(value); } /** *

The ID of the scene.

*/ inline void SetSceneId(const char* value) { m_sceneIdHasBeenSet = true; m_sceneId.assign(value); } /** *

The ID of the scene.

*/ inline SceneSummary& WithSceneId(const Aws::String& value) { SetSceneId(value); return *this;} /** *

The ID of the scene.

*/ inline SceneSummary& WithSceneId(Aws::String&& value) { SetSceneId(std::move(value)); return *this;} /** *

The ID of the scene.

*/ inline SceneSummary& WithSceneId(const char* value) { SetSceneId(value); return *this;} /** *

The relative path that specifies the location of the content definition * file.

*/ inline const Aws::String& GetContentLocation() const{ return m_contentLocation; } /** *

The relative path that specifies the location of the content definition * file.

*/ inline bool ContentLocationHasBeenSet() const { return m_contentLocationHasBeenSet; } /** *

The relative path that specifies the location of the content definition * file.

*/ inline void SetContentLocation(const Aws::String& value) { m_contentLocationHasBeenSet = true; m_contentLocation = value; } /** *

The relative path that specifies the location of the content definition * file.

*/ inline void SetContentLocation(Aws::String&& value) { m_contentLocationHasBeenSet = true; m_contentLocation = std::move(value); } /** *

The relative path that specifies the location of the content definition * file.

*/ inline void SetContentLocation(const char* value) { m_contentLocationHasBeenSet = true; m_contentLocation.assign(value); } /** *

The relative path that specifies the location of the content definition * file.

*/ inline SceneSummary& WithContentLocation(const Aws::String& value) { SetContentLocation(value); return *this;} /** *

The relative path that specifies the location of the content definition * file.

*/ inline SceneSummary& WithContentLocation(Aws::String&& value) { SetContentLocation(std::move(value)); return *this;} /** *

The relative path that specifies the location of the content definition * file.

*/ inline SceneSummary& WithContentLocation(const char* value) { SetContentLocation(value); return *this;} /** *

The ARN of the scene.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the scene.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The ARN of the scene.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The ARN of the scene.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The ARN of the scene.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The ARN of the scene.

*/ inline SceneSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the scene.

*/ inline SceneSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the scene.

*/ inline SceneSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *

The date and time when the scene was created.

*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *

The date and time when the scene was created.

*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *

The date and time when the scene was created.

*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *

The date and time when the scene was created.

*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *

The date and time when the scene was created.

*/ inline SceneSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

The date and time when the scene was created.

*/ inline SceneSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *

The date and time when the scene was last updated.

*/ inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; } /** *

The date and time when the scene was last updated.

*/ inline bool UpdateDateTimeHasBeenSet() const { return m_updateDateTimeHasBeenSet; } /** *

The date and time when the scene was last updated.

*/ inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = value; } /** *

The date and time when the scene was last updated.

*/ inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::move(value); } /** *

The date and time when the scene was last updated.

*/ inline SceneSummary& WithUpdateDateTime(const Aws::Utils::DateTime& value) { SetUpdateDateTime(value); return *this;} /** *

The date and time when the scene was last updated.

*/ inline SceneSummary& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;} /** *

The scene description.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The scene description.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The scene description.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The scene description.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The scene description.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The scene description.

*/ inline SceneSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The scene description.

*/ inline SceneSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The scene description.

*/ inline SceneSummary& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_sceneId; bool m_sceneIdHasBeenSet = false; Aws::String m_contentLocation; bool m_contentLocationHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_updateDateTime; bool m_updateDateTimeHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws