7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/GlossaryStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datazone/model/GlossaryUsageRestriction.h>
14#include <aws/core/utils/UUID.h>
46 template<
typename ClientTokenT = Aws::String>
47 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
48 template<
typename ClientTokenT = Aws::String>
58 template<
typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
60 template<
typename DescriptionT = Aws::String>
71 template<
typename DomainIdentifierT = Aws::String>
72 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet =
true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
73 template<
typename DomainIdentifierT = Aws::String>
83 template<
typename NameT = Aws::String>
84 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
85 template<
typename NameT = Aws::String>
95 template<
typename OwningProjectIdentifierT = Aws::String>
96 void SetOwningProjectIdentifier(OwningProjectIdentifierT&& value) { m_owningProjectIdentifierHasBeenSet =
true; m_owningProjectIdentifier = std::forward<OwningProjectIdentifierT>(value); }
97 template<
typename OwningProjectIdentifierT = Aws::String>
117 template<
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
118 void SetUsageRestrictions(UsageRestrictionsT&& value) { m_usageRestrictionsHasBeenSet =
true; m_usageRestrictions = std::forward<UsageRestrictionsT>(value); }
119 template<
typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
126 bool m_clientTokenHasBeenSet =
true;
129 bool m_descriptionHasBeenSet =
false;
132 bool m_domainIdentifierHasBeenSet =
false;
135 bool m_nameHasBeenSet =
false;
138 bool m_owningProjectIdentifierHasBeenSet =
false;
141 bool m_statusHasBeenSet =
false;
144 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