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>
107 template <
typename DescriptionT = Aws::String>
109 m_descriptionHasBeenSet =
true;
110 m_description = std::forward<DescriptionT>(value);
112 template <
typename DescriptionT = Aws::String>
126 m_statusHasBeenSet =
true;
140 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
142 m_usageRestrictionsHasBeenSet =
true;
143 m_usageRestrictions = std::forward<UsageRestrictionsT>(value);
145 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
151 m_usageRestrictionsHasBeenSet =
true;
152 m_usageRestrictions.push_back(value);
160 template <
typename RequestIdT = Aws::String>
162 m_requestIdHasBeenSet =
true;
163 m_requestId = std::forward<RequestIdT>(value);
165 template <
typename RequestIdT = Aws::String>
187 bool m_domainIdHasBeenSet =
false;
188 bool m_idHasBeenSet =
false;
189 bool m_nameHasBeenSet =
false;
190 bool m_owningProjectIdHasBeenSet =
false;
191 bool m_descriptionHasBeenSet =
false;
192 bool m_statusHasBeenSet =
false;
193 bool m_usageRestrictionsHasBeenSet =
false;
194 bool m_requestIdHasBeenSet =
false;
UpdateGlossaryResult & WithRequestId(RequestIdT &&value)
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