7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/EMRRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticmapreduce/model/ExecutionEngineConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticmapreduce/model/NotebookS3LocationFromInput.h>
13#include <aws/elasticmapreduce/model/OutputNotebookS3LocationFromInput.h>
14#include <aws/elasticmapreduce/model/OutputNotebookFormat.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/elasticmapreduce/model/Tag.h>
51 template<
typename EditorIdT = Aws::String>
52 void SetEditorId(EditorIdT&& value) { m_editorIdHasBeenSet =
true; m_editorId = std::forward<EditorIdT>(value); }
53 template<
typename EditorIdT = Aws::String>
71 template<
typename RelativePathT = Aws::String>
72 void SetRelativePath(RelativePathT&& value) { m_relativePathHasBeenSet =
true; m_relativePath = std::forward<RelativePathT>(value); }
73 template<
typename RelativePathT = Aws::String>
83 template<
typename NotebookExecutionNameT = Aws::String>
84 void SetNotebookExecutionName(NotebookExecutionNameT&& value) { m_notebookExecutionNameHasBeenSet =
true; m_notebookExecutionName = std::forward<NotebookExecutionNameT>(value); }
85 template<
typename NotebookExecutionNameT = Aws::String>
96 template<
typename NotebookParamsT = Aws::String>
97 void SetNotebookParams(NotebookParamsT&& value) { m_notebookParamsHasBeenSet =
true; m_notebookParams = std::forward<NotebookParamsT>(value); }
98 template<
typename NotebookParamsT = Aws::String>
109 template<
typename ExecutionEngineT = ExecutionEngineConfig>
110 void SetExecutionEngine(ExecutionEngineT&& value) { m_executionEngineHasBeenSet =
true; m_executionEngine = std::forward<ExecutionEngineT>(value); }
111 template<
typename ExecutionEngineT = ExecutionEngineConfig>
122 template<
typename ServiceRoleT = Aws::String>
123 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet =
true; m_serviceRole = std::forward<ServiceRoleT>(value); }
124 template<
typename ServiceRoleT = Aws::String>
135 template<
typename NotebookInstanceSecurityGroupIdT = Aws::String>
136 void SetNotebookInstanceSecurityGroupId(NotebookInstanceSecurityGroupIdT&& value) { m_notebookInstanceSecurityGroupIdHasBeenSet =
true; m_notebookInstanceSecurityGroupId = std::forward<NotebookInstanceSecurityGroupIdT>(value); }
137 template<
typename NotebookInstanceSecurityGroupIdT = Aws::String>
149 template<
typename TagsT = Aws::Vector<Tag>>
150 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
151 template<
typename TagsT = Aws::Vector<Tag>>
153 template<
typename TagsT = Tag>
163 template<
typename NotebookS3LocationT = NotebookS3LocationFromInput>
164 void SetNotebookS3Location(NotebookS3LocationT&& value) { m_notebookS3LocationHasBeenSet =
true; m_notebookS3Location = std::forward<NotebookS3LocationT>(value); }
165 template<
typename NotebookS3LocationT = NotebookS3LocationFromInput>
175 template<
typename OutputNotebookS3LocationT = OutputNotebookS3LocationFromInput>
176 void SetOutputNotebookS3Location(OutputNotebookS3LocationT&& value) { m_outputNotebookS3LocationHasBeenSet =
true; m_outputNotebookS3Location = std::forward<OutputNotebookS3LocationT>(value); }
177 template<
typename OutputNotebookS3LocationT = OutputNotebookS3LocationFromInput>
197 template<
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
198 void SetEnvironmentVariables(EnvironmentVariablesT&& value) { m_environmentVariablesHasBeenSet =
true; m_environmentVariables = std::forward<EnvironmentVariablesT>(value); }
199 template<
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
201 template<
typename EnvironmentVariablesKeyT = Aws::String,
typename EnvironmentVariablesValueT = Aws::String>
203 m_environmentVariablesHasBeenSet =
true; m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
return *
this;
209 bool m_editorIdHasBeenSet =
false;
212 bool m_relativePathHasBeenSet =
false;
215 bool m_notebookExecutionNameHasBeenSet =
false;
218 bool m_notebookParamsHasBeenSet =
false;
221 bool m_executionEngineHasBeenSet =
false;
224 bool m_serviceRoleHasBeenSet =
false;
227 bool m_notebookInstanceSecurityGroupIdHasBeenSet =
false;
230 bool m_tagsHasBeenSet =
false;
233 bool m_notebookS3LocationHasBeenSet =
false;
236 bool m_outputNotebookS3LocationHasBeenSet =
false;
239 bool m_outputNotebookFormatHasBeenSet =
false;
242 bool m_environmentVariablesHasBeenSet =
false;
void SetServiceRole(ServiceRoleT &&value)
bool OutputNotebookS3LocationHasBeenSet() const
StartNotebookExecutionRequest & WithEnvironmentVariables(EnvironmentVariablesT &&value)
void SetEditorId(EditorIdT &&value)
StartNotebookExecutionRequest & WithServiceRole(ServiceRoleT &&value)
const Aws::String & GetRelativePath() const
const OutputNotebookS3LocationFromInput & GetOutputNotebookS3Location() const
bool ServiceRoleHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetExecutionEngine(ExecutionEngineT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
const Aws::String & GetNotebookInstanceSecurityGroupId() const
bool NotebookInstanceSecurityGroupIdHasBeenSet() const
const NotebookS3LocationFromInput & GetNotebookS3Location() const
void SetNotebookParams(NotebookParamsT &&value)
bool EditorIdHasBeenSet() const
StartNotebookExecutionRequest & WithEditorId(EditorIdT &&value)
const Aws::String & GetNotebookParams() const
StartNotebookExecutionRequest & WithExecutionEngine(ExecutionEngineT &&value)
StartNotebookExecutionRequest & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
bool NotebookExecutionNameHasBeenSet() const
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
void SetNotebookS3Location(NotebookS3LocationT &&value)
bool OutputNotebookFormatHasBeenSet() const
StartNotebookExecutionRequest & AddTags(TagsT &&value)
bool ExecutionEngineHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetNotebookExecutionName(NotebookExecutionNameT &&value)
const ExecutionEngineConfig & GetExecutionEngine() const
const Aws::String & GetServiceRole() const
StartNotebookExecutionRequest & WithTags(TagsT &&value)
const Aws::String & GetNotebookExecutionName() const
AWS_EMR_API StartNotebookExecutionRequest()=default
StartNotebookExecutionRequest & WithNotebookS3Location(NotebookS3LocationT &&value)
bool NotebookS3LocationHasBeenSet() const
StartNotebookExecutionRequest & WithNotebookParams(NotebookParamsT &&value)
void SetTags(TagsT &&value)
StartNotebookExecutionRequest & WithOutputNotebookFormat(OutputNotebookFormat value)
StartNotebookExecutionRequest & WithRelativePath(RelativePathT &&value)
StartNotebookExecutionRequest & WithNotebookInstanceSecurityGroupId(NotebookInstanceSecurityGroupIdT &&value)
AWS_EMR_API Aws::String SerializePayload() const override
void SetRelativePath(RelativePathT &&value)
OutputNotebookFormat GetOutputNotebookFormat() const
void SetOutputNotebookS3Location(OutputNotebookS3LocationT &&value)
bool NotebookParamsHasBeenSet() const
void SetNotebookInstanceSecurityGroupId(NotebookInstanceSecurityGroupIdT &&value)
const Aws::String & GetEditorId() const
bool EnvironmentVariablesHasBeenSet() const
bool TagsHasBeenSet() const
void SetOutputNotebookFormat(OutputNotebookFormat value)
StartNotebookExecutionRequest & WithOutputNotebookS3Location(OutputNotebookS3LocationT &&value)
bool RelativePathHasBeenSet() const
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartNotebookExecutionRequest & WithNotebookExecutionName(NotebookExecutionNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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