AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
AssetListingItem.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/AssetListingItemAdditionalAttributes.h>
12#include <aws/datazone/model/DetailedGlossaryTerm.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataZone {
24namespace Model {
25
33 public:
34 AWS_DATAZONE_API AssetListingItem() = default;
35 AWS_DATAZONE_API AssetListingItem(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::String& GetListingId() const { return m_listingId; }
45 inline bool ListingIdHasBeenSet() const { return m_listingIdHasBeenSet; }
46 template <typename ListingIdT = Aws::String>
47 void SetListingId(ListingIdT&& value) {
48 m_listingIdHasBeenSet = true;
49 m_listingId = std::forward<ListingIdT>(value);
50 }
51 template <typename ListingIdT = Aws::String>
52 AssetListingItem& WithListingId(ListingIdT&& value) {
53 SetListingId(std::forward<ListingIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetListingRevision() const { return m_listingRevision; }
63 inline bool ListingRevisionHasBeenSet() const { return m_listingRevisionHasBeenSet; }
64 template <typename ListingRevisionT = Aws::String>
65 void SetListingRevision(ListingRevisionT&& value) {
66 m_listingRevisionHasBeenSet = true;
67 m_listingRevision = std::forward<ListingRevisionT>(value);
68 }
69 template <typename ListingRevisionT = Aws::String>
70 AssetListingItem& WithListingRevision(ListingRevisionT&& value) {
71 SetListingRevision(std::forward<ListingRevisionT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetName() const { return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 template <typename NameT = Aws::String>
83 void SetName(NameT&& value) {
84 m_nameHasBeenSet = true;
85 m_name = std::forward<NameT>(value);
86 }
87 template <typename NameT = Aws::String>
88 AssetListingItem& WithName(NameT&& value) {
89 SetName(std::forward<NameT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetEntityId() const { return m_entityId; }
99 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
100 template <typename EntityIdT = Aws::String>
101 void SetEntityId(EntityIdT&& value) {
102 m_entityIdHasBeenSet = true;
103 m_entityId = std::forward<EntityIdT>(value);
104 }
105 template <typename EntityIdT = Aws::String>
106 AssetListingItem& WithEntityId(EntityIdT&& value) {
107 SetEntityId(std::forward<EntityIdT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetEntityRevision() const { return m_entityRevision; }
117 inline bool EntityRevisionHasBeenSet() const { return m_entityRevisionHasBeenSet; }
118 template <typename EntityRevisionT = Aws::String>
119 void SetEntityRevision(EntityRevisionT&& value) {
120 m_entityRevisionHasBeenSet = true;
121 m_entityRevision = std::forward<EntityRevisionT>(value);
122 }
123 template <typename EntityRevisionT = Aws::String>
124 AssetListingItem& WithEntityRevision(EntityRevisionT&& value) {
125 SetEntityRevision(std::forward<EntityRevisionT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::String& GetEntityType() const { return m_entityType; }
135 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
136 template <typename EntityTypeT = Aws::String>
137 void SetEntityType(EntityTypeT&& value) {
138 m_entityTypeHasBeenSet = true;
139 m_entityType = std::forward<EntityTypeT>(value);
140 }
141 template <typename EntityTypeT = Aws::String>
142 AssetListingItem& WithEntityType(EntityTypeT&& value) {
143 SetEntityType(std::forward<EntityTypeT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetDescription() const { return m_description; }
153 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
154 template <typename DescriptionT = Aws::String>
155 void SetDescription(DescriptionT&& value) {
156 m_descriptionHasBeenSet = true;
157 m_description = std::forward<DescriptionT>(value);
158 }
159 template <typename DescriptionT = Aws::String>
160 AssetListingItem& WithDescription(DescriptionT&& value) {
161 SetDescription(std::forward<DescriptionT>(value));
162 return *this;
163 }
165
167
171 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
172 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
173 template <typename CreatedAtT = Aws::Utils::DateTime>
174 void SetCreatedAt(CreatedAtT&& value) {
175 m_createdAtHasBeenSet = true;
176 m_createdAt = std::forward<CreatedAtT>(value);
177 }
178 template <typename CreatedAtT = Aws::Utils::DateTime>
179 AssetListingItem& WithCreatedAt(CreatedAtT&& value) {
180 SetCreatedAt(std::forward<CreatedAtT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::String& GetListingCreatedBy() const { return m_listingCreatedBy; }
190 inline bool ListingCreatedByHasBeenSet() const { return m_listingCreatedByHasBeenSet; }
191 template <typename ListingCreatedByT = Aws::String>
192 void SetListingCreatedBy(ListingCreatedByT&& value) {
193 m_listingCreatedByHasBeenSet = true;
194 m_listingCreatedBy = std::forward<ListingCreatedByT>(value);
195 }
196 template <typename ListingCreatedByT = Aws::String>
197 AssetListingItem& WithListingCreatedBy(ListingCreatedByT&& value) {
198 SetListingCreatedBy(std::forward<ListingCreatedByT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::String& GetListingUpdatedBy() const { return m_listingUpdatedBy; }
208 inline bool ListingUpdatedByHasBeenSet() const { return m_listingUpdatedByHasBeenSet; }
209 template <typename ListingUpdatedByT = Aws::String>
210 void SetListingUpdatedBy(ListingUpdatedByT&& value) {
211 m_listingUpdatedByHasBeenSet = true;
212 m_listingUpdatedBy = std::forward<ListingUpdatedByT>(value);
213 }
214 template <typename ListingUpdatedByT = Aws::String>
215 AssetListingItem& WithListingUpdatedBy(ListingUpdatedByT&& value) {
216 SetListingUpdatedBy(std::forward<ListingUpdatedByT>(value));
217 return *this;
218 }
220
222
225 inline const Aws::Vector<DetailedGlossaryTerm>& GetGlossaryTerms() const { return m_glossaryTerms; }
226 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
227 template <typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
228 void SetGlossaryTerms(GlossaryTermsT&& value) {
229 m_glossaryTermsHasBeenSet = true;
230 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
231 }
232 template <typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
233 AssetListingItem& WithGlossaryTerms(GlossaryTermsT&& value) {
234 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
235 return *this;
236 }
237 template <typename GlossaryTermsT = DetailedGlossaryTerm>
238 AssetListingItem& AddGlossaryTerms(GlossaryTermsT&& value) {
239 m_glossaryTermsHasBeenSet = true;
240 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
241 return *this;
242 }
244
246
249 inline const Aws::Vector<DetailedGlossaryTerm>& GetGovernedGlossaryTerms() const { return m_governedGlossaryTerms; }
250 inline bool GovernedGlossaryTermsHasBeenSet() const { return m_governedGlossaryTermsHasBeenSet; }
251 template <typename GovernedGlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
252 void SetGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
253 m_governedGlossaryTermsHasBeenSet = true;
254 m_governedGlossaryTerms = std::forward<GovernedGlossaryTermsT>(value);
255 }
256 template <typename GovernedGlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
257 AssetListingItem& WithGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
258 SetGovernedGlossaryTerms(std::forward<GovernedGlossaryTermsT>(value));
259 return *this;
260 }
261 template <typename GovernedGlossaryTermsT = DetailedGlossaryTerm>
262 AssetListingItem& AddGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
263 m_governedGlossaryTermsHasBeenSet = true;
264 m_governedGlossaryTerms.emplace_back(std::forward<GovernedGlossaryTermsT>(value));
265 return *this;
266 }
268
270
273 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
274 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
275 template <typename OwningProjectIdT = Aws::String>
276 void SetOwningProjectId(OwningProjectIdT&& value) {
277 m_owningProjectIdHasBeenSet = true;
278 m_owningProjectId = std::forward<OwningProjectIdT>(value);
279 }
280 template <typename OwningProjectIdT = Aws::String>
281 AssetListingItem& WithOwningProjectId(OwningProjectIdT&& value) {
282 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
283 return *this;
284 }
286
288
292 inline const AssetListingItemAdditionalAttributes& GetAdditionalAttributes() const { return m_additionalAttributes; }
293 inline bool AdditionalAttributesHasBeenSet() const { return m_additionalAttributesHasBeenSet; }
294 template <typename AdditionalAttributesT = AssetListingItemAdditionalAttributes>
295 void SetAdditionalAttributes(AdditionalAttributesT&& value) {
296 m_additionalAttributesHasBeenSet = true;
297 m_additionalAttributes = std::forward<AdditionalAttributesT>(value);
298 }
299 template <typename AdditionalAttributesT = AssetListingItemAdditionalAttributes>
300 AssetListingItem& WithAdditionalAttributes(AdditionalAttributesT&& value) {
301 SetAdditionalAttributes(std::forward<AdditionalAttributesT>(value));
302 return *this;
303 }
305 private:
306 Aws::String m_listingId;
307
308 Aws::String m_listingRevision;
309
310 Aws::String m_name;
311
312 Aws::String m_entityId;
313
314 Aws::String m_entityRevision;
315
316 Aws::String m_entityType;
317
318 Aws::String m_description;
319
320 Aws::Utils::DateTime m_createdAt{};
321
322 Aws::String m_listingCreatedBy;
323
324 Aws::String m_listingUpdatedBy;
325
326 Aws::Vector<DetailedGlossaryTerm> m_glossaryTerms;
327
328 Aws::Vector<DetailedGlossaryTerm> m_governedGlossaryTerms;
329
330 Aws::String m_owningProjectId;
331
332 AssetListingItemAdditionalAttributes m_additionalAttributes;
333 bool m_listingIdHasBeenSet = false;
334 bool m_listingRevisionHasBeenSet = false;
335 bool m_nameHasBeenSet = false;
336 bool m_entityIdHasBeenSet = false;
337 bool m_entityRevisionHasBeenSet = false;
338 bool m_entityTypeHasBeenSet = false;
339 bool m_descriptionHasBeenSet = false;
340 bool m_createdAtHasBeenSet = false;
341 bool m_listingCreatedByHasBeenSet = false;
342 bool m_listingUpdatedByHasBeenSet = false;
343 bool m_glossaryTermsHasBeenSet = false;
344 bool m_governedGlossaryTermsHasBeenSet = false;
345 bool m_owningProjectIdHasBeenSet = false;
346 bool m_additionalAttributesHasBeenSet = false;
347};
348
349} // namespace Model
350} // namespace DataZone
351} // namespace Aws
void SetAdditionalAttributes(AdditionalAttributesT &&value)
const Aws::String & GetEntityRevision() const
AssetListingItem & WithEntityId(EntityIdT &&value)
const Aws::String & GetEntityId() const
AWS_DATAZONE_API AssetListingItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetListingItem & WithListingId(ListingIdT &&value)
void SetGlossaryTerms(GlossaryTermsT &&value)
const Aws::String & GetListingRevision() const
AssetListingItem & WithListingUpdatedBy(ListingUpdatedByT &&value)
AssetListingItem & WithGlossaryTerms(GlossaryTermsT &&value)
const Aws::String & GetListingCreatedBy() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetListingRevision(ListingRevisionT &&value)
AssetListingItem & WithAdditionalAttributes(AdditionalAttributesT &&value)
void SetEntityType(EntityTypeT &&value)
AssetListingItem & AddGlossaryTerms(GlossaryTermsT &&value)
const Aws::String & GetName() const
AssetListingItem & WithDescription(DescriptionT &&value)
void SetOwningProjectId(OwningProjectIdT &&value)
AssetListingItem & WithEntityType(EntityTypeT &&value)
const Aws::String & GetOwningProjectId() const
AssetListingItem & WithOwningProjectId(OwningProjectIdT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< DetailedGlossaryTerm > & GetGlossaryTerms() const
void SetGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
AssetListingItem & WithGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
AssetListingItem & WithName(NameT &&value)
AssetListingItem & AddGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
void SetListingUpdatedBy(ListingUpdatedByT &&value)
AWS_DATAZONE_API AssetListingItem()=default
void SetEntityRevision(EntityRevisionT &&value)
const Aws::String & GetListingId() const
const Aws::String & GetDescription() const
AssetListingItem & WithListingRevision(ListingRevisionT &&value)
const AssetListingItemAdditionalAttributes & GetAdditionalAttributes() const
AssetListingItem & WithCreatedAt(CreatedAtT &&value)
AssetListingItem & WithListingCreatedBy(ListingCreatedByT &&value)
void SetListingCreatedBy(ListingCreatedByT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_DATAZONE_API AssetListingItem(Aws::Utils::Json::JsonView jsonValue)
AssetListingItem & WithEntityRevision(EntityRevisionT &&value)
const Aws::String & GetListingUpdatedBy() const
const Aws::Vector< DetailedGlossaryTerm > & GetGovernedGlossaryTerms() const
const Aws::String & GetEntityType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue