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/CreateProjectFromProjectProfilePolicyGrantDetail.h>
17#include <aws/datazone/model/OverrideDomainUnitOwnersPolicyGrantDetail.h>
18#include <aws/datazone/model/OverrideProjectOwnersPolicyGrantDetail.h>
19#include <aws/datazone/model/UseAssetTypePolicyGrantDetail.h>
58 template<
typename AddToProjectMemberPoolT = AddToProjectMemberPoolPolicyGrantDetail>
59 void SetAddToProjectMemberPool(AddToProjectMemberPoolT&& value) { m_addToProjectMemberPoolHasBeenSet =
true; m_addToProjectMemberPool = std::forward<AddToProjectMemberPoolT>(value); }
60 template<
typename AddToProjectMemberPoolT = AddToProjectMemberPoolPolicyGrantDetail>
70 template<
typename CreateAssetTypeT = CreateAssetTypePolicyGrantDetail>
71 void SetCreateAssetType(CreateAssetTypeT&& value) { m_createAssetTypeHasBeenSet =
true; m_createAssetType = std::forward<CreateAssetTypeT>(value); }
72 template<
typename CreateAssetTypeT = CreateAssetTypePolicyGrantDetail>
82 template<
typename CreateDomainUnitT = CreateDomainUnitPolicyGrantDetail>
83 void SetCreateDomainUnit(CreateDomainUnitT&& value) { m_createDomainUnitHasBeenSet =
true; m_createDomainUnit = std::forward<CreateDomainUnitT>(value); }
84 template<
typename CreateDomainUnitT = CreateDomainUnitPolicyGrantDetail>
94 template<
typename CreateEnvironmentT = Unit>
95 void SetCreateEnvironment(CreateEnvironmentT&& value) { m_createEnvironmentHasBeenSet =
true; m_createEnvironment = std::forward<CreateEnvironmentT>(value); }
96 template<
typename CreateEnvironmentT = Unit>
104 template<
typename CreateEnvironmentFromBluepr
intT = Unit>
105 void SetCreateEnvironmentFromBlueprint(CreateEnvironmentFromBlueprintT&& value) { m_createEnvironmentFromBlueprintHasBeenSet =
true; m_createEnvironmentFromBlueprint = std::forward<CreateEnvironmentFromBlueprintT>(value); }
106 template<
typename CreateEnvironmentFromBluepr
intT = Unit>
116 template<
typename CreateEnvironmentProfileT = CreateEnvironmentProfilePolicyGrantDetail>
117 void SetCreateEnvironmentProfile(CreateEnvironmentProfileT&& value) { m_createEnvironmentProfileHasBeenSet =
true; m_createEnvironmentProfile = std::forward<CreateEnvironmentProfileT>(value); }
118 template<
typename CreateEnvironmentProfileT = CreateEnvironmentProfilePolicyGrantDetail>
128 template<
typename CreateFormTypeT = CreateFormTypePolicyGrantDetail>
129 void SetCreateFormType(CreateFormTypeT&& value) { m_createFormTypeHasBeenSet =
true; m_createFormType = std::forward<CreateFormTypeT>(value); }
130 template<
typename CreateFormTypeT = CreateFormTypePolicyGrantDetail>
140 template<
typename CreateGlossaryT = CreateGlossaryPolicyGrantDetail>
141 void SetCreateGlossary(CreateGlossaryT&& value) { m_createGlossaryHasBeenSet =
true; m_createGlossary = std::forward<CreateGlossaryT>(value); }
142 template<
typename CreateGlossaryT = CreateGlossaryPolicyGrantDetail>
152 template<
typename CreateProjectT = CreateProjectPolicyGrantDetail>
153 void SetCreateProject(CreateProjectT&& value) { m_createProjectHasBeenSet =
true; m_createProject = std::forward<CreateProjectT>(value); }
154 template<
typename CreateProjectT = CreateProjectPolicyGrantDetail>
164 template<
typename CreateProjectFromProjectProfileT = CreateProjectFromProjectProfilePolicyGrantDetail>
165 void SetCreateProjectFromProjectProfile(CreateProjectFromProjectProfileT&& value) { m_createProjectFromProjectProfileHasBeenSet =
true; m_createProjectFromProjectProfile = std::forward<CreateProjectFromProjectProfileT>(value); }
166 template<
typename CreateProjectFromProjectProfileT = CreateProjectFromProjectProfilePolicyGrantDetail>
177 template<
typename DelegateCreateEnvironmentProfileT = Unit>
178 void SetDelegateCreateEnvironmentProfile(DelegateCreateEnvironmentProfileT&& value) { m_delegateCreateEnvironmentProfileHasBeenSet =
true; m_delegateCreateEnvironmentProfile = std::forward<DelegateCreateEnvironmentProfileT>(value); }
179 template<
typename DelegateCreateEnvironmentProfileT = Unit>
189 template<
typename Overr
ideDomainUnitOwnersT = Overr
ideDomainUnitOwnersPolicyGrantDetail>
190 void SetOverrideDomainUnitOwners(OverrideDomainUnitOwnersT&& value) { m_overrideDomainUnitOwnersHasBeenSet =
true; m_overrideDomainUnitOwners = std::forward<OverrideDomainUnitOwnersT>(value); }
191 template<
typename Overr
ideDomainUnitOwnersT = Overr
ideDomainUnitOwnersPolicyGrantDetail>
201 template<
typename Overr
ideProjectOwnersT = Overr
ideProjectOwnersPolicyGrantDetail>
202 void SetOverrideProjectOwners(OverrideProjectOwnersT&& value) { m_overrideProjectOwnersHasBeenSet =
true; m_overrideProjectOwners = std::forward<OverrideProjectOwnersT>(value); }
203 template<
typename Overr
ideProjectOwnersT = Overr
ideProjectOwnersPolicyGrantDetail>
214 template<
typename UseAssetTypeT = UseAssetTypePolicyGrantDetail>
215 void SetUseAssetType(UseAssetTypeT&& value) { m_useAssetTypeHasBeenSet =
true; m_useAssetType = std::forward<UseAssetTypeT>(value); }
216 template<
typename UseAssetTypeT = UseAssetTypePolicyGrantDetail>
222 bool m_addToProjectMemberPoolHasBeenSet =
false;
225 bool m_createAssetTypeHasBeenSet =
false;
228 bool m_createDomainUnitHasBeenSet =
false;
230 Unit m_createEnvironment;
231 bool m_createEnvironmentHasBeenSet =
false;
233 Unit m_createEnvironmentFromBlueprint;
234 bool m_createEnvironmentFromBlueprintHasBeenSet =
false;
237 bool m_createEnvironmentProfileHasBeenSet =
false;
240 bool m_createFormTypeHasBeenSet =
false;
243 bool m_createGlossaryHasBeenSet =
false;
246 bool m_createProjectHasBeenSet =
false;
249 bool m_createProjectFromProjectProfileHasBeenSet =
false;
251 Unit m_delegateCreateEnvironmentProfile;
252 bool m_delegateCreateEnvironmentProfileHasBeenSet =
false;
255 bool m_overrideDomainUnitOwnersHasBeenSet =
false;
258 bool m_overrideProjectOwnersHasBeenSet =
false;
261 bool m_useAssetTypeHasBeenSet =
false;
PolicyGrantDetail & WithCreateEnvironment(CreateEnvironmentT &&value)
bool OverrideDomainUnitOwnersHasBeenSet() const
bool CreateProjectHasBeenSet() const
const Unit & GetCreateEnvironment() const
bool CreateFormTypeHasBeenSet() const
const UseAssetTypePolicyGrantDetail & GetUseAssetType() const
bool CreateEnvironmentFromBlueprintHasBeenSet() const
PolicyGrantDetail & WithDelegateCreateEnvironmentProfile(DelegateCreateEnvironmentProfileT &&value)
PolicyGrantDetail & WithCreateProject(CreateProjectT &&value)
PolicyGrantDetail & WithUseAssetType(UseAssetTypeT &&value)
const AddToProjectMemberPoolPolicyGrantDetail & GetAddToProjectMemberPool() const
PolicyGrantDetail & WithCreateDomainUnit(CreateDomainUnitT &&value)
PolicyGrantDetail & WithAddToProjectMemberPool(AddToProjectMemberPoolT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreateEnvironmentProfileHasBeenSet() const
const CreateFormTypePolicyGrantDetail & GetCreateFormType() const
bool CreateGlossaryHasBeenSet() const
PolicyGrantDetail & WithCreateEnvironmentProfile(CreateEnvironmentProfileT &&value)
void SetCreateProjectFromProjectProfile(CreateProjectFromProjectProfileT &&value)
void SetDelegateCreateEnvironmentProfile(DelegateCreateEnvironmentProfileT &&value)
void SetCreateEnvironmentFromBlueprint(CreateEnvironmentFromBlueprintT &&value)
const CreateAssetTypePolicyGrantDetail & GetCreateAssetType() const
void SetCreateFormType(CreateFormTypeT &&value)
bool CreateDomainUnitHasBeenSet() const
AWS_DATAZONE_API PolicyGrantDetail()=default
const CreateGlossaryPolicyGrantDetail & GetCreateGlossary() const
void SetAddToProjectMemberPool(AddToProjectMemberPoolT &&value)
void SetOverrideDomainUnitOwners(OverrideDomainUnitOwnersT &&value)
const Unit & GetDelegateCreateEnvironmentProfile() const
const CreateProjectFromProjectProfilePolicyGrantDetail & GetCreateProjectFromProjectProfile() const
AWS_DATAZONE_API PolicyGrantDetail(Aws::Utils::Json::JsonView jsonValue)
bool AddToProjectMemberPoolHasBeenSet() const
PolicyGrantDetail & WithCreateEnvironmentFromBlueprint(CreateEnvironmentFromBlueprintT &&value)
const OverrideDomainUnitOwnersPolicyGrantDetail & GetOverrideDomainUnitOwners() const
const CreateDomainUnitPolicyGrantDetail & GetCreateDomainUnit() const
const OverrideProjectOwnersPolicyGrantDetail & GetOverrideProjectOwners() const
bool OverrideProjectOwnersHasBeenSet() const
void SetCreateDomainUnit(CreateDomainUnitT &&value)
bool DelegateCreateEnvironmentProfileHasBeenSet() const
void SetUseAssetType(UseAssetTypeT &&value)
PolicyGrantDetail & WithCreateFormType(CreateFormTypeT &&value)
PolicyGrantDetail & WithCreateAssetType(CreateAssetTypeT &&value)
bool CreateAssetTypeHasBeenSet() const
bool UseAssetTypeHasBeenSet() const
PolicyGrantDetail & WithCreateGlossary(CreateGlossaryT &&value)
void SetCreateAssetType(CreateAssetTypeT &&value)
void SetCreateGlossary(CreateGlossaryT &&value)
const CreateProjectPolicyGrantDetail & GetCreateProject() const
bool CreateProjectFromProjectProfileHasBeenSet() const
PolicyGrantDetail & WithCreateProjectFromProjectProfile(CreateProjectFromProjectProfileT &&value)
PolicyGrantDetail & WithOverrideDomainUnitOwners(OverrideDomainUnitOwnersT &&value)
void SetCreateEnvironment(CreateEnvironmentT &&value)
void SetCreateEnvironmentProfile(CreateEnvironmentProfileT &&value)
const CreateEnvironmentProfilePolicyGrantDetail & GetCreateEnvironmentProfile() const
void SetCreateProject(CreateProjectT &&value)
void SetOverrideProjectOwners(OverrideProjectOwnersT &&value)
bool CreateEnvironmentHasBeenSet() const
AWS_DATAZONE_API PolicyGrantDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicyGrantDetail & WithOverrideProjectOwners(OverrideProjectOwnersT &&value)
const Unit & GetCreateEnvironmentFromBlueprint() const
Aws::Utils::Json::JsonValue JsonValue