/** * 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 #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace EMR { namespace Model { /** *

A notebook execution. An execution is a specific instance that an Amazon EMR * Notebook is run using the StartNotebookExecution * action.

See Also:

AWS * API Reference

*/ class NotebookExecution { public: AWS_EMR_API NotebookExecution(); AWS_EMR_API NotebookExecution(Aws::Utils::Json::JsonView jsonValue); AWS_EMR_API NotebookExecution& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier of a notebook execution.

*/ inline const Aws::String& GetNotebookExecutionId() const{ return m_notebookExecutionId; } /** *

The unique identifier of a notebook execution.

*/ inline bool NotebookExecutionIdHasBeenSet() const { return m_notebookExecutionIdHasBeenSet; } /** *

The unique identifier of a notebook execution.

*/ inline void SetNotebookExecutionId(const Aws::String& value) { m_notebookExecutionIdHasBeenSet = true; m_notebookExecutionId = value; } /** *

The unique identifier of a notebook execution.

*/ inline void SetNotebookExecutionId(Aws::String&& value) { m_notebookExecutionIdHasBeenSet = true; m_notebookExecutionId = std::move(value); } /** *

The unique identifier of a notebook execution.

*/ inline void SetNotebookExecutionId(const char* value) { m_notebookExecutionIdHasBeenSet = true; m_notebookExecutionId.assign(value); } /** *

The unique identifier of a notebook execution.

*/ inline NotebookExecution& WithNotebookExecutionId(const Aws::String& value) { SetNotebookExecutionId(value); return *this;} /** *

The unique identifier of a notebook execution.

*/ inline NotebookExecution& WithNotebookExecutionId(Aws::String&& value) { SetNotebookExecutionId(std::move(value)); return *this;} /** *

The unique identifier of a notebook execution.

*/ inline NotebookExecution& WithNotebookExecutionId(const char* value) { SetNotebookExecutionId(value); return *this;} /** *

The unique identifier of the Amazon EMR Notebook that is used for the * notebook execution.

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

The unique identifier of the Amazon EMR Notebook that is used for the * notebook execution.

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

The unique identifier of the Amazon EMR Notebook that is used for the * notebook execution.

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

The unique identifier of the Amazon EMR Notebook that is used for the * notebook execution.

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

The unique identifier of the Amazon EMR Notebook that is used for the * notebook execution.

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

The unique identifier of the Amazon EMR Notebook that is used for the * notebook execution.

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

The unique identifier of the Amazon EMR Notebook that is used for the * notebook execution.

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

The unique identifier of the Amazon EMR Notebook that is used for the * notebook execution.

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

The execution engine, such as an Amazon EMR cluster, used to run the Amazon * EMR notebook and perform the notebook execution.

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

The execution engine, such as an Amazon EMR cluster, used to run the Amazon * EMR notebook and perform the notebook execution.

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

The execution engine, such as an Amazon EMR cluster, used to run the Amazon * EMR notebook and perform the notebook execution.

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

The execution engine, such as an Amazon EMR cluster, used to run the Amazon * EMR notebook and perform the notebook execution.

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

The execution engine, such as an Amazon EMR cluster, used to run the Amazon * EMR notebook and perform the notebook execution.

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

The execution engine, such as an Amazon EMR cluster, used to run the Amazon * EMR notebook and perform the notebook execution.

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

A name for the notebook execution.

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

A name for the notebook execution.

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

A name for the notebook execution.

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

A name for the notebook execution.

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

A name for the notebook execution.

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

A name for the notebook execution.

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

A name for the notebook execution.

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

A name for the notebook execution.

*/ inline NotebookExecution& 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 NotebookExecution& 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 NotebookExecution& 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 NotebookExecution& WithNotebookParams(const char* value) { SetNotebookParams(value); return *this;} /** *

The status of the notebook execution.

  • * START_PENDING indicates that the cluster has received the execution * request but execution has not begun.

  • STARTING * indicates that the execution is starting on the cluster.

  • * RUNNING indicates that the execution is being processed by the * cluster.

  • FINISHING indicates that execution * processing is in the final stages.

  • FINISHED * indicates that the execution has completed without error.

  • * FAILING indicates that the execution is failing and will not finish * successfully.

  • FAILED indicates that the * execution failed.

  • STOP_PENDING indicates that * the cluster has received a StopNotebookExecution request and the * stop is pending.

  • STOPPING indicates that the * cluster is in the process of stopping the execution as a result of a * StopNotebookExecution request.

  • * STOPPED indicates that the execution stopped because of a * StopNotebookExecution request.

*/ inline const NotebookExecutionStatus& GetStatus() const{ return m_status; } /** *

The status of the notebook execution.

  • * START_PENDING indicates that the cluster has received the execution * request but execution has not begun.

  • STARTING * indicates that the execution is starting on the cluster.

  • * RUNNING indicates that the execution is being processed by the * cluster.

  • FINISHING indicates that execution * processing is in the final stages.

  • FINISHED * indicates that the execution has completed without error.

  • * FAILING indicates that the execution is failing and will not finish * successfully.

  • FAILED indicates that the * execution failed.

  • STOP_PENDING indicates that * the cluster has received a StopNotebookExecution request and the * stop is pending.

  • STOPPING indicates that the * cluster is in the process of stopping the execution as a result of a * StopNotebookExecution request.

  • * STOPPED indicates that the execution stopped because of a * StopNotebookExecution request.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the notebook execution.

  • * START_PENDING indicates that the cluster has received the execution * request but execution has not begun.

  • STARTING * indicates that the execution is starting on the cluster.

  • * RUNNING indicates that the execution is being processed by the * cluster.

  • FINISHING indicates that execution * processing is in the final stages.

  • FINISHED * indicates that the execution has completed without error.

  • * FAILING indicates that the execution is failing and will not finish * successfully.

  • FAILED indicates that the * execution failed.

  • STOP_PENDING indicates that * the cluster has received a StopNotebookExecution request and the * stop is pending.

  • STOPPING indicates that the * cluster is in the process of stopping the execution as a result of a * StopNotebookExecution request.

  • * STOPPED indicates that the execution stopped because of a * StopNotebookExecution request.

*/ inline void SetStatus(const NotebookExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the notebook execution.

  • * START_PENDING indicates that the cluster has received the execution * request but execution has not begun.

  • STARTING * indicates that the execution is starting on the cluster.

  • * RUNNING indicates that the execution is being processed by the * cluster.

  • FINISHING indicates that execution * processing is in the final stages.

  • FINISHED * indicates that the execution has completed without error.

  • * FAILING indicates that the execution is failing and will not finish * successfully.

  • FAILED indicates that the * execution failed.

  • STOP_PENDING indicates that * the cluster has received a StopNotebookExecution request and the * stop is pending.

  • STOPPING indicates that the * cluster is in the process of stopping the execution as a result of a * StopNotebookExecution request.

  • * STOPPED indicates that the execution stopped because of a * StopNotebookExecution request.

*/ inline void SetStatus(NotebookExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the notebook execution.

  • * START_PENDING indicates that the cluster has received the execution * request but execution has not begun.

  • STARTING * indicates that the execution is starting on the cluster.

  • * RUNNING indicates that the execution is being processed by the * cluster.

  • FINISHING indicates that execution * processing is in the final stages.

  • FINISHED * indicates that the execution has completed without error.

  • * FAILING indicates that the execution is failing and will not finish * successfully.

  • FAILED indicates that the * execution failed.

  • STOP_PENDING indicates that * the cluster has received a StopNotebookExecution request and the * stop is pending.

  • STOPPING indicates that the * cluster is in the process of stopping the execution as a result of a * StopNotebookExecution request.

  • * STOPPED indicates that the execution stopped because of a * StopNotebookExecution request.

*/ inline NotebookExecution& WithStatus(const NotebookExecutionStatus& value) { SetStatus(value); return *this;} /** *

The status of the notebook execution.

  • * START_PENDING indicates that the cluster has received the execution * request but execution has not begun.

  • STARTING * indicates that the execution is starting on the cluster.

  • * RUNNING indicates that the execution is being processed by the * cluster.

  • FINISHING indicates that execution * processing is in the final stages.

  • FINISHED * indicates that the execution has completed without error.

  • * FAILING indicates that the execution is failing and will not finish * successfully.

  • FAILED indicates that the * execution failed.

  • STOP_PENDING indicates that * the cluster has received a StopNotebookExecution request and the * stop is pending.

  • STOPPING indicates that the * cluster is in the process of stopping the execution as a result of a * StopNotebookExecution request.

  • * STOPPED indicates that the execution stopped because of a * StopNotebookExecution request.

*/ inline NotebookExecution& WithStatus(NotebookExecutionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The timestamp when notebook execution started.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The timestamp when notebook execution started.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The timestamp when notebook execution started.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The timestamp when notebook execution started.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The timestamp when notebook execution started.

*/ inline NotebookExecution& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The timestamp when notebook execution started.

*/ inline NotebookExecution& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The timestamp when notebook execution ended.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The timestamp when notebook execution ended.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The timestamp when notebook execution ended.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The timestamp when notebook execution ended.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The timestamp when notebook execution ended.

*/ inline NotebookExecution& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The timestamp when notebook execution ended.

*/ inline NotebookExecution& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the notebook execution.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the notebook execution.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the notebook execution.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the notebook execution.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the notebook execution.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the notebook execution.

*/ inline NotebookExecution& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the notebook execution.

*/ inline NotebookExecution& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the notebook execution.

*/ inline NotebookExecution& WithArn(const char* value) { SetArn(value); return *this;} /** *

The location of the notebook execution's output file in Amazon S3.

*/ inline const Aws::String& GetOutputNotebookURI() const{ return m_outputNotebookURI; } /** *

The location of the notebook execution's output file in Amazon S3.

*/ inline bool OutputNotebookURIHasBeenSet() const { return m_outputNotebookURIHasBeenSet; } /** *

The location of the notebook execution's output file in Amazon S3.

*/ inline void SetOutputNotebookURI(const Aws::String& value) { m_outputNotebookURIHasBeenSet = true; m_outputNotebookURI = value; } /** *

The location of the notebook execution's output file in Amazon S3.

*/ inline void SetOutputNotebookURI(Aws::String&& value) { m_outputNotebookURIHasBeenSet = true; m_outputNotebookURI = std::move(value); } /** *

The location of the notebook execution's output file in Amazon S3.

*/ inline void SetOutputNotebookURI(const char* value) { m_outputNotebookURIHasBeenSet = true; m_outputNotebookURI.assign(value); } /** *

The location of the notebook execution's output file in Amazon S3.

*/ inline NotebookExecution& WithOutputNotebookURI(const Aws::String& value) { SetOutputNotebookURI(value); return *this;} /** *

The location of the notebook execution's output file in Amazon S3.

*/ inline NotebookExecution& WithOutputNotebookURI(Aws::String&& value) { SetOutputNotebookURI(std::move(value)); return *this;} /** *

The location of the notebook execution's output file in Amazon S3.

*/ inline NotebookExecution& WithOutputNotebookURI(const char* value) { SetOutputNotebookURI(value); return *this;} /** *

The reason for the latest status change of the notebook execution.

*/ inline const Aws::String& GetLastStateChangeReason() const{ return m_lastStateChangeReason; } /** *

The reason for the latest status change of the notebook execution.

*/ inline bool LastStateChangeReasonHasBeenSet() const { return m_lastStateChangeReasonHasBeenSet; } /** *

The reason for the latest status change of the notebook execution.

*/ inline void SetLastStateChangeReason(const Aws::String& value) { m_lastStateChangeReasonHasBeenSet = true; m_lastStateChangeReason = value; } /** *

The reason for the latest status change of the notebook execution.

*/ inline void SetLastStateChangeReason(Aws::String&& value) { m_lastStateChangeReasonHasBeenSet = true; m_lastStateChangeReason = std::move(value); } /** *

The reason for the latest status change of the notebook execution.

*/ inline void SetLastStateChangeReason(const char* value) { m_lastStateChangeReasonHasBeenSet = true; m_lastStateChangeReason.assign(value); } /** *

The reason for the latest status change of the notebook execution.

*/ inline NotebookExecution& WithLastStateChangeReason(const Aws::String& value) { SetLastStateChangeReason(value); return *this;} /** *

The reason for the latest status change of the notebook execution.

*/ inline NotebookExecution& WithLastStateChangeReason(Aws::String&& value) { SetLastStateChangeReason(std::move(value)); return *this;} /** *

The reason for the latest status change of the notebook execution.

*/ inline NotebookExecution& WithLastStateChangeReason(const char* value) { SetLastStateChangeReason(value); return *this;} /** *

The unique identifier of the Amazon EC2 security group associated with the * Amazon EMR Notebook instance. For more information see Specifying * Amazon EC2 Security Groups for Amazon EMR Notebooks in the Amazon EMR * Management Guide.

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

The unique identifier of the Amazon EC2 security group associated with the * Amazon EMR Notebook instance. For more information see Specifying * Amazon EC2 Security Groups for Amazon EMR Notebooks in the Amazon EMR * Management Guide.

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

The unique identifier of the Amazon EC2 security group associated with the * Amazon EMR Notebook instance. For more information see Specifying * Amazon EC2 Security Groups for Amazon EMR Notebooks in the Amazon EMR * Management Guide.

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

The unique identifier of the Amazon EC2 security group associated with the * Amazon EMR Notebook instance. For more information see Specifying * Amazon EC2 Security Groups for Amazon EMR Notebooks in the Amazon EMR * Management Guide.

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

The unique identifier of the Amazon EC2 security group associated with the * Amazon EMR Notebook instance. For more information see Specifying * Amazon EC2 Security Groups for Amazon EMR Notebooks in the Amazon EMR * Management Guide.

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

The unique identifier of the Amazon EC2 security group associated with the * Amazon EMR Notebook instance. For more information see Specifying * Amazon EC2 Security Groups for Amazon EMR Notebooks in the Amazon EMR * Management Guide.

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

The unique identifier of the Amazon EC2 security group associated with the * Amazon EMR Notebook instance. For more information see Specifying * Amazon EC2 Security Groups for Amazon EMR Notebooks in the Amazon EMR * Management Guide.

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

The unique identifier of the Amazon EC2 security group associated with the * Amazon EMR Notebook instance. For more information see Specifying * Amazon EC2 Security Groups for Amazon EMR Notebooks in the Amazon EMR * Management Guide.

*/ inline NotebookExecution& 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 NotebookExecution& 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 NotebookExecution& 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 NotebookExecution& 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 NotebookExecution& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

The Amazon S3 location that stores the notebook execution input.

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

The Amazon S3 location that stores the notebook execution input.

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

The Amazon S3 location that stores the notebook execution input.

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

The Amazon S3 location that stores the notebook execution input.

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

The Amazon S3 location that stores the notebook execution input.

*/ inline NotebookExecution& WithNotebookS3Location(const NotebookS3LocationForOutput& value) { SetNotebookS3Location(value); return *this;} /** *

The Amazon S3 location that stores the notebook execution input.

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

The Amazon S3 location for the notebook execution output.

*/ inline const OutputNotebookS3LocationForOutput& 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 OutputNotebookS3LocationForOutput& value) { m_outputNotebookS3LocationHasBeenSet = true; m_outputNotebookS3Location = value; } /** *

The Amazon S3 location for the notebook execution output.

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

The Amazon S3 location for the notebook execution output.

*/ inline NotebookExecution& WithOutputNotebookS3Location(const OutputNotebookS3LocationForOutput& value) { SetOutputNotebookS3Location(value); return *this;} /** *

The Amazon S3 location for the notebook execution output.

*/ inline NotebookExecution& WithOutputNotebookS3Location(OutputNotebookS3LocationForOutput&& 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 NotebookExecution& WithOutputNotebookFormat(const OutputNotebookFormat& value) { SetOutputNotebookFormat(value); return *this;} /** *

The output format for the notebook execution.

*/ inline NotebookExecution& 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 NotebookExecution& WithEnvironmentVariables(const Aws::Map& value) { SetEnvironmentVariables(value); return *this;} /** *

The environment variables associated with the notebook execution.

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

The environment variables associated with the notebook execution.

*/ inline NotebookExecution& 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 NotebookExecution& 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 NotebookExecution& 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 NotebookExecution& 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 NotebookExecution& 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 NotebookExecution& 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 NotebookExecution& AddEnvironmentVariables(const char* key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; } private: Aws::String m_notebookExecutionId; bool m_notebookExecutionIdHasBeenSet = false; Aws::String m_editorId; bool m_editorIdHasBeenSet = false; ExecutionEngineConfig m_executionEngine; bool m_executionEngineHasBeenSet = false; Aws::String m_notebookExecutionName; bool m_notebookExecutionNameHasBeenSet = false; Aws::String m_notebookParams; bool m_notebookParamsHasBeenSet = false; NotebookExecutionStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_outputNotebookURI; bool m_outputNotebookURIHasBeenSet = false; Aws::String m_lastStateChangeReason; bool m_lastStateChangeReasonHasBeenSet = false; Aws::String m_notebookInstanceSecurityGroupId; bool m_notebookInstanceSecurityGroupIdHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; NotebookS3LocationForOutput m_notebookS3Location; bool m_notebookS3LocationHasBeenSet = false; OutputNotebookS3LocationForOutput 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