AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetItem.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/AssetItemAdditionalAttributes.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 <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataZone
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DATAZONE_API AssetItem();
38 AWS_DATAZONE_API AssetItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAZONE_API AssetItem& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const AssetItemAdditionalAttributes& GetAdditionalAttributes() const{ return m_additionalAttributes; }
48 inline bool AdditionalAttributesHasBeenSet() const { return m_additionalAttributesHasBeenSet; }
49 inline void SetAdditionalAttributes(const AssetItemAdditionalAttributes& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes = value; }
50 inline void SetAdditionalAttributes(AssetItemAdditionalAttributes&& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes = std::move(value); }
54
56
59 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
60 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
61 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
62 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
63 inline AssetItem& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
64 inline AssetItem& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
72 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
73 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
74 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
75 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
76 inline AssetItem& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
77 inline AssetItem& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
78 inline AssetItem& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
80
82
85 inline const Aws::String& GetDescription() const{ return m_description; }
86 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
87 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
88 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
89 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
90 inline AssetItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
91 inline AssetItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
92 inline AssetItem& WithDescription(const char* value) { SetDescription(value); return *this;}
94
96
100 inline const Aws::String& GetDomainId() const{ return m_domainId; }
101 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
102 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
103 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
104 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
105 inline AssetItem& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
106 inline AssetItem& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
107 inline AssetItem& WithDomainId(const char* value) { SetDomainId(value); return *this;}
109
111
114 inline const Aws::String& GetExternalIdentifier() const{ return m_externalIdentifier; }
115 inline bool ExternalIdentifierHasBeenSet() const { return m_externalIdentifierHasBeenSet; }
116 inline void SetExternalIdentifier(const Aws::String& value) { m_externalIdentifierHasBeenSet = true; m_externalIdentifier = value; }
117 inline void SetExternalIdentifier(Aws::String&& value) { m_externalIdentifierHasBeenSet = true; m_externalIdentifier = std::move(value); }
118 inline void SetExternalIdentifier(const char* value) { m_externalIdentifierHasBeenSet = true; m_externalIdentifier.assign(value); }
119 inline AssetItem& WithExternalIdentifier(const Aws::String& value) { SetExternalIdentifier(value); return *this;}
120 inline AssetItem& WithExternalIdentifier(Aws::String&& value) { SetExternalIdentifier(std::move(value)); return *this;}
121 inline AssetItem& WithExternalIdentifier(const char* value) { SetExternalIdentifier(value); return *this;}
123
125
129 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const{ return m_firstRevisionCreatedAt; }
130 inline bool FirstRevisionCreatedAtHasBeenSet() const { return m_firstRevisionCreatedAtHasBeenSet; }
131 inline void SetFirstRevisionCreatedAt(const Aws::Utils::DateTime& value) { m_firstRevisionCreatedAtHasBeenSet = true; m_firstRevisionCreatedAt = value; }
132 inline void SetFirstRevisionCreatedAt(Aws::Utils::DateTime&& value) { m_firstRevisionCreatedAtHasBeenSet = true; m_firstRevisionCreatedAt = std::move(value); }
134 inline AssetItem& WithFirstRevisionCreatedAt(Aws::Utils::DateTime&& value) { SetFirstRevisionCreatedAt(std::move(value)); return *this;}
136
138
142 inline const Aws::String& GetFirstRevisionCreatedBy() const{ return m_firstRevisionCreatedBy; }
143 inline bool FirstRevisionCreatedByHasBeenSet() const { return m_firstRevisionCreatedByHasBeenSet; }
144 inline void SetFirstRevisionCreatedBy(const Aws::String& value) { m_firstRevisionCreatedByHasBeenSet = true; m_firstRevisionCreatedBy = value; }
145 inline void SetFirstRevisionCreatedBy(Aws::String&& value) { m_firstRevisionCreatedByHasBeenSet = true; m_firstRevisionCreatedBy = std::move(value); }
146 inline void SetFirstRevisionCreatedBy(const char* value) { m_firstRevisionCreatedByHasBeenSet = true; m_firstRevisionCreatedBy.assign(value); }
147 inline AssetItem& WithFirstRevisionCreatedBy(const Aws::String& value) { SetFirstRevisionCreatedBy(value); return *this;}
148 inline AssetItem& WithFirstRevisionCreatedBy(Aws::String&& value) { SetFirstRevisionCreatedBy(std::move(value)); return *this;}
149 inline AssetItem& WithFirstRevisionCreatedBy(const char* value) { SetFirstRevisionCreatedBy(value); return *this;}
151
153
156 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
157 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
158 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = value; }
159 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::move(value); }
160 inline AssetItem& WithGlossaryTerms(const Aws::Vector<Aws::String>& value) { SetGlossaryTerms(value); return *this;}
161 inline AssetItem& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
162 inline AssetItem& AddGlossaryTerms(const Aws::String& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
163 inline AssetItem& AddGlossaryTerms(Aws::String&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(std::move(value)); return *this; }
164 inline AssetItem& AddGlossaryTerms(const char* value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
166
168
171 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
172 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
173 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
174 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
175 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
176 inline AssetItem& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
177 inline AssetItem& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
178 inline AssetItem& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
180
182
185 inline const Aws::String& GetName() const{ return m_name; }
186 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
187 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
188 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
189 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
190 inline AssetItem& WithName(const Aws::String& value) { SetName(value); return *this;}
191 inline AssetItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
192 inline AssetItem& WithName(const char* value) { SetName(value); return *this;}
194
196
200 inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; }
201 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
202 inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = value; }
203 inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::move(value); }
204 inline void SetOwningProjectId(const char* value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId.assign(value); }
205 inline AssetItem& WithOwningProjectId(const Aws::String& value) { SetOwningProjectId(value); return *this;}
206 inline AssetItem& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;}
207 inline AssetItem& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;}
209
211
215 inline const Aws::String& GetTypeIdentifier() const{ return m_typeIdentifier; }
216 inline bool TypeIdentifierHasBeenSet() const { return m_typeIdentifierHasBeenSet; }
217 inline void SetTypeIdentifier(const Aws::String& value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier = value; }
218 inline void SetTypeIdentifier(Aws::String&& value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier = std::move(value); }
219 inline void SetTypeIdentifier(const char* value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier.assign(value); }
220 inline AssetItem& WithTypeIdentifier(const Aws::String& value) { SetTypeIdentifier(value); return *this;}
221 inline AssetItem& WithTypeIdentifier(Aws::String&& value) { SetTypeIdentifier(std::move(value)); return *this;}
222 inline AssetItem& WithTypeIdentifier(const char* value) { SetTypeIdentifier(value); return *this;}
224
226
229 inline const Aws::String& GetTypeRevision() const{ return m_typeRevision; }
230 inline bool TypeRevisionHasBeenSet() const { return m_typeRevisionHasBeenSet; }
231 inline void SetTypeRevision(const Aws::String& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = value; }
232 inline void SetTypeRevision(Aws::String&& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = std::move(value); }
233 inline void SetTypeRevision(const char* value) { m_typeRevisionHasBeenSet = true; m_typeRevision.assign(value); }
234 inline AssetItem& WithTypeRevision(const Aws::String& value) { SetTypeRevision(value); return *this;}
235 inline AssetItem& WithTypeRevision(Aws::String&& value) { SetTypeRevision(std::move(value)); return *this;}
236 inline AssetItem& WithTypeRevision(const char* value) { SetTypeRevision(value); return *this;}
238 private:
239
240 AssetItemAdditionalAttributes m_additionalAttributes;
241 bool m_additionalAttributesHasBeenSet = false;
242
243 Aws::Utils::DateTime m_createdAt;
244 bool m_createdAtHasBeenSet = false;
245
246 Aws::String m_createdBy;
247 bool m_createdByHasBeenSet = false;
248
249 Aws::String m_description;
250 bool m_descriptionHasBeenSet = false;
251
252 Aws::String m_domainId;
253 bool m_domainIdHasBeenSet = false;
254
255 Aws::String m_externalIdentifier;
256 bool m_externalIdentifierHasBeenSet = false;
257
258 Aws::Utils::DateTime m_firstRevisionCreatedAt;
259 bool m_firstRevisionCreatedAtHasBeenSet = false;
260
261 Aws::String m_firstRevisionCreatedBy;
262 bool m_firstRevisionCreatedByHasBeenSet = false;
263
264 Aws::Vector<Aws::String> m_glossaryTerms;
265 bool m_glossaryTermsHasBeenSet = false;
266
267 Aws::String m_identifier;
268 bool m_identifierHasBeenSet = false;
269
270 Aws::String m_name;
271 bool m_nameHasBeenSet = false;
272
273 Aws::String m_owningProjectId;
274 bool m_owningProjectIdHasBeenSet = false;
275
276 Aws::String m_typeIdentifier;
277 bool m_typeIdentifierHasBeenSet = false;
278
279 Aws::String m_typeRevision;
280 bool m_typeRevisionHasBeenSet = false;
281 };
282
283} // namespace Model
284} // namespace DataZone
285} // namespace Aws
AssetItem & WithAdditionalAttributes(AssetItemAdditionalAttributes &&value)
Definition AssetItem.h:52
AssetItem & WithDomainId(Aws::String &&value)
Definition AssetItem.h:106
void SetDomainId(const Aws::String &value)
Definition AssetItem.h:102
const Aws::String & GetExternalIdentifier() const
Definition AssetItem.h:114
AssetItem & WithOwningProjectId(const Aws::String &value)
Definition AssetItem.h:205
AssetItem & WithTypeIdentifier(Aws::String &&value)
Definition AssetItem.h:221
bool AdditionalAttributesHasBeenSet() const
Definition AssetItem.h:48
void SetTypeIdentifier(Aws::String &&value)
Definition AssetItem.h:218
AWS_DATAZONE_API AssetItem(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
Definition AssetItem.h:87
AssetItem & WithFirstRevisionCreatedBy(const Aws::String &value)
Definition AssetItem.h:147
bool FirstRevisionCreatedByHasBeenSet() const
Definition AssetItem.h:143
AssetItem & WithTypeIdentifier(const Aws::String &value)
Definition AssetItem.h:220
bool ExternalIdentifierHasBeenSet() const
Definition AssetItem.h:115
AssetItem & WithTypeRevision(Aws::String &&value)
Definition AssetItem.h:235
AssetItem & WithCreatedBy(const Aws::String &value)
Definition AssetItem.h:76
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
Definition AssetItem.h:158
void SetOwningProjectId(Aws::String &&value)
Definition AssetItem.h:203
void SetTypeIdentifier(const char *value)
Definition AssetItem.h:219
void SetTypeRevision(Aws::String &&value)
Definition AssetItem.h:232
void SetExternalIdentifier(const char *value)
Definition AssetItem.h:118
const Aws::String & GetTypeIdentifier() const
Definition AssetItem.h:215
AssetItem & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition AssetItem.h:63
AssetItem & WithIdentifier(const char *value)
Definition AssetItem.h:178
AssetItem & WithName(const Aws::String &value)
Definition AssetItem.h:190
AssetItem & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
Definition AssetItem.h:161
const Aws::String & GetOwningProjectId() const
Definition AssetItem.h:200
const AssetItemAdditionalAttributes & GetAdditionalAttributes() const
Definition AssetItem.h:47
const Aws::String & GetDescription() const
Definition AssetItem.h:85
void SetIdentifier(Aws::String &&value)
Definition AssetItem.h:174
AssetItem & WithDescription(const Aws::String &value)
Definition AssetItem.h:90
AssetItem & AddGlossaryTerms(Aws::String &&value)
Definition AssetItem.h:163
void SetCreatedBy(const char *value)
Definition AssetItem.h:75
bool FirstRevisionCreatedAtHasBeenSet() const
Definition AssetItem.h:130
AssetItem & WithDescription(Aws::String &&value)
Definition AssetItem.h:91
void SetFirstRevisionCreatedAt(Aws::Utils::DateTime &&value)
Definition AssetItem.h:132
bool OwningProjectIdHasBeenSet() const
Definition AssetItem.h:201
bool TypeIdentifierHasBeenSet() const
Definition AssetItem.h:216
void SetCreatedBy(const Aws::String &value)
Definition AssetItem.h:73
const Aws::String & GetCreatedBy() const
Definition AssetItem.h:71
AssetItem & WithName(const char *value)
Definition AssetItem.h:192
AssetItem & WithCreatedBy(Aws::String &&value)
Definition AssetItem.h:77
const Aws::String & GetTypeRevision() const
Definition AssetItem.h:229
AssetItem & WithTypeIdentifier(const char *value)
Definition AssetItem.h:222
void SetFirstRevisionCreatedAt(const Aws::Utils::DateTime &value)
Definition AssetItem.h:131
const Aws::Utils::DateTime & GetFirstRevisionCreatedAt() const
Definition AssetItem.h:129
void SetOwningProjectId(const char *value)
Definition AssetItem.h:204
void SetName(Aws::String &&value)
Definition AssetItem.h:188
AssetItem & WithExternalIdentifier(Aws::String &&value)
Definition AssetItem.h:120
void SetFirstRevisionCreatedBy(const char *value)
Definition AssetItem.h:146
void SetExternalIdentifier(const Aws::String &value)
Definition AssetItem.h:116
AssetItem & WithFirstRevisionCreatedAt(Aws::Utils::DateTime &&value)
Definition AssetItem.h:134
void SetTypeRevision(const char *value)
Definition AssetItem.h:233
const Aws::Utils::DateTime & GetCreatedAt() const
Definition AssetItem.h:59
AssetItem & WithExternalIdentifier(const Aws::String &value)
Definition AssetItem.h:119
AssetItem & WithTypeRevision(const Aws::String &value)
Definition AssetItem.h:234
void SetAdditionalAttributes(AssetItemAdditionalAttributes &&value)
Definition AssetItem.h:50
void SetIdentifier(const char *value)
Definition AssetItem.h:175
AssetItem & WithFirstRevisionCreatedBy(const char *value)
Definition AssetItem.h:149
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
Definition AssetItem.h:156
AWS_DATAZONE_API AssetItem()
AssetItem & WithDomainId(const char *value)
Definition AssetItem.h:107
AssetItem & WithFirstRevisionCreatedAt(const Aws::Utils::DateTime &value)
Definition AssetItem.h:133
AssetItem & WithIdentifier(Aws::String &&value)
Definition AssetItem.h:177
AssetItem & WithTypeRevision(const char *value)
Definition AssetItem.h:236
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
Definition AssetItem.h:159
AssetItem & WithIdentifier(const Aws::String &value)
Definition AssetItem.h:176
AssetItem & AddGlossaryTerms(const char *value)
Definition AssetItem.h:164
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition AssetItem.h:61
AssetItem & WithDomainId(const Aws::String &value)
Definition AssetItem.h:105
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition AssetItem.h:62
void SetTypeRevision(const Aws::String &value)
Definition AssetItem.h:231
AssetItem & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition AssetItem.h:64
void SetName(const Aws::String &value)
Definition AssetItem.h:187
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetItem & AddGlossaryTerms(const Aws::String &value)
Definition AssetItem.h:162
void SetFirstRevisionCreatedBy(Aws::String &&value)
Definition AssetItem.h:145
const Aws::String & GetFirstRevisionCreatedBy() const
Definition AssetItem.h:142
void SetDescription(Aws::String &&value)
Definition AssetItem.h:88
void SetOwningProjectId(const Aws::String &value)
Definition AssetItem.h:202
AssetItem & WithExternalIdentifier(const char *value)
Definition AssetItem.h:121
void SetDomainId(const char *value)
Definition AssetItem.h:104
AWS_DATAZONE_API AssetItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDomainId(Aws::String &&value)
Definition AssetItem.h:103
void SetIdentifier(const Aws::String &value)
Definition AssetItem.h:173
AssetItem & WithDescription(const char *value)
Definition AssetItem.h:92
const Aws::String & GetName() const
Definition AssetItem.h:185
void SetFirstRevisionCreatedBy(const Aws::String &value)
Definition AssetItem.h:144
AssetItem & WithOwningProjectId(const char *value)
Definition AssetItem.h:207
void SetCreatedBy(Aws::String &&value)
Definition AssetItem.h:74
const Aws::String & GetIdentifier() const
Definition AssetItem.h:171
AssetItem & WithName(Aws::String &&value)
Definition AssetItem.h:191
AssetItem & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
Definition AssetItem.h:160
void SetAdditionalAttributes(const AssetItemAdditionalAttributes &value)
Definition AssetItem.h:49
const Aws::String & GetDomainId() const
Definition AssetItem.h:100
void SetName(const char *value)
Definition AssetItem.h:189
AssetItem & WithOwningProjectId(Aws::String &&value)
Definition AssetItem.h:206
void SetDescription(const char *value)
Definition AssetItem.h:89
AssetItem & WithFirstRevisionCreatedBy(Aws::String &&value)
Definition AssetItem.h:148
AssetItem & WithAdditionalAttributes(const AssetItemAdditionalAttributes &value)
Definition AssetItem.h:51
AssetItem & WithCreatedBy(const char *value)
Definition AssetItem.h:78
void SetTypeIdentifier(const Aws::String &value)
Definition AssetItem.h:217
void SetExternalIdentifier(Aws::String &&value)
Definition AssetItem.h:117
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue