/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details for a notebook execution. The details include information such as the
* unique ID and status of the notebook execution.See Also:
AWS
* API Reference
The unique identifier of the notebook execution.
*/ inline const Aws::String& GetNotebookExecutionId() const{ return m_notebookExecutionId; } /** *The unique identifier of the notebook execution.
*/ inline bool NotebookExecutionIdHasBeenSet() const { return m_notebookExecutionIdHasBeenSet; } /** *The unique identifier of the notebook execution.
*/ inline void SetNotebookExecutionId(const Aws::String& value) { m_notebookExecutionIdHasBeenSet = true; m_notebookExecutionId = value; } /** *The unique identifier of the notebook execution.
*/ inline void SetNotebookExecutionId(Aws::String&& value) { m_notebookExecutionIdHasBeenSet = true; m_notebookExecutionId = std::move(value); } /** *The unique identifier of the notebook execution.
*/ inline void SetNotebookExecutionId(const char* value) { m_notebookExecutionIdHasBeenSet = true; m_notebookExecutionId.assign(value); } /** *The unique identifier of the notebook execution.
*/ inline NotebookExecutionSummary& WithNotebookExecutionId(const Aws::String& value) { SetNotebookExecutionId(value); return *this;} /** *The unique identifier of the notebook execution.
*/ inline NotebookExecutionSummary& WithNotebookExecutionId(Aws::String&& value) { SetNotebookExecutionId(std::move(value)); return *this;} /** *The unique identifier of the notebook execution.
*/ inline NotebookExecutionSummary& WithNotebookExecutionId(const char* value) { SetNotebookExecutionId(value); return *this;} /** *The unique identifier of the editor associated with the notebook * execution.
*/ inline const Aws::String& GetEditorId() const{ return m_editorId; } /** *The unique identifier of the editor associated with the notebook * execution.
*/ inline bool EditorIdHasBeenSet() const { return m_editorIdHasBeenSet; } /** *The unique identifier of the editor associated with the notebook * execution.
*/ inline void SetEditorId(const Aws::String& value) { m_editorIdHasBeenSet = true; m_editorId = value; } /** *The unique identifier of the editor associated with the notebook * execution.
*/ inline void SetEditorId(Aws::String&& value) { m_editorIdHasBeenSet = true; m_editorId = std::move(value); } /** *The unique identifier of the editor associated with the notebook * execution.
*/ inline void SetEditorId(const char* value) { m_editorIdHasBeenSet = true; m_editorId.assign(value); } /** *The unique identifier of the editor associated with the notebook * execution.
*/ inline NotebookExecutionSummary& WithEditorId(const Aws::String& value) { SetEditorId(value); return *this;} /** *The unique identifier of the editor associated with the notebook * execution.
*/ inline NotebookExecutionSummary& WithEditorId(Aws::String&& value) { SetEditorId(std::move(value)); return *this;} /** *The unique identifier of the editor associated with the notebook * execution.
*/ inline NotebookExecutionSummary& WithEditorId(const char* value) { SetEditorId(value); return *this;} /** *The name of the notebook execution.
*/ inline const Aws::String& GetNotebookExecutionName() const{ return m_notebookExecutionName; } /** *The name of the notebook execution.
*/ inline bool NotebookExecutionNameHasBeenSet() const { return m_notebookExecutionNameHasBeenSet; } /** *The name of the notebook execution.
*/ inline void SetNotebookExecutionName(const Aws::String& value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName = value; } /** *The name of the notebook execution.
*/ inline void SetNotebookExecutionName(Aws::String&& value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName = std::move(value); } /** *The name of the notebook execution.
*/ inline void SetNotebookExecutionName(const char* value) { m_notebookExecutionNameHasBeenSet = true; m_notebookExecutionName.assign(value); } /** *The name of the notebook execution.
*/ inline NotebookExecutionSummary& WithNotebookExecutionName(const Aws::String& value) { SetNotebookExecutionName(value); return *this;} /** *The name of the notebook execution.
*/ inline NotebookExecutionSummary& WithNotebookExecutionName(Aws::String&& value) { SetNotebookExecutionName(std::move(value)); return *this;} /** *The name of the notebook execution.
*/ inline NotebookExecutionSummary& WithNotebookExecutionName(const char* value) { SetNotebookExecutionName(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.
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.
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.
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.
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.
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.
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 NotebookExecutionSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The timestamp when notebook execution started.
*/ inline NotebookExecutionSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The timestamp when notebook execution started.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The timestamp when notebook execution started.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The timestamp when notebook execution started.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The timestamp when notebook execution started.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The timestamp when notebook execution started.
*/ inline NotebookExecutionSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The timestamp when notebook execution started.
*/ inline NotebookExecutionSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(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 NotebookExecutionSummary& WithNotebookS3Location(const NotebookS3LocationForOutput& value) { SetNotebookS3Location(value); return *this;} /** *The Amazon S3 location that stores the notebook execution input.
*/ inline NotebookExecutionSummary& WithNotebookS3Location(NotebookS3LocationForOutput&& value) { SetNotebookS3Location(std::move(value)); return *this;} /** *The unique ID of the execution engine for the notebook execution.
*/ inline const Aws::String& GetExecutionEngineId() const{ return m_executionEngineId; } /** *The unique ID of the execution engine for the notebook execution.
*/ inline bool ExecutionEngineIdHasBeenSet() const { return m_executionEngineIdHasBeenSet; } /** *The unique ID of the execution engine for the notebook execution.
*/ inline void SetExecutionEngineId(const Aws::String& value) { m_executionEngineIdHasBeenSet = true; m_executionEngineId = value; } /** *The unique ID of the execution engine for the notebook execution.
*/ inline void SetExecutionEngineId(Aws::String&& value) { m_executionEngineIdHasBeenSet = true; m_executionEngineId = std::move(value); } /** *The unique ID of the execution engine for the notebook execution.
*/ inline void SetExecutionEngineId(const char* value) { m_executionEngineIdHasBeenSet = true; m_executionEngineId.assign(value); } /** *The unique ID of the execution engine for the notebook execution.
*/ inline NotebookExecutionSummary& WithExecutionEngineId(const Aws::String& value) { SetExecutionEngineId(value); return *this;} /** *The unique ID of the execution engine for the notebook execution.
*/ inline NotebookExecutionSummary& WithExecutionEngineId(Aws::String&& value) { SetExecutionEngineId(std::move(value)); return *this;} /** *The unique ID of the execution engine for the notebook execution.
*/ inline NotebookExecutionSummary& WithExecutionEngineId(const char* value) { SetExecutionEngineId(value); return *this;} private: Aws::String m_notebookExecutionId; bool m_notebookExecutionIdHasBeenSet = false; Aws::String m_editorId; bool m_editorIdHasBeenSet = false; Aws::String m_notebookExecutionName; bool m_notebookExecutionNameHasBeenSet = 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; NotebookS3LocationForOutput m_notebookS3Location; bool m_notebookS3LocationHasBeenSet = false; Aws::String m_executionEngineId; bool m_executionEngineIdHasBeenSet = false; }; } // namespace Model } // namespace EMR } // namespace Aws