AWS SDK for C++

AWS SDK for C++ Version 1.11.871

Loading...
Searching...
No Matches
StartNotebookSyncResult.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/GitMetadata.h>
12#include <aws/datazone/model/NotebookStatus.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 StartNotebookSyncResult() = 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>
94 StartNotebookSyncResult& WithOwningProjectId(OwningProjectIdT&& value) {
95 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
96 return *this;
97 }
99
101
104 inline const SourceLocation& GetSourceLocation() const { return m_sourceLocation; }
105 template <typename SourceLocationT = SourceLocation>
106 void SetSourceLocation(SourceLocationT&& value) {
107 m_sourceLocationHasBeenSet = true;
108 m_sourceLocation = std::forward<SourceLocationT>(value);
109 }
110 template <typename SourceLocationT = SourceLocation>
111 StartNotebookSyncResult& WithSourceLocation(SourceLocationT&& value) {
112 SetSourceLocation(std::forward<SourceLocationT>(value));
113 return *this;
114 }
116
118
121 inline const GitMetadata& GetGitMetadata() const { return m_gitMetadata; }
122 template <typename GitMetadataT = GitMetadata>
123 void SetGitMetadata(GitMetadataT&& value) {
124 m_gitMetadataHasBeenSet = true;
125 m_gitMetadata = std::forward<GitMetadataT>(value);
126 }
127 template <typename GitMetadataT = GitMetadata>
129 SetGitMetadata(std::forward<GitMetadataT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetName() const { return m_name; }
139 template <typename NameT = Aws::String>
140 void SetName(NameT&& value) {
141 m_nameHasBeenSet = true;
142 m_name = std::forward<NameT>(value);
143 }
144 template <typename NameT = Aws::String>
146 SetName(std::forward<NameT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetDescription() const { return m_description; }
156 template <typename DescriptionT = Aws::String>
157 void SetDescription(DescriptionT&& value) {
158 m_descriptionHasBeenSet = true;
159 m_description = std::forward<DescriptionT>(value);
160 }
161 template <typename DescriptionT = Aws::String>
163 SetDescription(std::forward<DescriptionT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
173 template <typename CreatedAtT = Aws::Utils::DateTime>
174 void SetCreatedAt(CreatedAtT&& value) {
175 m_createdAtHasBeenSet = true;
176 m_createdAt = std::forward<CreatedAtT>(value);
177 }
178 template <typename CreatedAtT = Aws::Utils::DateTime>
180 SetCreatedAt(std::forward<CreatedAtT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
190 template <typename CreatedByT = Aws::String>
191 void SetCreatedBy(CreatedByT&& value) {
192 m_createdByHasBeenSet = true;
193 m_createdBy = std::forward<CreatedByT>(value);
194 }
195 template <typename CreatedByT = Aws::String>
197 SetCreatedBy(std::forward<CreatedByT>(value));
198 return *this;
199 }
201
203
204 inline const Aws::String& GetRequestId() const { return m_requestId; }
205 template <typename RequestIdT = Aws::String>
206 void SetRequestId(RequestIdT&& value) {
207 m_requestIdHasBeenSet = true;
208 m_requestId = std::forward<RequestIdT>(value);
209 }
210 template <typename RequestIdT = Aws::String>
212 SetRequestId(std::forward<RequestIdT>(value));
213 return *this;
214 }
216 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
217
218 private:
219 Aws::String m_notebookId;
220
222
223 Aws::String m_domainId;
224
225 Aws::String m_owningProjectId;
226
227 SourceLocation m_sourceLocation;
228
229 GitMetadata m_gitMetadata;
230
231 Aws::String m_name;
232
233 Aws::String m_description;
234
235 Aws::Utils::DateTime m_createdAt{};
236
237 Aws::String m_createdBy;
238
239 Aws::String m_requestId;
240 Aws::Http::HttpResponseCode m_HttpResponseCode;
241 bool m_notebookIdHasBeenSet = false;
242 bool m_statusHasBeenSet = false;
243 bool m_domainIdHasBeenSet = false;
244 bool m_owningProjectIdHasBeenSet = false;
245 bool m_sourceLocationHasBeenSet = false;
246 bool m_gitMetadataHasBeenSet = false;
247 bool m_nameHasBeenSet = false;
248 bool m_descriptionHasBeenSet = false;
249 bool m_createdAtHasBeenSet = false;
250 bool m_createdByHasBeenSet = false;
251 bool m_requestIdHasBeenSet = false;
252};
253
254} // namespace Model
255} // namespace DataZone
256} // namespace Aws
StartNotebookSyncResult & WithGitMetadata(GitMetadataT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
StartNotebookSyncResult & WithStatus(NotebookStatus value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
StartNotebookSyncResult & WithNotebookId(NotebookIdT &&value)
StartNotebookSyncResult & WithDescription(DescriptionT &&value)
StartNotebookSyncResult & WithName(NameT &&value)
StartNotebookSyncResult & WithOwningProjectId(OwningProjectIdT &&value)
AWS_DATAZONE_API StartNotebookSyncResult()=default
StartNotebookSyncResult & WithDomainId(DomainIdT &&value)
StartNotebookSyncResult & WithSourceLocation(SourceLocationT &&value)
AWS_DATAZONE_API StartNotebookSyncResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartNotebookSyncResult & WithCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API StartNotebookSyncResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartNotebookSyncResult & WithCreatedBy(CreatedByT &&value)
StartNotebookSyncResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue