7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/OwnerGroupProperties.h>
9#include <aws/datazone/model/OwnerUserProperties.h>
47 template<
typename GroupT = OwnerGroupProperties>
48 void SetGroup(GroupT&& value) { m_groupHasBeenSet =
true; m_group = std::forward<GroupT>(value); }
49 template<
typename GroupT = OwnerGroupProperties>
59 template<
typename UserT = OwnerUserProperties>
60 void SetUser(UserT&& value) { m_userHasBeenSet =
true; m_user = std::forward<UserT>(value); }
61 template<
typename UserT = OwnerUserProperties>
67 bool m_groupHasBeenSet =
false;
70 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