7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/PrincipalUser.h>
9#include <aws/qbusiness/model/PrincipalGroup.h>
69 bool m_userHasBeenSet =
false;
72 bool m_groupHasBeenSet =
false;
Principal & WithUser(const PrincipalUser &value)
AWS_QBUSINESS_API Principal(Aws::Utils::Json::JsonView jsonValue)
const PrincipalUser & GetUser() const
AWS_QBUSINESS_API Principal & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool UserHasBeenSet() const
void SetGroup(PrincipalGroup &&value)
void SetGroup(const PrincipalGroup &value)
AWS_QBUSINESS_API Principal()
Principal & WithGroup(PrincipalGroup &&value)
bool GroupHasBeenSet() const
void SetUser(PrincipalUser &&value)
void SetUser(const PrincipalUser &value)
const PrincipalGroup & GetGroup() const
Principal & WithUser(PrincipalUser &&value)
Principal & WithGroup(const PrincipalGroup &value)
Aws::Utils::Json::JsonValue JsonValue