AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
CreateAssetRevisionResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.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/model/AssetListingDetails.h>
12#include <aws/datazone/model/PredictionConfiguration.h>
13#include <aws/datazone/model/FormOutput.h>
14#include <aws/datazone/model/TimeSeriesDataPointSummaryFormOutput.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace DataZone
30{
31namespace Model
32{
34 {
35 public:
36 AWS_DATAZONE_API CreateAssetRevisionResult() = default;
39
40
42
45 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
46 template<typename CreatedAtT = Aws::Utils::DateTime>
47 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
48 template<typename CreatedAtT = Aws::Utils::DateTime>
49 CreateAssetRevisionResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
51
53
56 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
57 template<typename CreatedByT = Aws::String>
58 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
59 template<typename CreatedByT = Aws::String>
60 CreateAssetRevisionResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 CreateAssetRevisionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
79 inline const Aws::String& GetDomainId() const { return m_domainId; }
80 template<typename DomainIdT = Aws::String>
81 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
82 template<typename DomainIdT = Aws::String>
83 CreateAssetRevisionResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
85
87
90 inline const Aws::String& GetExternalIdentifier() const { return m_externalIdentifier; }
91 template<typename ExternalIdentifierT = Aws::String>
92 void SetExternalIdentifier(ExternalIdentifierT&& value) { m_externalIdentifierHasBeenSet = true; m_externalIdentifier = std::forward<ExternalIdentifierT>(value); }
93 template<typename ExternalIdentifierT = Aws::String>
94 CreateAssetRevisionResult& WithExternalIdentifier(ExternalIdentifierT&& value) { SetExternalIdentifier(std::forward<ExternalIdentifierT>(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const { return m_firstRevisionCreatedAt; }
102 template<typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
103 void SetFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) { m_firstRevisionCreatedAtHasBeenSet = true; m_firstRevisionCreatedAt = std::forward<FirstRevisionCreatedAtT>(value); }
104 template<typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
105 CreateAssetRevisionResult& WithFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) { SetFirstRevisionCreatedAt(std::forward<FirstRevisionCreatedAtT>(value)); return *this;}
107
109
112 inline const Aws::String& GetFirstRevisionCreatedBy() const { return m_firstRevisionCreatedBy; }
113 template<typename FirstRevisionCreatedByT = Aws::String>
114 void SetFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) { m_firstRevisionCreatedByHasBeenSet = true; m_firstRevisionCreatedBy = std::forward<FirstRevisionCreatedByT>(value); }
115 template<typename FirstRevisionCreatedByT = Aws::String>
116 CreateAssetRevisionResult& WithFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) { SetFirstRevisionCreatedBy(std::forward<FirstRevisionCreatedByT>(value)); return *this;}
118
120
124 inline const Aws::Vector<FormOutput>& GetFormsOutput() const { return m_formsOutput; }
125 template<typename FormsOutputT = Aws::Vector<FormOutput>>
126 void SetFormsOutput(FormsOutputT&& value) { m_formsOutputHasBeenSet = true; m_formsOutput = std::forward<FormsOutputT>(value); }
127 template<typename FormsOutputT = Aws::Vector<FormOutput>>
128 CreateAssetRevisionResult& WithFormsOutput(FormsOutputT&& value) { SetFormsOutput(std::forward<FormsOutputT>(value)); return *this;}
129 template<typename FormsOutputT = FormOutput>
130 CreateAssetRevisionResult& AddFormsOutput(FormsOutputT&& value) { m_formsOutputHasBeenSet = true; m_formsOutput.emplace_back(std::forward<FormsOutputT>(value)); return *this; }
132
134
138 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
139 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
140 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
141 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
142 CreateAssetRevisionResult& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
143 template<typename GlossaryTermsT = Aws::String>
144 CreateAssetRevisionResult& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
146
148
151 inline const Aws::Vector<Aws::String>& GetGovernedGlossaryTerms() const { return m_governedGlossaryTerms; }
152 template<typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
153 void SetGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { m_governedGlossaryTermsHasBeenSet = true; m_governedGlossaryTerms = std::forward<GovernedGlossaryTermsT>(value); }
154 template<typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
155 CreateAssetRevisionResult& WithGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { SetGovernedGlossaryTerms(std::forward<GovernedGlossaryTermsT>(value)); return *this;}
156 template<typename GovernedGlossaryTermsT = Aws::String>
157 CreateAssetRevisionResult& AddGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { m_governedGlossaryTermsHasBeenSet = true; m_governedGlossaryTerms.emplace_back(std::forward<GovernedGlossaryTermsT>(value)); return *this; }
159
161
164 inline const Aws::String& GetId() const { return m_id; }
165 template<typename IdT = Aws::String>
166 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
167 template<typename IdT = Aws::String>
168 CreateAssetRevisionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
170
172
176 inline const Aws::Vector<TimeSeriesDataPointSummaryFormOutput>& GetLatestTimeSeriesDataPointFormsOutput() const { return m_latestTimeSeriesDataPointFormsOutput; }
177 template<typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
178 void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true; m_latestTimeSeriesDataPointFormsOutput = std::forward<LatestTimeSeriesDataPointFormsOutputT>(value); }
179 template<typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
180 CreateAssetRevisionResult& WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { SetLatestTimeSeriesDataPointFormsOutput(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value)); return *this;}
181 template<typename LatestTimeSeriesDataPointFormsOutputT = TimeSeriesDataPointSummaryFormOutput>
182 CreateAssetRevisionResult& AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true; m_latestTimeSeriesDataPointFormsOutput.emplace_back(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value)); return *this; }
184
186
189 inline const AssetListingDetails& GetListing() const { return m_listing; }
190 template<typename ListingT = AssetListingDetails>
191 void SetListing(ListingT&& value) { m_listingHasBeenSet = true; m_listing = std::forward<ListingT>(value); }
192 template<typename ListingT = AssetListingDetails>
193 CreateAssetRevisionResult& WithListing(ListingT&& value) { SetListing(std::forward<ListingT>(value)); return *this;}
195
197
200 inline const Aws::String& GetName() const { return m_name; }
201 template<typename NameT = Aws::String>
202 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
203 template<typename NameT = Aws::String>
204 CreateAssetRevisionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
206
208
211 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
212 template<typename OwningProjectIdT = Aws::String>
213 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
214 template<typename OwningProjectIdT = Aws::String>
215 CreateAssetRevisionResult& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
217
219
223 inline const PredictionConfiguration& GetPredictionConfiguration() const { return m_predictionConfiguration; }
224 template<typename PredictionConfigurationT = PredictionConfiguration>
225 void SetPredictionConfiguration(PredictionConfigurationT&& value) { m_predictionConfigurationHasBeenSet = true; m_predictionConfiguration = std::forward<PredictionConfigurationT>(value); }
226 template<typename PredictionConfigurationT = PredictionConfiguration>
227 CreateAssetRevisionResult& WithPredictionConfiguration(PredictionConfigurationT&& value) { SetPredictionConfiguration(std::forward<PredictionConfigurationT>(value)); return *this;}
229
231
235 inline const Aws::Vector<FormOutput>& GetReadOnlyFormsOutput() const { return m_readOnlyFormsOutput; }
236 template<typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
237 void SetReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { m_readOnlyFormsOutputHasBeenSet = true; m_readOnlyFormsOutput = std::forward<ReadOnlyFormsOutputT>(value); }
238 template<typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
239 CreateAssetRevisionResult& WithReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { SetReadOnlyFormsOutput(std::forward<ReadOnlyFormsOutputT>(value)); return *this;}
240 template<typename ReadOnlyFormsOutputT = FormOutput>
241 CreateAssetRevisionResult& AddReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { m_readOnlyFormsOutputHasBeenSet = true; m_readOnlyFormsOutput.emplace_back(std::forward<ReadOnlyFormsOutputT>(value)); return *this; }
243
245
248 inline const Aws::String& GetRevision() const { return m_revision; }
249 template<typename RevisionT = Aws::String>
250 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet = true; m_revision = std::forward<RevisionT>(value); }
251 template<typename RevisionT = Aws::String>
252 CreateAssetRevisionResult& WithRevision(RevisionT&& value) { SetRevision(std::forward<RevisionT>(value)); return *this;}
254
256
259 inline const Aws::String& GetTypeIdentifier() const { return m_typeIdentifier; }
260 template<typename TypeIdentifierT = Aws::String>
261 void SetTypeIdentifier(TypeIdentifierT&& value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier = std::forward<TypeIdentifierT>(value); }
262 template<typename TypeIdentifierT = Aws::String>
263 CreateAssetRevisionResult& WithTypeIdentifier(TypeIdentifierT&& value) { SetTypeIdentifier(std::forward<TypeIdentifierT>(value)); return *this;}
265
267
270 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
271 template<typename TypeRevisionT = Aws::String>
272 void SetTypeRevision(TypeRevisionT&& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = std::forward<TypeRevisionT>(value); }
273 template<typename TypeRevisionT = Aws::String>
274 CreateAssetRevisionResult& WithTypeRevision(TypeRevisionT&& value) { SetTypeRevision(std::forward<TypeRevisionT>(value)); return *this;}
276
278
279 inline const Aws::String& GetRequestId() const { return m_requestId; }
280 template<typename RequestIdT = Aws::String>
281 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
282 template<typename RequestIdT = Aws::String>
283 CreateAssetRevisionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
285 private:
286
287 Aws::Utils::DateTime m_createdAt{};
288 bool m_createdAtHasBeenSet = false;
289
290 Aws::String m_createdBy;
291 bool m_createdByHasBeenSet = false;
292
293 Aws::String m_description;
294 bool m_descriptionHasBeenSet = false;
295
296 Aws::String m_domainId;
297 bool m_domainIdHasBeenSet = false;
298
299 Aws::String m_externalIdentifier;
300 bool m_externalIdentifierHasBeenSet = false;
301
302 Aws::Utils::DateTime m_firstRevisionCreatedAt{};
303 bool m_firstRevisionCreatedAtHasBeenSet = false;
304
305 Aws::String m_firstRevisionCreatedBy;
306 bool m_firstRevisionCreatedByHasBeenSet = false;
307
308 Aws::Vector<FormOutput> m_formsOutput;
309 bool m_formsOutputHasBeenSet = false;
310
311 Aws::Vector<Aws::String> m_glossaryTerms;
312 bool m_glossaryTermsHasBeenSet = false;
313
314 Aws::Vector<Aws::String> m_governedGlossaryTerms;
315 bool m_governedGlossaryTermsHasBeenSet = false;
316
317 Aws::String m_id;
318 bool m_idHasBeenSet = false;
319
320 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
321 bool m_latestTimeSeriesDataPointFormsOutputHasBeenSet = false;
322
323 AssetListingDetails m_listing;
324 bool m_listingHasBeenSet = false;
325
326 Aws::String m_name;
327 bool m_nameHasBeenSet = false;
328
329 Aws::String m_owningProjectId;
330 bool m_owningProjectIdHasBeenSet = false;
331
332 PredictionConfiguration m_predictionConfiguration;
333 bool m_predictionConfigurationHasBeenSet = false;
334
335 Aws::Vector<FormOutput> m_readOnlyFormsOutput;
336 bool m_readOnlyFormsOutputHasBeenSet = false;
337
338 Aws::String m_revision;
339 bool m_revisionHasBeenSet = false;
340
341 Aws::String m_typeIdentifier;
342 bool m_typeIdentifierHasBeenSet = false;
343
344 Aws::String m_typeRevision;
345 bool m_typeRevisionHasBeenSet = false;
346
347 Aws::String m_requestId;
348 bool m_requestIdHasBeenSet = false;
349 };
350
351} // namespace Model
352} // namespace DataZone
353} // 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