AWS SDK for C++

AWS SDK for C++ Version 1.11.637

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() = default;
38
39
41
44 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
45 template<typename CreatedAtT = Aws::Utils::DateTime>
46 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
47 template<typename CreatedAtT = Aws::Utils::DateTime>
48 GetAssetResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
50
52
55 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
56 template<typename CreatedByT = Aws::String>
57 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
58 template<typename CreatedByT = Aws::String>
59 GetAssetResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 GetAssetResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
77 inline const Aws::String& GetDomainId() const { return m_domainId; }
78 template<typename DomainIdT = Aws::String>
79 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
80 template<typename DomainIdT = Aws::String>
81 GetAssetResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
83
85
88 inline const Aws::String& GetExternalIdentifier() const { return m_externalIdentifier; }
89 template<typename ExternalIdentifierT = Aws::String>
90 void SetExternalIdentifier(ExternalIdentifierT&& value) { m_externalIdentifierHasBeenSet = true; m_externalIdentifier = std::forward<ExternalIdentifierT>(value); }
91 template<typename ExternalIdentifierT = Aws::String>
92 GetAssetResult& WithExternalIdentifier(ExternalIdentifierT&& value) { SetExternalIdentifier(std::forward<ExternalIdentifierT>(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const { return m_firstRevisionCreatedAt; }
100 template<typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
101 void SetFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) { m_firstRevisionCreatedAtHasBeenSet = true; m_firstRevisionCreatedAt = std::forward<FirstRevisionCreatedAtT>(value); }
102 template<typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
103 GetAssetResult& WithFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) { SetFirstRevisionCreatedAt(std::forward<FirstRevisionCreatedAtT>(value)); return *this;}
105
107
110 inline const Aws::String& GetFirstRevisionCreatedBy() const { return m_firstRevisionCreatedBy; }
111 template<typename FirstRevisionCreatedByT = Aws::String>
112 void SetFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) { m_firstRevisionCreatedByHasBeenSet = true; m_firstRevisionCreatedBy = std::forward<FirstRevisionCreatedByT>(value); }
113 template<typename FirstRevisionCreatedByT = Aws::String>
114 GetAssetResult& WithFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) { SetFirstRevisionCreatedBy(std::forward<FirstRevisionCreatedByT>(value)); return *this;}
116
118
121 inline const Aws::Vector<FormOutput>& GetFormsOutput() const { return m_formsOutput; }
122 template<typename FormsOutputT = Aws::Vector<FormOutput>>
123 void SetFormsOutput(FormsOutputT&& value) { m_formsOutputHasBeenSet = true; m_formsOutput = std::forward<FormsOutputT>(value); }
124 template<typename FormsOutputT = Aws::Vector<FormOutput>>
125 GetAssetResult& WithFormsOutput(FormsOutputT&& value) { SetFormsOutput(std::forward<FormsOutputT>(value)); return *this;}
126 template<typename FormsOutputT = FormOutput>
127 GetAssetResult& AddFormsOutput(FormsOutputT&& value) { m_formsOutputHasBeenSet = true; m_formsOutput.emplace_back(std::forward<FormsOutputT>(value)); return *this; }
129
131
134 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
135 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
136 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
137 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
138 GetAssetResult& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
139 template<typename GlossaryTermsT = Aws::String>
140 GetAssetResult& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
142
144
147 inline const Aws::Vector<Aws::String>& GetGovernedGlossaryTerms() const { return m_governedGlossaryTerms; }
148 template<typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
149 void SetGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { m_governedGlossaryTermsHasBeenSet = true; m_governedGlossaryTerms = std::forward<GovernedGlossaryTermsT>(value); }
150 template<typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
151 GetAssetResult& WithGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { SetGovernedGlossaryTerms(std::forward<GovernedGlossaryTermsT>(value)); return *this;}
152 template<typename GovernedGlossaryTermsT = Aws::String>
153 GetAssetResult& AddGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { m_governedGlossaryTermsHasBeenSet = true; m_governedGlossaryTerms.emplace_back(std::forward<GovernedGlossaryTermsT>(value)); return *this; }
155
157
160 inline const Aws::String& GetId() const { return m_id; }
161 template<typename IdT = Aws::String>
162 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
163 template<typename IdT = Aws::String>
164 GetAssetResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
166
168
172 inline const Aws::Vector<TimeSeriesDataPointSummaryFormOutput>& GetLatestTimeSeriesDataPointFormsOutput() const { return m_latestTimeSeriesDataPointFormsOutput; }
173 template<typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
174 void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true; m_latestTimeSeriesDataPointFormsOutput = std::forward<LatestTimeSeriesDataPointFormsOutputT>(value); }
175 template<typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
176 GetAssetResult& WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { SetLatestTimeSeriesDataPointFormsOutput(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value)); return *this;}
177 template<typename LatestTimeSeriesDataPointFormsOutputT = TimeSeriesDataPointSummaryFormOutput>
178 GetAssetResult& AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true; m_latestTimeSeriesDataPointFormsOutput.emplace_back(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value)); return *this; }
180
182
185 inline const AssetListingDetails& GetListing() const { return m_listing; }
186 template<typename ListingT = AssetListingDetails>
187 void SetListing(ListingT&& value) { m_listingHasBeenSet = true; m_listing = std::forward<ListingT>(value); }
188 template<typename ListingT = AssetListingDetails>
189 GetAssetResult& WithListing(ListingT&& value) { SetListing(std::forward<ListingT>(value)); return *this;}
191
193
196 inline const Aws::String& GetName() const { return m_name; }
197 template<typename NameT = Aws::String>
198 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
199 template<typename NameT = Aws::String>
200 GetAssetResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
202
204
207 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
208 template<typename OwningProjectIdT = Aws::String>
209 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
210 template<typename OwningProjectIdT = Aws::String>
211 GetAssetResult& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(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 GetAssetResult& WithReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { SetReadOnlyFormsOutput(std::forward<ReadOnlyFormsOutputT>(value)); return *this;}
223 template<typename ReadOnlyFormsOutputT = FormOutput>
224 GetAssetResult& 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 GetAssetResult& 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 GetAssetResult& 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 GetAssetResult& 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 GetAssetResult& 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::Vector<Aws::String> m_governedGlossaryTerms;
298 bool m_governedGlossaryTermsHasBeenSet = false;
299
300 Aws::String m_id;
301 bool m_idHasBeenSet = false;
302
303 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
304 bool m_latestTimeSeriesDataPointFormsOutputHasBeenSet = false;
305
306 AssetListingDetails m_listing;
307 bool m_listingHasBeenSet = false;
308
309 Aws::String m_name;
310 bool m_nameHasBeenSet = false;
311
312 Aws::String m_owningProjectId;
313 bool m_owningProjectIdHasBeenSet = 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
const Aws::String & GetRevision() const
void SetReadOnlyFormsOutput(ReadOnlyFormsOutputT &&value)
GetAssetResult & WithFirstRevisionCreatedAt(FirstRevisionCreatedAtT &&value)
const Aws::String & GetCreatedBy() const
GetAssetResult & WithId(IdT &&value)
const Aws::String & GetId() const
AWS_DATAZONE_API GetAssetResult()=default
const Aws::Utils::DateTime & GetFirstRevisionCreatedAt() const
GetAssetResult & WithFormsOutput(FormsOutputT &&value)
GetAssetResult & WithListing(ListingT &&value)
const Aws::Vector< TimeSeriesDataPointSummaryFormOutput > & GetLatestTimeSeriesDataPointFormsOutput() const
const Aws::String & GetDescription() const
void SetDomainId(DomainIdT &&value)
void SetOwningProjectId(OwningProjectIdT &&value)
GetAssetResult & WithGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
void SetGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
GetAssetResult & WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT &&value)
void SetExternalIdentifier(ExternalIdentifierT &&value)
void SetGlossaryTerms(GlossaryTermsT &&value)
void SetFormsOutput(FormsOutputT &&value)
GetAssetResult & WithTypeRevision(TypeRevisionT &&value)
GetAssetResult & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetFirstRevisionCreatedBy() const
void SetCreatedAt(CreatedAtT &&value)
GetAssetResult & WithGlossaryTerms(GlossaryTermsT &&value)
GetAssetResult & AddReadOnlyFormsOutput(ReadOnlyFormsOutputT &&value)
void SetFirstRevisionCreatedBy(FirstRevisionCreatedByT &&value)
GetAssetResult & WithFirstRevisionCreatedBy(FirstRevisionCreatedByT &&value)
const Aws::String & GetTypeIdentifier() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetExternalIdentifier() const
GetAssetResult & AddGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
AWS_DATAZONE_API GetAssetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetOwningProjectId() const
GetAssetResult & WithTypeIdentifier(TypeIdentifierT &&value)
GetAssetResult & WithName(NameT &&value)
const Aws::String & GetDomainId() const
GetAssetResult & WithDomainId(DomainIdT &&value)
GetAssetResult & WithRevision(RevisionT &&value)
GetAssetResult & WithOwningProjectId(OwningProjectIdT &&value)
AWS_DATAZONE_API GetAssetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTypeRevision(TypeRevisionT &&value)
const Aws::String & GetTypeRevision() const
GetAssetResult & AddGlossaryTerms(GlossaryTermsT &&value)
GetAssetResult & WithExternalIdentifier(ExternalIdentifierT &&value)
GetAssetResult & AddFormsOutput(FormsOutputT &&value)
const Aws::Vector< FormOutput > & GetFormsOutput() const
GetAssetResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< FormOutput > & GetReadOnlyFormsOutput() const
const AssetListingDetails & GetListing() const
const Aws::Vector< Aws::String > & GetGovernedGlossaryTerms() const
void SetFirstRevisionCreatedAt(FirstRevisionCreatedAtT &&value)
void SetCreatedBy(CreatedByT &&value)
const Aws::String & GetRequestId() const
void SetDescription(DescriptionT &&value)
GetAssetResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
const Aws::String & GetName() const
void SetRevision(RevisionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetAssetResult & AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT &&value)
GetAssetResult & WithReadOnlyFormsOutput(ReadOnlyFormsOutputT &&value)
void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT &&value)
void SetTypeIdentifier(TypeIdentifierT &&value)
GetAssetResult & WithDescription(DescriptionT &&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