/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace IoTTwinMaker { namespace Model { /** */ class UpdateSceneRequest : public IoTTwinMakerRequest { public: AWS_IOTTWINMAKER_API UpdateSceneRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateScene"; } AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override; /** *

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 bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** *

The ID of the workspace that contains the scene.

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

The ID of the workspace that contains the scene.

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

The ID of the workspace that contains the scene.

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

The ID of the workspace that contains the scene.

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

The ID of the workspace that contains the scene.

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

The ID of the workspace that contains the scene.

*/ inline UpdateSceneRequest& 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 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 UpdateSceneRequest& WithSceneId(const Aws::String& value) { SetSceneId(value); return *this;} /** *

The ID of the scene.

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

The ID of the scene.

*/ inline UpdateSceneRequest& 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 UpdateSceneRequest& WithContentLocation(const Aws::String& value) { SetContentLocation(value); return *this;} /** *

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

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

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

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

The description of this scene.

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

The description of this scene.

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

The description of this scene.

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

The description of this scene.

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

The description of this scene.

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

The description of this scene.

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

The description of this scene.

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

The description of this scene.

*/ inline UpdateSceneRequest& 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 bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; } /** *

A list of capabilities that the scene uses to render.

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

A list of capabilities that the scene uses to render.

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

A list of capabilities that the scene uses to render.

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

A list of capabilities that the scene uses to render.

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

A list of capabilities that the scene uses to render.

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

A list of capabilities that the scene uses to render.

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

A list of capabilities that the scene uses to render.

*/ inline UpdateSceneRequest& AddCapabilities(const char* value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; } /** *

The scene metadata.

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

The scene metadata.

*/ inline bool SceneMetadataHasBeenSet() const { return m_sceneMetadataHasBeenSet; } /** *

The scene metadata.

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

The scene metadata.

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

The scene metadata.

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

The scene metadata.

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

The scene metadata.

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

The scene metadata.

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

The scene metadata.

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

The scene metadata.

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

The scene metadata.

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

The scene metadata.

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

The scene metadata.

*/ inline UpdateSceneRequest& AddSceneMetadata(const char* key, const char* value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(key, value); return *this; } private: Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; Aws::String m_sceneId; bool m_sceneIdHasBeenSet = false; Aws::String m_contentLocation; bool m_contentLocationHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_capabilities; bool m_capabilitiesHasBeenSet = false; Aws::Map m_sceneMetadata; bool m_sceneMetadataHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws