AWS SDK for C++

AWS SDK for C++ Version 1.11.807

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/SourceLocation.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 StartNotebookImportResult() = default;
32
34
37 inline const Aws::String& GetNotebookId() const { return m_notebookId; }
38 template <typename NotebookIdT = Aws::String>
39 void SetNotebookId(NotebookIdT&& value) {
40 m_notebookIdHasBeenSet = true;
41 m_notebookId = std::forward<NotebookIdT>(value);
42 }
43 template <typename NotebookIdT = Aws::String>
45 SetNotebookId(std::forward<NotebookIdT>(value));
46 return *this;
47 }
49
51
54 inline NotebookStatus GetStatus() const { return m_status; }
55 inline void SetStatus(NotebookStatus value) {
56 m_statusHasBeenSet = true;
57 m_status = value;
58 }
60 SetStatus(value);
61 return *this;
62 }
64
66
69 inline const Aws::String& GetDomainId() const { return m_domainId; }
70 template <typename DomainIdT = Aws::String>
71 void SetDomainId(DomainIdT&& value) {
72 m_domainIdHasBeenSet = true;
73 m_domainId = std::forward<DomainIdT>(value);
74 }
75 template <typename DomainIdT = Aws::String>
77 SetDomainId(std::forward<DomainIdT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
87 template <typename OwningProjectIdT = Aws::String>
88 void SetOwningProjectId(OwningProjectIdT&& value) {
89 m_owningProjectIdHasBeenSet = true;
90 m_owningProjectId = std::forward<OwningProjectIdT>(value);
91 }
92 template <typename OwningProjectIdT = Aws::String>
94 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetName() const { return m_name; }
104 template <typename NameT = Aws::String>
105 void SetName(NameT&& value) {
106 m_nameHasBeenSet = true;
107 m_name = std::forward<NameT>(value);
108 }
109 template <typename NameT = Aws::String>
111 SetName(std::forward<NameT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetDescription() const { return m_description; }
121 template <typename DescriptionT = Aws::String>
122 void SetDescription(DescriptionT&& value) {
123 m_descriptionHasBeenSet = true;
124 m_description = std::forward<DescriptionT>(value);
125 }
126 template <typename DescriptionT = Aws::String>
128 SetDescription(std::forward<DescriptionT>(value));
129 return *this;
130 }
132
134
137 inline const SourceLocation& GetSourceLocation() const { return m_sourceLocation; }
138 template <typename SourceLocationT = SourceLocation>
139 void SetSourceLocation(SourceLocationT&& value) {
140 m_sourceLocationHasBeenSet = true;
141 m_sourceLocation = std::forward<SourceLocationT>(value);
142 }
143 template <typename SourceLocationT = SourceLocation>
145 SetSourceLocation(std::forward<SourceLocationT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
155 template <typename CreatedAtT = Aws::Utils::DateTime>
156 void SetCreatedAt(CreatedAtT&& value) {
157 m_createdAtHasBeenSet = true;
158 m_createdAt = std::forward<CreatedAtT>(value);
159 }
160 template <typename CreatedAtT = Aws::Utils::DateTime>
162 SetCreatedAt(std::forward<CreatedAtT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
172 template <typename CreatedByT = Aws::String>
173 void SetCreatedBy(CreatedByT&& value) {
174 m_createdByHasBeenSet = true;
175 m_createdBy = std::forward<CreatedByT>(value);
176 }
177 template <typename CreatedByT = Aws::String>
179 SetCreatedBy(std::forward<CreatedByT>(value));
180 return *this;
181 }
183
185
186 inline const Aws::String& GetRequestId() const { return m_requestId; }
187 template <typename RequestIdT = Aws::String>
188 void SetRequestId(RequestIdT&& value) {
189 m_requestIdHasBeenSet = true;
190 m_requestId = std::forward<RequestIdT>(value);
191 }
192 template <typename RequestIdT = Aws::String>
194 SetRequestId(std::forward<RequestIdT>(value));
195 return *this;
196 }
198 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
199
200 private:
201 Aws::String m_notebookId;
202
204
205 Aws::String m_domainId;
206
207 Aws::String m_owningProjectId;
208
209 Aws::String m_name;
210
211 Aws::String m_description;
212
213 SourceLocation m_sourceLocation;
214
215 Aws::Utils::DateTime m_createdAt{};
216
217 Aws::String m_createdBy;
218
219 Aws::String m_requestId;
220 Aws::Http::HttpResponseCode m_HttpResponseCode;
221 bool m_notebookIdHasBeenSet = false;
222 bool m_statusHasBeenSet = false;
223 bool m_domainIdHasBeenSet = false;
224 bool m_owningProjectIdHasBeenSet = false;
225 bool m_nameHasBeenSet = false;
226 bool m_descriptionHasBeenSet = false;
227 bool m_sourceLocationHasBeenSet = false;
228 bool m_createdAtHasBeenSet = false;
229 bool m_createdByHasBeenSet = false;
230 bool m_requestIdHasBeenSet = false;
231};
232
233} // namespace Model
234} // namespace DataZone
235} // 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 & 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