AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
37
38
40
43 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
44 template<typename WorkspaceIdT = Aws::String>
45 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
46 template<typename WorkspaceIdT = Aws::String>
47 GetSceneResult& WithWorkspaceId(WorkspaceIdT&& value) { SetWorkspaceId(std::forward<WorkspaceIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetSceneId() const { return m_sceneId; }
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 GetSceneResult& WithSceneId(SceneIdT&& value) { SetSceneId(std::forward<SceneIdT>(value)); return *this;}
60
62
66 inline const Aws::String& GetContentLocation() const { return m_contentLocation; }
67 template<typename ContentLocationT = Aws::String>
68 void SetContentLocation(ContentLocationT&& value) { m_contentLocationHasBeenSet = true; m_contentLocation = std::forward<ContentLocationT>(value); }
69 template<typename ContentLocationT = Aws::String>
70 GetSceneResult& WithContentLocation(ContentLocationT&& value) { SetContentLocation(std::forward<ContentLocationT>(value)); return *this;}
72
74
77 inline const Aws::String& GetArn() const { return m_arn; }
78 template<typename ArnT = Aws::String>
79 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
80 template<typename ArnT = Aws::String>
81 GetSceneResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
89 template<typename CreationDateTimeT = Aws::Utils::DateTime>
90 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
91 template<typename CreationDateTimeT = Aws::Utils::DateTime>
92 GetSceneResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetUpdateDateTime() const { return m_updateDateTime; }
100 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
101 void SetUpdateDateTime(UpdateDateTimeT&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::forward<UpdateDateTimeT>(value); }
102 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
103 GetSceneResult& WithUpdateDateTime(UpdateDateTimeT&& value) { SetUpdateDateTime(std::forward<UpdateDateTimeT>(value)); return *this;}
105
107
110 inline const Aws::String& GetDescription() const { return m_description; }
111 template<typename DescriptionT = Aws::String>
112 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
113 template<typename DescriptionT = Aws::String>
114 GetSceneResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
116
118
121 inline const Aws::Vector<Aws::String>& GetCapabilities() const { return m_capabilities; }
122 template<typename CapabilitiesT = Aws::Vector<Aws::String>>
123 void SetCapabilities(CapabilitiesT&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::forward<CapabilitiesT>(value); }
124 template<typename CapabilitiesT = Aws::Vector<Aws::String>>
125 GetSceneResult& WithCapabilities(CapabilitiesT&& value) { SetCapabilities(std::forward<CapabilitiesT>(value)); return *this;}
126 template<typename CapabilitiesT = Aws::String>
127 GetSceneResult& AddCapabilities(CapabilitiesT&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.emplace_back(std::forward<CapabilitiesT>(value)); return *this; }
129
131
134 inline const Aws::Map<Aws::String, Aws::String>& GetSceneMetadata() const { return m_sceneMetadata; }
135 template<typename SceneMetadataT = Aws::Map<Aws::String, Aws::String>>
136 void SetSceneMetadata(SceneMetadataT&& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata = std::forward<SceneMetadataT>(value); }
137 template<typename SceneMetadataT = Aws::Map<Aws::String, Aws::String>>
138 GetSceneResult& WithSceneMetadata(SceneMetadataT&& value) { SetSceneMetadata(std::forward<SceneMetadataT>(value)); return *this;}
139 template<typename SceneMetadataKeyT = Aws::String, typename SceneMetadataValueT = Aws::String>
140 GetSceneResult& AddSceneMetadata(SceneMetadataKeyT&& key, SceneMetadataValueT&& value) {
141 m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(std::forward<SceneMetadataKeyT>(key), std::forward<SceneMetadataValueT>(value)); return *this;
142 }
144
146
149 inline const Aws::Map<Aws::String, Aws::String>& GetGeneratedSceneMetadata() const { return m_generatedSceneMetadata; }
150 template<typename GeneratedSceneMetadataT = Aws::Map<Aws::String, Aws::String>>
151 void SetGeneratedSceneMetadata(GeneratedSceneMetadataT&& value) { m_generatedSceneMetadataHasBeenSet = true; m_generatedSceneMetadata = std::forward<GeneratedSceneMetadataT>(value); }
152 template<typename GeneratedSceneMetadataT = Aws::Map<Aws::String, Aws::String>>
153 GetSceneResult& WithGeneratedSceneMetadata(GeneratedSceneMetadataT&& value) { SetGeneratedSceneMetadata(std::forward<GeneratedSceneMetadataT>(value)); return *this;}
154 template<typename GeneratedSceneMetadataKeyT = Aws::String, typename GeneratedSceneMetadataValueT = Aws::String>
155 GetSceneResult& AddGeneratedSceneMetadata(GeneratedSceneMetadataKeyT&& key, GeneratedSceneMetadataValueT&& value) {
156 m_generatedSceneMetadataHasBeenSet = true; m_generatedSceneMetadata.emplace(std::forward<GeneratedSceneMetadataKeyT>(key), std::forward<GeneratedSceneMetadataValueT>(value)); return *this;
157 }
159
161
164 inline const SceneError& GetError() const { return m_error; }
165 template<typename ErrorT = SceneError>
166 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
167 template<typename ErrorT = SceneError>
168 GetSceneResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
170
172
173 inline const Aws::String& GetRequestId() const { return m_requestId; }
174 template<typename RequestIdT = Aws::String>
175 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
176 template<typename RequestIdT = Aws::String>
177 GetSceneResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
179 private:
180
181 Aws::String m_workspaceId;
182 bool m_workspaceIdHasBeenSet = false;
183
184 Aws::String m_sceneId;
185 bool m_sceneIdHasBeenSet = false;
186
187 Aws::String m_contentLocation;
188 bool m_contentLocationHasBeenSet = false;
189
190 Aws::String m_arn;
191 bool m_arnHasBeenSet = false;
192
193 Aws::Utils::DateTime m_creationDateTime{};
194 bool m_creationDateTimeHasBeenSet = false;
195
196 Aws::Utils::DateTime m_updateDateTime{};
197 bool m_updateDateTimeHasBeenSet = false;
198
199 Aws::String m_description;
200 bool m_descriptionHasBeenSet = false;
201
202 Aws::Vector<Aws::String> m_capabilities;
203 bool m_capabilitiesHasBeenSet = false;
204
206 bool m_sceneMetadataHasBeenSet = false;
207
208 Aws::Map<Aws::String, Aws::String> m_generatedSceneMetadata;
209 bool m_generatedSceneMetadataHasBeenSet = false;
210
211 SceneError m_error;
212 bool m_errorHasBeenSet = false;
213
214 Aws::String m_requestId;
215 bool m_requestIdHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace IoTTwinMaker
220} // namespace Aws
const Aws::String & GetWorkspaceId() const
void SetUpdateDateTime(UpdateDateTimeT &&value)
const Aws::String & GetArn() const
const Aws::Map< Aws::String, Aws::String > & GetSceneMetadata() const
GetSceneResult & WithContentLocation(ContentLocationT &&value)
GetSceneResult & WithWorkspaceId(WorkspaceIdT &&value)
GetSceneResult & WithArn(ArnT &&value)
AWS_IOTTWINMAKER_API GetSceneResult()=default
AWS_IOTTWINMAKER_API GetSceneResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSceneResult & WithSceneId(SceneIdT &&value)
void SetWorkspaceId(WorkspaceIdT &&value)
GetSceneResult & WithSceneMetadata(SceneMetadataT &&value)
const Aws::Utils::DateTime & GetUpdateDateTime() const
GetSceneResult & AddGeneratedSceneMetadata(GeneratedSceneMetadataKeyT &&key, GeneratedSceneMetadataValueT &&value)
void SetSceneMetadata(SceneMetadataT &&value)
GetSceneResult & WithDescription(DescriptionT &&value)
const Aws::String & GetContentLocation() const
GetSceneResult & WithUpdateDateTime(UpdateDateTimeT &&value)
void SetCapabilities(CapabilitiesT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
const Aws::String & GetRequestId() const
AWS_IOTTWINMAKER_API GetSceneResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSceneResult & WithCapabilities(CapabilitiesT &&value)
void SetDescription(DescriptionT &&value)
GetSceneResult & WithRequestId(RequestIdT &&value)
GetSceneResult & WithCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetDescription() const
GetSceneResult & WithGeneratedSceneMetadata(GeneratedSceneMetadataT &&value)
GetSceneResult & AddSceneMetadata(SceneMetadataKeyT &&key, SceneMetadataValueT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetSceneId() const
void SetContentLocation(ContentLocationT &&value)
void SetGeneratedSceneMetadata(GeneratedSceneMetadataT &&value)
GetSceneResult & WithError(ErrorT &&value)
GetSceneResult & AddCapabilities(CapabilitiesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetGeneratedSceneMetadata() const
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