AWS SDK for C++  1.9.21
AWS SDK for C++
StartNotebookExecutionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace EMR
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "StartNotebookExecution"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetEditorId() const{ return m_editorId; }
44 
48  inline bool EditorIdHasBeenSet() const { return m_editorIdHasBeenSet; }
49 
53  inline void SetEditorId(const Aws::String& value) { m_editorIdHasBeenSet = true; m_editorId = value; }
54 
58  inline void SetEditorId(Aws::String&& value) { m_editorIdHasBeenSet = true; m_editorId = std::move(value); }
59 
63  inline void SetEditorId(const char* value) { m_editorIdHasBeenSet = true; m_editorId.assign(value); }
64 
68  inline StartNotebookExecutionRequest& WithEditorId(const Aws::String& value) { SetEditorId(value); return *this;}
69 
73  inline StartNotebookExecutionRequest& WithEditorId(Aws::String&& value) { SetEditorId(std::move(value)); return *this;}
74 
78  inline StartNotebookExecutionRequest& WithEditorId(const char* value) { SetEditorId(value); return *this;}
79 
80 
92  inline const Aws::String& GetRelativePath() const{ return m_relativePath; }
93 
105  inline bool RelativePathHasBeenSet() const { return m_relativePathHasBeenSet; }
106 
118  inline void SetRelativePath(const Aws::String& value) { m_relativePathHasBeenSet = true; m_relativePath = value; }
119 
131  inline void SetRelativePath(Aws::String&& value) { m_relativePathHasBeenSet = true; m_relativePath = std::move(value); }
132 
144  inline void SetRelativePath(const char* value) { m_relativePathHasBeenSet = true; m_relativePath.assign(value); }
145 
157  inline StartNotebookExecutionRequest& WithRelativePath(const Aws::String& value) { SetRelativePath(value); return *this;}
158 
170  inline StartNotebookExecutionRequest& WithRelativePath(Aws::String&& value) { SetRelativePath(std::move(value)); return *this;}
171 
183  inline StartNotebookExecutionRequest& WithRelativePath(const char* value) { SetRelativePath(value); return *this;}
184 
185 
189  inline const Aws::String& GetNotebookExecutionName() const{ return m_notebookExecutionName; }
190 
194  inline bool NotebookExecutionNameHasBeenSet() const { return m_notebookExecutionNameHasBeenSet; }
195 
199  inline void SetNotebookExecutionName(const Aws::String& value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName = value; }
200 
204  inline void SetNotebookExecutionName(Aws::String&& value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName = std::move(value); }
205 
209  inline void SetNotebookExecutionName(const char* value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName.assign(value); }
210 
214  inline StartNotebookExecutionRequest& WithNotebookExecutionName(const Aws::String& value) { SetNotebookExecutionName(value); return *this;}
215 
219  inline StartNotebookExecutionRequest& WithNotebookExecutionName(Aws::String&& value) { SetNotebookExecutionName(std::move(value)); return *this;}
220 
224  inline StartNotebookExecutionRequest& WithNotebookExecutionName(const char* value) { SetNotebookExecutionName(value); return *this;}
225 
226 
231  inline const Aws::String& GetNotebookParams() const{ return m_notebookParams; }
232 
237  inline bool NotebookParamsHasBeenSet() const { return m_notebookParamsHasBeenSet; }
238 
243  inline void SetNotebookParams(const Aws::String& value) { m_notebookParamsHasBeenSet = true; m_notebookParams = value; }
244 
249  inline void SetNotebookParams(Aws::String&& value) { m_notebookParamsHasBeenSet = true; m_notebookParams = std::move(value); }
250 
255  inline void SetNotebookParams(const char* value) { m_notebookParamsHasBeenSet = true; m_notebookParams.assign(value); }
256 
261  inline StartNotebookExecutionRequest& WithNotebookParams(const Aws::String& value) { SetNotebookParams(value); return *this;}
262 
267  inline StartNotebookExecutionRequest& WithNotebookParams(Aws::String&& value) { SetNotebookParams(std::move(value)); return *this;}
268 
273  inline StartNotebookExecutionRequest& WithNotebookParams(const char* value) { SetNotebookParams(value); return *this;}
274 
275 
280  inline const ExecutionEngineConfig& GetExecutionEngine() const{ return m_executionEngine; }
281 
286  inline bool ExecutionEngineHasBeenSet() const { return m_executionEngineHasBeenSet; }
287 
292  inline void SetExecutionEngine(const ExecutionEngineConfig& value) { m_executionEngineHasBeenSet = true; m_executionEngine = value; }
293 
298  inline void SetExecutionEngine(ExecutionEngineConfig&& value) { m_executionEngineHasBeenSet = true; m_executionEngine = std::move(value); }
299 
304  inline StartNotebookExecutionRequest& WithExecutionEngine(const ExecutionEngineConfig& value) { SetExecutionEngine(value); return *this;}
305 
310  inline StartNotebookExecutionRequest& WithExecutionEngine(ExecutionEngineConfig&& value) { SetExecutionEngine(std::move(value)); return *this;}
311 
312 
317  inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
318 
323  inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
324 
329  inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; }
330 
335  inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); }
336 
341  inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); }
342 
347  inline StartNotebookExecutionRequest& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;}
348 
353  inline StartNotebookExecutionRequest& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
354 
359  inline StartNotebookExecutionRequest& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
360 
361 
366  inline const Aws::String& GetNotebookInstanceSecurityGroupId() const{ return m_notebookInstanceSecurityGroupId; }
367 
372  inline bool NotebookInstanceSecurityGroupIdHasBeenSet() const { return m_notebookInstanceSecurityGroupIdHasBeenSet; }
373 
378  inline void SetNotebookInstanceSecurityGroupId(const Aws::String& value) { m_notebookInstanceSecurityGroupIdHasBeenSet = true; m_notebookInstanceSecurityGroupId = value; }
379 
384  inline void SetNotebookInstanceSecurityGroupId(Aws::String&& value) { m_notebookInstanceSecurityGroupIdHasBeenSet = true; m_notebookInstanceSecurityGroupId = std::move(value); }
385 
390  inline void SetNotebookInstanceSecurityGroupId(const char* value) { m_notebookInstanceSecurityGroupIdHasBeenSet = true; m_notebookInstanceSecurityGroupId.assign(value); }
391 
396  inline StartNotebookExecutionRequest& WithNotebookInstanceSecurityGroupId(const Aws::String& value) { SetNotebookInstanceSecurityGroupId(value); return *this;}
397 
402  inline StartNotebookExecutionRequest& WithNotebookInstanceSecurityGroupId(Aws::String&& value) { SetNotebookInstanceSecurityGroupId(std::move(value)); return *this;}
403 
408  inline StartNotebookExecutionRequest& WithNotebookInstanceSecurityGroupId(const char* value) { SetNotebookInstanceSecurityGroupId(value); return *this;}
409 
410 
416  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
417 
423  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
424 
430  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
431 
437  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
438 
444  inline StartNotebookExecutionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
445 
451  inline StartNotebookExecutionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
452 
458  inline StartNotebookExecutionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
459 
465  inline StartNotebookExecutionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
466 
467  private:
468 
469  Aws::String m_editorId;
470  bool m_editorIdHasBeenSet;
471 
472  Aws::String m_relativePath;
473  bool m_relativePathHasBeenSet;
474 
475  Aws::String m_notebookExecutionName;
476  bool m_notebookExecutionNameHasBeenSet;
477 
478  Aws::String m_notebookParams;
479  bool m_notebookParamsHasBeenSet;
480 
481  ExecutionEngineConfig m_executionEngine;
482  bool m_executionEngineHasBeenSet;
483 
484  Aws::String m_serviceRole;
485  bool m_serviceRoleHasBeenSet;
486 
487  Aws::String m_notebookInstanceSecurityGroupId;
488  bool m_notebookInstanceSecurityGroupIdHasBeenSet;
489 
490  Aws::Vector<Tag> m_tags;
491  bool m_tagsHasBeenSet;
492  };
493 
494 } // namespace Model
495 } // namespace EMR
496 } // namespace Aws
Aws::EMR::Model::StartNotebookExecutionRequest::SetNotebookInstanceSecurityGroupId
void SetNotebookInstanceSecurityGroupId(const Aws::String &value)
Definition: StartNotebookExecutionRequest.h:378
Aws::EMR::Model::StartNotebookExecutionRequest::WithNotebookParams
StartNotebookExecutionRequest & WithNotebookParams(const Aws::String &value)
Definition: StartNotebookExecutionRequest.h:261
Aws::EMR::Model::StartNotebookExecutionRequest::NotebookParamsHasBeenSet
bool NotebookParamsHasBeenSet() const
Definition: StartNotebookExecutionRequest.h:237
Aws::EMR::Model::StartNotebookExecutionRequest
Definition: StartNotebookExecutionRequest.h:25
Aws::EMR::Model::StartNotebookExecutionRequest::WithServiceRole
StartNotebookExecutionRequest & WithServiceRole(Aws::String &&value)
Definition: StartNotebookExecutionRequest.h:353
Aws::EMR::Model::StartNotebookExecutionRequest::RelativePathHasBeenSet
bool RelativePathHasBeenSet() const
Definition: StartNotebookExecutionRequest.h:105
Aws::EMR::Model::StartNotebookExecutionRequest::WithEditorId
StartNotebookExecutionRequest & WithEditorId(Aws::String &&value)
Definition: StartNotebookExecutionRequest.h:73
Aws::EMR::Model::StartNotebookExecutionRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: StartNotebookExecutionRequest.h:416
Aws::EMR::Model::StartNotebookExecutionRequest::GetServiceRole
const Aws::String & GetServiceRole() const
Definition: StartNotebookExecutionRequest.h:317
Aws::EMR::Model::StartNotebookExecutionRequest::WithNotebookParams
StartNotebookExecutionRequest & WithNotebookParams(const char *value)
Definition: StartNotebookExecutionRequest.h:273
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::EMR::Model::StartNotebookExecutionRequest::SetNotebookInstanceSecurityGroupId
void SetNotebookInstanceSecurityGroupId(const char *value)
Definition: StartNotebookExecutionRequest.h:390
Aws::EMR::Model::StartNotebookExecutionRequest::SetEditorId
void SetEditorId(const char *value)
Definition: StartNotebookExecutionRequest.h:63
Aws::EMR::Model::StartNotebookExecutionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartNotebookExecutionRequest.h:33
Aws::EMR::Model::StartNotebookExecutionRequest::WithNotebookExecutionName
StartNotebookExecutionRequest & WithNotebookExecutionName(const char *value)
Definition: StartNotebookExecutionRequest.h:224
Aws::EMR::Model::StartNotebookExecutionRequest::SetServiceRole
void SetServiceRole(Aws::String &&value)
Definition: StartNotebookExecutionRequest.h:335
EMR_EXPORTS.h
EMRRequest.h
Aws::EMR::Model::StartNotebookExecutionRequest::SetNotebookParams
void SetNotebookParams(const char *value)
Definition: StartNotebookExecutionRequest.h:255
Aws::EMR::Model::StartNotebookExecutionRequest::SetNotebookExecutionName
void SetNotebookExecutionName(const char *value)
Definition: StartNotebookExecutionRequest.h:209
Aws::EMR::Model::StartNotebookExecutionRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: StartNotebookExecutionRequest.h:430
Aws::EMR::Model::StartNotebookExecutionRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: StartNotebookExecutionRequest.h:423
Aws::EMR::Model::StartNotebookExecutionRequest::ExecutionEngineHasBeenSet
bool ExecutionEngineHasBeenSet() const
Definition: StartNotebookExecutionRequest.h:286
Aws::EMR::Model::StartNotebookExecutionRequest::WithRelativePath
StartNotebookExecutionRequest & WithRelativePath(Aws::String &&value)
Definition: StartNotebookExecutionRequest.h:170
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EMR::Model::StartNotebookExecutionRequest::WithNotebookParams
StartNotebookExecutionRequest & WithNotebookParams(Aws::String &&value)
Definition: StartNotebookExecutionRequest.h:267
Aws::EMR::Model::StartNotebookExecutionRequest::WithNotebookInstanceSecurityGroupId
StartNotebookExecutionRequest & WithNotebookInstanceSecurityGroupId(const Aws::String &value)
Definition: StartNotebookExecutionRequest.h:396
Aws::EMR::Model::StartNotebookExecutionRequest::WithRelativePath
StartNotebookExecutionRequest & WithRelativePath(const Aws::String &value)
Definition: StartNotebookExecutionRequest.h:157
Aws::EMR::Model::StartNotebookExecutionRequest::SetServiceRole
void SetServiceRole(const Aws::String &value)
Definition: StartNotebookExecutionRequest.h:329
Aws::EMR::Model::StartNotebookExecutionRequest::GetExecutionEngine
const ExecutionEngineConfig & GetExecutionEngine() const
Definition: StartNotebookExecutionRequest.h:280
Aws::EMR::Model::StartNotebookExecutionRequest::GetNotebookExecutionName
const Aws::String & GetNotebookExecutionName() const
Definition: StartNotebookExecutionRequest.h:189
AWSVector.h
Aws::EMR::Model::StartNotebookExecutionRequest::NotebookInstanceSecurityGroupIdHasBeenSet
bool NotebookInstanceSecurityGroupIdHasBeenSet() const
Definition: StartNotebookExecutionRequest.h:372
Tag.h
Aws::EMR::Model::StartNotebookExecutionRequest::GetNotebookParams
const Aws::String & GetNotebookParams() const
Definition: StartNotebookExecutionRequest.h:231
Aws::EMR::Model::StartNotebookExecutionRequest::SetExecutionEngine
void SetExecutionEngine(ExecutionEngineConfig &&value)
Definition: StartNotebookExecutionRequest.h:298
Aws::EMR::Model::StartNotebookExecutionRequest::SetRelativePath
void SetRelativePath(const char *value)
Definition: StartNotebookExecutionRequest.h:144
Aws::EMR::Model::StartNotebookExecutionRequest::SetEditorId
void SetEditorId(Aws::String &&value)
Definition: StartNotebookExecutionRequest.h:58
Aws::EMR::Model::StartNotebookExecutionRequest::SetRelativePath
void SetRelativePath(const Aws::String &value)
Definition: StartNotebookExecutionRequest.h:118
Aws::EMR::Model::StartNotebookExecutionRequest::EditorIdHasBeenSet
bool EditorIdHasBeenSet() const
Definition: StartNotebookExecutionRequest.h:48
Aws::EMR::Model::StartNotebookExecutionRequest::StartNotebookExecutionRequest
StartNotebookExecutionRequest()
Aws::EMR::Model::StartNotebookExecutionRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: StartNotebookExecutionRequest.h:437
Aws::EMR::Model::ExecutionEngineConfig
Definition: ExecutionEngineConfig.h:34
Aws::EMR::Model::StartNotebookExecutionRequest::SetNotebookExecutionName
void SetNotebookExecutionName(Aws::String &&value)
Definition: StartNotebookExecutionRequest.h:204
Aws::EMR::Model::StartNotebookExecutionRequest::WithServiceRole
StartNotebookExecutionRequest & WithServiceRole(const char *value)
Definition: StartNotebookExecutionRequest.h:359
Aws::EMR::Model::StartNotebookExecutionRequest::WithTags
StartNotebookExecutionRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: StartNotebookExecutionRequest.h:444
Aws::EMR::Model::StartNotebookExecutionRequest::SetNotebookInstanceSecurityGroupId
void SetNotebookInstanceSecurityGroupId(Aws::String &&value)
Definition: StartNotebookExecutionRequest.h:384
Aws::EMR::Model::StartNotebookExecutionRequest::SetNotebookParams
void SetNotebookParams(const Aws::String &value)
Definition: StartNotebookExecutionRequest.h:243
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::StartNotebookExecutionRequest::AddTags
StartNotebookExecutionRequest & AddTags(const Tag &value)
Definition: StartNotebookExecutionRequest.h:458
ExecutionEngineConfig.h
Aws::EMR::Model::StartNotebookExecutionRequest::WithNotebookInstanceSecurityGroupId
StartNotebookExecutionRequest & WithNotebookInstanceSecurityGroupId(const char *value)
Definition: StartNotebookExecutionRequest.h:408
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::StartNotebookExecutionRequest::WithTags
StartNotebookExecutionRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: StartNotebookExecutionRequest.h:451
AWSString.h
Aws::EMR::Model::StartNotebookExecutionRequest::SetNotebookParams
void SetNotebookParams(Aws::String &&value)
Definition: StartNotebookExecutionRequest.h:249
Aws::EMR::Model::StartNotebookExecutionRequest::WithEditorId
StartNotebookExecutionRequest & WithEditorId(const Aws::String &value)
Definition: StartNotebookExecutionRequest.h:68
Aws::EMR::Model::Tag
Definition: Tag.h:37
Aws::EMR::Model::StartNotebookExecutionRequest::NotebookExecutionNameHasBeenSet
bool NotebookExecutionNameHasBeenSet() const
Definition: StartNotebookExecutionRequest.h:194
Aws::EMR::Model::StartNotebookExecutionRequest::SetNotebookExecutionName
void SetNotebookExecutionName(const Aws::String &value)
Definition: StartNotebookExecutionRequest.h:199
Aws::EMR::Model::StartNotebookExecutionRequest::SetServiceRole
void SetServiceRole(const char *value)
Definition: StartNotebookExecutionRequest.h:341
Aws::EMR::Model::StartNotebookExecutionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::StartNotebookExecutionRequest::WithExecutionEngine
StartNotebookExecutionRequest & WithExecutionEngine(const ExecutionEngineConfig &value)
Definition: StartNotebookExecutionRequest.h:304
Aws::EMR::Model::StartNotebookExecutionRequest::SetEditorId
void SetEditorId(const Aws::String &value)
Definition: StartNotebookExecutionRequest.h:53
Aws::EMR::Model::StartNotebookExecutionRequest::WithExecutionEngine
StartNotebookExecutionRequest & WithExecutionEngine(ExecutionEngineConfig &&value)
Definition: StartNotebookExecutionRequest.h:310
Aws::EMR::Model::StartNotebookExecutionRequest::WithNotebookInstanceSecurityGroupId
StartNotebookExecutionRequest & WithNotebookInstanceSecurityGroupId(Aws::String &&value)
Definition: StartNotebookExecutionRequest.h:402
Aws::EMR::Model::StartNotebookExecutionRequest::GetNotebookInstanceSecurityGroupId
const Aws::String & GetNotebookInstanceSecurityGroupId() const
Definition: StartNotebookExecutionRequest.h:366
Aws::EMR::Model::StartNotebookExecutionRequest::ServiceRoleHasBeenSet
bool ServiceRoleHasBeenSet() const
Definition: StartNotebookExecutionRequest.h:323
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::StartNotebookExecutionRequest::WithServiceRole
StartNotebookExecutionRequest & WithServiceRole(const Aws::String &value)
Definition: StartNotebookExecutionRequest.h:347
Aws::EMR::Model::StartNotebookExecutionRequest::AddTags
StartNotebookExecutionRequest & AddTags(Tag &&value)
Definition: StartNotebookExecutionRequest.h:465
Aws::EMR::Model::StartNotebookExecutionRequest::WithRelativePath
StartNotebookExecutionRequest & WithRelativePath(const char *value)
Definition: StartNotebookExecutionRequest.h:183
Aws::EMR::Model::StartNotebookExecutionRequest::WithNotebookExecutionName
StartNotebookExecutionRequest & WithNotebookExecutionName(Aws::String &&value)
Definition: StartNotebookExecutionRequest.h:219
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::StartNotebookExecutionRequest::GetRelativePath
const Aws::String & GetRelativePath() const
Definition: StartNotebookExecutionRequest.h:92
Aws::EMR::Model::StartNotebookExecutionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::EMR::Model::StartNotebookExecutionRequest::SetRelativePath
void SetRelativePath(Aws::String &&value)
Definition: StartNotebookExecutionRequest.h:131
Aws::EMR::Model::StartNotebookExecutionRequest::WithNotebookExecutionName
StartNotebookExecutionRequest & WithNotebookExecutionName(const Aws::String &value)
Definition: StartNotebookExecutionRequest.h:214
Aws::EMR::Model::StartNotebookExecutionRequest::WithEditorId
StartNotebookExecutionRequest & WithEditorId(const char *value)
Definition: StartNotebookExecutionRequest.h:78
Aws::EMR::Model::StartNotebookExecutionRequest::GetEditorId
const Aws::String & GetEditorId() const
Definition: StartNotebookExecutionRequest.h:43
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::StartNotebookExecutionRequest::SetExecutionEngine
void SetExecutionEngine(const ExecutionEngineConfig &value)
Definition: StartNotebookExecutionRequest.h:292