7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename UserT = Aws::String>
49 void SetUser(
UserT&& value) { m_userHasBeenSet =
true; m_user = std::forward<UserT>(value); }
50 template<
typename UserT = Aws::String>
61 template<
typename GroupT = Aws::String>
62 void SetGroup(
GroupT&& value) { m_groupHasBeenSet =
true; m_group = std::forward<GroupT>(value); }
63 template<
typename GroupT = Aws::String>
69 bool m_userHasBeenSet =
false;
72 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