7#include <aws/core/http/HttpResponse.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/GlossaryTermStatus.h>
12#include <aws/datazone/model/GlossaryUsageRestriction.h>
13#include <aws/datazone/model/TermRelations.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename IdT = Aws::String>
41 m_idHasBeenSet =
true;
42 m_id = std::forward<IdT>(value);
44 template <
typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
57 template <
typename DomainIdT = Aws::String>
59 m_domainIdHasBeenSet =
true;
60 m_domainId = std::forward<DomainIdT>(value);
62 template <
typename DomainIdT = Aws::String>
74 template <
typename GlossaryIdT = Aws::String>
76 m_glossaryIdHasBeenSet =
true;
77 m_glossaryId = std::forward<GlossaryIdT>(value);
79 template <
typename GlossaryIdT = Aws::String>
91 template <
typename NameT = Aws::String>
93 m_nameHasBeenSet =
true;
94 m_name = std::forward<NameT>(value);
96 template <
typename NameT = Aws::String>
98 SetName(std::forward<NameT>(value));
109 m_statusHasBeenSet =
true;
123 template <
typename ShortDescriptionT = Aws::String>
125 m_shortDescriptionHasBeenSet =
true;
126 m_shortDescription = std::forward<ShortDescriptionT>(value);
128 template <
typename ShortDescriptionT = Aws::String>
140 template <
typename LongDescriptionT = Aws::String>
142 m_longDescriptionHasBeenSet =
true;
143 m_longDescription = std::forward<LongDescriptionT>(value);
145 template <
typename LongDescriptionT = Aws::String>
157 template <
typename TermRelationsT = TermRelations>
159 m_termRelationsHasBeenSet =
true;
160 m_termRelations = std::forward<TermRelationsT>(value);
162 template <
typename TermRelationsT = TermRelations>
174 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
176 m_usageRestrictionsHasBeenSet =
true;
177 m_usageRestrictions = std::forward<UsageRestrictionsT>(value);
179 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
185 m_usageRestrictionsHasBeenSet =
true;
186 m_usageRestrictions.push_back(value);
194 template <
typename RequestIdT = Aws::String>
196 m_requestIdHasBeenSet =
true;
197 m_requestId = std::forward<RequestIdT>(value);
199 template <
typename RequestIdT = Aws::String>
222 TermRelations m_termRelations;
228 bool m_idHasBeenSet =
false;
229 bool m_domainIdHasBeenSet =
false;
230 bool m_glossaryIdHasBeenSet =
false;
231 bool m_nameHasBeenSet =
false;
232 bool m_statusHasBeenSet =
false;
233 bool m_shortDescriptionHasBeenSet =
false;
234 bool m_longDescriptionHasBeenSet =
false;
235 bool m_termRelationsHasBeenSet =
false;
236 bool m_usageRestrictionsHasBeenSet =
false;
237 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::Http::HttpResponseCode GetHttpResponseCode() const
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