AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename AdditionalAttributesT = AssetItemAdditionalAttributes>
50 void SetAdditionalAttributes(AdditionalAttributesT&& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes = std::forward<AdditionalAttributesT>(value); }
51 template<typename AdditionalAttributesT = AssetItemAdditionalAttributes>
52 AssetItem& WithAdditionalAttributes(AdditionalAttributesT&& value) { SetAdditionalAttributes(std::forward<AdditionalAttributesT>(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
60 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
61 template<typename CreatedAtT = Aws::Utils::DateTime>
62 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
63 template<typename CreatedAtT = Aws::Utils::DateTime>
64 AssetItem& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
66
68
71 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
72 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
73 template<typename CreatedByT = Aws::String>
74 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
75 template<typename CreatedByT = Aws::String>
76 AssetItem& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
78
80
83 inline const Aws::String& GetDescription() const { return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 AssetItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
96 inline const Aws::String& GetDomainId() const { return m_domainId; }
97 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
98 template<typename DomainIdT = Aws::String>
99 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
100 template<typename DomainIdT = Aws::String>
101 AssetItem& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
103
105
108 inline const Aws::String& GetExternalIdentifier() const { return m_externalIdentifier; }
109 inline bool ExternalIdentifierHasBeenSet() const { return m_externalIdentifierHasBeenSet; }
110 template<typename ExternalIdentifierT = Aws::String>
111 void SetExternalIdentifier(ExternalIdentifierT&& value) { m_externalIdentifierHasBeenSet = true; m_externalIdentifier = std::forward<ExternalIdentifierT>(value); }
112 template<typename ExternalIdentifierT = Aws::String>
113 AssetItem& WithExternalIdentifier(ExternalIdentifierT&& value) { SetExternalIdentifier(std::forward<ExternalIdentifierT>(value)); return *this;}
115
117
121 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const { return m_firstRevisionCreatedAt; }
122 inline bool FirstRevisionCreatedAtHasBeenSet() const { return m_firstRevisionCreatedAtHasBeenSet; }
123 template<typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
124 void SetFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) { m_firstRevisionCreatedAtHasBeenSet = true; m_firstRevisionCreatedAt = std::forward<FirstRevisionCreatedAtT>(value); }
125 template<typename FirstRevisionCreatedAtT = Aws::Utils::DateTime>
126 AssetItem& WithFirstRevisionCreatedAt(FirstRevisionCreatedAtT&& value) { SetFirstRevisionCreatedAt(std::forward<FirstRevisionCreatedAtT>(value)); return *this;}
128
130
134 inline const Aws::String& GetFirstRevisionCreatedBy() const { return m_firstRevisionCreatedBy; }
135 inline bool FirstRevisionCreatedByHasBeenSet() const { return m_firstRevisionCreatedByHasBeenSet; }
136 template<typename FirstRevisionCreatedByT = Aws::String>
137 void SetFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) { m_firstRevisionCreatedByHasBeenSet = true; m_firstRevisionCreatedBy = std::forward<FirstRevisionCreatedByT>(value); }
138 template<typename FirstRevisionCreatedByT = Aws::String>
139 AssetItem& WithFirstRevisionCreatedBy(FirstRevisionCreatedByT&& value) { SetFirstRevisionCreatedBy(std::forward<FirstRevisionCreatedByT>(value)); return *this;}
141
143
146 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
147 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
148 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
149 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
150 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
151 AssetItem& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
152 template<typename GlossaryTermsT = Aws::String>
153 AssetItem& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
155
157
160 inline const Aws::String& GetIdentifier() const { return m_identifier; }
161 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
162 template<typename IdentifierT = Aws::String>
163 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
164 template<typename IdentifierT = Aws::String>
165 AssetItem& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
167
169
172 inline const Aws::String& GetName() const { return m_name; }
173 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
174 template<typename NameT = Aws::String>
175 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
176 template<typename NameT = Aws::String>
177 AssetItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
179
181
185 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
186 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
187 template<typename OwningProjectIdT = Aws::String>
188 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
189 template<typename OwningProjectIdT = Aws::String>
190 AssetItem& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
192
194
198 inline const Aws::String& GetTypeIdentifier() const { return m_typeIdentifier; }
199 inline bool TypeIdentifierHasBeenSet() const { return m_typeIdentifierHasBeenSet; }
200 template<typename TypeIdentifierT = Aws::String>
201 void SetTypeIdentifier(TypeIdentifierT&& value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier = std::forward<TypeIdentifierT>(value); }
202 template<typename TypeIdentifierT = Aws::String>
203 AssetItem& WithTypeIdentifier(TypeIdentifierT&& value) { SetTypeIdentifier(std::forward<TypeIdentifierT>(value)); return *this;}
205
207
210 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
211 inline bool TypeRevisionHasBeenSet() const { return m_typeRevisionHasBeenSet; }
212 template<typename TypeRevisionT = Aws::String>
213 void SetTypeRevision(TypeRevisionT&& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = std::forward<TypeRevisionT>(value); }
214 template<typename TypeRevisionT = Aws::String>
215 AssetItem& WithTypeRevision(TypeRevisionT&& value) { SetTypeRevision(std::forward<TypeRevisionT>(value)); return *this;}
217 private:
218
219 AssetItemAdditionalAttributes m_additionalAttributes;
220 bool m_additionalAttributesHasBeenSet = false;
221
222 Aws::Utils::DateTime m_createdAt{};
223 bool m_createdAtHasBeenSet = false;
224
225 Aws::String m_createdBy;
226 bool m_createdByHasBeenSet = false;
227
228 Aws::String m_description;
229 bool m_descriptionHasBeenSet = false;
230
231 Aws::String m_domainId;
232 bool m_domainIdHasBeenSet = false;
233
234 Aws::String m_externalIdentifier;
235 bool m_externalIdentifierHasBeenSet = false;
236
237 Aws::Utils::DateTime m_firstRevisionCreatedAt{};
238 bool m_firstRevisionCreatedAtHasBeenSet = false;
239
240 Aws::String m_firstRevisionCreatedBy;
241 bool m_firstRevisionCreatedByHasBeenSet = false;
242
243 Aws::Vector<Aws::String> m_glossaryTerms;
244 bool m_glossaryTermsHasBeenSet = false;
245
246 Aws::String m_identifier;
247 bool m_identifierHasBeenSet = false;
248
249 Aws::String m_name;
250 bool m_nameHasBeenSet = false;
251
252 Aws::String m_owningProjectId;
253 bool m_owningProjectIdHasBeenSet = false;
254
255 Aws::String m_typeIdentifier;
256 bool m_typeIdentifierHasBeenSet = false;
257
258 Aws::String m_typeRevision;
259 bool m_typeRevisionHasBeenSet = false;
260 };
261
262} // namespace Model
263} // namespace DataZone
264} // namespace Aws
AssetItem & AddGlossaryTerms(GlossaryTermsT &&value)
Definition AssetItem.h:153
const Aws::String & GetExternalIdentifier() const
Definition AssetItem.h:108
bool AdditionalAttributesHasBeenSet() const
Definition AssetItem.h:48
AWS_DATAZONE_API AssetItem(Aws::Utils::Json::JsonView jsonValue)
bool FirstRevisionCreatedByHasBeenSet() const
Definition AssetItem.h:135
bool ExternalIdentifierHasBeenSet() const
Definition AssetItem.h:109
void SetGlossaryTerms(GlossaryTermsT &&value)
Definition AssetItem.h:149
AssetItem & WithDomainId(DomainIdT &&value)
Definition AssetItem.h:101
void SetDomainId(DomainIdT &&value)
Definition AssetItem.h:99
void SetName(NameT &&value)
Definition AssetItem.h:175
const Aws::String & GetTypeIdentifier() const
Definition AssetItem.h:198
void SetTypeRevision(TypeRevisionT &&value)
Definition AssetItem.h:213
AssetItem & WithOwningProjectId(OwningProjectIdT &&value)
Definition AssetItem.h:190
const Aws::String & GetOwningProjectId() const
Definition AssetItem.h:185
const AssetItemAdditionalAttributes & GetAdditionalAttributes() const
Definition AssetItem.h:47
const Aws::String & GetDescription() const
Definition AssetItem.h:83
bool FirstRevisionCreatedAtHasBeenSet() const
Definition AssetItem.h:122
void SetCreatedAt(CreatedAtT &&value)
Definition AssetItem.h:62
bool OwningProjectIdHasBeenSet() const
Definition AssetItem.h:186
bool TypeIdentifierHasBeenSet() const
Definition AssetItem.h:199
const Aws::String & GetCreatedBy() const
Definition AssetItem.h:71
AssetItem & WithCreatedBy(CreatedByT &&value)
Definition AssetItem.h:76
void SetIdentifier(IdentifierT &&value)
Definition AssetItem.h:163
AssetItem & WithDescription(DescriptionT &&value)
Definition AssetItem.h:88
const Aws::String & GetTypeRevision() const
Definition AssetItem.h:210
AssetItem & WithTypeIdentifier(TypeIdentifierT &&value)
Definition AssetItem.h:203
const Aws::Utils::DateTime & GetFirstRevisionCreatedAt() const
Definition AssetItem.h:121
AssetItem & WithAdditionalAttributes(AdditionalAttributesT &&value)
Definition AssetItem.h:52
const Aws::Utils::DateTime & GetCreatedAt() const
Definition AssetItem.h:59
void SetExternalIdentifier(ExternalIdentifierT &&value)
Definition AssetItem.h:111
AssetItem & WithFirstRevisionCreatedBy(FirstRevisionCreatedByT &&value)
Definition AssetItem.h:139
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
Definition AssetItem.h:146
AssetItem & WithExternalIdentifier(ExternalIdentifierT &&value)
Definition AssetItem.h:113
AssetItem & WithCreatedAt(CreatedAtT &&value)
Definition AssetItem.h:64
void SetAdditionalAttributes(AdditionalAttributesT &&value)
Definition AssetItem.h:50
void SetDescription(DescriptionT &&value)
Definition AssetItem.h:86
void SetTypeIdentifier(TypeIdentifierT &&value)
Definition AssetItem.h:201
AssetItem & WithFirstRevisionCreatedAt(FirstRevisionCreatedAtT &&value)
Definition AssetItem.h:126
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedBy(CreatedByT &&value)
Definition AssetItem.h:74
const Aws::String & GetFirstRevisionCreatedBy() const
Definition AssetItem.h:134
void SetOwningProjectId(OwningProjectIdT &&value)
Definition AssetItem.h:188
AssetItem & WithGlossaryTerms(GlossaryTermsT &&value)
Definition AssetItem.h:151
AWS_DATAZONE_API AssetItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API AssetItem()=default
const Aws::String & GetName() const
Definition AssetItem.h:172
void SetFirstRevisionCreatedAt(FirstRevisionCreatedAtT &&value)
Definition AssetItem.h:124
const Aws::String & GetIdentifier() const
Definition AssetItem.h:160
const Aws::String & GetDomainId() const
Definition AssetItem.h:96
void SetFirstRevisionCreatedBy(FirstRevisionCreatedByT &&value)
Definition AssetItem.h:137
AssetItem & WithName(NameT &&value)
Definition AssetItem.h:177
AssetItem & WithTypeRevision(TypeRevisionT &&value)
Definition AssetItem.h:215
AssetItem & WithIdentifier(IdentifierT &&value)
Definition AssetItem.h:165
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue