7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/GlossaryTermItemAdditionalAttributes.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/GlossaryTermStatus.h>
12#include <aws/datazone/model/TermRelations.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/datazone/model/GlossaryUsageRestriction.h>
52 template<
typename AdditionalAttributesT = GlossaryTermItemAdditionalAttributes>
53 void SetAdditionalAttributes(AdditionalAttributesT&& value) { m_additionalAttributesHasBeenSet =
true; m_additionalAttributes = std::forward<AdditionalAttributesT>(value); }
54 template<
typename AdditionalAttributesT = GlossaryTermItemAdditionalAttributes>
64 template<
typename CreatedAtT = Aws::Utils::DateTime>
65 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
66 template<
typename CreatedAtT = Aws::Utils::DateTime>
76 template<
typename CreatedByT = Aws::String>
77 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
78 template<
typename CreatedByT = Aws::String>
89 template<
typename DomainIdT = Aws::String>
90 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
91 template<
typename DomainIdT = Aws::String>
101 template<
typename GlossaryIdT = Aws::String>
102 void SetGlossaryId(GlossaryIdT&& value) { m_glossaryIdHasBeenSet =
true; m_glossaryId = std::forward<GlossaryIdT>(value); }
103 template<
typename GlossaryIdT = Aws::String>
113 template<
typename IdT = Aws::String>
114 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
115 template<
typename IdT = Aws::String>
125 template<
typename LongDescriptionT = Aws::String>
126 void SetLongDescription(LongDescriptionT&& value) { m_longDescriptionHasBeenSet =
true; m_longDescription = std::forward<LongDescriptionT>(value); }
127 template<
typename LongDescriptionT = Aws::String>
137 template<
typename NameT = Aws::String>
138 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
139 template<
typename NameT = Aws::String>
149 template<
typename ShortDescriptionT = Aws::String>
150 void SetShortDescription(ShortDescriptionT&& value) { m_shortDescriptionHasBeenSet =
true; m_shortDescription = std::forward<ShortDescriptionT>(value); }
151 template<
typename ShortDescriptionT = Aws::String>
171 template<
typename TermRelationsT = TermRelations>
172 void SetTermRelations(TermRelationsT&& value) { m_termRelationsHasBeenSet =
true; m_termRelations = std::forward<TermRelationsT>(value); }
173 template<
typename TermRelationsT = TermRelations>
183 template<
typename UpdatedAtT = Aws::Utils::DateTime>
184 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
185 template<
typename UpdatedAtT = Aws::Utils::DateTime>
195 template<
typename UpdatedByT = Aws::String>
196 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet =
true; m_updatedBy = std::forward<UpdatedByT>(value); }
197 template<
typename UpdatedByT = Aws::String>
207 template<
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
208 void SetUsageRestrictions(UsageRestrictionsT&& value) { m_usageRestrictionsHasBeenSet =
true; m_usageRestrictions = std::forward<UsageRestrictionsT>(value); }
209 template<
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
216 bool m_additionalAttributesHasBeenSet =
false;
219 bool m_createdAtHasBeenSet =
false;
222 bool m_createdByHasBeenSet =
false;
225 bool m_domainIdHasBeenSet =
false;
228 bool m_glossaryIdHasBeenSet =
false;
231 bool m_idHasBeenSet =
false;
234 bool m_longDescriptionHasBeenSet =
false;
237 bool m_nameHasBeenSet =
false;
240 bool m_shortDescriptionHasBeenSet =
false;
243 bool m_statusHasBeenSet =
false;
245 TermRelations m_termRelations;
246 bool m_termRelationsHasBeenSet =
false;
249 bool m_updatedAtHasBeenSet =
false;
252 bool m_updatedByHasBeenSet =
false;
255 bool m_usageRestrictionsHasBeenSet =
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