AWS SDK for C++

AWS SDK for C++ Version 1.11.912

Loading...
Searching...
No Matches
StartNotebookRunResult.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/NotificationConfig.h>
20#include <aws/datazone/model/StorageConfig.h>
21#include <aws/datazone/model/TimeoutConfig.h>
22#include <aws/datazone/model/TriggerSource.h>
23
24#include <utility>
25
26namespace Aws {
27template <typename RESULT_TYPE>
28class AmazonWebServiceResult;
29
30namespace Utils {
31namespace Json {
32class JsonValue;
33} // namespace Json
34} // namespace Utils
35namespace DataZone {
36namespace Model {
38 public:
39 AWS_DATAZONE_API StartNotebookRunResult() = default;
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 template <typename IdT = Aws::String>
49 void SetId(IdT&& value) {
50 m_idHasBeenSet = true;
51 m_id = std::forward<IdT>(value);
52 }
53 template <typename IdT = Aws::String>
55 SetId(std::forward<IdT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetDomainId() const { return m_domainId; }
65 template <typename DomainIdT = Aws::String>
66 void SetDomainId(DomainIdT&& value) {
67 m_domainIdHasBeenSet = true;
68 m_domainId = std::forward<DomainIdT>(value);
69 }
70 template <typename DomainIdT = Aws::String>
72 SetDomainId(std::forward<DomainIdT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
82 template <typename OwningProjectIdT = Aws::String>
83 void SetOwningProjectId(OwningProjectIdT&& value) {
84 m_owningProjectIdHasBeenSet = true;
85 m_owningProjectId = std::forward<OwningProjectIdT>(value);
86 }
87 template <typename OwningProjectIdT = Aws::String>
88 StartNotebookRunResult& WithOwningProjectId(OwningProjectIdT&& value) {
89 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetNotebookId() const { return m_notebookId; }
99 template <typename NotebookIdT = Aws::String>
100 void SetNotebookId(NotebookIdT&& value) {
101 m_notebookIdHasBeenSet = true;
102 m_notebookId = std::forward<NotebookIdT>(value);
103 }
104 template <typename NotebookIdT = Aws::String>
106 SetNotebookId(std::forward<NotebookIdT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetScheduleId() const { return m_scheduleId; }
116 template <typename ScheduleIdT = Aws::String>
117 void SetScheduleId(ScheduleIdT&& value) {
118 m_scheduleIdHasBeenSet = true;
119 m_scheduleId = std::forward<ScheduleIdT>(value);
120 }
121 template <typename ScheduleIdT = Aws::String>
123 SetScheduleId(std::forward<ScheduleIdT>(value));
124 return *this;
125 }
127
129
132 inline NotebookRunStatus GetStatus() const { return m_status; }
133 inline void SetStatus(NotebookRunStatus value) {
134 m_statusHasBeenSet = true;
135 m_status = value;
136 }
138 SetStatus(value);
139 return *this;
140 }
142
144
147 inline const Aws::Vector<CellInformation>& GetCellOrder() const { return m_cellOrder; }
148 template <typename CellOrderT = Aws::Vector<CellInformation>>
149 void SetCellOrder(CellOrderT&& value) {
150 m_cellOrderHasBeenSet = true;
151 m_cellOrder = std::forward<CellOrderT>(value);
152 }
153 template <typename CellOrderT = Aws::Vector<CellInformation>>
155 SetCellOrder(std::forward<CellOrderT>(value));
156 return *this;
157 }
158 template <typename CellOrderT = CellInformation>
160 m_cellOrderHasBeenSet = true;
161 m_cellOrder.emplace_back(std::forward<CellOrderT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
171 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
172 void SetMetadata(MetadataT&& value) {
173 m_metadataHasBeenSet = true;
174 m_metadata = std::forward<MetadataT>(value);
175 }
176 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
178 SetMetadata(std::forward<MetadataT>(value));
179 return *this;
180 }
181 template <typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
182 StartNotebookRunResult& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
183 m_metadataHasBeenSet = true;
184 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
194 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
195 void SetParameters(ParametersT&& value) {
196 m_parametersHasBeenSet = true;
197 m_parameters = std::forward<ParametersT>(value);
198 }
199 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
201 SetParameters(std::forward<ParametersT>(value));
202 return *this;
203 }
204 template <typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
205 StartNotebookRunResult& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
206 m_parametersHasBeenSet = true;
207 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
208 return *this;
209 }
211
213
216 inline const ComputeConfig& GetComputeConfiguration() const { return m_computeConfiguration; }
217 template <typename ComputeConfigurationT = ComputeConfig>
218 void SetComputeConfiguration(ComputeConfigurationT&& value) {
219 m_computeConfigurationHasBeenSet = true;
220 m_computeConfiguration = std::forward<ComputeConfigurationT>(value);
221 }
222 template <typename ComputeConfigurationT = ComputeConfig>
223 StartNotebookRunResult& WithComputeConfiguration(ComputeConfigurationT&& value) {
224 SetComputeConfiguration(std::forward<ComputeConfigurationT>(value));
225 return *this;
226 }
228
230
233 inline const NetworkConfig& GetNetworkConfiguration() const { return m_networkConfiguration; }
234 template <typename NetworkConfigurationT = NetworkConfig>
235 void SetNetworkConfiguration(NetworkConfigurationT&& value) {
236 m_networkConfigurationHasBeenSet = true;
237 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
238 }
239 template <typename NetworkConfigurationT = NetworkConfig>
240 StartNotebookRunResult& WithNetworkConfiguration(NetworkConfigurationT&& value) {
241 SetNetworkConfiguration(std::forward<NetworkConfigurationT>(value));
242 return *this;
243 }
245
247
250 inline const TimeoutConfig& GetTimeoutConfiguration() const { return m_timeoutConfiguration; }
251 template <typename TimeoutConfigurationT = TimeoutConfig>
252 void SetTimeoutConfiguration(TimeoutConfigurationT&& value) {
253 m_timeoutConfigurationHasBeenSet = true;
254 m_timeoutConfiguration = std::forward<TimeoutConfigurationT>(value);
255 }
256 template <typename TimeoutConfigurationT = TimeoutConfig>
257 StartNotebookRunResult& WithTimeoutConfiguration(TimeoutConfigurationT&& value) {
258 SetTimeoutConfiguration(std::forward<TimeoutConfigurationT>(value));
259 return *this;
260 }
262
264
268 inline const EnvironmentConfig& GetEnvironmentConfiguration() const { return m_environmentConfiguration; }
269 template <typename EnvironmentConfigurationT = EnvironmentConfig>
270 void SetEnvironmentConfiguration(EnvironmentConfigurationT&& value) {
271 m_environmentConfigurationHasBeenSet = true;
272 m_environmentConfiguration = std::forward<EnvironmentConfigurationT>(value);
273 }
274 template <typename EnvironmentConfigurationT = EnvironmentConfig>
275 StartNotebookRunResult& WithEnvironmentConfiguration(EnvironmentConfigurationT&& value) {
276 SetEnvironmentConfiguration(std::forward<EnvironmentConfigurationT>(value));
277 return *this;
278 }
280
282
286 inline const StorageConfig& GetStorageConfiguration() const { return m_storageConfiguration; }
287 template <typename StorageConfigurationT = StorageConfig>
288 void SetStorageConfiguration(StorageConfigurationT&& value) {
289 m_storageConfigurationHasBeenSet = true;
290 m_storageConfiguration = std::forward<StorageConfigurationT>(value);
291 }
292 template <typename StorageConfigurationT = StorageConfig>
293 StartNotebookRunResult& WithStorageConfiguration(StorageConfigurationT&& value) {
294 SetStorageConfiguration(std::forward<StorageConfigurationT>(value));
295 return *this;
296 }
298
300
304 inline const NotificationConfig& GetNotificationConfiguration() const { return m_notificationConfiguration; }
305 template <typename NotificationConfigurationT = NotificationConfig>
306 void SetNotificationConfiguration(NotificationConfigurationT&& value) {
307 m_notificationConfigurationHasBeenSet = true;
308 m_notificationConfiguration = std::forward<NotificationConfigurationT>(value);
309 }
310 template <typename NotificationConfigurationT = NotificationConfig>
311 StartNotebookRunResult& WithNotificationConfiguration(NotificationConfigurationT&& value) {
312 SetNotificationConfiguration(std::forward<NotificationConfigurationT>(value));
313 return *this;
314 }
316
318
321 inline const TriggerSource& GetTriggerSource() const { return m_triggerSource; }
322 template <typename TriggerSourceT = TriggerSource>
323 void SetTriggerSource(TriggerSourceT&& value) {
324 m_triggerSourceHasBeenSet = true;
325 m_triggerSource = std::forward<TriggerSourceT>(value);
326 }
327 template <typename TriggerSourceT = TriggerSource>
328 StartNotebookRunResult& WithTriggerSource(TriggerSourceT&& value) {
329 SetTriggerSource(std::forward<TriggerSourceT>(value));
330 return *this;
331 }
333
335
338 inline const NotebookRunError& GetError() const { return m_error; }
339 template <typename ErrorT = NotebookRunError>
340 void SetError(ErrorT&& value) {
341 m_errorHasBeenSet = true;
342 m_error = std::forward<ErrorT>(value);
343 }
344 template <typename ErrorT = NotebookRunError>
346 SetError(std::forward<ErrorT>(value));
347 return *this;
348 }
350
352
355 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
356 template <typename CreatedAtT = Aws::Utils::DateTime>
357 void SetCreatedAt(CreatedAtT&& value) {
358 m_createdAtHasBeenSet = true;
359 m_createdAt = std::forward<CreatedAtT>(value);
360 }
361 template <typename CreatedAtT = Aws::Utils::DateTime>
363 SetCreatedAt(std::forward<CreatedAtT>(value));
364 return *this;
365 }
367
369
372 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
373 template <typename CreatedByT = Aws::String>
374 void SetCreatedBy(CreatedByT&& value) {
375 m_createdByHasBeenSet = true;
376 m_createdBy = std::forward<CreatedByT>(value);
377 }
378 template <typename CreatedByT = Aws::String>
380 SetCreatedBy(std::forward<CreatedByT>(value));
381 return *this;
382 }
384
386
389 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
390 template <typename UpdatedAtT = Aws::Utils::DateTime>
391 void SetUpdatedAt(UpdatedAtT&& value) {
392 m_updatedAtHasBeenSet = true;
393 m_updatedAt = std::forward<UpdatedAtT>(value);
394 }
395 template <typename UpdatedAtT = Aws::Utils::DateTime>
397 SetUpdatedAt(std::forward<UpdatedAtT>(value));
398 return *this;
399 }
401
403
406 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
407 template <typename UpdatedByT = Aws::String>
408 void SetUpdatedBy(UpdatedByT&& value) {
409 m_updatedByHasBeenSet = true;
410 m_updatedBy = std::forward<UpdatedByT>(value);
411 }
412 template <typename UpdatedByT = Aws::String>
414 SetUpdatedBy(std::forward<UpdatedByT>(value));
415 return *this;
416 }
418
420
423 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
424 template <typename StartedAtT = Aws::Utils::DateTime>
425 void SetStartedAt(StartedAtT&& value) {
426 m_startedAtHasBeenSet = true;
427 m_startedAt = std::forward<StartedAtT>(value);
428 }
429 template <typename StartedAtT = Aws::Utils::DateTime>
431 SetStartedAt(std::forward<StartedAtT>(value));
432 return *this;
433 }
435
437
440 inline const Aws::Utils::DateTime& GetCompletedAt() const { return m_completedAt; }
441 template <typename CompletedAtT = Aws::Utils::DateTime>
442 void SetCompletedAt(CompletedAtT&& value) {
443 m_completedAtHasBeenSet = true;
444 m_completedAt = std::forward<CompletedAtT>(value);
445 }
446 template <typename CompletedAtT = Aws::Utils::DateTime>
448 SetCompletedAt(std::forward<CompletedAtT>(value));
449 return *this;
450 }
452
454
455 inline const Aws::String& GetRequestId() const { return m_requestId; }
456 template <typename RequestIdT = Aws::String>
457 void SetRequestId(RequestIdT&& value) {
458 m_requestIdHasBeenSet = true;
459 m_requestId = std::forward<RequestIdT>(value);
460 }
461 template <typename RequestIdT = Aws::String>
463 SetRequestId(std::forward<RequestIdT>(value));
464 return *this;
465 }
467 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
468
469 private:
470 Aws::String m_id;
471
472 Aws::String m_domainId;
473
474 Aws::String m_owningProjectId;
475
476 Aws::String m_notebookId;
477
478 Aws::String m_scheduleId;
479
481
483
485
487
488 ComputeConfig m_computeConfiguration;
489
490 NetworkConfig m_networkConfiguration;
491
492 TimeoutConfig m_timeoutConfiguration;
493
494 EnvironmentConfig m_environmentConfiguration;
495
496 StorageConfig m_storageConfiguration;
497
498 NotificationConfig m_notificationConfiguration;
499
500 TriggerSource m_triggerSource;
501
502 NotebookRunError m_error;
503
504 Aws::Utils::DateTime m_createdAt{};
505
506 Aws::String m_createdBy;
507
508 Aws::Utils::DateTime m_updatedAt{};
509
510 Aws::String m_updatedBy;
511
512 Aws::Utils::DateTime m_startedAt{};
513
514 Aws::Utils::DateTime m_completedAt{};
515
516 Aws::String m_requestId;
517 Aws::Http::HttpResponseCode m_HttpResponseCode;
518 bool m_idHasBeenSet = false;
519 bool m_domainIdHasBeenSet = false;
520 bool m_owningProjectIdHasBeenSet = false;
521 bool m_notebookIdHasBeenSet = false;
522 bool m_scheduleIdHasBeenSet = false;
523 bool m_statusHasBeenSet = false;
524 bool m_cellOrderHasBeenSet = false;
525 bool m_metadataHasBeenSet = false;
526 bool m_parametersHasBeenSet = false;
527 bool m_computeConfigurationHasBeenSet = false;
528 bool m_networkConfigurationHasBeenSet = false;
529 bool m_timeoutConfigurationHasBeenSet = false;
530 bool m_environmentConfigurationHasBeenSet = false;
531 bool m_storageConfigurationHasBeenSet = false;
532 bool m_notificationConfigurationHasBeenSet = false;
533 bool m_triggerSourceHasBeenSet = false;
534 bool m_errorHasBeenSet = false;
535 bool m_createdAtHasBeenSet = false;
536 bool m_createdByHasBeenSet = false;
537 bool m_updatedAtHasBeenSet = false;
538 bool m_updatedByHasBeenSet = false;
539 bool m_startedAtHasBeenSet = false;
540 bool m_completedAtHasBeenSet = false;
541 bool m_requestIdHasBeenSet = false;
542};
543
544} // namespace Model
545} // namespace DataZone
546} // namespace Aws
StartNotebookRunResult & WithId(IdT &&value)
StartNotebookRunResult & WithCreatedBy(CreatedByT &&value)
StartNotebookRunResult & WithStatus(NotebookRunStatus value)
StartNotebookRunResult & WithUpdatedAt(UpdatedAtT &&value)
const EnvironmentConfig & GetEnvironmentConfiguration() const
StartNotebookRunResult & WithCellOrder(CellOrderT &&value)
StartNotebookRunResult & WithStartedAt(StartedAtT &&value)
void SetNetworkConfiguration(NetworkConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
StartNotebookRunResult & WithCompletedAt(CompletedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const NotificationConfig & GetNotificationConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
StartNotebookRunResult & WithTimeoutConfiguration(TimeoutConfigurationT &&value)
StartNotebookRunResult & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
StartNotebookRunResult & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
const Aws::Vector< CellInformation > & GetCellOrder() const
StartNotebookRunResult & WithMetadata(MetadataT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_DATAZONE_API StartNotebookRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API StartNotebookRunResult()=default
AWS_DATAZONE_API StartNotebookRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartNotebookRunResult & WithRequestId(RequestIdT &&value)
void SetComputeConfiguration(ComputeConfigurationT &&value)
StartNotebookRunResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCompletedAt() const
void SetTimeoutConfiguration(TimeoutConfigurationT &&value)
StartNotebookRunResult & AddCellOrder(CellOrderT &&value)
StartNotebookRunResult & WithComputeConfiguration(ComputeConfigurationT &&value)
void SetNotificationConfiguration(NotificationConfigurationT &&value)
StartNotebookRunResult & WithNotebookId(NotebookIdT &&value)
void SetEnvironmentConfiguration(EnvironmentConfigurationT &&value)
StartNotebookRunResult & WithError(ErrorT &&value)
StartNotebookRunResult & WithUpdatedBy(UpdatedByT &&value)
StartNotebookRunResult & WithOwningProjectId(OwningProjectIdT &&value)
StartNotebookRunResult & WithDomainId(DomainIdT &&value)
StartNotebookRunResult & WithEnvironmentConfiguration(EnvironmentConfigurationT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
StartNotebookRunResult & WithScheduleId(ScheduleIdT &&value)
void SetStorageConfiguration(StorageConfigurationT &&value)
StartNotebookRunResult & WithNetworkConfiguration(NetworkConfigurationT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
StartNotebookRunResult & WithTriggerSource(TriggerSourceT &&value)
StartNotebookRunResult & WithStorageConfiguration(StorageConfigurationT &&value)
StartNotebookRunResult & WithNotificationConfiguration(NotificationConfigurationT &&value)
StartNotebookRunResult & WithParameters(ParametersT &&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
Aws::Utils::Json::JsonValue JsonValue