7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wickr/Wickr_EXPORTS.h>
30 AWS_WICKR_API
Bot() =
default;
41 template <
typename BotIdT = Aws::String>
43 m_botIdHasBeenSet =
true;
44 m_botId = std::forward<BotIdT>(value);
46 template <
typename BotIdT = Aws::String>
48 SetBotId(std::forward<BotIdT>(value));
59 template <
typename DisplayNameT = Aws::String>
61 m_displayNameHasBeenSet =
true;
62 m_displayName = std::forward<DisplayNameT>(value);
64 template <
typename DisplayNameT = Aws::String>
77 template <
typename UsernameT = Aws::String>
79 m_usernameHasBeenSet =
true;
80 m_username = std::forward<UsernameT>(value);
82 template <
typename UsernameT = Aws::String>
95 template <
typename UnameT = Aws::String>
97 m_unameHasBeenSet =
true;
98 m_uname = std::forward<UnameT>(value);
100 template <
typename UnameT = Aws::String>
102 SetUname(std::forward<UnameT>(value));
113 template <
typename PubkeyT = Aws::String>
115 m_pubkeyHasBeenSet =
true;
116 m_pubkey = std::forward<PubkeyT>(value);
118 template <
typename PubkeyT = Aws::String>
132 m_statusHasBeenSet =
true;
147 template <
typename GroupIdT = Aws::String>
149 m_groupIdHasBeenSet =
true;
150 m_groupId = std::forward<GroupIdT>(value);
152 template <
typename GroupIdT = Aws::String>
166 m_hasChallengeHasBeenSet =
true;
167 m_hasChallenge = value;
182 m_suspendedHasBeenSet =
true;
197 template <
typename LastLoginT = Aws::String>
199 m_lastLoginHasBeenSet =
true;
200 m_lastLogin = std::forward<LastLoginT>(value);
202 template <
typename LastLoginT = Aws::String>
223 bool m_hasChallenge{
false};
225 bool m_suspended{
false};
228 bool m_botIdHasBeenSet =
false;
229 bool m_displayNameHasBeenSet =
false;
230 bool m_usernameHasBeenSet =
false;
231 bool m_unameHasBeenSet =
false;
232 bool m_pubkeyHasBeenSet =
false;
233 bool m_statusHasBeenSet =
false;
234 bool m_groupIdHasBeenSet =
false;
235 bool m_hasChallengeHasBeenSet =
false;
236 bool m_suspendedHasBeenSet =
false;
237 bool m_lastLoginHasBeenSet =
false;
void SetPubkey(PubkeyT &&value)
void SetLastLogin(LastLoginT &&value)
bool BotIdHasBeenSet() const
Bot & WithSuspended(bool value)
const Aws::String & GetDisplayName() const
bool SuspendedHasBeenSet() const
void SetUname(UnameT &&value)
Bot & WithLastLogin(LastLoginT &&value)
const Aws::String & GetUname() const
const Aws::String & GetGroupId() const
void SetHasChallenge(bool value)
bool UsernameHasBeenSet() const
bool HasChallengeHasBeenSet() const
void SetUsername(UsernameT &&value)
Bot & WithGroupId(GroupIdT &&value)
void SetGroupId(GroupIdT &&value)
const Aws::String & GetUsername() const
void SetDisplayName(DisplayNameT &&value)
Bot & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetBotId() const
bool LastLoginHasBeenSet() const
bool StatusHasBeenSet() const
void SetSuspended(bool value)
Bot & WithStatus(int value)
bool PubkeyHasBeenSet() const
AWS_WICKR_API Bot(Aws::Utils::Json::JsonView jsonValue)
AWS_WICKR_API Bot()=default
const Aws::String & GetPubkey() const
AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const
Bot & WithPubkey(PubkeyT &&value)
Bot & WithUname(UnameT &&value)
const Aws::String & GetLastLogin() const
bool UnameHasBeenSet() const
Bot & WithBotId(BotIdT &&value)
bool GetHasChallenge() const
Bot & WithUsername(UsernameT &&value)
bool GetSuspended() const
void SetBotId(BotIdT &&value)
Bot & WithHasChallenge(bool value)
void SetStatus(int value)
bool DisplayNameHasBeenSet() const
AWS_WICKR_API Bot & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GroupIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue