AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PolicyGrantDetail.h
1
6#pragma once
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>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace DataZone
31{
32namespace Model
33{
34
41 {
42 public:
43 AWS_DATAZONE_API PolicyGrantDetail();
44 AWS_DATAZONE_API PolicyGrantDetail(Aws::Utils::Json::JsonView jsonValue);
46 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
54 inline const AddToProjectMemberPoolPolicyGrantDetail& GetAddToProjectMemberPool() const{ return m_addToProjectMemberPool; }
55 inline bool AddToProjectMemberPoolHasBeenSet() const { return m_addToProjectMemberPoolHasBeenSet; }
56 inline void SetAddToProjectMemberPool(const AddToProjectMemberPoolPolicyGrantDetail& value) { m_addToProjectMemberPoolHasBeenSet = true; m_addToProjectMemberPool = value; }
57 inline void SetAddToProjectMemberPool(AddToProjectMemberPoolPolicyGrantDetail&& value) { m_addToProjectMemberPoolHasBeenSet = true; m_addToProjectMemberPool = std::move(value); }
61
63
66 inline const CreateAssetTypePolicyGrantDetail& GetCreateAssetType() const{ return m_createAssetType; }
67 inline bool CreateAssetTypeHasBeenSet() const { return m_createAssetTypeHasBeenSet; }
68 inline void SetCreateAssetType(const CreateAssetTypePolicyGrantDetail& value) { m_createAssetTypeHasBeenSet = true; m_createAssetType = value; }
69 inline void SetCreateAssetType(CreateAssetTypePolicyGrantDetail&& value) { m_createAssetTypeHasBeenSet = true; m_createAssetType = std::move(value); }
73
75
78 inline const CreateDomainUnitPolicyGrantDetail& GetCreateDomainUnit() const{ return m_createDomainUnit; }
79 inline bool CreateDomainUnitHasBeenSet() const { return m_createDomainUnitHasBeenSet; }
80 inline void SetCreateDomainUnit(const CreateDomainUnitPolicyGrantDetail& value) { m_createDomainUnitHasBeenSet = true; m_createDomainUnit = value; }
81 inline void SetCreateDomainUnit(CreateDomainUnitPolicyGrantDetail&& value) { m_createDomainUnitHasBeenSet = true; m_createDomainUnit = std::move(value); }
85
87
90 inline const Unit& GetCreateEnvironment() const{ return m_createEnvironment; }
91 inline bool CreateEnvironmentHasBeenSet() const { return m_createEnvironmentHasBeenSet; }
92 inline void SetCreateEnvironment(const Unit& value) { m_createEnvironmentHasBeenSet = true; m_createEnvironment = value; }
93 inline void SetCreateEnvironment(Unit&& value) { m_createEnvironmentHasBeenSet = true; m_createEnvironment = std::move(value); }
94 inline PolicyGrantDetail& WithCreateEnvironment(const Unit& value) { SetCreateEnvironment(value); return *this;}
95 inline PolicyGrantDetail& WithCreateEnvironment(Unit&& value) { SetCreateEnvironment(std::move(value)); return *this;}
97
99
102 inline const CreateEnvironmentProfilePolicyGrantDetail& GetCreateEnvironmentProfile() const{ return m_createEnvironmentProfile; }
103 inline bool CreateEnvironmentProfileHasBeenSet() const { return m_createEnvironmentProfileHasBeenSet; }
104 inline void SetCreateEnvironmentProfile(const CreateEnvironmentProfilePolicyGrantDetail& value) { m_createEnvironmentProfileHasBeenSet = true; m_createEnvironmentProfile = value; }
105 inline void SetCreateEnvironmentProfile(CreateEnvironmentProfilePolicyGrantDetail&& value) { m_createEnvironmentProfileHasBeenSet = true; m_createEnvironmentProfile = std::move(value); }
109
111
114 inline const CreateFormTypePolicyGrantDetail& GetCreateFormType() const{ return m_createFormType; }
115 inline bool CreateFormTypeHasBeenSet() const { return m_createFormTypeHasBeenSet; }
116 inline void SetCreateFormType(const CreateFormTypePolicyGrantDetail& value) { m_createFormTypeHasBeenSet = true; m_createFormType = value; }
117 inline void SetCreateFormType(CreateFormTypePolicyGrantDetail&& value) { m_createFormTypeHasBeenSet = true; m_createFormType = std::move(value); }
121
123
126 inline const CreateGlossaryPolicyGrantDetail& GetCreateGlossary() const{ return m_createGlossary; }
127 inline bool CreateGlossaryHasBeenSet() const { return m_createGlossaryHasBeenSet; }
128 inline void SetCreateGlossary(const CreateGlossaryPolicyGrantDetail& value) { m_createGlossaryHasBeenSet = true; m_createGlossary = value; }
129 inline void SetCreateGlossary(CreateGlossaryPolicyGrantDetail&& value) { m_createGlossaryHasBeenSet = true; m_createGlossary = std::move(value); }
133
135
138 inline const CreateProjectPolicyGrantDetail& GetCreateProject() const{ return m_createProject; }
139 inline bool CreateProjectHasBeenSet() const { return m_createProjectHasBeenSet; }
140 inline void SetCreateProject(const CreateProjectPolicyGrantDetail& value) { m_createProjectHasBeenSet = true; m_createProject = value; }
141 inline void SetCreateProject(CreateProjectPolicyGrantDetail&& value) { m_createProjectHasBeenSet = true; m_createProject = std::move(value); }
143 inline PolicyGrantDetail& WithCreateProject(CreateProjectPolicyGrantDetail&& value) { SetCreateProject(std::move(value)); return *this;}
145
147
151 inline const Unit& GetDelegateCreateEnvironmentProfile() const{ return m_delegateCreateEnvironmentProfile; }
152 inline bool DelegateCreateEnvironmentProfileHasBeenSet() const { return m_delegateCreateEnvironmentProfileHasBeenSet; }
153 inline void SetDelegateCreateEnvironmentProfile(const Unit& value) { m_delegateCreateEnvironmentProfileHasBeenSet = true; m_delegateCreateEnvironmentProfile = value; }
154 inline void SetDelegateCreateEnvironmentProfile(Unit&& value) { m_delegateCreateEnvironmentProfileHasBeenSet = true; m_delegateCreateEnvironmentProfile = std::move(value); }
158
160
163 inline const OverrideDomainUnitOwnersPolicyGrantDetail& GetOverrideDomainUnitOwners() const{ return m_overrideDomainUnitOwners; }
164 inline bool OverrideDomainUnitOwnersHasBeenSet() const { return m_overrideDomainUnitOwnersHasBeenSet; }
165 inline void SetOverrideDomainUnitOwners(const OverrideDomainUnitOwnersPolicyGrantDetail& value) { m_overrideDomainUnitOwnersHasBeenSet = true; m_overrideDomainUnitOwners = value; }
166 inline void SetOverrideDomainUnitOwners(OverrideDomainUnitOwnersPolicyGrantDetail&& value) { m_overrideDomainUnitOwnersHasBeenSet = true; m_overrideDomainUnitOwners = std::move(value); }
170
172
175 inline const OverrideProjectOwnersPolicyGrantDetail& GetOverrideProjectOwners() const{ return m_overrideProjectOwners; }
176 inline bool OverrideProjectOwnersHasBeenSet() const { return m_overrideProjectOwnersHasBeenSet; }
177 inline void SetOverrideProjectOwners(const OverrideProjectOwnersPolicyGrantDetail& value) { m_overrideProjectOwnersHasBeenSet = true; m_overrideProjectOwners = value; }
178 inline void SetOverrideProjectOwners(OverrideProjectOwnersPolicyGrantDetail&& value) { m_overrideProjectOwnersHasBeenSet = true; m_overrideProjectOwners = std::move(value); }
182 private:
183
184 AddToProjectMemberPoolPolicyGrantDetail m_addToProjectMemberPool;
185 bool m_addToProjectMemberPoolHasBeenSet = false;
186
187 CreateAssetTypePolicyGrantDetail m_createAssetType;
188 bool m_createAssetTypeHasBeenSet = false;
189
190 CreateDomainUnitPolicyGrantDetail m_createDomainUnit;
191 bool m_createDomainUnitHasBeenSet = false;
192
193 Unit m_createEnvironment;
194 bool m_createEnvironmentHasBeenSet = false;
195
196 CreateEnvironmentProfilePolicyGrantDetail m_createEnvironmentProfile;
197 bool m_createEnvironmentProfileHasBeenSet = false;
198
199 CreateFormTypePolicyGrantDetail m_createFormType;
200 bool m_createFormTypeHasBeenSet = false;
201
202 CreateGlossaryPolicyGrantDetail m_createGlossary;
203 bool m_createGlossaryHasBeenSet = false;
204
205 CreateProjectPolicyGrantDetail m_createProject;
206 bool m_createProjectHasBeenSet = false;
207
208 Unit m_delegateCreateEnvironmentProfile;
209 bool m_delegateCreateEnvironmentProfileHasBeenSet = false;
210
211 OverrideDomainUnitOwnersPolicyGrantDetail m_overrideDomainUnitOwners;
212 bool m_overrideDomainUnitOwnersHasBeenSet = false;
213
214 OverrideProjectOwnersPolicyGrantDetail m_overrideProjectOwners;
215 bool m_overrideProjectOwnersHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace DataZone
220} // namespace Aws
PolicyGrantDetail & WithOverrideProjectOwners(OverrideProjectOwnersPolicyGrantDetail &&value)
PolicyGrantDetail & WithOverrideDomainUnitOwners(OverrideDomainUnitOwnersPolicyGrantDetail &&value)
void SetOverrideProjectOwners(OverrideProjectOwnersPolicyGrantDetail &&value)
void SetCreateGlossary(const CreateGlossaryPolicyGrantDetail &value)
void SetCreateAssetType(CreateAssetTypePolicyGrantDetail &&value)
PolicyGrantDetail & WithAddToProjectMemberPool(AddToProjectMemberPoolPolicyGrantDetail &&value)
PolicyGrantDetail & WithAddToProjectMemberPool(const AddToProjectMemberPoolPolicyGrantDetail &value)
void SetCreateEnvironmentProfile(CreateEnvironmentProfilePolicyGrantDetail &&value)
const AddToProjectMemberPoolPolicyGrantDetail & GetAddToProjectMemberPool() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreateProject(const CreateProjectPolicyGrantDetail &value)
void SetAddToProjectMemberPool(AddToProjectMemberPoolPolicyGrantDetail &&value)
const CreateFormTypePolicyGrantDetail & GetCreateFormType() const
PolicyGrantDetail & WithCreateDomainUnit(const CreateDomainUnitPolicyGrantDetail &value)
void SetCreateFormType(const CreateFormTypePolicyGrantDetail &value)
void SetCreateDomainUnit(const CreateDomainUnitPolicyGrantDetail &value)
const CreateAssetTypePolicyGrantDetail & GetCreateAssetType() const
PolicyGrantDetail & WithCreateGlossary(CreateGlossaryPolicyGrantDetail &&value)
PolicyGrantDetail & WithOverrideDomainUnitOwners(const OverrideDomainUnitOwnersPolicyGrantDetail &value)
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)
const OverrideDomainUnitOwnersPolicyGrantDetail & GetOverrideDomainUnitOwners() const
PolicyGrantDetail & WithCreateAssetType(CreateAssetTypePolicyGrantDetail &&value)
const CreateDomainUnitPolicyGrantDetail & GetCreateDomainUnit() const
const OverrideProjectOwnersPolicyGrantDetail & GetOverrideProjectOwners() const
void SetCreateAssetType(const CreateAssetTypePolicyGrantDetail &value)
void SetCreateEnvironmentProfile(const CreateEnvironmentProfilePolicyGrantDetail &value)
PolicyGrantDetail & WithCreateGlossary(const CreateGlossaryPolicyGrantDetail &value)
void SetOverrideDomainUnitOwners(OverrideDomainUnitOwnersPolicyGrantDetail &&value)
PolicyGrantDetail & WithCreateProject(CreateProjectPolicyGrantDetail &&value)
void SetDelegateCreateEnvironmentProfile(const Unit &value)
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)
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