7#include <aws/account-access/AccountAccess_EXPORTS.h>
8#include <aws/account-access/model/PrincipalRoleEntitlement.h>
19namespace AccountAccess {
42 template <
typename PrincipalRoleT = PrincipalRoleEntitlement>
44 m_principalRoleHasBeenSet =
true;
45 m_principalRole = std::forward<PrincipalRoleT>(value);
47 template <
typename PrincipalRoleT = PrincipalRoleEntitlement>
55 bool m_principalRoleHasBeenSet =
false;
bool PrincipalRoleHasBeenSet() const
void SetPrincipalRole(PrincipalRoleT &&value)
AWS_ACCOUNTACCESS_API Entitlement()=default
AWS_ACCOUNTACCESS_API Entitlement(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCOUNTACCESS_API Entitlement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCOUNTACCESS_API Aws::Utils::Json::JsonValue Jsonize() const
const PrincipalRoleEntitlement & GetPrincipalRole() const
Entitlement & WithPrincipalRole(PrincipalRoleT &&value)
Aws::Utils::Json::JsonValue JsonValue