7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusiness_EXPORTS.h>
42 template <
typename UserT = Aws::String>
44 m_userHasBeenSet =
true;
45 m_user = std::forward<UserT>(value);
47 template <
typename UserT = Aws::String>
49 SetUser(std::forward<UserT>(value));
61 template <
typename GroupT = Aws::String>
63 m_groupHasBeenSet =
true;
64 m_group = std::forward<GroupT>(value);
66 template <
typename GroupT = Aws::String>
68 SetGroup(std::forward<GroupT>(value));
74 bool m_userHasBeenSet =
false;
77 bool m_groupHasBeenSet =
false;
bool UserHasBeenSet() const
void SetGroup(GroupT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUser(UserT &&value)
AWS_QBUSINESS_API SubscriptionPrincipal()=default
const Aws::String & GetGroup() const
SubscriptionPrincipal & WithUser(UserT &&value)
bool GroupHasBeenSet() const
const Aws::String & GetUser() const
AWS_QBUSINESS_API SubscriptionPrincipal(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API SubscriptionPrincipal & operator=(Aws::Utils::Json::JsonView jsonValue)
SubscriptionPrincipal & WithGroup(GroupT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue