/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace EMR { namespace Model { /** */ class StartNotebookExecutionRequest : public EMRRequest { public: AWS_EMR_API StartNotebookExecutionRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StartNotebookExecution"; } AWS_EMR_API Aws::String SerializePayload() const override; AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The unique identifier of the Amazon EMR Notebook to use for notebook * execution.

*/ inline const Aws::String& GetEditorId() const{ return m_editorId; } /** *

The unique identifier of the Amazon EMR Notebook to use for notebook * execution.

*/ inline bool EditorIdHasBeenSet() const { return m_editorIdHasBeenSet; } /** *

The unique identifier of the Amazon EMR Notebook to use for notebook * execution.

*/ inline void SetEditorId(const Aws::String& value) { m_editorIdHasBeenSet = true; m_editorId = value; } /** *

The unique identifier of the Amazon EMR Notebook to use for notebook * execution.

*/ inline void SetEditorId(Aws::String&& value) { m_editorIdHasBeenSet = true; m_editorId = std::move(value); } /** *

The unique identifier of the Amazon EMR Notebook to use for notebook * execution.

*/ inline void SetEditorId(const char* value) { m_editorIdHasBeenSet = true; m_editorId.assign(value); } /** *

The unique identifier of the Amazon EMR Notebook to use for notebook * execution.

*/ inline StartNotebookExecutionRequest& WithEditorId(const Aws::String& value) { SetEditorId(value); return *this;} /** *

The unique identifier of the Amazon EMR Notebook to use for notebook * execution.

*/ inline StartNotebookExecutionRequest& WithEditorId(Aws::String&& value) { SetEditorId(std::move(value)); return *this;} /** *

The unique identifier of the Amazon EMR Notebook to use for notebook * execution.

*/ inline StartNotebookExecutionRequest& WithEditorId(const char* value) { SetEditorId(value); return *this;} /** *

The path and file name of the notebook file for this execution, relative to * the path specified for the Amazon EMR Notebook. For example, if you specify a * path of s3://MyBucket/MyNotebooks when you create an Amazon EMR * Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD * (the EditorID of this request), and you specify a * RelativePath of * my_notebook_executions/notebook_execution.ipynb, the location of * the file for the notebook execution is * s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb.

*/ inline const Aws::String& GetRelativePath() const{ return m_relativePath; } /** *

The path and file name of the notebook file for this execution, relative to * the path specified for the Amazon EMR Notebook. For example, if you specify a * path of s3://MyBucket/MyNotebooks when you create an Amazon EMR * Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD * (the EditorID of this request), and you specify a * RelativePath of * my_notebook_executions/notebook_execution.ipynb, the location of * the file for the notebook execution is * s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb.

*/ inline bool RelativePathHasBeenSet() const { return m_relativePathHasBeenSet; } /** *

The path and file name of the notebook file for this execution, relative to * the path specified for the Amazon EMR Notebook. For example, if you specify a * path of s3://MyBucket/MyNotebooks when you create an Amazon EMR * Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD * (the EditorID of this request), and you specify a * RelativePath of * my_notebook_executions/notebook_execution.ipynb, the location of * the file for the notebook execution is * s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb.

*/ inline void SetRelativePath(const Aws::String& value) { m_relativePathHasBeenSet = true; m_relativePath = value; } /** *

The path and file name of the notebook file for this execution, relative to * the path specified for the Amazon EMR Notebook. For example, if you specify a * path of s3://MyBucket/MyNotebooks when you create an Amazon EMR * Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD * (the EditorID of this request), and you specify a * RelativePath of * my_notebook_executions/notebook_execution.ipynb, the location of * the file for the notebook execution is * s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb.

*/ inline void SetRelativePath(Aws::String&& value) { m_relativePathHasBeenSet = true; m_relativePath = std::move(value); } /** *

The path and file name of the notebook file for this execution, relative to * the path specified for the Amazon EMR Notebook. For example, if you specify a * path of s3://MyBucket/MyNotebooks when you create an Amazon EMR * Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD * (the EditorID of this request), and you specify a * RelativePath of * my_notebook_executions/notebook_execution.ipynb, the location of * the file for the notebook execution is * s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb.

*/ inline void SetRelativePath(const char* value) { m_relativePathHasBeenSet = true; m_relativePath.assign(value); } /** *

The path and file name of the notebook file for this execution, relative to * the path specified for the Amazon EMR Notebook. For example, if you specify a * path of s3://MyBucket/MyNotebooks when you create an Amazon EMR * Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD * (the EditorID of this request), and you specify a * RelativePath of * my_notebook_executions/notebook_execution.ipynb, the location of * the file for the notebook execution is * s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb.

*/ inline StartNotebookExecutionRequest& WithRelativePath(const Aws::String& value) { SetRelativePath(value); return *this;} /** *

The path and file name of the notebook file for this execution, relative to * the path specified for the Amazon EMR Notebook. For example, if you specify a * path of s3://MyBucket/MyNotebooks when you create an Amazon EMR * Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD * (the EditorID of this request), and you specify a * RelativePath of * my_notebook_executions/notebook_execution.ipynb, the location of * the file for the notebook execution is * s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb.

*/ inline StartNotebookExecutionRequest& WithRelativePath(Aws::String&& value) { SetRelativePath(std::move(value)); return *this;} /** *

The path and file name of the notebook file for this execution, relative to * the path specified for the Amazon EMR Notebook. For example, if you specify a * path of s3://MyBucket/MyNotebooks when you create an Amazon EMR * Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD * (the EditorID of this request), and you specify a * RelativePath of * my_notebook_executions/notebook_execution.ipynb, the location of * the file for the notebook execution is * s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb.

*/ inline StartNotebookExecutionRequest& WithRelativePath(const char* value) { SetRelativePath(value); return *this;} /** *

An optional name for the notebook execution.

*/ inline const Aws::String& GetNotebookExecutionName() const{ return m_notebookExecutionName; } /** *

An optional name for the notebook execution.

*/ inline bool NotebookExecutionNameHasBeenSet() const { return m_notebookExecutionNameHasBeenSet; } /** *

An optional name for the notebook execution.

*/ inline void SetNotebookExecutionName(const Aws::String& value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName = value; } /** *

An optional name for the notebook execution.

*/ inline void SetNotebookExecutionName(Aws::String&& value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName = std::move(value); } /** *

An optional name for the notebook execution.

*/ inline void SetNotebookExecutionName(const char* value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName.assign(value); } /** *

An optional name for the notebook execution.

*/ inline StartNotebookExecutionRequest& WithNotebookExecutionName(const Aws::String& value) { SetNotebookExecutionName(value); return *this;} /** *

An optional name for the notebook execution.

*/ inline StartNotebookExecutionRequest& WithNotebookExecutionName(Aws::String&& value) { SetNotebookExecutionName(std::move(value)); return *this;} /** *

An optional name for the notebook execution.

*/ inline StartNotebookExecutionRequest& WithNotebookExecutionName(const char* value) { SetNotebookExecutionName(value); return *this;} /** *

Input parameters in JSON format passed to the Amazon EMR Notebook at runtime * for execution.

*/ inline const Aws::String& GetNotebookParams() const{ return m_notebookParams; } /** *

Input parameters in JSON format passed to the Amazon EMR Notebook at runtime * for execution.

*/ inline bool NotebookParamsHasBeenSet() const { return m_notebookParamsHasBeenSet; } /** *

Input parameters in JSON format passed to the Amazon EMR Notebook at runtime * for execution.

*/ inline void SetNotebookParams(const Aws::String& value) { m_notebookParamsHasBeenSet = true; m_notebookParams = value; } /** *

Input parameters in JSON format passed to the Amazon EMR Notebook at runtime * for execution.

*/ inline void SetNotebookParams(Aws::String&& value) { m_notebookParamsHasBeenSet = true; m_notebookParams = std::move(value); } /** *

Input parameters in JSON format passed to the Amazon EMR Notebook at runtime * for execution.

*/ inline void SetNotebookParams(const char* value) { m_notebookParamsHasBeenSet = true; m_notebookParams.assign(value); } /** *

Input parameters in JSON format passed to the Amazon EMR Notebook at runtime * for execution.

*/ inline StartNotebookExecutionRequest& WithNotebookParams(const Aws::String& value) { SetNotebookParams(value); return *this;} /** *

Input parameters in JSON format passed to the Amazon EMR Notebook at runtime * for execution.

*/ inline StartNotebookExecutionRequest& WithNotebookParams(Aws::String&& value) { SetNotebookParams(std::move(value)); return *this;} /** *

Input parameters in JSON format passed to the Amazon EMR Notebook at runtime * for execution.

*/ inline StartNotebookExecutionRequest& WithNotebookParams(const char* value) { SetNotebookParams(value); return *this;} /** *

Specifies the execution engine (cluster) that runs the notebook * execution.

*/ inline const ExecutionEngineConfig& GetExecutionEngine() const{ return m_executionEngine; } /** *

Specifies the execution engine (cluster) that runs the notebook * execution.

*/ inline bool ExecutionEngineHasBeenSet() const { return m_executionEngineHasBeenSet; } /** *

Specifies the execution engine (cluster) that runs the notebook * execution.

*/ inline void SetExecutionEngine(const ExecutionEngineConfig& value) { m_executionEngineHasBeenSet = true; m_executionEngine = value; } /** *

Specifies the execution engine (cluster) that runs the notebook * execution.

*/ inline void SetExecutionEngine(ExecutionEngineConfig&& value) { m_executionEngineHasBeenSet = true; m_executionEngine = std::move(value); } /** *

Specifies the execution engine (cluster) that runs the notebook * execution.

*/ inline StartNotebookExecutionRequest& WithExecutionEngine(const ExecutionEngineConfig& value) { SetExecutionEngine(value); return *this;} /** *

Specifies the execution engine (cluster) that runs the notebook * execution.

*/ inline StartNotebookExecutionRequest& WithExecutionEngine(ExecutionEngineConfig&& value) { SetExecutionEngine(std::move(value)); return *this;} /** *

The name or ARN of the IAM role that is used as the service role for Amazon * EMR (the Amazon EMR role) for the notebook execution.

*/ inline const Aws::String& GetServiceRole() const{ return m_serviceRole; } /** *

The name or ARN of the IAM role that is used as the service role for Amazon * EMR (the Amazon EMR role) for the notebook execution.

*/ inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; } /** *

The name or ARN of the IAM role that is used as the service role for Amazon * EMR (the Amazon EMR role) for the notebook execution.

*/ inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; } /** *

The name or ARN of the IAM role that is used as the service role for Amazon * EMR (the Amazon EMR role) for the notebook execution.

*/ inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); } /** *

The name or ARN of the IAM role that is used as the service role for Amazon * EMR (the Amazon EMR role) for the notebook execution.

*/ inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); } /** *

The name or ARN of the IAM role that is used as the service role for Amazon * EMR (the Amazon EMR role) for the notebook execution.

*/ inline StartNotebookExecutionRequest& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;} /** *

The name or ARN of the IAM role that is used as the service role for Amazon * EMR (the Amazon EMR role) for the notebook execution.

*/ inline StartNotebookExecutionRequest& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;} /** *

The name or ARN of the IAM role that is used as the service role for Amazon * EMR (the Amazon EMR role) for the notebook execution.

*/ inline StartNotebookExecutionRequest& WithServiceRole(const char* value) { SetServiceRole(value); return *this;} /** *

The unique identifier of the Amazon EC2 security group to associate with the * Amazon EMR Notebook for this notebook execution.

*/ inline const Aws::String& GetNotebookInstanceSecurityGroupId() const{ return m_notebookInstanceSecurityGroupId; } /** *

The unique identifier of the Amazon EC2 security group to associate with the * Amazon EMR Notebook for this notebook execution.

*/ inline bool NotebookInstanceSecurityGroupIdHasBeenSet() const { return m_notebookInstanceSecurityGroupIdHasBeenSet; } /** *

The unique identifier of the Amazon EC2 security group to associate with the * Amazon EMR Notebook for this notebook execution.

*/ inline void SetNotebookInstanceSecurityGroupId(const Aws::String& value) { m_notebookInstanceSecurityGroupIdHasBeenSet = true; m_notebookInstanceSecurityGroupId = value; } /** *

The unique identifier of the Amazon EC2 security group to associate with the * Amazon EMR Notebook for this notebook execution.

*/ inline void SetNotebookInstanceSecurityGroupId(Aws::String&& value) { m_notebookInstanceSecurityGroupIdHasBeenSet = true; m_notebookInstanceSecurityGroupId = std::move(value); } /** *

The unique identifier of the Amazon EC2 security group to associate with the * Amazon EMR Notebook for this notebook execution.

*/ inline void SetNotebookInstanceSecurityGroupId(const char* value) { m_notebookInstanceSecurityGroupIdHasBeenSet = true; m_notebookInstanceSecurityGroupId.assign(value); } /** *

The unique identifier of the Amazon EC2 security group to associate with the * Amazon EMR Notebook for this notebook execution.

*/ inline StartNotebookExecutionRequest& WithNotebookInstanceSecurityGroupId(const Aws::String& value) { SetNotebookInstanceSecurityGroupId(value); return *this;} /** *

The unique identifier of the Amazon EC2 security group to associate with the * Amazon EMR Notebook for this notebook execution.

*/ inline StartNotebookExecutionRequest& WithNotebookInstanceSecurityGroupId(Aws::String&& value) { SetNotebookInstanceSecurityGroupId(std::move(value)); return *this;} /** *

The unique identifier of the Amazon EC2 security group to associate with the * Amazon EMR Notebook for this notebook execution.

*/ inline StartNotebookExecutionRequest& WithNotebookInstanceSecurityGroupId(const char* value) { SetNotebookInstanceSecurityGroupId(value); return *this;} /** *

A list of tags associated with a notebook execution. Tags are user-defined * key-value pairs that consist of a required key string with a maximum of 128 * characters and an optional value string with a maximum of 256 characters.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

A list of tags associated with a notebook execution. Tags are user-defined * key-value pairs that consist of a required key string with a maximum of 128 * characters and an optional value string with a maximum of 256 characters.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

A list of tags associated with a notebook execution. Tags are user-defined * key-value pairs that consist of a required key string with a maximum of 128 * characters and an optional value string with a maximum of 256 characters.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A list of tags associated with a notebook execution. Tags are user-defined * key-value pairs that consist of a required key string with a maximum of 128 * characters and an optional value string with a maximum of 256 characters.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A list of tags associated with a notebook execution. Tags are user-defined * key-value pairs that consist of a required key string with a maximum of 128 * characters and an optional value string with a maximum of 256 characters.

*/ inline StartNotebookExecutionRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

A list of tags associated with a notebook execution. Tags are user-defined * key-value pairs that consist of a required key string with a maximum of 128 * characters and an optional value string with a maximum of 256 characters.

*/ inline StartNotebookExecutionRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

A list of tags associated with a notebook execution. Tags are user-defined * key-value pairs that consist of a required key string with a maximum of 128 * characters and an optional value string with a maximum of 256 characters.

*/ inline StartNotebookExecutionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

A list of tags associated with a notebook execution. Tags are user-defined * key-value pairs that consist of a required key string with a maximum of 128 * characters and an optional value string with a maximum of 256 characters.

*/ inline StartNotebookExecutionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

The Amazon S3 location for the notebook execution input.

*/ inline const NotebookS3LocationFromInput& GetNotebookS3Location() const{ return m_notebookS3Location; } /** *

The Amazon S3 location for the notebook execution input.

*/ inline bool NotebookS3LocationHasBeenSet() const { return m_notebookS3LocationHasBeenSet; } /** *

The Amazon S3 location for the notebook execution input.

*/ inline void SetNotebookS3Location(const NotebookS3LocationFromInput& value) { m_notebookS3LocationHasBeenSet = true; m_notebookS3Location = value; } /** *

The Amazon S3 location for the notebook execution input.

*/ inline void SetNotebookS3Location(NotebookS3LocationFromInput&& value) { m_notebookS3LocationHasBeenSet = true; m_notebookS3Location = std::move(value); } /** *

The Amazon S3 location for the notebook execution input.

*/ inline StartNotebookExecutionRequest& WithNotebookS3Location(const NotebookS3LocationFromInput& value) { SetNotebookS3Location(value); return *this;} /** *

The Amazon S3 location for the notebook execution input.

*/ inline StartNotebookExecutionRequest& WithNotebookS3Location(NotebookS3LocationFromInput&& value) { SetNotebookS3Location(std::move(value)); return *this;} /** *

The Amazon S3 location for the notebook execution output.

*/ inline const OutputNotebookS3LocationFromInput& GetOutputNotebookS3Location() const{ return m_outputNotebookS3Location; } /** *

The Amazon S3 location for the notebook execution output.

*/ inline bool OutputNotebookS3LocationHasBeenSet() const { return m_outputNotebookS3LocationHasBeenSet; } /** *

The Amazon S3 location for the notebook execution output.

*/ inline void SetOutputNotebookS3Location(const OutputNotebookS3LocationFromInput& value) { m_outputNotebookS3LocationHasBeenSet = true; m_outputNotebookS3Location = value; } /** *

The Amazon S3 location for the notebook execution output.

*/ inline void SetOutputNotebookS3Location(OutputNotebookS3LocationFromInput&& value) { m_outputNotebookS3LocationHasBeenSet = true; m_outputNotebookS3Location = std::move(value); } /** *

The Amazon S3 location for the notebook execution output.

*/ inline StartNotebookExecutionRequest& WithOutputNotebookS3Location(const OutputNotebookS3LocationFromInput& value) { SetOutputNotebookS3Location(value); return *this;} /** *

The Amazon S3 location for the notebook execution output.

*/ inline StartNotebookExecutionRequest& WithOutputNotebookS3Location(OutputNotebookS3LocationFromInput&& value) { SetOutputNotebookS3Location(std::move(value)); return *this;} /** *

The output format for the notebook execution.

*/ inline const OutputNotebookFormat& GetOutputNotebookFormat() const{ return m_outputNotebookFormat; } /** *

The output format for the notebook execution.

*/ inline bool OutputNotebookFormatHasBeenSet() const { return m_outputNotebookFormatHasBeenSet; } /** *

The output format for the notebook execution.

*/ inline void SetOutputNotebookFormat(const OutputNotebookFormat& value) { m_outputNotebookFormatHasBeenSet = true; m_outputNotebookFormat = value; } /** *

The output format for the notebook execution.

*/ inline void SetOutputNotebookFormat(OutputNotebookFormat&& value) { m_outputNotebookFormatHasBeenSet = true; m_outputNotebookFormat = std::move(value); } /** *

The output format for the notebook execution.

*/ inline StartNotebookExecutionRequest& WithOutputNotebookFormat(const OutputNotebookFormat& value) { SetOutputNotebookFormat(value); return *this;} /** *

The output format for the notebook execution.

*/ inline StartNotebookExecutionRequest& WithOutputNotebookFormat(OutputNotebookFormat&& value) { SetOutputNotebookFormat(std::move(value)); return *this;} /** *

The environment variables associated with the notebook execution.

*/ inline const Aws::Map& GetEnvironmentVariables() const{ return m_environmentVariables; } /** *

The environment variables associated with the notebook execution.

*/ inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; } /** *

The environment variables associated with the notebook execution.

*/ inline void SetEnvironmentVariables(const Aws::Map& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = value; } /** *

The environment variables associated with the notebook execution.

*/ inline void SetEnvironmentVariables(Aws::Map&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::move(value); } /** *

The environment variables associated with the notebook execution.

*/ inline StartNotebookExecutionRequest& WithEnvironmentVariables(const Aws::Map& value) { SetEnvironmentVariables(value); return *this;} /** *

The environment variables associated with the notebook execution.

*/ inline StartNotebookExecutionRequest& WithEnvironmentVariables(Aws::Map&& value) { SetEnvironmentVariables(std::move(value)); return *this;} /** *

The environment variables associated with the notebook execution.

*/ inline StartNotebookExecutionRequest& AddEnvironmentVariables(const Aws::String& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; } /** *

The environment variables associated with the notebook execution.

*/ inline StartNotebookExecutionRequest& AddEnvironmentVariables(Aws::String&& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; } /** *

The environment variables associated with the notebook execution.

*/ inline StartNotebookExecutionRequest& AddEnvironmentVariables(const Aws::String& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; } /** *

The environment variables associated with the notebook execution.

*/ inline StartNotebookExecutionRequest& AddEnvironmentVariables(Aws::String&& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), std::move(value)); return *this; } /** *

The environment variables associated with the notebook execution.

*/ inline StartNotebookExecutionRequest& AddEnvironmentVariables(const char* key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; } /** *

The environment variables associated with the notebook execution.

*/ inline StartNotebookExecutionRequest& AddEnvironmentVariables(Aws::String&& key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; } /** *

The environment variables associated with the notebook execution.

*/ inline StartNotebookExecutionRequest& AddEnvironmentVariables(const char* key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; } private: Aws::String m_editorId; bool m_editorIdHasBeenSet = false; Aws::String m_relativePath; bool m_relativePathHasBeenSet = false; Aws::String m_notebookExecutionName; bool m_notebookExecutionNameHasBeenSet = false; Aws::String m_notebookParams; bool m_notebookParamsHasBeenSet = false; ExecutionEngineConfig m_executionEngine; bool m_executionEngineHasBeenSet = false; Aws::String m_serviceRole; bool m_serviceRoleHasBeenSet = false; Aws::String m_notebookInstanceSecurityGroupId; bool m_notebookInstanceSecurityGroupIdHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; NotebookS3LocationFromInput m_notebookS3Location; bool m_notebookS3LocationHasBeenSet = false; OutputNotebookS3LocationFromInput m_outputNotebookS3Location; bool m_outputNotebookS3LocationHasBeenSet = false; OutputNotebookFormat m_outputNotebookFormat; bool m_outputNotebookFormatHasBeenSet = false; Aws::Map m_environmentVariables; bool m_environmentVariablesHasBeenSet = false; }; } // namespace Model } // namespace EMR } // namespace Aws