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/GlossaryStatus.h>
12#include <aws/datazone/model/GlossaryUsageRestriction.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
39 template <
typename DomainIdT = Aws::String>
41 m_domainIdHasBeenSet =
true;
42 m_domainId = std::forward<DomainIdT>(value);
44 template <
typename DomainIdT = Aws::String>
56 template <
typename IdT = Aws::String>
58 m_idHasBeenSet =
true;
59 m_id = std::forward<IdT>(value);
61 template <
typename IdT = Aws::String>
63 SetId(std::forward<IdT>(value));
73 template <
typename NameT = Aws::String>
75 m_nameHasBeenSet =
true;
76 m_name = std::forward<NameT>(value);
78 template <
typename NameT = Aws::String>
80 SetName(std::forward<NameT>(value));
90 template <
typename OwningProjectIdT = Aws::String>
92 m_owningProjectIdHasBeenSet =
true;
93 m_owningProjectId = std::forward<OwningProjectIdT>(value);
95 template <
typename OwningProjectIdT = Aws::String>
108 template <
typename DescriptionT = Aws::String>
110 m_descriptionHasBeenSet =
true;
111 m_description = std::forward<DescriptionT>(value);
113 template <
typename DescriptionT = Aws::String>
127 m_statusHasBeenSet =
true;
141 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
143 m_usageRestrictionsHasBeenSet =
true;
144 m_usageRestrictions = std::forward<UsageRestrictionsT>(value);
146 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
152 m_usageRestrictionsHasBeenSet =
true;
153 m_usageRestrictions.push_back(value);
161 template <
typename RequestIdT = Aws::String>
163 m_requestIdHasBeenSet =
true;
164 m_requestId = std::forward<RequestIdT>(value);
166 template <
typename RequestIdT = Aws::String>
191 bool m_domainIdHasBeenSet =
false;
192 bool m_idHasBeenSet =
false;
193 bool m_nameHasBeenSet =
false;
194 bool m_owningProjectIdHasBeenSet =
false;
195 bool m_descriptionHasBeenSet =
false;
196 bool m_statusHasBeenSet =
false;
197 bool m_usageRestrictionsHasBeenSet =
false;
198 bool m_requestIdHasBeenSet =
false;
UpdateGlossaryResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
const Aws::Vector< GlossaryUsageRestriction > & GetUsageRestrictions() const
const Aws::String & GetDomainId() const
UpdateGlossaryResult & WithDescription(DescriptionT &&value)
void SetOwningProjectId(OwningProjectIdT &&value)
void SetStatus(GlossaryStatus value)
GlossaryStatus GetStatus() const
void SetUsageRestrictions(UsageRestrictionsT &&value)
const Aws::String & GetDescription() const
AWS_DATAZONE_API UpdateGlossaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetId() const
UpdateGlossaryResult & WithStatus(GlossaryStatus value)
UpdateGlossaryResult & WithId(IdT &&value)
AWS_DATAZONE_API UpdateGlossaryResult()=default
UpdateGlossaryResult & AddUsageRestrictions(GlossaryUsageRestriction value)
void SetName(NameT &&value)
void SetDomainId(DomainIdT &&value)
AWS_DATAZONE_API UpdateGlossaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDescription(DescriptionT &&value)
const Aws::String & GetName() const
const Aws::String & GetOwningProjectId() const
UpdateGlossaryResult & WithDomainId(DomainIdT &&value)
UpdateGlossaryResult & WithName(NameT &&value)
UpdateGlossaryResult & WithOwningProjectId(OwningProjectIdT &&value)
UpdateGlossaryResult & WithUsageRestrictions(UsageRestrictionsT &&value)
void SetRequestId(RequestIdT &&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