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/DataZoneEntityType.h>
11#include <aws/datazone/model/OwnerProperties.h>
13#include <aws/core/utils/UUID.h>
45 template<
typename ClientTokenT = Aws::String>
46 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
47 template<
typename ClientTokenT = Aws::String>
57 template<
typename DomainIdentifierT = Aws::String>
58 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet =
true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
59 template<
typename DomainIdentifierT = Aws::String>
69 template<
typename EntityIdentifierT = Aws::String>
70 void SetEntityIdentifier(EntityIdentifierT&& value) { m_entityIdentifierHasBeenSet =
true; m_entityIdentifier = std::forward<EntityIdentifierT>(value); }
71 template<
typename EntityIdentifierT = Aws::String>
91 template<
typename OwnerT = OwnerProperties>
92 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
93 template<
typename OwnerT = OwnerProperties>
99 bool m_clientTokenHasBeenSet =
true;
102 bool m_domainIdentifierHasBeenSet =
false;
105 bool m_entityIdentifierHasBeenSet =
false;
108 bool m_entityTypeHasBeenSet =
false;
110 OwnerProperties m_owner;
111 bool m_ownerHasBeenSet =
false;
void SetEntityType(DataZoneEntityType value)
AddEntityOwnerRequest & WithEntityType(DataZoneEntityType value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
AddEntityOwnerRequest & WithClientToken(ClientTokenT &&value)
bool EntityIdentifierHasBeenSet() const
bool DomainIdentifierHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetEntityIdentifier() const
AddEntityOwnerRequest & WithEntityIdentifier(EntityIdentifierT &&value)
bool EntityTypeHasBeenSet() const
void SetDomainIdentifier(DomainIdentifierT &&value)
const Aws::String & GetDomainIdentifier() const
DataZoneEntityType GetEntityType() const
void SetOwner(OwnerT &&value)
void SetEntityIdentifier(EntityIdentifierT &&value)
AWS_DATAZONE_API AddEntityOwnerRequest()=default
bool OwnerHasBeenSet() const
bool ClientTokenHasBeenSet() const
const OwnerProperties & GetOwner() const
AddEntityOwnerRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AddEntityOwnerRequest & WithOwner(OwnerT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String