AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Athena {
24namespace Model {
26 public:
27 AWS_ATHENA_API ExportNotebookResult() = default;
30
32
36 inline const NotebookMetadata& GetNotebookMetadata() const { return m_notebookMetadata; }
37 template <typename NotebookMetadataT = NotebookMetadata>
38 void SetNotebookMetadata(NotebookMetadataT&& value) {
39 m_notebookMetadataHasBeenSet = true;
40 m_notebookMetadata = std::forward<NotebookMetadataT>(value);
41 }
42 template <typename NotebookMetadataT = NotebookMetadata>
43 ExportNotebookResult& WithNotebookMetadata(NotebookMetadataT&& value) {
44 SetNotebookMetadata(std::forward<NotebookMetadataT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetPayload() const { return m_payload; }
54 template <typename PayloadT = Aws::String>
55 void SetPayload(PayloadT&& value) {
56 m_payloadHasBeenSet = true;
57 m_payload = std::forward<PayloadT>(value);
58 }
59 template <typename PayloadT = Aws::String>
60 ExportNotebookResult& WithPayload(PayloadT&& value) {
61 SetPayload(std::forward<PayloadT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
75 ExportNotebookResult& WithRequestId(RequestIdT&& value) {
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
81
82 private:
83 NotebookMetadata m_notebookMetadata;
84
85 Aws::String m_payload;
86
87 Aws::String m_requestId;
88 Aws::Http::HttpResponseCode m_HttpResponseCode;
89 bool m_notebookMetadataHasBeenSet = false;
90 bool m_payloadHasBeenSet = false;
91 bool m_requestIdHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace Athena
96} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue