7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/OwnerGroupProperties.h>
9#include <aws/datazone/model/OwnerUserProperties.h>
41 template <
typename GroupT = OwnerGroupProperties>
43 m_groupHasBeenSet =
true;
44 m_group = std::forward<GroupT>(value);
46 template <
typename GroupT = OwnerGroupProperties>
48 SetGroup(std::forward<GroupT>(value));
59 template <
typename UserT = OwnerUserProperties>
61 m_userHasBeenSet =
true;
62 m_user = std::forward<UserT>(value);
64 template <
typename UserT = OwnerUserProperties>
66 SetUser(std::forward<UserT>(value));
72 bool m_groupHasBeenSet =
false;
75 bool m_userHasBeenSet =
false;
void SetUser(UserT &&value)
void SetGroup(GroupT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API OwnerProperties()=default
bool GroupHasBeenSet() const
AWS_DATAZONE_API OwnerProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API OwnerProperties(Aws::Utils::Json::JsonView jsonValue)
bool UserHasBeenSet() const
OwnerProperties & WithUser(UserT &&value)
OwnerProperties & WithGroup(GroupT &&value)
const OwnerGroupProperties & GetGroup() const
const OwnerUserProperties & GetUser() const
Aws::Utils::Json::JsonValue JsonValue