7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZoneRequest.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/GlossaryStatus.h>
13#include <aws/datazone/model/GlossaryUsageRestriction.h>
42 template <
typename ClientTokenT = Aws::String>
44 m_clientTokenHasBeenSet =
true;
45 m_clientToken = std::forward<ClientTokenT>(value);
47 template <
typename ClientTokenT = Aws::String>
60 template <
typename DescriptionT = Aws::String>
62 m_descriptionHasBeenSet =
true;
63 m_description = std::forward<DescriptionT>(value);
65 template <
typename DescriptionT = Aws::String>
79 template <
typename DomainIdentifierT = Aws::String>
81 m_domainIdentifierHasBeenSet =
true;
82 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
84 template <
typename DomainIdentifierT = Aws::String>
97 template <
typename NameT = Aws::String>
99 m_nameHasBeenSet =
true;
100 m_name = std::forward<NameT>(value);
102 template <
typename NameT = Aws::String>
104 SetName(std::forward<NameT>(value));
115 template <
typename OwningProjectIdentifierT = Aws::String>
117 m_owningProjectIdentifierHasBeenSet =
true;
118 m_owningProjectIdentifier = std::forward<OwningProjectIdentifierT>(value);
120 template <
typename OwningProjectIdentifierT = Aws::String>
134 m_statusHasBeenSet =
true;
149 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
151 m_usageRestrictionsHasBeenSet =
true;
152 m_usageRestrictions = std::forward<UsageRestrictionsT>(value);
154 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
160 m_usageRestrictionsHasBeenSet =
true;
161 m_usageRestrictions.push_back(value);
167 bool m_clientTokenHasBeenSet =
true;
170 bool m_descriptionHasBeenSet =
false;
173 bool m_domainIdentifierHasBeenSet =
false;
176 bool m_nameHasBeenSet =
false;
179 bool m_owningProjectIdentifierHasBeenSet =
false;
182 bool m_statusHasBeenSet =
false;
185 bool m_usageRestrictionsHasBeenSet =
false;
CreateGlossaryRequest & WithName(NameT &&value)
CreateGlossaryRequest & WithDomainIdentifier(DomainIdentifierT &&value)
CreateGlossaryRequest & WithUsageRestrictions(UsageRestrictionsT &&value)
bool ClientTokenHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetOwningProjectIdentifier(OwningProjectIdentifierT &&value)
CreateGlossaryRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetDomainIdentifier() const
GlossaryStatus GetStatus() const
void SetStatus(GlossaryStatus value)
CreateGlossaryRequest & WithClientToken(ClientTokenT &&value)
bool UsageRestrictionsHasBeenSet() const
const Aws::String & GetName() const
const Aws::Vector< GlossaryUsageRestriction > & GetUsageRestrictions() const
bool NameHasBeenSet() const
const Aws::String & GetDescription() const
void SetDomainIdentifier(DomainIdentifierT &&value)
void SetUsageRestrictions(UsageRestrictionsT &&value)
virtual const char * GetServiceRequestName() const override
bool StatusHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetClientToken() const
const Aws::String & GetOwningProjectIdentifier() const
void SetName(NameT &&value)
CreateGlossaryRequest & WithOwningProjectIdentifier(OwningProjectIdentifierT &&value)
AWS_DATAZONE_API CreateGlossaryRequest()=default
bool OwningProjectIdentifierHasBeenSet() const
AWS_DATAZONE_API Aws::String SerializePayload() const override
bool DomainIdentifierHasBeenSet() const
CreateGlossaryRequest & WithStatus(GlossaryStatus value)
CreateGlossaryRequest & AddUsageRestrictions(GlossaryUsageRestriction value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector