7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/UserIdentity.h>
9#include <aws/iotsitewise/model/GroupIdentity.h>
10#include <aws/iotsitewise/model/IAMUserIdentity.h>
11#include <aws/iotsitewise/model/IAMRoleIdentity.h>
98 bool m_userHasBeenSet =
false;
101 bool m_groupHasBeenSet =
false;
104 bool m_iamUserHasBeenSet =
false;
107 bool m_iamRoleHasBeenSet =
false;
const IAMUserIdentity & GetIamUser() const
bool UserHasBeenSet() const
void SetUser(UserIdentity &&value)
void SetIamUser(const IAMUserIdentity &value)
const GroupIdentity & GetGroup() const
Identity & WithUser(const UserIdentity &value)
void SetGroup(const GroupIdentity &value)
const IAMRoleIdentity & GetIamRole() const
Identity & WithGroup(GroupIdentity &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
Identity & WithIamRole(IAMRoleIdentity &&value)
AWS_IOTSITEWISE_API Identity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIamUser(IAMUserIdentity &&value)
bool IamRoleHasBeenSet() const
void SetIamRole(const IAMRoleIdentity &value)
const UserIdentity & GetUser() const
bool GroupHasBeenSet() const
void SetGroup(GroupIdentity &&value)
Identity & WithIamUser(IAMUserIdentity &&value)
AWS_IOTSITEWISE_API Identity()
void SetUser(const UserIdentity &value)
Identity & WithIamRole(const IAMRoleIdentity &value)
Identity & WithIamUser(const IAMUserIdentity &value)
Identity & WithGroup(const GroupIdentity &value)
void SetIamRole(IAMRoleIdentity &&value)
AWS_IOTSITEWISE_API Identity(Aws::Utils::Json::JsonView jsonValue)
bool IamUserHasBeenSet() const
Identity & WithUser(UserIdentity &&value)
Aws::Utils::Json::JsonValue JsonValue