7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/ManagedPolicyType.h>
12#include <aws/datazone/model/PolicyGrantPrincipal.h>
13#include <aws/datazone/model/TargetEntityType.h>
41 template <
typename DomainIdentifierT = Aws::String>
43 m_domainIdentifierHasBeenSet =
true;
44 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
46 template <
typename DomainIdentifierT = Aws::String>
60 m_entityTypeHasBeenSet =
true;
75 template <
typename EntityIdentifierT = Aws::String>
77 m_entityIdentifierHasBeenSet =
true;
78 m_entityIdentifier = std::forward<EntityIdentifierT>(value);
80 template <
typename EntityIdentifierT = Aws::String>
94 m_policyTypeHasBeenSet =
true;
109 template <
typename PrincipalT = PolicyGrantPrincipal>
111 m_principalHasBeenSet =
true;
112 m_principal = std::forward<PrincipalT>(value);
114 template <
typename PrincipalT = PolicyGrantPrincipal>
127 template <
typename GrantIdentifierT = Aws::String>
129 m_grantIdentifierHasBeenSet =
true;
130 m_grantIdentifier = std::forward<GrantIdentifierT>(value);
132 template <
typename GrantIdentifierT = Aws::String>
146 template <
typename ClientTokenT = Aws::String>
148 m_clientTokenHasBeenSet =
true;
149 m_clientToken = std::forward<ClientTokenT>(value);
151 template <
typename ClientTokenT = Aws::String>
166 PolicyGrantPrincipal m_principal;
171 bool m_domainIdentifierHasBeenSet =
false;
172 bool m_entityTypeHasBeenSet =
false;
173 bool m_entityIdentifierHasBeenSet =
false;
174 bool m_policyTypeHasBeenSet =
false;
175 bool m_principalHasBeenSet =
false;
176 bool m_grantIdentifierHasBeenSet =
false;
177 bool m_clientTokenHasBeenSet =
true;
void SetPolicyType(ManagedPolicyType value)
void SetPrincipal(PrincipalT &&value)
void SetDomainIdentifier(DomainIdentifierT &&value)
const Aws::String & GetDomainIdentifier() const
RemovePolicyGrantRequest & WithClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
RemovePolicyGrantRequest & WithEntityType(TargetEntityType value)
const Aws::String & GetEntityIdentifier() const
RemovePolicyGrantRequest & WithEntityIdentifier(EntityIdentifierT &&value)
RemovePolicyGrantRequest & WithPolicyType(ManagedPolicyType value)
RemovePolicyGrantRequest & WithGrantIdentifier(GrantIdentifierT &&value)
RemovePolicyGrantRequest & WithDomainIdentifier(DomainIdentifierT &&value)
TargetEntityType GetEntityType() const
bool EntityIdentifierHasBeenSet() const
bool DomainIdentifierHasBeenSet() const
const PolicyGrantPrincipal & GetPrincipal() const
void SetGrantIdentifier(GrantIdentifierT &&value)
ManagedPolicyType GetPolicyType() const
AWS_DATAZONE_API RemovePolicyGrantRequest()=default
const Aws::String & GetGrantIdentifier() const
void SetEntityType(TargetEntityType value)
bool PolicyTypeHasBeenSet() const
void SetEntityIdentifier(EntityIdentifierT &&value)
bool EntityTypeHasBeenSet() const
RemovePolicyGrantRequest & WithPrincipal(PrincipalT &&value)
const Aws::String & GetClientToken() const
bool PrincipalHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool GrantIdentifierHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String