AWS SDK for C++

AWS SDK for C++ Version 1.11.638

Loading...
Searching...
No Matches
CreateAssetResult.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 CreateAssetResult() = 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 CreateAssetResult& 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 CreateAssetResult& 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 CreateAssetResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
78 inline const Aws::String& GetDomainId() const { return m_domainId; }
79 template<typename DomainIdT = Aws::String>
80 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
81 template<typename DomainIdT = Aws::String>
82 CreateAssetResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
84
86
89 inline const Aws::String& GetExternalIdentifier() const { return m_externalIdentifier; }
90 template<typename ExternalIdentifierT = Aws::String>
91 void SetExternalIdentifier(ExternalIdentifierT&& value) { m_externalIdentifierHasBeenSet = true; m_externalIdentifier = std::forward<ExternalIdentifierT>(value); }
92 template<typename ExternalIdentifierT = Aws::String>
93 CreateAssetResult& WithExternalIdentifier(ExternalIdentifierT&& value) { SetExternalIdentifier(std::forward<ExternalIdentifierT>(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const { return m_firstRevisionCreatedAt; }
101 template<typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
102 void SetFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) { m_firstRevisionCreatedAtHasBeenSet = true; m_firstRevisionCreatedAt = std::forward<FirstRevisionCreatedAtT>(value); }
103 template<typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
104 CreateAssetResult& WithFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) { SetFirstRevisionCreatedAt(std::forward<FirstRevisionCreatedAtT>(value)); return *this;}
106
108
111 inline const Aws::String& GetFirstRevisionCreatedBy() const { return m_firstRevisionCreatedBy; }
112 template<typename FirstRevisionCreatedByT = Aws::String>
113 void SetFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) { m_firstRevisionCreatedByHasBeenSet = true; m_firstRevisionCreatedBy = std::forward<FirstRevisionCreatedByT>(value); }
114 template<typename FirstRevisionCreatedByT = Aws::String>
115 CreateAssetResult& WithFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) { SetFirstRevisionCreatedBy(std::forward<FirstRevisionCreatedByT>(value)); return *this;}
117
119
122 inline const Aws::Vector<FormOutput>& GetFormsOutput() const { return m_formsOutput; }
123 template<typename FormsOutputT = Aws::Vector<FormOutput>>
124 void SetFormsOutput(FormsOutputT&& value) { m_formsOutputHasBeenSet = true; m_formsOutput = std::forward<FormsOutputT>(value); }
125 template<typename FormsOutputT = Aws::Vector<FormOutput>>
126 CreateAssetResult& WithFormsOutput(FormsOutputT&& value) { SetFormsOutput(std::forward<FormsOutputT>(value)); return *this;}
127 template<typename FormsOutputT = FormOutput>
128 CreateAssetResult& AddFormsOutput(FormsOutputT&& value) { m_formsOutputHasBeenSet = true; m_formsOutput.emplace_back(std::forward<FormsOutputT>(value)); return *this; }
130
132
135 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
136 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
137 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
138 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
139 CreateAssetResult& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
140 template<typename GlossaryTermsT = Aws::String>
141 CreateAssetResult& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
143
145
148 inline const Aws::Vector<Aws::String>& GetGovernedGlossaryTerms() const { return m_governedGlossaryTerms; }
149 template<typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
150 void SetGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { m_governedGlossaryTermsHasBeenSet = true; m_governedGlossaryTerms = std::forward<GovernedGlossaryTermsT>(value); }
151 template<typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
152 CreateAssetResult& WithGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { SetGovernedGlossaryTerms(std::forward<GovernedGlossaryTermsT>(value)); return *this;}
153 template<typename GovernedGlossaryTermsT = Aws::String>
154 CreateAssetResult& AddGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { m_governedGlossaryTermsHasBeenSet = true; m_governedGlossaryTerms.emplace_back(std::forward<GovernedGlossaryTermsT>(value)); return *this; }
156
158
161 inline const Aws::String& GetId() const { return m_id; }
162 template<typename IdT = Aws::String>
163 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
164 template<typename IdT = Aws::String>
165 CreateAssetResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
167
169
173 inline const Aws::Vector<TimeSeriesDataPointSummaryFormOutput>& GetLatestTimeSeriesDataPointFormsOutput() const { return m_latestTimeSeriesDataPointFormsOutput; }
174 template<typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
175 void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true; m_latestTimeSeriesDataPointFormsOutput = std::forward<LatestTimeSeriesDataPointFormsOutputT>(value); }
176 template<typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
177 CreateAssetResult& WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { SetLatestTimeSeriesDataPointFormsOutput(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value)); return *this;}
178 template<typename LatestTimeSeriesDataPointFormsOutputT = TimeSeriesDataPointSummaryFormOutput>
179 CreateAssetResult& AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true; m_latestTimeSeriesDataPointFormsOutput.emplace_back(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value)); return *this; }
181
183
186 inline const AssetListingDetails& GetListing() const { return m_listing; }
187 template<typename ListingT = AssetListingDetails>
188 void SetListing(ListingT&& value) { m_listingHasBeenSet = true; m_listing = std::forward<ListingT>(value); }
189 template<typename ListingT = AssetListingDetails>
190 CreateAssetResult& WithListing(ListingT&& value) { SetListing(std::forward<ListingT>(value)); return *this;}
192
194
197 inline const Aws::String& GetName() const { return m_name; }
198 template<typename NameT = Aws::String>
199 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
200 template<typename NameT = Aws::String>
201 CreateAssetResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
203
205
208 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
209 template<typename OwningProjectIdT = Aws::String>
210 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
211 template<typename OwningProjectIdT = Aws::String>
212 CreateAssetResult& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
214
216
220 inline const PredictionConfiguration& GetPredictionConfiguration() const { return m_predictionConfiguration; }
221 template<typename PredictionConfigurationT = PredictionConfiguration>
222 void SetPredictionConfiguration(PredictionConfigurationT&& value) { m_predictionConfigurationHasBeenSet = true; m_predictionConfiguration = std::forward<PredictionConfigurationT>(value); }
223 template<typename PredictionConfigurationT = PredictionConfiguration>
224 CreateAssetResult& WithPredictionConfiguration(PredictionConfigurationT&& value) { SetPredictionConfiguration(std::forward<PredictionConfigurationT>(value)); return *this;}
226
228
231 inline const Aws::Vector<FormOutput>& GetReadOnlyFormsOutput() const { return m_readOnlyFormsOutput; }
232 template<typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
233 void SetReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { m_readOnlyFormsOutputHasBeenSet = true; m_readOnlyFormsOutput = std::forward<ReadOnlyFormsOutputT>(value); }
234 template<typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
235 CreateAssetResult& WithReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { SetReadOnlyFormsOutput(std::forward<ReadOnlyFormsOutputT>(value)); return *this;}
236 template<typename ReadOnlyFormsOutputT = FormOutput>
237 CreateAssetResult& AddReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { m_readOnlyFormsOutputHasBeenSet = true; m_readOnlyFormsOutput.emplace_back(std::forward<ReadOnlyFormsOutputT>(value)); return *this; }
239
241
244 inline const Aws::String& GetRevision() const { return m_revision; }
245 template<typename RevisionT = Aws::String>
246 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet = true; m_revision = std::forward<RevisionT>(value); }
247 template<typename RevisionT = Aws::String>
248 CreateAssetResult& WithRevision(RevisionT&& value) { SetRevision(std::forward<RevisionT>(value)); return *this;}
250
252
255 inline const Aws::String& GetTypeIdentifier() const { return m_typeIdentifier; }
256 template<typename TypeIdentifierT = Aws::String>
257 void SetTypeIdentifier(TypeIdentifierT&& value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier = std::forward<TypeIdentifierT>(value); }
258 template<typename TypeIdentifierT = Aws::String>
259 CreateAssetResult& WithTypeIdentifier(TypeIdentifierT&& value) { SetTypeIdentifier(std::forward<TypeIdentifierT>(value)); return *this;}
261
263
266 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
267 template<typename TypeRevisionT = Aws::String>
268 void SetTypeRevision(TypeRevisionT&& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = std::forward<TypeRevisionT>(value); }
269 template<typename TypeRevisionT = Aws::String>
270 CreateAssetResult& WithTypeRevision(TypeRevisionT&& value) { SetTypeRevision(std::forward<TypeRevisionT>(value)); return *this;}
272
274
275 inline const Aws::String& GetRequestId() const { return m_requestId; }
276 template<typename RequestIdT = Aws::String>
277 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
278 template<typename RequestIdT = Aws::String>
279 CreateAssetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
281 private:
282
283 Aws::Utils::DateTime m_createdAt{};
284 bool m_createdAtHasBeenSet = false;
285
286 Aws::String m_createdBy;
287 bool m_createdByHasBeenSet = false;
288
289 Aws::String m_description;
290 bool m_descriptionHasBeenSet = false;
291
292 Aws::String m_domainId;
293 bool m_domainIdHasBeenSet = false;
294
295 Aws::String m_externalIdentifier;
296 bool m_externalIdentifierHasBeenSet = false;
297
298 Aws::Utils::DateTime m_firstRevisionCreatedAt{};
299 bool m_firstRevisionCreatedAtHasBeenSet = false;
300
301 Aws::String m_firstRevisionCreatedBy;
302 bool m_firstRevisionCreatedByHasBeenSet = false;
303
304 Aws::Vector<FormOutput> m_formsOutput;
305 bool m_formsOutputHasBeenSet = false;
306
307 Aws::Vector<Aws::String> m_glossaryTerms;
308 bool m_glossaryTermsHasBeenSet = false;
309
310 Aws::Vector<Aws::String> m_governedGlossaryTerms;
311 bool m_governedGlossaryTermsHasBeenSet = false;
312
313 Aws::String m_id;
314 bool m_idHasBeenSet = false;
315
316 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
317 bool m_latestTimeSeriesDataPointFormsOutputHasBeenSet = false;
318
319 AssetListingDetails m_listing;
320 bool m_listingHasBeenSet = false;
321
322 Aws::String m_name;
323 bool m_nameHasBeenSet = false;
324
325 Aws::String m_owningProjectId;
326 bool m_owningProjectIdHasBeenSet = false;
327
328 PredictionConfiguration m_predictionConfiguration;
329 bool m_predictionConfigurationHasBeenSet = false;
330
331 Aws::Vector<FormOutput> m_readOnlyFormsOutput;
332 bool m_readOnlyFormsOutputHasBeenSet = false;
333
334 Aws::String m_revision;
335 bool m_revisionHasBeenSet = false;
336
337 Aws::String m_typeIdentifier;
338 bool m_typeIdentifierHasBeenSet = false;
339
340 Aws::String m_typeRevision;
341 bool m_typeRevisionHasBeenSet = false;
342
343 Aws::String m_requestId;
344 bool m_requestIdHasBeenSet = false;
345 };
346
347} // namespace Model
348} // namespace DataZone
349} // 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