AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
NotebookExecutionSummary.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/NotebookExecutionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/elasticmapreduce/model/NotebookS3LocationForOutput.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace EMR
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_EMR_API NotebookExecutionSummary() = default;
42
43
45
48 inline const Aws::String& GetNotebookExecutionId() const { return m_notebookExecutionId; }
49 inline bool NotebookExecutionIdHasBeenSet() const { return m_notebookExecutionIdHasBeenSet; }
50 template<typename NotebookExecutionIdT = Aws::String>
51 void SetNotebookExecutionId(NotebookExecutionIdT&& value) { m_notebookExecutionIdHasBeenSet = true; m_notebookExecutionId = std::forward<NotebookExecutionIdT>(value); }
52 template<typename NotebookExecutionIdT = Aws::String>
53 NotebookExecutionSummary& WithNotebookExecutionId(NotebookExecutionIdT&& value) { SetNotebookExecutionId(std::forward<NotebookExecutionIdT>(value)); return *this;}
55
57
61 inline const Aws::String& GetEditorId() const { return m_editorId; }
62 inline bool EditorIdHasBeenSet() const { return m_editorIdHasBeenSet; }
63 template<typename EditorIdT = Aws::String>
64 void SetEditorId(EditorIdT&& value) { m_editorIdHasBeenSet = true; m_editorId = std::forward<EditorIdT>(value); }
65 template<typename EditorIdT = Aws::String>
66 NotebookExecutionSummary& WithEditorId(EditorIdT&& value) { SetEditorId(std::forward<EditorIdT>(value)); return *this;}
68
70
73 inline const Aws::String& GetNotebookExecutionName() const { return m_notebookExecutionName; }
74 inline bool NotebookExecutionNameHasBeenSet() const { return m_notebookExecutionNameHasBeenSet; }
75 template<typename NotebookExecutionNameT = Aws::String>
76 void SetNotebookExecutionName(NotebookExecutionNameT&& value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName = std::forward<NotebookExecutionNameT>(value); }
77 template<typename NotebookExecutionNameT = Aws::String>
78 NotebookExecutionSummary& WithNotebookExecutionName(NotebookExecutionNameT&& value) { SetNotebookExecutionName(std::forward<NotebookExecutionNameT>(value)); return *this;}
80
82
101 inline NotebookExecutionStatus GetStatus() const { return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(NotebookExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
106
108
111 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
112 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
113 template<typename StartTimeT = Aws::Utils::DateTime>
114 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
115 template<typename StartTimeT = Aws::Utils::DateTime>
116 NotebookExecutionSummary& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
124 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
125 template<typename EndTimeT = Aws::Utils::DateTime>
126 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
127 template<typename EndTimeT = Aws::Utils::DateTime>
128 NotebookExecutionSummary& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
130
132
135 inline const NotebookS3LocationForOutput& GetNotebookS3Location() const { return m_notebookS3Location; }
136 inline bool NotebookS3LocationHasBeenSet() const { return m_notebookS3LocationHasBeenSet; }
137 template<typename NotebookS3LocationT = NotebookS3LocationForOutput>
138 void SetNotebookS3Location(NotebookS3LocationT&& value) { m_notebookS3LocationHasBeenSet = true; m_notebookS3Location = std::forward<NotebookS3LocationT>(value); }
139 template<typename NotebookS3LocationT = NotebookS3LocationForOutput>
140 NotebookExecutionSummary& WithNotebookS3Location(NotebookS3LocationT&& value) { SetNotebookS3Location(std::forward<NotebookS3LocationT>(value)); return *this;}
142
144
147 inline const Aws::String& GetExecutionEngineId() const { return m_executionEngineId; }
148 inline bool ExecutionEngineIdHasBeenSet() const { return m_executionEngineIdHasBeenSet; }
149 template<typename ExecutionEngineIdT = Aws::String>
150 void SetExecutionEngineId(ExecutionEngineIdT&& value) { m_executionEngineIdHasBeenSet = true; m_executionEngineId = std::forward<ExecutionEngineIdT>(value); }
151 template<typename ExecutionEngineIdT = Aws::String>
152 NotebookExecutionSummary& WithExecutionEngineId(ExecutionEngineIdT&& value) { SetExecutionEngineId(std::forward<ExecutionEngineIdT>(value)); return *this;}
154 private:
155
156 Aws::String m_notebookExecutionId;
157 bool m_notebookExecutionIdHasBeenSet = false;
158
159 Aws::String m_editorId;
160 bool m_editorIdHasBeenSet = false;
161
162 Aws::String m_notebookExecutionName;
163 bool m_notebookExecutionNameHasBeenSet = false;
164
166 bool m_statusHasBeenSet = false;
167
168 Aws::Utils::DateTime m_startTime{};
169 bool m_startTimeHasBeenSet = false;
170
171 Aws::Utils::DateTime m_endTime{};
172 bool m_endTimeHasBeenSet = false;
173
174 NotebookS3LocationForOutput m_notebookS3Location;
175 bool m_notebookS3LocationHasBeenSet = false;
176
177 Aws::String m_executionEngineId;
178 bool m_executionEngineIdHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace EMR
183} // namespace Aws
NotebookExecutionSummary & WithStartTime(StartTimeT &&value)
NotebookExecutionSummary & WithEndTime(EndTimeT &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API NotebookExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
NotebookExecutionSummary & WithStatus(NotebookExecutionStatus value)
NotebookExecutionSummary & WithExecutionEngineId(ExecutionEngineIdT &&value)
NotebookExecutionSummary & WithNotebookExecutionId(NotebookExecutionIdT &&value)
NotebookExecutionSummary & WithEditorId(EditorIdT &&value)
AWS_EMR_API NotebookExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNotebookExecutionId(NotebookExecutionIdT &&value)
const NotebookS3LocationForOutput & GetNotebookS3Location() const
NotebookExecutionSummary & WithNotebookExecutionName(NotebookExecutionNameT &&value)
const Aws::Utils::DateTime & GetEndTime() const
AWS_EMR_API NotebookExecutionSummary()=default
const Aws::Utils::DateTime & GetStartTime() const
void SetNotebookS3Location(NotebookS3LocationT &&value)
void SetExecutionEngineId(ExecutionEngineIdT &&value)
void SetStatus(NotebookExecutionStatus value)
NotebookExecutionSummary & WithNotebookS3Location(NotebookS3LocationT &&value)
void SetNotebookExecutionName(NotebookExecutionNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue