AWS SDK for C++

AWS SDK for C++ Version 1.11.914

Loading...
Searching...
No Matches
StartNotebookImportResult.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/NotebookStatus.h>
12#include <aws/datazone/model/NotebookType.h>
13#include <aws/datazone/model/SourceLocation.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone {
27namespace Model {
29 public:
30 AWS_DATAZONE_API StartNotebookImportResult() = default;
33
35
38 inline const Aws::String& GetNotebookId() const { return m_notebookId; }
39 template <typename NotebookIdT = Aws::String>
40 void SetNotebookId(NotebookIdT&& value) {
41 m_notebookIdHasBeenSet = true;
42 m_notebookId = std::forward<NotebookIdT>(value);
43 }
44 template <typename NotebookIdT = Aws::String>
46 SetNotebookId(std::forward<NotebookIdT>(value));
47 return *this;
48 }
50
52
55 inline NotebookStatus GetStatus() const { return m_status; }
56 inline void SetStatus(NotebookStatus value) {
57 m_statusHasBeenSet = true;
58 m_status = value;
59 }
61 SetStatus(value);
62 return *this;
63 }
65
67
70 inline const Aws::String& GetDomainId() const { return m_domainId; }
71 template <typename DomainIdT = Aws::String>
72 void SetDomainId(DomainIdT&& value) {
73 m_domainIdHasBeenSet = true;
74 m_domainId = std::forward<DomainIdT>(value);
75 }
76 template <typename DomainIdT = Aws::String>
78 SetDomainId(std::forward<DomainIdT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
88 template <typename OwningProjectIdT = Aws::String>
89 void SetOwningProjectId(OwningProjectIdT&& value) {
90 m_owningProjectIdHasBeenSet = true;
91 m_owningProjectId = std::forward<OwningProjectIdT>(value);
92 }
93 template <typename OwningProjectIdT = Aws::String>
95 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetName() const { return m_name; }
105 template <typename NameT = Aws::String>
106 void SetName(NameT&& value) {
107 m_nameHasBeenSet = true;
108 m_name = std::forward<NameT>(value);
109 }
110 template <typename NameT = Aws::String>
112 SetName(std::forward<NameT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetDescription() const { return m_description; }
122 template <typename DescriptionT = Aws::String>
123 void SetDescription(DescriptionT&& value) {
124 m_descriptionHasBeenSet = true;
125 m_description = std::forward<DescriptionT>(value);
126 }
127 template <typename DescriptionT = Aws::String>
129 SetDescription(std::forward<DescriptionT>(value));
130 return *this;
131 }
133
135
138 inline NotebookType GetType() const { return m_type; }
139 inline void SetType(NotebookType value) {
140 m_typeHasBeenSet = true;
141 m_type = value;
142 }
144 SetType(value);
145 return *this;
146 }
148
150
153 inline const SourceLocation& GetSourceLocation() const { return m_sourceLocation; }
154 template <typename SourceLocationT = SourceLocation>
155 void SetSourceLocation(SourceLocationT&& value) {
156 m_sourceLocationHasBeenSet = true;
157 m_sourceLocation = std::forward<SourceLocationT>(value);
158 }
159 template <typename SourceLocationT = SourceLocation>
161 SetSourceLocation(std::forward<SourceLocationT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
171 template <typename CreatedAtT = Aws::Utils::DateTime>
172 void SetCreatedAt(CreatedAtT&& value) {
173 m_createdAtHasBeenSet = true;
174 m_createdAt = std::forward<CreatedAtT>(value);
175 }
176 template <typename CreatedAtT = Aws::Utils::DateTime>
178 SetCreatedAt(std::forward<CreatedAtT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
188 template <typename CreatedByT = Aws::String>
189 void SetCreatedBy(CreatedByT&& value) {
190 m_createdByHasBeenSet = true;
191 m_createdBy = std::forward<CreatedByT>(value);
192 }
193 template <typename CreatedByT = Aws::String>
195 SetCreatedBy(std::forward<CreatedByT>(value));
196 return *this;
197 }
199
201
202 inline const Aws::String& GetRequestId() const { return m_requestId; }
203 template <typename RequestIdT = Aws::String>
204 void SetRequestId(RequestIdT&& value) {
205 m_requestIdHasBeenSet = true;
206 m_requestId = std::forward<RequestIdT>(value);
207 }
208 template <typename RequestIdT = Aws::String>
210 SetRequestId(std::forward<RequestIdT>(value));
211 return *this;
212 }
214 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
215
216 private:
217 Aws::String m_notebookId;
218
220
221 Aws::String m_domainId;
222
223 Aws::String m_owningProjectId;
224
225 Aws::String m_name;
226
227 Aws::String m_description;
228
230
231 SourceLocation m_sourceLocation;
232
233 Aws::Utils::DateTime m_createdAt{};
234
235 Aws::String m_createdBy;
236
237 Aws::String m_requestId;
238 Aws::Http::HttpResponseCode m_HttpResponseCode;
239 bool m_notebookIdHasBeenSet = false;
240 bool m_statusHasBeenSet = false;
241 bool m_domainIdHasBeenSet = false;
242 bool m_owningProjectIdHasBeenSet = false;
243 bool m_nameHasBeenSet = false;
244 bool m_descriptionHasBeenSet = false;
245 bool m_typeHasBeenSet = false;
246 bool m_sourceLocationHasBeenSet = false;
247 bool m_createdAtHasBeenSet = false;
248 bool m_createdByHasBeenSet = false;
249 bool m_requestIdHasBeenSet = false;
250};
251
252} // namespace Model
253} // namespace DataZone
254} // namespace Aws
StartNotebookImportResult & WithSourceLocation(SourceLocationT &&value)
StartNotebookImportResult & WithCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API StartNotebookImportResult()=default
StartNotebookImportResult & WithOwningProjectId(OwningProjectIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
StartNotebookImportResult & WithCreatedBy(CreatedByT &&value)
AWS_DATAZONE_API StartNotebookImportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartNotebookImportResult & WithRequestId(RequestIdT &&value)
StartNotebookImportResult & WithDomainId(DomainIdT &&value)
StartNotebookImportResult & WithNotebookId(NotebookIdT &&value)
StartNotebookImportResult & WithName(NameT &&value)
StartNotebookImportResult & WithType(NotebookType value)
StartNotebookImportResult & WithDescription(DescriptionT &&value)
AWS_DATAZONE_API StartNotebookImportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartNotebookImportResult & WithStatus(NotebookStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue