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/GlossaryStatus.h>
11#include <aws/datazone/model/GlossaryUsageRestriction.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename DomainIdT = Aws::String>
40 m_domainIdHasBeenSet =
true;
41 m_domainId = std::forward<DomainIdT>(value);
43 template <
typename DomainIdT = Aws::String>
55 template <
typename IdT = Aws::String>
57 m_idHasBeenSet =
true;
58 m_id = std::forward<IdT>(value);
60 template <
typename IdT = Aws::String>
62 SetId(std::forward<IdT>(value));
72 template <
typename NameT = Aws::String>
74 m_nameHasBeenSet =
true;
75 m_name = std::forward<NameT>(value);
77 template <
typename NameT = Aws::String>
79 SetName(std::forward<NameT>(value));
89 template <
typename OwningProjectIdT = Aws::String>
91 m_owningProjectIdHasBeenSet =
true;
92 m_owningProjectId = std::forward<OwningProjectIdT>(value);
94 template <
typename OwningProjectIdT = Aws::String>
106 template <
typename DescriptionT = Aws::String>
108 m_descriptionHasBeenSet =
true;
109 m_description = std::forward<DescriptionT>(value);
111 template <
typename DescriptionT = Aws::String>
124 m_statusHasBeenSet =
true;
138 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
140 m_usageRestrictionsHasBeenSet =
true;
141 m_usageRestrictions = std::forward<UsageRestrictionsT>(value);
143 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
149 m_usageRestrictionsHasBeenSet =
true;
150 m_usageRestrictions.push_back(value);
158 template <
typename RequestIdT = Aws::String>
160 m_requestIdHasBeenSet =
true;
161 m_requestId = std::forward<RequestIdT>(value);
163 template <
typename RequestIdT = Aws::String>
185 bool m_domainIdHasBeenSet =
false;
186 bool m_idHasBeenSet =
false;
187 bool m_nameHasBeenSet =
false;
188 bool m_owningProjectIdHasBeenSet =
false;
189 bool m_descriptionHasBeenSet =
false;
190 bool m_statusHasBeenSet =
false;
191 bool m_usageRestrictionsHasBeenSet =
false;
192 bool m_requestIdHasBeenSet =
false;
void SetUsageRestrictions(UsageRestrictionsT &&value)
void SetDomainId(DomainIdT &&value)
AWS_DATAZONE_API CreateGlossaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API CreateGlossaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
CreateGlossaryResult & WithDomainId(DomainIdT &&value)
CreateGlossaryResult & WithStatus(GlossaryStatus value)
CreateGlossaryResult & WithName(NameT &&value)
const Aws::String & GetDomainId() const
GlossaryStatus GetStatus() const
void SetName(NameT &&value)
const Aws::String & GetDescription() const
CreateGlossaryResult & WithDescription(DescriptionT &&value)
CreateGlossaryResult & WithOwningProjectId(OwningProjectIdT &&value)
const Aws::String & GetId() const
void SetStatus(GlossaryStatus value)
AWS_DATAZONE_API CreateGlossaryResult()=default
void SetOwningProjectId(OwningProjectIdT &&value)
const Aws::Vector< GlossaryUsageRestriction > & GetUsageRestrictions() const
CreateGlossaryResult & WithUsageRestrictions(UsageRestrictionsT &&value)
const Aws::String & GetOwningProjectId() const
CreateGlossaryResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
CreateGlossaryResult & AddUsageRestrictions(GlossaryUsageRestriction value)
CreateGlossaryResult & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue