AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CreateSceneRequest.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 CreateSceneRequest() = 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 "CreateScene"; }
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 CreateSceneRequest& 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 CreateSceneRequest& 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 CreateSceneRequest& 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 CreateSceneRequest& 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 CreateSceneRequest& WithCapabilities(CapabilitiesT&& value) {
119 SetCapabilities(std::forward<CapabilitiesT>(value));
120 return *this;
121 }
122 template <typename CapabilitiesT = Aws::String>
123 CreateSceneRequest& 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>& GetTags() const { return m_tags; }
135 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
136 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
137 void SetTags(TagsT&& value) {
138 m_tagsHasBeenSet = true;
139 m_tags = std::forward<TagsT>(value);
140 }
141 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 CreateSceneRequest& WithTags(TagsT&& value) {
143 SetTags(std::forward<TagsT>(value));
144 return *this;
145 }
146 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
147 CreateSceneRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
148 m_tagsHasBeenSet = true;
149 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
150 return *this;
151 }
153
155
158 inline const Aws::Map<Aws::String, Aws::String>& GetSceneMetadata() const { return m_sceneMetadata; }
159 inline bool SceneMetadataHasBeenSet() const { return m_sceneMetadataHasBeenSet; }
160 template <typename SceneMetadataT = Aws::Map<Aws::String, Aws::String>>
161 void SetSceneMetadata(SceneMetadataT&& value) {
162 m_sceneMetadataHasBeenSet = true;
163 m_sceneMetadata = std::forward<SceneMetadataT>(value);
164 }
165 template <typename SceneMetadataT = Aws::Map<Aws::String, Aws::String>>
166 CreateSceneRequest& WithSceneMetadata(SceneMetadataT&& value) {
167 SetSceneMetadata(std::forward<SceneMetadataT>(value));
168 return *this;
169 }
170 template <typename SceneMetadataKeyT = Aws::String, typename SceneMetadataValueT = Aws::String>
171 CreateSceneRequest& AddSceneMetadata(SceneMetadataKeyT&& key, SceneMetadataValueT&& value) {
172 m_sceneMetadataHasBeenSet = true;
173 m_sceneMetadata.emplace(std::forward<SceneMetadataKeyT>(key), std::forward<SceneMetadataValueT>(value));
174 return *this;
175 }
177 private:
178 Aws::String m_workspaceId;
179
180 Aws::String m_sceneId;
181
182 Aws::String m_contentLocation;
183
184 Aws::String m_description;
185
186 Aws::Vector<Aws::String> m_capabilities;
187
189
191 bool m_workspaceIdHasBeenSet = false;
192 bool m_sceneIdHasBeenSet = false;
193 bool m_contentLocationHasBeenSet = false;
194 bool m_descriptionHasBeenSet = false;
195 bool m_capabilitiesHasBeenSet = false;
196 bool m_tagsHasBeenSet = false;
197 bool m_sceneMetadataHasBeenSet = false;
198};
199
200} // namespace Model
201} // namespace IoTTwinMaker
202} // namespace Aws
const Aws::Vector< Aws::String > & GetCapabilities() const
CreateSceneRequest & WithWorkspaceId(WorkspaceIdT &&value)
CreateSceneRequest & AddCapabilities(CapabilitiesT &&value)
CreateSceneRequest & WithDescription(DescriptionT &&value)
CreateSceneRequest & WithTags(TagsT &&value)
CreateSceneRequest & WithSceneMetadata(SceneMetadataT &&value)
CreateSceneRequest & WithContentLocation(ContentLocationT &&value)
AWS_IOTTWINMAKER_API CreateSceneRequest()=default
CreateSceneRequest & WithSceneId(SceneIdT &&value)
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
CreateSceneRequest & WithCapabilities(CapabilitiesT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetSceneMetadata() const
CreateSceneRequest & AddSceneMetadata(SceneMetadataKeyT &&key, SceneMetadataValueT &&value)
CreateSceneRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetContentLocation(ContentLocationT &&value)
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