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/PolicyGrantDetail.h>
11#include <aws/datazone/model/TargetEntityType.h>
12#include <aws/datazone/model/ManagedPolicyType.h>
13#include <aws/datazone/model/PolicyGrantPrincipal.h>
15#include <aws/core/utils/UUID.h>
49 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
75 inline void SetDomainIdentifier(
const char* value) { m_domainIdentifierHasBeenSet =
true; m_domainIdentifier.assign(value); }
89 inline void SetEntityIdentifier(
const char* value) { m_entityIdentifierHasBeenSet =
true; m_entityIdentifier.assign(value); }
133 bool m_clientTokenHasBeenSet =
false;
136 bool m_detailHasBeenSet =
false;
139 bool m_domainIdentifierHasBeenSet =
false;
142 bool m_entityIdentifierHasBeenSet =
false;
145 bool m_entityTypeHasBeenSet =
false;
148 bool m_policyTypeHasBeenSet =
false;
151 bool m_principalHasBeenSet =
false;
AddPolicyGrantRequest & WithEntityIdentifier(const Aws::String &value)
AddPolicyGrantRequest & WithEntityType(const TargetEntityType &value)
bool EntityTypeHasBeenSet() const
AddPolicyGrantRequest & WithEntityIdentifier(Aws::String &&value)
AddPolicyGrantRequest & WithDetail(const PolicyGrantDetail &value)
void SetPolicyType(const ManagedPolicyType &value)
void SetPolicyType(ManagedPolicyType &&value)
virtual const char * GetServiceRequestName() const override
void SetClientToken(const char *value)
const PolicyGrantDetail & GetDetail() const
const TargetEntityType & GetEntityType() const
bool DetailHasBeenSet() const
bool PolicyTypeHasBeenSet() const
const PolicyGrantPrincipal & GetPrincipal() const
const Aws::String & GetEntityIdentifier() const
void SetDomainIdentifier(Aws::String &&value)
const ManagedPolicyType & GetPolicyType() const
void SetEntityIdentifier(const char *value)
AddPolicyGrantRequest & WithClientToken(const Aws::String &value)
AddPolicyGrantRequest & WithPolicyType(ManagedPolicyType &&value)
void SetDomainIdentifier(const char *value)
void SetClientToken(const Aws::String &value)
AddPolicyGrantRequest & WithDomainIdentifier(const Aws::String &value)
AddPolicyGrantRequest & WithDomainIdentifier(Aws::String &&value)
AddPolicyGrantRequest & WithClientToken(Aws::String &&value)
bool EntityIdentifierHasBeenSet() const
void SetClientToken(Aws::String &&value)
AddPolicyGrantRequest & WithEntityType(TargetEntityType &&value)
const Aws::String & GetDomainIdentifier() const
AddPolicyGrantRequest & WithPolicyType(const ManagedPolicyType &value)
AddPolicyGrantRequest & WithClientToken(const char *value)
AddPolicyGrantRequest & WithDomainIdentifier(const char *value)
bool DomainIdentifierHasBeenSet() const
void SetEntityIdentifier(Aws::String &&value)
AddPolicyGrantRequest & WithPrincipal(PolicyGrantPrincipal &&value)
bool ClientTokenHasBeenSet() const
void SetDomainIdentifier(const Aws::String &value)
void SetPrincipal(const PolicyGrantPrincipal &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
const Aws::String & GetClientToken() const
AddPolicyGrantRequest & WithDetail(PolicyGrantDetail &&value)
AddPolicyGrantRequest & WithEntityIdentifier(const char *value)
void SetEntityType(TargetEntityType &&value)
void SetPrincipal(PolicyGrantPrincipal &&value)
void SetEntityIdentifier(const Aws::String &value)
bool PrincipalHasBeenSet() const
void SetEntityType(const TargetEntityType &value)
void SetDetail(const PolicyGrantDetail &value)
AWS_DATAZONE_API AddPolicyGrantRequest()
void SetDetail(PolicyGrantDetail &&value)
AddPolicyGrantRequest & WithPrincipal(const PolicyGrantPrincipal &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String