7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/ExecutionEngineConfig.h>
10#include <aws/elasticmapreduce/model/NotebookExecutionStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/elasticmapreduce/model/NotebookS3LocationForOutput.h>
14#include <aws/elasticmapreduce/model/OutputNotebookS3LocationForOutput.h>
15#include <aws/elasticmapreduce/model/OutputNotebookFormat.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/elasticmapreduce/model/Tag.h>
57 template<
typename NotebookExecutionIdT = Aws::String>
58 void SetNotebookExecutionId(NotebookExecutionIdT&& value) { m_notebookExecutionIdHasBeenSet =
true; m_notebookExecutionId = std::forward<NotebookExecutionIdT>(value); }
59 template<
typename NotebookExecutionIdT = Aws::String>
70 template<
typename EditorIdT = Aws::String>
71 void SetEditorId(EditorIdT&& value) { m_editorIdHasBeenSet =
true; m_editorId = std::forward<EditorIdT>(value); }
72 template<
typename EditorIdT = Aws::String>
83 template<
typename ExecutionEngineT = ExecutionEngineConfig>
84 void SetExecutionEngine(ExecutionEngineT&& value) { m_executionEngineHasBeenSet =
true; m_executionEngine = std::forward<ExecutionEngineT>(value); }
85 template<
typename ExecutionEngineT = ExecutionEngineConfig>
95 template<
typename NotebookExecutionNameT = Aws::String>
96 void SetNotebookExecutionName(NotebookExecutionNameT&& value) { m_notebookExecutionNameHasBeenSet =
true; m_notebookExecutionName = std::forward<NotebookExecutionNameT>(value); }
97 template<
typename NotebookExecutionNameT = Aws::String>
108 template<
typename NotebookParamsT = Aws::String>
109 void SetNotebookParams(NotebookParamsT&& value) { m_notebookParamsHasBeenSet =
true; m_notebookParams = std::forward<NotebookParamsT>(value); }
110 template<
typename NotebookParamsT = Aws::String>
146 template<
typename StartTimeT = Aws::Utils::DateTime>
147 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
148 template<
typename StartTimeT = Aws::Utils::DateTime>
158 template<
typename EndTimeT = Aws::Utils::DateTime>
159 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
160 template<
typename EndTimeT = Aws::Utils::DateTime>
170 template<
typename ArnT = Aws::String>
171 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
172 template<
typename ArnT = Aws::String>
182 template<
typename OutputNotebookURIT = Aws::String>
183 void SetOutputNotebookURI(OutputNotebookURIT&& value) { m_outputNotebookURIHasBeenSet =
true; m_outputNotebookURI = std::forward<OutputNotebookURIT>(value); }
184 template<
typename OutputNotebookURIT = Aws::String>
194 template<
typename LastStateChangeReasonT = Aws::String>
195 void SetLastStateChangeReason(LastStateChangeReasonT&& value) { m_lastStateChangeReasonHasBeenSet =
true; m_lastStateChangeReason = std::forward<LastStateChangeReasonT>(value); }
196 template<
typename LastStateChangeReasonT = Aws::String>
210 template<
typename NotebookInstanceSecurityGroupIdT = Aws::String>
211 void SetNotebookInstanceSecurityGroupId(NotebookInstanceSecurityGroupIdT&& value) { m_notebookInstanceSecurityGroupIdHasBeenSet =
true; m_notebookInstanceSecurityGroupId = std::forward<NotebookInstanceSecurityGroupIdT>(value); }
212 template<
typename NotebookInstanceSecurityGroupIdT = Aws::String>
224 template<
typename TagsT = Aws::Vector<Tag>>
225 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
226 template<
typename TagsT = Aws::Vector<Tag>>
228 template<
typename TagsT = Tag>
229 NotebookExecution&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
238 template<
typename NotebookS3LocationT = NotebookS3LocationForOutput>
239 void SetNotebookS3Location(NotebookS3LocationT&& value) { m_notebookS3LocationHasBeenSet =
true; m_notebookS3Location = std::forward<NotebookS3LocationT>(value); }
240 template<
typename NotebookS3LocationT = NotebookS3LocationForOutput>
250 template<
typename OutputNotebookS3LocationT = OutputNotebookS3LocationForOutput>
251 void SetOutputNotebookS3Location(OutputNotebookS3LocationT&& value) { m_outputNotebookS3LocationHasBeenSet =
true; m_outputNotebookS3Location = std::forward<OutputNotebookS3LocationT>(value); }
252 template<
typename OutputNotebookS3LocationT = OutputNotebookS3LocationForOutput>
272 template<
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
273 void SetEnvironmentVariables(EnvironmentVariablesT&& value) { m_environmentVariablesHasBeenSet =
true; m_environmentVariables = std::forward<EnvironmentVariablesT>(value); }
274 template<
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
276 template<
typename EnvironmentVariablesKeyT = Aws::String,
typename EnvironmentVariablesValueT = Aws::String>
278 m_environmentVariablesHasBeenSet =
true; m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
return *
this;
284 bool m_notebookExecutionIdHasBeenSet =
false;
287 bool m_editorIdHasBeenSet =
false;
290 bool m_executionEngineHasBeenSet =
false;
293 bool m_notebookExecutionNameHasBeenSet =
false;
296 bool m_notebookParamsHasBeenSet =
false;
299 bool m_statusHasBeenSet =
false;
302 bool m_startTimeHasBeenSet =
false;
305 bool m_endTimeHasBeenSet =
false;
308 bool m_arnHasBeenSet =
false;
311 bool m_outputNotebookURIHasBeenSet =
false;
314 bool m_lastStateChangeReasonHasBeenSet =
false;
317 bool m_notebookInstanceSecurityGroupIdHasBeenSet =
false;
320 bool m_tagsHasBeenSet =
false;
322 NotebookS3LocationForOutput m_notebookS3Location;
323 bool m_notebookS3LocationHasBeenSet =
false;
325 OutputNotebookS3LocationForOutput m_outputNotebookS3Location;
326 bool m_outputNotebookS3LocationHasBeenSet =
false;
329 bool m_outputNotebookFormatHasBeenSet =
false;
332 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