/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Athena { namespace Model { class ExportNotebookResult { public: AWS_ATHENA_API ExportNotebookResult(); AWS_ATHENA_API ExportNotebookResult(const Aws::AmazonWebServiceResult& result); AWS_ATHENA_API ExportNotebookResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The notebook metadata, including notebook ID, notebook name, and workgroup * name.

*/ inline const NotebookMetadata& GetNotebookMetadata() const{ return m_notebookMetadata; } /** *

The notebook metadata, including notebook ID, notebook name, and workgroup * name.

*/ inline void SetNotebookMetadata(const NotebookMetadata& value) { m_notebookMetadata = value; } /** *

The notebook metadata, including notebook ID, notebook name, and workgroup * name.

*/ inline void SetNotebookMetadata(NotebookMetadata&& value) { m_notebookMetadata = std::move(value); } /** *

The notebook metadata, including notebook ID, notebook name, and workgroup * name.

*/ inline ExportNotebookResult& WithNotebookMetadata(const NotebookMetadata& value) { SetNotebookMetadata(value); return *this;} /** *

The notebook metadata, including notebook ID, notebook name, and workgroup * name.

*/ inline ExportNotebookResult& WithNotebookMetadata(NotebookMetadata&& value) { SetNotebookMetadata(std::move(value)); return *this;} /** *

The content of the exported notebook.

*/ inline const Aws::String& GetPayload() const{ return m_payload; } /** *

The content of the exported notebook.

*/ inline void SetPayload(const Aws::String& value) { m_payload = value; } /** *

The content of the exported notebook.

*/ inline void SetPayload(Aws::String&& value) { m_payload = std::move(value); } /** *

The content of the exported notebook.

*/ inline void SetPayload(const char* value) { m_payload.assign(value); } /** *

The content of the exported notebook.

*/ inline ExportNotebookResult& WithPayload(const Aws::String& value) { SetPayload(value); return *this;} /** *

The content of the exported notebook.

*/ inline ExportNotebookResult& WithPayload(Aws::String&& value) { SetPayload(std::move(value)); return *this;} /** *

The content of the exported notebook.

*/ inline ExportNotebookResult& WithPayload(const char* value) { SetPayload(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ExportNotebookResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ExportNotebookResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ExportNotebookResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: NotebookMetadata m_notebookMetadata; Aws::String m_payload; Aws::String m_requestId; }; } // namespace Model } // namespace Athena } // namespace Aws