AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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::String& GetId() const { return m_id; }
149 template<typename IdT = Aws::String>
150 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
151 template<typename IdT = Aws::String>
152 CreateAssetResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
154
156
160 inline const Aws::Vector<TimeSeriesDataPointSummaryFormOutput>& GetLatestTimeSeriesDataPointFormsOutput() const { return m_latestTimeSeriesDataPointFormsOutput; }
161 template<typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
162 void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true; m_latestTimeSeriesDataPointFormsOutput = std::forward<LatestTimeSeriesDataPointFormsOutputT>(value); }
163 template<typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
164 CreateAssetResult& WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { SetLatestTimeSeriesDataPointFormsOutput(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value)); return *this;}
165 template<typename LatestTimeSeriesDataPointFormsOutputT = TimeSeriesDataPointSummaryFormOutput>
166 CreateAssetResult& AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true; m_latestTimeSeriesDataPointFormsOutput.emplace_back(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value)); return *this; }
168
170
173 inline const AssetListingDetails& GetListing() const { return m_listing; }
174 template<typename ListingT = AssetListingDetails>
175 void SetListing(ListingT&& value) { m_listingHasBeenSet = true; m_listing = std::forward<ListingT>(value); }
176 template<typename ListingT = AssetListingDetails>
177 CreateAssetResult& WithListing(ListingT&& value) { SetListing(std::forward<ListingT>(value)); return *this;}
179
181
184 inline const Aws::String& GetName() const { return m_name; }
185 template<typename NameT = Aws::String>
186 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
187 template<typename NameT = Aws::String>
188 CreateAssetResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
190
192
195 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
196 template<typename OwningProjectIdT = Aws::String>
197 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
198 template<typename OwningProjectIdT = Aws::String>
199 CreateAssetResult& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
201
203
207 inline const PredictionConfiguration& GetPredictionConfiguration() const { return m_predictionConfiguration; }
208 template<typename PredictionConfigurationT = PredictionConfiguration>
209 void SetPredictionConfiguration(PredictionConfigurationT&& value) { m_predictionConfigurationHasBeenSet = true; m_predictionConfiguration = std::forward<PredictionConfigurationT>(value); }
210 template<typename PredictionConfigurationT = PredictionConfiguration>
211 CreateAssetResult& WithPredictionConfiguration(PredictionConfigurationT&& value) { SetPredictionConfiguration(std::forward<PredictionConfigurationT>(value)); return *this;}
213
215
218 inline const Aws::Vector<FormOutput>& GetReadOnlyFormsOutput() const { return m_readOnlyFormsOutput; }
219 template<typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
220 void SetReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { m_readOnlyFormsOutputHasBeenSet = true; m_readOnlyFormsOutput = std::forward<ReadOnlyFormsOutputT>(value); }
221 template<typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
222 CreateAssetResult& WithReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { SetReadOnlyFormsOutput(std::forward<ReadOnlyFormsOutputT>(value)); return *this;}
223 template<typename ReadOnlyFormsOutputT = FormOutput>
224 CreateAssetResult& AddReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { m_readOnlyFormsOutputHasBeenSet = true; m_readOnlyFormsOutput.emplace_back(std::forward<ReadOnlyFormsOutputT>(value)); return *this; }
226
228
231 inline const Aws::String& GetRevision() const { return m_revision; }
232 template<typename RevisionT = Aws::String>
233 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet = true; m_revision = std::forward<RevisionT>(value); }
234 template<typename RevisionT = Aws::String>
235 CreateAssetResult& WithRevision(RevisionT&& value) { SetRevision(std::forward<RevisionT>(value)); return *this;}
237
239
242 inline const Aws::String& GetTypeIdentifier() const { return m_typeIdentifier; }
243 template<typename TypeIdentifierT = Aws::String>
244 void SetTypeIdentifier(TypeIdentifierT&& value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier = std::forward<TypeIdentifierT>(value); }
245 template<typename TypeIdentifierT = Aws::String>
246 CreateAssetResult& WithTypeIdentifier(TypeIdentifierT&& value) { SetTypeIdentifier(std::forward<TypeIdentifierT>(value)); return *this;}
248
250
253 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
254 template<typename TypeRevisionT = Aws::String>
255 void SetTypeRevision(TypeRevisionT&& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = std::forward<TypeRevisionT>(value); }
256 template<typename TypeRevisionT = Aws::String>
257 CreateAssetResult& WithTypeRevision(TypeRevisionT&& value) { SetTypeRevision(std::forward<TypeRevisionT>(value)); return *this;}
259
261
262 inline const Aws::String& GetRequestId() const { return m_requestId; }
263 template<typename RequestIdT = Aws::String>
264 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
265 template<typename RequestIdT = Aws::String>
266 CreateAssetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
268 private:
269
270 Aws::Utils::DateTime m_createdAt{};
271 bool m_createdAtHasBeenSet = false;
272
273 Aws::String m_createdBy;
274 bool m_createdByHasBeenSet = false;
275
276 Aws::String m_description;
277 bool m_descriptionHasBeenSet = false;
278
279 Aws::String m_domainId;
280 bool m_domainIdHasBeenSet = false;
281
282 Aws::String m_externalIdentifier;
283 bool m_externalIdentifierHasBeenSet = false;
284
285 Aws::Utils::DateTime m_firstRevisionCreatedAt{};
286 bool m_firstRevisionCreatedAtHasBeenSet = false;
287
288 Aws::String m_firstRevisionCreatedBy;
289 bool m_firstRevisionCreatedByHasBeenSet = false;
290
291 Aws::Vector<FormOutput> m_formsOutput;
292 bool m_formsOutputHasBeenSet = false;
293
294 Aws::Vector<Aws::String> m_glossaryTerms;
295 bool m_glossaryTermsHasBeenSet = false;
296
297 Aws::String m_id;
298 bool m_idHasBeenSet = false;
299
300 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
301 bool m_latestTimeSeriesDataPointFormsOutputHasBeenSet = false;
302
303 AssetListingDetails m_listing;
304 bool m_listingHasBeenSet = false;
305
306 Aws::String m_name;
307 bool m_nameHasBeenSet = false;
308
309 Aws::String m_owningProjectId;
310 bool m_owningProjectIdHasBeenSet = false;
311
312 PredictionConfiguration m_predictionConfiguration;
313 bool m_predictionConfigurationHasBeenSet = false;
314
315 Aws::Vector<FormOutput> m_readOnlyFormsOutput;
316 bool m_readOnlyFormsOutputHasBeenSet = false;
317
318 Aws::String m_revision;
319 bool m_revisionHasBeenSet = false;
320
321 Aws::String m_typeIdentifier;
322 bool m_typeIdentifierHasBeenSet = false;
323
324 Aws::String m_typeRevision;
325 bool m_typeRevisionHasBeenSet = false;
326
327 Aws::String m_requestId;
328 bool m_requestIdHasBeenSet = false;
329 };
330
331} // namespace Model
332} // namespace DataZone
333} // 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)
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 & 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::String & GetOwningProjectId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue