AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
46 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
47 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
48 inline CreateAssetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
49 inline CreateAssetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
51
53
56 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
57 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
58 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
59 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
60 inline CreateAssetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
61 inline CreateAssetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
62 inline CreateAssetResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline void SetDescription(const Aws::String& value) { m_description = value; }
71 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
72 inline void SetDescription(const char* value) { m_description.assign(value); }
73 inline CreateAssetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
74 inline CreateAssetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75 inline CreateAssetResult& WithDescription(const char* value) { SetDescription(value); return *this;}
77
79
82 inline const Aws::String& GetDomainId() const{ return m_domainId; }
83 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
84 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
85 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
86 inline CreateAssetResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
87 inline CreateAssetResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
88 inline CreateAssetResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
90
92
95 inline const Aws::String& GetExternalIdentifier() const{ return m_externalIdentifier; }
96 inline void SetExternalIdentifier(const Aws::String& value) { m_externalIdentifier = value; }
97 inline void SetExternalIdentifier(Aws::String&& value) { m_externalIdentifier = std::move(value); }
98 inline void SetExternalIdentifier(const char* value) { m_externalIdentifier.assign(value); }
99 inline CreateAssetResult& WithExternalIdentifier(const Aws::String& value) { SetExternalIdentifier(value); return *this;}
100 inline CreateAssetResult& WithExternalIdentifier(Aws::String&& value) { SetExternalIdentifier(std::move(value)); return *this;}
101 inline CreateAssetResult& WithExternalIdentifier(const char* value) { SetExternalIdentifier(value); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const{ return m_firstRevisionCreatedAt; }
109 inline void SetFirstRevisionCreatedAt(const Aws::Utils::DateTime& value) { m_firstRevisionCreatedAt = value; }
110 inline void SetFirstRevisionCreatedAt(Aws::Utils::DateTime&& value) { m_firstRevisionCreatedAt = std::move(value); }
114
116
119 inline const Aws::String& GetFirstRevisionCreatedBy() const{ return m_firstRevisionCreatedBy; }
120 inline void SetFirstRevisionCreatedBy(const Aws::String& value) { m_firstRevisionCreatedBy = value; }
121 inline void SetFirstRevisionCreatedBy(Aws::String&& value) { m_firstRevisionCreatedBy = std::move(value); }
122 inline void SetFirstRevisionCreatedBy(const char* value) { m_firstRevisionCreatedBy.assign(value); }
124 inline CreateAssetResult& WithFirstRevisionCreatedBy(Aws::String&& value) { SetFirstRevisionCreatedBy(std::move(value)); return *this;}
125 inline CreateAssetResult& WithFirstRevisionCreatedBy(const char* value) { SetFirstRevisionCreatedBy(value); return *this;}
127
129
132 inline const Aws::Vector<FormOutput>& GetFormsOutput() const{ return m_formsOutput; }
133 inline void SetFormsOutput(const Aws::Vector<FormOutput>& value) { m_formsOutput = value; }
134 inline void SetFormsOutput(Aws::Vector<FormOutput>&& value) { m_formsOutput = std::move(value); }
135 inline CreateAssetResult& WithFormsOutput(const Aws::Vector<FormOutput>& value) { SetFormsOutput(value); return *this;}
136 inline CreateAssetResult& WithFormsOutput(Aws::Vector<FormOutput>&& value) { SetFormsOutput(std::move(value)); return *this;}
137 inline CreateAssetResult& AddFormsOutput(const FormOutput& value) { m_formsOutput.push_back(value); return *this; }
138 inline CreateAssetResult& AddFormsOutput(FormOutput&& value) { m_formsOutput.push_back(std::move(value)); return *this; }
140
142
145 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
146 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTerms = value; }
147 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTerms = std::move(value); }
149 inline CreateAssetResult& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
150 inline CreateAssetResult& AddGlossaryTerms(const Aws::String& value) { m_glossaryTerms.push_back(value); return *this; }
151 inline CreateAssetResult& AddGlossaryTerms(Aws::String&& value) { m_glossaryTerms.push_back(std::move(value)); return *this; }
152 inline CreateAssetResult& AddGlossaryTerms(const char* value) { m_glossaryTerms.push_back(value); return *this; }
154
156
159 inline const Aws::String& GetId() const{ return m_id; }
160 inline void SetId(const Aws::String& value) { m_id = value; }
161 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
162 inline void SetId(const char* value) { m_id.assign(value); }
163 inline CreateAssetResult& WithId(const Aws::String& value) { SetId(value); return *this;}
164 inline CreateAssetResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
165 inline CreateAssetResult& WithId(const char* value) { SetId(value); return *this;}
167
169
173 inline const Aws::Vector<TimeSeriesDataPointSummaryFormOutput>& GetLatestTimeSeriesDataPointFormsOutput() const{ return m_latestTimeSeriesDataPointFormsOutput; }
174 inline void SetLatestTimeSeriesDataPointFormsOutput(const Aws::Vector<TimeSeriesDataPointSummaryFormOutput>& value) { m_latestTimeSeriesDataPointFormsOutput = value; }
175 inline void SetLatestTimeSeriesDataPointFormsOutput(Aws::Vector<TimeSeriesDataPointSummaryFormOutput>&& value) { m_latestTimeSeriesDataPointFormsOutput = std::move(value); }
178 inline CreateAssetResult& AddLatestTimeSeriesDataPointFormsOutput(const TimeSeriesDataPointSummaryFormOutput& value) { m_latestTimeSeriesDataPointFormsOutput.push_back(value); return *this; }
179 inline CreateAssetResult& AddLatestTimeSeriesDataPointFormsOutput(TimeSeriesDataPointSummaryFormOutput&& value) { m_latestTimeSeriesDataPointFormsOutput.push_back(std::move(value)); return *this; }
181
183
186 inline const AssetListingDetails& GetListing() const{ return m_listing; }
187 inline void SetListing(const AssetListingDetails& value) { m_listing = value; }
188 inline void SetListing(AssetListingDetails&& value) { m_listing = std::move(value); }
189 inline CreateAssetResult& WithListing(const AssetListingDetails& value) { SetListing(value); return *this;}
190 inline CreateAssetResult& WithListing(AssetListingDetails&& value) { SetListing(std::move(value)); return *this;}
192
194
197 inline const Aws::String& GetName() const{ return m_name; }
198 inline void SetName(const Aws::String& value) { m_name = value; }
199 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
200 inline void SetName(const char* value) { m_name.assign(value); }
201 inline CreateAssetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
202 inline CreateAssetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
203 inline CreateAssetResult& WithName(const char* value) { SetName(value); return *this;}
205
207
210 inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; }
211 inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectId = value; }
212 inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectId = std::move(value); }
213 inline void SetOwningProjectId(const char* value) { m_owningProjectId.assign(value); }
214 inline CreateAssetResult& WithOwningProjectId(const Aws::String& value) { SetOwningProjectId(value); return *this;}
215 inline CreateAssetResult& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;}
216 inline CreateAssetResult& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;}
218
220
224 inline const PredictionConfiguration& GetPredictionConfiguration() const{ return m_predictionConfiguration; }
225 inline void SetPredictionConfiguration(const PredictionConfiguration& value) { m_predictionConfiguration = value; }
226 inline void SetPredictionConfiguration(PredictionConfiguration&& value) { m_predictionConfiguration = std::move(value); }
230
232
235 inline const Aws::Vector<FormOutput>& GetReadOnlyFormsOutput() const{ return m_readOnlyFormsOutput; }
236 inline void SetReadOnlyFormsOutput(const Aws::Vector<FormOutput>& value) { m_readOnlyFormsOutput = value; }
237 inline void SetReadOnlyFormsOutput(Aws::Vector<FormOutput>&& value) { m_readOnlyFormsOutput = std::move(value); }
240 inline CreateAssetResult& AddReadOnlyFormsOutput(const FormOutput& value) { m_readOnlyFormsOutput.push_back(value); return *this; }
241 inline CreateAssetResult& AddReadOnlyFormsOutput(FormOutput&& value) { m_readOnlyFormsOutput.push_back(std::move(value)); return *this; }
243
245
248 inline const Aws::String& GetRevision() const{ return m_revision; }
249 inline void SetRevision(const Aws::String& value) { m_revision = value; }
250 inline void SetRevision(Aws::String&& value) { m_revision = std::move(value); }
251 inline void SetRevision(const char* value) { m_revision.assign(value); }
252 inline CreateAssetResult& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
253 inline CreateAssetResult& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
254 inline CreateAssetResult& WithRevision(const char* value) { SetRevision(value); return *this;}
256
258
261 inline const Aws::String& GetTypeIdentifier() const{ return m_typeIdentifier; }
262 inline void SetTypeIdentifier(const Aws::String& value) { m_typeIdentifier = value; }
263 inline void SetTypeIdentifier(Aws::String&& value) { m_typeIdentifier = std::move(value); }
264 inline void SetTypeIdentifier(const char* value) { m_typeIdentifier.assign(value); }
265 inline CreateAssetResult& WithTypeIdentifier(const Aws::String& value) { SetTypeIdentifier(value); return *this;}
266 inline CreateAssetResult& WithTypeIdentifier(Aws::String&& value) { SetTypeIdentifier(std::move(value)); return *this;}
267 inline CreateAssetResult& WithTypeIdentifier(const char* value) { SetTypeIdentifier(value); return *this;}
269
271
274 inline const Aws::String& GetTypeRevision() const{ return m_typeRevision; }
275 inline void SetTypeRevision(const Aws::String& value) { m_typeRevision = value; }
276 inline void SetTypeRevision(Aws::String&& value) { m_typeRevision = std::move(value); }
277 inline void SetTypeRevision(const char* value) { m_typeRevision.assign(value); }
278 inline CreateAssetResult& WithTypeRevision(const Aws::String& value) { SetTypeRevision(value); return *this;}
279 inline CreateAssetResult& WithTypeRevision(Aws::String&& value) { SetTypeRevision(std::move(value)); return *this;}
280 inline CreateAssetResult& WithTypeRevision(const char* value) { SetTypeRevision(value); return *this;}
282
284
285 inline const Aws::String& GetRequestId() const{ return m_requestId; }
286 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
287 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
288 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
289 inline CreateAssetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
290 inline CreateAssetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
291 inline CreateAssetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
293 private:
294
295 Aws::Utils::DateTime m_createdAt;
296
297 Aws::String m_createdBy;
298
299 Aws::String m_description;
300
301 Aws::String m_domainId;
302
303 Aws::String m_externalIdentifier;
304
305 Aws::Utils::DateTime m_firstRevisionCreatedAt;
306
307 Aws::String m_firstRevisionCreatedBy;
308
309 Aws::Vector<FormOutput> m_formsOutput;
310
311 Aws::Vector<Aws::String> m_glossaryTerms;
312
313 Aws::String m_id;
314
315 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
316
317 AssetListingDetails m_listing;
318
319 Aws::String m_name;
320
321 Aws::String m_owningProjectId;
322
323 PredictionConfiguration m_predictionConfiguration;
324
325 Aws::Vector<FormOutput> m_readOnlyFormsOutput;
326
327 Aws::String m_revision;
328
329 Aws::String m_typeIdentifier;
330
331 Aws::String m_typeRevision;
332
333 Aws::String m_requestId;
334 };
335
336} // namespace Model
337} // namespace DataZone
338} // namespace Aws
CreateAssetResult & WithReadOnlyFormsOutput(const Aws::Vector< FormOutput > &value)
void SetFirstRevisionCreatedBy(const Aws::String &value)
void SetFirstRevisionCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Vector< FormOutput > & GetFormsOutput() const
void SetCreatedBy(const Aws::String &value)
CreateAssetResult & WithDescription(const char *value)
CreateAssetResult & WithOwningProjectId(Aws::String &&value)
void SetExternalIdentifier(Aws::String &&value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetDescription() const
CreateAssetResult & WithRevision(Aws::String &&value)
const Aws::String & GetRequestId() const
CreateAssetResult & WithFirstRevisionCreatedBy(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetTypeIdentifier() const
void SetFirstRevisionCreatedBy(const char *value)
CreateAssetResult & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
void SetListing(const AssetListingDetails &value)
const Aws::String & GetTypeRevision() const
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
const AssetListingDetails & GetListing() const
void SetReadOnlyFormsOutput(Aws::Vector< FormOutput > &&value)
CreateAssetResult & WithDomainId(Aws::String &&value)
AWS_DATAZONE_API CreateAssetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAssetResult & WithCreatedBy(Aws::String &&value)
CreateAssetResult & WithDescription(const Aws::String &value)
void SetId(const Aws::String &value)
CreateAssetResult & AddReadOnlyFormsOutput(FormOutput &&value)
CreateAssetResult & AddFormsOutput(const FormOutput &value)
void SetListing(AssetListingDetails &&value)
CreateAssetResult & WithTypeIdentifier(const char *value)
const Aws::String & GetCreatedBy() const
CreateAssetResult & WithId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
CreateAssetResult & WithExternalIdentifier(const char *value)
CreateAssetResult & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
void SetExternalIdentifier(const char *value)
CreateAssetResult & WithDescription(Aws::String &&value)
void SetFirstRevisionCreatedBy(Aws::String &&value)
CreateAssetResult & WithCreatedBy(const char *value)
CreateAssetResult & WithRequestId(const Aws::String &value)
void SetFormsOutput(const Aws::Vector< FormOutput > &value)
const PredictionConfiguration & GetPredictionConfiguration() const
CreateAssetResult & WithReadOnlyFormsOutput(Aws::Vector< FormOutput > &&value)
void SetPredictionConfiguration(const PredictionConfiguration &value)
CreateAssetResult & WithRevision(const Aws::String &value)
void SetDescription(const Aws::String &value)
const Aws::String & GetDomainId() const
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
CreateAssetResult & WithRequestId(Aws::String &&value)
CreateAssetResult & AddFormsOutput(FormOutput &&value)
CreateAssetResult & AddLatestTimeSeriesDataPointFormsOutput(const TimeSeriesDataPointSummaryFormOutput &value)
CreateAssetResult & WithPredictionConfiguration(PredictionConfiguration &&value)
AWS_DATAZONE_API CreateAssetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAssetResult & WithId(const Aws::String &value)
void SetLatestTimeSeriesDataPointFormsOutput(const Aws::Vector< TimeSeriesDataPointSummaryFormOutput > &value)
CreateAssetResult & WithLatestTimeSeriesDataPointFormsOutput(const Aws::Vector< TimeSeriesDataPointSummaryFormOutput > &value)
CreateAssetResult & WithFirstRevisionCreatedBy(Aws::String &&value)
CreateAssetResult & WithTypeIdentifier(const Aws::String &value)
CreateAssetResult & WithFormsOutput(const Aws::Vector< FormOutput > &value)
void SetOwningProjectId(const Aws::String &value)
void SetName(const Aws::String &value)
const Aws::Utils::DateTime & GetFirstRevisionCreatedAt() const
CreateAssetResult & WithDomainId(const char *value)
const Aws::Vector< TimeSeriesDataPointSummaryFormOutput > & GetLatestTimeSeriesDataPointFormsOutput() const
CreateAssetResult & WithId(const char *value)
CreateAssetResult & WithFormsOutput(Aws::Vector< FormOutput > &&value)
CreateAssetResult & WithExternalIdentifier(const Aws::String &value)
void SetPredictionConfiguration(PredictionConfiguration &&value)
CreateAssetResult & WithName(const char *value)
void SetTypeIdentifier(Aws::String &&value)
CreateAssetResult & WithCreatedBy(const Aws::String &value)
CreateAssetResult & WithTypeRevision(Aws::String &&value)
CreateAssetResult & WithListing(const AssetListingDetails &value)
void SetTypeRevision(const Aws::String &value)
CreateAssetResult & WithTypeIdentifier(Aws::String &&value)
const Aws::String & GetRevision() const
CreateAssetResult & WithTypeRevision(const char *value)
CreateAssetResult & WithName(const Aws::String &value)
CreateAssetResult & WithLatestTimeSeriesDataPointFormsOutput(Aws::Vector< TimeSeriesDataPointSummaryFormOutput > &&value)
CreateAssetResult & WithFirstRevisionCreatedBy(const char *value)
CreateAssetResult & AddLatestTimeSeriesDataPointFormsOutput(TimeSeriesDataPointSummaryFormOutput &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateAssetResult & AddGlossaryTerms(const char *value)
CreateAssetResult & WithTypeRevision(const Aws::String &value)
CreateAssetResult & WithPredictionConfiguration(const PredictionConfiguration &value)
CreateAssetResult & WithOwningProjectId(const char *value)
CreateAssetResult & WithFirstRevisionCreatedAt(Aws::Utils::DateTime &&value)
CreateAssetResult & WithRequestId(const char *value)
CreateAssetResult & WithDomainId(const Aws::String &value)
CreateAssetResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetReadOnlyFormsOutput(const Aws::Vector< FormOutput > &value)
CreateAssetResult & WithListing(AssetListingDetails &&value)
void SetLatestTimeSeriesDataPointFormsOutput(Aws::Vector< TimeSeriesDataPointSummaryFormOutput > &&value)
void SetExternalIdentifier(const Aws::String &value)
void SetDomainId(const Aws::String &value)
CreateAssetResult & WithExternalIdentifier(Aws::String &&value)
CreateAssetResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateAssetResult & AddGlossaryTerms(Aws::String &&value)
CreateAssetResult & WithRevision(const char *value)
const Aws::Vector< FormOutput > & GetReadOnlyFormsOutput() const
CreateAssetResult & WithOwningProjectId(const Aws::String &value)
const Aws::String & GetFirstRevisionCreatedBy() const
CreateAssetResult & WithFirstRevisionCreatedAt(const Aws::Utils::DateTime &value)
CreateAssetResult & AddGlossaryTerms(const Aws::String &value)
const Aws::String & GetExternalIdentifier() const
void SetOwningProjectId(Aws::String &&value)
CreateAssetResult & AddReadOnlyFormsOutput(const FormOutput &value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
CreateAssetResult & WithName(Aws::String &&value)
const Aws::String & GetOwningProjectId() const
void SetRevision(const Aws::String &value)
void SetTypeIdentifier(const Aws::String &value)
void SetFirstRevisionCreatedAt(const Aws::Utils::DateTime &value)
void SetFormsOutput(Aws::Vector< FormOutput > &&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