AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Athena {
23namespace Model {
25 public:
26 AWS_ATHENA_API ExportNotebookResult() = default;
29
31
35 inline const NotebookMetadata& GetNotebookMetadata() const { return m_notebookMetadata; }
36 template <typename NotebookMetadataT = NotebookMetadata>
37 void SetNotebookMetadata(NotebookMetadataT&& value) {
38 m_notebookMetadataHasBeenSet = true;
39 m_notebookMetadata = std::forward<NotebookMetadataT>(value);
40 }
41 template <typename NotebookMetadataT = NotebookMetadata>
42 ExportNotebookResult& WithNotebookMetadata(NotebookMetadataT&& value) {
43 SetNotebookMetadata(std::forward<NotebookMetadataT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetPayload() const { return m_payload; }
53 template <typename PayloadT = Aws::String>
54 void SetPayload(PayloadT&& value) {
55 m_payloadHasBeenSet = true;
56 m_payload = std::forward<PayloadT>(value);
57 }
58 template <typename PayloadT = Aws::String>
59 ExportNotebookResult& WithPayload(PayloadT&& value) {
60 SetPayload(std::forward<PayloadT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
74 ExportNotebookResult& WithRequestId(RequestIdT&& value) {
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 private:
80 NotebookMetadata m_notebookMetadata;
81
82 Aws::String m_payload;
83
84 Aws::String m_requestId;
85 bool m_notebookMetadataHasBeenSet = false;
86 bool m_payloadHasBeenSet = false;
87 bool m_requestIdHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace Athena
92} // 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