AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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::String& GetId() const { return m_id; }
148 template<typename IdT = Aws::String>
149 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
150 template<typename IdT = Aws::String>
151 GetAssetResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
153
155
159 inline const Aws::Vector<TimeSeriesDataPointSummaryFormOutput>& GetLatestTimeSeriesDataPointFormsOutput() const { return m_latestTimeSeriesDataPointFormsOutput; }
160 template<typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
161 void SetLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true; m_latestTimeSeriesDataPointFormsOutput = std::forward<LatestTimeSeriesDataPointFormsOutputT>(value); }
162 template<typename LatestTimeSeriesDataPointFormsOutputT = Aws::Vector<TimeSeriesDataPointSummaryFormOutput>>
163 GetAssetResult& WithLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { SetLatestTimeSeriesDataPointFormsOutput(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value)); return *this;}
164 template<typename LatestTimeSeriesDataPointFormsOutputT = TimeSeriesDataPointSummaryFormOutput>
165 GetAssetResult& AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true; m_latestTimeSeriesDataPointFormsOutput.emplace_back(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value)); return *this; }
167
169
172 inline const AssetListingDetails& GetListing() const { return m_listing; }
173 template<typename ListingT = AssetListingDetails>
174 void SetListing(ListingT&& value) { m_listingHasBeenSet = true; m_listing = std::forward<ListingT>(value); }
175 template<typename ListingT = AssetListingDetails>
176 GetAssetResult& WithListing(ListingT&& value) { SetListing(std::forward<ListingT>(value)); return *this;}
178
180
183 inline const Aws::String& GetName() const { return m_name; }
184 template<typename NameT = Aws::String>
185 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
186 template<typename NameT = Aws::String>
187 GetAssetResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
189
191
194 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
195 template<typename OwningProjectIdT = Aws::String>
196 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
197 template<typename OwningProjectIdT = Aws::String>
198 GetAssetResult& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
200
202
205 inline const Aws::Vector<FormOutput>& GetReadOnlyFormsOutput() const { return m_readOnlyFormsOutput; }
206 template<typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
207 void SetReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { m_readOnlyFormsOutputHasBeenSet = true; m_readOnlyFormsOutput = std::forward<ReadOnlyFormsOutputT>(value); }
208 template<typename ReadOnlyFormsOutputT = Aws::Vector<FormOutput>>
209 GetAssetResult& WithReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { SetReadOnlyFormsOutput(std::forward<ReadOnlyFormsOutputT>(value)); return *this;}
210 template<typename ReadOnlyFormsOutputT = FormOutput>
211 GetAssetResult& AddReadOnlyFormsOutput(ReadOnlyFormsOutputT&& value) { m_readOnlyFormsOutputHasBeenSet = true; m_readOnlyFormsOutput.emplace_back(std::forward<ReadOnlyFormsOutputT>(value)); return *this; }
213
215
218 inline const Aws::String& GetRevision() const { return m_revision; }
219 template<typename RevisionT = Aws::String>
220 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet = true; m_revision = std::forward<RevisionT>(value); }
221 template<typename RevisionT = Aws::String>
222 GetAssetResult& WithRevision(RevisionT&& value) { SetRevision(std::forward<RevisionT>(value)); return *this;}
224
226
229 inline const Aws::String& GetTypeIdentifier() const { return m_typeIdentifier; }
230 template<typename TypeIdentifierT = Aws::String>
231 void SetTypeIdentifier(TypeIdentifierT&& value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier = std::forward<TypeIdentifierT>(value); }
232 template<typename TypeIdentifierT = Aws::String>
233 GetAssetResult& WithTypeIdentifier(TypeIdentifierT&& value) { SetTypeIdentifier(std::forward<TypeIdentifierT>(value)); return *this;}
235
237
240 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
241 template<typename TypeRevisionT = Aws::String>
242 void SetTypeRevision(TypeRevisionT&& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = std::forward<TypeRevisionT>(value); }
243 template<typename TypeRevisionT = Aws::String>
244 GetAssetResult& WithTypeRevision(TypeRevisionT&& value) { SetTypeRevision(std::forward<TypeRevisionT>(value)); return *this;}
246
248
249 inline const Aws::String& GetRequestId() const { return m_requestId; }
250 template<typename RequestIdT = Aws::String>
251 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
252 template<typename RequestIdT = Aws::String>
253 GetAssetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
255 private:
256
257 Aws::Utils::DateTime m_createdAt{};
258 bool m_createdAtHasBeenSet = false;
259
260 Aws::String m_createdBy;
261 bool m_createdByHasBeenSet = false;
262
263 Aws::String m_description;
264 bool m_descriptionHasBeenSet = false;
265
266 Aws::String m_domainId;
267 bool m_domainIdHasBeenSet = false;
268
269 Aws::String m_externalIdentifier;
270 bool m_externalIdentifierHasBeenSet = false;
271
272 Aws::Utils::DateTime m_firstRevisionCreatedAt{};
273 bool m_firstRevisionCreatedAtHasBeenSet = false;
274
275 Aws::String m_firstRevisionCreatedBy;
276 bool m_firstRevisionCreatedByHasBeenSet = false;
277
278 Aws::Vector<FormOutput> m_formsOutput;
279 bool m_formsOutputHasBeenSet = false;
280
281 Aws::Vector<Aws::String> m_glossaryTerms;
282 bool m_glossaryTermsHasBeenSet = false;
283
284 Aws::String m_id;
285 bool m_idHasBeenSet = false;
286
287 Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
288 bool m_latestTimeSeriesDataPointFormsOutputHasBeenSet = false;
289
290 AssetListingDetails m_listing;
291 bool m_listingHasBeenSet = false;
292
293 Aws::String m_name;
294 bool m_nameHasBeenSet = false;
295
296 Aws::String m_owningProjectId;
297 bool m_owningProjectIdHasBeenSet = false;
298
299 Aws::Vector<FormOutput> m_readOnlyFormsOutput;
300 bool m_readOnlyFormsOutputHasBeenSet = false;
301
302 Aws::String m_revision;
303 bool m_revisionHasBeenSet = false;
304
305 Aws::String m_typeIdentifier;
306 bool m_typeIdentifierHasBeenSet = false;
307
308 Aws::String m_typeRevision;
309 bool m_typeRevisionHasBeenSet = false;
310
311 Aws::String m_requestId;
312 bool m_requestIdHasBeenSet = false;
313 };
314
315} // namespace Model
316} // namespace DataZone
317} // 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 & 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
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
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