AWS SDK for C++

AWS SDK for C++ Version 1.11.904

Loading...
Searching...
No Matches
NotebookSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/NotebookStatus.h>
11#include <aws/datazone/model/NotebookType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataZone {
23namespace Model {
24
32 public:
33 AWS_DATAZONE_API NotebookSummary() = default;
34 AWS_DATAZONE_API NotebookSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
50 NotebookSummary& WithId(IdT&& value) {
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
68 NotebookSummary& WithName(NameT&& value) {
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
79 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
80 template <typename OwningProjectIdT = Aws::String>
81 void SetOwningProjectId(OwningProjectIdT&& value) {
82 m_owningProjectIdHasBeenSet = true;
83 m_owningProjectId = std::forward<OwningProjectIdT>(value);
84 }
85 template <typename OwningProjectIdT = Aws::String>
86 NotebookSummary& WithOwningProjectId(OwningProjectIdT&& value) {
87 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetDomainId() const { return m_domainId; }
97 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
98 template <typename DomainIdT = Aws::String>
99 void SetDomainId(DomainIdT&& value) {
100 m_domainIdHasBeenSet = true;
101 m_domainId = std::forward<DomainIdT>(value);
102 }
103 template <typename DomainIdT = Aws::String>
104 NotebookSummary& WithDomainId(DomainIdT&& value) {
105 SetDomainId(std::forward<DomainIdT>(value));
106 return *this;
107 }
109
111
114 inline NotebookStatus GetStatus() const { return m_status; }
115 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 inline void SetStatus(NotebookStatus value) {
117 m_statusHasBeenSet = true;
118 m_status = value;
119 }
121 SetStatus(value);
122 return *this;
123 }
125
127
130 inline NotebookType GetType() const { return m_type; }
131 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
132 inline void SetType(NotebookType value) {
133 m_typeHasBeenSet = true;
134 m_type = value;
135 }
137 SetType(value);
138 return *this;
139 }
141
143
146 inline const Aws::String& GetDescription() const { return m_description; }
147 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
148 template <typename DescriptionT = Aws::String>
149 void SetDescription(DescriptionT&& value) {
150 m_descriptionHasBeenSet = true;
151 m_description = std::forward<DescriptionT>(value);
152 }
153 template <typename DescriptionT = Aws::String>
154 NotebookSummary& WithDescription(DescriptionT&& value) {
155 SetDescription(std::forward<DescriptionT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
165 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
166 template <typename CreatedAtT = Aws::Utils::DateTime>
167 void SetCreatedAt(CreatedAtT&& value) {
168 m_createdAtHasBeenSet = true;
169 m_createdAt = std::forward<CreatedAtT>(value);
170 }
171 template <typename CreatedAtT = Aws::Utils::DateTime>
172 NotebookSummary& WithCreatedAt(CreatedAtT&& value) {
173 SetCreatedAt(std::forward<CreatedAtT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
183 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
184 template <typename CreatedByT = Aws::String>
185 void SetCreatedBy(CreatedByT&& value) {
186 m_createdByHasBeenSet = true;
187 m_createdBy = std::forward<CreatedByT>(value);
188 }
189 template <typename CreatedByT = Aws::String>
190 NotebookSummary& WithCreatedBy(CreatedByT&& value) {
191 SetCreatedBy(std::forward<CreatedByT>(value));
192 return *this;
193 }
195
197
200 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
201 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
202 template <typename UpdatedAtT = Aws::Utils::DateTime>
203 void SetUpdatedAt(UpdatedAtT&& value) {
204 m_updatedAtHasBeenSet = true;
205 m_updatedAt = std::forward<UpdatedAtT>(value);
206 }
207 template <typename UpdatedAtT = Aws::Utils::DateTime>
208 NotebookSummary& WithUpdatedAt(UpdatedAtT&& value) {
209 SetUpdatedAt(std::forward<UpdatedAtT>(value));
210 return *this;
211 }
213
215
218 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
219 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
220 template <typename UpdatedByT = Aws::String>
221 void SetUpdatedBy(UpdatedByT&& value) {
222 m_updatedByHasBeenSet = true;
223 m_updatedBy = std::forward<UpdatedByT>(value);
224 }
225 template <typename UpdatedByT = Aws::String>
226 NotebookSummary& WithUpdatedBy(UpdatedByT&& value) {
227 SetUpdatedBy(std::forward<UpdatedByT>(value));
228 return *this;
229 }
231 private:
232 Aws::String m_id;
233
234 Aws::String m_name;
235
236 Aws::String m_owningProjectId;
237
238 Aws::String m_domainId;
239
241
243
244 Aws::String m_description;
245
246 Aws::Utils::DateTime m_createdAt{};
247
248 Aws::String m_createdBy;
249
250 Aws::Utils::DateTime m_updatedAt{};
251
252 Aws::String m_updatedBy;
253 bool m_idHasBeenSet = false;
254 bool m_nameHasBeenSet = false;
255 bool m_owningProjectIdHasBeenSet = false;
256 bool m_domainIdHasBeenSet = false;
257 bool m_statusHasBeenSet = false;
258 bool m_typeHasBeenSet = false;
259 bool m_descriptionHasBeenSet = false;
260 bool m_createdAtHasBeenSet = false;
261 bool m_createdByHasBeenSet = false;
262 bool m_updatedAtHasBeenSet = false;
263 bool m_updatedByHasBeenSet = false;
264};
265
266} // namespace Model
267} // namespace DataZone
268} // namespace Aws
const Aws::String & GetDomainId() const
NotebookSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetOwningProjectId() const
NotebookSummary & WithType(NotebookType value)
AWS_DATAZONE_API NotebookSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
NotebookSummary & WithName(NameT &&value)
NotebookSummary & WithUpdatedBy(UpdatedByT &&value)
const Aws::String & GetUpdatedBy() const
NotebookSummary & WithCreatedAt(CreatedAtT &&value)
void SetCreatedBy(CreatedByT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetId() const
NotebookSummary & WithDomainId(DomainIdT &&value)
const Aws::String & GetDescription() const
AWS_DATAZONE_API NotebookSummary(Aws::Utils::Json::JsonView jsonValue)
NotebookSummary & WithCreatedBy(CreatedByT &&value)
void SetUpdatedBy(UpdatedByT &&value)
NotebookSummary & WithId(IdT &&value)
NotebookSummary & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetDescription(DescriptionT &&value)
NotebookSummary & WithStatus(NotebookStatus value)
void SetOwningProjectId(OwningProjectIdT &&value)
NotebookSummary & WithOwningProjectId(OwningProjectIdT &&value)
const Aws::String & GetCreatedBy() const
void SetCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API NotebookSummary()=default
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(NotebookStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue