AWS SDK for C++

AWS SDK for C++ Version 1.11.807

Loading...
Searching...
No Matches
StartNotebookExportResult.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/NotebookExportStatus.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataZone {
26namespace Model {
28 public:
29 AWS_DATAZONE_API StartNotebookExportResult() = default;
32
34
37 inline const Aws::String& GetId() const { return m_id; }
38 template <typename IdT = Aws::String>
39 void SetId(IdT&& value) {
40 m_idHasBeenSet = true;
41 m_id = std::forward<IdT>(value);
42 }
43 template <typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDomainId() const { return m_domainId; }
55 template <typename DomainIdT = Aws::String>
56 void SetDomainId(DomainIdT&& value) {
57 m_domainIdHasBeenSet = true;
58 m_domainId = std::forward<DomainIdT>(value);
59 }
60 template <typename DomainIdT = Aws::String>
62 SetDomainId(std::forward<DomainIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
72 template <typename OwningProjectIdT = Aws::String>
73 void SetOwningProjectId(OwningProjectIdT&& value) {
74 m_owningProjectIdHasBeenSet = true;
75 m_owningProjectId = std::forward<OwningProjectIdT>(value);
76 }
77 template <typename OwningProjectIdT = Aws::String>
79 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetNotebookId() const { return m_notebookId; }
89 template <typename NotebookIdT = Aws::String>
90 void SetNotebookId(NotebookIdT&& value) {
91 m_notebookIdHasBeenSet = true;
92 m_notebookId = std::forward<NotebookIdT>(value);
93 }
94 template <typename NotebookIdT = Aws::String>
96 SetNotebookId(std::forward<NotebookIdT>(value));
97 return *this;
98 }
100
102
105 inline FileFormat GetFileFormat() const { return m_fileFormat; }
106 inline void SetFileFormat(FileFormat value) {
107 m_fileFormatHasBeenSet = true;
108 m_fileFormat = value;
109 }
111 SetFileFormat(value);
112 return *this;
113 }
115
117
120 inline NotebookExportStatus GetStatus() const { return m_status; }
121 inline void SetStatus(NotebookExportStatus value) {
122 m_statusHasBeenSet = true;
123 m_status = value;
124 }
126 SetStatus(value);
127 return *this;
128 }
130
132
135 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
136 template <typename CreatedAtT = Aws::Utils::DateTime>
137 void SetCreatedAt(CreatedAtT&& value) {
138 m_createdAtHasBeenSet = true;
139 m_createdAt = std::forward<CreatedAtT>(value);
140 }
141 template <typename CreatedAtT = Aws::Utils::DateTime>
143 SetCreatedAt(std::forward<CreatedAtT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
153 template <typename CreatedByT = Aws::String>
154 void SetCreatedBy(CreatedByT&& value) {
155 m_createdByHasBeenSet = true;
156 m_createdBy = std::forward<CreatedByT>(value);
157 }
158 template <typename CreatedByT = Aws::String>
160 SetCreatedBy(std::forward<CreatedByT>(value));
161 return *this;
162 }
164
166
167 inline const Aws::String& GetRequestId() const { return m_requestId; }
168 template <typename RequestIdT = Aws::String>
169 void SetRequestId(RequestIdT&& value) {
170 m_requestIdHasBeenSet = true;
171 m_requestId = std::forward<RequestIdT>(value);
172 }
173 template <typename RequestIdT = Aws::String>
175 SetRequestId(std::forward<RequestIdT>(value));
176 return *this;
177 }
179 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
180
181 private:
182 Aws::String m_id;
183
184 Aws::String m_domainId;
185
186 Aws::String m_owningProjectId;
187
188 Aws::String m_notebookId;
189
190 FileFormat m_fileFormat{FileFormat::NOT_SET};
191
193
194 Aws::Utils::DateTime m_createdAt{};
195
196 Aws::String m_createdBy;
197
198 Aws::String m_requestId;
199 Aws::Http::HttpResponseCode m_HttpResponseCode;
200 bool m_idHasBeenSet = false;
201 bool m_domainIdHasBeenSet = false;
202 bool m_owningProjectIdHasBeenSet = false;
203 bool m_notebookIdHasBeenSet = false;
204 bool m_fileFormatHasBeenSet = false;
205 bool m_statusHasBeenSet = false;
206 bool m_createdAtHasBeenSet = false;
207 bool m_createdByHasBeenSet = false;
208 bool m_requestIdHasBeenSet = false;
209};
210
211} // namespace Model
212} // namespace DataZone
213} // namespace Aws
StartNotebookExportResult & WithFileFormat(FileFormat value)
AWS_DATAZONE_API StartNotebookExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartNotebookExportResult & WithOwningProjectId(OwningProjectIdT &&value)
StartNotebookExportResult & WithNotebookId(NotebookIdT &&value)
StartNotebookExportResult & WithCreatedBy(CreatedByT &&value)
StartNotebookExportResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_DATAZONE_API StartNotebookExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartNotebookExportResult & WithId(IdT &&value)
StartNotebookExportResult & WithCreatedAt(CreatedAtT &&value)
StartNotebookExportResult & WithDomainId(DomainIdT &&value)
StartNotebookExportResult & WithStatus(NotebookExportStatus value)
AWS_DATAZONE_API StartNotebookExportResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue