AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetBotResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wickr/Wickr_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Wickr {
22namespace Model {
24 public:
25 AWS_WICKR_API GetBotResult() = default;
28
30
33 inline const Aws::String& GetBotId() const { return m_botId; }
34 template <typename BotIdT = Aws::String>
35 void SetBotId(BotIdT&& value) {
36 m_botIdHasBeenSet = true;
37 m_botId = std::forward<BotIdT>(value);
38 }
39 template <typename BotIdT = Aws::String>
40 GetBotResult& WithBotId(BotIdT&& value) {
41 SetBotId(std::forward<BotIdT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetDisplayName() const { return m_displayName; }
51 template <typename DisplayNameT = Aws::String>
52 void SetDisplayName(DisplayNameT&& value) {
53 m_displayNameHasBeenSet = true;
54 m_displayName = std::forward<DisplayNameT>(value);
55 }
56 template <typename DisplayNameT = Aws::String>
57 GetBotResult& WithDisplayName(DisplayNameT&& value) {
58 SetDisplayName(std::forward<DisplayNameT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetUsername() const { return m_username; }
68 template <typename UsernameT = Aws::String>
69 void SetUsername(UsernameT&& value) {
70 m_usernameHasBeenSet = true;
71 m_username = std::forward<UsernameT>(value);
72 }
73 template <typename UsernameT = Aws::String>
74 GetBotResult& WithUsername(UsernameT&& value) {
75 SetUsername(std::forward<UsernameT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetUname() const { return m_uname; }
85 template <typename UnameT = Aws::String>
86 void SetUname(UnameT&& value) {
87 m_unameHasBeenSet = true;
88 m_uname = std::forward<UnameT>(value);
89 }
90 template <typename UnameT = Aws::String>
91 GetBotResult& WithUname(UnameT&& value) {
92 SetUname(std::forward<UnameT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetPubkey() const { return m_pubkey; }
102 template <typename PubkeyT = Aws::String>
103 void SetPubkey(PubkeyT&& value) {
104 m_pubkeyHasBeenSet = true;
105 m_pubkey = std::forward<PubkeyT>(value);
106 }
107 template <typename PubkeyT = Aws::String>
108 GetBotResult& WithPubkey(PubkeyT&& value) {
109 SetPubkey(std::forward<PubkeyT>(value));
110 return *this;
111 }
113
115
118 inline int GetStatus() const { return m_status; }
119 inline void SetStatus(int value) {
120 m_statusHasBeenSet = true;
121 m_status = value;
122 }
123 inline GetBotResult& WithStatus(int value) {
124 SetStatus(value);
125 return *this;
126 }
128
130
133 inline const Aws::String& GetGroupId() const { return m_groupId; }
134 template <typename GroupIdT = Aws::String>
135 void SetGroupId(GroupIdT&& value) {
136 m_groupIdHasBeenSet = true;
137 m_groupId = std::forward<GroupIdT>(value);
138 }
139 template <typename GroupIdT = Aws::String>
140 GetBotResult& WithGroupId(GroupIdT&& value) {
141 SetGroupId(std::forward<GroupIdT>(value));
142 return *this;
143 }
145
147
150 inline bool GetHasChallenge() const { return m_hasChallenge; }
151 inline void SetHasChallenge(bool value) {
152 m_hasChallengeHasBeenSet = true;
153 m_hasChallenge = value;
154 }
155 inline GetBotResult& WithHasChallenge(bool value) {
156 SetHasChallenge(value);
157 return *this;
158 }
160
162
165 inline bool GetSuspended() const { return m_suspended; }
166 inline void SetSuspended(bool value) {
167 m_suspendedHasBeenSet = true;
168 m_suspended = value;
169 }
170 inline GetBotResult& WithSuspended(bool value) {
171 SetSuspended(value);
172 return *this;
173 }
175
177
180 inline const Aws::String& GetLastLogin() const { return m_lastLogin; }
181 template <typename LastLoginT = Aws::String>
182 void SetLastLogin(LastLoginT&& value) {
183 m_lastLoginHasBeenSet = true;
184 m_lastLogin = std::forward<LastLoginT>(value);
185 }
186 template <typename LastLoginT = Aws::String>
187 GetBotResult& WithLastLogin(LastLoginT&& value) {
188 SetLastLogin(std::forward<LastLoginT>(value));
189 return *this;
190 }
192
194
195 inline const Aws::String& GetRequestId() const { return m_requestId; }
196 template <typename RequestIdT = Aws::String>
197 void SetRequestId(RequestIdT&& value) {
198 m_requestIdHasBeenSet = true;
199 m_requestId = std::forward<RequestIdT>(value);
200 }
201 template <typename RequestIdT = Aws::String>
202 GetBotResult& WithRequestId(RequestIdT&& value) {
203 SetRequestId(std::forward<RequestIdT>(value));
204 return *this;
205 }
207 private:
208 Aws::String m_botId;
209
210 Aws::String m_displayName;
211
212 Aws::String m_username;
213
214 Aws::String m_uname;
215
216 Aws::String m_pubkey;
217
218 int m_status{0};
219
220 Aws::String m_groupId;
221
222 bool m_hasChallenge{false};
223
224 bool m_suspended{false};
225
226 Aws::String m_lastLogin;
227
228 Aws::String m_requestId;
229 bool m_botIdHasBeenSet = false;
230 bool m_displayNameHasBeenSet = false;
231 bool m_usernameHasBeenSet = false;
232 bool m_unameHasBeenSet = false;
233 bool m_pubkeyHasBeenSet = false;
234 bool m_statusHasBeenSet = false;
235 bool m_groupIdHasBeenSet = false;
236 bool m_hasChallengeHasBeenSet = false;
237 bool m_suspendedHasBeenSet = false;
238 bool m_lastLoginHasBeenSet = false;
239 bool m_requestIdHasBeenSet = false;
240};
241
242} // namespace Model
243} // namespace Wickr
244} // namespace Aws
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetPubkey() const
void SetUsername(UsernameT &&value)
void SetUname(UnameT &&value)
void SetGroupId(GroupIdT &&value)
GetBotResult & WithPubkey(PubkeyT &&value)
const Aws::String & GetLastLogin() const
const Aws::String & GetRequestId() const
GetBotResult & WithLastLogin(LastLoginT &&value)
GetBotResult & WithStatus(int value)
void SetPubkey(PubkeyT &&value)
GetBotResult & WithGroupId(GroupIdT &&value)
void SetLastLogin(LastLoginT &&value)
AWS_WICKR_API GetBotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBotResult & WithUname(UnameT &&value)
AWS_WICKR_API GetBotResult()=default
GetBotResult & WithHasChallenge(bool value)
const Aws::String & GetUsername() const
const Aws::String & GetUname() const
AWS_WICKR_API GetBotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetBotId() const
const Aws::String & GetDisplayName() const
GetBotResult & WithUsername(UsernameT &&value)
void SetRequestId(RequestIdT &&value)
GetBotResult & WithBotId(BotIdT &&value)
GetBotResult & WithDisplayName(DisplayNameT &&value)
GetBotResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetGroupId() const
void SetBotId(BotIdT &&value)
GetBotResult & WithSuspended(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue