AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAdditionalAttributes(const AssetListingItemAdditionalAttributes& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes = value; }
53 inline void SetAdditionalAttributes(AssetListingItemAdditionalAttributes&& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes = std::move(value); }
57
59
63 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
64 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
65 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
66 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
67 inline AssetListingItem& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
68 inline AssetListingItem& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline AssetListingItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline AssetListingItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline AssetListingItem& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::String& GetEntityId() const{ return m_entityId; }
90 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
91 inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
92 inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
93 inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
94 inline AssetListingItem& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
95 inline AssetListingItem& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
96 inline AssetListingItem& WithEntityId(const char* value) { SetEntityId(value); return *this;}
98
100
103 inline const Aws::String& GetEntityRevision() const{ return m_entityRevision; }
104 inline bool EntityRevisionHasBeenSet() const { return m_entityRevisionHasBeenSet; }
105 inline void SetEntityRevision(const Aws::String& value) { m_entityRevisionHasBeenSet = true; m_entityRevision = value; }
106 inline void SetEntityRevision(Aws::String&& value) { m_entityRevisionHasBeenSet = true; m_entityRevision = std::move(value); }
107 inline void SetEntityRevision(const char* value) { m_entityRevisionHasBeenSet = true; m_entityRevision.assign(value); }
108 inline AssetListingItem& WithEntityRevision(const Aws::String& value) { SetEntityRevision(value); return *this;}
109 inline AssetListingItem& WithEntityRevision(Aws::String&& value) { SetEntityRevision(std::move(value)); return *this;}
110 inline AssetListingItem& WithEntityRevision(const char* value) { SetEntityRevision(value); return *this;}
112
114
117 inline const Aws::String& GetEntityType() const{ return m_entityType; }
118 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
119 inline void SetEntityType(const Aws::String& value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
120 inline void SetEntityType(Aws::String&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::move(value); }
121 inline void SetEntityType(const char* value) { m_entityTypeHasBeenSet = true; m_entityType.assign(value); }
122 inline AssetListingItem& WithEntityType(const Aws::String& value) { SetEntityType(value); return *this;}
123 inline AssetListingItem& WithEntityType(Aws::String&& value) { SetEntityType(std::move(value)); return *this;}
124 inline AssetListingItem& WithEntityType(const char* value) { SetEntityType(value); return *this;}
126
128
131 inline const Aws::Vector<DetailedGlossaryTerm>& GetGlossaryTerms() const{ return m_glossaryTerms; }
132 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
133 inline void SetGlossaryTerms(const Aws::Vector<DetailedGlossaryTerm>& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = value; }
134 inline void SetGlossaryTerms(Aws::Vector<DetailedGlossaryTerm>&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::move(value); }
137 inline AssetListingItem& AddGlossaryTerms(const DetailedGlossaryTerm& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
138 inline AssetListingItem& AddGlossaryTerms(DetailedGlossaryTerm&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(std::move(value)); return *this; }
140
142
145 inline const Aws::String& GetListingCreatedBy() const{ return m_listingCreatedBy; }
146 inline bool ListingCreatedByHasBeenSet() const { return m_listingCreatedByHasBeenSet; }
147 inline void SetListingCreatedBy(const Aws::String& value) { m_listingCreatedByHasBeenSet = true; m_listingCreatedBy = value; }
148 inline void SetListingCreatedBy(Aws::String&& value) { m_listingCreatedByHasBeenSet = true; m_listingCreatedBy = std::move(value); }
149 inline void SetListingCreatedBy(const char* value) { m_listingCreatedByHasBeenSet = true; m_listingCreatedBy.assign(value); }
150 inline AssetListingItem& WithListingCreatedBy(const Aws::String& value) { SetListingCreatedBy(value); return *this;}
151 inline AssetListingItem& WithListingCreatedBy(Aws::String&& value) { SetListingCreatedBy(std::move(value)); return *this;}
152 inline AssetListingItem& WithListingCreatedBy(const char* value) { SetListingCreatedBy(value); return *this;}
154
156
160 inline const Aws::String& GetListingId() const{ return m_listingId; }
161 inline bool ListingIdHasBeenSet() const { return m_listingIdHasBeenSet; }
162 inline void SetListingId(const Aws::String& value) { m_listingIdHasBeenSet = true; m_listingId = value; }
163 inline void SetListingId(Aws::String&& value) { m_listingIdHasBeenSet = true; m_listingId = std::move(value); }
164 inline void SetListingId(const char* value) { m_listingIdHasBeenSet = true; m_listingId.assign(value); }
165 inline AssetListingItem& WithListingId(const Aws::String& value) { SetListingId(value); return *this;}
166 inline AssetListingItem& WithListingId(Aws::String&& value) { SetListingId(std::move(value)); return *this;}
167 inline AssetListingItem& WithListingId(const char* value) { SetListingId(value); return *this;}
169
171
174 inline const Aws::String& GetListingRevision() const{ return m_listingRevision; }
175 inline bool ListingRevisionHasBeenSet() const { return m_listingRevisionHasBeenSet; }
176 inline void SetListingRevision(const Aws::String& value) { m_listingRevisionHasBeenSet = true; m_listingRevision = value; }
177 inline void SetListingRevision(Aws::String&& value) { m_listingRevisionHasBeenSet = true; m_listingRevision = std::move(value); }
178 inline void SetListingRevision(const char* value) { m_listingRevisionHasBeenSet = true; m_listingRevision.assign(value); }
179 inline AssetListingItem& WithListingRevision(const Aws::String& value) { SetListingRevision(value); return *this;}
180 inline AssetListingItem& WithListingRevision(Aws::String&& value) { SetListingRevision(std::move(value)); return *this;}
181 inline AssetListingItem& WithListingRevision(const char* value) { SetListingRevision(value); return *this;}
183
185
188 inline const Aws::String& GetListingUpdatedBy() const{ return m_listingUpdatedBy; }
189 inline bool ListingUpdatedByHasBeenSet() const { return m_listingUpdatedByHasBeenSet; }
190 inline void SetListingUpdatedBy(const Aws::String& value) { m_listingUpdatedByHasBeenSet = true; m_listingUpdatedBy = value; }
191 inline void SetListingUpdatedBy(Aws::String&& value) { m_listingUpdatedByHasBeenSet = true; m_listingUpdatedBy = std::move(value); }
192 inline void SetListingUpdatedBy(const char* value) { m_listingUpdatedByHasBeenSet = true; m_listingUpdatedBy.assign(value); }
193 inline AssetListingItem& WithListingUpdatedBy(const Aws::String& value) { SetListingUpdatedBy(value); return *this;}
194 inline AssetListingItem& WithListingUpdatedBy(Aws::String&& value) { SetListingUpdatedBy(std::move(value)); return *this;}
195 inline AssetListingItem& WithListingUpdatedBy(const char* value) { SetListingUpdatedBy(value); return *this;}
197
199
202 inline const Aws::String& GetName() const{ return m_name; }
203 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
204 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
205 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
206 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
207 inline AssetListingItem& WithName(const Aws::String& value) { SetName(value); return *this;}
208 inline AssetListingItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
209 inline AssetListingItem& WithName(const char* value) { SetName(value); return *this;}
211
213
216 inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; }
217 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
218 inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = value; }
219 inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::move(value); }
220 inline void SetOwningProjectId(const char* value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId.assign(value); }
221 inline AssetListingItem& WithOwningProjectId(const Aws::String& value) { SetOwningProjectId(value); return *this;}
222 inline AssetListingItem& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;}
223 inline AssetListingItem& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;}
225 private:
226
227 AssetListingItemAdditionalAttributes m_additionalAttributes;
228 bool m_additionalAttributesHasBeenSet = false;
229
230 Aws::Utils::DateTime m_createdAt;
231 bool m_createdAtHasBeenSet = false;
232
233 Aws::String m_description;
234 bool m_descriptionHasBeenSet = false;
235
236 Aws::String m_entityId;
237 bool m_entityIdHasBeenSet = false;
238
239 Aws::String m_entityRevision;
240 bool m_entityRevisionHasBeenSet = false;
241
242 Aws::String m_entityType;
243 bool m_entityTypeHasBeenSet = false;
244
245 Aws::Vector<DetailedGlossaryTerm> m_glossaryTerms;
246 bool m_glossaryTermsHasBeenSet = false;
247
248 Aws::String m_listingCreatedBy;
249 bool m_listingCreatedByHasBeenSet = false;
250
251 Aws::String m_listingId;
252 bool m_listingIdHasBeenSet = false;
253
254 Aws::String m_listingRevision;
255 bool m_listingRevisionHasBeenSet = false;
256
257 Aws::String m_listingUpdatedBy;
258 bool m_listingUpdatedByHasBeenSet = false;
259
260 Aws::String m_name;
261 bool m_nameHasBeenSet = false;
262
263 Aws::String m_owningProjectId;
264 bool m_owningProjectIdHasBeenSet = false;
265 };
266
267} // namespace Model
268} // namespace DataZone
269} // namespace Aws
void SetListingUpdatedBy(const char *value)
void SetListingUpdatedBy(Aws::String &&value)
void SetEntityType(Aws::String &&value)
const Aws::String & GetEntityRevision() const
AssetListingItem & WithListingId(const Aws::String &value)
const Aws::String & GetEntityId() const
void SetEntityId(const Aws::String &value)
void SetListingRevision(Aws::String &&value)
AWS_DATAZONE_API AssetListingItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEntityRevision(Aws::String &&value)
AssetListingItem & WithEntityType(const char *value)
AssetListingItem & WithCreatedAt(Aws::Utils::DateTime &&value)
AssetListingItem & WithListingUpdatedBy(const char *value)
AssetListingItem & WithListingCreatedBy(Aws::String &&value)
const Aws::String & GetListingRevision() const
AssetListingItem & WithEntityId(Aws::String &&value)
AssetListingItem & WithDescription(const Aws::String &value)
AssetListingItem & AddGlossaryTerms(const DetailedGlossaryTerm &value)
void SetEntityRevision(const Aws::String &value)
AssetListingItem & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetListingCreatedBy() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetListingItem & WithListingRevision(const char *value)
void SetListingRevision(const Aws::String &value)
void SetName(const Aws::String &value)
AssetListingItem & WithListingUpdatedBy(const Aws::String &value)
void SetListingUpdatedBy(const Aws::String &value)
void SetGlossaryTerms(const Aws::Vector< DetailedGlossaryTerm > &value)
void SetListingCreatedBy(const Aws::String &value)
AssetListingItem & WithOwningProjectId(const char *value)
AssetListingItem & WithDescription(const char *value)
void SetEntityType(const Aws::String &value)
AssetListingItem & WithListingId(const char *value)
void SetListingCreatedBy(const char *value)
AssetListingItem & WithName(Aws::String &&value)
const Aws::String & GetName() const
AssetListingItem & WithEntityRevision(Aws::String &&value)
void SetDescription(Aws::String &&value)
AssetListingItem & WithEntityRevision(const Aws::String &value)
AssetListingItem & WithEntityType(Aws::String &&value)
const Aws::String & GetOwningProjectId() const
AssetListingItem & WithListingCreatedBy(const char *value)
AssetListingItem & WithListingRevision(Aws::String &&value)
AssetListingItem & WithEntityId(const Aws::String &value)
void SetAdditionalAttributes(AssetListingItemAdditionalAttributes &&value)
AssetListingItem & WithAdditionalAttributes(const AssetListingItemAdditionalAttributes &value)
const Aws::Vector< DetailedGlossaryTerm > & GetGlossaryTerms() const
void SetDescription(const Aws::String &value)
AssetListingItem & WithListingRevision(const Aws::String &value)
const Aws::String & GetListingId() const
const Aws::String & GetDescription() const
void SetAdditionalAttributes(const AssetListingItemAdditionalAttributes &value)
void SetListingCreatedBy(Aws::String &&value)
AssetListingItem & WithName(const Aws::String &value)
const AssetListingItemAdditionalAttributes & GetAdditionalAttributes() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
AssetListingItem & WithEntityRevision(const char *value)
void SetOwningProjectId(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetListingId(const Aws::String &value)
AssetListingItem & AddGlossaryTerms(DetailedGlossaryTerm &&value)
AssetListingItem & WithGlossaryTerms(const Aws::Vector< DetailedGlossaryTerm > &value)
void SetOwningProjectId(Aws::String &&value)
void SetEntityId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AssetListingItem & WithName(const char *value)
AssetListingItem & WithListingCreatedBy(const Aws::String &value)
AWS_DATAZONE_API AssetListingItem(Aws::Utils::Json::JsonView jsonValue)
AssetListingItem & WithEntityId(const char *value)
const Aws::String & GetListingUpdatedBy() const
AssetListingItem & WithGlossaryTerms(Aws::Vector< DetailedGlossaryTerm > &&value)
AssetListingItem & WithListingId(Aws::String &&value)
AssetListingItem & WithEntityType(const Aws::String &value)
void SetGlossaryTerms(Aws::Vector< DetailedGlossaryTerm > &&value)
AssetListingItem & WithAdditionalAttributes(AssetListingItemAdditionalAttributes &&value)
const Aws::String & GetEntityType() const
AssetListingItem & WithOwningProjectId(const Aws::String &value)
AssetListingItem & WithListingUpdatedBy(Aws::String &&value)
AssetListingItem & WithDescription(Aws::String &&value)
AssetListingItem & WithOwningProjectId(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