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/GlossaryTermItemAdditionalAttributes.h>
12#include <aws/datazone/model/GlossaryTermStatus.h>
13#include <aws/datazone/model/GlossaryUsageRestriction.h>
14#include <aws/datazone/model/TermRelations.h>
47 template <
typename DomainIdT = Aws::String>
49 m_domainIdHasBeenSet =
true;
50 m_domainId = std::forward<DomainIdT>(value);
52 template <
typename DomainIdT = Aws::String>
65 template <
typename GlossaryIdT = Aws::String>
67 m_glossaryIdHasBeenSet =
true;
68 m_glossaryId = std::forward<GlossaryIdT>(value);
70 template <
typename GlossaryIdT = Aws::String>
83 template <
typename IdT = Aws::String>
85 m_idHasBeenSet =
true;
86 m_id = std::forward<IdT>(value);
88 template <
typename IdT = Aws::String>
90 SetId(std::forward<IdT>(value));
101 template <
typename NameT = Aws::String>
103 m_nameHasBeenSet =
true;
104 m_name = std::forward<NameT>(value);
106 template <
typename NameT = Aws::String>
108 SetName(std::forward<NameT>(value));
119 template <
typename ShortDescriptionT = Aws::String>
121 m_shortDescriptionHasBeenSet =
true;
122 m_shortDescription = std::forward<ShortDescriptionT>(value);
124 template <
typename ShortDescriptionT = Aws::String>
137 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
139 m_usageRestrictionsHasBeenSet =
true;
140 m_usageRestrictions = std::forward<UsageRestrictionsT>(value);
142 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
148 m_usageRestrictionsHasBeenSet =
true;
149 m_usageRestrictions.push_back(value);
160 template <
typename LongDescriptionT = Aws::String>
162 m_longDescriptionHasBeenSet =
true;
163 m_longDescription = std::forward<LongDescriptionT>(value);
165 template <
typename LongDescriptionT = Aws::String>
178 template <
typename TermRelationsT = TermRelations>
180 m_termRelationsHasBeenSet =
true;
181 m_termRelations = std::forward<TermRelationsT>(value);
183 template <
typename TermRelationsT = TermRelations>
197 m_statusHasBeenSet =
true;
212 template <
typename CreatedAtT = Aws::Utils::DateTime>
214 m_createdAtHasBeenSet =
true;
215 m_createdAt = std::forward<CreatedAtT>(value);
217 template <
typename CreatedAtT = Aws::Utils::DateTime>
230 template <
typename CreatedByT = Aws::String>
232 m_createdByHasBeenSet =
true;
233 m_createdBy = std::forward<CreatedByT>(value);
235 template <
typename CreatedByT = Aws::String>
248 template <
typename UpdatedAtT = Aws::Utils::DateTime>
250 m_updatedAtHasBeenSet =
true;
251 m_updatedAt = std::forward<UpdatedAtT>(value);
253 template <
typename UpdatedAtT = Aws::Utils::DateTime>
266 template <
typename UpdatedByT = Aws::String>
268 m_updatedByHasBeenSet =
true;
269 m_updatedBy = std::forward<UpdatedByT>(value);
271 template <
typename UpdatedByT = Aws::String>
284 template <
typename AdditionalAttributesT = GlossaryTermItemAdditionalAttributes>
286 m_additionalAttributesHasBeenSet =
true;
287 m_additionalAttributes = std::forward<AdditionalAttributesT>(value);
289 template <
typename AdditionalAttributesT = GlossaryTermItemAdditionalAttributes>
322 GlossaryTermItemAdditionalAttributes m_additionalAttributes;
323 bool m_domainIdHasBeenSet =
false;
324 bool m_glossaryIdHasBeenSet =
false;
325 bool m_idHasBeenSet =
false;
326 bool m_nameHasBeenSet =
false;
327 bool m_shortDescriptionHasBeenSet =
false;
328 bool m_usageRestrictionsHasBeenSet =
false;
329 bool m_longDescriptionHasBeenSet =
false;
330 bool m_termRelationsHasBeenSet =
false;
331 bool m_statusHasBeenSet =
false;
332 bool m_createdAtHasBeenSet =
false;
333 bool m_createdByHasBeenSet =
false;
334 bool m_updatedAtHasBeenSet =
false;
335 bool m_updatedByHasBeenSet =
false;
336 bool m_additionalAttributesHasBeenSet =
false;
const Aws::Vector< GlossaryUsageRestriction > & GetUsageRestrictions() const
GlossaryTermItem & WithName(NameT &&value)
void SetGlossaryId(GlossaryIdT &&value)
GlossaryTermItem & WithUsageRestrictions(UsageRestrictionsT &&value)
bool StatusHasBeenSet() const
AWS_DATAZONE_API GlossaryTermItem & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DomainIdHasBeenSet() const
GlossaryTermStatus GetStatus() const
const Aws::String & GetName() const
void SetCreatedAt(CreatedAtT &&value)
const GlossaryTermItemAdditionalAttributes & GetAdditionalAttributes() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedBy(CreatedByT &&value)
const Aws::String & GetUpdatedBy() const
void SetAdditionalAttributes(AdditionalAttributesT &&value)
const Aws::String & GetGlossaryId() const
GlossaryTermItem & WithUpdatedBy(UpdatedByT &&value)
bool IdHasBeenSet() const
bool LongDescriptionHasBeenSet() const
GlossaryTermItem & WithStatus(GlossaryTermStatus value)
bool NameHasBeenSet() const
GlossaryTermItem & WithCreatedBy(CreatedByT &&value)
void SetDomainId(DomainIdT &&value)
const Aws::String & GetCreatedBy() const
GlossaryTermItem & WithLongDescription(LongDescriptionT &&value)
GlossaryTermItem & WithGlossaryId(GlossaryIdT &&value)
const Aws::String & GetId() const
GlossaryTermItem & WithUpdatedAt(UpdatedAtT &&value)
bool TermRelationsHasBeenSet() const
bool ShortDescriptionHasBeenSet() const
void SetStatus(GlossaryTermStatus value)
AWS_DATAZONE_API GlossaryTermItem(Aws::Utils::Json::JsonView jsonValue)
void SetUsageRestrictions(UsageRestrictionsT &&value)
bool CreatedByHasBeenSet() const
bool GlossaryIdHasBeenSet() const
void SetLongDescription(LongDescriptionT &&value)
GlossaryTermItem & WithAdditionalAttributes(AdditionalAttributesT &&value)
GlossaryTermItem & WithDomainId(DomainIdT &&value)
void SetTermRelations(TermRelationsT &&value)
bool CreatedAtHasBeenSet() const
GlossaryTermItem & AddUsageRestrictions(GlossaryUsageRestriction value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetShortDescription(ShortDescriptionT &&value)
GlossaryTermItem & WithShortDescription(ShortDescriptionT &&value)
const Aws::String & GetDomainId() const
GlossaryTermItem & WithId(IdT &&value)
bool UpdatedAtHasBeenSet() const
const TermRelations & GetTermRelations() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetName(NameT &&value)
bool UsageRestrictionsHasBeenSet() const
void SetUpdatedBy(UpdatedByT &&value)
AWS_DATAZONE_API GlossaryTermItem()=default
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLongDescription() const
const Aws::String & GetShortDescription() const
bool UpdatedByHasBeenSet() const
GlossaryTermItem & WithCreatedAt(CreatedAtT &&value)
GlossaryTermItem & WithTermRelations(TermRelationsT &&value)
bool AdditionalAttributesHasBeenSet() 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