AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
NotebookExecutionSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/EMR_EXPORTS.h>
10#include <aws/elasticmapreduce/model/NotebookExecutionStatus.h>
11#include <aws/elasticmapreduce/model/NotebookS3LocationForOutput.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EMR {
23namespace Model {
24
32 public:
33 AWS_EMR_API NotebookExecutionSummary() = default;
37
39
42 inline const Aws::String& GetNotebookExecutionId() const { return m_notebookExecutionId; }
43 inline bool NotebookExecutionIdHasBeenSet() const { return m_notebookExecutionIdHasBeenSet; }
44 template <typename NotebookExecutionIdT = Aws::String>
45 void SetNotebookExecutionId(NotebookExecutionIdT&& value) {
46 m_notebookExecutionIdHasBeenSet = true;
47 m_notebookExecutionId = std::forward<NotebookExecutionIdT>(value);
48 }
49 template <typename NotebookExecutionIdT = Aws::String>
50 NotebookExecutionSummary& WithNotebookExecutionId(NotebookExecutionIdT&& value) {
51 SetNotebookExecutionId(std::forward<NotebookExecutionIdT>(value));
52 return *this;
53 }
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) {
65 m_editorIdHasBeenSet = true;
66 m_editorId = std::forward<EditorIdT>(value);
67 }
68 template <typename EditorIdT = Aws::String>
70 SetEditorId(std::forward<EditorIdT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetNotebookExecutionName() const { return m_notebookExecutionName; }
80 inline bool NotebookExecutionNameHasBeenSet() const { return m_notebookExecutionNameHasBeenSet; }
81 template <typename NotebookExecutionNameT = Aws::String>
82 void SetNotebookExecutionName(NotebookExecutionNameT&& value) {
83 m_notebookExecutionNameHasBeenSet = true;
84 m_notebookExecutionName = std::forward<NotebookExecutionNameT>(value);
85 }
86 template <typename NotebookExecutionNameT = Aws::String>
87 NotebookExecutionSummary& WithNotebookExecutionName(NotebookExecutionNameT&& value) {
88 SetNotebookExecutionName(std::forward<NotebookExecutionNameT>(value));
89 return *this;
90 }
92
94
113 inline NotebookExecutionStatus GetStatus() const { return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 m_statusHasBeenSet = true;
117 m_status = value;
118 }
120 SetStatus(value);
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
130 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
131 template <typename StartTimeT = Aws::Utils::DateTime>
132 void SetStartTime(StartTimeT&& value) {
133 m_startTimeHasBeenSet = true;
134 m_startTime = std::forward<StartTimeT>(value);
135 }
136 template <typename StartTimeT = Aws::Utils::DateTime>
138 SetStartTime(std::forward<StartTimeT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
148 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
149 template <typename EndTimeT = Aws::Utils::DateTime>
150 void SetEndTime(EndTimeT&& value) {
151 m_endTimeHasBeenSet = true;
152 m_endTime = std::forward<EndTimeT>(value);
153 }
154 template <typename EndTimeT = Aws::Utils::DateTime>
156 SetEndTime(std::forward<EndTimeT>(value));
157 return *this;
158 }
160
162
165 inline const NotebookS3LocationForOutput& GetNotebookS3Location() const { return m_notebookS3Location; }
166 inline bool NotebookS3LocationHasBeenSet() const { return m_notebookS3LocationHasBeenSet; }
167 template <typename NotebookS3LocationT = NotebookS3LocationForOutput>
168 void SetNotebookS3Location(NotebookS3LocationT&& value) {
169 m_notebookS3LocationHasBeenSet = true;
170 m_notebookS3Location = std::forward<NotebookS3LocationT>(value);
171 }
172 template <typename NotebookS3LocationT = NotebookS3LocationForOutput>
173 NotebookExecutionSummary& WithNotebookS3Location(NotebookS3LocationT&& value) {
174 SetNotebookS3Location(std::forward<NotebookS3LocationT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::String& GetExecutionEngineId() const { return m_executionEngineId; }
184 inline bool ExecutionEngineIdHasBeenSet() const { return m_executionEngineIdHasBeenSet; }
185 template <typename ExecutionEngineIdT = Aws::String>
186 void SetExecutionEngineId(ExecutionEngineIdT&& value) {
187 m_executionEngineIdHasBeenSet = true;
188 m_executionEngineId = std::forward<ExecutionEngineIdT>(value);
189 }
190 template <typename ExecutionEngineIdT = Aws::String>
191 NotebookExecutionSummary& WithExecutionEngineId(ExecutionEngineIdT&& value) {
192 SetExecutionEngineId(std::forward<ExecutionEngineIdT>(value));
193 return *this;
194 }
196 private:
197 Aws::String m_notebookExecutionId;
198
199 Aws::String m_editorId;
200
201 Aws::String m_notebookExecutionName;
202
204
205 Aws::Utils::DateTime m_startTime{};
206
207 Aws::Utils::DateTime m_endTime{};
208
209 NotebookS3LocationForOutput m_notebookS3Location;
210
211 Aws::String m_executionEngineId;
212 bool m_notebookExecutionIdHasBeenSet = false;
213 bool m_editorIdHasBeenSet = false;
214 bool m_notebookExecutionNameHasBeenSet = false;
215 bool m_statusHasBeenSet = false;
216 bool m_startTimeHasBeenSet = false;
217 bool m_endTimeHasBeenSet = false;
218 bool m_notebookS3LocationHasBeenSet = false;
219 bool m_executionEngineIdHasBeenSet = false;
220};
221
222} // namespace Model
223} // namespace EMR
224} // 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