AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
42
43
45
48 inline const Aws::String& GetNotebookExecutionId() const{ return m_notebookExecutionId; }
49 inline bool NotebookExecutionIdHasBeenSet() const { return m_notebookExecutionIdHasBeenSet; }
50 inline void SetNotebookExecutionId(const Aws::String& value) { m_notebookExecutionIdHasBeenSet = true; m_notebookExecutionId = value; }
51 inline void SetNotebookExecutionId(Aws::String&& value) { m_notebookExecutionIdHasBeenSet = true; m_notebookExecutionId = std::move(value); }
52 inline void SetNotebookExecutionId(const char* value) { m_notebookExecutionIdHasBeenSet = true; m_notebookExecutionId.assign(value); }
54 inline NotebookExecutionSummary& WithNotebookExecutionId(Aws::String&& value) { SetNotebookExecutionId(std::move(value)); return *this;}
55 inline NotebookExecutionSummary& WithNotebookExecutionId(const char* value) { SetNotebookExecutionId(value); return *this;}
57
59
63 inline const Aws::String& GetEditorId() const{ return m_editorId; }
64 inline bool EditorIdHasBeenSet() const { return m_editorIdHasBeenSet; }
65 inline void SetEditorId(const Aws::String& value) { m_editorIdHasBeenSet = true; m_editorId = value; }
66 inline void SetEditorId(Aws::String&& value) { m_editorIdHasBeenSet = true; m_editorId = std::move(value); }
67 inline void SetEditorId(const char* value) { m_editorIdHasBeenSet = true; m_editorId.assign(value); }
68 inline NotebookExecutionSummary& WithEditorId(const Aws::String& value) { SetEditorId(value); return *this;}
69 inline NotebookExecutionSummary& WithEditorId(Aws::String&& value) { SetEditorId(std::move(value)); return *this;}
70 inline NotebookExecutionSummary& WithEditorId(const char* value) { SetEditorId(value); return *this;}
72
74
77 inline const Aws::String& GetNotebookExecutionName() const{ return m_notebookExecutionName; }
78 inline bool NotebookExecutionNameHasBeenSet() const { return m_notebookExecutionNameHasBeenSet; }
79 inline void SetNotebookExecutionName(const Aws::String& value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName = value; }
80 inline void SetNotebookExecutionName(Aws::String&& value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName = std::move(value); }
81 inline void SetNotebookExecutionName(const char* value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName.assign(value); }
84 inline NotebookExecutionSummary& WithNotebookExecutionName(const char* value) { SetNotebookExecutionName(value); return *this;}
86
88
107 inline const NotebookExecutionStatus& GetStatus() const{ return m_status; }
108 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
109 inline void SetStatus(const NotebookExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
110 inline void SetStatus(NotebookExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
111 inline NotebookExecutionSummary& WithStatus(const NotebookExecutionStatus& value) { SetStatus(value); return *this;}
112 inline NotebookExecutionSummary& WithStatus(NotebookExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
120 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
121 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
122 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
123 inline NotebookExecutionSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
124 inline NotebookExecutionSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
132 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
133 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
134 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
135 inline NotebookExecutionSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
136 inline NotebookExecutionSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
138
140
143 inline const NotebookS3LocationForOutput& GetNotebookS3Location() const{ return m_notebookS3Location; }
144 inline bool NotebookS3LocationHasBeenSet() const { return m_notebookS3LocationHasBeenSet; }
145 inline void SetNotebookS3Location(const NotebookS3LocationForOutput& value) { m_notebookS3LocationHasBeenSet = true; m_notebookS3Location = value; }
146 inline void SetNotebookS3Location(NotebookS3LocationForOutput&& value) { m_notebookS3LocationHasBeenSet = true; m_notebookS3Location = std::move(value); }
150
152
155 inline const Aws::String& GetExecutionEngineId() const{ return m_executionEngineId; }
156 inline bool ExecutionEngineIdHasBeenSet() const { return m_executionEngineIdHasBeenSet; }
157 inline void SetExecutionEngineId(const Aws::String& value) { m_executionEngineIdHasBeenSet = true; m_executionEngineId = value; }
158 inline void SetExecutionEngineId(Aws::String&& value) { m_executionEngineIdHasBeenSet = true; m_executionEngineId = std::move(value); }
159 inline void SetExecutionEngineId(const char* value) { m_executionEngineIdHasBeenSet = true; m_executionEngineId.assign(value); }
161 inline NotebookExecutionSummary& WithExecutionEngineId(Aws::String&& value) { SetExecutionEngineId(std::move(value)); return *this;}
162 inline NotebookExecutionSummary& WithExecutionEngineId(const char* value) { SetExecutionEngineId(value); return *this;}
164 private:
165
166 Aws::String m_notebookExecutionId;
167 bool m_notebookExecutionIdHasBeenSet = false;
168
169 Aws::String m_editorId;
170 bool m_editorIdHasBeenSet = false;
171
172 Aws::String m_notebookExecutionName;
173 bool m_notebookExecutionNameHasBeenSet = false;
174
176 bool m_statusHasBeenSet = false;
177
178 Aws::Utils::DateTime m_startTime;
179 bool m_startTimeHasBeenSet = false;
180
181 Aws::Utils::DateTime m_endTime;
182 bool m_endTimeHasBeenSet = false;
183
184 NotebookS3LocationForOutput m_notebookS3Location;
185 bool m_notebookS3LocationHasBeenSet = false;
186
187 Aws::String m_executionEngineId;
188 bool m_executionEngineIdHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace EMR
193} // namespace Aws
NotebookExecutionSummary & WithNotebookExecutionName(const Aws::String &value)
void SetNotebookS3Location(NotebookS3LocationForOutput &&value)
NotebookExecutionSummary & WithEditorId(const char *value)
NotebookExecutionSummary & WithExecutionEngineId(const char *value)
void SetStatus(const NotebookExecutionStatus &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
NotebookExecutionSummary & WithEditorId(const Aws::String &value)
AWS_EMR_API NotebookExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetNotebookExecutionName(const Aws::String &value)
NotebookExecutionSummary & WithNotebookExecutionName(const char *value)
NotebookExecutionSummary & WithNotebookS3Location(NotebookS3LocationForOutput &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
NotebookExecutionSummary & WithNotebookExecutionId(const char *value)
NotebookExecutionSummary & WithNotebookS3Location(const NotebookS3LocationForOutput &value)
NotebookExecutionSummary & WithExecutionEngineId(Aws::String &&value)
AWS_EMR_API NotebookExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
NotebookExecutionSummary & WithEndTime(const Aws::Utils::DateTime &value)
void SetEndTime(Aws::Utils::DateTime &&value)
NotebookExecutionSummary & WithStartTime(Aws::Utils::DateTime &&value)
void SetNotebookS3Location(const NotebookS3LocationForOutput &value)
NotebookExecutionSummary & WithEditorId(Aws::String &&value)
const NotebookS3LocationForOutput & GetNotebookS3Location() const
const Aws::Utils::DateTime & GetEndTime() const
void SetNotebookExecutionId(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
NotebookExecutionSummary & WithStatus(NotebookExecutionStatus &&value)
const Aws::Utils::DateTime & GetStartTime() const
NotebookExecutionSummary & WithEndTime(Aws::Utils::DateTime &&value)
NotebookExecutionSummary & WithNotebookExecutionId(const Aws::String &value)
NotebookExecutionSummary & WithExecutionEngineId(const Aws::String &value)
void SetExecutionEngineId(const Aws::String &value)
NotebookExecutionSummary & WithStartTime(const Aws::Utils::DateTime &value)
const NotebookExecutionStatus & GetStatus() const
void SetStartTime(const Aws::Utils::DateTime &value)
void SetStatus(NotebookExecutionStatus &&value)
NotebookExecutionSummary & WithNotebookExecutionId(Aws::String &&value)
NotebookExecutionSummary & WithStatus(const NotebookExecutionStatus &value)
NotebookExecutionSummary & WithNotebookExecutionName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue