7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qapps/model/PrincipalOutputUserTypeEnum.h>
47 template<
typename UserIdT = Aws::String>
48 void SetUserId(
UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
49 template<
typename UserIdT = Aws::String>
69 template<
typename EmailT = Aws::String>
70 void SetEmail(
EmailT&& value) { m_emailHasBeenSet =
true; m_email = std::forward<EmailT>(value); }
71 template<
typename EmailT = Aws::String>
77 bool m_userIdHasBeenSet =
false;
80 bool m_userTypeHasBeenSet =
false;
83 bool m_emailHasBeenSet =
false;
AWS_QAPPS_API PrincipalOutput(Aws::Utils::Json::JsonView jsonValue)
bool EmailHasBeenSet() const
AWS_QAPPS_API PrincipalOutput()=default
bool UserIdHasBeenSet() const
void SetUserType(PrincipalOutputUserTypeEnum value)
void SetUserId(UserIdT &&value)
AWS_QAPPS_API PrincipalOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
PrincipalOutput & WithEmail(EmailT &&value)
PrincipalOutputUserTypeEnum GetUserType() const
void SetEmail(EmailT &&value)
PrincipalOutput & WithUserId(UserIdT &&value)
const Aws::String & GetEmail() const
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
PrincipalOutput & WithUserType(PrincipalOutputUserTypeEnum value)
const Aws::String & GetUserId() const
bool UserTypeHasBeenSet() const
PrincipalOutputUserTypeEnum
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