7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/GlossaryTermStatus.h>
10#include <aws/datazone/model/TermRelations.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datazone/model/GlossaryUsageRestriction.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
45 template<
typename DomainIdT = Aws::String>
46 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
47 template<
typename DomainIdT = Aws::String>
56 template<
typename GlossaryIdT = Aws::String>
57 void SetGlossaryId(GlossaryIdT&& value) { m_glossaryIdHasBeenSet =
true; m_glossaryId = std::forward<GlossaryIdT>(value); }
58 template<
typename GlossaryIdT = Aws::String>
67 template<
typename IdT = Aws::String>
68 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
69 template<
typename IdT = Aws::String>
78 template<
typename LongDescriptionT = Aws::String>
79 void SetLongDescription(LongDescriptionT&& value) { m_longDescriptionHasBeenSet =
true; m_longDescription = std::forward<LongDescriptionT>(value); }
80 template<
typename LongDescriptionT = Aws::String>
89 template<
typename NameT = Aws::String>
90 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
91 template<
typename NameT = Aws::String>
100 template<
typename ShortDescriptionT = Aws::String>
101 void SetShortDescription(ShortDescriptionT&& value) { m_shortDescriptionHasBeenSet =
true; m_shortDescription = std::forward<ShortDescriptionT>(value); }
102 template<
typename ShortDescriptionT = Aws::String>
120 template<
typename TermRelationsT = TermRelations>
121 void SetTermRelations(TermRelationsT&& value) { m_termRelationsHasBeenSet =
true; m_termRelations = std::forward<TermRelationsT>(value); }
122 template<
typename TermRelationsT = TermRelations>
131 template<
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
132 void SetUsageRestrictions(UsageRestrictionsT&& value) { m_usageRestrictionsHasBeenSet =
true; m_usageRestrictions = std::forward<UsageRestrictionsT>(value); }
133 template<
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
141 template<
typename RequestIdT = Aws::String>
142 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
143 template<
typename RequestIdT = Aws::String>
149 bool m_domainIdHasBeenSet =
false;
152 bool m_glossaryIdHasBeenSet =
false;
155 bool m_idHasBeenSet =
false;
158 bool m_longDescriptionHasBeenSet =
false;
161 bool m_nameHasBeenSet =
false;
164 bool m_shortDescriptionHasBeenSet =
false;
167 bool m_statusHasBeenSet =
false;
169 TermRelations m_termRelations;
170 bool m_termRelationsHasBeenSet =
false;
173 bool m_usageRestrictionsHasBeenSet =
false;
176 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