AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExportNotebookResult.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/NotebookMetadata.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Athena
25{
26namespace Model
27{
29 {
30 public:
31 AWS_ATHENA_API ExportNotebookResult() = default;
34
35
37
41 inline const NotebookMetadata& GetNotebookMetadata() const { return m_notebookMetadata; }
42 template<typename NotebookMetadataT = NotebookMetadata>
43 void SetNotebookMetadata(NotebookMetadataT&& value) { m_notebookMetadataHasBeenSet = true; m_notebookMetadata = std::forward<NotebookMetadataT>(value); }
44 template<typename NotebookMetadataT = NotebookMetadata>
45 ExportNotebookResult& WithNotebookMetadata(NotebookMetadataT&& value) { SetNotebookMetadata(std::forward<NotebookMetadataT>(value)); return *this;}
47
49
52 inline const Aws::String& GetPayload() const { return m_payload; }
53 template<typename PayloadT = Aws::String>
54 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet = true; m_payload = std::forward<PayloadT>(value); }
55 template<typename PayloadT = Aws::String>
56 ExportNotebookResult& WithPayload(PayloadT&& value) { SetPayload(std::forward<PayloadT>(value)); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const { return m_requestId; }
62 template<typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
64 template<typename RequestIdT = Aws::String>
65 ExportNotebookResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
67 private:
68
69 NotebookMetadata m_notebookMetadata;
70 bool m_notebookMetadataHasBeenSet = false;
71
72 Aws::String m_payload;
73 bool m_payloadHasBeenSet = false;
74
75 Aws::String m_requestId;
76 bool m_requestIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Athena
81} // namespace Aws
AWS_ATHENA_API ExportNotebookResult()=default
AWS_ATHENA_API ExportNotebookResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNotebookMetadata(NotebookMetadataT &&value)
ExportNotebookResult & WithPayload(PayloadT &&value)
AWS_ATHENA_API ExportNotebookResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ExportNotebookResult & WithNotebookMetadata(NotebookMetadataT &&value)
const NotebookMetadata & GetNotebookMetadata() const
ExportNotebookResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue