34 lines
694 B
C++
34 lines
694 B
C++
#ifndef USERINFORMATION_H
|
|
#define USERINFORMATION_H
|
|
|
|
#include <QDebug>
|
|
#include <QString>
|
|
|
|
namespace remoteproxy {
|
|
|
|
|
|
class UserInformation
|
|
{
|
|
public:
|
|
UserInformation(const QString &email = QString(), const QString &cognitoUsername = QString(), const QString &vendorId = QString(), const QString &userPoolId = QString());
|
|
|
|
QString email() const;
|
|
QString cognitoUsername() const;
|
|
QString vendorId() const;
|
|
QString userPoolId() const;
|
|
|
|
bool isValid();
|
|
|
|
private:
|
|
QString m_email;
|
|
QString m_cognitoUsername;
|
|
QString m_vendorId;
|
|
QString m_userPoolId;
|
|
};
|
|
|
|
QDebug operator<<(QDebug debug, const UserInformation &userInformation);
|
|
|
|
}
|
|
|
|
#endif // USERINFORMATION_H
|