AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserAccessResultItem.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appfabric/model/ResultStatus.h>
10#include <aws/appfabric/model/TaskError.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AppFabric
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_APPFABRIC_API UserAccessResultItem();
40 AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetApp() const{ return m_app; }
48 inline bool AppHasBeenSet() const { return m_appHasBeenSet; }
49 inline void SetApp(const Aws::String& value) { m_appHasBeenSet = true; m_app = value; }
50 inline void SetApp(Aws::String&& value) { m_appHasBeenSet = true; m_app = std::move(value); }
51 inline void SetApp(const char* value) { m_appHasBeenSet = true; m_app.assign(value); }
52 inline UserAccessResultItem& WithApp(const Aws::String& value) { SetApp(value); return *this;}
53 inline UserAccessResultItem& WithApp(Aws::String&& value) { SetApp(std::move(value)); return *this;}
54 inline UserAccessResultItem& WithApp(const char* value) { SetApp(value); return *this;}
56
58
61 inline const Aws::String& GetTenantId() const{ return m_tenantId; }
62 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
63 inline void SetTenantId(const Aws::String& value) { m_tenantIdHasBeenSet = true; m_tenantId = value; }
64 inline void SetTenantId(Aws::String&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::move(value); }
65 inline void SetTenantId(const char* value) { m_tenantIdHasBeenSet = true; m_tenantId.assign(value); }
66 inline UserAccessResultItem& WithTenantId(const Aws::String& value) { SetTenantId(value); return *this;}
67 inline UserAccessResultItem& WithTenantId(Aws::String&& value) { SetTenantId(std::move(value)); return *this;}
68 inline UserAccessResultItem& WithTenantId(const char* value) { SetTenantId(value); return *this;}
70
72
75 inline const Aws::String& GetTenantDisplayName() const{ return m_tenantDisplayName; }
76 inline bool TenantDisplayNameHasBeenSet() const { return m_tenantDisplayNameHasBeenSet; }
77 inline void SetTenantDisplayName(const Aws::String& value) { m_tenantDisplayNameHasBeenSet = true; m_tenantDisplayName = value; }
78 inline void SetTenantDisplayName(Aws::String&& value) { m_tenantDisplayNameHasBeenSet = true; m_tenantDisplayName = std::move(value); }
79 inline void SetTenantDisplayName(const char* value) { m_tenantDisplayNameHasBeenSet = true; m_tenantDisplayName.assign(value); }
80 inline UserAccessResultItem& WithTenantDisplayName(const Aws::String& value) { SetTenantDisplayName(value); return *this;}
81 inline UserAccessResultItem& WithTenantDisplayName(Aws::String&& value) { SetTenantDisplayName(std::move(value)); return *this;}
82 inline UserAccessResultItem& WithTenantDisplayName(const char* value) { SetTenantDisplayName(value); return *this;}
84
86
89 inline const Aws::String& GetTaskId() const{ return m_taskId; }
90 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
91 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
92 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
93 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
94 inline UserAccessResultItem& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
95 inline UserAccessResultItem& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
96 inline UserAccessResultItem& WithTaskId(const char* value) { SetTaskId(value); return *this;}
98
100
108 inline const ResultStatus& GetResultStatus() const{ return m_resultStatus; }
109 inline bool ResultStatusHasBeenSet() const { return m_resultStatusHasBeenSet; }
110 inline void SetResultStatus(const ResultStatus& value) { m_resultStatusHasBeenSet = true; m_resultStatus = value; }
111 inline void SetResultStatus(ResultStatus&& value) { m_resultStatusHasBeenSet = true; m_resultStatus = std::move(value); }
112 inline UserAccessResultItem& WithResultStatus(const ResultStatus& value) { SetResultStatus(value); return *this;}
113 inline UserAccessResultItem& WithResultStatus(ResultStatus&& value) { SetResultStatus(std::move(value)); return *this;}
115
117
120 inline const Aws::String& GetEmail() const{ return m_email; }
121 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
122 inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
123 inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
124 inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
125 inline UserAccessResultItem& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
126 inline UserAccessResultItem& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
127 inline UserAccessResultItem& WithEmail(const char* value) { SetEmail(value); return *this;}
129
131
134 inline const Aws::String& GetUserId() const{ return m_userId; }
135 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
136 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
137 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
138 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
139 inline UserAccessResultItem& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
140 inline UserAccessResultItem& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
141 inline UserAccessResultItem& WithUserId(const char* value) { SetUserId(value); return *this;}
143
145
148 inline const Aws::String& GetUserFullName() const{ return m_userFullName; }
149 inline bool UserFullNameHasBeenSet() const { return m_userFullNameHasBeenSet; }
150 inline void SetUserFullName(const Aws::String& value) { m_userFullNameHasBeenSet = true; m_userFullName = value; }
151 inline void SetUserFullName(Aws::String&& value) { m_userFullNameHasBeenSet = true; m_userFullName = std::move(value); }
152 inline void SetUserFullName(const char* value) { m_userFullNameHasBeenSet = true; m_userFullName.assign(value); }
153 inline UserAccessResultItem& WithUserFullName(const Aws::String& value) { SetUserFullName(value); return *this;}
154 inline UserAccessResultItem& WithUserFullName(Aws::String&& value) { SetUserFullName(std::move(value)); return *this;}
155 inline UserAccessResultItem& WithUserFullName(const char* value) { SetUserFullName(value); return *this;}
157
159
162 inline const Aws::String& GetUserFirstName() const{ return m_userFirstName; }
163 inline bool UserFirstNameHasBeenSet() const { return m_userFirstNameHasBeenSet; }
164 inline void SetUserFirstName(const Aws::String& value) { m_userFirstNameHasBeenSet = true; m_userFirstName = value; }
165 inline void SetUserFirstName(Aws::String&& value) { m_userFirstNameHasBeenSet = true; m_userFirstName = std::move(value); }
166 inline void SetUserFirstName(const char* value) { m_userFirstNameHasBeenSet = true; m_userFirstName.assign(value); }
167 inline UserAccessResultItem& WithUserFirstName(const Aws::String& value) { SetUserFirstName(value); return *this;}
168 inline UserAccessResultItem& WithUserFirstName(Aws::String&& value) { SetUserFirstName(std::move(value)); return *this;}
169 inline UserAccessResultItem& WithUserFirstName(const char* value) { SetUserFirstName(value); return *this;}
171
173
176 inline const Aws::String& GetUserLastName() const{ return m_userLastName; }
177 inline bool UserLastNameHasBeenSet() const { return m_userLastNameHasBeenSet; }
178 inline void SetUserLastName(const Aws::String& value) { m_userLastNameHasBeenSet = true; m_userLastName = value; }
179 inline void SetUserLastName(Aws::String&& value) { m_userLastNameHasBeenSet = true; m_userLastName = std::move(value); }
180 inline void SetUserLastName(const char* value) { m_userLastNameHasBeenSet = true; m_userLastName.assign(value); }
181 inline UserAccessResultItem& WithUserLastName(const Aws::String& value) { SetUserLastName(value); return *this;}
182 inline UserAccessResultItem& WithUserLastName(Aws::String&& value) { SetUserLastName(std::move(value)); return *this;}
183 inline UserAccessResultItem& WithUserLastName(const char* value) { SetUserLastName(value); return *this;}
185
187
190 inline const Aws::String& GetUserStatus() const{ return m_userStatus; }
191 inline bool UserStatusHasBeenSet() const { return m_userStatusHasBeenSet; }
192 inline void SetUserStatus(const Aws::String& value) { m_userStatusHasBeenSet = true; m_userStatus = value; }
193 inline void SetUserStatus(Aws::String&& value) { m_userStatusHasBeenSet = true; m_userStatus = std::move(value); }
194 inline void SetUserStatus(const char* value) { m_userStatusHasBeenSet = true; m_userStatus.assign(value); }
195 inline UserAccessResultItem& WithUserStatus(const Aws::String& value) { SetUserStatus(value); return *this;}
196 inline UserAccessResultItem& WithUserStatus(Aws::String&& value) { SetUserStatus(std::move(value)); return *this;}
197 inline UserAccessResultItem& WithUserStatus(const char* value) { SetUserStatus(value); return *this;}
199
201
204 inline const TaskError& GetTaskError() const{ return m_taskError; }
205 inline bool TaskErrorHasBeenSet() const { return m_taskErrorHasBeenSet; }
206 inline void SetTaskError(const TaskError& value) { m_taskErrorHasBeenSet = true; m_taskError = value; }
207 inline void SetTaskError(TaskError&& value) { m_taskErrorHasBeenSet = true; m_taskError = std::move(value); }
208 inline UserAccessResultItem& WithTaskError(const TaskError& value) { SetTaskError(value); return *this;}
209 inline UserAccessResultItem& WithTaskError(TaskError&& value) { SetTaskError(std::move(value)); return *this;}
211 private:
212
213 Aws::String m_app;
214 bool m_appHasBeenSet = false;
215
216 Aws::String m_tenantId;
217 bool m_tenantIdHasBeenSet = false;
218
219 Aws::String m_tenantDisplayName;
220 bool m_tenantDisplayNameHasBeenSet = false;
221
222 Aws::String m_taskId;
223 bool m_taskIdHasBeenSet = false;
224
225 ResultStatus m_resultStatus;
226 bool m_resultStatusHasBeenSet = false;
227
228 Aws::String m_email;
229 bool m_emailHasBeenSet = false;
230
231 Aws::String m_userId;
232 bool m_userIdHasBeenSet = false;
233
234 Aws::String m_userFullName;
235 bool m_userFullNameHasBeenSet = false;
236
237 Aws::String m_userFirstName;
238 bool m_userFirstNameHasBeenSet = false;
239
240 Aws::String m_userLastName;
241 bool m_userLastNameHasBeenSet = false;
242
243 Aws::String m_userStatus;
244 bool m_userStatusHasBeenSet = false;
245
246 TaskError m_taskError;
247 bool m_taskErrorHasBeenSet = false;
248 };
249
250} // namespace Model
251} // namespace AppFabric
252} // namespace Aws
UserAccessResultItem & WithUserFullName(Aws::String &&value)
UserAccessResultItem & WithTaskError(TaskError &&value)
UserAccessResultItem & WithUserFullName(const Aws::String &value)
UserAccessResultItem & WithUserId(const Aws::String &value)
UserAccessResultItem & WithUserId(Aws::String &&value)
UserAccessResultItem & WithTenantDisplayName(const char *value)
UserAccessResultItem & WithUserStatus(const char *value)
UserAccessResultItem & WithUserLastName(Aws::String &&value)
UserAccessResultItem & WithEmail(Aws::String &&value)
AWS_APPFABRIC_API UserAccessResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
UserAccessResultItem & WithUserFirstName(Aws::String &&value)
void SetUserFirstName(const Aws::String &value)
UserAccessResultItem & WithTenantId(Aws::String &&value)
UserAccessResultItem & WithApp(const Aws::String &value)
UserAccessResultItem & WithUserLastName(const Aws::String &value)
UserAccessResultItem & WithUserLastName(const char *value)
UserAccessResultItem & WithTenantDisplayName(Aws::String &&value)
UserAccessResultItem & WithResultStatus(ResultStatus &&value)
UserAccessResultItem & WithTaskId(Aws::String &&value)
UserAccessResultItem & WithUserFirstName(const char *value)
UserAccessResultItem & WithTenantId(const char *value)
UserAccessResultItem & WithUserFullName(const char *value)
UserAccessResultItem & WithUserId(const char *value)
UserAccessResultItem & WithUserStatus(const Aws::String &value)
UserAccessResultItem & WithTenantId(const Aws::String &value)
void SetTenantDisplayName(const Aws::String &value)
UserAccessResultItem & WithApp(Aws::String &&value)
UserAccessResultItem & WithEmail(const Aws::String &value)
void SetResultStatus(const ResultStatus &value)
UserAccessResultItem & WithUserFirstName(const Aws::String &value)
UserAccessResultItem & WithTaskId(const Aws::String &value)
UserAccessResultItem & WithUserStatus(Aws::String &&value)
UserAccessResultItem & WithApp(const char *value)
UserAccessResultItem & WithTenantDisplayName(const Aws::String &value)
UserAccessResultItem & WithTaskId(const char *value)
UserAccessResultItem & WithTaskError(const TaskError &value)
UserAccessResultItem & WithResultStatus(const ResultStatus &value)
UserAccessResultItem & WithEmail(const char *value)
AWS_APPFABRIC_API UserAccessResultItem(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue