AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
GetAssetResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/AssetListingDetails.h>
12#include <aws/datazone/model/FormOutput.h>
13#include <aws/datazone/model/TimeSeriesDataPointSummaryFormOutput.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 GetAssetResult() = default;
33
35
38 inline const Aws::String& GetId() const { return m_id; }
39 template <typename IdT = Aws::String>
40 void SetId(IdT&& value) {
41 m_idHasBeenSet = true;
42 m_id = std::forward<IdT>(value);
43 }
44 template <typename IdT = Aws::String>
45 GetAssetResult& WithId(IdT&& value) {
46 SetId(std::forward<IdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 template <typename NameT = Aws::String>
57 void SetName(NameT&& value) {
58 m_nameHasBeenSet = true;
59 m_name = std::forward<NameT>(value);
60 }
61 template <typename NameT = Aws::String>
62 GetAssetResult& WithName(NameT&& value) {
63 SetName(std::forward<NameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetTypeIdentifier() const { return m_typeIdentifier; }
73 template <typename TypeIdentifierT = Aws::String>
74 void SetTypeIdentifier(TypeIdentifierT&& value) {
75 m_typeIdentifierHasBeenSet = true;
76 m_typeIdentifier = std::forward<TypeIdentifierT>(value);
77 }
78 template <typename TypeIdentifierT = Aws::String>
79 GetAssetResult& WithTypeIdentifier(TypeIdentifierT&& value) {
80 SetTypeIdentifier(std::forward<TypeIdentifierT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
90 template <typename TypeRevisionT = Aws::String>
91 void SetTypeRevision(TypeRevisionT&& value) {
92 m_typeRevisionHasBeenSet = true;
93 m_typeRevision = std::forward<TypeRevisionT>(value);
94 }
95 template <typename TypeRevisionT = Aws::String>
96 GetAssetResult& WithTypeRevision(TypeRevisionT&& value) {
97 SetTypeRevision(std::forward<TypeRevisionT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetExternalIdentifier() const { return m_externalIdentifier; }
107 template <typename ExternalIdentifierT = Aws::String>
108 void SetExternalIdentifier(ExternalIdentifierT&& value) {
109 m_externalIdentifierHasBeenSet = true;
110 m_externalIdentifier = std::forward<ExternalIdentifierT>(value);
111 }
112 template <typename ExternalIdentifierT = Aws::String>
113 GetAssetResult& WithExternalIdentifier(ExternalIdentifierT&& value) {
114 SetExternalIdentifier(std::forward<ExternalIdentifierT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetRevision() const { return m_revision; }
124 template <typename RevisionT = Aws::String>
125 void SetRevision(RevisionT&& value) {
126 m_revisionHasBeenSet = true;
127 m_revision = std::forward<RevisionT>(value);
128 }
129 template <typename RevisionT = Aws::String>
130 GetAssetResult& WithRevision(RevisionT&& value) {
131 SetRevision(std::forward<RevisionT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::String& GetDescription() const { return m_description; }
141 template <typename DescriptionT = Aws::String>
142 void SetDescription(DescriptionT&& value) {
143 m_descriptionHasBeenSet = true;
144 m_description = std::forward<DescriptionT>(value);
145 }
146 template <typename DescriptionT = Aws::String>
147 GetAssetResult& WithDescription(DescriptionT&& value) {
148 SetDescription(std::forward<DescriptionT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
158 template <typename CreatedAtT = Aws::Utils::DateTime>
159 void SetCreatedAt(CreatedAtT&& value) {
160 m_createdAtHasBeenSet = true;
161 m_createdAt = std::forward<CreatedAtT>(value);
162 }
163 template <typename CreatedAtT = Aws::Utils::DateTime>
164 GetAssetResult& WithCreatedAt(CreatedAtT&& value) {
165 SetCreatedAt(std::forward<CreatedAtT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
175 template <typename CreatedByT = Aws::String>
176 void SetCreatedBy(CreatedByT&& value) {
177 m_createdByHasBeenSet = true;
178 m_createdBy = std::forward<CreatedByT>(value);
179 }
180 template <typename CreatedByT = Aws::String>
181 GetAssetResult& WithCreatedBy(CreatedByT&& value) {
182 SetCreatedBy(std::forward<CreatedByT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const { return m_firstRevisionCreatedAt; }
192 template <typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
193 void SetFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) {
194 m_firstRevisionCreatedAtHasBeenSet = true;
195 m_firstRevisionCreatedAt = std::forward<FirstRevisionCreatedAtT>(value);
196 }
197 template <typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
198 GetAssetResult& WithFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) {
199 SetFirstRevisionCreatedAt(std::forward<FirstRevisionCreatedAtT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::String& GetFirstRevisionCreatedBy() const { return m_firstRevisionCreatedBy; }
209 template <typename FirstRevisionCreatedByT = Aws::String>
210 void SetFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) {
211 m_firstRevisionCreatedByHasBeenSet = true;
212 m_firstRevisionCreatedBy = std::forward<FirstRevisionCreatedByT>(value);
213 }
214 template <typename FirstRevisionCreatedByT = Aws::String>
215 GetAssetResult& WithFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) {
216 SetFirstRevisionCreatedBy(std::forward<FirstRevisionCreatedByT>(value));
217 return *this;
218 }
220
222
225 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
226 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
227 void SetGlossaryTerms(GlossaryTermsT&& value) {
228 m_glossaryTermsHasBeenSet = true;
229 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
230 }
231 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
232 GetAssetResult& WithGlossaryTerms(GlossaryTermsT&& value) {
233 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
234 return *this;
235 }
236 template <typename GlossaryTermsT = Aws::String>
237 GetAssetResult& AddGlossaryTerms(GlossaryTermsT&& value) {
238 m_glossaryTermsHasBeenSet = true;
239 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
240 return *this;
241 }
243
245
248 inline const Aws::Vector<Aws::String>& GetGovernedGlossaryTerms() const { return m_governedGlossaryTerms; }
249 template <typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
250 void SetGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
251 m_governedGlossaryTermsHasBeenSet = true;
252 m_governedGlossaryTerms = std::forward<GovernedGlossaryTermsT>(value);
253 }
254 template <typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
255 GetAssetResult& WithGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
256 SetGovernedGlossaryTerms(std::forward<GovernedGlossaryTermsT>(value));
257 return *this;
258 }
259 template <typename GovernedGlossaryTermsT = Aws::String>
260 GetAssetResult& AddGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
261 m_governedGlossaryTermsHasBeenSet = true;
262 m_governedGlossaryTerms.emplace_back(std::forward<GovernedGlossaryTermsT>(value));
263 return *this;
264 }
266
268
271 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
272 template <typename OwningProjectIdT = Aws::String>
273 void SetOwningProjectId(OwningProjectIdT&& value) {
274 m_owningProjectIdHasBeenSet = true;
275 m_owningProjectId = std::forward<OwningProjectIdT>(value);
276 }
277 template <typename OwningProjectIdT = Aws::String>
278 GetAssetResult& WithOwningProjectId(OwningProjectIdT&& value) {
279 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
280 return *this;
281 }
283
285
288 inline const Aws::String& GetDomainId() const { return m_domainId; }
289 template <typename DomainIdT = Aws::String>
290 void SetDomainId(DomainIdT&& value) {
291 m_domainIdHasBeenSet = true;
292 m_domainId = std::forward<DomainIdT>(value);
293 }
294 template <typename DomainIdT = Aws::String>
295 GetAssetResult& WithDomainId(DomainIdT&& value) {
296 SetDomainId(std::forward<DomainIdT>(value));
297 return *this;
298 }
300
302
305 inline const AssetListingDetails& GetListing() const { return m_listing; }
306 template <typename ListingT = AssetListingDetails>
307 void SetListing(ListingT&& value) {
308 m_listingHasBeenSet = true;
309 m_listing = std::forward<ListingT>(value);
310 }
311 template <typename ListingT = AssetListingDetails>
312 GetAssetResult& WithListing(ListingT&& value) {
313 SetListing(std::forward<ListingT>(value));
314 return *this;
315 }
317
319
322 inline const Aws::Vector<FormOutput>& GetFormsOutput() const { return m_formsOutput; }
323 template <typename FormsOutputT = Aws::Vector<FormOutput>>
324 void SetFormsOutput(FormsOutputT&& value) {
325 m_formsOutputHasBeenSet = true;
326 m_formsOutput = std::forward<FormsOutputT>(value);
327 }
328 template <typename FormsOutputT = Aws::Vector<FormOutput>>
329 GetAssetResult& WithFormsOutput(FormsOutputT&& value) {
330 SetFormsOutput(std::forward<FormsOutputT>(value));
331 return *this;
332 }
333 template <typename FormsOutputT = FormOutput>
334 GetAssetResult& AddFormsOutput(FormsOutputT&& value) {
335 m_formsOutputHasBeenSet = true;
336 m_formsOutput.emplace_back(std::forward<FormsOutputT>(value));
337 return *this;
338 }
340
342
345 inline const Aws::Vector<FormOutput>& GetReadOnlyFormsOutput() const { return m_readOnlyFormsOutput; }
346 template <typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
347 void SetReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
348 m_readOnlyFormsOutputHasBeenSet = true;
349 m_readOnlyFormsOutput = std::forward<ReadOnlyFormsOutputT>(value);
350 }
351 template <typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
352 GetAssetResult& WithReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
353 SetReadOnlyFormsOutput(std::forward<ReadOnlyFormsOutputT>(value));
354 return *this;
355 }
356 template <typename ReadOnlyFormsOutputT = FormOutput>
357 GetAssetResult& AddReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
358 m_readOnlyFormsOutputHasBeenSet = true;
359 m_readOnlyFormsOutput.emplace_back(std::forward<ReadOnlyFormsOutputT>(value));
360 return *this;
361 }
363
365
370 return m_latestTimeSeriesDataPointFormsOutput;
371 }
372 template <typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
373 void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
374 m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true;
375 m_latestTimeSeriesDataPointFormsOutput = std::forward<LatestTimeSeriesDataPointFormsOutputT>(value);
376 }
377 template <typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
378 GetAssetResult& WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
379 SetLatestTimeSeriesDataPointFormsOutput(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value));
380 return *this;
381 }
382 template <typename LatestTimeSeriesDataPointFormsOutputT = TimeSeriesDataPointSummaryFormOutput>
383 GetAssetResult& AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
384 m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true;
385 m_latestTimeSeriesDataPointFormsOutput.emplace_back(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value));
386 return *this;
387 }
389
391
392 inline const Aws::String& GetRequestId() const { return m_requestId; }
393 template <typename RequestIdT = Aws::String>
394 void SetRequestId(RequestIdT&& value) {
395 m_requestIdHasBeenSet = true;
396 m_requestId = std::forward<RequestIdT>(value);
397 }
398 template <typename RequestIdT = Aws::String>
399 GetAssetResult& WithRequestId(RequestIdT&& value) {
400 SetRequestId(std::forward<RequestIdT>(value));
401 return *this;
402 }
404 private:
405 Aws::String m_id;
406
407 Aws::String m_name;
408
409 Aws::String m_typeIdentifier;
410
411 Aws::String m_typeRevision;
412
413 Aws::String m_externalIdentifier;
414
415 Aws::String m_revision;
416
417 Aws::String m_description;
418
419 Aws::Utils::DateTime m_createdAt{};
420
421 Aws::String m_createdBy;
422
423 Aws::Utils::DateTime m_firstRevisionCreatedAt{};
424
425 Aws::String m_firstRevisionCreatedBy;
426
427 Aws::Vector<Aws::String> m_glossaryTerms;
428
429 Aws::Vector<Aws::String> m_governedGlossaryTerms;
430
431 Aws::String m_owningProjectId;
432
433 Aws::String m_domainId;
434
435 AssetListingDetails m_listing;
436
437 Aws::Vector<FormOutput> m_formsOutput;
438
439 Aws::Vector<FormOutput> m_readOnlyFormsOutput;
440
441 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
442
443 Aws::String m_requestId;
444 bool m_idHasBeenSet = false;
445 bool m_nameHasBeenSet = false;
446 bool m_typeIdentifierHasBeenSet = false;
447 bool m_typeRevisionHasBeenSet = false;
448 bool m_externalIdentifierHasBeenSet = false;
449 bool m_revisionHasBeenSet = false;
450 bool m_descriptionHasBeenSet = false;
451 bool m_createdAtHasBeenSet = false;
452 bool m_createdByHasBeenSet = false;
453 bool m_firstRevisionCreatedAtHasBeenSet = false;
454 bool m_firstRevisionCreatedByHasBeenSet = false;
455 bool m_glossaryTermsHasBeenSet = false;
456 bool m_governedGlossaryTermsHasBeenSet = false;
457 bool m_owningProjectIdHasBeenSet = false;
458 bool m_domainIdHasBeenSet = false;
459 bool m_listingHasBeenSet = false;
460 bool m_formsOutputHasBeenSet = false;
461 bool m_readOnlyFormsOutputHasBeenSet = false;
462 bool m_latestTimeSeriesDataPointFormsOutputHasBeenSet = false;
463 bool m_requestIdHasBeenSet = false;
464};
465
466} // namespace Model
467} // namespace DataZone
468} // namespace Aws
const Aws::String & GetRevision() const
void SetReadOnlyFormsOutput(ReadOnlyFormsOutputT &&value)
GetAssetResult & WithFirstRevisionCreatedAt(FirstRevisionCreatedAtT &&value)
const Aws::String & GetCreatedBy() const
GetAssetResult & WithId(IdT &&value)
const Aws::String & GetId() const
AWS_DATAZONE_API GetAssetResult()=default
const Aws::Utils::DateTime & GetFirstRevisionCreatedAt() const
GetAssetResult & WithFormsOutput(FormsOutputT &&value)
GetAssetResult & WithListing(ListingT &&value)
const Aws::Vector< TimeSeriesDataPointSummaryFormOutput > & GetLatestTimeSeriesDataPointFormsOutput() const
const Aws::String & GetDescription() const
void SetDomainId(DomainIdT &&value)
void SetOwningProjectId(OwningProjectIdT &&value)
GetAssetResult & WithGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
void SetGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
GetAssetResult & WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT &&value)
void SetExternalIdentifier(ExternalIdentifierT &&value)
void SetGlossaryTerms(GlossaryTermsT &&value)
void SetFormsOutput(FormsOutputT &&value)
GetAssetResult & WithTypeRevision(TypeRevisionT &&value)
GetAssetResult & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetFirstRevisionCreatedBy() const
void SetCreatedAt(CreatedAtT &&value)
GetAssetResult & WithGlossaryTerms(GlossaryTermsT &&value)
GetAssetResult & AddReadOnlyFormsOutput(ReadOnlyFormsOutputT &&value)
void SetFirstRevisionCreatedBy(FirstRevisionCreatedByT &&value)
GetAssetResult & WithFirstRevisionCreatedBy(FirstRevisionCreatedByT &&value)
const Aws::String & GetTypeIdentifier() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetExternalIdentifier() const
GetAssetResult & AddGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
AWS_DATAZONE_API GetAssetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetOwningProjectId() const
GetAssetResult & WithTypeIdentifier(TypeIdentifierT &&value)
GetAssetResult & WithName(NameT &&value)
const Aws::String & GetDomainId() const
GetAssetResult & WithDomainId(DomainIdT &&value)
GetAssetResult & WithRevision(RevisionT &&value)
GetAssetResult & WithOwningProjectId(OwningProjectIdT &&value)
AWS_DATAZONE_API GetAssetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTypeRevision(TypeRevisionT &&value)
const Aws::String & GetTypeRevision() const
GetAssetResult & AddGlossaryTerms(GlossaryTermsT &&value)
GetAssetResult & WithExternalIdentifier(ExternalIdentifierT &&value)
GetAssetResult & AddFormsOutput(FormsOutputT &&value)
const Aws::Vector< FormOutput > & GetFormsOutput() const
GetAssetResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< FormOutput > & GetReadOnlyFormsOutput() const
const AssetListingDetails & GetListing() const
const Aws::Vector< Aws::String > & GetGovernedGlossaryTerms() const
void SetFirstRevisionCreatedAt(FirstRevisionCreatedAtT &&value)
void SetCreatedBy(CreatedByT &&value)
const Aws::String & GetRequestId() const
void SetDescription(DescriptionT &&value)
GetAssetResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
const Aws::String & GetName() const
void SetRevision(RevisionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetAssetResult & AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT &&value)
GetAssetResult & WithReadOnlyFormsOutput(ReadOnlyFormsOutputT &&value)
void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT &&value)
void SetTypeIdentifier(TypeIdentifierT &&value)
GetAssetResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue