AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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::String& GetId() const { return m_id; }
152 template<typename IdT = Aws::String>
153 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
154 template<typename IdT = Aws::String>
155 CreateAssetRevisionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
157
159
163 inline const Aws::Vector<TimeSeriesDataPointSummaryFormOutput>& GetLatestTimeSeriesDataPointFormsOutput() const { return m_latestTimeSeriesDataPointFormsOutput; }
164 template<typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
165 void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true; m_latestTimeSeriesDataPointFormsOutput = std::forward<LatestTimeSeriesDataPointFormsOutputT>(value); }
166 template<typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
167 CreateAssetRevisionResult& WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { SetLatestTimeSeriesDataPointFormsOutput(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value)); return *this;}
168 template<typename LatestTimeSeriesDataPointFormsOutputT = TimeSeriesDataPointSummaryFormOutput>
169 CreateAssetRevisionResult& AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true; m_latestTimeSeriesDataPointFormsOutput.emplace_back(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value)); return *this; }
171
173
176 inline const AssetListingDetails& GetListing() const { return m_listing; }
177 template<typename ListingT = AssetListingDetails>
178 void SetListing(ListingT&& value) { m_listingHasBeenSet = true; m_listing = std::forward<ListingT>(value); }
179 template<typename ListingT = AssetListingDetails>
180 CreateAssetRevisionResult& WithListing(ListingT&& value) { SetListing(std::forward<ListingT>(value)); return *this;}
182
184
187 inline const Aws::String& GetName() const { return m_name; }
188 template<typename NameT = Aws::String>
189 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
190 template<typename NameT = Aws::String>
191 CreateAssetRevisionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
193
195
198 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
199 template<typename OwningProjectIdT = Aws::String>
200 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
201 template<typename OwningProjectIdT = Aws::String>
202 CreateAssetRevisionResult& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
204
206
210 inline const PredictionConfiguration& GetPredictionConfiguration() const { return m_predictionConfiguration; }
211 template<typename PredictionConfigurationT = PredictionConfiguration>
212 void SetPredictionConfiguration(PredictionConfigurationT&& value) { m_predictionConfigurationHasBeenSet = true; m_predictionConfiguration = std::forward<PredictionConfigurationT>(value); }
213 template<typename PredictionConfigurationT = PredictionConfiguration>
214 CreateAssetRevisionResult& WithPredictionConfiguration(PredictionConfigurationT&& value) { SetPredictionConfiguration(std::forward<PredictionConfigurationT>(value)); return *this;}
216
218
222 inline const Aws::Vector<FormOutput>& GetReadOnlyFormsOutput() const { return m_readOnlyFormsOutput; }
223 template<typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
224 void SetReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { m_readOnlyFormsOutputHasBeenSet = true; m_readOnlyFormsOutput = std::forward<ReadOnlyFormsOutputT>(value); }
225 template<typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
226 CreateAssetRevisionResult& WithReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { SetReadOnlyFormsOutput(std::forward<ReadOnlyFormsOutputT>(value)); return *this;}
227 template<typename ReadOnlyFormsOutputT = FormOutput>
228 CreateAssetRevisionResult& AddReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { m_readOnlyFormsOutputHasBeenSet = true; m_readOnlyFormsOutput.emplace_back(std::forward<ReadOnlyFormsOutputT>(value)); return *this; }
230
232
235 inline const Aws::String& GetRevision() const { return m_revision; }
236 template<typename RevisionT = Aws::String>
237 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet = true; m_revision = std::forward<RevisionT>(value); }
238 template<typename RevisionT = Aws::String>
239 CreateAssetRevisionResult& WithRevision(RevisionT&& value) { SetRevision(std::forward<RevisionT>(value)); return *this;}
241
243
246 inline const Aws::String& GetTypeIdentifier() const { return m_typeIdentifier; }
247 template<typename TypeIdentifierT = Aws::String>
248 void SetTypeIdentifier(TypeIdentifierT&& value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier = std::forward<TypeIdentifierT>(value); }
249 template<typename TypeIdentifierT = Aws::String>
250 CreateAssetRevisionResult& WithTypeIdentifier(TypeIdentifierT&& value) { SetTypeIdentifier(std::forward<TypeIdentifierT>(value)); return *this;}
252
254
257 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
258 template<typename TypeRevisionT = Aws::String>
259 void SetTypeRevision(TypeRevisionT&& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = std::forward<TypeRevisionT>(value); }
260 template<typename TypeRevisionT = Aws::String>
261 CreateAssetRevisionResult& WithTypeRevision(TypeRevisionT&& value) { SetTypeRevision(std::forward<TypeRevisionT>(value)); return *this;}
263
265
266 inline const Aws::String& GetRequestId() const { return m_requestId; }
267 template<typename RequestIdT = Aws::String>
268 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
269 template<typename RequestIdT = Aws::String>
270 CreateAssetRevisionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
272 private:
273
274 Aws::Utils::DateTime m_createdAt{};
275 bool m_createdAtHasBeenSet = false;
276
277 Aws::String m_createdBy;
278 bool m_createdByHasBeenSet = false;
279
280 Aws::String m_description;
281 bool m_descriptionHasBeenSet = false;
282
283 Aws::String m_domainId;
284 bool m_domainIdHasBeenSet = false;
285
286 Aws::String m_externalIdentifier;
287 bool m_externalIdentifierHasBeenSet = false;
288
289 Aws::Utils::DateTime m_firstRevisionCreatedAt{};
290 bool m_firstRevisionCreatedAtHasBeenSet = false;
291
292 Aws::String m_firstRevisionCreatedBy;
293 bool m_firstRevisionCreatedByHasBeenSet = false;
294
295 Aws::Vector<FormOutput> m_formsOutput;
296 bool m_formsOutputHasBeenSet = false;
297
298 Aws::Vector<Aws::String> m_glossaryTerms;
299 bool m_glossaryTermsHasBeenSet = false;
300
301 Aws::String m_id;
302 bool m_idHasBeenSet = false;
303
304 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
305 bool m_latestTimeSeriesDataPointFormsOutputHasBeenSet = false;
306
307 AssetListingDetails m_listing;
308 bool m_listingHasBeenSet = false;
309
310 Aws::String m_name;
311 bool m_nameHasBeenSet = false;
312
313 Aws::String m_owningProjectId;
314 bool m_owningProjectIdHasBeenSet = false;
315
316 PredictionConfiguration m_predictionConfiguration;
317 bool m_predictionConfigurationHasBeenSet = false;
318
319 Aws::Vector<FormOutput> m_readOnlyFormsOutput;
320 bool m_readOnlyFormsOutputHasBeenSet = false;
321
322 Aws::String m_revision;
323 bool m_revisionHasBeenSet = false;
324
325 Aws::String m_typeIdentifier;
326 bool m_typeIdentifierHasBeenSet = false;
327
328 Aws::String m_typeRevision;
329 bool m_typeRevisionHasBeenSet = false;
330
331 Aws::String m_requestId;
332 bool m_requestIdHasBeenSet = false;
333 };
334
335} // namespace Model
336} // namespace DataZone
337} // 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
CreateAssetRevisionResult & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API CreateAssetRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API CreateAssetRevisionResult()=default
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 & 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