7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/ReadAccessType.h>
10#include <aws/qbusiness/model/MembershipType.h>
50 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
51 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
84 bool m_idHasBeenSet =
false;
87 bool m_accessHasBeenSet =
false;
90 bool m_membershipTypeHasBeenSet =
false;
void SetId(Aws::String &&value)
void SetId(const Aws::String &value)
void SetAccess(ReadAccessType &&value)
AWS_QBUSINESS_API PrincipalUser(Aws::Utils::Json::JsonView jsonValue)
PrincipalUser & WithAccess(const ReadAccessType &value)
void SetId(const char *value)
PrincipalUser & WithMembershipType(const MembershipType &value)
void SetMembershipType(MembershipType &&value)
PrincipalUser & WithId(Aws::String &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool IdHasBeenSet() const
bool MembershipTypeHasBeenSet() const
PrincipalUser & WithAccess(ReadAccessType &&value)
const MembershipType & GetMembershipType() const
const Aws::String & GetId() const
AWS_QBUSINESS_API PrincipalUser()
bool AccessHasBeenSet() const
PrincipalUser & WithId(const char *value)
PrincipalUser & WithMembershipType(MembershipType &&value)
PrincipalUser & WithId(const Aws::String &value)
void SetMembershipType(const MembershipType &value)
void SetAccess(const ReadAccessType &value)
const ReadAccessType & GetAccess() const
AWS_QBUSINESS_API PrincipalUser & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue