AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
CreateAssetResult.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/PredictionConfiguration.h>
14#include <aws/datazone/model/TimeSeriesDataPointSummaryFormOutput.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataZone {
28namespace Model {
30 public:
31 AWS_DATAZONE_API CreateAssetResult() = default;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 template <typename IdT = Aws::String>
41 void SetId(IdT&& value) {
42 m_idHasBeenSet = true;
43 m_id = std::forward<IdT>(value);
44 }
45 template <typename IdT = Aws::String>
46 CreateAssetResult& WithId(IdT&& value) {
47 SetId(std::forward<IdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
63 CreateAssetResult& WithName(NameT&& value) {
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetTypeIdentifier() const { return m_typeIdentifier; }
74 template <typename TypeIdentifierT = Aws::String>
75 void SetTypeIdentifier(TypeIdentifierT&& value) {
76 m_typeIdentifierHasBeenSet = true;
77 m_typeIdentifier = std::forward<TypeIdentifierT>(value);
78 }
79 template <typename TypeIdentifierT = Aws::String>
80 CreateAssetResult& WithTypeIdentifier(TypeIdentifierT&& value) {
81 SetTypeIdentifier(std::forward<TypeIdentifierT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
91 template <typename TypeRevisionT = Aws::String>
92 void SetTypeRevision(TypeRevisionT&& value) {
93 m_typeRevisionHasBeenSet = true;
94 m_typeRevision = std::forward<TypeRevisionT>(value);
95 }
96 template <typename TypeRevisionT = Aws::String>
97 CreateAssetResult& WithTypeRevision(TypeRevisionT&& value) {
98 SetTypeRevision(std::forward<TypeRevisionT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetExternalIdentifier() const { return m_externalIdentifier; }
108 template <typename ExternalIdentifierT = Aws::String>
109 void SetExternalIdentifier(ExternalIdentifierT&& value) {
110 m_externalIdentifierHasBeenSet = true;
111 m_externalIdentifier = std::forward<ExternalIdentifierT>(value);
112 }
113 template <typename ExternalIdentifierT = Aws::String>
114 CreateAssetResult& WithExternalIdentifier(ExternalIdentifierT&& value) {
115 SetExternalIdentifier(std::forward<ExternalIdentifierT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetRevision() const { return m_revision; }
125 template <typename RevisionT = Aws::String>
126 void SetRevision(RevisionT&& value) {
127 m_revisionHasBeenSet = true;
128 m_revision = std::forward<RevisionT>(value);
129 }
130 template <typename RevisionT = Aws::String>
131 CreateAssetResult& WithRevision(RevisionT&& value) {
132 SetRevision(std::forward<RevisionT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetDescription() const { return m_description; }
142 template <typename DescriptionT = Aws::String>
143 void SetDescription(DescriptionT&& value) {
144 m_descriptionHasBeenSet = true;
145 m_description = std::forward<DescriptionT>(value);
146 }
147 template <typename DescriptionT = Aws::String>
148 CreateAssetResult& WithDescription(DescriptionT&& value) {
149 SetDescription(std::forward<DescriptionT>(value));
150 return *this;
151 }
153
155
158 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
159 template <typename CreatedAtT = Aws::Utils::DateTime>
160 void SetCreatedAt(CreatedAtT&& value) {
161 m_createdAtHasBeenSet = true;
162 m_createdAt = std::forward<CreatedAtT>(value);
163 }
164 template <typename CreatedAtT = Aws::Utils::DateTime>
165 CreateAssetResult& WithCreatedAt(CreatedAtT&& value) {
166 SetCreatedAt(std::forward<CreatedAtT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
176 template <typename CreatedByT = Aws::String>
177 void SetCreatedBy(CreatedByT&& value) {
178 m_createdByHasBeenSet = true;
179 m_createdBy = std::forward<CreatedByT>(value);
180 }
181 template <typename CreatedByT = Aws::String>
182 CreateAssetResult& WithCreatedBy(CreatedByT&& value) {
183 SetCreatedBy(std::forward<CreatedByT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const { return m_firstRevisionCreatedAt; }
193 template <typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
194 void SetFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) {
195 m_firstRevisionCreatedAtHasBeenSet = true;
196 m_firstRevisionCreatedAt = std::forward<FirstRevisionCreatedAtT>(value);
197 }
198 template <typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
199 CreateAssetResult& WithFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) {
200 SetFirstRevisionCreatedAt(std::forward<FirstRevisionCreatedAtT>(value));
201 return *this;
202 }
204
206
209 inline const Aws::String& GetFirstRevisionCreatedBy() const { return m_firstRevisionCreatedBy; }
210 template <typename FirstRevisionCreatedByT = Aws::String>
211 void SetFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) {
212 m_firstRevisionCreatedByHasBeenSet = true;
213 m_firstRevisionCreatedBy = std::forward<FirstRevisionCreatedByT>(value);
214 }
215 template <typename FirstRevisionCreatedByT = Aws::String>
216 CreateAssetResult& WithFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) {
217 SetFirstRevisionCreatedBy(std::forward<FirstRevisionCreatedByT>(value));
218 return *this;
219 }
221
223
226 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
227 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
228 void SetGlossaryTerms(GlossaryTermsT&& value) {
229 m_glossaryTermsHasBeenSet = true;
230 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
231 }
232 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
233 CreateAssetResult& WithGlossaryTerms(GlossaryTermsT&& value) {
234 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
235 return *this;
236 }
237 template <typename GlossaryTermsT = Aws::String>
238 CreateAssetResult& AddGlossaryTerms(GlossaryTermsT&& value) {
239 m_glossaryTermsHasBeenSet = true;
240 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
241 return *this;
242 }
244
246
249 inline const Aws::Vector<Aws::String>& GetGovernedGlossaryTerms() const { return m_governedGlossaryTerms; }
250 template <typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
251 void SetGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
252 m_governedGlossaryTermsHasBeenSet = true;
253 m_governedGlossaryTerms = std::forward<GovernedGlossaryTermsT>(value);
254 }
255 template <typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
256 CreateAssetResult& WithGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
257 SetGovernedGlossaryTerms(std::forward<GovernedGlossaryTermsT>(value));
258 return *this;
259 }
260 template <typename GovernedGlossaryTermsT = Aws::String>
261 CreateAssetResult& AddGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
262 m_governedGlossaryTermsHasBeenSet = true;
263 m_governedGlossaryTerms.emplace_back(std::forward<GovernedGlossaryTermsT>(value));
264 return *this;
265 }
267
269
272 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
273 template <typename OwningProjectIdT = Aws::String>
274 void SetOwningProjectId(OwningProjectIdT&& value) {
275 m_owningProjectIdHasBeenSet = true;
276 m_owningProjectId = std::forward<OwningProjectIdT>(value);
277 }
278 template <typename OwningProjectIdT = Aws::String>
279 CreateAssetResult& WithOwningProjectId(OwningProjectIdT&& value) {
280 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
281 return *this;
282 }
284
286
289 inline const Aws::String& GetDomainId() const { return m_domainId; }
290 template <typename DomainIdT = Aws::String>
291 void SetDomainId(DomainIdT&& value) {
292 m_domainIdHasBeenSet = true;
293 m_domainId = std::forward<DomainIdT>(value);
294 }
295 template <typename DomainIdT = Aws::String>
296 CreateAssetResult& WithDomainId(DomainIdT&& value) {
297 SetDomainId(std::forward<DomainIdT>(value));
298 return *this;
299 }
301
303
306 inline const AssetListingDetails& GetListing() const { return m_listing; }
307 template <typename ListingT = AssetListingDetails>
308 void SetListing(ListingT&& value) {
309 m_listingHasBeenSet = true;
310 m_listing = std::forward<ListingT>(value);
311 }
312 template <typename ListingT = AssetListingDetails>
313 CreateAssetResult& WithListing(ListingT&& value) {
314 SetListing(std::forward<ListingT>(value));
315 return *this;
316 }
318
320
323 inline const Aws::Vector<FormOutput>& GetFormsOutput() const { return m_formsOutput; }
324 template <typename FormsOutputT = Aws::Vector<FormOutput>>
325 void SetFormsOutput(FormsOutputT&& value) {
326 m_formsOutputHasBeenSet = true;
327 m_formsOutput = std::forward<FormsOutputT>(value);
328 }
329 template <typename FormsOutputT = Aws::Vector<FormOutput>>
330 CreateAssetResult& WithFormsOutput(FormsOutputT&& value) {
331 SetFormsOutput(std::forward<FormsOutputT>(value));
332 return *this;
333 }
334 template <typename FormsOutputT = FormOutput>
335 CreateAssetResult& AddFormsOutput(FormsOutputT&& value) {
336 m_formsOutputHasBeenSet = true;
337 m_formsOutput.emplace_back(std::forward<FormsOutputT>(value));
338 return *this;
339 }
341
343
346 inline const Aws::Vector<FormOutput>& GetReadOnlyFormsOutput() const { return m_readOnlyFormsOutput; }
347 template <typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
348 void SetReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
349 m_readOnlyFormsOutputHasBeenSet = true;
350 m_readOnlyFormsOutput = std::forward<ReadOnlyFormsOutputT>(value);
351 }
352 template <typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
353 CreateAssetResult& WithReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
354 SetReadOnlyFormsOutput(std::forward<ReadOnlyFormsOutputT>(value));
355 return *this;
356 }
357 template <typename ReadOnlyFormsOutputT = FormOutput>
358 CreateAssetResult& AddReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
359 m_readOnlyFormsOutputHasBeenSet = true;
360 m_readOnlyFormsOutput.emplace_back(std::forward<ReadOnlyFormsOutputT>(value));
361 return *this;
362 }
364
366
371 return m_latestTimeSeriesDataPointFormsOutput;
372 }
373 template <typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
374 void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
375 m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true;
376 m_latestTimeSeriesDataPointFormsOutput = std::forward<LatestTimeSeriesDataPointFormsOutputT>(value);
377 }
378 template <typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
379 CreateAssetResult& WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
380 SetLatestTimeSeriesDataPointFormsOutput(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value));
381 return *this;
382 }
383 template <typename LatestTimeSeriesDataPointFormsOutputT = TimeSeriesDataPointSummaryFormOutput>
384 CreateAssetResult& AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
385 m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true;
386 m_latestTimeSeriesDataPointFormsOutput.emplace_back(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value));
387 return *this;
388 }
390
392
396 inline const PredictionConfiguration& GetPredictionConfiguration() const { return m_predictionConfiguration; }
397 template <typename PredictionConfigurationT = PredictionConfiguration>
398 void SetPredictionConfiguration(PredictionConfigurationT&& value) {
399 m_predictionConfigurationHasBeenSet = true;
400 m_predictionConfiguration = std::forward<PredictionConfigurationT>(value);
401 }
402 template <typename PredictionConfigurationT = PredictionConfiguration>
403 CreateAssetResult& WithPredictionConfiguration(PredictionConfigurationT&& value) {
404 SetPredictionConfiguration(std::forward<PredictionConfigurationT>(value));
405 return *this;
406 }
408
410
411 inline const Aws::String& GetRequestId() const { return m_requestId; }
412 template <typename RequestIdT = Aws::String>
413 void SetRequestId(RequestIdT&& value) {
414 m_requestIdHasBeenSet = true;
415 m_requestId = std::forward<RequestIdT>(value);
416 }
417 template <typename RequestIdT = Aws::String>
418 CreateAssetResult& WithRequestId(RequestIdT&& value) {
419 SetRequestId(std::forward<RequestIdT>(value));
420 return *this;
421 }
423 private:
424 Aws::String m_id;
425
426 Aws::String m_name;
427
428 Aws::String m_typeIdentifier;
429
430 Aws::String m_typeRevision;
431
432 Aws::String m_externalIdentifier;
433
434 Aws::String m_revision;
435
436 Aws::String m_description;
437
438 Aws::Utils::DateTime m_createdAt{};
439
440 Aws::String m_createdBy;
441
442 Aws::Utils::DateTime m_firstRevisionCreatedAt{};
443
444 Aws::String m_firstRevisionCreatedBy;
445
446 Aws::Vector<Aws::String> m_glossaryTerms;
447
448 Aws::Vector<Aws::String> m_governedGlossaryTerms;
449
450 Aws::String m_owningProjectId;
451
452 Aws::String m_domainId;
453
454 AssetListingDetails m_listing;
455
456 Aws::Vector<FormOutput> m_formsOutput;
457
458 Aws::Vector<FormOutput> m_readOnlyFormsOutput;
459
460 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
461
462 PredictionConfiguration m_predictionConfiguration;
463
464 Aws::String m_requestId;
465 bool m_idHasBeenSet = false;
466 bool m_nameHasBeenSet = false;
467 bool m_typeIdentifierHasBeenSet = false;
468 bool m_typeRevisionHasBeenSet = false;
469 bool m_externalIdentifierHasBeenSet = false;
470 bool m_revisionHasBeenSet = false;
471 bool m_descriptionHasBeenSet = false;
472 bool m_createdAtHasBeenSet = false;
473 bool m_createdByHasBeenSet = false;
474 bool m_firstRevisionCreatedAtHasBeenSet = false;
475 bool m_firstRevisionCreatedByHasBeenSet = false;
476 bool m_glossaryTermsHasBeenSet = false;
477 bool m_governedGlossaryTermsHasBeenSet = false;
478 bool m_owningProjectIdHasBeenSet = false;
479 bool m_domainIdHasBeenSet = false;
480 bool m_listingHasBeenSet = false;
481 bool m_formsOutputHasBeenSet = false;
482 bool m_readOnlyFormsOutputHasBeenSet = false;
483 bool m_latestTimeSeriesDataPointFormsOutputHasBeenSet = false;
484 bool m_predictionConfigurationHasBeenSet = false;
485 bool m_requestIdHasBeenSet = false;
486};
487
488} // namespace Model
489} // namespace DataZone
490} // 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
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