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/TargetEntityType.h>
11#include <aws/datazone/model/ManagedPolicyType.h>
12#include <aws/datazone/model/PolicyGrantPrincipal.h>
14#include <aws/core/utils/UUID.h>
48 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
62 inline void SetDomainIdentifier(
const char* value) { m_domainIdentifierHasBeenSet =
true; m_domainIdentifier.assign(value); }
76 inline void SetEntityIdentifier(
const char* value) { m_entityIdentifierHasBeenSet =
true; m_entityIdentifier.assign(value); }
120 bool m_clientTokenHasBeenSet =
false;
123 bool m_domainIdentifierHasBeenSet =
false;
126 bool m_entityIdentifierHasBeenSet =
false;
129 bool m_entityTypeHasBeenSet =
false;
132 bool m_policyTypeHasBeenSet =
false;
135 bool m_principalHasBeenSet =
false;
RemovePolicyGrantRequest & WithPolicyType(const ManagedPolicyType &value)
const Aws::String & GetDomainIdentifier() const
RemovePolicyGrantRequest & WithDomainIdentifier(const Aws::String &value)
void SetEntityType(const TargetEntityType &value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetEntityIdentifier() const
const ManagedPolicyType & GetPolicyType() const
void SetDomainIdentifier(Aws::String &&value)
void SetPolicyType(ManagedPolicyType &&value)
bool EntityIdentifierHasBeenSet() const
bool DomainIdentifierHasBeenSet() const
void SetPolicyType(const ManagedPolicyType &value)
const PolicyGrantPrincipal & GetPrincipal() const
void SetEntityIdentifier(const Aws::String &value)
void SetPrincipal(const PolicyGrantPrincipal &value)
void SetClientToken(const char *value)
void SetPrincipal(PolicyGrantPrincipal &&value)
void SetDomainIdentifier(const Aws::String &value)
bool PolicyTypeHasBeenSet() const
RemovePolicyGrantRequest & WithDomainIdentifier(const char *value)
RemovePolicyGrantRequest & WithClientToken(const Aws::String &value)
bool EntityTypeHasBeenSet() const
RemovePolicyGrantRequest & WithPrincipal(PolicyGrantPrincipal &&value)
const Aws::String & GetClientToken() const
void SetClientToken(const Aws::String &value)
RemovePolicyGrantRequest & WithPolicyType(ManagedPolicyType &&value)
RemovePolicyGrantRequest & WithClientToken(Aws::String &&value)
bool PrincipalHasBeenSet() const
void SetEntityType(TargetEntityType &&value)
const TargetEntityType & GetEntityType() const
RemovePolicyGrantRequest & WithPrincipal(const PolicyGrantPrincipal &value)
void SetDomainIdentifier(const char *value)
RemovePolicyGrantRequest & WithEntityIdentifier(Aws::String &&value)
RemovePolicyGrantRequest & WithEntityIdentifier(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API RemovePolicyGrantRequest()
RemovePolicyGrantRequest & WithDomainIdentifier(Aws::String &&value)
void SetEntityIdentifier(const char *value)
RemovePolicyGrantRequest & WithEntityIdentifier(const Aws::String &value)
void SetClientToken(Aws::String &&value)
RemovePolicyGrantRequest & WithEntityType(const TargetEntityType &value)
RemovePolicyGrantRequest & WithClientToken(const char *value)
RemovePolicyGrantRequest & WithEntityType(TargetEntityType &&value)
void SetEntityIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String