AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSceneResult.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/iottwinmaker/model/SceneError.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace IoTTwinMaker
28{
29namespace Model
30{
32 {
33 public:
34 AWS_IOTTWINMAKER_API GetSceneResult();
37
38
40
43 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
44 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceId = value; }
45 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceId = std::move(value); }
46 inline void SetWorkspaceId(const char* value) { m_workspaceId.assign(value); }
47 inline GetSceneResult& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
48 inline GetSceneResult& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
49 inline GetSceneResult& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
51
53
56 inline const Aws::String& GetSceneId() const{ return m_sceneId; }
57 inline void SetSceneId(const Aws::String& value) { m_sceneId = value; }
58 inline void SetSceneId(Aws::String&& value) { m_sceneId = std::move(value); }
59 inline void SetSceneId(const char* value) { m_sceneId.assign(value); }
60 inline GetSceneResult& WithSceneId(const Aws::String& value) { SetSceneId(value); return *this;}
61 inline GetSceneResult& WithSceneId(Aws::String&& value) { SetSceneId(std::move(value)); return *this;}
62 inline GetSceneResult& WithSceneId(const char* value) { SetSceneId(value); return *this;}
64
66
70 inline const Aws::String& GetContentLocation() const{ return m_contentLocation; }
71 inline void SetContentLocation(const Aws::String& value) { m_contentLocation = value; }
72 inline void SetContentLocation(Aws::String&& value) { m_contentLocation = std::move(value); }
73 inline void SetContentLocation(const char* value) { m_contentLocation.assign(value); }
74 inline GetSceneResult& WithContentLocation(const Aws::String& value) { SetContentLocation(value); return *this;}
75 inline GetSceneResult& WithContentLocation(Aws::String&& value) { SetContentLocation(std::move(value)); return *this;}
76 inline GetSceneResult& WithContentLocation(const char* value) { SetContentLocation(value); return *this;}
78
80
83 inline const Aws::String& GetArn() const{ return m_arn; }
84 inline void SetArn(const Aws::String& value) { m_arn = value; }
85 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
86 inline void SetArn(const char* value) { m_arn.assign(value); }
87 inline GetSceneResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
88 inline GetSceneResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
89 inline GetSceneResult& WithArn(const char* value) { SetArn(value); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
97 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
98 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
99 inline GetSceneResult& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
100 inline GetSceneResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; }
108 inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTime = value; }
109 inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTime = std::move(value); }
110 inline GetSceneResult& WithUpdateDateTime(const Aws::Utils::DateTime& value) { SetUpdateDateTime(value); return *this;}
111 inline GetSceneResult& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;}
113
115
118 inline const Aws::String& GetDescription() const{ return m_description; }
119 inline void SetDescription(const Aws::String& value) { m_description = value; }
120 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
121 inline void SetDescription(const char* value) { m_description.assign(value); }
122 inline GetSceneResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
123 inline GetSceneResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
124 inline GetSceneResult& WithDescription(const char* value) { SetDescription(value); return *this;}
126
128
131 inline const Aws::Vector<Aws::String>& GetCapabilities() const{ return m_capabilities; }
132 inline void SetCapabilities(const Aws::Vector<Aws::String>& value) { m_capabilities = value; }
133 inline void SetCapabilities(Aws::Vector<Aws::String>&& value) { m_capabilities = std::move(value); }
134 inline GetSceneResult& WithCapabilities(const Aws::Vector<Aws::String>& value) { SetCapabilities(value); return *this;}
135 inline GetSceneResult& WithCapabilities(Aws::Vector<Aws::String>&& value) { SetCapabilities(std::move(value)); return *this;}
136 inline GetSceneResult& AddCapabilities(const Aws::String& value) { m_capabilities.push_back(value); return *this; }
137 inline GetSceneResult& AddCapabilities(Aws::String&& value) { m_capabilities.push_back(std::move(value)); return *this; }
138 inline GetSceneResult& AddCapabilities(const char* value) { m_capabilities.push_back(value); return *this; }
140
142
145 inline const Aws::Map<Aws::String, Aws::String>& GetSceneMetadata() const{ return m_sceneMetadata; }
146 inline void SetSceneMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_sceneMetadata = value; }
147 inline void SetSceneMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_sceneMetadata = std::move(value); }
149 inline GetSceneResult& WithSceneMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetSceneMetadata(std::move(value)); return *this;}
150 inline GetSceneResult& AddSceneMetadata(const Aws::String& key, const Aws::String& value) { m_sceneMetadata.emplace(key, value); return *this; }
151 inline GetSceneResult& AddSceneMetadata(Aws::String&& key, const Aws::String& value) { m_sceneMetadata.emplace(std::move(key), value); return *this; }
152 inline GetSceneResult& AddSceneMetadata(const Aws::String& key, Aws::String&& value) { m_sceneMetadata.emplace(key, std::move(value)); return *this; }
153 inline GetSceneResult& AddSceneMetadata(Aws::String&& key, Aws::String&& value) { m_sceneMetadata.emplace(std::move(key), std::move(value)); return *this; }
154 inline GetSceneResult& AddSceneMetadata(const char* key, Aws::String&& value) { m_sceneMetadata.emplace(key, std::move(value)); return *this; }
155 inline GetSceneResult& AddSceneMetadata(Aws::String&& key, const char* value) { m_sceneMetadata.emplace(std::move(key), value); return *this; }
156 inline GetSceneResult& AddSceneMetadata(const char* key, const char* value) { m_sceneMetadata.emplace(key, value); return *this; }
158
160
163 inline const Aws::Map<Aws::String, Aws::String>& GetGeneratedSceneMetadata() const{ return m_generatedSceneMetadata; }
164 inline void SetGeneratedSceneMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_generatedSceneMetadata = value; }
165 inline void SetGeneratedSceneMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_generatedSceneMetadata = std::move(value); }
168 inline GetSceneResult& AddGeneratedSceneMetadata(const Aws::String& key, const Aws::String& value) { m_generatedSceneMetadata.emplace(key, value); return *this; }
169 inline GetSceneResult& AddGeneratedSceneMetadata(Aws::String&& key, const Aws::String& value) { m_generatedSceneMetadata.emplace(std::move(key), value); return *this; }
170 inline GetSceneResult& AddGeneratedSceneMetadata(const Aws::String& key, Aws::String&& value) { m_generatedSceneMetadata.emplace(key, std::move(value)); return *this; }
171 inline GetSceneResult& AddGeneratedSceneMetadata(Aws::String&& key, Aws::String&& value) { m_generatedSceneMetadata.emplace(std::move(key), std::move(value)); return *this; }
172 inline GetSceneResult& AddGeneratedSceneMetadata(const char* key, Aws::String&& value) { m_generatedSceneMetadata.emplace(key, std::move(value)); return *this; }
173 inline GetSceneResult& AddGeneratedSceneMetadata(Aws::String&& key, const char* value) { m_generatedSceneMetadata.emplace(std::move(key), value); return *this; }
174 inline GetSceneResult& AddGeneratedSceneMetadata(const char* key, const char* value) { m_generatedSceneMetadata.emplace(key, value); return *this; }
176
178
181 inline const SceneError& GetError() const{ return m_error; }
182 inline void SetError(const SceneError& value) { m_error = value; }
183 inline void SetError(SceneError&& value) { m_error = std::move(value); }
184 inline GetSceneResult& WithError(const SceneError& value) { SetError(value); return *this;}
185 inline GetSceneResult& WithError(SceneError&& value) { SetError(std::move(value)); return *this;}
187
189
190 inline const Aws::String& GetRequestId() const{ return m_requestId; }
191 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
192 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
193 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
194 inline GetSceneResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
195 inline GetSceneResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
196 inline GetSceneResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
198 private:
199
200 Aws::String m_workspaceId;
201
202 Aws::String m_sceneId;
203
204 Aws::String m_contentLocation;
205
206 Aws::String m_arn;
207
208 Aws::Utils::DateTime m_creationDateTime;
209
210 Aws::Utils::DateTime m_updateDateTime;
211
212 Aws::String m_description;
213
214 Aws::Vector<Aws::String> m_capabilities;
215
217
218 Aws::Map<Aws::String, Aws::String> m_generatedSceneMetadata;
219
220 SceneError m_error;
221
222 Aws::String m_requestId;
223 };
224
225} // namespace Model
226} // namespace IoTTwinMaker
227} // namespace Aws
void SetContentLocation(const char *value)
const Aws::String & GetWorkspaceId() const
GetSceneResult & WithArn(const char *value)
const Aws::String & GetArn() const
void SetArn(const Aws::String &value)
void SetWorkspaceId(Aws::String &&value)
GetSceneResult & AddSceneMetadata(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetSceneMetadata() const
GetSceneResult & WithDescription(const char *value)
void SetCapabilities(Aws::Vector< Aws::String > &&value)
GetSceneResult & WithSceneId(const Aws::String &value)
void SetContentLocation(Aws::String &&value)
AWS_IOTTWINMAKER_API GetSceneResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSceneResult & WithSceneMetadata(const Aws::Map< Aws::String, Aws::String > &value)
GetSceneResult & WithWorkspaceId(const Aws::String &value)
GetSceneResult & AddGeneratedSceneMetadata(Aws::String &&key, Aws::String &&value)
GetSceneResult & WithCapabilities(const Aws::Vector< Aws::String > &value)
GetSceneResult & WithRequestId(const char *value)
GetSceneResult & WithSceneId(const char *value)
GetSceneResult & AddSceneMetadata(const char *key, Aws::String &&value)
GetSceneResult & AddGeneratedSceneMetadata(const char *key, Aws::String &&value)
GetSceneResult & WithArn(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdateDateTime() const
void SetWorkspaceId(const Aws::String &value)
GetSceneResult & AddCapabilities(const char *value)
void SetCapabilities(const Aws::Vector< Aws::String > &value)
void SetDescription(Aws::String &&value)
void SetRequestId(const Aws::String &value)
GetSceneResult & AddSceneMetadata(const Aws::String &key, const Aws::String &value)
GetSceneResult & AddGeneratedSceneMetadata(const Aws::String &key, const Aws::String &value)
GetSceneResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetSceneMetadata(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetContentLocation() const
GetSceneResult & AddGeneratedSceneMetadata(Aws::String &&key, const Aws::String &value)
GetSceneResult & AddSceneMetadata(const char *key, const char *value)
GetSceneResult & WithGeneratedSceneMetadata(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
GetSceneResult & AddGeneratedSceneMetadata(Aws::String &&key, const char *value)
GetSceneResult & WithDescription(Aws::String &&value)
const Aws::String & GetRequestId() const
GetSceneResult & WithSceneId(Aws::String &&value)
AWS_IOTTWINMAKER_API GetSceneResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSceneResult & WithDescription(const Aws::String &value)
GetSceneResult & WithSceneMetadata(Aws::Map< Aws::String, Aws::String > &&value)
GetSceneResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetError(const SceneError &value)
void SetUpdateDateTime(const Aws::Utils::DateTime &value)
GetSceneResult & AddGeneratedSceneMetadata(const char *key, const char *value)
GetSceneResult & WithContentLocation(const Aws::String &value)
GetSceneResult & AddCapabilities(const Aws::String &value)
void SetContentLocation(const Aws::String &value)
GetSceneResult & WithError(SceneError &&value)
GetSceneResult & WithRequestId(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
GetSceneResult & WithCapabilities(Aws::Vector< Aws::String > &&value)
void SetSceneMetadata(const Aws::Map< Aws::String, Aws::String > &value)
GetSceneResult & WithUpdateDateTime(const Aws::Utils::DateTime &value)
GetSceneResult & AddGeneratedSceneMetadata(const Aws::String &key, Aws::String &&value)
GetSceneResult & WithError(const SceneError &value)
GetSceneResult & AddSceneMetadata(const Aws::String &key, Aws::String &&value)
void SetGeneratedSceneMetadata(Aws::Map< Aws::String, Aws::String > &&value)
GetSceneResult & WithWorkspaceId(Aws::String &&value)
void SetUpdateDateTime(Aws::Utils::DateTime &&value)
GetSceneResult & AddCapabilities(Aws::String &&value)
GetSceneResult & WithContentLocation(Aws::String &&value)
void SetGeneratedSceneMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetSceneId(const Aws::String &value)
GetSceneResult & WithWorkspaceId(const char *value)
const Aws::String & GetDescription() const
GetSceneResult & WithArn(const Aws::String &value)
GetSceneResult & WithRequestId(const Aws::String &value)
GetSceneResult & AddSceneMetadata(Aws::String &&key, Aws::String &&value)
GetSceneResult & AddSceneMetadata(Aws::String &&key, const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
GetSceneResult & WithUpdateDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetSceneId() const
GetSceneResult & WithGeneratedSceneMetadata(Aws::Map< Aws::String, Aws::String > &&value)
GetSceneResult & WithContentLocation(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetGeneratedSceneMetadata() const
void SetDescription(const Aws::String &value)
const Aws::Vector< Aws::String > & GetCapabilities() 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
Aws::Utils::Json::JsonValue JsonValue