AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartNotebookExecutionRequest.h
1
6#pragma once
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>
17#include <utility>
18
19namespace Aws
20{
21namespace EMR
22{
23namespace Model
24{
25
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "StartNotebookExecution"; }
38
39 AWS_EMR_API Aws::String SerializePayload() const override;
40
42
43
45
49 inline const Aws::String& GetEditorId() const{ return m_editorId; }
50 inline bool EditorIdHasBeenSet() const { return m_editorIdHasBeenSet; }
51 inline void SetEditorId(const Aws::String& value) { m_editorIdHasBeenSet = true; m_editorId = value; }
52 inline void SetEditorId(Aws::String&& value) { m_editorIdHasBeenSet = true; m_editorId = std::move(value); }
53 inline void SetEditorId(const char* value) { m_editorIdHasBeenSet = true; m_editorId.assign(value); }
54 inline StartNotebookExecutionRequest& WithEditorId(const Aws::String& value) { SetEditorId(value); return *this;}
55 inline StartNotebookExecutionRequest& WithEditorId(Aws::String&& value) { SetEditorId(std::move(value)); return *this;}
56 inline StartNotebookExecutionRequest& WithEditorId(const char* value) { SetEditorId(value); return *this;}
58
60
71 inline const Aws::String& GetRelativePath() const{ return m_relativePath; }
72 inline bool RelativePathHasBeenSet() const { return m_relativePathHasBeenSet; }
73 inline void SetRelativePath(const Aws::String& value) { m_relativePathHasBeenSet = true; m_relativePath = value; }
74 inline void SetRelativePath(Aws::String&& value) { m_relativePathHasBeenSet = true; m_relativePath = std::move(value); }
75 inline void SetRelativePath(const char* value) { m_relativePathHasBeenSet = true; m_relativePath.assign(value); }
76 inline StartNotebookExecutionRequest& WithRelativePath(const Aws::String& value) { SetRelativePath(value); return *this;}
77 inline StartNotebookExecutionRequest& WithRelativePath(Aws::String&& value) { SetRelativePath(std::move(value)); return *this;}
78 inline StartNotebookExecutionRequest& WithRelativePath(const char* value) { SetRelativePath(value); return *this;}
80
82
85 inline const Aws::String& GetNotebookExecutionName() const{ return m_notebookExecutionName; }
86 inline bool NotebookExecutionNameHasBeenSet() const { return m_notebookExecutionNameHasBeenSet; }
87 inline void SetNotebookExecutionName(const Aws::String& value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName = value; }
88 inline void SetNotebookExecutionName(Aws::String&& value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName = std::move(value); }
89 inline void SetNotebookExecutionName(const char* value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName.assign(value); }
92 inline StartNotebookExecutionRequest& WithNotebookExecutionName(const char* value) { SetNotebookExecutionName(value); return *this;}
94
96
100 inline const Aws::String& GetNotebookParams() const{ return m_notebookParams; }
101 inline bool NotebookParamsHasBeenSet() const { return m_notebookParamsHasBeenSet; }
102 inline void SetNotebookParams(const Aws::String& value) { m_notebookParamsHasBeenSet = true; m_notebookParams = value; }
103 inline void SetNotebookParams(Aws::String&& value) { m_notebookParamsHasBeenSet = true; m_notebookParams = std::move(value); }
104 inline void SetNotebookParams(const char* value) { m_notebookParamsHasBeenSet = true; m_notebookParams.assign(value); }
106 inline StartNotebookExecutionRequest& WithNotebookParams(Aws::String&& value) { SetNotebookParams(std::move(value)); return *this;}
107 inline StartNotebookExecutionRequest& WithNotebookParams(const char* value) { SetNotebookParams(value); return *this;}
109
111
115 inline const ExecutionEngineConfig& GetExecutionEngine() const{ return m_executionEngine; }
116 inline bool ExecutionEngineHasBeenSet() const { return m_executionEngineHasBeenSet; }
117 inline void SetExecutionEngine(const ExecutionEngineConfig& value) { m_executionEngineHasBeenSet = true; m_executionEngine = value; }
118 inline void SetExecutionEngine(ExecutionEngineConfig&& value) { m_executionEngineHasBeenSet = true; m_executionEngine = std::move(value); }
122
124
128 inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
129 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
130 inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; }
131 inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); }
132 inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); }
133 inline StartNotebookExecutionRequest& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;}
134 inline StartNotebookExecutionRequest& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
135 inline StartNotebookExecutionRequest& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
137
139
143 inline const Aws::String& GetNotebookInstanceSecurityGroupId() const{ return m_notebookInstanceSecurityGroupId; }
144 inline bool NotebookInstanceSecurityGroupIdHasBeenSet() const { return m_notebookInstanceSecurityGroupIdHasBeenSet; }
145 inline void SetNotebookInstanceSecurityGroupId(const Aws::String& value) { m_notebookInstanceSecurityGroupIdHasBeenSet = true; m_notebookInstanceSecurityGroupId = value; }
146 inline void SetNotebookInstanceSecurityGroupId(Aws::String&& value) { m_notebookInstanceSecurityGroupIdHasBeenSet = true; m_notebookInstanceSecurityGroupId = std::move(value); }
147 inline void SetNotebookInstanceSecurityGroupId(const char* value) { m_notebookInstanceSecurityGroupIdHasBeenSet = true; m_notebookInstanceSecurityGroupId.assign(value); }
152
154
159 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
160 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
161 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
162 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
163 inline StartNotebookExecutionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
164 inline StartNotebookExecutionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
165 inline StartNotebookExecutionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
166 inline StartNotebookExecutionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
168
170
173 inline const NotebookS3LocationFromInput& GetNotebookS3Location() const{ return m_notebookS3Location; }
174 inline bool NotebookS3LocationHasBeenSet() const { return m_notebookS3LocationHasBeenSet; }
175 inline void SetNotebookS3Location(const NotebookS3LocationFromInput& value) { m_notebookS3LocationHasBeenSet = true; m_notebookS3Location = value; }
176 inline void SetNotebookS3Location(NotebookS3LocationFromInput&& value) { m_notebookS3LocationHasBeenSet = true; m_notebookS3Location = std::move(value); }
180
182
185 inline const OutputNotebookS3LocationFromInput& GetOutputNotebookS3Location() const{ return m_outputNotebookS3Location; }
186 inline bool OutputNotebookS3LocationHasBeenSet() const { return m_outputNotebookS3LocationHasBeenSet; }
187 inline void SetOutputNotebookS3Location(const OutputNotebookS3LocationFromInput& value) { m_outputNotebookS3LocationHasBeenSet = true; m_outputNotebookS3Location = value; }
188 inline void SetOutputNotebookS3Location(OutputNotebookS3LocationFromInput&& value) { m_outputNotebookS3LocationHasBeenSet = true; m_outputNotebookS3Location = std::move(value); }
192
194
197 inline const OutputNotebookFormat& GetOutputNotebookFormat() const{ return m_outputNotebookFormat; }
198 inline bool OutputNotebookFormatHasBeenSet() const { return m_outputNotebookFormatHasBeenSet; }
199 inline void SetOutputNotebookFormat(const OutputNotebookFormat& value) { m_outputNotebookFormatHasBeenSet = true; m_outputNotebookFormat = value; }
200 inline void SetOutputNotebookFormat(OutputNotebookFormat&& value) { m_outputNotebookFormatHasBeenSet = true; m_outputNotebookFormat = std::move(value); }
204
206
209 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const{ return m_environmentVariables; }
210 inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
211 inline void SetEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = value; }
212 inline void SetEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::move(value); }
215 inline StartNotebookExecutionRequest& AddEnvironmentVariables(const Aws::String& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
216 inline StartNotebookExecutionRequest& AddEnvironmentVariables(Aws::String&& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
217 inline StartNotebookExecutionRequest& AddEnvironmentVariables(const Aws::String& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
218 inline StartNotebookExecutionRequest& AddEnvironmentVariables(Aws::String&& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), std::move(value)); return *this; }
219 inline StartNotebookExecutionRequest& AddEnvironmentVariables(const char* key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
220 inline StartNotebookExecutionRequest& AddEnvironmentVariables(Aws::String&& key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
221 inline StartNotebookExecutionRequest& AddEnvironmentVariables(const char* key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
223 private:
224
225 Aws::String m_editorId;
226 bool m_editorIdHasBeenSet = false;
227
228 Aws::String m_relativePath;
229 bool m_relativePathHasBeenSet = false;
230
231 Aws::String m_notebookExecutionName;
232 bool m_notebookExecutionNameHasBeenSet = false;
233
234 Aws::String m_notebookParams;
235 bool m_notebookParamsHasBeenSet = false;
236
237 ExecutionEngineConfig m_executionEngine;
238 bool m_executionEngineHasBeenSet = false;
239
240 Aws::String m_serviceRole;
241 bool m_serviceRoleHasBeenSet = false;
242
243 Aws::String m_notebookInstanceSecurityGroupId;
244 bool m_notebookInstanceSecurityGroupIdHasBeenSet = false;
245
246 Aws::Vector<Tag> m_tags;
247 bool m_tagsHasBeenSet = false;
248
249 NotebookS3LocationFromInput m_notebookS3Location;
250 bool m_notebookS3LocationHasBeenSet = false;
251
252 OutputNotebookS3LocationFromInput m_outputNotebookS3Location;
253 bool m_outputNotebookS3LocationHasBeenSet = false;
254
255 OutputNotebookFormat m_outputNotebookFormat;
256 bool m_outputNotebookFormatHasBeenSet = false;
257
258 Aws::Map<Aws::String, Aws::String> m_environmentVariables;
259 bool m_environmentVariablesHasBeenSet = false;
260 };
261
262} // namespace Model
263} // namespace EMR
264} // namespace Aws
StartNotebookExecutionRequest & WithNotebookExecutionName(const Aws::String &value)
StartNotebookExecutionRequest & WithServiceRole(const Aws::String &value)
StartNotebookExecutionRequest & WithNotebookParams(const char *value)
StartNotebookExecutionRequest & WithRelativePath(const char *value)
void SetNotebookS3Location(const NotebookS3LocationFromInput &value)
StartNotebookExecutionRequest & WithEditorId(const Aws::String &value)
StartNotebookExecutionRequest & AddEnvironmentVariables(const char *key, Aws::String &&value)
StartNotebookExecutionRequest & WithOutputNotebookFormat(const OutputNotebookFormat &value)
StartNotebookExecutionRequest & WithNotebookInstanceSecurityGroupId(const Aws::String &value)
void SetOutputNotebookFormat(const OutputNotebookFormat &value)
void SetOutputNotebookS3Location(const OutputNotebookS3LocationFromInput &value)
const OutputNotebookS3LocationFromInput & GetOutputNotebookS3Location() const
StartNotebookExecutionRequest & WithOutputNotebookFormat(OutputNotebookFormat &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
StartNotebookExecutionRequest & WithExecutionEngine(const ExecutionEngineConfig &value)
const NotebookS3LocationFromInput & GetNotebookS3Location() const
StartNotebookExecutionRequest & WithServiceRole(const char *value)
StartNotebookExecutionRequest & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
StartNotebookExecutionRequest & WithEditorId(const char *value)
StartNotebookExecutionRequest & AddEnvironmentVariables(Aws::String &&key, const char *value)
StartNotebookExecutionRequest & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
StartNotebookExecutionRequest & WithServiceRole(Aws::String &&value)
StartNotebookExecutionRequest & WithNotebookS3Location(const NotebookS3LocationFromInput &value)
StartNotebookExecutionRequest & AddEnvironmentVariables(const char *key, const char *value)
StartNotebookExecutionRequest & WithNotebookInstanceSecurityGroupId(Aws::String &&value)
StartNotebookExecutionRequest & WithRelativePath(Aws::String &&value)
StartNotebookExecutionRequest & WithNotebookExecutionName(const char *value)
virtual const char * GetServiceRequestName() const override
StartNotebookExecutionRequest & WithTags(Aws::Vector< Tag > &&value)
StartNotebookExecutionRequest & WithOutputNotebookS3Location(const OutputNotebookS3LocationFromInput &value)
StartNotebookExecutionRequest & AddTags(Tag &&value)
StartNotebookExecutionRequest & WithTags(const Aws::Vector< Tag > &value)
StartNotebookExecutionRequest & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
void SetExecutionEngine(const ExecutionEngineConfig &value)
void SetOutputNotebookS3Location(OutputNotebookS3LocationFromInput &&value)
StartNotebookExecutionRequest & WithNotebookExecutionName(Aws::String &&value)
void SetNotebookS3Location(NotebookS3LocationFromInput &&value)
StartNotebookExecutionRequest & WithExecutionEngine(ExecutionEngineConfig &&value)
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
StartNotebookExecutionRequest & WithEditorId(Aws::String &&value)
StartNotebookExecutionRequest & WithRelativePath(const Aws::String &value)
StartNotebookExecutionRequest & AddTags(const Tag &value)
StartNotebookExecutionRequest & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
StartNotebookExecutionRequest & WithOutputNotebookS3Location(OutputNotebookS3LocationFromInput &&value)
StartNotebookExecutionRequest & WithNotebookInstanceSecurityGroupId(const char *value)
StartNotebookExecutionRequest & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
AWS_EMR_API Aws::String SerializePayload() const override
StartNotebookExecutionRequest & WithNotebookParams(const Aws::String &value)
StartNotebookExecutionRequest & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
const OutputNotebookFormat & GetOutputNotebookFormat() const
StartNotebookExecutionRequest & WithNotebookS3Location(NotebookS3LocationFromInput &&value)
StartNotebookExecutionRequest & WithNotebookParams(Aws::String &&value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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