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 DomainIdentifierT = Aws::String>
44 m_domainIdentifierHasBeenSet =
true;
45 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
47 template <
typename DomainIdentifierT = Aws::String>
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
78 template <
typename OwningProjectIdentifierT = Aws::String>
80 m_owningProjectIdentifierHasBeenSet =
true;
81 m_owningProjectIdentifier = std::forward<OwningProjectIdentifierT>(value);
83 template <
typename OwningProjectIdentifierT = Aws::String>
96 template <
typename DescriptionT = Aws::String>
98 m_descriptionHasBeenSet =
true;
99 m_description = std::forward<DescriptionT>(value);
101 template <
typename DescriptionT = Aws::String>
115 m_statusHasBeenSet =
true;
130 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
132 m_usageRestrictionsHasBeenSet =
true;
133 m_usageRestrictions = std::forward<UsageRestrictionsT>(value);
135 template <
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
141 m_usageRestrictionsHasBeenSet =
true;
142 m_usageRestrictions.push_back(value);
154 template <
typename ClientTokenT = Aws::String>
156 m_clientTokenHasBeenSet =
true;
157 m_clientToken = std::forward<ClientTokenT>(value);
159 template <
typename ClientTokenT = Aws::String>
179 bool m_domainIdentifierHasBeenSet =
false;
180 bool m_nameHasBeenSet =
false;
181 bool m_owningProjectIdentifierHasBeenSet =
false;
182 bool m_descriptionHasBeenSet =
false;
183 bool m_statusHasBeenSet =
false;
184 bool m_usageRestrictionsHasBeenSet =
false;
185 bool m_clientTokenHasBeenSet =
true;
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