AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
UpdateSceneRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
11#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16namespace IoTTwinMaker {
17namespace Model {
18
22 public:
23 AWS_IOTTWINMAKER_API UpdateSceneRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateScene"; }
30
31 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
38 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
39 template <typename WorkspaceIdT = Aws::String>
40 void SetWorkspaceId(WorkspaceIdT&& value) {
41 m_workspaceIdHasBeenSet = true;
42 m_workspaceId = std::forward<WorkspaceIdT>(value);
43 }
44 template <typename WorkspaceIdT = Aws::String>
45 UpdateSceneRequest& WithWorkspaceId(WorkspaceIdT&& value) {
46 SetWorkspaceId(std::forward<WorkspaceIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetSceneId() const { return m_sceneId; }
56 inline bool SceneIdHasBeenSet() const { return m_sceneIdHasBeenSet; }
57 template <typename SceneIdT = Aws::String>
58 void SetSceneId(SceneIdT&& value) {
59 m_sceneIdHasBeenSet = true;
60 m_sceneId = std::forward<SceneIdT>(value);
61 }
62 template <typename SceneIdT = Aws::String>
63 UpdateSceneRequest& WithSceneId(SceneIdT&& value) {
64 SetSceneId(std::forward<SceneIdT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetContentLocation() const { return m_contentLocation; }
75 inline bool ContentLocationHasBeenSet() const { return m_contentLocationHasBeenSet; }
76 template <typename ContentLocationT = Aws::String>
77 void SetContentLocation(ContentLocationT&& value) {
78 m_contentLocationHasBeenSet = true;
79 m_contentLocation = std::forward<ContentLocationT>(value);
80 }
81 template <typename ContentLocationT = Aws::String>
82 UpdateSceneRequest& WithContentLocation(ContentLocationT&& value) {
83 SetContentLocation(std::forward<ContentLocationT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetDescription() const { return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 template <typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) {
96 m_descriptionHasBeenSet = true;
97 m_description = std::forward<DescriptionT>(value);
98 }
99 template <typename DescriptionT = Aws::String>
100 UpdateSceneRequest& WithDescription(DescriptionT&& value) {
101 SetDescription(std::forward<DescriptionT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Vector<Aws::String>& GetCapabilities() const { return m_capabilities; }
111 inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; }
112 template <typename CapabilitiesT = Aws::Vector<Aws::String>>
113 void SetCapabilities(CapabilitiesT&& value) {
114 m_capabilitiesHasBeenSet = true;
115 m_capabilities = std::forward<CapabilitiesT>(value);
116 }
117 template <typename CapabilitiesT = Aws::Vector<Aws::String>>
118 UpdateSceneRequest& WithCapabilities(CapabilitiesT&& value) {
119 SetCapabilities(std::forward<CapabilitiesT>(value));
120 return *this;
121 }
122 template <typename CapabilitiesT = Aws::String>
123 UpdateSceneRequest& AddCapabilities(CapabilitiesT&& value) {
124 m_capabilitiesHasBeenSet = true;
125 m_capabilities.emplace_back(std::forward<CapabilitiesT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::Map<Aws::String, Aws::String>& GetSceneMetadata() const { return m_sceneMetadata; }
135 inline bool SceneMetadataHasBeenSet() const { return m_sceneMetadataHasBeenSet; }
136 template <typename SceneMetadataT = Aws::Map<Aws::String, Aws::String>>
137 void SetSceneMetadata(SceneMetadataT&& value) {
138 m_sceneMetadataHasBeenSet = true;
139 m_sceneMetadata = std::forward<SceneMetadataT>(value);
140 }
141 template <typename SceneMetadataT = Aws::Map<Aws::String, Aws::String>>
142 UpdateSceneRequest& WithSceneMetadata(SceneMetadataT&& value) {
143 SetSceneMetadata(std::forward<SceneMetadataT>(value));
144 return *this;
145 }
146 template <typename SceneMetadataKeyT = Aws::String, typename SceneMetadataValueT = Aws::String>
147 UpdateSceneRequest& AddSceneMetadata(SceneMetadataKeyT&& key, SceneMetadataValueT&& value) {
148 m_sceneMetadataHasBeenSet = true;
149 m_sceneMetadata.emplace(std::forward<SceneMetadataKeyT>(key), std::forward<SceneMetadataValueT>(value));
150 return *this;
151 }
153 private:
154 Aws::String m_workspaceId;
155
156 Aws::String m_sceneId;
157
158 Aws::String m_contentLocation;
159
160 Aws::String m_description;
161
162 Aws::Vector<Aws::String> m_capabilities;
163
165 bool m_workspaceIdHasBeenSet = false;
166 bool m_sceneIdHasBeenSet = false;
167 bool m_contentLocationHasBeenSet = false;
168 bool m_descriptionHasBeenSet = false;
169 bool m_capabilitiesHasBeenSet = false;
170 bool m_sceneMetadataHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace IoTTwinMaker
175} // 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