AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AssetListingItem.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/AssetListingItemAdditionalAttributes.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datazone/model/DetailedGlossaryTerm.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DataZone
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_DATAZONE_API AssetListingItem() = default;
40 AWS_DATAZONE_API AssetListingItem(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const AssetListingItemAdditionalAttributes& GetAdditionalAttributes() const { return m_additionalAttributes; }
51 inline bool AdditionalAttributesHasBeenSet() const { return m_additionalAttributesHasBeenSet; }
52 template<typename AdditionalAttributesT = AssetListingItemAdditionalAttributes>
53 void SetAdditionalAttributes(AdditionalAttributesT&& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes = std::forward<AdditionalAttributesT>(value); }
54 template<typename AdditionalAttributesT = AssetListingItemAdditionalAttributes>
55 AssetListingItem& WithAdditionalAttributes(AdditionalAttributesT&& value) { SetAdditionalAttributes(std::forward<AdditionalAttributesT>(value)); return *this;}
57
59
63 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
64 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
65 template<typename CreatedAtT = Aws::Utils::DateTime>
66 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
67 template<typename CreatedAtT = Aws::Utils::DateTime>
68 AssetListingItem& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template<typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
79 template<typename DescriptionT = Aws::String>
80 AssetListingItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
82
84
87 inline const Aws::String& GetEntityId() const { return m_entityId; }
88 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
89 template<typename EntityIdT = Aws::String>
90 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
91 template<typename EntityIdT = Aws::String>
92 AssetListingItem& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
94
96
99 inline const Aws::String& GetEntityRevision() const { return m_entityRevision; }
100 inline bool EntityRevisionHasBeenSet() const { return m_entityRevisionHasBeenSet; }
101 template<typename EntityRevisionT = Aws::String>
102 void SetEntityRevision(EntityRevisionT&& value) { m_entityRevisionHasBeenSet = true; m_entityRevision = std::forward<EntityRevisionT>(value); }
103 template<typename EntityRevisionT = Aws::String>
104 AssetListingItem& WithEntityRevision(EntityRevisionT&& value) { SetEntityRevision(std::forward<EntityRevisionT>(value)); return *this;}
106
108
111 inline const Aws::String& GetEntityType() const { return m_entityType; }
112 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
113 template<typename EntityTypeT = Aws::String>
114 void SetEntityType(EntityTypeT&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::forward<EntityTypeT>(value); }
115 template<typename EntityTypeT = Aws::String>
116 AssetListingItem& WithEntityType(EntityTypeT&& value) { SetEntityType(std::forward<EntityTypeT>(value)); return *this;}
118
120
123 inline const Aws::Vector<DetailedGlossaryTerm>& GetGlossaryTerms() const { return m_glossaryTerms; }
124 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
125 template<typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
126 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
127 template<typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
128 AssetListingItem& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
129 template<typename GlossaryTermsT = DetailedGlossaryTerm>
130 AssetListingItem& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
132
134
137 inline const Aws::String& GetListingCreatedBy() const { return m_listingCreatedBy; }
138 inline bool ListingCreatedByHasBeenSet() const { return m_listingCreatedByHasBeenSet; }
139 template<typename ListingCreatedByT = Aws::String>
140 void SetListingCreatedBy(ListingCreatedByT&& value) { m_listingCreatedByHasBeenSet = true; m_listingCreatedBy = std::forward<ListingCreatedByT>(value); }
141 template<typename ListingCreatedByT = Aws::String>
142 AssetListingItem& WithListingCreatedBy(ListingCreatedByT&& value) { SetListingCreatedBy(std::forward<ListingCreatedByT>(value)); return *this;}
144
146
150 inline const Aws::String& GetListingId() const { return m_listingId; }
151 inline bool ListingIdHasBeenSet() const { return m_listingIdHasBeenSet; }
152 template<typename ListingIdT = Aws::String>
153 void SetListingId(ListingIdT&& value) { m_listingIdHasBeenSet = true; m_listingId = std::forward<ListingIdT>(value); }
154 template<typename ListingIdT = Aws::String>
155 AssetListingItem& WithListingId(ListingIdT&& value) { SetListingId(std::forward<ListingIdT>(value)); return *this;}
157
159
162 inline const Aws::String& GetListingRevision() const { return m_listingRevision; }
163 inline bool ListingRevisionHasBeenSet() const { return m_listingRevisionHasBeenSet; }
164 template<typename ListingRevisionT = Aws::String>
165 void SetListingRevision(ListingRevisionT&& value) { m_listingRevisionHasBeenSet = true; m_listingRevision = std::forward<ListingRevisionT>(value); }
166 template<typename ListingRevisionT = Aws::String>
167 AssetListingItem& WithListingRevision(ListingRevisionT&& value) { SetListingRevision(std::forward<ListingRevisionT>(value)); return *this;}
169
171
174 inline const Aws::String& GetListingUpdatedBy() const { return m_listingUpdatedBy; }
175 inline bool ListingUpdatedByHasBeenSet() const { return m_listingUpdatedByHasBeenSet; }
176 template<typename ListingUpdatedByT = Aws::String>
177 void SetListingUpdatedBy(ListingUpdatedByT&& value) { m_listingUpdatedByHasBeenSet = true; m_listingUpdatedBy = std::forward<ListingUpdatedByT>(value); }
178 template<typename ListingUpdatedByT = Aws::String>
179 AssetListingItem& WithListingUpdatedBy(ListingUpdatedByT&& value) { SetListingUpdatedBy(std::forward<ListingUpdatedByT>(value)); return *this;}
181
183
186 inline const Aws::String& GetName() const { return m_name; }
187 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
188 template<typename NameT = Aws::String>
189 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
190 template<typename NameT = Aws::String>
191 AssetListingItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
193
195
198 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
199 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
200 template<typename OwningProjectIdT = Aws::String>
201 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
202 template<typename OwningProjectIdT = Aws::String>
203 AssetListingItem& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
205 private:
206
207 AssetListingItemAdditionalAttributes m_additionalAttributes;
208 bool m_additionalAttributesHasBeenSet = false;
209
210 Aws::Utils::DateTime m_createdAt{};
211 bool m_createdAtHasBeenSet = false;
212
213 Aws::String m_description;
214 bool m_descriptionHasBeenSet = false;
215
216 Aws::String m_entityId;
217 bool m_entityIdHasBeenSet = false;
218
219 Aws::String m_entityRevision;
220 bool m_entityRevisionHasBeenSet = false;
221
222 Aws::String m_entityType;
223 bool m_entityTypeHasBeenSet = false;
224
225 Aws::Vector<DetailedGlossaryTerm> m_glossaryTerms;
226 bool m_glossaryTermsHasBeenSet = false;
227
228 Aws::String m_listingCreatedBy;
229 bool m_listingCreatedByHasBeenSet = false;
230
231 Aws::String m_listingId;
232 bool m_listingIdHasBeenSet = false;
233
234 Aws::String m_listingRevision;
235 bool m_listingRevisionHasBeenSet = false;
236
237 Aws::String m_listingUpdatedBy;
238 bool m_listingUpdatedByHasBeenSet = false;
239
240 Aws::String m_name;
241 bool m_nameHasBeenSet = false;
242
243 Aws::String m_owningProjectId;
244 bool m_owningProjectIdHasBeenSet = false;
245 };
246
247} // namespace Model
248} // namespace DataZone
249} // 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
AssetListingItem & WithName(NameT &&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::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