AWS SDK for C++

AWS SDK for C++ Version 1.11.807

Loading...
Searching...
No Matches
UpdateNotebookResult.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/EnvironmentConfig.h>
15#include <aws/datazone/model/NotebookError.h>
16#include <aws/datazone/model/NotebookStatus.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace DataZone {
30namespace Model {
32 public:
33 AWS_DATAZONE_API UpdateNotebookResult() = default;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
76 template <typename OwningProjectIdT = Aws::String>
77 void SetOwningProjectId(OwningProjectIdT&& value) {
78 m_owningProjectIdHasBeenSet = true;
79 m_owningProjectId = std::forward<OwningProjectIdT>(value);
80 }
81 template <typename OwningProjectIdT = Aws::String>
82 UpdateNotebookResult& WithOwningProjectId(OwningProjectIdT&& value) {
83 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetDomainId() const { return m_domainId; }
93 template <typename DomainIdT = Aws::String>
94 void SetDomainId(DomainIdT&& value) {
95 m_domainIdHasBeenSet = true;
96 m_domainId = std::forward<DomainIdT>(value);
97 }
98 template <typename DomainIdT = Aws::String>
99 UpdateNotebookResult& WithDomainId(DomainIdT&& value) {
100 SetDomainId(std::forward<DomainIdT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::Vector<CellInformation>& GetCellOrder() const { return m_cellOrder; }
110 template <typename CellOrderT = Aws::Vector<CellInformation>>
111 void SetCellOrder(CellOrderT&& value) {
112 m_cellOrderHasBeenSet = true;
113 m_cellOrder = std::forward<CellOrderT>(value);
114 }
115 template <typename CellOrderT = Aws::Vector<CellInformation>>
116 UpdateNotebookResult& WithCellOrder(CellOrderT&& value) {
117 SetCellOrder(std::forward<CellOrderT>(value));
118 return *this;
119 }
120 template <typename CellOrderT = CellInformation>
121 UpdateNotebookResult& AddCellOrder(CellOrderT&& value) {
122 m_cellOrderHasBeenSet = true;
123 m_cellOrder.emplace_back(std::forward<CellOrderT>(value));
124 return *this;
125 }
127
129
132 inline NotebookStatus GetStatus() const { return m_status; }
133 inline void SetStatus(NotebookStatus value) {
134 m_statusHasBeenSet = true;
135 m_status = value;
136 }
138 SetStatus(value);
139 return *this;
140 }
142
144
147 inline const Aws::String& GetDescription() const { return m_description; }
148 template <typename DescriptionT = Aws::String>
149 void SetDescription(DescriptionT&& value) {
150 m_descriptionHasBeenSet = true;
151 m_description = std::forward<DescriptionT>(value);
152 }
153 template <typename DescriptionT = Aws::String>
154 UpdateNotebookResult& WithDescription(DescriptionT&& value) {
155 SetDescription(std::forward<DescriptionT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
165 template <typename CreatedAtT = Aws::Utils::DateTime>
166 void SetCreatedAt(CreatedAtT&& value) {
167 m_createdAtHasBeenSet = true;
168 m_createdAt = std::forward<CreatedAtT>(value);
169 }
170 template <typename CreatedAtT = Aws::Utils::DateTime>
171 UpdateNotebookResult& WithCreatedAt(CreatedAtT&& value) {
172 SetCreatedAt(std::forward<CreatedAtT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
182 template <typename CreatedByT = Aws::String>
183 void SetCreatedBy(CreatedByT&& value) {
184 m_createdByHasBeenSet = true;
185 m_createdBy = std::forward<CreatedByT>(value);
186 }
187 template <typename CreatedByT = Aws::String>
188 UpdateNotebookResult& WithCreatedBy(CreatedByT&& value) {
189 SetCreatedBy(std::forward<CreatedByT>(value));
190 return *this;
191 }
193
195
198 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
199 template <typename UpdatedAtT = Aws::Utils::DateTime>
200 void SetUpdatedAt(UpdatedAtT&& value) {
201 m_updatedAtHasBeenSet = true;
202 m_updatedAt = std::forward<UpdatedAtT>(value);
203 }
204 template <typename UpdatedAtT = Aws::Utils::DateTime>
205 UpdateNotebookResult& WithUpdatedAt(UpdatedAtT&& value) {
206 SetUpdatedAt(std::forward<UpdatedAtT>(value));
207 return *this;
208 }
210
212
215 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
216 template <typename UpdatedByT = Aws::String>
217 void SetUpdatedBy(UpdatedByT&& value) {
218 m_updatedByHasBeenSet = true;
219 m_updatedBy = std::forward<UpdatedByT>(value);
220 }
221 template <typename UpdatedByT = Aws::String>
222 UpdateNotebookResult& WithUpdatedBy(UpdatedByT&& value) {
223 SetUpdatedBy(std::forward<UpdatedByT>(value));
224 return *this;
225 }
227
229
232 inline const Aws::String& GetLockedBy() const { return m_lockedBy; }
233 template <typename LockedByT = Aws::String>
234 void SetLockedBy(LockedByT&& value) {
235 m_lockedByHasBeenSet = true;
236 m_lockedBy = std::forward<LockedByT>(value);
237 }
238 template <typename LockedByT = Aws::String>
239 UpdateNotebookResult& WithLockedBy(LockedByT&& value) {
240 SetLockedBy(std::forward<LockedByT>(value));
241 return *this;
242 }
244
246
249 inline const Aws::Utils::DateTime& GetLockedAt() const { return m_lockedAt; }
250 template <typename LockedAtT = Aws::Utils::DateTime>
251 void SetLockedAt(LockedAtT&& value) {
252 m_lockedAtHasBeenSet = true;
253 m_lockedAt = std::forward<LockedAtT>(value);
254 }
255 template <typename LockedAtT = Aws::Utils::DateTime>
256 UpdateNotebookResult& WithLockedAt(LockedAtT&& value) {
257 SetLockedAt(std::forward<LockedAtT>(value));
258 return *this;
259 }
261
263
266 inline const Aws::Utils::DateTime& GetLockExpiresAt() const { return m_lockExpiresAt; }
267 template <typename LockExpiresAtT = Aws::Utils::DateTime>
268 void SetLockExpiresAt(LockExpiresAtT&& value) {
269 m_lockExpiresAtHasBeenSet = true;
270 m_lockExpiresAt = std::forward<LockExpiresAtT>(value);
271 }
272 template <typename LockExpiresAtT = Aws::Utils::DateTime>
273 UpdateNotebookResult& WithLockExpiresAt(LockExpiresAtT&& value) {
274 SetLockExpiresAt(std::forward<LockExpiresAtT>(value));
275 return *this;
276 }
278
280
283 inline const Aws::String& GetComputeId() const { return m_computeId; }
284 template <typename ComputeIdT = Aws::String>
285 void SetComputeId(ComputeIdT&& value) {
286 m_computeIdHasBeenSet = true;
287 m_computeId = std::forward<ComputeIdT>(value);
288 }
289 template <typename ComputeIdT = Aws::String>
290 UpdateNotebookResult& WithComputeId(ComputeIdT&& value) {
291 SetComputeId(std::forward<ComputeIdT>(value));
292 return *this;
293 }
295
297
300 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
301 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
302 void SetMetadata(MetadataT&& value) {
303 m_metadataHasBeenSet = true;
304 m_metadata = std::forward<MetadataT>(value);
305 }
306 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
307 UpdateNotebookResult& WithMetadata(MetadataT&& value) {
308 SetMetadata(std::forward<MetadataT>(value));
309 return *this;
310 }
311 template <typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
312 UpdateNotebookResult& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
313 m_metadataHasBeenSet = true;
314 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
315 return *this;
316 }
318
320
323 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
324 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
325 void SetParameters(ParametersT&& value) {
326 m_parametersHasBeenSet = true;
327 m_parameters = std::forward<ParametersT>(value);
328 }
329 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
330 UpdateNotebookResult& WithParameters(ParametersT&& value) {
331 SetParameters(std::forward<ParametersT>(value));
332 return *this;
333 }
334 template <typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
335 UpdateNotebookResult& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
336 m_parametersHasBeenSet = true;
337 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
338 return *this;
339 }
341
343
346 inline const EnvironmentConfig& GetEnvironmentConfiguration() const { return m_environmentConfiguration; }
347 template <typename EnvironmentConfigurationT = EnvironmentConfig>
348 void SetEnvironmentConfiguration(EnvironmentConfigurationT&& value) {
349 m_environmentConfigurationHasBeenSet = true;
350 m_environmentConfiguration = std::forward<EnvironmentConfigurationT>(value);
351 }
352 template <typename EnvironmentConfigurationT = EnvironmentConfig>
353 UpdateNotebookResult& WithEnvironmentConfiguration(EnvironmentConfigurationT&& value) {
354 SetEnvironmentConfiguration(std::forward<EnvironmentConfigurationT>(value));
355 return *this;
356 }
358
360
363 inline const NotebookError& GetError() const { return m_error; }
364 template <typename ErrorT = NotebookError>
365 void SetError(ErrorT&& value) {
366 m_errorHasBeenSet = true;
367 m_error = std::forward<ErrorT>(value);
368 }
369 template <typename ErrorT = NotebookError>
371 SetError(std::forward<ErrorT>(value));
372 return *this;
373 }
375
377
378 inline const Aws::String& GetRequestId() const { return m_requestId; }
379 template <typename RequestIdT = Aws::String>
380 void SetRequestId(RequestIdT&& value) {
381 m_requestIdHasBeenSet = true;
382 m_requestId = std::forward<RequestIdT>(value);
383 }
384 template <typename RequestIdT = Aws::String>
385 UpdateNotebookResult& WithRequestId(RequestIdT&& value) {
386 SetRequestId(std::forward<RequestIdT>(value));
387 return *this;
388 }
390 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
391
392 private:
393 Aws::String m_id;
394
395 Aws::String m_name;
396
397 Aws::String m_owningProjectId;
398
399 Aws::String m_domainId;
400
402
404
405 Aws::String m_description;
406
407 Aws::Utils::DateTime m_createdAt{};
408
409 Aws::String m_createdBy;
410
411 Aws::Utils::DateTime m_updatedAt{};
412
413 Aws::String m_updatedBy;
414
415 Aws::String m_lockedBy;
416
417 Aws::Utils::DateTime m_lockedAt{};
418
419 Aws::Utils::DateTime m_lockExpiresAt{};
420
421 Aws::String m_computeId;
422
424
426
427 EnvironmentConfig m_environmentConfiguration;
428
429 NotebookError m_error;
430
431 Aws::String m_requestId;
432 Aws::Http::HttpResponseCode m_HttpResponseCode;
433 bool m_idHasBeenSet = false;
434 bool m_nameHasBeenSet = false;
435 bool m_owningProjectIdHasBeenSet = false;
436 bool m_domainIdHasBeenSet = false;
437 bool m_cellOrderHasBeenSet = false;
438 bool m_statusHasBeenSet = false;
439 bool m_descriptionHasBeenSet = false;
440 bool m_createdAtHasBeenSet = false;
441 bool m_createdByHasBeenSet = false;
442 bool m_updatedAtHasBeenSet = false;
443 bool m_updatedByHasBeenSet = false;
444 bool m_lockedByHasBeenSet = false;
445 bool m_lockedAtHasBeenSet = false;
446 bool m_lockExpiresAtHasBeenSet = false;
447 bool m_computeIdHasBeenSet = false;
448 bool m_metadataHasBeenSet = false;
449 bool m_parametersHasBeenSet = false;
450 bool m_environmentConfigurationHasBeenSet = false;
451 bool m_errorHasBeenSet = false;
452 bool m_requestIdHasBeenSet = false;
453};
454
455} // namespace Model
456} // namespace DataZone
457} // namespace Aws
UpdateNotebookResult & WithStatus(NotebookStatus value)
UpdateNotebookResult & WithMetadata(MetadataT &&value)
UpdateNotebookResult & WithUpdatedBy(UpdatedByT &&value)
UpdateNotebookResult & WithId(IdT &&value)
UpdateNotebookResult & WithOwningProjectId(OwningProjectIdT &&value)
UpdateNotebookResult & WithCreatedAt(CreatedAtT &&value)
UpdateNotebookResult & WithName(NameT &&value)
UpdateNotebookResult & WithLockedBy(LockedByT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_DATAZONE_API UpdateNotebookResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateNotebookResult & WithLockedAt(LockedAtT &&value)
UpdateNotebookResult & WithLockExpiresAt(LockExpiresAtT &&value)
AWS_DATAZONE_API UpdateNotebookResult()=default
const EnvironmentConfig & GetEnvironmentConfiguration() const
UpdateNotebookResult & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
UpdateNotebookResult & WithComputeId(ComputeIdT &&value)
UpdateNotebookResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_DATAZONE_API UpdateNotebookResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
UpdateNotebookResult & WithError(ErrorT &&value)
void SetEnvironmentConfiguration(EnvironmentConfigurationT &&value)
UpdateNotebookResult & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
UpdateNotebookResult & AddCellOrder(CellOrderT &&value)
UpdateNotebookResult & WithParameters(ParametersT &&value)
UpdateNotebookResult & WithDomainId(DomainIdT &&value)
const Aws::Utils::DateTime & GetLockedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateNotebookResult & WithCellOrder(CellOrderT &&value)
UpdateNotebookResult & WithCreatedBy(CreatedByT &&value)
UpdateNotebookResult & WithRequestId(RequestIdT &&value)
UpdateNotebookResult & WithEnvironmentConfiguration(EnvironmentConfigurationT &&value)
UpdateNotebookResult & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetLockExpiresAt() const
const Aws::Vector< CellInformation > & GetCellOrder() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
void SetOwningProjectId(OwningProjectIdT &&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