AWS SDK for C++

AWS SDK for C++ Version 1.11.807

Loading...
Searching...
No Matches
GetNotebookExportResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/FileFormat.h>
12#include <aws/datazone/model/NotebookExportError.h>
13#include <aws/datazone/model/NotebookExportStatus.h>
14#include <aws/datazone/model/OutputLocation.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataZone {
28namespace Model {
30 public:
31 AWS_DATAZONE_API GetNotebookExportResult() = default;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 template <typename IdT = Aws::String>
41 void SetId(IdT&& value) {
42 m_idHasBeenSet = true;
43 m_id = std::forward<IdT>(value);
44 }
45 template <typename IdT = Aws::String>
47 SetId(std::forward<IdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDomainId() const { return m_domainId; }
57 template <typename DomainIdT = Aws::String>
58 void SetDomainId(DomainIdT&& value) {
59 m_domainIdHasBeenSet = true;
60 m_domainId = std::forward<DomainIdT>(value);
61 }
62 template <typename DomainIdT = Aws::String>
64 SetDomainId(std::forward<DomainIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
74 template <typename OwningProjectIdT = Aws::String>
75 void SetOwningProjectId(OwningProjectIdT&& value) {
76 m_owningProjectIdHasBeenSet = true;
77 m_owningProjectId = std::forward<OwningProjectIdT>(value);
78 }
79 template <typename OwningProjectIdT = Aws::String>
80 GetNotebookExportResult& WithOwningProjectId(OwningProjectIdT&& value) {
81 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetNotebookId() const { return m_notebookId; }
91 template <typename NotebookIdT = Aws::String>
92 void SetNotebookId(NotebookIdT&& value) {
93 m_notebookIdHasBeenSet = true;
94 m_notebookId = std::forward<NotebookIdT>(value);
95 }
96 template <typename NotebookIdT = Aws::String>
98 SetNotebookId(std::forward<NotebookIdT>(value));
99 return *this;
100 }
102
104
107 inline FileFormat GetFileFormat() const { return m_fileFormat; }
108 inline void SetFileFormat(FileFormat value) {
109 m_fileFormatHasBeenSet = true;
110 m_fileFormat = value;
111 }
113 SetFileFormat(value);
114 return *this;
115 }
117
119
122 inline NotebookExportStatus GetStatus() const { return m_status; }
123 inline void SetStatus(NotebookExportStatus value) {
124 m_statusHasBeenSet = true;
125 m_status = value;
126 }
128 SetStatus(value);
129 return *this;
130 }
132
134
138 inline const OutputLocation& GetOutputLocation() const { return m_outputLocation; }
139 template <typename OutputLocationT = OutputLocation>
140 void SetOutputLocation(OutputLocationT&& value) {
141 m_outputLocationHasBeenSet = true;
142 m_outputLocation = std::forward<OutputLocationT>(value);
143 }
144 template <typename OutputLocationT = OutputLocation>
145 GetNotebookExportResult& WithOutputLocation(OutputLocationT&& value) {
146 SetOutputLocation(std::forward<OutputLocationT>(value));
147 return *this;
148 }
150
152
155 inline const NotebookExportError& GetError() const { return m_error; }
156 template <typename ErrorT = NotebookExportError>
157 void SetError(ErrorT&& value) {
158 m_errorHasBeenSet = true;
159 m_error = std::forward<ErrorT>(value);
160 }
161 template <typename ErrorT = NotebookExportError>
163 SetError(std::forward<ErrorT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::Utils::DateTime& GetCompletedAt() const { return m_completedAt; }
173 template <typename CompletedAtT = Aws::Utils::DateTime>
174 void SetCompletedAt(CompletedAtT&& value) {
175 m_completedAtHasBeenSet = true;
176 m_completedAt = std::forward<CompletedAtT>(value);
177 }
178 template <typename CompletedAtT = Aws::Utils::DateTime>
180 SetCompletedAt(std::forward<CompletedAtT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
190 template <typename CreatedAtT = Aws::Utils::DateTime>
191 void SetCreatedAt(CreatedAtT&& value) {
192 m_createdAtHasBeenSet = true;
193 m_createdAt = std::forward<CreatedAtT>(value);
194 }
195 template <typename CreatedAtT = Aws::Utils::DateTime>
197 SetCreatedAt(std::forward<CreatedAtT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
207 template <typename CreatedByT = Aws::String>
208 void SetCreatedBy(CreatedByT&& value) {
209 m_createdByHasBeenSet = true;
210 m_createdBy = std::forward<CreatedByT>(value);
211 }
212 template <typename CreatedByT = Aws::String>
214 SetCreatedBy(std::forward<CreatedByT>(value));
215 return *this;
216 }
218
220
221 inline const Aws::String& GetRequestId() const { return m_requestId; }
222 template <typename RequestIdT = Aws::String>
223 void SetRequestId(RequestIdT&& value) {
224 m_requestIdHasBeenSet = true;
225 m_requestId = std::forward<RequestIdT>(value);
226 }
227 template <typename RequestIdT = Aws::String>
229 SetRequestId(std::forward<RequestIdT>(value));
230 return *this;
231 }
233 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
234
235 private:
236 Aws::String m_id;
237
238 Aws::String m_domainId;
239
240 Aws::String m_owningProjectId;
241
242 Aws::String m_notebookId;
243
244 FileFormat m_fileFormat{FileFormat::NOT_SET};
245
247
248 OutputLocation m_outputLocation;
249
250 NotebookExportError m_error;
251
252 Aws::Utils::DateTime m_completedAt{};
253
254 Aws::Utils::DateTime m_createdAt{};
255
256 Aws::String m_createdBy;
257
258 Aws::String m_requestId;
259 Aws::Http::HttpResponseCode m_HttpResponseCode;
260 bool m_idHasBeenSet = false;
261 bool m_domainIdHasBeenSet = false;
262 bool m_owningProjectIdHasBeenSet = false;
263 bool m_notebookIdHasBeenSet = false;
264 bool m_fileFormatHasBeenSet = false;
265 bool m_statusHasBeenSet = false;
266 bool m_outputLocationHasBeenSet = false;
267 bool m_errorHasBeenSet = false;
268 bool m_completedAtHasBeenSet = false;
269 bool m_createdAtHasBeenSet = false;
270 bool m_createdByHasBeenSet = false;
271 bool m_requestIdHasBeenSet = false;
272};
273
274} // namespace Model
275} // namespace DataZone
276} // namespace Aws
GetNotebookExportResult & WithCreatedBy(CreatedByT &&value)
GetNotebookExportResult & WithId(IdT &&value)
AWS_DATAZONE_API GetNotebookExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCompletedAt() const
GetNotebookExportResult & WithError(ErrorT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetNotebookExportResult & WithDomainId(DomainIdT &&value)
GetNotebookExportResult & WithRequestId(RequestIdT &&value)
GetNotebookExportResult & WithOwningProjectId(OwningProjectIdT &&value)
GetNotebookExportResult & WithNotebookId(NotebookIdT &&value)
GetNotebookExportResult & WithStatus(NotebookExportStatus value)
GetNotebookExportResult & WithCompletedAt(CompletedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetNotebookExportResult & WithCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API GetNotebookExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API GetNotebookExportResult()=default
GetNotebookExportResult & WithOutputLocation(OutputLocationT &&value)
GetNotebookExportResult & WithFileFormat(FileFormat value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue