7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qapps/QApps_EXPORTS.h>
9#include <aws/qapps/model/PrincipalOutputUserTypeEnum.h>
41 template <
typename UserIdT = Aws::String>
43 m_userIdHasBeenSet =
true;
44 m_userId = std::forward<UserIdT>(value);
46 template <
typename UserIdT = Aws::String>
60 m_userTypeHasBeenSet =
true;
75 template <
typename EmailT = Aws::String>
77 m_emailHasBeenSet =
true;
78 m_email = std::forward<EmailT>(value);
80 template <
typename EmailT = Aws::String>
82 SetEmail(std::forward<EmailT>(value));
92 bool m_userIdHasBeenSet =
false;
93 bool m_userTypeHasBeenSet =
false;
94 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