AWS SDK for C++  1.9.21
AWS SDK for C++
NotebookExecutionSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace EMR
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetNotebookExecutionId() const{ return m_notebookExecutionId; }
46 
50  inline bool NotebookExecutionIdHasBeenSet() const { return m_notebookExecutionIdHasBeenSet; }
51 
55  inline void SetNotebookExecutionId(const Aws::String& value) { m_notebookExecutionIdHasBeenSet = true; m_notebookExecutionId = value; }
56 
60  inline void SetNotebookExecutionId(Aws::String&& value) { m_notebookExecutionIdHasBeenSet = true; m_notebookExecutionId = std::move(value); }
61 
65  inline void SetNotebookExecutionId(const char* value) { m_notebookExecutionIdHasBeenSet = true; m_notebookExecutionId.assign(value); }
66 
70  inline NotebookExecutionSummary& WithNotebookExecutionId(const Aws::String& value) { SetNotebookExecutionId(value); return *this;}
71 
75  inline NotebookExecutionSummary& WithNotebookExecutionId(Aws::String&& value) { SetNotebookExecutionId(std::move(value)); return *this;}
76 
80  inline NotebookExecutionSummary& WithNotebookExecutionId(const char* value) { SetNotebookExecutionId(value); return *this;}
81 
82 
87  inline const Aws::String& GetEditorId() const{ return m_editorId; }
88 
93  inline bool EditorIdHasBeenSet() const { return m_editorIdHasBeenSet; }
94 
99  inline void SetEditorId(const Aws::String& value) { m_editorIdHasBeenSet = true; m_editorId = value; }
100 
105  inline void SetEditorId(Aws::String&& value) { m_editorIdHasBeenSet = true; m_editorId = std::move(value); }
106 
111  inline void SetEditorId(const char* value) { m_editorIdHasBeenSet = true; m_editorId.assign(value); }
112 
117  inline NotebookExecutionSummary& WithEditorId(const Aws::String& value) { SetEditorId(value); return *this;}
118 
123  inline NotebookExecutionSummary& WithEditorId(Aws::String&& value) { SetEditorId(std::move(value)); return *this;}
124 
129  inline NotebookExecutionSummary& WithEditorId(const char* value) { SetEditorId(value); return *this;}
130 
131 
135  inline const Aws::String& GetNotebookExecutionName() const{ return m_notebookExecutionName; }
136 
140  inline bool NotebookExecutionNameHasBeenSet() const { return m_notebookExecutionNameHasBeenSet; }
141 
145  inline void SetNotebookExecutionName(const Aws::String& value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName = value; }
146 
150  inline void SetNotebookExecutionName(Aws::String&& value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName = std::move(value); }
151 
155  inline void SetNotebookExecutionName(const char* value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName.assign(value); }
156 
160  inline NotebookExecutionSummary& WithNotebookExecutionName(const Aws::String& value) { SetNotebookExecutionName(value); return *this;}
161 
165  inline NotebookExecutionSummary& WithNotebookExecutionName(Aws::String&& value) { SetNotebookExecutionName(std::move(value)); return *this;}
166 
170  inline NotebookExecutionSummary& WithNotebookExecutionName(const char* value) { SetNotebookExecutionName(value); return *this;}
171 
172 
192  inline const NotebookExecutionStatus& GetStatus() const{ return m_status; }
193 
213  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
214 
234  inline void SetStatus(const NotebookExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
235 
255  inline void SetStatus(NotebookExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
256 
276  inline NotebookExecutionSummary& WithStatus(const NotebookExecutionStatus& value) { SetStatus(value); return *this;}
277 
297  inline NotebookExecutionSummary& WithStatus(NotebookExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
298 
299 
303  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
304 
308  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
309 
313  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
314 
318  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
319 
323  inline NotebookExecutionSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
324 
328  inline NotebookExecutionSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
329 
330 
334  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
335 
339  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
340 
344  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
345 
349  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
350 
354  inline NotebookExecutionSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
355 
359  inline NotebookExecutionSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
360 
361  private:
362 
363  Aws::String m_notebookExecutionId;
364  bool m_notebookExecutionIdHasBeenSet;
365 
366  Aws::String m_editorId;
367  bool m_editorIdHasBeenSet;
368 
369  Aws::String m_notebookExecutionName;
370  bool m_notebookExecutionNameHasBeenSet;
371 
372  NotebookExecutionStatus m_status;
373  bool m_statusHasBeenSet;
374 
375  Aws::Utils::DateTime m_startTime;
376  bool m_startTimeHasBeenSet;
377 
378  Aws::Utils::DateTime m_endTime;
379  bool m_endTimeHasBeenSet;
380  };
381 
382 } // namespace Model
383 } // namespace EMR
384 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EMR::Model::NotebookExecutionSummary::WithStartTime
NotebookExecutionSummary & WithStartTime(Aws::Utils::DateTime &&value)
Definition: NotebookExecutionSummary.h:328
Aws::EMR::Model::NotebookExecutionSummary::GetNotebookExecutionId
const Aws::String & GetNotebookExecutionId() const
Definition: NotebookExecutionSummary.h:45
Aws::EMR::Model::NotebookExecutionSummary::GetStatus
const NotebookExecutionStatus & GetStatus() const
Definition: NotebookExecutionSummary.h:192
Aws::EMR::Model::NotebookExecutionSummary::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: NotebookExecutionSummary.h:344
Aws::EMR::Model::NotebookExecutionSummary::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: NotebookExecutionSummary.h:349
Aws::EMR::Model::NotebookExecutionSummary::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: NotebookExecutionSummary.h:339
Aws::EMR::Model::NotebookExecutionSummary::SetNotebookExecutionId
void SetNotebookExecutionId(const Aws::String &value)
Definition: NotebookExecutionSummary.h:55
Aws::EMR::Model::NotebookExecutionSummary::NotebookExecutionNameHasBeenSet
bool NotebookExecutionNameHasBeenSet() const
Definition: NotebookExecutionSummary.h:140
NotebookExecutionStatus.h
EMR_EXPORTS.h
Aws::EMR::Model::NotebookExecutionSummary::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: NotebookExecutionSummary.h:334
DateTime.h
Aws::EMR::Model::NotebookExecutionSummary::NotebookExecutionSummary
NotebookExecutionSummary()
Aws::EMR::Model::NotebookExecutionSummary::WithNotebookExecutionName
NotebookExecutionSummary & WithNotebookExecutionName(const Aws::String &value)
Definition: NotebookExecutionSummary.h:160
Aws::EMR::Model::NotebookExecutionSummary::WithEndTime
NotebookExecutionSummary & WithEndTime(Aws::Utils::DateTime &&value)
Definition: NotebookExecutionSummary.h:359
Aws::EMR::Model::NotebookExecutionSummary::WithStartTime
NotebookExecutionSummary & WithStartTime(const Aws::Utils::DateTime &value)
Definition: NotebookExecutionSummary.h:323
Aws::EMR::Model::NotebookExecutionSummary::WithEditorId
NotebookExecutionSummary & WithEditorId(Aws::String &&value)
Definition: NotebookExecutionSummary.h:123
Aws::EMR::Model::NotebookExecutionSummary::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: NotebookExecutionSummary.h:318
Aws::EMR::Model::NotebookExecutionSummary::GetEditorId
const Aws::String & GetEditorId() const
Definition: NotebookExecutionSummary.h:87
Aws::EMR::Model::NotebookExecutionSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::NotebookExecutionSummary::NotebookExecutionSummary
NotebookExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::NotebookExecutionSummary::WithNotebookExecutionId
NotebookExecutionSummary & WithNotebookExecutionId(Aws::String &&value)
Definition: NotebookExecutionSummary.h:75
Aws::EMR::Model::NotebookExecutionSummary::WithStatus
NotebookExecutionSummary & WithStatus(const NotebookExecutionStatus &value)
Definition: NotebookExecutionSummary.h:276
Aws::EMR::Model::NotebookExecutionSummary::WithEditorId
NotebookExecutionSummary & WithEditorId(const char *value)
Definition: NotebookExecutionSummary.h:129
Aws::EMR::Model::NotebookExecutionSummary::WithNotebookExecutionName
NotebookExecutionSummary & WithNotebookExecutionName(Aws::String &&value)
Definition: NotebookExecutionSummary.h:165
Aws::EMR::Model::NotebookExecutionSummary::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: NotebookExecutionSummary.h:308
Aws::EMR::Model::NotebookExecutionSummary::SetStatus
void SetStatus(const NotebookExecutionStatus &value)
Definition: NotebookExecutionSummary.h:234
Aws::EMR::Model::NotebookExecutionSummary::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: NotebookExecutionSummary.h:303
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::EMR::Model::NotebookExecutionSummary::SetNotebookExecutionId
void SetNotebookExecutionId(Aws::String &&value)
Definition: NotebookExecutionSummary.h:60
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::EMR::Model::NotebookExecutionSummary::SetEditorId
void SetEditorId(const Aws::String &value)
Definition: NotebookExecutionSummary.h:99
Aws::EMR::Model::NotebookExecutionSummary::SetNotebookExecutionName
void SetNotebookExecutionName(const Aws::String &value)
Definition: NotebookExecutionSummary.h:145
Aws::EMR::Model::NotebookExecutionSummary::WithNotebookExecutionId
NotebookExecutionSummary & WithNotebookExecutionId(const Aws::String &value)
Definition: NotebookExecutionSummary.h:70
Aws::EMR::Model::NotebookExecutionSummary::SetEditorId
void SetEditorId(const char *value)
Definition: NotebookExecutionSummary.h:111
Aws::EMR::Model::NotebookExecutionSummary
Definition: NotebookExecutionSummary.h:34
Aws::EMR::Model::NotebookExecutionSummary::NotebookExecutionIdHasBeenSet
bool NotebookExecutionIdHasBeenSet() const
Definition: NotebookExecutionSummary.h:50
Aws::EMR::Model::NotebookExecutionSummary::GetNotebookExecutionName
const Aws::String & GetNotebookExecutionName() const
Definition: NotebookExecutionSummary.h:135
Aws::EMR::Model::NotebookExecutionSummary::WithNotebookExecutionName
NotebookExecutionSummary & WithNotebookExecutionName(const char *value)
Definition: NotebookExecutionSummary.h:170
Aws::EMR::Model::NotebookExecutionSummary::SetEditorId
void SetEditorId(Aws::String &&value)
Definition: NotebookExecutionSummary.h:105
Aws::EMR::Model::NotebookExecutionSummary::SetStatus
void SetStatus(NotebookExecutionStatus &&value)
Definition: NotebookExecutionSummary.h:255
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::NotebookExecutionSummary::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: NotebookExecutionSummary.h:313
Aws::EMR::Model::NotebookExecutionSummary::SetNotebookExecutionName
void SetNotebookExecutionName(const char *value)
Definition: NotebookExecutionSummary.h:155
Aws::EMR::Model::NotebookExecutionSummary::WithStatus
NotebookExecutionSummary & WithStatus(NotebookExecutionStatus &&value)
Definition: NotebookExecutionSummary.h:297
Aws::EMR::Model::NotebookExecutionSummary::operator=
NotebookExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::NotebookExecutionSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: NotebookExecutionSummary.h:213
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::NotebookExecutionStatus
NotebookExecutionStatus
Definition: NotebookExecutionStatus.h:17
Aws::EMR::Model::NotebookExecutionSummary::EditorIdHasBeenSet
bool EditorIdHasBeenSet() const
Definition: NotebookExecutionSummary.h:93
Aws::EMR::Model::NotebookExecutionSummary::SetNotebookExecutionName
void SetNotebookExecutionName(Aws::String &&value)
Definition: NotebookExecutionSummary.h:150
Aws::EMR::Model::NotebookExecutionSummary::WithEndTime
NotebookExecutionSummary & WithEndTime(const Aws::Utils::DateTime &value)
Definition: NotebookExecutionSummary.h:354
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::NotebookExecutionSummary::WithNotebookExecutionId
NotebookExecutionSummary & WithNotebookExecutionId(const char *value)
Definition: NotebookExecutionSummary.h:80
Aws::EMR::Model::NotebookExecutionSummary::WithEditorId
NotebookExecutionSummary & WithEditorId(const Aws::String &value)
Definition: NotebookExecutionSummary.h:117
Aws::EMR::Model::NotebookExecutionSummary::SetNotebookExecutionId
void SetNotebookExecutionId(const char *value)
Definition: NotebookExecutionSummary.h:65