7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/AddToProjectMemberPoolPolicyGrantDetail.h>
9#include <aws/datazone/model/CreateAssetTypePolicyGrantDetail.h>
10#include <aws/datazone/model/CreateDomainUnitPolicyGrantDetail.h>
11#include <aws/datazone/model/Unit.h>
12#include <aws/datazone/model/CreateEnvironmentProfilePolicyGrantDetail.h>
13#include <aws/datazone/model/CreateFormTypePolicyGrantDetail.h>
14#include <aws/datazone/model/CreateGlossaryPolicyGrantDetail.h>
15#include <aws/datazone/model/CreateProjectPolicyGrantDetail.h>
16#include <aws/datazone/model/OverrideDomainUnitOwnersPolicyGrantDetail.h>
17#include <aws/datazone/model/OverrideProjectOwnersPolicyGrantDetail.h>
93 inline void SetCreateEnvironment(
Unit&& value) { m_createEnvironmentHasBeenSet =
true; m_createEnvironment = std::move(value); }
185 bool m_addToProjectMemberPoolHasBeenSet =
false;
188 bool m_createAssetTypeHasBeenSet =
false;
191 bool m_createDomainUnitHasBeenSet =
false;
193 Unit m_createEnvironment;
194 bool m_createEnvironmentHasBeenSet =
false;
197 bool m_createEnvironmentProfileHasBeenSet =
false;
200 bool m_createFormTypeHasBeenSet =
false;
203 bool m_createGlossaryHasBeenSet =
false;
206 bool m_createProjectHasBeenSet =
false;
208 Unit m_delegateCreateEnvironmentProfile;
209 bool m_delegateCreateEnvironmentProfileHasBeenSet =
false;
212 bool m_overrideDomainUnitOwnersHasBeenSet =
false;
215 bool m_overrideProjectOwnersHasBeenSet =
false;
bool OverrideDomainUnitOwnersHasBeenSet() const
PolicyGrantDetail & WithOverrideProjectOwners(OverrideProjectOwnersPolicyGrantDetail &&value)
PolicyGrantDetail & WithOverrideDomainUnitOwners(OverrideDomainUnitOwnersPolicyGrantDetail &&value)
bool CreateProjectHasBeenSet() const
const Unit & GetCreateEnvironment() const
bool CreateFormTypeHasBeenSet() const
void SetOverrideProjectOwners(OverrideProjectOwnersPolicyGrantDetail &&value)
void SetCreateGlossary(const CreateGlossaryPolicyGrantDetail &value)
void SetCreateAssetType(CreateAssetTypePolicyGrantDetail &&value)
void SetCreateEnvironment(Unit &&value)
PolicyGrantDetail & WithAddToProjectMemberPool(AddToProjectMemberPoolPolicyGrantDetail &&value)
PolicyGrantDetail & WithAddToProjectMemberPool(const AddToProjectMemberPoolPolicyGrantDetail &value)
void SetCreateEnvironmentProfile(CreateEnvironmentProfilePolicyGrantDetail &&value)
AWS_DATAZONE_API PolicyGrantDetail()
const AddToProjectMemberPoolPolicyGrantDetail & GetAddToProjectMemberPool() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreateProject(const CreateProjectPolicyGrantDetail &value)
bool CreateEnvironmentProfileHasBeenSet() const
void SetAddToProjectMemberPool(AddToProjectMemberPoolPolicyGrantDetail &&value)
const CreateFormTypePolicyGrantDetail & GetCreateFormType() const
PolicyGrantDetail & WithCreateDomainUnit(const CreateDomainUnitPolicyGrantDetail &value)
bool CreateGlossaryHasBeenSet() const
void SetCreateFormType(const CreateFormTypePolicyGrantDetail &value)
void SetCreateDomainUnit(const CreateDomainUnitPolicyGrantDetail &value)
void SetCreateEnvironment(const Unit &value)
const CreateAssetTypePolicyGrantDetail & GetCreateAssetType() const
PolicyGrantDetail & WithCreateGlossary(CreateGlossaryPolicyGrantDetail &&value)
PolicyGrantDetail & WithOverrideDomainUnitOwners(const OverrideDomainUnitOwnersPolicyGrantDetail &value)
bool CreateDomainUnitHasBeenSet() const
const CreateGlossaryPolicyGrantDetail & GetCreateGlossary() const
PolicyGrantDetail & WithOverrideProjectOwners(const OverrideProjectOwnersPolicyGrantDetail &value)
PolicyGrantDetail & WithCreateFormType(const CreateFormTypePolicyGrantDetail &value)
const Unit & GetDelegateCreateEnvironmentProfile() const
AWS_DATAZONE_API PolicyGrantDetail(Aws::Utils::Json::JsonView jsonValue)
bool AddToProjectMemberPoolHasBeenSet() const
const OverrideDomainUnitOwnersPolicyGrantDetail & GetOverrideDomainUnitOwners() const
PolicyGrantDetail & WithCreateAssetType(CreateAssetTypePolicyGrantDetail &&value)
const CreateDomainUnitPolicyGrantDetail & GetCreateDomainUnit() const
const OverrideProjectOwnersPolicyGrantDetail & GetOverrideProjectOwners() const
bool OverrideProjectOwnersHasBeenSet() const
void SetCreateAssetType(const CreateAssetTypePolicyGrantDetail &value)
void SetCreateEnvironmentProfile(const CreateEnvironmentProfilePolicyGrantDetail &value)
bool DelegateCreateEnvironmentProfileHasBeenSet() const
PolicyGrantDetail & WithCreateGlossary(const CreateGlossaryPolicyGrantDetail &value)
void SetOverrideDomainUnitOwners(OverrideDomainUnitOwnersPolicyGrantDetail &&value)
PolicyGrantDetail & WithCreateProject(CreateProjectPolicyGrantDetail &&value)
void SetDelegateCreateEnvironmentProfile(const Unit &value)
void SetDelegateCreateEnvironmentProfile(Unit &&value)
bool CreateAssetTypeHasBeenSet() const
PolicyGrantDetail & WithCreateEnvironment(Unit &&value)
void SetCreateFormType(CreateFormTypePolicyGrantDetail &&value)
void SetCreateGlossary(CreateGlossaryPolicyGrantDetail &&value)
PolicyGrantDetail & WithCreateEnvironmentProfile(CreateEnvironmentProfilePolicyGrantDetail &&value)
const CreateProjectPolicyGrantDetail & GetCreateProject() const
PolicyGrantDetail & WithCreateAssetType(const CreateAssetTypePolicyGrantDetail &value)
void SetOverrideDomainUnitOwners(const OverrideDomainUnitOwnersPolicyGrantDetail &value)
void SetAddToProjectMemberPool(const AddToProjectMemberPoolPolicyGrantDetail &value)
void SetCreateDomainUnit(CreateDomainUnitPolicyGrantDetail &&value)
PolicyGrantDetail & WithCreateFormType(CreateFormTypePolicyGrantDetail &&value)
PolicyGrantDetail & WithCreateDomainUnit(CreateDomainUnitPolicyGrantDetail &&value)
const CreateEnvironmentProfilePolicyGrantDetail & GetCreateEnvironmentProfile() const
PolicyGrantDetail & WithDelegateCreateEnvironmentProfile(Unit &&value)
bool CreateEnvironmentHasBeenSet() const
void SetCreateProject(CreateProjectPolicyGrantDetail &&value)
PolicyGrantDetail & WithCreateEnvironmentProfile(const CreateEnvironmentProfilePolicyGrantDetail &value)
AWS_DATAZONE_API PolicyGrantDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOverrideProjectOwners(const OverrideProjectOwnersPolicyGrantDetail &value)
PolicyGrantDetail & WithCreateEnvironment(const Unit &value)
PolicyGrantDetail & WithDelegateCreateEnvironmentProfile(const Unit &value)
PolicyGrantDetail & WithCreateProject(const CreateProjectPolicyGrantDetail &value)
Aws::Utils::Json::JsonValue JsonValue