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/CreateEnvironmentProfilePolicyGrantDetail.h>
12#include <aws/datazone/model/CreateFormTypePolicyGrantDetail.h>
13#include <aws/datazone/model/CreateGlossaryPolicyGrantDetail.h>
14#include <aws/datazone/model/CreateProjectFromProjectProfilePolicyGrantDetail.h>
15#include <aws/datazone/model/CreateProjectPolicyGrantDetail.h>
16#include <aws/datazone/model/OverrideDomainUnitOwnersPolicyGrantDetail.h>
17#include <aws/datazone/model/OverrideProjectOwnersPolicyGrantDetail.h>
18#include <aws/datazone/model/Unit.h>
19#include <aws/datazone/model/UseAssetTypePolicyGrantDetail.h>
52 template <
typename AddToProjectMemberPoolT = AddToProjectMemberPoolPolicyGrantDetail>
54 m_addToProjectMemberPoolHasBeenSet =
true;
55 m_addToProjectMemberPool = std::forward<AddToProjectMemberPoolT>(value);
57 template <
typename AddToProjectMemberPoolT = AddToProjectMemberPoolPolicyGrantDetail>
70 template <
typename CreateAssetTypeT = CreateAssetTypePolicyGrantDetail>
72 m_createAssetTypeHasBeenSet =
true;
73 m_createAssetType = std::forward<CreateAssetTypeT>(value);
75 template <
typename CreateAssetTypeT = CreateAssetTypePolicyGrantDetail>
88 template <
typename CreateDomainUnitT = CreateDomainUnitPolicyGrantDetail>
90 m_createDomainUnitHasBeenSet =
true;
91 m_createDomainUnit = std::forward<CreateDomainUnitT>(value);
93 template <
typename CreateDomainUnitT = CreateDomainUnitPolicyGrantDetail>
106 template <
typename CreateEnvironmentT = Unit>
108 m_createEnvironmentHasBeenSet =
true;
109 m_createEnvironment = std::forward<CreateEnvironmentT>(value);
111 template <
typename CreateEnvironmentT = Unit>
122 template <
typename CreateEnvironmentFromBluepr
intT = Unit>
124 m_createEnvironmentFromBlueprintHasBeenSet =
true;
125 m_createEnvironmentFromBlueprint = std::forward<CreateEnvironmentFromBlueprintT>(value);
127 template <
typename CreateEnvironmentFromBluepr
intT = Unit>
140 template <
typename CreateEnvironmentProfileT = CreateEnvironmentProfilePolicyGrantDetail>
142 m_createEnvironmentProfileHasBeenSet =
true;
143 m_createEnvironmentProfile = std::forward<CreateEnvironmentProfileT>(value);
145 template <
typename CreateEnvironmentProfileT = CreateEnvironmentProfilePolicyGrantDetail>
158 template <
typename CreateFormTypeT = CreateFormTypePolicyGrantDetail>
160 m_createFormTypeHasBeenSet =
true;
161 m_createFormType = std::forward<CreateFormTypeT>(value);
163 template <
typename CreateFormTypeT = CreateFormTypePolicyGrantDetail>
176 template <
typename CreateGlossaryT = CreateGlossaryPolicyGrantDetail>
178 m_createGlossaryHasBeenSet =
true;
179 m_createGlossary = std::forward<CreateGlossaryT>(value);
181 template <
typename CreateGlossaryT = CreateGlossaryPolicyGrantDetail>
194 template <
typename CreateProjectT = CreateProjectPolicyGrantDetail>
196 m_createProjectHasBeenSet =
true;
197 m_createProject = std::forward<CreateProjectT>(value);
199 template <
typename CreateProjectT = CreateProjectPolicyGrantDetail>
211 return m_createProjectFromProjectProfile;
214 template <
typename CreateProjectFromProjectProfileT = CreateProjectFromProjectProfilePolicyGrantDetail>
216 m_createProjectFromProjectProfileHasBeenSet =
true;
217 m_createProjectFromProjectProfile = std::forward<CreateProjectFromProjectProfileT>(value);
219 template <
typename CreateProjectFromProjectProfileT = CreateProjectFromProjectProfilePolicyGrantDetail>
233 template <
typename DelegateCreateEnvironmentProfileT = Unit>
235 m_delegateCreateEnvironmentProfileHasBeenSet =
true;
236 m_delegateCreateEnvironmentProfile = std::forward<DelegateCreateEnvironmentProfileT>(value);
238 template <
typename DelegateCreateEnvironmentProfileT = Unit>
251 template <
typename Overr
ideDomainUnitOwnersT = Overr
ideDomainUnitOwnersPolicyGrantDetail>
253 m_overrideDomainUnitOwnersHasBeenSet =
true;
254 m_overrideDomainUnitOwners = std::forward<OverrideDomainUnitOwnersT>(value);
256 template <
typename Overr
ideDomainUnitOwnersT = Overr
ideDomainUnitOwnersPolicyGrantDetail>
269 template <
typename Overr
ideProjectOwnersT = Overr
ideProjectOwnersPolicyGrantDetail>
271 m_overrideProjectOwnersHasBeenSet =
true;
272 m_overrideProjectOwners = std::forward<OverrideProjectOwnersT>(value);
274 template <
typename Overr
ideProjectOwnersT = Overr
ideProjectOwnersPolicyGrantDetail>
288 template <
typename UseAssetTypeT = UseAssetTypePolicyGrantDetail>
290 m_useAssetTypeHasBeenSet =
true;
291 m_useAssetType = std::forward<UseAssetTypeT>(value);
293 template <
typename UseAssetTypeT = UseAssetTypePolicyGrantDetail>
301 bool m_addToProjectMemberPoolHasBeenSet =
false;
304 bool m_createAssetTypeHasBeenSet =
false;
307 bool m_createDomainUnitHasBeenSet =
false;
309 Unit m_createEnvironment;
310 bool m_createEnvironmentHasBeenSet =
false;
312 Unit m_createEnvironmentFromBlueprint;
313 bool m_createEnvironmentFromBlueprintHasBeenSet =
false;
316 bool m_createEnvironmentProfileHasBeenSet =
false;
319 bool m_createFormTypeHasBeenSet =
false;
322 bool m_createGlossaryHasBeenSet =
false;
325 bool m_createProjectHasBeenSet =
false;
328 bool m_createProjectFromProjectProfileHasBeenSet =
false;
330 Unit m_delegateCreateEnvironmentProfile;
331 bool m_delegateCreateEnvironmentProfileHasBeenSet =
false;
334 bool m_overrideDomainUnitOwnersHasBeenSet =
false;
337 bool m_overrideProjectOwnersHasBeenSet =
false;
340 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