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>
107 template <
typename DescriptionT = Aws::String>
109 m_descriptionHasBeenSet =
true;
110 m_description = std::forward<DescriptionT>(value);
112 template <
typename DescriptionT = Aws::String>
125 m_statusHasBeenSet =
true;
139 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
141 m_usageRestrictionsHasBeenSet =
true;
142 m_usageRestrictions = std::forward<UsageRestrictionsT>(value);
144 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
150 m_usageRestrictionsHasBeenSet =
true;
151 m_usageRestrictions.push_back(value);
159 template <
typename RequestIdT = Aws::String>
161 m_requestIdHasBeenSet =
true;
162 m_requestId = std::forward<RequestIdT>(value);
164 template <
typename RequestIdT = Aws::String>
189 bool m_domainIdHasBeenSet =
false;
190 bool m_idHasBeenSet =
false;
191 bool m_nameHasBeenSet =
false;
192 bool m_owningProjectIdHasBeenSet =
false;
193 bool m_descriptionHasBeenSet =
false;
194 bool m_statusHasBeenSet =
false;
195 bool m_usageRestrictionsHasBeenSet =
false;
196 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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