7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticmapreduce/EMR_EXPORTS.h>
12#include <aws/elasticmapreduce/model/ExecutionEngineConfig.h>
13#include <aws/elasticmapreduce/model/NotebookExecutionStatus.h>
14#include <aws/elasticmapreduce/model/NotebookS3LocationForOutput.h>
15#include <aws/elasticmapreduce/model/OutputNotebookFormat.h>
16#include <aws/elasticmapreduce/model/OutputNotebookS3LocationForOutput.h>
17#include <aws/elasticmapreduce/model/Tag.h>
51 template <
typename NotebookExecutionIdT = Aws::String>
53 m_notebookExecutionIdHasBeenSet =
true;
54 m_notebookExecutionId = std::forward<NotebookExecutionIdT>(value);
56 template <
typename NotebookExecutionIdT = Aws::String>
70 template <
typename EditorIdT = Aws::String>
72 m_editorIdHasBeenSet =
true;
73 m_editorId = std::forward<EditorIdT>(value);
75 template <
typename EditorIdT = Aws::String>
89 template <
typename ExecutionEngineT = ExecutionEngineConfig>
91 m_executionEngineHasBeenSet =
true;
92 m_executionEngine = std::forward<ExecutionEngineT>(value);
94 template <
typename ExecutionEngineT = ExecutionEngineConfig>
107 template <
typename NotebookExecutionNameT = Aws::String>
109 m_notebookExecutionNameHasBeenSet =
true;
110 m_notebookExecutionName = std::forward<NotebookExecutionNameT>(value);
112 template <
typename NotebookExecutionNameT = Aws::String>
126 template <
typename NotebookParamsT = Aws::String>
128 m_notebookParamsHasBeenSet =
true;
129 m_notebookParams = std::forward<NotebookParamsT>(value);
131 template <
typename NotebookParamsT = Aws::String>
161 m_statusHasBeenSet =
true;
176 template <
typename StartTimeT = Aws::Utils::DateTime>
178 m_startTimeHasBeenSet =
true;
179 m_startTime = std::forward<StartTimeT>(value);
181 template <
typename StartTimeT = Aws::Utils::DateTime>
194 template <
typename EndTimeT = Aws::Utils::DateTime>
196 m_endTimeHasBeenSet =
true;
197 m_endTime = std::forward<EndTimeT>(value);
199 template <
typename EndTimeT = Aws::Utils::DateTime>
212 template <
typename ArnT = Aws::String>
214 m_arnHasBeenSet =
true;
215 m_arn = std::forward<ArnT>(value);
217 template <
typename ArnT = Aws::String>
219 SetArn(std::forward<ArnT>(value));
230 template <
typename OutputNotebookURIT = Aws::String>
232 m_outputNotebookURIHasBeenSet =
true;
233 m_outputNotebookURI = std::forward<OutputNotebookURIT>(value);
235 template <
typename OutputNotebookURIT = Aws::String>
248 template <
typename LastStateChangeReasonT = Aws::String>
250 m_lastStateChangeReasonHasBeenSet =
true;
251 m_lastStateChangeReason = std::forward<LastStateChangeReasonT>(value);
253 template <
typename LastStateChangeReasonT = Aws::String>
270 template <
typename NotebookInstanceSecurityGroupIdT = Aws::String>
272 m_notebookInstanceSecurityGroupIdHasBeenSet =
true;
273 m_notebookInstanceSecurityGroupId = std::forward<NotebookInstanceSecurityGroupIdT>(value);
275 template <
typename NotebookInstanceSecurityGroupIdT = Aws::String>
290 template <
typename TagsT = Aws::Vector<Tag>>
292 m_tagsHasBeenSet =
true;
293 m_tags = std::forward<TagsT>(value);
295 template <
typename TagsT = Aws::Vector<Tag>>
297 SetTags(std::forward<TagsT>(value));
300 template <
typename TagsT = Tag>
302 m_tagsHasBeenSet =
true;
303 m_tags.emplace_back(std::forward<TagsT>(value));
314 template <
typename NotebookS3LocationT = NotebookS3LocationForOutput>
316 m_notebookS3LocationHasBeenSet =
true;
317 m_notebookS3Location = std::forward<NotebookS3LocationT>(value);
319 template <
typename NotebookS3LocationT = NotebookS3LocationForOutput>
332 template <
typename OutputNotebookS3LocationT = OutputNotebookS3LocationForOutput>
334 m_outputNotebookS3LocationHasBeenSet =
true;
335 m_outputNotebookS3Location = std::forward<OutputNotebookS3LocationT>(value);
337 template <
typename OutputNotebookS3LocationT = OutputNotebookS3LocationForOutput>
351 m_outputNotebookFormatHasBeenSet =
true;
352 m_outputNotebookFormat = value;
366 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
368 m_environmentVariablesHasBeenSet =
true;
369 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
371 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
376 template <
typename EnvironmentVariablesKeyT = Aws::String,
typename EnvironmentVariablesValueT = Aws::String>
378 m_environmentVariablesHasBeenSet =
true;
379 m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
410 NotebookS3LocationForOutput m_notebookS3Location;
412 OutputNotebookS3LocationForOutput m_outputNotebookS3Location;
417 bool m_notebookExecutionIdHasBeenSet =
false;
418 bool m_editorIdHasBeenSet =
false;
419 bool m_executionEngineHasBeenSet =
false;
420 bool m_notebookExecutionNameHasBeenSet =
false;
421 bool m_notebookParamsHasBeenSet =
false;
422 bool m_statusHasBeenSet =
false;
423 bool m_startTimeHasBeenSet =
false;
424 bool m_endTimeHasBeenSet =
false;
425 bool m_arnHasBeenSet =
false;
426 bool m_outputNotebookURIHasBeenSet =
false;
427 bool m_lastStateChangeReasonHasBeenSet =
false;
428 bool m_notebookInstanceSecurityGroupIdHasBeenSet =
false;
429 bool m_tagsHasBeenSet =
false;
430 bool m_notebookS3LocationHasBeenSet =
false;
431 bool m_outputNotebookS3LocationHasBeenSet =
false;
432 bool m_outputNotebookFormatHasBeenSet =
false;
433 bool m_environmentVariablesHasBeenSet =
false;
NotebookExecution & WithNotebookS3Location(NotebookS3LocationT &&value)
const ExecutionEngineConfig & GetExecutionEngine() const
NotebookExecution & WithNotebookInstanceSecurityGroupId(NotebookInstanceSecurityGroupIdT &&value)
NotebookExecution & WithLastStateChangeReason(LastStateChangeReasonT &&value)
bool NotebookParamsHasBeenSet() const
const Aws::String & GetNotebookExecutionId() const
void SetExecutionEngine(ExecutionEngineT &&value)
NotebookExecution & WithNotebookExecutionName(NotebookExecutionNameT &&value)
const Aws::String & GetArn() const
const Aws::String & GetEditorId() const
bool OutputNotebookS3LocationHasBeenSet() const
NotebookExecution & WithNotebookExecutionId(NotebookExecutionIdT &&value)
bool ArnHasBeenSet() const
NotebookExecution & AddTags(TagsT &&value)
bool EditorIdHasBeenSet() const
void SetNotebookExecutionId(NotebookExecutionIdT &&value)
AWS_EMR_API NotebookExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
bool NotebookInstanceSecurityGroupIdHasBeenSet() const
NotebookExecution & WithTags(TagsT &&value)
const OutputNotebookS3LocationForOutput & GetOutputNotebookS3Location() const
bool OutputNotebookFormatHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
NotebookExecution & WithEditorId(EditorIdT &&value)
const Aws::String & GetLastStateChangeReason() const
bool NotebookS3LocationHasBeenSet() const
NotebookExecution & WithEndTime(EndTimeT &&value)
bool TagsHasBeenSet() const
void SetLastStateChangeReason(LastStateChangeReasonT &&value)
NotebookExecution & WithStatus(NotebookExecutionStatus value)
void SetStatus(NotebookExecutionStatus value)
const Aws::String & GetNotebookExecutionName() const
void SetNotebookS3Location(NotebookS3LocationT &&value)
NotebookExecution & WithOutputNotebookFormat(OutputNotebookFormat value)
NotebookExecution & WithStartTime(StartTimeT &&value)
OutputNotebookFormat GetOutputNotebookFormat() const
bool OutputNotebookURIHasBeenSet() const
NotebookExecution & WithArn(ArnT &&value)
bool NotebookExecutionNameHasBeenSet() const
bool EnvironmentVariablesHasBeenSet() const
NotebookExecution & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
bool ExecutionEngineHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
NotebookExecution & WithOutputNotebookS3Location(OutputNotebookS3LocationT &&value)
bool StartTimeHasBeenSet() const
bool EndTimeHasBeenSet() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
NotebookExecution & WithEnvironmentVariables(EnvironmentVariablesT &&value)
void SetOutputNotebookFormat(OutputNotebookFormat value)
NotebookExecution & WithOutputNotebookURI(OutputNotebookURIT &&value)
void SetOutputNotebookURI(OutputNotebookURIT &&value)
AWS_EMR_API NotebookExecution(Aws::Utils::Json::JsonView jsonValue)
void SetTags(TagsT &&value)
NotebookExecution & WithNotebookParams(NotebookParamsT &&value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::String & GetNotebookInstanceSecurityGroupId() const
void SetNotebookParams(NotebookParamsT &&value)
bool StatusHasBeenSet() const
void SetEditorId(EditorIdT &&value)
NotebookExecutionStatus GetStatus() const
void SetOutputNotebookS3Location(OutputNotebookS3LocationT &&value)
void SetStartTime(StartTimeT &&value)
const NotebookS3LocationForOutput & GetNotebookS3Location() const
NotebookExecution & WithExecutionEngine(ExecutionEngineT &&value)
bool NotebookExecutionIdHasBeenSet() const
bool LastStateChangeReasonHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetArn(ArnT &&value)
void SetNotebookExecutionName(NotebookExecutionNameT &&value)
const Aws::String & GetOutputNotebookURI() const
const Aws::String & GetNotebookParams() const
void SetEndTime(EndTimeT &&value)
void SetNotebookInstanceSecurityGroupId(NotebookInstanceSecurityGroupIdT &&value)
AWS_EMR_API NotebookExecution()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue