AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateSceneRequest.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoTTwinMaker
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTTWINMAKER_API UpdateSceneRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateScene"; }
33
34 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
42 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
43 template<typename WorkspaceIdT = Aws::String>
44 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
45 template<typename WorkspaceIdT = Aws::String>
46 UpdateSceneRequest& WithWorkspaceId(WorkspaceIdT&& value) { SetWorkspaceId(std::forward<WorkspaceIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetSceneId() const { return m_sceneId; }
54 inline bool SceneIdHasBeenSet() const { return m_sceneIdHasBeenSet; }
55 template<typename SceneIdT = Aws::String>
56 void SetSceneId(SceneIdT&& value) { m_sceneIdHasBeenSet = true; m_sceneId = std::forward<SceneIdT>(value); }
57 template<typename SceneIdT = Aws::String>
58 UpdateSceneRequest& WithSceneId(SceneIdT&& value) { SetSceneId(std::forward<SceneIdT>(value)); return *this;}
60
62
66 inline const Aws::String& GetContentLocation() const { return m_contentLocation; }
67 inline bool ContentLocationHasBeenSet() const { return m_contentLocationHasBeenSet; }
68 template<typename ContentLocationT = Aws::String>
69 void SetContentLocation(ContentLocationT&& value) { m_contentLocationHasBeenSet = true; m_contentLocation = std::forward<ContentLocationT>(value); }
70 template<typename ContentLocationT = Aws::String>
71 UpdateSceneRequest& WithContentLocation(ContentLocationT&& value) { SetContentLocation(std::forward<ContentLocationT>(value)); return *this;}
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template<typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
82 template<typename DescriptionT = Aws::String>
83 UpdateSceneRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
85
87
90 inline const Aws::Vector<Aws::String>& GetCapabilities() const { return m_capabilities; }
91 inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; }
92 template<typename CapabilitiesT = Aws::Vector<Aws::String>>
93 void SetCapabilities(CapabilitiesT&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::forward<CapabilitiesT>(value); }
94 template<typename CapabilitiesT = Aws::Vector<Aws::String>>
95 UpdateSceneRequest& WithCapabilities(CapabilitiesT&& value) { SetCapabilities(std::forward<CapabilitiesT>(value)); return *this;}
96 template<typename CapabilitiesT = Aws::String>
97 UpdateSceneRequest& AddCapabilities(CapabilitiesT&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.emplace_back(std::forward<CapabilitiesT>(value)); return *this; }
99
101
104 inline const Aws::Map<Aws::String, Aws::String>& GetSceneMetadata() const { return m_sceneMetadata; }
105 inline bool SceneMetadataHasBeenSet() const { return m_sceneMetadataHasBeenSet; }
106 template<typename SceneMetadataT = Aws::Map<Aws::String, Aws::String>>
107 void SetSceneMetadata(SceneMetadataT&& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata = std::forward<SceneMetadataT>(value); }
108 template<typename SceneMetadataT = Aws::Map<Aws::String, Aws::String>>
109 UpdateSceneRequest& WithSceneMetadata(SceneMetadataT&& value) { SetSceneMetadata(std::forward<SceneMetadataT>(value)); return *this;}
110 template<typename SceneMetadataKeyT = Aws::String, typename SceneMetadataValueT = Aws::String>
111 UpdateSceneRequest& AddSceneMetadata(SceneMetadataKeyT&& key, SceneMetadataValueT&& value) {
112 m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(std::forward<SceneMetadataKeyT>(key), std::forward<SceneMetadataValueT>(value)); return *this;
113 }
115 private:
116
117 Aws::String m_workspaceId;
118 bool m_workspaceIdHasBeenSet = false;
119
120 Aws::String m_sceneId;
121 bool m_sceneIdHasBeenSet = false;
122
123 Aws::String m_contentLocation;
124 bool m_contentLocationHasBeenSet = false;
125
126 Aws::String m_description;
127 bool m_descriptionHasBeenSet = false;
128
129 Aws::Vector<Aws::String> m_capabilities;
130 bool m_capabilitiesHasBeenSet = false;
131
133 bool m_sceneMetadataHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace IoTTwinMaker
138} // namespace Aws
void SetContentLocation(ContentLocationT &&value)
UpdateSceneRequest & WithWorkspaceId(WorkspaceIdT &&value)
UpdateSceneRequest & AddSceneMetadata(SceneMetadataKeyT &&key, SceneMetadataValueT &&value)
const Aws::Vector< Aws::String > & GetCapabilities() const
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
AWS_IOTTWINMAKER_API UpdateSceneRequest()=default
UpdateSceneRequest & WithSceneId(SceneIdT &&value)
UpdateSceneRequest & WithCapabilities(CapabilitiesT &&value)
UpdateSceneRequest & WithDescription(DescriptionT &&value)
UpdateSceneRequest & AddCapabilities(CapabilitiesT &&value)
UpdateSceneRequest & WithSceneMetadata(SceneMetadataT &&value)
UpdateSceneRequest & WithContentLocation(ContentLocationT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetSceneMetadata() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector