/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTTwinMaker { namespace Model { class GetSceneResult { public: AWS_IOTTWINMAKER_API GetSceneResult(); AWS_IOTTWINMAKER_API GetSceneResult(const Aws::AmazonWebServiceResult& result); AWS_IOTTWINMAKER_API GetSceneResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the workspace that contains the scene.

*/ inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** *

The ID of the workspace that contains the scene.

*/ inline void SetWorkspaceId(const Aws::String& value) { m_workspaceId = value; } /** *

The ID of the workspace that contains the scene.

*/ inline void SetWorkspaceId(Aws::String&& value) { m_workspaceId = std::move(value); } /** *

The ID of the workspace that contains the scene.

*/ inline void SetWorkspaceId(const char* value) { m_workspaceId.assign(value); } /** *

The ID of the workspace that contains the scene.

*/ inline GetSceneResult& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** *

The ID of the workspace that contains the scene.

*/ inline GetSceneResult& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** *

The ID of the workspace that contains the scene.

*/ inline GetSceneResult& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** *

The ID of the scene.

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

The ID of the scene.

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

The ID of the scene.

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

The ID of the scene.

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

The ID of the scene.

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

The ID of the scene.

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

The ID of the scene.

*/ inline GetSceneResult& 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 void SetContentLocation(const Aws::String& value) { m_contentLocation = value; } /** *

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

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

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

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

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

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

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

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

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

*/ inline GetSceneResult& 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 void SetArn(const Aws::String& value) { m_arn = value; } /** *

The ARN of the scene.

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

The ARN of the scene.

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

The ARN of the scene.

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

The ARN of the scene.

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

The ARN of the scene.

*/ inline GetSceneResult& 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 void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; } /** *

The date and time when the scene was created.

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

The date and time when the scene was created.

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

The date and time when the scene was created.

*/ inline GetSceneResult& 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 void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTime = value; } /** *

The date and time when the scene was last updated.

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

The date and time when the scene was last updated.

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

The date and time when the scene was last updated.

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

The description of the scene.

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

The description of the scene.

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

The description of the scene.

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

The description of the scene.

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

The description of the scene.

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

The description of the scene.

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

The description of the scene.

*/ inline GetSceneResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A list of capabilities that the scene uses to render.

*/ inline const Aws::Vector& GetCapabilities() const{ return m_capabilities; } /** *

A list of capabilities that the scene uses to render.

*/ inline void SetCapabilities(const Aws::Vector& value) { m_capabilities = value; } /** *

A list of capabilities that the scene uses to render.

*/ inline void SetCapabilities(Aws::Vector&& value) { m_capabilities = std::move(value); } /** *

A list of capabilities that the scene uses to render.

*/ inline GetSceneResult& WithCapabilities(const Aws::Vector& value) { SetCapabilities(value); return *this;} /** *

A list of capabilities that the scene uses to render.

*/ inline GetSceneResult& WithCapabilities(Aws::Vector&& value) { SetCapabilities(std::move(value)); return *this;} /** *

A list of capabilities that the scene uses to render.

*/ inline GetSceneResult& AddCapabilities(const Aws::String& value) { m_capabilities.push_back(value); return *this; } /** *

A list of capabilities that the scene uses to render.

*/ inline GetSceneResult& AddCapabilities(Aws::String&& value) { m_capabilities.push_back(std::move(value)); return *this; } /** *

A list of capabilities that the scene uses to render.

*/ inline GetSceneResult& AddCapabilities(const char* value) { m_capabilities.push_back(value); return *this; } /** *

The response metadata.

*/ inline const Aws::Map& GetSceneMetadata() const{ return m_sceneMetadata; } /** *

The response metadata.

*/ inline void SetSceneMetadata(const Aws::Map& value) { m_sceneMetadata = value; } /** *

The response metadata.

*/ inline void SetSceneMetadata(Aws::Map&& value) { m_sceneMetadata = std::move(value); } /** *

The response metadata.

*/ inline GetSceneResult& WithSceneMetadata(const Aws::Map& value) { SetSceneMetadata(value); return *this;} /** *

The response metadata.

*/ inline GetSceneResult& WithSceneMetadata(Aws::Map&& value) { SetSceneMetadata(std::move(value)); return *this;} /** *

The response metadata.

*/ inline GetSceneResult& AddSceneMetadata(const Aws::String& key, const Aws::String& value) { m_sceneMetadata.emplace(key, value); return *this; } /** *

The response metadata.

*/ inline GetSceneResult& AddSceneMetadata(Aws::String&& key, const Aws::String& value) { m_sceneMetadata.emplace(std::move(key), value); return *this; } /** *

The response metadata.

*/ inline GetSceneResult& AddSceneMetadata(const Aws::String& key, Aws::String&& value) { m_sceneMetadata.emplace(key, std::move(value)); return *this; } /** *

The response metadata.

*/ inline GetSceneResult& AddSceneMetadata(Aws::String&& key, Aws::String&& value) { m_sceneMetadata.emplace(std::move(key), std::move(value)); return *this; } /** *

The response metadata.

*/ inline GetSceneResult& AddSceneMetadata(const char* key, Aws::String&& value) { m_sceneMetadata.emplace(key, std::move(value)); return *this; } /** *

The response metadata.

*/ inline GetSceneResult& AddSceneMetadata(Aws::String&& key, const char* value) { m_sceneMetadata.emplace(std::move(key), value); return *this; } /** *

The response metadata.

*/ inline GetSceneResult& AddSceneMetadata(const char* key, const char* value) { m_sceneMetadata.emplace(key, value); return *this; } /** *

The generated scene metadata.

*/ inline const Aws::Map& GetGeneratedSceneMetadata() const{ return m_generatedSceneMetadata; } /** *

The generated scene metadata.

*/ inline void SetGeneratedSceneMetadata(const Aws::Map& value) { m_generatedSceneMetadata = value; } /** *

The generated scene metadata.

*/ inline void SetGeneratedSceneMetadata(Aws::Map&& value) { m_generatedSceneMetadata = std::move(value); } /** *

The generated scene metadata.

*/ inline GetSceneResult& WithGeneratedSceneMetadata(const Aws::Map& value) { SetGeneratedSceneMetadata(value); return *this;} /** *

The generated scene metadata.

*/ inline GetSceneResult& WithGeneratedSceneMetadata(Aws::Map&& value) { SetGeneratedSceneMetadata(std::move(value)); return *this;} /** *

The generated scene metadata.

*/ inline GetSceneResult& AddGeneratedSceneMetadata(const Aws::String& key, const Aws::String& value) { m_generatedSceneMetadata.emplace(key, value); return *this; } /** *

The generated scene metadata.

*/ inline GetSceneResult& AddGeneratedSceneMetadata(Aws::String&& key, const Aws::String& value) { m_generatedSceneMetadata.emplace(std::move(key), value); return *this; } /** *

The generated scene metadata.

*/ inline GetSceneResult& AddGeneratedSceneMetadata(const Aws::String& key, Aws::String&& value) { m_generatedSceneMetadata.emplace(key, std::move(value)); return *this; } /** *

The generated scene metadata.

*/ inline GetSceneResult& AddGeneratedSceneMetadata(Aws::String&& key, Aws::String&& value) { m_generatedSceneMetadata.emplace(std::move(key), std::move(value)); return *this; } /** *

The generated scene metadata.

*/ inline GetSceneResult& AddGeneratedSceneMetadata(const char* key, Aws::String&& value) { m_generatedSceneMetadata.emplace(key, std::move(value)); return *this; } /** *

The generated scene metadata.

*/ inline GetSceneResult& AddGeneratedSceneMetadata(Aws::String&& key, const char* value) { m_generatedSceneMetadata.emplace(std::move(key), value); return *this; } /** *

The generated scene metadata.

*/ inline GetSceneResult& AddGeneratedSceneMetadata(const char* key, const char* value) { m_generatedSceneMetadata.emplace(key, value); return *this; } /** *

The SceneResponse error.

*/ inline const SceneError& GetError() const{ return m_error; } /** *

The SceneResponse error.

*/ inline void SetError(const SceneError& value) { m_error = value; } /** *

The SceneResponse error.

*/ inline void SetError(SceneError&& value) { m_error = std::move(value); } /** *

The SceneResponse error.

*/ inline GetSceneResult& WithError(const SceneError& value) { SetError(value); return *this;} /** *

The SceneResponse error.

*/ inline GetSceneResult& WithError(SceneError&& value) { SetError(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetSceneResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSceneResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSceneResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_workspaceId; Aws::String m_sceneId; Aws::String m_contentLocation; Aws::String m_arn; Aws::Utils::DateTime m_creationDateTime; Aws::Utils::DateTime m_updateDateTime; Aws::String m_description; Aws::Vector m_capabilities; Aws::Map m_sceneMetadata; Aws::Map m_generatedSceneMetadata; SceneError m_error; Aws::String m_requestId; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws