AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
CreateAssetRevisionResult.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 CreateAssetRevisionResult() = 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>
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>
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>
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>
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 CreateAssetRevisionResult& 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>
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>
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>
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>
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 CreateAssetRevisionResult& 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 CreateAssetRevisionResult& WithFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) {
217 SetFirstRevisionCreatedBy(std::forward<FirstRevisionCreatedByT>(value));
218 return *this;
219 }
221
223
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>>
235 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
236 return *this;
237 }
238 template <typename GlossaryTermsT = Aws::String>
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 CreateAssetRevisionResult& WithGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
258 SetGovernedGlossaryTerms(std::forward<GovernedGlossaryTermsT>(value));
259 return *this;
260 }
261 template <typename GovernedGlossaryTermsT = Aws::String>
262 CreateAssetRevisionResult& 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>
281 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
282 return *this;
283 }
285
287
291 inline const Aws::String& GetDomainId() const { return m_domainId; }
292 template <typename DomainIdT = Aws::String>
293 void SetDomainId(DomainIdT&& value) {
294 m_domainIdHasBeenSet = true;
295 m_domainId = std::forward<DomainIdT>(value);
296 }
297 template <typename DomainIdT = Aws::String>
299 SetDomainId(std::forward<DomainIdT>(value));
300 return *this;
301 }
303
305
308 inline const AssetListingDetails& GetListing() const { return m_listing; }
309 template <typename ListingT = AssetListingDetails>
310 void SetListing(ListingT&& value) {
311 m_listingHasBeenSet = true;
312 m_listing = std::forward<ListingT>(value);
313 }
314 template <typename ListingT = AssetListingDetails>
316 SetListing(std::forward<ListingT>(value));
317 return *this;
318 }
320
322
326 inline const Aws::Vector<FormOutput>& GetFormsOutput() const { return m_formsOutput; }
327 template <typename FormsOutputT = Aws::Vector<FormOutput>>
328 void SetFormsOutput(FormsOutputT&& value) {
329 m_formsOutputHasBeenSet = true;
330 m_formsOutput = std::forward<FormsOutputT>(value);
331 }
332 template <typename FormsOutputT = Aws::Vector<FormOutput>>
334 SetFormsOutput(std::forward<FormsOutputT>(value));
335 return *this;
336 }
337 template <typename FormsOutputT = FormOutput>
339 m_formsOutputHasBeenSet = true;
340 m_formsOutput.emplace_back(std::forward<FormsOutputT>(value));
341 return *this;
342 }
344
346
350 inline const Aws::Vector<FormOutput>& GetReadOnlyFormsOutput() const { return m_readOnlyFormsOutput; }
351 template <typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
352 void SetReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
353 m_readOnlyFormsOutputHasBeenSet = true;
354 m_readOnlyFormsOutput = std::forward<ReadOnlyFormsOutputT>(value);
355 }
356 template <typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
357 CreateAssetRevisionResult& WithReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
358 SetReadOnlyFormsOutput(std::forward<ReadOnlyFormsOutputT>(value));
359 return *this;
360 }
361 template <typename ReadOnlyFormsOutputT = FormOutput>
362 CreateAssetRevisionResult& AddReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) {
363 m_readOnlyFormsOutputHasBeenSet = true;
364 m_readOnlyFormsOutput.emplace_back(std::forward<ReadOnlyFormsOutputT>(value));
365 return *this;
366 }
368
370
375 return m_latestTimeSeriesDataPointFormsOutput;
376 }
377 template <typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
378 void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
379 m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true;
380 m_latestTimeSeriesDataPointFormsOutput = std::forward<LatestTimeSeriesDataPointFormsOutputT>(value);
381 }
382 template <typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
383 CreateAssetRevisionResult& WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
384 SetLatestTimeSeriesDataPointFormsOutput(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value));
385 return *this;
386 }
387 template <typename LatestTimeSeriesDataPointFormsOutputT = TimeSeriesDataPointSummaryFormOutput>
388 CreateAssetRevisionResult& AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) {
389 m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true;
390 m_latestTimeSeriesDataPointFormsOutput.emplace_back(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value));
391 return *this;
392 }
394
396
400 inline const PredictionConfiguration& GetPredictionConfiguration() const { return m_predictionConfiguration; }
401 template <typename PredictionConfigurationT = PredictionConfiguration>
402 void SetPredictionConfiguration(PredictionConfigurationT&& value) {
403 m_predictionConfigurationHasBeenSet = true;
404 m_predictionConfiguration = std::forward<PredictionConfigurationT>(value);
405 }
406 template <typename PredictionConfigurationT = PredictionConfiguration>
407 CreateAssetRevisionResult& WithPredictionConfiguration(PredictionConfigurationT&& value) {
408 SetPredictionConfiguration(std::forward<PredictionConfigurationT>(value));
409 return *this;
410 }
412
414
415 inline const Aws::String& GetRequestId() const { return m_requestId; }
416 template <typename RequestIdT = Aws::String>
417 void SetRequestId(RequestIdT&& value) {
418 m_requestIdHasBeenSet = true;
419 m_requestId = std::forward<RequestIdT>(value);
420 }
421 template <typename RequestIdT = Aws::String>
423 SetRequestId(std::forward<RequestIdT>(value));
424 return *this;
425 }
427 private:
428 Aws::String m_id;
429
430 Aws::String m_name;
431
432 Aws::String m_typeIdentifier;
433
434 Aws::String m_typeRevision;
435
436 Aws::String m_externalIdentifier;
437
438 Aws::String m_revision;
439
440 Aws::String m_description;
441
442 Aws::Utils::DateTime m_createdAt{};
443
444 Aws::String m_createdBy;
445
446 Aws::Utils::DateTime m_firstRevisionCreatedAt{};
447
448 Aws::String m_firstRevisionCreatedBy;
449
450 Aws::Vector<Aws::String> m_glossaryTerms;
451
452 Aws::Vector<Aws::String> m_governedGlossaryTerms;
453
454 Aws::String m_owningProjectId;
455
456 Aws::String m_domainId;
457
458 AssetListingDetails m_listing;
459
460 Aws::Vector<FormOutput> m_formsOutput;
461
462 Aws::Vector<FormOutput> m_readOnlyFormsOutput;
463
464 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
465
466 PredictionConfiguration m_predictionConfiguration;
467
468 Aws::String m_requestId;
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
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)
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