AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AppT = Aws::String>
50 void SetApp(AppT&& value) { m_appHasBeenSet = true; m_app = std::forward<AppT>(value); }
51 template<typename AppT = Aws::String>
52 UserAccessResultItem& WithApp(AppT&& value) { SetApp(std::forward<AppT>(value)); return *this;}
54
56
59 inline const Aws::String& GetTenantId() const { return m_tenantId; }
60 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
61 template<typename TenantIdT = Aws::String>
62 void SetTenantId(TenantIdT&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::forward<TenantIdT>(value); }
63 template<typename TenantIdT = Aws::String>
64 UserAccessResultItem& WithTenantId(TenantIdT&& value) { SetTenantId(std::forward<TenantIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetTenantDisplayName() const { return m_tenantDisplayName; }
72 inline bool TenantDisplayNameHasBeenSet() const { return m_tenantDisplayNameHasBeenSet; }
73 template<typename TenantDisplayNameT = Aws::String>
74 void SetTenantDisplayName(TenantDisplayNameT&& value) { m_tenantDisplayNameHasBeenSet = true; m_tenantDisplayName = std::forward<TenantDisplayNameT>(value); }
75 template<typename TenantDisplayNameT = Aws::String>
76 UserAccessResultItem& WithTenantDisplayName(TenantDisplayNameT&& value) { SetTenantDisplayName(std::forward<TenantDisplayNameT>(value)); return *this;}
78
80
83 inline const Aws::String& GetTaskId() const { return m_taskId; }
84 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
85 template<typename TaskIdT = Aws::String>
86 void SetTaskId(TaskIdT&& value) { m_taskIdHasBeenSet = true; m_taskId = std::forward<TaskIdT>(value); }
87 template<typename TaskIdT = Aws::String>
88 UserAccessResultItem& WithTaskId(TaskIdT&& value) { SetTaskId(std::forward<TaskIdT>(value)); return *this;}
90
92
100 inline ResultStatus GetResultStatus() const { return m_resultStatus; }
101 inline bool ResultStatusHasBeenSet() const { return m_resultStatusHasBeenSet; }
102 inline void SetResultStatus(ResultStatus value) { m_resultStatusHasBeenSet = true; m_resultStatus = value; }
105
107
110 inline const Aws::String& GetEmail() const { return m_email; }
111 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
112 template<typename EmailT = Aws::String>
113 void SetEmail(EmailT&& value) { m_emailHasBeenSet = true; m_email = std::forward<EmailT>(value); }
114 template<typename EmailT = Aws::String>
115 UserAccessResultItem& WithEmail(EmailT&& value) { SetEmail(std::forward<EmailT>(value)); return *this;}
117
119
122 inline const Aws::String& GetUserId() const { return m_userId; }
123 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
124 template<typename UserIdT = Aws::String>
125 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet = true; m_userId = std::forward<UserIdT>(value); }
126 template<typename UserIdT = Aws::String>
127 UserAccessResultItem& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
129
131
134 inline const Aws::String& GetUserFullName() const { return m_userFullName; }
135 inline bool UserFullNameHasBeenSet() const { return m_userFullNameHasBeenSet; }
136 template<typename UserFullNameT = Aws::String>
137 void SetUserFullName(UserFullNameT&& value) { m_userFullNameHasBeenSet = true; m_userFullName = std::forward<UserFullNameT>(value); }
138 template<typename UserFullNameT = Aws::String>
139 UserAccessResultItem& WithUserFullName(UserFullNameT&& value) { SetUserFullName(std::forward<UserFullNameT>(value)); return *this;}
141
143
146 inline const Aws::String& GetUserFirstName() const { return m_userFirstName; }
147 inline bool UserFirstNameHasBeenSet() const { return m_userFirstNameHasBeenSet; }
148 template<typename UserFirstNameT = Aws::String>
149 void SetUserFirstName(UserFirstNameT&& value) { m_userFirstNameHasBeenSet = true; m_userFirstName = std::forward<UserFirstNameT>(value); }
150 template<typename UserFirstNameT = Aws::String>
151 UserAccessResultItem& WithUserFirstName(UserFirstNameT&& value) { SetUserFirstName(std::forward<UserFirstNameT>(value)); return *this;}
153
155
158 inline const Aws::String& GetUserLastName() const { return m_userLastName; }
159 inline bool UserLastNameHasBeenSet() const { return m_userLastNameHasBeenSet; }
160 template<typename UserLastNameT = Aws::String>
161 void SetUserLastName(UserLastNameT&& value) { m_userLastNameHasBeenSet = true; m_userLastName = std::forward<UserLastNameT>(value); }
162 template<typename UserLastNameT = Aws::String>
163 UserAccessResultItem& WithUserLastName(UserLastNameT&& value) { SetUserLastName(std::forward<UserLastNameT>(value)); return *this;}
165
167
170 inline const Aws::String& GetUserStatus() const { return m_userStatus; }
171 inline bool UserStatusHasBeenSet() const { return m_userStatusHasBeenSet; }
172 template<typename UserStatusT = Aws::String>
173 void SetUserStatus(UserStatusT&& value) { m_userStatusHasBeenSet = true; m_userStatus = std::forward<UserStatusT>(value); }
174 template<typename UserStatusT = Aws::String>
175 UserAccessResultItem& WithUserStatus(UserStatusT&& value) { SetUserStatus(std::forward<UserStatusT>(value)); return *this;}
177
179
182 inline const TaskError& GetTaskError() const { return m_taskError; }
183 inline bool TaskErrorHasBeenSet() const { return m_taskErrorHasBeenSet; }
184 template<typename TaskErrorT = TaskError>
185 void SetTaskError(TaskErrorT&& value) { m_taskErrorHasBeenSet = true; m_taskError = std::forward<TaskErrorT>(value); }
186 template<typename TaskErrorT = TaskError>
187 UserAccessResultItem& WithTaskError(TaskErrorT&& value) { SetTaskError(std::forward<TaskErrorT>(value)); return *this;}
189 private:
190
191 Aws::String m_app;
192 bool m_appHasBeenSet = false;
193
194 Aws::String m_tenantId;
195 bool m_tenantIdHasBeenSet = false;
196
197 Aws::String m_tenantDisplayName;
198 bool m_tenantDisplayNameHasBeenSet = false;
199
200 Aws::String m_taskId;
201 bool m_taskIdHasBeenSet = false;
202
203 ResultStatus m_resultStatus{ResultStatus::NOT_SET};
204 bool m_resultStatusHasBeenSet = false;
205
206 Aws::String m_email;
207 bool m_emailHasBeenSet = false;
208
209 Aws::String m_userId;
210 bool m_userIdHasBeenSet = false;
211
212 Aws::String m_userFullName;
213 bool m_userFullNameHasBeenSet = false;
214
215 Aws::String m_userFirstName;
216 bool m_userFirstNameHasBeenSet = false;
217
218 Aws::String m_userLastName;
219 bool m_userLastNameHasBeenSet = false;
220
221 Aws::String m_userStatus;
222 bool m_userStatusHasBeenSet = false;
223
224 TaskError m_taskError;
225 bool m_taskErrorHasBeenSet = false;
226 };
227
228} // namespace Model
229} // namespace AppFabric
230} // namespace Aws
AWS_APPFABRIC_API UserAccessResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
UserAccessResultItem & WithUserFirstName(UserFirstNameT &&value)
UserAccessResultItem & WithUserStatus(UserStatusT &&value)
UserAccessResultItem & WithApp(AppT &&value)
UserAccessResultItem & WithTenantId(TenantIdT &&value)
UserAccessResultItem & WithUserId(UserIdT &&value)
UserAccessResultItem & WithTenantDisplayName(TenantDisplayNameT &&value)
void SetTenantDisplayName(TenantDisplayNameT &&value)
UserAccessResultItem & WithTaskError(TaskErrorT &&value)
UserAccessResultItem & WithUserLastName(UserLastNameT &&value)
UserAccessResultItem & WithTaskId(TaskIdT &&value)
AWS_APPFABRIC_API UserAccessResultItem()=default
UserAccessResultItem & WithResultStatus(ResultStatus value)
UserAccessResultItem & WithUserFullName(UserFullNameT &&value)
UserAccessResultItem & WithEmail(EmailT &&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