AWS SDK for C++

AWS SDK for C++ Version 1.11.807

Loading...
Searching...
No Matches
NotebookRunSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/NotebookRunStatus.h>
11#include <aws/datazone/model/TriggerSource.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataZone {
23namespace Model {
24
32 public:
33 AWS_DATAZONE_API NotebookRunSummary() = default;
36 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
50 NotebookRunSummary& WithId(IdT&& value) {
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetDomainId() const { return m_domainId; }
61 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
62 template <typename DomainIdT = Aws::String>
63 void SetDomainId(DomainIdT&& value) {
64 m_domainIdHasBeenSet = true;
65 m_domainId = std::forward<DomainIdT>(value);
66 }
67 template <typename DomainIdT = Aws::String>
68 NotebookRunSummary& WithDomainId(DomainIdT&& value) {
69 SetDomainId(std::forward<DomainIdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
79 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
80 template <typename OwningProjectIdT = Aws::String>
81 void SetOwningProjectId(OwningProjectIdT&& value) {
82 m_owningProjectIdHasBeenSet = true;
83 m_owningProjectId = std::forward<OwningProjectIdT>(value);
84 }
85 template <typename OwningProjectIdT = Aws::String>
86 NotebookRunSummary& WithOwningProjectId(OwningProjectIdT&& value) {
87 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetNotebookId() const { return m_notebookId; }
97 inline bool NotebookIdHasBeenSet() const { return m_notebookIdHasBeenSet; }
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 NotebookRunSummary& 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 inline bool ScheduleIdHasBeenSet() const { return m_scheduleIdHasBeenSet; }
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>
122 NotebookRunSummary& WithScheduleId(ScheduleIdT&& value) {
123 SetScheduleId(std::forward<ScheduleIdT>(value));
124 return *this;
125 }
127
129
132 inline NotebookRunStatus GetStatus() const { return m_status; }
133 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
134 inline void SetStatus(NotebookRunStatus value) {
135 m_statusHasBeenSet = true;
136 m_status = value;
137 }
139 SetStatus(value);
140 return *this;
141 }
143
145
148 inline const TriggerSource& GetTriggerSource() const { return m_triggerSource; }
149 inline bool TriggerSourceHasBeenSet() const { return m_triggerSourceHasBeenSet; }
150 template <typename TriggerSourceT = TriggerSource>
151 void SetTriggerSource(TriggerSourceT&& value) {
152 m_triggerSourceHasBeenSet = true;
153 m_triggerSource = std::forward<TriggerSourceT>(value);
154 }
155 template <typename TriggerSourceT = TriggerSource>
156 NotebookRunSummary& WithTriggerSource(TriggerSourceT&& value) {
157 SetTriggerSource(std::forward<TriggerSourceT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
167 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
168 template <typename CreatedAtT = Aws::Utils::DateTime>
169 void SetCreatedAt(CreatedAtT&& value) {
170 m_createdAtHasBeenSet = true;
171 m_createdAt = std::forward<CreatedAtT>(value);
172 }
173 template <typename CreatedAtT = Aws::Utils::DateTime>
174 NotebookRunSummary& WithCreatedAt(CreatedAtT&& value) {
175 SetCreatedAt(std::forward<CreatedAtT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
185 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
186 template <typename CreatedByT = Aws::String>
187 void SetCreatedBy(CreatedByT&& value) {
188 m_createdByHasBeenSet = true;
189 m_createdBy = std::forward<CreatedByT>(value);
190 }
191 template <typename CreatedByT = Aws::String>
192 NotebookRunSummary& WithCreatedBy(CreatedByT&& value) {
193 SetCreatedBy(std::forward<CreatedByT>(value));
194 return *this;
195 }
197
199
202 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
203 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
204 template <typename UpdatedAtT = Aws::Utils::DateTime>
205 void SetUpdatedAt(UpdatedAtT&& value) {
206 m_updatedAtHasBeenSet = true;
207 m_updatedAt = std::forward<UpdatedAtT>(value);
208 }
209 template <typename UpdatedAtT = Aws::Utils::DateTime>
210 NotebookRunSummary& WithUpdatedAt(UpdatedAtT&& value) {
211 SetUpdatedAt(std::forward<UpdatedAtT>(value));
212 return *this;
213 }
215
217
220 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
221 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
222 template <typename UpdatedByT = Aws::String>
223 void SetUpdatedBy(UpdatedByT&& value) {
224 m_updatedByHasBeenSet = true;
225 m_updatedBy = std::forward<UpdatedByT>(value);
226 }
227 template <typename UpdatedByT = Aws::String>
228 NotebookRunSummary& WithUpdatedBy(UpdatedByT&& value) {
229 SetUpdatedBy(std::forward<UpdatedByT>(value));
230 return *this;
231 }
233
235
238 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
239 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
240 template <typename StartedAtT = Aws::Utils::DateTime>
241 void SetStartedAt(StartedAtT&& value) {
242 m_startedAtHasBeenSet = true;
243 m_startedAt = std::forward<StartedAtT>(value);
244 }
245 template <typename StartedAtT = Aws::Utils::DateTime>
246 NotebookRunSummary& WithStartedAt(StartedAtT&& value) {
247 SetStartedAt(std::forward<StartedAtT>(value));
248 return *this;
249 }
251
253
256 inline const Aws::Utils::DateTime& GetCompletedAt() const { return m_completedAt; }
257 inline bool CompletedAtHasBeenSet() const { return m_completedAtHasBeenSet; }
258 template <typename CompletedAtT = Aws::Utils::DateTime>
259 void SetCompletedAt(CompletedAtT&& value) {
260 m_completedAtHasBeenSet = true;
261 m_completedAt = std::forward<CompletedAtT>(value);
262 }
263 template <typename CompletedAtT = Aws::Utils::DateTime>
264 NotebookRunSummary& WithCompletedAt(CompletedAtT&& value) {
265 SetCompletedAt(std::forward<CompletedAtT>(value));
266 return *this;
267 }
269 private:
270 Aws::String m_id;
271
272 Aws::String m_domainId;
273
274 Aws::String m_owningProjectId;
275
276 Aws::String m_notebookId;
277
278 Aws::String m_scheduleId;
279
281
282 TriggerSource m_triggerSource;
283
284 Aws::Utils::DateTime m_createdAt{};
285
286 Aws::String m_createdBy;
287
288 Aws::Utils::DateTime m_updatedAt{};
289
290 Aws::String m_updatedBy;
291
292 Aws::Utils::DateTime m_startedAt{};
293
294 Aws::Utils::DateTime m_completedAt{};
295 bool m_idHasBeenSet = false;
296 bool m_domainIdHasBeenSet = false;
297 bool m_owningProjectIdHasBeenSet = false;
298 bool m_notebookIdHasBeenSet = false;
299 bool m_scheduleIdHasBeenSet = false;
300 bool m_statusHasBeenSet = false;
301 bool m_triggerSourceHasBeenSet = false;
302 bool m_createdAtHasBeenSet = false;
303 bool m_createdByHasBeenSet = false;
304 bool m_updatedAtHasBeenSet = false;
305 bool m_updatedByHasBeenSet = false;
306 bool m_startedAtHasBeenSet = false;
307 bool m_completedAtHasBeenSet = false;
308};
309
310} // namespace Model
311} // namespace DataZone
312} // namespace Aws
const Aws::String & GetOwningProjectId() const
const Aws::Utils::DateTime & GetStartedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCompletedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetTriggerSource(TriggerSourceT &&value)
AWS_DATAZONE_API NotebookRunSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(NotebookRunStatus value)
NotebookRunSummary & WithUpdatedAt(UpdatedAtT &&value)
NotebookRunSummary & WithStartedAt(StartedAtT &&value)
NotebookRunSummary & WithScheduleId(ScheduleIdT &&value)
NotebookRunSummary & WithNotebookId(NotebookIdT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
NotebookRunSummary & WithTriggerSource(TriggerSourceT &&value)
const TriggerSource & GetTriggerSource() const
AWS_DATAZONE_API NotebookRunSummary(Aws::Utils::Json::JsonView jsonValue)
void SetOwningProjectId(OwningProjectIdT &&value)
NotebookRunSummary & WithDomainId(DomainIdT &&value)
NotebookRunSummary & WithOwningProjectId(OwningProjectIdT &&value)
NotebookRunSummary & WithStatus(NotebookRunStatus value)
NotebookRunSummary & WithCreatedAt(CreatedAtT &&value)
NotebookRunSummary & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetNotebookId() const
AWS_DATAZONE_API NotebookRunSummary()=default
NotebookRunSummary & WithId(IdT &&value)
NotebookRunSummary & WithCompletedAt(CompletedAtT &&value)
NotebookRunSummary & WithUpdatedBy(UpdatedByT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue