AWS SDK for C++

AWS SDK for C++ Version 1.11.807

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
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone {
22namespace Model {
23
31 public:
32 AWS_DATAZONE_API NotebookSummary() = default;
33 AWS_DATAZONE_API NotebookSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
49 NotebookSummary& WithId(IdT&& value) {
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
67 NotebookSummary& WithName(NameT&& value) {
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
78 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
79 template <typename OwningProjectIdT = Aws::String>
80 void SetOwningProjectId(OwningProjectIdT&& value) {
81 m_owningProjectIdHasBeenSet = true;
82 m_owningProjectId = std::forward<OwningProjectIdT>(value);
83 }
84 template <typename OwningProjectIdT = Aws::String>
85 NotebookSummary& WithOwningProjectId(OwningProjectIdT&& value) {
86 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetDomainId() const { return m_domainId; }
96 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
97 template <typename DomainIdT = Aws::String>
98 void SetDomainId(DomainIdT&& value) {
99 m_domainIdHasBeenSet = true;
100 m_domainId = std::forward<DomainIdT>(value);
101 }
102 template <typename DomainIdT = Aws::String>
103 NotebookSummary& WithDomainId(DomainIdT&& value) {
104 SetDomainId(std::forward<DomainIdT>(value));
105 return *this;
106 }
108
110
113 inline NotebookStatus GetStatus() const { return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 inline void SetStatus(NotebookStatus value) {
116 m_statusHasBeenSet = true;
117 m_status = value;
118 }
120 SetStatus(value);
121 return *this;
122 }
124
126
129 inline const Aws::String& GetDescription() const { return m_description; }
130 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
131 template <typename DescriptionT = Aws::String>
132 void SetDescription(DescriptionT&& value) {
133 m_descriptionHasBeenSet = true;
134 m_description = std::forward<DescriptionT>(value);
135 }
136 template <typename DescriptionT = Aws::String>
137 NotebookSummary& WithDescription(DescriptionT&& value) {
138 SetDescription(std::forward<DescriptionT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
148 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
149 template <typename CreatedAtT = Aws::Utils::DateTime>
150 void SetCreatedAt(CreatedAtT&& value) {
151 m_createdAtHasBeenSet = true;
152 m_createdAt = std::forward<CreatedAtT>(value);
153 }
154 template <typename CreatedAtT = Aws::Utils::DateTime>
155 NotebookSummary& WithCreatedAt(CreatedAtT&& value) {
156 SetCreatedAt(std::forward<CreatedAtT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
166 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
167 template <typename CreatedByT = Aws::String>
168 void SetCreatedBy(CreatedByT&& value) {
169 m_createdByHasBeenSet = true;
170 m_createdBy = std::forward<CreatedByT>(value);
171 }
172 template <typename CreatedByT = Aws::String>
173 NotebookSummary& WithCreatedBy(CreatedByT&& value) {
174 SetCreatedBy(std::forward<CreatedByT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
184 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
185 template <typename UpdatedAtT = Aws::Utils::DateTime>
186 void SetUpdatedAt(UpdatedAtT&& value) {
187 m_updatedAtHasBeenSet = true;
188 m_updatedAt = std::forward<UpdatedAtT>(value);
189 }
190 template <typename UpdatedAtT = Aws::Utils::DateTime>
191 NotebookSummary& WithUpdatedAt(UpdatedAtT&& value) {
192 SetUpdatedAt(std::forward<UpdatedAtT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
202 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
203 template <typename UpdatedByT = Aws::String>
204 void SetUpdatedBy(UpdatedByT&& value) {
205 m_updatedByHasBeenSet = true;
206 m_updatedBy = std::forward<UpdatedByT>(value);
207 }
208 template <typename UpdatedByT = Aws::String>
209 NotebookSummary& WithUpdatedBy(UpdatedByT&& value) {
210 SetUpdatedBy(std::forward<UpdatedByT>(value));
211 return *this;
212 }
214 private:
215 Aws::String m_id;
216
217 Aws::String m_name;
218
219 Aws::String m_owningProjectId;
220
221 Aws::String m_domainId;
222
224
225 Aws::String m_description;
226
227 Aws::Utils::DateTime m_createdAt{};
228
229 Aws::String m_createdBy;
230
231 Aws::Utils::DateTime m_updatedAt{};
232
233 Aws::String m_updatedBy;
234 bool m_idHasBeenSet = false;
235 bool m_nameHasBeenSet = false;
236 bool m_owningProjectIdHasBeenSet = false;
237 bool m_domainIdHasBeenSet = false;
238 bool m_statusHasBeenSet = false;
239 bool m_descriptionHasBeenSet = false;
240 bool m_createdAtHasBeenSet = false;
241 bool m_createdByHasBeenSet = false;
242 bool m_updatedAtHasBeenSet = false;
243 bool m_updatedByHasBeenSet = false;
244};
245
246} // namespace Model
247} // namespace DataZone
248} // namespace Aws
const Aws::String & GetDomainId() const
NotebookSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetOwningProjectId() const
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