7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/GlossaryTermStatus.h>
11#include <aws/datazone/model/GlossaryUsageRestriction.h>
12#include <aws/datazone/model/TermRelations.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename IdT = Aws::String>
40 m_idHasBeenSet =
true;
41 m_id = std::forward<IdT>(value);
43 template <
typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
56 template <
typename DomainIdT = Aws::String>
58 m_domainIdHasBeenSet =
true;
59 m_domainId = std::forward<DomainIdT>(value);
61 template <
typename DomainIdT = Aws::String>
73 template <
typename GlossaryIdT = Aws::String>
75 m_glossaryIdHasBeenSet =
true;
76 m_glossaryId = std::forward<GlossaryIdT>(value);
78 template <
typename GlossaryIdT = Aws::String>
90 template <
typename NameT = Aws::String>
92 m_nameHasBeenSet =
true;
93 m_name = std::forward<NameT>(value);
95 template <
typename NameT = Aws::String>
97 SetName(std::forward<NameT>(value));
108 m_statusHasBeenSet =
true;
122 template <
typename ShortDescriptionT = Aws::String>
124 m_shortDescriptionHasBeenSet =
true;
125 m_shortDescription = std::forward<ShortDescriptionT>(value);
127 template <
typename ShortDescriptionT = Aws::String>
139 template <
typename LongDescriptionT = Aws::String>
141 m_longDescriptionHasBeenSet =
true;
142 m_longDescription = std::forward<LongDescriptionT>(value);
144 template <
typename LongDescriptionT = Aws::String>
156 template <
typename TermRelationsT = TermRelations>
158 m_termRelationsHasBeenSet =
true;
159 m_termRelations = std::forward<TermRelationsT>(value);
161 template <
typename TermRelationsT = TermRelations>
173 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
175 m_usageRestrictionsHasBeenSet =
true;
176 m_usageRestrictions = std::forward<UsageRestrictionsT>(value);
178 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
184 m_usageRestrictionsHasBeenSet =
true;
185 m_usageRestrictions.push_back(value);
193 template <
typename RequestIdT = Aws::String>
195 m_requestIdHasBeenSet =
true;
196 m_requestId = std::forward<RequestIdT>(value);
198 template <
typename RequestIdT = Aws::String>
219 TermRelations m_termRelations;
224 bool m_idHasBeenSet =
false;
225 bool m_domainIdHasBeenSet =
false;
226 bool m_glossaryIdHasBeenSet =
false;
227 bool m_nameHasBeenSet =
false;
228 bool m_statusHasBeenSet =
false;
229 bool m_shortDescriptionHasBeenSet =
false;
230 bool m_longDescriptionHasBeenSet =
false;
231 bool m_termRelationsHasBeenSet =
false;
232 bool m_usageRestrictionsHasBeenSet =
false;
233 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetId() const
const Aws::String & GetLongDescription() const
const Aws::String & GetRequestId() const
void SetDomainId(DomainIdT &&value)
void SetName(NameT &&value)
void SetGlossaryId(GlossaryIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetLongDescription(LongDescriptionT &&value)
AWS_DATAZONE_API CreateGlossaryTermResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUsageRestrictions(UsageRestrictionsT &&value)
const TermRelations & GetTermRelations() const
void SetStatus(GlossaryTermStatus value)
const Aws::String & GetGlossaryId() const
const Aws::String & GetShortDescription() const
CreateGlossaryTermResult & WithGlossaryId(GlossaryIdT &&value)
CreateGlossaryTermResult & WithShortDescription(ShortDescriptionT &&value)
GlossaryTermStatus GetStatus() const
CreateGlossaryTermResult & WithLongDescription(LongDescriptionT &&value)
CreateGlossaryTermResult & WithDomainId(DomainIdT &&value)
const Aws::String & GetDomainId() const
void SetTermRelations(TermRelationsT &&value)
CreateGlossaryTermResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API CreateGlossaryTermResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGlossaryTermResult & WithName(NameT &&value)
const Aws::String & GetName() const
const Aws::Vector< GlossaryUsageRestriction > & GetUsageRestrictions() const
CreateGlossaryTermResult & WithTermRelations(TermRelationsT &&value)
CreateGlossaryTermResult & WithId(IdT &&value)
CreateGlossaryTermResult & AddUsageRestrictions(GlossaryUsageRestriction value)
void SetShortDescription(ShortDescriptionT &&value)
CreateGlossaryTermResult & WithUsageRestrictions(UsageRestrictionsT &&value)
CreateGlossaryTermResult & WithStatus(GlossaryTermStatus value)
AWS_DATAZONE_API CreateGlossaryTermResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue