7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/DomainUnitPolicyGrantPrincipal.h>
9#include <aws/datazone/model/GroupPolicyGrantPrincipal.h>
10#include <aws/datazone/model/ProjectPolicyGrantPrincipal.h>
11#include <aws/datazone/model/UserPolicyGrantPrincipal.h>
93 bool m_domainUnitHasBeenSet =
false;
96 bool m_groupHasBeenSet =
false;
99 bool m_projectHasBeenSet =
false;
102 bool m_userHasBeenSet =
false;
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
PolicyGrantPrincipal & WithUser(const UserPolicyGrantPrincipal &value)
void SetUser(UserPolicyGrantPrincipal &&value)
void SetProject(ProjectPolicyGrantPrincipal &&value)
AWS_DATAZONE_API PolicyGrantPrincipal(Aws::Utils::Json::JsonView jsonValue)
bool DomainUnitHasBeenSet() const
PolicyGrantPrincipal & WithGroup(const GroupPolicyGrantPrincipal &value)
void SetGroup(GroupPolicyGrantPrincipal &&value)
const GroupPolicyGrantPrincipal & GetGroup() const
bool UserHasBeenSet() const
void SetDomainUnit(const DomainUnitPolicyGrantPrincipal &value)
void SetProject(const ProjectPolicyGrantPrincipal &value)
const ProjectPolicyGrantPrincipal & GetProject() const
AWS_DATAZONE_API PolicyGrantPrincipal & operator=(Aws::Utils::Json::JsonView jsonValue)
const DomainUnitPolicyGrantPrincipal & GetDomainUnit() const
PolicyGrantPrincipal & WithDomainUnit(const DomainUnitPolicyGrantPrincipal &value)
bool GroupHasBeenSet() const
const UserPolicyGrantPrincipal & GetUser() const
void SetUser(const UserPolicyGrantPrincipal &value)
void SetDomainUnit(DomainUnitPolicyGrantPrincipal &&value)
PolicyGrantPrincipal & WithProject(ProjectPolicyGrantPrincipal &&value)
bool ProjectHasBeenSet() const
PolicyGrantPrincipal & WithUser(UserPolicyGrantPrincipal &&value)
PolicyGrantPrincipal & WithDomainUnit(DomainUnitPolicyGrantPrincipal &&value)
AWS_DATAZONE_API PolicyGrantPrincipal()
PolicyGrantPrincipal & WithGroup(GroupPolicyGrantPrincipal &&value)
void SetGroup(const GroupPolicyGrantPrincipal &value)
PolicyGrantPrincipal & WithProject(const ProjectPolicyGrantPrincipal &value)
Aws::Utils::Json::JsonValue JsonValue