AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateAssetRevisionResult.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 CreateAssetRevisionResult() = 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>
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>
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>
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>
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 CreateAssetRevisionResult& 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>
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>
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>
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>
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 CreateAssetRevisionResult& 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 CreateAssetRevisionResult& WithFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) {
218 SetFirstRevisionCreatedBy(std::forward<FirstRevisionCreatedByT>(value));
219 return *this;
220 }
222
224
228 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
229 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
230 void SetGlossaryTerms(GlossaryTermsT&& value) {
231 m_glossaryTermsHasBeenSet = true;
232 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
233 }
234 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
236 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
237 return *this;
238 }
239 template <typename GlossaryTermsT = Aws::String>
241 m_glossaryTermsHasBeenSet = true;
242 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
243 return *this;
244 }
246
248
251 inline const Aws::Vector<Aws::String>& GetGovernedGlossaryTerms() const { return m_governedGlossaryTerms; }
252 template <typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
253 void SetGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
254 m_governedGlossaryTermsHasBeenSet = true;
255 m_governedGlossaryTerms = std::forward<GovernedGlossaryTermsT>(value);
256 }
257 template <typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
258 CreateAssetRevisionResult& WithGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
259 SetGovernedGlossaryTerms(std::forward<GovernedGlossaryTermsT>(value));
260 return *this;
261 }
262 template <typename GovernedGlossaryTermsT = Aws::String>
263 CreateAssetRevisionResult& AddGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
264 m_governedGlossaryTermsHasBeenSet = true;
265 m_governedGlossaryTerms.emplace_back(std::forward<GovernedGlossaryTermsT>(value));
266 return *this;
267 }
269
271
274 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
275 template <typename OwningProjectIdT = Aws::String>
276 void SetOwningProjectId(OwningProjectIdT&& value) {
277 m_owningProjectIdHasBeenSet = true;
278 m_owningProjectId = std::forward<OwningProjectIdT>(value);
279 }
280 template <typename OwningProjectIdT = Aws::String>
282 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
283 return *this;
284 }
286
288
292 inline const Aws::String& GetDomainId() const { return m_domainId; }
293 template <typename DomainIdT = Aws::String>
294 void SetDomainId(DomainIdT&& value) {
295 m_domainIdHasBeenSet = true;
296 m_domainId = std::forward<DomainIdT>(value);
297 }
298 template <typename DomainIdT = Aws::String>
300 SetDomainId(std::forward<DomainIdT>(value));
301 return *this;
302 }
304
306
309 inline const AssetListingDetails& GetListing() const { return m_listing; }
310 template <typename ListingT = AssetListingDetails>
311 void SetListing(ListingT&& value) {
312 m_listingHasBeenSet = true;
313 m_listing = std::forward<ListingT>(value);
314 }
315 template <typename ListingT = AssetListingDetails>
317 SetListing(std::forward<ListingT>(value));
318 return *this;
319 }
321
323
327 inline const Aws::Vector<FormOutput>& GetFormsOutput() const { return m_formsOutput; }
328 template <typename FormsOutputT = Aws::Vector<FormOutput>>
329 void SetFormsOutput(FormsOutputT&& value) {
330 m_formsOutputHasBeenSet = true;
331 m_formsOutput = std::forward<FormsOutputT>(value);
332 }
333 template <typename FormsOutputT = Aws::Vector<FormOutput>>
335 SetFormsOutput(std::forward<FormsOutputT>(value));
336 return *this;
337 }
338 template <typename FormsOutputT = FormOutput>
340 m_formsOutputHasBeenSet = true;
341 m_formsOutput.emplace_back(std::forward<FormsOutputT>(value));
342 return *this;
343 }
345
347
351 inline const Aws::Vector<FormOutput>& GetReadOnlyFormsOutput() const { return m_readOnlyFormsOutput; }
352 template <typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
353 void SetReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
354 m_readOnlyFormsOutputHasBeenSet = true;
355 m_readOnlyFormsOutput = std::forward<ReadOnlyFormsOutputT>(value);
356 }
357 template <typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
358 CreateAssetRevisionResult& WithReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
359 SetReadOnlyFormsOutput(std::forward<ReadOnlyFormsOutputT>(value));
360 return *this;
361 }
362 template <typename ReadOnlyFormsOutputT = FormOutput>
363 CreateAssetRevisionResult& AddReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
364 m_readOnlyFormsOutputHasBeenSet = true;
365 m_readOnlyFormsOutput.emplace_back(std::forward<ReadOnlyFormsOutputT>(value));
366 return *this;
367 }
369
371
376 return m_latestTimeSeriesDataPointFormsOutput;
377 }
378 template <typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
379 void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
380 m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true;
381 m_latestTimeSeriesDataPointFormsOutput = std::forward<LatestTimeSeriesDataPointFormsOutputT>(value);
382 }
383 template <typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
384 CreateAssetRevisionResult& WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
385 SetLatestTimeSeriesDataPointFormsOutput(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value));
386 return *this;
387 }
388 template <typename LatestTimeSeriesDataPointFormsOutputT = TimeSeriesDataPointSummaryFormOutput>
389 CreateAssetRevisionResult& AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
390 m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true;
391 m_latestTimeSeriesDataPointFormsOutput.emplace_back(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value));
392 return *this;
393 }
395
397
401 inline const PredictionConfiguration& GetPredictionConfiguration() const { return m_predictionConfiguration; }
402 template <typename PredictionConfigurationT = PredictionConfiguration>
403 void SetPredictionConfiguration(PredictionConfigurationT&& value) {
404 m_predictionConfigurationHasBeenSet = true;
405 m_predictionConfiguration = std::forward<PredictionConfigurationT>(value);
406 }
407 template <typename PredictionConfigurationT = PredictionConfiguration>
408 CreateAssetRevisionResult& WithPredictionConfiguration(PredictionConfigurationT&& value) {
409 SetPredictionConfiguration(std::forward<PredictionConfigurationT>(value));
410 return *this;
411 }
413
415
416 inline const Aws::String& GetRequestId() const { return m_requestId; }
417 template <typename RequestIdT = Aws::String>
418 void SetRequestId(RequestIdT&& value) {
419 m_requestIdHasBeenSet = true;
420 m_requestId = std::forward<RequestIdT>(value);
421 }
422 template <typename RequestIdT = Aws::String>
424 SetRequestId(std::forward<RequestIdT>(value));
425 return *this;
426 }
428 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
429
430 private:
431 Aws::String m_id;
432
433 Aws::String m_name;
434
435 Aws::String m_typeIdentifier;
436
437 Aws::String m_typeRevision;
438
439 Aws::String m_externalIdentifier;
440
441 Aws::String m_revision;
442
443 Aws::String m_description;
444
445 Aws::Utils::DateTime m_createdAt{};
446
447 Aws::String m_createdBy;
448
449 Aws::Utils::DateTime m_firstRevisionCreatedAt{};
450
451 Aws::String m_firstRevisionCreatedBy;
452
453 Aws::Vector<Aws::String> m_glossaryTerms;
454
455 Aws::Vector<Aws::String> m_governedGlossaryTerms;
456
457 Aws::String m_owningProjectId;
458
459 Aws::String m_domainId;
460
461 AssetListingDetails m_listing;
462
463 Aws::Vector<FormOutput> m_formsOutput;
464
465 Aws::Vector<FormOutput> m_readOnlyFormsOutput;
466
467 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
468
469 PredictionConfiguration m_predictionConfiguration;
470
471 Aws::String m_requestId;
472 Aws::Http::HttpResponseCode m_HttpResponseCode;
473 bool m_idHasBeenSet = false;
474 bool m_nameHasBeenSet = false;
475 bool m_typeIdentifierHasBeenSet = false;
476 bool m_typeRevisionHasBeenSet = false;
477 bool m_externalIdentifierHasBeenSet = false;
478 bool m_revisionHasBeenSet = false;
479 bool m_descriptionHasBeenSet = false;
480 bool m_createdAtHasBeenSet = false;
481 bool m_createdByHasBeenSet = false;
482 bool m_firstRevisionCreatedAtHasBeenSet = false;
483 bool m_firstRevisionCreatedByHasBeenSet = false;
484 bool m_glossaryTermsHasBeenSet = false;
485 bool m_governedGlossaryTermsHasBeenSet = false;
486 bool m_owningProjectIdHasBeenSet = false;
487 bool m_domainIdHasBeenSet = false;
488 bool m_listingHasBeenSet = false;
489 bool m_formsOutputHasBeenSet = false;
490 bool m_readOnlyFormsOutputHasBeenSet = false;
491 bool m_latestTimeSeriesDataPointFormsOutputHasBeenSet = false;
492 bool m_predictionConfigurationHasBeenSet = false;
493 bool m_requestIdHasBeenSet = false;
494};
495
496} // namespace Model
497} // namespace DataZone
498} // namespace Aws
CreateAssetRevisionResult & WithTypeRevision(TypeRevisionT &&value)
CreateAssetRevisionResult & WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT &&value)
CreateAssetRevisionResult & WithExternalIdentifier(ExternalIdentifierT &&value)
CreateAssetRevisionResult & WithRevision(RevisionT &&value)
CreateAssetRevisionResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< TimeSeriesDataPointSummaryFormOutput > & GetLatestTimeSeriesDataPointFormsOutput() const
CreateAssetRevisionResult & AddReadOnlyFormsOutput(ReadOnlyFormsOutputT &&value)
CreateAssetRevisionResult & WithReadOnlyFormsOutput(ReadOnlyFormsOutputT &&value)
CreateAssetRevisionResult & AddFormsOutput(FormsOutputT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
void SetFirstRevisionCreatedBy(FirstRevisionCreatedByT &&value)
void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT &&value)
CreateAssetRevisionResult & WithPredictionConfiguration(PredictionConfigurationT &&value)
const Aws::Utils::DateTime & GetFirstRevisionCreatedAt() const
CreateAssetRevisionResult & WithFirstRevisionCreatedAt(FirstRevisionCreatedAtT &&value)
const Aws::Vector< FormOutput > & GetReadOnlyFormsOutput() const
CreateAssetRevisionResult & AddGlossaryTerms(GlossaryTermsT &&value)
CreateAssetRevisionResult & WithDescription(DescriptionT &&value)
CreateAssetRevisionResult & WithName(NameT &&value)
CreateAssetRevisionResult & WithGlossaryTerms(GlossaryTermsT &&value)
CreateAssetRevisionResult & WithId(IdT &&value)
void SetFirstRevisionCreatedAt(FirstRevisionCreatedAtT &&value)
CreateAssetRevisionResult & WithFirstRevisionCreatedBy(FirstRevisionCreatedByT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< FormOutput > & GetFormsOutput() const
const PredictionConfiguration & GetPredictionConfiguration() const
const Aws::Vector< Aws::String > & GetGovernedGlossaryTerms() const
CreateAssetRevisionResult & AddGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
CreateAssetRevisionResult & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API CreateAssetRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API CreateAssetRevisionResult()=default
void SetGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
CreateAssetRevisionResult & WithListing(ListingT &&value)
CreateAssetRevisionResult & WithCreatedBy(CreatedByT &&value)
AWS_DATAZONE_API CreateAssetRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAssetRevisionResult & WithCreatedAt(CreatedAtT &&value)
CreateAssetRevisionResult & WithTypeIdentifier(TypeIdentifierT &&value)
CreateAssetRevisionResult & AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT &&value)
CreateAssetRevisionResult & WithOwningProjectId(OwningProjectIdT &&value)
void SetReadOnlyFormsOutput(ReadOnlyFormsOutputT &&value)
void SetPredictionConfiguration(PredictionConfigurationT &&value)
CreateAssetRevisionResult & WithGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
CreateAssetRevisionResult & WithFormsOutput(FormsOutputT &&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