AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAssetResult.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/FormOutput.h>
13#include <aws/datazone/model/TimeSeriesDataPointSummaryFormOutput.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataZone
29{
30namespace Model
31{
33 {
34 public:
35 AWS_DATAZONE_API GetAssetResult();
38
39
41
44 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
45 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
46 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
47 inline GetAssetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
48 inline GetAssetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
50
52
55 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
56 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
57 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
58 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
59 inline GetAssetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
60 inline GetAssetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
61 inline GetAssetResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
63
65
68 inline const Aws::String& GetDescription() const{ return m_description; }
69 inline void SetDescription(const Aws::String& value) { m_description = value; }
70 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
71 inline void SetDescription(const char* value) { m_description.assign(value); }
72 inline GetAssetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
73 inline GetAssetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
74 inline GetAssetResult& WithDescription(const char* value) { SetDescription(value); return *this;}
76
78
81 inline const Aws::String& GetDomainId() const{ return m_domainId; }
82 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
83 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
84 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
85 inline GetAssetResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
86 inline GetAssetResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
87 inline GetAssetResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
89
91
94 inline const Aws::String& GetExternalIdentifier() const{ return m_externalIdentifier; }
95 inline void SetExternalIdentifier(const Aws::String& value) { m_externalIdentifier = value; }
96 inline void SetExternalIdentifier(Aws::String&& value) { m_externalIdentifier = std::move(value); }
97 inline void SetExternalIdentifier(const char* value) { m_externalIdentifier.assign(value); }
98 inline GetAssetResult& WithExternalIdentifier(const Aws::String& value) { SetExternalIdentifier(value); return *this;}
99 inline GetAssetResult& WithExternalIdentifier(Aws::String&& value) { SetExternalIdentifier(std::move(value)); return *this;}
100 inline GetAssetResult& WithExternalIdentifier(const char* value) { SetExternalIdentifier(value); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const{ return m_firstRevisionCreatedAt; }
108 inline void SetFirstRevisionCreatedAt(const Aws::Utils::DateTime& value) { m_firstRevisionCreatedAt = value; }
109 inline void SetFirstRevisionCreatedAt(Aws::Utils::DateTime&& value) { m_firstRevisionCreatedAt = std::move(value); }
113
115
118 inline const Aws::String& GetFirstRevisionCreatedBy() const{ return m_firstRevisionCreatedBy; }
119 inline void SetFirstRevisionCreatedBy(const Aws::String& value) { m_firstRevisionCreatedBy = value; }
120 inline void SetFirstRevisionCreatedBy(Aws::String&& value) { m_firstRevisionCreatedBy = std::move(value); }
121 inline void SetFirstRevisionCreatedBy(const char* value) { m_firstRevisionCreatedBy.assign(value); }
123 inline GetAssetResult& WithFirstRevisionCreatedBy(Aws::String&& value) { SetFirstRevisionCreatedBy(std::move(value)); return *this;}
124 inline GetAssetResult& WithFirstRevisionCreatedBy(const char* value) { SetFirstRevisionCreatedBy(value); return *this;}
126
128
131 inline const Aws::Vector<FormOutput>& GetFormsOutput() const{ return m_formsOutput; }
132 inline void SetFormsOutput(const Aws::Vector<FormOutput>& value) { m_formsOutput = value; }
133 inline void SetFormsOutput(Aws::Vector<FormOutput>&& value) { m_formsOutput = std::move(value); }
134 inline GetAssetResult& WithFormsOutput(const Aws::Vector<FormOutput>& value) { SetFormsOutput(value); return *this;}
135 inline GetAssetResult& WithFormsOutput(Aws::Vector<FormOutput>&& value) { SetFormsOutput(std::move(value)); return *this;}
136 inline GetAssetResult& AddFormsOutput(const FormOutput& value) { m_formsOutput.push_back(value); return *this; }
137 inline GetAssetResult& AddFormsOutput(FormOutput&& value) { m_formsOutput.push_back(std::move(value)); return *this; }
139
141
144 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
145 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTerms = value; }
146 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTerms = std::move(value); }
147 inline GetAssetResult& WithGlossaryTerms(const Aws::Vector<Aws::String>& value) { SetGlossaryTerms(value); return *this;}
148 inline GetAssetResult& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
149 inline GetAssetResult& AddGlossaryTerms(const Aws::String& value) { m_glossaryTerms.push_back(value); return *this; }
150 inline GetAssetResult& AddGlossaryTerms(Aws::String&& value) { m_glossaryTerms.push_back(std::move(value)); return *this; }
151 inline GetAssetResult& AddGlossaryTerms(const char* value) { m_glossaryTerms.push_back(value); return *this; }
153
155
158 inline const Aws::String& GetId() const{ return m_id; }
159 inline void SetId(const Aws::String& value) { m_id = value; }
160 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
161 inline void SetId(const char* value) { m_id.assign(value); }
162 inline GetAssetResult& WithId(const Aws::String& value) { SetId(value); return *this;}
163 inline GetAssetResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
164 inline GetAssetResult& WithId(const char* value) { SetId(value); return *this;}
166
168
172 inline const Aws::Vector<TimeSeriesDataPointSummaryFormOutput>& GetLatestTimeSeriesDataPointFormsOutput() const{ return m_latestTimeSeriesDataPointFormsOutput; }
173 inline void SetLatestTimeSeriesDataPointFormsOutput(const Aws::Vector<TimeSeriesDataPointSummaryFormOutput>& value) { m_latestTimeSeriesDataPointFormsOutput = value; }
174 inline void SetLatestTimeSeriesDataPointFormsOutput(Aws::Vector<TimeSeriesDataPointSummaryFormOutput>&& value) { m_latestTimeSeriesDataPointFormsOutput = std::move(value); }
177 inline GetAssetResult& AddLatestTimeSeriesDataPointFormsOutput(const TimeSeriesDataPointSummaryFormOutput& value) { m_latestTimeSeriesDataPointFormsOutput.push_back(value); return *this; }
178 inline GetAssetResult& AddLatestTimeSeriesDataPointFormsOutput(TimeSeriesDataPointSummaryFormOutput&& value) { m_latestTimeSeriesDataPointFormsOutput.push_back(std::move(value)); return *this; }
180
182
185 inline const AssetListingDetails& GetListing() const{ return m_listing; }
186 inline void SetListing(const AssetListingDetails& value) { m_listing = value; }
187 inline void SetListing(AssetListingDetails&& value) { m_listing = std::move(value); }
188 inline GetAssetResult& WithListing(const AssetListingDetails& value) { SetListing(value); return *this;}
189 inline GetAssetResult& WithListing(AssetListingDetails&& value) { SetListing(std::move(value)); return *this;}
191
193
196 inline const Aws::String& GetName() const{ return m_name; }
197 inline void SetName(const Aws::String& value) { m_name = value; }
198 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
199 inline void SetName(const char* value) { m_name.assign(value); }
200 inline GetAssetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
201 inline GetAssetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
202 inline GetAssetResult& WithName(const char* value) { SetName(value); return *this;}
204
206
209 inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; }
210 inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectId = value; }
211 inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectId = std::move(value); }
212 inline void SetOwningProjectId(const char* value) { m_owningProjectId.assign(value); }
213 inline GetAssetResult& WithOwningProjectId(const Aws::String& value) { SetOwningProjectId(value); return *this;}
214 inline GetAssetResult& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;}
215 inline GetAssetResult& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;}
217
219
222 inline const Aws::Vector<FormOutput>& GetReadOnlyFormsOutput() const{ return m_readOnlyFormsOutput; }
223 inline void SetReadOnlyFormsOutput(const Aws::Vector<FormOutput>& value) { m_readOnlyFormsOutput = value; }
224 inline void SetReadOnlyFormsOutput(Aws::Vector<FormOutput>&& value) { m_readOnlyFormsOutput = std::move(value); }
227 inline GetAssetResult& AddReadOnlyFormsOutput(const FormOutput& value) { m_readOnlyFormsOutput.push_back(value); return *this; }
228 inline GetAssetResult& AddReadOnlyFormsOutput(FormOutput&& value) { m_readOnlyFormsOutput.push_back(std::move(value)); return *this; }
230
232
235 inline const Aws::String& GetRevision() const{ return m_revision; }
236 inline void SetRevision(const Aws::String& value) { m_revision = value; }
237 inline void SetRevision(Aws::String&& value) { m_revision = std::move(value); }
238 inline void SetRevision(const char* value) { m_revision.assign(value); }
239 inline GetAssetResult& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
240 inline GetAssetResult& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
241 inline GetAssetResult& WithRevision(const char* value) { SetRevision(value); return *this;}
243
245
248 inline const Aws::String& GetTypeIdentifier() const{ return m_typeIdentifier; }
249 inline void SetTypeIdentifier(const Aws::String& value) { m_typeIdentifier = value; }
250 inline void SetTypeIdentifier(Aws::String&& value) { m_typeIdentifier = std::move(value); }
251 inline void SetTypeIdentifier(const char* value) { m_typeIdentifier.assign(value); }
252 inline GetAssetResult& WithTypeIdentifier(const Aws::String& value) { SetTypeIdentifier(value); return *this;}
253 inline GetAssetResult& WithTypeIdentifier(Aws::String&& value) { SetTypeIdentifier(std::move(value)); return *this;}
254 inline GetAssetResult& WithTypeIdentifier(const char* value) { SetTypeIdentifier(value); return *this;}
256
258
261 inline const Aws::String& GetTypeRevision() const{ return m_typeRevision; }
262 inline void SetTypeRevision(const Aws::String& value) { m_typeRevision = value; }
263 inline void SetTypeRevision(Aws::String&& value) { m_typeRevision = std::move(value); }
264 inline void SetTypeRevision(const char* value) { m_typeRevision.assign(value); }
265 inline GetAssetResult& WithTypeRevision(const Aws::String& value) { SetTypeRevision(value); return *this;}
266 inline GetAssetResult& WithTypeRevision(Aws::String&& value) { SetTypeRevision(std::move(value)); return *this;}
267 inline GetAssetResult& WithTypeRevision(const char* value) { SetTypeRevision(value); return *this;}
269
271
272 inline const Aws::String& GetRequestId() const{ return m_requestId; }
273 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
274 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
275 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
276 inline GetAssetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
277 inline GetAssetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
278 inline GetAssetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
280 private:
281
282 Aws::Utils::DateTime m_createdAt;
283
284 Aws::String m_createdBy;
285
286 Aws::String m_description;
287
288 Aws::String m_domainId;
289
290 Aws::String m_externalIdentifier;
291
292 Aws::Utils::DateTime m_firstRevisionCreatedAt;
293
294 Aws::String m_firstRevisionCreatedBy;
295
296 Aws::Vector<FormOutput> m_formsOutput;
297
298 Aws::Vector<Aws::String> m_glossaryTerms;
299
300 Aws::String m_id;
301
302 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
303
304 AssetListingDetails m_listing;
305
306 Aws::String m_name;
307
308 Aws::String m_owningProjectId;
309
310 Aws::Vector<FormOutput> m_readOnlyFormsOutput;
311
312 Aws::String m_revision;
313
314 Aws::String m_typeIdentifier;
315
316 Aws::String m_typeRevision;
317
318 Aws::String m_requestId;
319 };
320
321} // namespace Model
322} // namespace DataZone
323} // namespace Aws
void SetFirstRevisionCreatedBy(const char *value)
GetAssetResult & WithId(const char *value)
GetAssetResult & WithTypeRevision(const char *value)
void SetDomainId(Aws::String &&value)
const Aws::String & GetRevision() const
GetAssetResult & WithLatestTimeSeriesDataPointFormsOutput(Aws::Vector< TimeSeriesDataPointSummaryFormOutput > &&value)
GetAssetResult & WithDomainId(Aws::String &&value)
GetAssetResult & WithRequestId(Aws::String &&value)
void SetFirstRevisionCreatedBy(const Aws::String &value)
void SetTypeIdentifier(Aws::String &&value)
GetAssetResult & AddLatestTimeSeriesDataPointFormsOutput(const TimeSeriesDataPointSummaryFormOutput &value)
GetAssetResult & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
void SetDescription(const char *value)
void SetName(const Aws::String &value)
GetAssetResult & WithTypeIdentifier(Aws::String &&value)
GetAssetResult & WithDomainId(const char *value)
void SetRequestId(const char *value)
const Aws::String & GetCreatedBy() const
GetAssetResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetRevision(Aws::String &&value)
GetAssetResult & WithTypeIdentifier(const char *value)
void SetId(const Aws::String &value)
GetAssetResult & WithExternalIdentifier(const Aws::String &value)
const Aws::String & GetId() const
GetAssetResult & WithListing(const AssetListingDetails &value)
GetAssetResult & WithExternalIdentifier(Aws::String &&value)
void SetRequestId(Aws::String &&value)
const Aws::Utils::DateTime & GetFirstRevisionCreatedAt() const
const Aws::Vector< TimeSeriesDataPointSummaryFormOutput > & GetLatestTimeSeriesDataPointFormsOutput() const
void SetTypeRevision(const Aws::String &value)
void SetTypeIdentifier(const Aws::String &value)
GetAssetResult & AddFormsOutput(const FormOutput &value)
void SetDomainId(const Aws::String &value)
void SetRevision(const char *value)
const Aws::String & GetDescription() const
GetAssetResult & WithTypeRevision(const Aws::String &value)
void SetOwningProjectId(const Aws::String &value)
GetAssetResult & WithDescription(const Aws::String &value)
GetAssetResult & WithReadOnlyFormsOutput(Aws::Vector< FormOutput > &&value)
GetAssetResult & AddReadOnlyFormsOutput(FormOutput &&value)
GetAssetResult & WithExternalIdentifier(const char *value)
void SetCreatedBy(const char *value)
GetAssetResult & WithDescription(Aws::String &&value)
GetAssetResult & WithLatestTimeSeriesDataPointFormsOutput(const Aws::Vector< TimeSeriesDataPointSummaryFormOutput > &value)
void SetFormsOutput(Aws::Vector< FormOutput > &&value)
GetAssetResult & WithFirstRevisionCreatedBy(Aws::String &&value)
GetAssetResult & AddGlossaryTerms(const Aws::String &value)
const Aws::String & GetFirstRevisionCreatedBy() const
void SetExternalIdentifier(const char *value)
GetAssetResult & WithFirstRevisionCreatedBy(const Aws::String &value)
GetAssetResult & WithId(Aws::String &&value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
void SetDomainId(const char *value)
void SetOwningProjectId(Aws::String &&value)
const Aws::String & GetTypeIdentifier() const
GetAssetResult & WithRequestId(const char *value)
GetAssetResult & WithRequestId(const Aws::String &value)
void SetFirstRevisionCreatedBy(Aws::String &&value)
GetAssetResult & WithDescription(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetAssetResult & WithRevision(Aws::String &&value)
const Aws::String & GetExternalIdentifier() const
void SetExternalIdentifier(Aws::String &&value)
void SetTypeIdentifier(const char *value)
void SetLatestTimeSeriesDataPointFormsOutput(Aws::Vector< TimeSeriesDataPointSummaryFormOutput > &&value)
void SetId(Aws::String &&value)
void SetDescription(Aws::String &&value)
GetAssetResult & WithTypeRevision(Aws::String &&value)
void SetFirstRevisionCreatedAt(const Aws::Utils::DateTime &value)
AWS_DATAZONE_API GetAssetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetReadOnlyFormsOutput(Aws::Vector< FormOutput > &&value)
const Aws::String & GetOwningProjectId() const
GetAssetResult & WithName(const char *value)
const Aws::String & GetDomainId() const
GetAssetResult & WithRevision(const Aws::String &value)
GetAssetResult & WithCreatedBy(const Aws::String &value)
AWS_DATAZONE_API GetAssetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetListing(const AssetListingDetails &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetAssetResult & WithListing(AssetListingDetails &&value)
const Aws::String & GetTypeRevision() const
GetAssetResult & WithCreatedBy(const char *value)
GetAssetResult & AddGlossaryTerms(const char *value)
void SetTypeRevision(const char *value)
GetAssetResult & WithTypeIdentifier(const Aws::String &value)
GetAssetResult & WithName(const Aws::String &value)
void SetCreatedBy(Aws::String &&value)
GetAssetResult & AddFormsOutput(FormOutput &&value)
GetAssetResult & WithOwningProjectId(Aws::String &&value)
void SetLatestTimeSeriesDataPointFormsOutput(const Aws::Vector< TimeSeriesDataPointSummaryFormOutput > &value)
GetAssetResult & WithCreatedBy(Aws::String &&value)
GetAssetResult & WithOwningProjectId(const Aws::String &value)
GetAssetResult & WithFormsOutput(const Aws::Vector< FormOutput > &value)
void SetCreatedBy(const Aws::String &value)
GetAssetResult & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
void SetListing(AssetListingDetails &&value)
const Aws::Vector< FormOutput > & GetFormsOutput() const
const Aws::Vector< FormOutput > & GetReadOnlyFormsOutput() const
GetAssetResult & WithOwningProjectId(const char *value)
GetAssetResult & WithId(const Aws::String &value)
void SetExternalIdentifier(const Aws::String &value)
const AssetListingDetails & GetListing() const
GetAssetResult & WithReadOnlyFormsOutput(const Aws::Vector< FormOutput > &value)
GetAssetResult & AddGlossaryTerms(Aws::String &&value)
GetAssetResult & WithDomainId(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetFirstRevisionCreatedAt(Aws::Utils::DateTime &&value)
GetAssetResult & WithRevision(const char *value)
GetAssetResult & AddLatestTimeSeriesDataPointFormsOutput(TimeSeriesDataPointSummaryFormOutput &&value)
GetAssetResult & WithFormsOutput(Aws::Vector< FormOutput > &&value)
GetAssetResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetRevision(const Aws::String &value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
void SetDescription(const Aws::String &value)
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetAssetResult & WithFirstRevisionCreatedAt(const Aws::Utils::DateTime &value)
void SetFormsOutput(const Aws::Vector< FormOutput > &value)
GetAssetResult & WithFirstRevisionCreatedAt(Aws::Utils::DateTime &&value)
void SetOwningProjectId(const char *value)
GetAssetResult & AddReadOnlyFormsOutput(const FormOutput &value)
void SetName(Aws::String &&value)
void SetTypeRevision(Aws::String &&value)
void SetReadOnlyFormsOutput(const Aws::Vector< FormOutput > &value)
GetAssetResult & WithFirstRevisionCreatedBy(const char *value)
GetAssetResult & WithName(Aws::String &&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