AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GetMetadataTransferJobResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
12#include <aws/iottwinmaker/model/DestinationConfiguration.h>
13#include <aws/iottwinmaker/model/MetadataTransferJobProgress.h>
14#include <aws/iottwinmaker/model/MetadataTransferJobStatus.h>
15#include <aws/iottwinmaker/model/SourceConfiguration.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace IoTTwinMaker {
29namespace Model {
31 public:
32 AWS_IOTTWINMAKER_API GetMetadataTransferJobResult() = default;
35
37
40 inline const Aws::String& GetMetadataTransferJobId() const { return m_metadataTransferJobId; }
41 template <typename MetadataTransferJobIdT = Aws::String>
42 void SetMetadataTransferJobId(MetadataTransferJobIdT&& value) {
43 m_metadataTransferJobIdHasBeenSet = true;
44 m_metadataTransferJobId = std::forward<MetadataTransferJobIdT>(value);
45 }
46 template <typename MetadataTransferJobIdT = Aws::String>
48 SetMetadataTransferJobId(std::forward<MetadataTransferJobIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 template <typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) {
60 m_arnHasBeenSet = true;
61 m_arn = std::forward<ArnT>(value);
62 }
63 template <typename ArnT = Aws::String>
65 SetArn(std::forward<ArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 template <typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) {
77 m_descriptionHasBeenSet = true;
78 m_description = std::forward<DescriptionT>(value);
79 }
80 template <typename DescriptionT = Aws::String>
82 SetDescription(std::forward<DescriptionT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::Vector<SourceConfiguration>& GetSources() const { return m_sources; }
92 template <typename SourcesT = Aws::Vector<SourceConfiguration>>
93 void SetSources(SourcesT&& value) {
94 m_sourcesHasBeenSet = true;
95 m_sources = std::forward<SourcesT>(value);
96 }
97 template <typename SourcesT = Aws::Vector<SourceConfiguration>>
99 SetSources(std::forward<SourcesT>(value));
100 return *this;
101 }
102 template <typename SourcesT = SourceConfiguration>
104 m_sourcesHasBeenSet = true;
105 m_sources.emplace_back(std::forward<SourcesT>(value));
106 return *this;
107 }
109
111
114 inline const DestinationConfiguration& GetDestination() const { return m_destination; }
115 template <typename DestinationT = DestinationConfiguration>
116 void SetDestination(DestinationT&& value) {
117 m_destinationHasBeenSet = true;
118 m_destination = std::forward<DestinationT>(value);
119 }
120 template <typename DestinationT = DestinationConfiguration>
122 SetDestination(std::forward<DestinationT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetMetadataTransferJobRole() const { return m_metadataTransferJobRole; }
132 template <typename MetadataTransferJobRoleT = Aws::String>
133 void SetMetadataTransferJobRole(MetadataTransferJobRoleT&& value) {
134 m_metadataTransferJobRoleHasBeenSet = true;
135 m_metadataTransferJobRole = std::forward<MetadataTransferJobRoleT>(value);
136 }
137 template <typename MetadataTransferJobRoleT = Aws::String>
139 SetMetadataTransferJobRole(std::forward<MetadataTransferJobRoleT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetReportUrl() const { return m_reportUrl; }
149 template <typename ReportUrlT = Aws::String>
150 void SetReportUrl(ReportUrlT&& value) {
151 m_reportUrlHasBeenSet = true;
152 m_reportUrl = std::forward<ReportUrlT>(value);
153 }
154 template <typename ReportUrlT = Aws::String>
156 SetReportUrl(std::forward<ReportUrlT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
166 template <typename CreationDateTimeT = Aws::Utils::DateTime>
167 void SetCreationDateTime(CreationDateTimeT&& value) {
168 m_creationDateTimeHasBeenSet = true;
169 m_creationDateTime = std::forward<CreationDateTimeT>(value);
170 }
171 template <typename CreationDateTimeT = Aws::Utils::DateTime>
173 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::Utils::DateTime& GetUpdateDateTime() const { return m_updateDateTime; }
183 template <typename UpdateDateTimeT = Aws::Utils::DateTime>
184 void SetUpdateDateTime(UpdateDateTimeT&& value) {
185 m_updateDateTimeHasBeenSet = true;
186 m_updateDateTime = std::forward<UpdateDateTimeT>(value);
187 }
188 template <typename UpdateDateTimeT = Aws::Utils::DateTime>
190 SetUpdateDateTime(std::forward<UpdateDateTimeT>(value));
191 return *this;
192 }
194
196
199 inline const MetadataTransferJobStatus& GetStatus() const { return m_status; }
200 template <typename StatusT = MetadataTransferJobStatus>
201 void SetStatus(StatusT&& value) {
202 m_statusHasBeenSet = true;
203 m_status = std::forward<StatusT>(value);
204 }
205 template <typename StatusT = MetadataTransferJobStatus>
207 SetStatus(std::forward<StatusT>(value));
208 return *this;
209 }
211
213
216 inline const MetadataTransferJobProgress& GetProgress() const { return m_progress; }
217 template <typename ProgressT = MetadataTransferJobProgress>
218 void SetProgress(ProgressT&& value) {
219 m_progressHasBeenSet = true;
220 m_progress = std::forward<ProgressT>(value);
221 }
222 template <typename ProgressT = MetadataTransferJobProgress>
224 SetProgress(std::forward<ProgressT>(value));
225 return *this;
226 }
228
230
231 inline const Aws::String& GetRequestId() const { return m_requestId; }
232 template <typename RequestIdT = Aws::String>
233 void SetRequestId(RequestIdT&& value) {
234 m_requestIdHasBeenSet = true;
235 m_requestId = std::forward<RequestIdT>(value);
236 }
237 template <typename RequestIdT = Aws::String>
239 SetRequestId(std::forward<RequestIdT>(value));
240 return *this;
241 }
243 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
244
245 private:
246 Aws::String m_metadataTransferJobId;
247
248 Aws::String m_arn;
249
250 Aws::String m_description;
251
253
254 DestinationConfiguration m_destination;
255
256 Aws::String m_metadataTransferJobRole;
257
258 Aws::String m_reportUrl;
259
260 Aws::Utils::DateTime m_creationDateTime{};
261
262 Aws::Utils::DateTime m_updateDateTime{};
263
264 MetadataTransferJobStatus m_status;
265
266 MetadataTransferJobProgress m_progress;
267
268 Aws::String m_requestId;
269 Aws::Http::HttpResponseCode m_HttpResponseCode;
270 bool m_metadataTransferJobIdHasBeenSet = false;
271 bool m_arnHasBeenSet = false;
272 bool m_descriptionHasBeenSet = false;
273 bool m_sourcesHasBeenSet = false;
274 bool m_destinationHasBeenSet = false;
275 bool m_metadataTransferJobRoleHasBeenSet = false;
276 bool m_reportUrlHasBeenSet = false;
277 bool m_creationDateTimeHasBeenSet = false;
278 bool m_updateDateTimeHasBeenSet = false;
279 bool m_statusHasBeenSet = false;
280 bool m_progressHasBeenSet = false;
281 bool m_requestIdHasBeenSet = false;
282};
283
284} // namespace Model
285} // namespace IoTTwinMaker
286} // namespace Aws
GetMetadataTransferJobResult & AddSources(SourcesT &&value)
GetMetadataTransferJobResult & WithDestination(DestinationT &&value)
const Aws::Vector< SourceConfiguration > & GetSources() const
AWS_IOTTWINMAKER_API GetMetadataTransferJobResult()=default
GetMetadataTransferJobResult & WithReportUrl(ReportUrlT &&value)
GetMetadataTransferJobResult & WithMetadataTransferJobId(MetadataTransferJobIdT &&value)
GetMetadataTransferJobResult & WithCreationDateTime(CreationDateTimeT &&value)
GetMetadataTransferJobResult & WithUpdateDateTime(UpdateDateTimeT &&value)
GetMetadataTransferJobResult & WithDescription(DescriptionT &&value)
AWS_IOTTWINMAKER_API GetMetadataTransferJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMetadataTransferJobResult & WithSources(SourcesT &&value)
GetMetadataTransferJobResult & WithStatus(StatusT &&value)
GetMetadataTransferJobResult & WithMetadataTransferJobRole(MetadataTransferJobRoleT &&value)
AWS_IOTTWINMAKER_API GetMetadataTransferJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMetadataTransferJobResult & WithRequestId(RequestIdT &&value)
GetMetadataTransferJobResult & WithProgress(ProgressT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue