AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 CreateAssetRevisionResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
49 inline CreateAssetRevisionResult& 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 CreateAssetRevisionResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
61 inline CreateAssetRevisionResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
62 inline CreateAssetRevisionResult& 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 CreateAssetRevisionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
74 inline CreateAssetRevisionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75 inline CreateAssetRevisionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
77
79
83 inline const Aws::String& GetDomainId() const{ return m_domainId; }
84 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
85 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
86 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
87 inline CreateAssetRevisionResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
88 inline CreateAssetRevisionResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
89 inline CreateAssetRevisionResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
91
93
96 inline const Aws::String& GetExternalIdentifier() const{ return m_externalIdentifier; }
97 inline void SetExternalIdentifier(const Aws::String& value) { m_externalIdentifier = value; }
98 inline void SetExternalIdentifier(Aws::String&& value) { m_externalIdentifier = std::move(value); }
99 inline void SetExternalIdentifier(const char* value) { m_externalIdentifier.assign(value); }
101 inline CreateAssetRevisionResult& WithExternalIdentifier(Aws::String&& value) { SetExternalIdentifier(std::move(value)); return *this;}
102 inline CreateAssetRevisionResult& WithExternalIdentifier(const char* value) { SetExternalIdentifier(value); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const{ return m_firstRevisionCreatedAt; }
110 inline void SetFirstRevisionCreatedAt(const Aws::Utils::DateTime& value) { m_firstRevisionCreatedAt = value; }
111 inline void SetFirstRevisionCreatedAt(Aws::Utils::DateTime&& value) { m_firstRevisionCreatedAt = std::move(value); }
115
117
120 inline const Aws::String& GetFirstRevisionCreatedBy() const{ return m_firstRevisionCreatedBy; }
121 inline void SetFirstRevisionCreatedBy(const Aws::String& value) { m_firstRevisionCreatedBy = value; }
122 inline void SetFirstRevisionCreatedBy(Aws::String&& value) { m_firstRevisionCreatedBy = std::move(value); }
123 inline void SetFirstRevisionCreatedBy(const char* value) { m_firstRevisionCreatedBy.assign(value); }
126 inline CreateAssetRevisionResult& WithFirstRevisionCreatedBy(const char* value) { SetFirstRevisionCreatedBy(value); return *this;}
128
130
134 inline const Aws::Vector<FormOutput>& GetFormsOutput() const{ return m_formsOutput; }
135 inline void SetFormsOutput(const Aws::Vector<FormOutput>& value) { m_formsOutput = value; }
136 inline void SetFormsOutput(Aws::Vector<FormOutput>&& value) { m_formsOutput = std::move(value); }
138 inline CreateAssetRevisionResult& WithFormsOutput(Aws::Vector<FormOutput>&& value) { SetFormsOutput(std::move(value)); return *this;}
139 inline CreateAssetRevisionResult& AddFormsOutput(const FormOutput& value) { m_formsOutput.push_back(value); return *this; }
140 inline CreateAssetRevisionResult& AddFormsOutput(FormOutput&& value) { m_formsOutput.push_back(std::move(value)); return *this; }
142
144
148 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
149 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTerms = value; }
150 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTerms = std::move(value); }
153 inline CreateAssetRevisionResult& AddGlossaryTerms(const Aws::String& value) { m_glossaryTerms.push_back(value); return *this; }
154 inline CreateAssetRevisionResult& AddGlossaryTerms(Aws::String&& value) { m_glossaryTerms.push_back(std::move(value)); return *this; }
155 inline CreateAssetRevisionResult& AddGlossaryTerms(const char* value) { m_glossaryTerms.push_back(value); return *this; }
157
159
162 inline const Aws::String& GetId() const{ return m_id; }
163 inline void SetId(const Aws::String& value) { m_id = value; }
164 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
165 inline void SetId(const char* value) { m_id.assign(value); }
166 inline CreateAssetRevisionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
167 inline CreateAssetRevisionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
168 inline CreateAssetRevisionResult& WithId(const char* value) { SetId(value); return *this;}
170
172
176 inline const Aws::Vector<TimeSeriesDataPointSummaryFormOutput>& GetLatestTimeSeriesDataPointFormsOutput() const{ return m_latestTimeSeriesDataPointFormsOutput; }
177 inline void SetLatestTimeSeriesDataPointFormsOutput(const Aws::Vector<TimeSeriesDataPointSummaryFormOutput>& value) { m_latestTimeSeriesDataPointFormsOutput = value; }
178 inline void SetLatestTimeSeriesDataPointFormsOutput(Aws::Vector<TimeSeriesDataPointSummaryFormOutput>&& value) { m_latestTimeSeriesDataPointFormsOutput = std::move(value); }
181 inline CreateAssetRevisionResult& AddLatestTimeSeriesDataPointFormsOutput(const TimeSeriesDataPointSummaryFormOutput& value) { m_latestTimeSeriesDataPointFormsOutput.push_back(value); return *this; }
182 inline CreateAssetRevisionResult& AddLatestTimeSeriesDataPointFormsOutput(TimeSeriesDataPointSummaryFormOutput&& value) { m_latestTimeSeriesDataPointFormsOutput.push_back(std::move(value)); return *this; }
184
186
189 inline const AssetListingDetails& GetListing() const{ return m_listing; }
190 inline void SetListing(const AssetListingDetails& value) { m_listing = value; }
191 inline void SetListing(AssetListingDetails&& value) { m_listing = std::move(value); }
192 inline CreateAssetRevisionResult& WithListing(const AssetListingDetails& value) { SetListing(value); return *this;}
193 inline CreateAssetRevisionResult& WithListing(AssetListingDetails&& value) { SetListing(std::move(value)); return *this;}
195
197
200 inline const Aws::String& GetName() const{ return m_name; }
201 inline void SetName(const Aws::String& value) { m_name = value; }
202 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
203 inline void SetName(const char* value) { m_name.assign(value); }
204 inline CreateAssetRevisionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
205 inline CreateAssetRevisionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
206 inline CreateAssetRevisionResult& WithName(const char* value) { SetName(value); return *this;}
208
210
213 inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; }
214 inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectId = value; }
215 inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectId = std::move(value); }
216 inline void SetOwningProjectId(const char* value) { m_owningProjectId.assign(value); }
218 inline CreateAssetRevisionResult& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;}
219 inline CreateAssetRevisionResult& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;}
221
223
227 inline const PredictionConfiguration& GetPredictionConfiguration() const{ return m_predictionConfiguration; }
228 inline void SetPredictionConfiguration(const PredictionConfiguration& value) { m_predictionConfiguration = value; }
229 inline void SetPredictionConfiguration(PredictionConfiguration&& value) { m_predictionConfiguration = std::move(value); }
233
235
239 inline const Aws::Vector<FormOutput>& GetReadOnlyFormsOutput() const{ return m_readOnlyFormsOutput; }
240 inline void SetReadOnlyFormsOutput(const Aws::Vector<FormOutput>& value) { m_readOnlyFormsOutput = value; }
241 inline void SetReadOnlyFormsOutput(Aws::Vector<FormOutput>&& value) { m_readOnlyFormsOutput = std::move(value); }
244 inline CreateAssetRevisionResult& AddReadOnlyFormsOutput(const FormOutput& value) { m_readOnlyFormsOutput.push_back(value); return *this; }
245 inline CreateAssetRevisionResult& AddReadOnlyFormsOutput(FormOutput&& value) { m_readOnlyFormsOutput.push_back(std::move(value)); return *this; }
247
249
252 inline const Aws::String& GetRevision() const{ return m_revision; }
253 inline void SetRevision(const Aws::String& value) { m_revision = value; }
254 inline void SetRevision(Aws::String&& value) { m_revision = std::move(value); }
255 inline void SetRevision(const char* value) { m_revision.assign(value); }
256 inline CreateAssetRevisionResult& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
257 inline CreateAssetRevisionResult& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
258 inline CreateAssetRevisionResult& WithRevision(const char* value) { SetRevision(value); return *this;}
260
262
265 inline const Aws::String& GetTypeIdentifier() const{ return m_typeIdentifier; }
266 inline void SetTypeIdentifier(const Aws::String& value) { m_typeIdentifier = value; }
267 inline void SetTypeIdentifier(Aws::String&& value) { m_typeIdentifier = std::move(value); }
268 inline void SetTypeIdentifier(const char* value) { m_typeIdentifier.assign(value); }
269 inline CreateAssetRevisionResult& WithTypeIdentifier(const Aws::String& value) { SetTypeIdentifier(value); return *this;}
270 inline CreateAssetRevisionResult& WithTypeIdentifier(Aws::String&& value) { SetTypeIdentifier(std::move(value)); return *this;}
271 inline CreateAssetRevisionResult& WithTypeIdentifier(const char* value) { SetTypeIdentifier(value); return *this;}
273
275
278 inline const Aws::String& GetTypeRevision() const{ return m_typeRevision; }
279 inline void SetTypeRevision(const Aws::String& value) { m_typeRevision = value; }
280 inline void SetTypeRevision(Aws::String&& value) { m_typeRevision = std::move(value); }
281 inline void SetTypeRevision(const char* value) { m_typeRevision.assign(value); }
282 inline CreateAssetRevisionResult& WithTypeRevision(const Aws::String& value) { SetTypeRevision(value); return *this;}
283 inline CreateAssetRevisionResult& WithTypeRevision(Aws::String&& value) { SetTypeRevision(std::move(value)); return *this;}
284 inline CreateAssetRevisionResult& WithTypeRevision(const char* value) { SetTypeRevision(value); return *this;}
286
288
289 inline const Aws::String& GetRequestId() const{ return m_requestId; }
290 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
291 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
292 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
293 inline CreateAssetRevisionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
294 inline CreateAssetRevisionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
295 inline CreateAssetRevisionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
297 private:
298
299 Aws::Utils::DateTime m_createdAt;
300
301 Aws::String m_createdBy;
302
303 Aws::String m_description;
304
305 Aws::String m_domainId;
306
307 Aws::String m_externalIdentifier;
308
309 Aws::Utils::DateTime m_firstRevisionCreatedAt;
310
311 Aws::String m_firstRevisionCreatedBy;
312
313 Aws::Vector<FormOutput> m_formsOutput;
314
315 Aws::Vector<Aws::String> m_glossaryTerms;
316
317 Aws::String m_id;
318
319 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
320
321 AssetListingDetails m_listing;
322
323 Aws::String m_name;
324
325 Aws::String m_owningProjectId;
326
327 PredictionConfiguration m_predictionConfiguration;
328
329 Aws::Vector<FormOutput> m_readOnlyFormsOutput;
330
331 Aws::String m_revision;
332
333 Aws::String m_typeIdentifier;
334
335 Aws::String m_typeRevision;
336
337 Aws::String m_requestId;
338 };
339
340} // namespace Model
341} // namespace DataZone
342} // namespace Aws
CreateAssetRevisionResult & WithFirstRevisionCreatedAt(Aws::Utils::DateTime &&value)
CreateAssetRevisionResult & WithDescription(const Aws::String &value)
void SetPredictionConfiguration(const PredictionConfiguration &value)
CreateAssetRevisionResult & WithRequestId(const Aws::String &value)
CreateAssetRevisionResult & WithFirstRevisionCreatedBy(Aws::String &&value)
CreateAssetRevisionResult & WithDomainId(const Aws::String &value)
CreateAssetRevisionResult & WithTypeIdentifier(const char *value)
CreateAssetRevisionResult & WithListing(AssetListingDetails &&value)
CreateAssetRevisionResult & WithFirstRevisionCreatedBy(const Aws::String &value)
CreateAssetRevisionResult & WithRequestId(Aws::String &&value)
const Aws::Vector< TimeSeriesDataPointSummaryFormOutput > & GetLatestTimeSeriesDataPointFormsOutput() const
void SetFormsOutput(Aws::Vector< FormOutput > &&value)
void SetListing(const AssetListingDetails &value)
CreateAssetRevisionResult & WithCreatedBy(const Aws::String &value)
CreateAssetRevisionResult & WithRequestId(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
CreateAssetRevisionResult & AddGlossaryTerms(const char *value)
void SetReadOnlyFormsOutput(const Aws::Vector< FormOutput > &value)
CreateAssetRevisionResult & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
CreateAssetRevisionResult & WithDomainId(const char *value)
const Aws::Utils::DateTime & GetFirstRevisionCreatedAt() const
CreateAssetRevisionResult & WithId(const Aws::String &value)
CreateAssetRevisionResult & WithRevision(Aws::String &&value)
const Aws::Vector< FormOutput > & GetReadOnlyFormsOutput() const
void SetFormsOutput(const Aws::Vector< FormOutput > &value)
CreateAssetRevisionResult & WithDescription(Aws::String &&value)
CreateAssetRevisionResult & AddFormsOutput(const FormOutput &value)
CreateAssetRevisionResult & WithId(const char *value)
CreateAssetRevisionResult & WithRevision(const char *value)
CreateAssetRevisionResult & WithLatestTimeSeriesDataPointFormsOutput(const Aws::Vector< TimeSeriesDataPointSummaryFormOutput > &value)
CreateAssetRevisionResult & AddLatestTimeSeriesDataPointFormsOutput(const TimeSeriesDataPointSummaryFormOutput &value)
CreateAssetRevisionResult & WithTypeRevision(const char *value)
CreateAssetRevisionResult & WithOwningProjectId(Aws::String &&value)
CreateAssetRevisionResult & WithExternalIdentifier(const char *value)
void SetFirstRevisionCreatedAt(Aws::Utils::DateTime &&value)
CreateAssetRevisionResult & WithOwningProjectId(const Aws::String &value)
CreateAssetRevisionResult & AddFormsOutput(FormOutput &&value)
CreateAssetRevisionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateAssetRevisionResult & WithRevision(const Aws::String &value)
void SetLatestTimeSeriesDataPointFormsOutput(Aws::Vector< TimeSeriesDataPointSummaryFormOutput > &&value)
CreateAssetRevisionResult & WithDomainId(Aws::String &&value)
const Aws::Vector< FormOutput > & GetFormsOutput() const
CreateAssetRevisionResult & AddGlossaryTerms(Aws::String &&value)
CreateAssetRevisionResult & WithLatestTimeSeriesDataPointFormsOutput(Aws::Vector< TimeSeriesDataPointSummaryFormOutput > &&value)
CreateAssetRevisionResult & WithTypeRevision(Aws::String &&value)
const PredictionConfiguration & GetPredictionConfiguration() const
CreateAssetRevisionResult & WithOwningProjectId(const char *value)
CreateAssetRevisionResult & WithCreatedBy(Aws::String &&value)
AWS_DATAZONE_API CreateAssetRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAssetRevisionResult & WithName(const Aws::String &value)
CreateAssetRevisionResult & WithTypeIdentifier(Aws::String &&value)
CreateAssetRevisionResult & WithFirstRevisionCreatedBy(const char *value)
CreateAssetRevisionResult & WithTypeRevision(const Aws::String &value)
CreateAssetRevisionResult & WithFormsOutput(Aws::Vector< FormOutput > &&value)
CreateAssetRevisionResult & WithName(const char *value)
CreateAssetRevisionResult & WithPredictionConfiguration(PredictionConfiguration &&value)
CreateAssetRevisionResult & AddReadOnlyFormsOutput(FormOutput &&value)
CreateAssetRevisionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateAssetRevisionResult & WithDescription(const char *value)
CreateAssetRevisionResult & WithId(Aws::String &&value)
CreateAssetRevisionResult & WithCreatedBy(const char *value)
CreateAssetRevisionResult & WithReadOnlyFormsOutput(const Aws::Vector< FormOutput > &value)
CreateAssetRevisionResult & WithTypeIdentifier(const Aws::String &value)
void SetFirstRevisionCreatedAt(const Aws::Utils::DateTime &value)
CreateAssetRevisionResult & AddGlossaryTerms(const Aws::String &value)
CreateAssetRevisionResult & WithReadOnlyFormsOutput(Aws::Vector< FormOutput > &&value)
AWS_DATAZONE_API CreateAssetRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAssetRevisionResult & WithName(Aws::String &&value)
CreateAssetRevisionResult & WithFirstRevisionCreatedAt(const Aws::Utils::DateTime &value)
CreateAssetRevisionResult & AddLatestTimeSeriesDataPointFormsOutput(TimeSeriesDataPointSummaryFormOutput &&value)
CreateAssetRevisionResult & WithPredictionConfiguration(const PredictionConfiguration &value)
CreateAssetRevisionResult & AddReadOnlyFormsOutput(const FormOutput &value)
CreateAssetRevisionResult & WithListing(const AssetListingDetails &value)
CreateAssetRevisionResult & WithExternalIdentifier(Aws::String &&value)
CreateAssetRevisionResult & WithFormsOutput(const Aws::Vector< FormOutput > &value)
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
CreateAssetRevisionResult & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
CreateAssetRevisionResult & WithExternalIdentifier(const Aws::String &value)
void SetPredictionConfiguration(PredictionConfiguration &&value)
void SetLatestTimeSeriesDataPointFormsOutput(const Aws::Vector< TimeSeriesDataPointSummaryFormOutput > &value)
void SetReadOnlyFormsOutput(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