/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace EMR { namespace Model { /** */ class StopNotebookExecutionRequest : public EMRRequest { public: AWS_EMR_API StopNotebookExecutionRequest(); // 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 "StopNotebookExecution"; } AWS_EMR_API Aws::String SerializePayload() const override; AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

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 StopNotebookExecutionRequest& WithNotebookExecutionId(const Aws::String& value) { SetNotebookExecutionId(value); return *this;} /** *

The unique identifier of the notebook execution.

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

The unique identifier of the notebook execution.

*/ inline StopNotebookExecutionRequest& WithNotebookExecutionId(const char* value) { SetNotebookExecutionId(value); return *this;} private: Aws::String m_notebookExecutionId; bool m_notebookExecutionIdHasBeenSet = false; }; } // namespace Model } // namespace EMR } // namespace Aws