AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateAssetResult.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/AssetListingDetails.h>
13#include <aws/datazone/model/FormOutput.h>
14#include <aws/datazone/model/PredictionConfiguration.h>
15#include <aws/datazone/model/TimeSeriesDataPointSummaryFormOutput.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataZone {
29namespace Model {
31 public:
32 AWS_DATAZONE_API CreateAssetResult() = default;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
47 CreateAssetResult& WithId(IdT&& value) {
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 template <typename NameT = Aws::String>
59 void SetName(NameT&& value) {
60 m_nameHasBeenSet = true;
61 m_name = std::forward<NameT>(value);
62 }
63 template <typename NameT = Aws::String>
64 CreateAssetResult& WithName(NameT&& value) {
65 SetName(std::forward<NameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetTypeIdentifier() const { return m_typeIdentifier; }
75 template <typename TypeIdentifierT = Aws::String>
76 void SetTypeIdentifier(TypeIdentifierT&& value) {
77 m_typeIdentifierHasBeenSet = true;
78 m_typeIdentifier = std::forward<TypeIdentifierT>(value);
79 }
80 template <typename TypeIdentifierT = Aws::String>
81 CreateAssetResult& WithTypeIdentifier(TypeIdentifierT&& value) {
82 SetTypeIdentifier(std::forward<TypeIdentifierT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
92 template <typename TypeRevisionT = Aws::String>
93 void SetTypeRevision(TypeRevisionT&& value) {
94 m_typeRevisionHasBeenSet = true;
95 m_typeRevision = std::forward<TypeRevisionT>(value);
96 }
97 template <typename TypeRevisionT = Aws::String>
98 CreateAssetResult& WithTypeRevision(TypeRevisionT&& value) {
99 SetTypeRevision(std::forward<TypeRevisionT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetExternalIdentifier() const { return m_externalIdentifier; }
109 template <typename ExternalIdentifierT = Aws::String>
110 void SetExternalIdentifier(ExternalIdentifierT&& value) {
111 m_externalIdentifierHasBeenSet = true;
112 m_externalIdentifier = std::forward<ExternalIdentifierT>(value);
113 }
114 template <typename ExternalIdentifierT = Aws::String>
115 CreateAssetResult& WithExternalIdentifier(ExternalIdentifierT&& value) {
116 SetExternalIdentifier(std::forward<ExternalIdentifierT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::String& GetRevision() const { return m_revision; }
126 template <typename RevisionT = Aws::String>
127 void SetRevision(RevisionT&& value) {
128 m_revisionHasBeenSet = true;
129 m_revision = std::forward<RevisionT>(value);
130 }
131 template <typename RevisionT = Aws::String>
132 CreateAssetResult& WithRevision(RevisionT&& value) {
133 SetRevision(std::forward<RevisionT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::String& GetDescription() const { return m_description; }
143 template <typename DescriptionT = Aws::String>
144 void SetDescription(DescriptionT&& value) {
145 m_descriptionHasBeenSet = true;
146 m_description = std::forward<DescriptionT>(value);
147 }
148 template <typename DescriptionT = Aws::String>
149 CreateAssetResult& WithDescription(DescriptionT&& value) {
150 SetDescription(std::forward<DescriptionT>(value));
151 return *this;
152 }
154
156
159 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
160 template <typename CreatedAtT = Aws::Utils::DateTime>
161 void SetCreatedAt(CreatedAtT&& value) {
162 m_createdAtHasBeenSet = true;
163 m_createdAt = std::forward<CreatedAtT>(value);
164 }
165 template <typename CreatedAtT = Aws::Utils::DateTime>
166 CreateAssetResult& WithCreatedAt(CreatedAtT&& value) {
167 SetCreatedAt(std::forward<CreatedAtT>(value));
168 return *this;
169 }
171
173
176 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
177 template <typename CreatedByT = Aws::String>
178 void SetCreatedBy(CreatedByT&& value) {
179 m_createdByHasBeenSet = true;
180 m_createdBy = std::forward<CreatedByT>(value);
181 }
182 template <typename CreatedByT = Aws::String>
183 CreateAssetResult& WithCreatedBy(CreatedByT&& value) {
184 SetCreatedBy(std::forward<CreatedByT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const { return m_firstRevisionCreatedAt; }
194 template <typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
195 void SetFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) {
196 m_firstRevisionCreatedAtHasBeenSet = true;
197 m_firstRevisionCreatedAt = std::forward<FirstRevisionCreatedAtT>(value);
198 }
199 template <typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
200 CreateAssetResult& WithFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) {
201 SetFirstRevisionCreatedAt(std::forward<FirstRevisionCreatedAtT>(value));
202 return *this;
203 }
205
207
210 inline const Aws::String& GetFirstRevisionCreatedBy() const { return m_firstRevisionCreatedBy; }
211 template <typename FirstRevisionCreatedByT = Aws::String>
212 void SetFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) {
213 m_firstRevisionCreatedByHasBeenSet = true;
214 m_firstRevisionCreatedBy = std::forward<FirstRevisionCreatedByT>(value);
215 }
216 template <typename FirstRevisionCreatedByT = Aws::String>
217 CreateAssetResult& WithFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) {
218 SetFirstRevisionCreatedBy(std::forward<FirstRevisionCreatedByT>(value));
219 return *this;
220 }
222
224
227 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
228 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
229 void SetGlossaryTerms(GlossaryTermsT&& value) {
230 m_glossaryTermsHasBeenSet = true;
231 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
232 }
233 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
234 CreateAssetResult& WithGlossaryTerms(GlossaryTermsT&& value) {
235 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
236 return *this;
237 }
238 template <typename GlossaryTermsT = Aws::String>
239 CreateAssetResult& AddGlossaryTerms(GlossaryTermsT&& value) {
240 m_glossaryTermsHasBeenSet = true;
241 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
242 return *this;
243 }
245
247
250 inline const Aws::Vector<Aws::String>& GetGovernedGlossaryTerms() const { return m_governedGlossaryTerms; }
251 template <typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
252 void SetGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
253 m_governedGlossaryTermsHasBeenSet = true;
254 m_governedGlossaryTerms = std::forward<GovernedGlossaryTermsT>(value);
255 }
256 template <typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
257 CreateAssetResult& WithGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
258 SetGovernedGlossaryTerms(std::forward<GovernedGlossaryTermsT>(value));
259 return *this;
260 }
261 template <typename GovernedGlossaryTermsT = Aws::String>
262 CreateAssetResult& AddGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
263 m_governedGlossaryTermsHasBeenSet = true;
264 m_governedGlossaryTerms.emplace_back(std::forward<GovernedGlossaryTermsT>(value));
265 return *this;
266 }
268
270
273 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
274 template <typename OwningProjectIdT = Aws::String>
275 void SetOwningProjectId(OwningProjectIdT&& value) {
276 m_owningProjectIdHasBeenSet = true;
277 m_owningProjectId = std::forward<OwningProjectIdT>(value);
278 }
279 template <typename OwningProjectIdT = Aws::String>
280 CreateAssetResult& WithOwningProjectId(OwningProjectIdT&& value) {
281 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
282 return *this;
283 }
285
287
290 inline const Aws::String& GetDomainId() const { return m_domainId; }
291 template <typename DomainIdT = Aws::String>
292 void SetDomainId(DomainIdT&& value) {
293 m_domainIdHasBeenSet = true;
294 m_domainId = std::forward<DomainIdT>(value);
295 }
296 template <typename DomainIdT = Aws::String>
297 CreateAssetResult& WithDomainId(DomainIdT&& value) {
298 SetDomainId(std::forward<DomainIdT>(value));
299 return *this;
300 }
302
304
307 inline const AssetListingDetails& GetListing() const { return m_listing; }
308 template <typename ListingT = AssetListingDetails>
309 void SetListing(ListingT&& value) {
310 m_listingHasBeenSet = true;
311 m_listing = std::forward<ListingT>(value);
312 }
313 template <typename ListingT = AssetListingDetails>
314 CreateAssetResult& WithListing(ListingT&& value) {
315 SetListing(std::forward<ListingT>(value));
316 return *this;
317 }
319
321
324 inline const Aws::Vector<FormOutput>& GetFormsOutput() const { return m_formsOutput; }
325 template <typename FormsOutputT = Aws::Vector<FormOutput>>
326 void SetFormsOutput(FormsOutputT&& value) {
327 m_formsOutputHasBeenSet = true;
328 m_formsOutput = std::forward<FormsOutputT>(value);
329 }
330 template <typename FormsOutputT = Aws::Vector<FormOutput>>
331 CreateAssetResult& WithFormsOutput(FormsOutputT&& value) {
332 SetFormsOutput(std::forward<FormsOutputT>(value));
333 return *this;
334 }
335 template <typename FormsOutputT = FormOutput>
336 CreateAssetResult& AddFormsOutput(FormsOutputT&& value) {
337 m_formsOutputHasBeenSet = true;
338 m_formsOutput.emplace_back(std::forward<FormsOutputT>(value));
339 return *this;
340 }
342
344
347 inline const Aws::Vector<FormOutput>& GetReadOnlyFormsOutput() const { return m_readOnlyFormsOutput; }
348 template <typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
349 void SetReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
350 m_readOnlyFormsOutputHasBeenSet = true;
351 m_readOnlyFormsOutput = std::forward<ReadOnlyFormsOutputT>(value);
352 }
353 template <typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
354 CreateAssetResult& WithReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
355 SetReadOnlyFormsOutput(std::forward<ReadOnlyFormsOutputT>(value));
356 return *this;
357 }
358 template <typename ReadOnlyFormsOutputT = FormOutput>
359 CreateAssetResult& AddReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
360 m_readOnlyFormsOutputHasBeenSet = true;
361 m_readOnlyFormsOutput.emplace_back(std::forward<ReadOnlyFormsOutputT>(value));
362 return *this;
363 }
365
367
372 return m_latestTimeSeriesDataPointFormsOutput;
373 }
374 template <typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
375 void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
376 m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true;
377 m_latestTimeSeriesDataPointFormsOutput = std::forward<LatestTimeSeriesDataPointFormsOutputT>(value);
378 }
379 template <typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
380 CreateAssetResult& WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
381 SetLatestTimeSeriesDataPointFormsOutput(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value));
382 return *this;
383 }
384 template <typename LatestTimeSeriesDataPointFormsOutputT = TimeSeriesDataPointSummaryFormOutput>
385 CreateAssetResult& AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
386 m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true;
387 m_latestTimeSeriesDataPointFormsOutput.emplace_back(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value));
388 return *this;
389 }
391
393
397 inline const PredictionConfiguration& GetPredictionConfiguration() const { return m_predictionConfiguration; }
398 template <typename PredictionConfigurationT = PredictionConfiguration>
399 void SetPredictionConfiguration(PredictionConfigurationT&& value) {
400 m_predictionConfigurationHasBeenSet = true;
401 m_predictionConfiguration = std::forward<PredictionConfigurationT>(value);
402 }
403 template <typename PredictionConfigurationT = PredictionConfiguration>
404 CreateAssetResult& WithPredictionConfiguration(PredictionConfigurationT&& value) {
405 SetPredictionConfiguration(std::forward<PredictionConfigurationT>(value));
406 return *this;
407 }
409
411
412 inline const Aws::String& GetRequestId() const { return m_requestId; }
413 template <typename RequestIdT = Aws::String>
414 void SetRequestId(RequestIdT&& value) {
415 m_requestIdHasBeenSet = true;
416 m_requestId = std::forward<RequestIdT>(value);
417 }
418 template <typename RequestIdT = Aws::String>
419 CreateAssetResult& WithRequestId(RequestIdT&& value) {
420 SetRequestId(std::forward<RequestIdT>(value));
421 return *this;
422 }
424 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
425
426 private:
427 Aws::String m_id;
428
429 Aws::String m_name;
430
431 Aws::String m_typeIdentifier;
432
433 Aws::String m_typeRevision;
434
435 Aws::String m_externalIdentifier;
436
437 Aws::String m_revision;
438
439 Aws::String m_description;
440
441 Aws::Utils::DateTime m_createdAt{};
442
443 Aws::String m_createdBy;
444
445 Aws::Utils::DateTime m_firstRevisionCreatedAt{};
446
447 Aws::String m_firstRevisionCreatedBy;
448
449 Aws::Vector<Aws::String> m_glossaryTerms;
450
451 Aws::Vector<Aws::String> m_governedGlossaryTerms;
452
453 Aws::String m_owningProjectId;
454
455 Aws::String m_domainId;
456
457 AssetListingDetails m_listing;
458
459 Aws::Vector<FormOutput> m_formsOutput;
460
461 Aws::Vector<FormOutput> m_readOnlyFormsOutput;
462
463 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
464
465 PredictionConfiguration m_predictionConfiguration;
466
467 Aws::String m_requestId;
468 Aws::Http::HttpResponseCode m_HttpResponseCode;
469 bool m_idHasBeenSet = false;
470 bool m_nameHasBeenSet = false;
471 bool m_typeIdentifierHasBeenSet = false;
472 bool m_typeRevisionHasBeenSet = false;
473 bool m_externalIdentifierHasBeenSet = false;
474 bool m_revisionHasBeenSet = false;
475 bool m_descriptionHasBeenSet = false;
476 bool m_createdAtHasBeenSet = false;
477 bool m_createdByHasBeenSet = false;
478 bool m_firstRevisionCreatedAtHasBeenSet = false;
479 bool m_firstRevisionCreatedByHasBeenSet = false;
480 bool m_glossaryTermsHasBeenSet = false;
481 bool m_governedGlossaryTermsHasBeenSet = false;
482 bool m_owningProjectIdHasBeenSet = false;
483 bool m_domainIdHasBeenSet = false;
484 bool m_listingHasBeenSet = false;
485 bool m_formsOutputHasBeenSet = false;
486 bool m_readOnlyFormsOutputHasBeenSet = false;
487 bool m_latestTimeSeriesDataPointFormsOutputHasBeenSet = false;
488 bool m_predictionConfigurationHasBeenSet = false;
489 bool m_requestIdHasBeenSet = false;
490};
491
492} // namespace Model
493} // namespace DataZone
494} // namespace Aws
CreateAssetResult & WithId(IdT &&value)
void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT &&value)
const Aws::Vector< FormOutput > & GetFormsOutput() const
CreateAssetResult & AddGlossaryTerms(GlossaryTermsT &&value)
CreateAssetResult & WithReadOnlyFormsOutput(ReadOnlyFormsOutputT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetRequestId() const
const Aws::String & GetTypeIdentifier() const
void SetOwningProjectId(OwningProjectIdT &&value)
const Aws::String & GetTypeRevision() const
CreateAssetResult & WithCreatedBy(CreatedByT &&value)
const AssetListingDetails & GetListing() const
AWS_DATAZONE_API CreateAssetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDescription(DescriptionT &&value)
CreateAssetResult & WithExternalIdentifier(ExternalIdentifierT &&value)
void SetTypeRevision(TypeRevisionT &&value)
CreateAssetResult & WithRevision(RevisionT &&value)
CreateAssetResult & AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT &&value)
const Aws::String & GetCreatedBy() const
void SetFirstRevisionCreatedAt(FirstRevisionCreatedAtT &&value)
CreateAssetResult & WithFirstRevisionCreatedBy(FirstRevisionCreatedByT &&value)
AWS_DATAZONE_API CreateAssetResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateAssetResult & WithTypeIdentifier(TypeIdentifierT &&value)
CreateAssetResult & WithRequestId(RequestIdT &&value)
CreateAssetResult & WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT &&value)
CreateAssetResult & AddReadOnlyFormsOutput(ReadOnlyFormsOutputT &&value)
CreateAssetResult & WithDomainId(DomainIdT &&value)
const PredictionConfiguration & GetPredictionConfiguration() const
const Aws::String & GetDomainId() const
AWS_DATAZONE_API CreateAssetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAssetResult & WithName(NameT &&value)
void SetGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
CreateAssetResult & WithOwningProjectId(OwningProjectIdT &&value)
const Aws::Utils::DateTime & GetFirstRevisionCreatedAt() const
CreateAssetResult & WithDescription(DescriptionT &&value)
CreateAssetResult & WithPredictionConfiguration(PredictionConfigurationT &&value)
void SetPredictionConfiguration(PredictionConfigurationT &&value)
CreateAssetResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< TimeSeriesDataPointSummaryFormOutput > & GetLatestTimeSeriesDataPointFormsOutput() const
CreateAssetResult & AddGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
CreateAssetResult & WithListing(ListingT &&value)
void SetExternalIdentifier(ExternalIdentifierT &&value)
const Aws::String & GetRevision() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetFirstRevisionCreatedBy(FirstRevisionCreatedByT &&value)
CreateAssetResult & WithFormsOutput(FormsOutputT &&value)
CreateAssetResult & WithFirstRevisionCreatedAt(FirstRevisionCreatedAtT &&value)
CreateAssetResult & AddFormsOutput(FormsOutputT &&value)
void SetTypeIdentifier(TypeIdentifierT &&value)
void SetReadOnlyFormsOutput(ReadOnlyFormsOutputT &&value)
CreateAssetResult & WithTypeRevision(TypeRevisionT &&value)
const Aws::Vector< FormOutput > & GetReadOnlyFormsOutput() const
const Aws::String & GetFirstRevisionCreatedBy() const
CreateAssetResult & WithGlossaryTerms(GlossaryTermsT &&value)
const Aws::String & GetExternalIdentifier() const
void SetFormsOutput(FormsOutputT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
void SetGlossaryTerms(GlossaryTermsT &&value)
const Aws::Vector< Aws::String > & GetGovernedGlossaryTerms() const
const Aws::String & GetOwningProjectId() const
CreateAssetResult & WithGovernedGlossaryTerms(GovernedGlossaryTermsT &&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