AWS SDK for C++

AWS SDK for C++ Version 1.11.807

Loading...
Searching...
No Matches
GetNotebookRunResult.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datazone/DataZone_EXPORTS.h>
13#include <aws/datazone/model/CellInformation.h>
14#include <aws/datazone/model/ComputeConfig.h>
15#include <aws/datazone/model/EnvironmentConfig.h>
16#include <aws/datazone/model/NetworkConfig.h>
17#include <aws/datazone/model/NotebookRunError.h>
18#include <aws/datazone/model/NotebookRunStatus.h>
19#include <aws/datazone/model/StorageConfig.h>
20#include <aws/datazone/model/TimeoutConfig.h>
21#include <aws/datazone/model/TriggerSource.h>
22
23#include <utility>
24
25namespace Aws {
26template <typename RESULT_TYPE>
27class AmazonWebServiceResult;
28
29namespace Utils {
30namespace Json {
31class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace DataZone {
35namespace Model {
37 public:
38 AWS_DATAZONE_API GetNotebookRunResult() = default;
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 template <typename IdT = Aws::String>
48 void SetId(IdT&& value) {
49 m_idHasBeenSet = true;
50 m_id = std::forward<IdT>(value);
51 }
52 template <typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetDomainId() const { return m_domainId; }
64 template <typename DomainIdT = Aws::String>
65 void SetDomainId(DomainIdT&& value) {
66 m_domainIdHasBeenSet = true;
67 m_domainId = std::forward<DomainIdT>(value);
68 }
69 template <typename DomainIdT = Aws::String>
70 GetNotebookRunResult& WithDomainId(DomainIdT&& value) {
71 SetDomainId(std::forward<DomainIdT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
81 template <typename OwningProjectIdT = Aws::String>
82 void SetOwningProjectId(OwningProjectIdT&& value) {
83 m_owningProjectIdHasBeenSet = true;
84 m_owningProjectId = std::forward<OwningProjectIdT>(value);
85 }
86 template <typename OwningProjectIdT = Aws::String>
87 GetNotebookRunResult& WithOwningProjectId(OwningProjectIdT&& value) {
88 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetNotebookId() const { return m_notebookId; }
98 template <typename NotebookIdT = Aws::String>
99 void SetNotebookId(NotebookIdT&& value) {
100 m_notebookIdHasBeenSet = true;
101 m_notebookId = std::forward<NotebookIdT>(value);
102 }
103 template <typename NotebookIdT = Aws::String>
104 GetNotebookRunResult& WithNotebookId(NotebookIdT&& value) {
105 SetNotebookId(std::forward<NotebookIdT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetScheduleId() const { return m_scheduleId; }
115 template <typename ScheduleIdT = Aws::String>
116 void SetScheduleId(ScheduleIdT&& value) {
117 m_scheduleIdHasBeenSet = true;
118 m_scheduleId = std::forward<ScheduleIdT>(value);
119 }
120 template <typename ScheduleIdT = Aws::String>
121 GetNotebookRunResult& WithScheduleId(ScheduleIdT&& value) {
122 SetScheduleId(std::forward<ScheduleIdT>(value));
123 return *this;
124 }
126
128
131 inline NotebookRunStatus GetStatus() const { return m_status; }
132 inline void SetStatus(NotebookRunStatus value) {
133 m_statusHasBeenSet = true;
134 m_status = value;
135 }
137 SetStatus(value);
138 return *this;
139 }
141
143
146 inline const Aws::Vector<CellInformation>& GetCellOrder() const { return m_cellOrder; }
147 template <typename CellOrderT = Aws::Vector<CellInformation>>
148 void SetCellOrder(CellOrderT&& value) {
149 m_cellOrderHasBeenSet = true;
150 m_cellOrder = std::forward<CellOrderT>(value);
151 }
152 template <typename CellOrderT = Aws::Vector<CellInformation>>
153 GetNotebookRunResult& WithCellOrder(CellOrderT&& value) {
154 SetCellOrder(std::forward<CellOrderT>(value));
155 return *this;
156 }
157 template <typename CellOrderT = CellInformation>
158 GetNotebookRunResult& AddCellOrder(CellOrderT&& value) {
159 m_cellOrderHasBeenSet = true;
160 m_cellOrder.emplace_back(std::forward<CellOrderT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
170 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
171 void SetMetadata(MetadataT&& value) {
172 m_metadataHasBeenSet = true;
173 m_metadata = std::forward<MetadataT>(value);
174 }
175 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
176 GetNotebookRunResult& WithMetadata(MetadataT&& value) {
177 SetMetadata(std::forward<MetadataT>(value));
178 return *this;
179 }
180 template <typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
181 GetNotebookRunResult& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
182 m_metadataHasBeenSet = true;
183 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
193 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
194 void SetParameters(ParametersT&& value) {
195 m_parametersHasBeenSet = true;
196 m_parameters = std::forward<ParametersT>(value);
197 }
198 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
199 GetNotebookRunResult& WithParameters(ParametersT&& value) {
200 SetParameters(std::forward<ParametersT>(value));
201 return *this;
202 }
203 template <typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
204 GetNotebookRunResult& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
205 m_parametersHasBeenSet = true;
206 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
207 return *this;
208 }
210
212
215 inline const ComputeConfig& GetComputeConfiguration() const { return m_computeConfiguration; }
216 template <typename ComputeConfigurationT = ComputeConfig>
217 void SetComputeConfiguration(ComputeConfigurationT&& value) {
218 m_computeConfigurationHasBeenSet = true;
219 m_computeConfiguration = std::forward<ComputeConfigurationT>(value);
220 }
221 template <typename ComputeConfigurationT = ComputeConfig>
222 GetNotebookRunResult& WithComputeConfiguration(ComputeConfigurationT&& value) {
223 SetComputeConfiguration(std::forward<ComputeConfigurationT>(value));
224 return *this;
225 }
227
229
232 inline const NetworkConfig& GetNetworkConfiguration() const { return m_networkConfiguration; }
233 template <typename NetworkConfigurationT = NetworkConfig>
234 void SetNetworkConfiguration(NetworkConfigurationT&& value) {
235 m_networkConfigurationHasBeenSet = true;
236 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
237 }
238 template <typename NetworkConfigurationT = NetworkConfig>
239 GetNotebookRunResult& WithNetworkConfiguration(NetworkConfigurationT&& value) {
240 SetNetworkConfiguration(std::forward<NetworkConfigurationT>(value));
241 return *this;
242 }
244
246
249 inline const TimeoutConfig& GetTimeoutConfiguration() const { return m_timeoutConfiguration; }
250 template <typename TimeoutConfigurationT = TimeoutConfig>
251 void SetTimeoutConfiguration(TimeoutConfigurationT&& value) {
252 m_timeoutConfigurationHasBeenSet = true;
253 m_timeoutConfiguration = std::forward<TimeoutConfigurationT>(value);
254 }
255 template <typename TimeoutConfigurationT = TimeoutConfig>
256 GetNotebookRunResult& WithTimeoutConfiguration(TimeoutConfigurationT&& value) {
257 SetTimeoutConfiguration(std::forward<TimeoutConfigurationT>(value));
258 return *this;
259 }
261
263
267 inline const EnvironmentConfig& GetEnvironmentConfiguration() const { return m_environmentConfiguration; }
268 template <typename EnvironmentConfigurationT = EnvironmentConfig>
269 void SetEnvironmentConfiguration(EnvironmentConfigurationT&& value) {
270 m_environmentConfigurationHasBeenSet = true;
271 m_environmentConfiguration = std::forward<EnvironmentConfigurationT>(value);
272 }
273 template <typename EnvironmentConfigurationT = EnvironmentConfig>
274 GetNotebookRunResult& WithEnvironmentConfiguration(EnvironmentConfigurationT&& value) {
275 SetEnvironmentConfiguration(std::forward<EnvironmentConfigurationT>(value));
276 return *this;
277 }
279
281
285 inline const StorageConfig& GetStorageConfiguration() const { return m_storageConfiguration; }
286 template <typename StorageConfigurationT = StorageConfig>
287 void SetStorageConfiguration(StorageConfigurationT&& value) {
288 m_storageConfigurationHasBeenSet = true;
289 m_storageConfiguration = std::forward<StorageConfigurationT>(value);
290 }
291 template <typename StorageConfigurationT = StorageConfig>
292 GetNotebookRunResult& WithStorageConfiguration(StorageConfigurationT&& value) {
293 SetStorageConfiguration(std::forward<StorageConfigurationT>(value));
294 return *this;
295 }
297
299
302 inline const TriggerSource& GetTriggerSource() const { return m_triggerSource; }
303 template <typename TriggerSourceT = TriggerSource>
304 void SetTriggerSource(TriggerSourceT&& value) {
305 m_triggerSourceHasBeenSet = true;
306 m_triggerSource = std::forward<TriggerSourceT>(value);
307 }
308 template <typename TriggerSourceT = TriggerSource>
309 GetNotebookRunResult& WithTriggerSource(TriggerSourceT&& value) {
310 SetTriggerSource(std::forward<TriggerSourceT>(value));
311 return *this;
312 }
314
316
319 inline const NotebookRunError& GetError() const { return m_error; }
320 template <typename ErrorT = NotebookRunError>
321 void SetError(ErrorT&& value) {
322 m_errorHasBeenSet = true;
323 m_error = std::forward<ErrorT>(value);
324 }
325 template <typename ErrorT = NotebookRunError>
327 SetError(std::forward<ErrorT>(value));
328 return *this;
329 }
331
333
336 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
337 template <typename CreatedAtT = Aws::Utils::DateTime>
338 void SetCreatedAt(CreatedAtT&& value) {
339 m_createdAtHasBeenSet = true;
340 m_createdAt = std::forward<CreatedAtT>(value);
341 }
342 template <typename CreatedAtT = Aws::Utils::DateTime>
343 GetNotebookRunResult& WithCreatedAt(CreatedAtT&& value) {
344 SetCreatedAt(std::forward<CreatedAtT>(value));
345 return *this;
346 }
348
350
353 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
354 template <typename CreatedByT = Aws::String>
355 void SetCreatedBy(CreatedByT&& value) {
356 m_createdByHasBeenSet = true;
357 m_createdBy = std::forward<CreatedByT>(value);
358 }
359 template <typename CreatedByT = Aws::String>
360 GetNotebookRunResult& WithCreatedBy(CreatedByT&& value) {
361 SetCreatedBy(std::forward<CreatedByT>(value));
362 return *this;
363 }
365
367
370 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
371 template <typename UpdatedAtT = Aws::Utils::DateTime>
372 void SetUpdatedAt(UpdatedAtT&& value) {
373 m_updatedAtHasBeenSet = true;
374 m_updatedAt = std::forward<UpdatedAtT>(value);
375 }
376 template <typename UpdatedAtT = Aws::Utils::DateTime>
377 GetNotebookRunResult& WithUpdatedAt(UpdatedAtT&& value) {
378 SetUpdatedAt(std::forward<UpdatedAtT>(value));
379 return *this;
380 }
382
384
387 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
388 template <typename UpdatedByT = Aws::String>
389 void SetUpdatedBy(UpdatedByT&& value) {
390 m_updatedByHasBeenSet = true;
391 m_updatedBy = std::forward<UpdatedByT>(value);
392 }
393 template <typename UpdatedByT = Aws::String>
394 GetNotebookRunResult& WithUpdatedBy(UpdatedByT&& value) {
395 SetUpdatedBy(std::forward<UpdatedByT>(value));
396 return *this;
397 }
399
401
404 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
405 template <typename StartedAtT = Aws::Utils::DateTime>
406 void SetStartedAt(StartedAtT&& value) {
407 m_startedAtHasBeenSet = true;
408 m_startedAt = std::forward<StartedAtT>(value);
409 }
410 template <typename StartedAtT = Aws::Utils::DateTime>
411 GetNotebookRunResult& WithStartedAt(StartedAtT&& value) {
412 SetStartedAt(std::forward<StartedAtT>(value));
413 return *this;
414 }
416
418
421 inline const Aws::Utils::DateTime& GetCompletedAt() const { return m_completedAt; }
422 template <typename CompletedAtT = Aws::Utils::DateTime>
423 void SetCompletedAt(CompletedAtT&& value) {
424 m_completedAtHasBeenSet = true;
425 m_completedAt = std::forward<CompletedAtT>(value);
426 }
427 template <typename CompletedAtT = Aws::Utils::DateTime>
428 GetNotebookRunResult& WithCompletedAt(CompletedAtT&& value) {
429 SetCompletedAt(std::forward<CompletedAtT>(value));
430 return *this;
431 }
433
435
436 inline const Aws::String& GetRequestId() const { return m_requestId; }
437 template <typename RequestIdT = Aws::String>
438 void SetRequestId(RequestIdT&& value) {
439 m_requestIdHasBeenSet = true;
440 m_requestId = std::forward<RequestIdT>(value);
441 }
442 template <typename RequestIdT = Aws::String>
443 GetNotebookRunResult& WithRequestId(RequestIdT&& value) {
444 SetRequestId(std::forward<RequestIdT>(value));
445 return *this;
446 }
448 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
449
450 private:
451 Aws::String m_id;
452
453 Aws::String m_domainId;
454
455 Aws::String m_owningProjectId;
456
457 Aws::String m_notebookId;
458
459 Aws::String m_scheduleId;
460
462
464
466
468
469 ComputeConfig m_computeConfiguration;
470
471 NetworkConfig m_networkConfiguration;
472
473 TimeoutConfig m_timeoutConfiguration;
474
475 EnvironmentConfig m_environmentConfiguration;
476
477 StorageConfig m_storageConfiguration;
478
479 TriggerSource m_triggerSource;
480
481 NotebookRunError m_error;
482
483 Aws::Utils::DateTime m_createdAt{};
484
485 Aws::String m_createdBy;
486
487 Aws::Utils::DateTime m_updatedAt{};
488
489 Aws::String m_updatedBy;
490
491 Aws::Utils::DateTime m_startedAt{};
492
493 Aws::Utils::DateTime m_completedAt{};
494
495 Aws::String m_requestId;
496 Aws::Http::HttpResponseCode m_HttpResponseCode;
497 bool m_idHasBeenSet = false;
498 bool m_domainIdHasBeenSet = false;
499 bool m_owningProjectIdHasBeenSet = false;
500 bool m_notebookIdHasBeenSet = false;
501 bool m_scheduleIdHasBeenSet = false;
502 bool m_statusHasBeenSet = false;
503 bool m_cellOrderHasBeenSet = false;
504 bool m_metadataHasBeenSet = false;
505 bool m_parametersHasBeenSet = false;
506 bool m_computeConfigurationHasBeenSet = false;
507 bool m_networkConfigurationHasBeenSet = false;
508 bool m_timeoutConfigurationHasBeenSet = false;
509 bool m_environmentConfigurationHasBeenSet = false;
510 bool m_storageConfigurationHasBeenSet = false;
511 bool m_triggerSourceHasBeenSet = false;
512 bool m_errorHasBeenSet = false;
513 bool m_createdAtHasBeenSet = false;
514 bool m_createdByHasBeenSet = false;
515 bool m_updatedAtHasBeenSet = false;
516 bool m_updatedByHasBeenSet = false;
517 bool m_startedAtHasBeenSet = false;
518 bool m_completedAtHasBeenSet = false;
519 bool m_requestIdHasBeenSet = false;
520};
521
522} // namespace Model
523} // namespace DataZone
524} // namespace Aws
GetNotebookRunResult & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
GetNotebookRunResult & WithMetadata(MetadataT &&value)
void SetEnvironmentConfiguration(EnvironmentConfigurationT &&value)
GetNotebookRunResult & WithCompletedAt(CompletedAtT &&value)
GetNotebookRunResult & WithStorageConfiguration(StorageConfigurationT &&value)
GetNotebookRunResult & WithError(ErrorT &&value)
GetNotebookRunResult & WithUpdatedAt(UpdatedAtT &&value)
GetNotebookRunResult & WithCreatedBy(CreatedByT &&value)
GetNotebookRunResult & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
GetNotebookRunResult & AddCellOrder(CellOrderT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetNotebookRunResult & WithParameters(ParametersT &&value)
GetNotebookRunResult & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API GetNotebookRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetNotebookRunResult & WithCellOrder(CellOrderT &&value)
const Aws::Vector< CellInformation > & GetCellOrder() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetNotebookRunResult & WithComputeConfiguration(ComputeConfigurationT &&value)
AWS_DATAZONE_API GetNotebookRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetOwningProjectId(OwningProjectIdT &&value)
GetNotebookRunResult & WithNotebookId(NotebookIdT &&value)
AWS_DATAZONE_API GetNotebookRunResult()=default
GetNotebookRunResult & WithStatus(NotebookRunStatus value)
void SetStorageConfiguration(StorageConfigurationT &&value)
GetNotebookRunResult & WithTriggerSource(TriggerSourceT &&value)
GetNotebookRunResult & WithRequestId(RequestIdT &&value)
const TimeoutConfig & GetTimeoutConfiguration() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetNotebookRunResult & WithEnvironmentConfiguration(EnvironmentConfigurationT &&value)
GetNotebookRunResult & WithTimeoutConfiguration(TimeoutConfigurationT &&value)
const NetworkConfig & GetNetworkConfiguration() const
GetNotebookRunResult & WithNetworkConfiguration(NetworkConfigurationT &&value)
void SetTimeoutConfiguration(TimeoutConfigurationT &&value)
const StorageConfig & GetStorageConfiguration() const
GetNotebookRunResult & WithId(IdT &&value)
GetNotebookRunResult & WithCreatedAt(CreatedAtT &&value)
GetNotebookRunResult & WithOwningProjectId(OwningProjectIdT &&value)
const ComputeConfig & GetComputeConfiguration() const
void SetNetworkConfiguration(NetworkConfigurationT &&value)
const Aws::Utils::DateTime & GetCompletedAt() const
GetNotebookRunResult & WithStartedAt(StartedAtT &&value)
GetNotebookRunResult & WithScheduleId(ScheduleIdT &&value)
GetNotebookRunResult & WithUpdatedBy(UpdatedByT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetComputeConfiguration(ComputeConfigurationT &&value)
const NotebookRunError & GetError() const
const EnvironmentConfig & GetEnvironmentConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() 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