7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/GlossaryTermStatus.h>
11#include <aws/datazone/model/TermRelations.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/datazone/model/GlossaryUsageRestriction.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename CreatedAtT = Aws::Utils::DateTime>
46 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
47 template<
typename CreatedAtT = Aws::Utils::DateTime>
56 template<
typename CreatedByT = Aws::String>
57 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
58 template<
typename CreatedByT = Aws::String>
68 template<
typename DomainIdT = Aws::String>
69 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
70 template<
typename DomainIdT = Aws::String>
79 template<
typename GlossaryIdT = Aws::String>
80 void SetGlossaryId(GlossaryIdT&& value) { m_glossaryIdHasBeenSet =
true; m_glossaryId = std::forward<GlossaryIdT>(value); }
81 template<
typename GlossaryIdT = Aws::String>
90 template<
typename IdT = Aws::String>
91 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
92 template<
typename IdT = Aws::String>
101 template<
typename LongDescriptionT = Aws::String>
102 void SetLongDescription(LongDescriptionT&& value) { m_longDescriptionHasBeenSet =
true; m_longDescription = std::forward<LongDescriptionT>(value); }
103 template<
typename LongDescriptionT = Aws::String>
112 template<
typename NameT = Aws::String>
113 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
114 template<
typename NameT = Aws::String>
123 template<
typename ShortDescriptionT = Aws::String>
124 void SetShortDescription(ShortDescriptionT&& value) { m_shortDescriptionHasBeenSet =
true; m_shortDescription = std::forward<ShortDescriptionT>(value); }
125 template<
typename ShortDescriptionT = Aws::String>
143 template<
typename TermRelationsT = TermRelations>
144 void SetTermRelations(TermRelationsT&& value) { m_termRelationsHasBeenSet =
true; m_termRelations = std::forward<TermRelationsT>(value); }
145 template<
typename TermRelationsT = TermRelations>
154 template<
typename UpdatedAtT = Aws::Utils::DateTime>
155 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
156 template<
typename UpdatedAtT = Aws::Utils::DateTime>
165 template<
typename UpdatedByT = Aws::String>
166 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet =
true; m_updatedBy = std::forward<UpdatedByT>(value); }
167 template<
typename UpdatedByT = Aws::String>
176 template<
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
177 void SetUsageRestrictions(UsageRestrictionsT&& value) { m_usageRestrictionsHasBeenSet =
true; m_usageRestrictions = std::forward<UsageRestrictionsT>(value); }
178 template<
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
186 template<
typename RequestIdT = Aws::String>
187 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
188 template<
typename RequestIdT = Aws::String>
194 bool m_createdAtHasBeenSet =
false;
197 bool m_createdByHasBeenSet =
false;
200 bool m_domainIdHasBeenSet =
false;
203 bool m_glossaryIdHasBeenSet =
false;
206 bool m_idHasBeenSet =
false;
209 bool m_longDescriptionHasBeenSet =
false;
212 bool m_nameHasBeenSet =
false;
215 bool m_shortDescriptionHasBeenSet =
false;
218 bool m_statusHasBeenSet =
false;
220 TermRelations m_termRelations;
221 bool m_termRelationsHasBeenSet =
false;
224 bool m_updatedAtHasBeenSet =
false;
227 bool m_updatedByHasBeenSet =
false;
230 bool m_usageRestrictionsHasBeenSet =
false;
233 bool m_requestIdHasBeenSet =
false;
void SetUpdatedAt(UpdatedAtT &&value)
void SetLongDescription(LongDescriptionT &&value)
GetGlossaryTermResult & WithLongDescription(LongDescriptionT &&value)
const TermRelations & GetTermRelations() const
GetGlossaryTermResult & WithUpdatedBy(UpdatedByT &&value)
void SetDomainId(DomainIdT &&value)
GetGlossaryTermResult & WithShortDescription(ShortDescriptionT &&value)
GetGlossaryTermResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetGlossaryTermResult & WithTermRelations(TermRelationsT &&value)
const Aws::String & GetGlossaryId() const
void SetGlossaryId(GlossaryIdT &&value)
void SetShortDescription(ShortDescriptionT &&value)
void SetName(NameT &&value)
const Aws::String & GetDomainId() const
void SetTermRelations(TermRelationsT &&value)
GetGlossaryTermResult & WithUpdatedAt(UpdatedAtT &&value)
GetGlossaryTermResult & WithCreatedBy(CreatedByT &&value)
void SetUsageRestrictions(UsageRestrictionsT &&value)
GetGlossaryTermResult & WithStatus(GlossaryTermStatus value)
GetGlossaryTermResult & WithUsageRestrictions(UsageRestrictionsT &&value)
const Aws::String & GetUpdatedBy() const
const Aws::String & GetRequestId() const
GetGlossaryTermResult & WithGlossaryId(GlossaryIdT &&value)
GetGlossaryTermResult & WithDomainId(DomainIdT &&value)
void SetUpdatedBy(UpdatedByT &&value)
void SetStatus(GlossaryTermStatus value)
AWS_DATAZONE_API GetGlossaryTermResult()=default
const Aws::String & GetLongDescription() const
GetGlossaryTermResult & AddUsageRestrictions(GlossaryUsageRestriction value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetName() const
const Aws::String & GetId() const
GetGlossaryTermResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetCreatedBy() const
void SetCreatedBy(CreatedByT &&value)
AWS_DATAZONE_API GetGlossaryTermResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GlossaryTermStatus GetStatus() const
GetGlossaryTermResult & WithName(NameT &&value)
GetGlossaryTermResult & WithId(IdT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetShortDescription() const
AWS_DATAZONE_API GetGlossaryTermResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< GlossaryUsageRestriction > & GetUsageRestrictions() 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