AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserByPermissionGroup.h
1
6#pragma once
7#include <aws/finspace-data/FinSpaceData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace-data/model/UserStatus.h>
10#include <aws/finspace-data/model/UserType.h>
11#include <aws/finspace-data/model/ApiAccess.h>
12#include <aws/finspace-data/model/PermissionGroupMembershipStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace FinSpaceData
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_FINSPACEDATA_API UserByPermissionGroup();
40 AWS_FINSPACEDATA_API UserByPermissionGroup(Aws::Utils::Json::JsonView jsonValue);
42 AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetUserId() const{ return m_userId; }
50 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
51 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
52 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
53 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
54 inline UserByPermissionGroup& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
55 inline UserByPermissionGroup& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
56 inline UserByPermissionGroup& WithUserId(const char* value) { SetUserId(value); return *this;}
58
60
66 inline const UserStatus& GetStatus() const{ return m_status; }
67 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
68 inline void SetStatus(const UserStatus& value) { m_statusHasBeenSet = true; m_status = value; }
69 inline void SetStatus(UserStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
70 inline UserByPermissionGroup& WithStatus(const UserStatus& value) { SetStatus(value); return *this;}
71 inline UserByPermissionGroup& WithStatus(UserStatus&& value) { SetStatus(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetFirstName() const{ return m_firstName; }
79 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
80 inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; }
81 inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); }
82 inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); }
83 inline UserByPermissionGroup& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;}
84 inline UserByPermissionGroup& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;}
85 inline UserByPermissionGroup& WithFirstName(const char* value) { SetFirstName(value); return *this;}
87
89
92 inline const Aws::String& GetLastName() const{ return m_lastName; }
93 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
94 inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; }
95 inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); }
96 inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); }
97 inline UserByPermissionGroup& WithLastName(const Aws::String& value) { SetLastName(value); return *this;}
98 inline UserByPermissionGroup& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;}
99 inline UserByPermissionGroup& WithLastName(const char* value) { SetLastName(value); return *this;}
101
103
107 inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
108 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
109 inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
110 inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
111 inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
112 inline UserByPermissionGroup& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
113 inline UserByPermissionGroup& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
114 inline UserByPermissionGroup& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
116
118
125 inline const UserType& GetType() const{ return m_type; }
126 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
127 inline void SetType(const UserType& value) { m_typeHasBeenSet = true; m_type = value; }
128 inline void SetType(UserType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
129 inline UserByPermissionGroup& WithType(const UserType& value) { SetType(value); return *this;}
130 inline UserByPermissionGroup& WithType(UserType&& value) { SetType(std::move(value)); return *this;}
132
134
140 inline const ApiAccess& GetApiAccess() const{ return m_apiAccess; }
141 inline bool ApiAccessHasBeenSet() const { return m_apiAccessHasBeenSet; }
142 inline void SetApiAccess(const ApiAccess& value) { m_apiAccessHasBeenSet = true; m_apiAccess = value; }
143 inline void SetApiAccess(ApiAccess&& value) { m_apiAccessHasBeenSet = true; m_apiAccess = std::move(value); }
144 inline UserByPermissionGroup& WithApiAccess(const ApiAccess& value) { SetApiAccess(value); return *this;}
145 inline UserByPermissionGroup& WithApiAccess(ApiAccess&& value) { SetApiAccess(std::move(value)); return *this;}
147
149
152 inline const Aws::String& GetApiAccessPrincipalArn() const{ return m_apiAccessPrincipalArn; }
153 inline bool ApiAccessPrincipalArnHasBeenSet() const { return m_apiAccessPrincipalArnHasBeenSet; }
154 inline void SetApiAccessPrincipalArn(const Aws::String& value) { m_apiAccessPrincipalArnHasBeenSet = true; m_apiAccessPrincipalArn = value; }
155 inline void SetApiAccessPrincipalArn(Aws::String&& value) { m_apiAccessPrincipalArnHasBeenSet = true; m_apiAccessPrincipalArn = std::move(value); }
156 inline void SetApiAccessPrincipalArn(const char* value) { m_apiAccessPrincipalArnHasBeenSet = true; m_apiAccessPrincipalArn.assign(value); }
158 inline UserByPermissionGroup& WithApiAccessPrincipalArn(Aws::String&& value) { SetApiAccessPrincipalArn(std::move(value)); return *this;}
159 inline UserByPermissionGroup& WithApiAccessPrincipalArn(const char* value) { SetApiAccessPrincipalArn(value); return *this;}
161
163
171 inline const PermissionGroupMembershipStatus& GetMembershipStatus() const{ return m_membershipStatus; }
172 inline bool MembershipStatusHasBeenSet() const { return m_membershipStatusHasBeenSet; }
173 inline void SetMembershipStatus(const PermissionGroupMembershipStatus& value) { m_membershipStatusHasBeenSet = true; m_membershipStatus = value; }
174 inline void SetMembershipStatus(PermissionGroupMembershipStatus&& value) { m_membershipStatusHasBeenSet = true; m_membershipStatus = std::move(value); }
178 private:
179
180 Aws::String m_userId;
181 bool m_userIdHasBeenSet = false;
182
183 UserStatus m_status;
184 bool m_statusHasBeenSet = false;
185
186 Aws::String m_firstName;
187 bool m_firstNameHasBeenSet = false;
188
189 Aws::String m_lastName;
190 bool m_lastNameHasBeenSet = false;
191
192 Aws::String m_emailAddress;
193 bool m_emailAddressHasBeenSet = false;
194
195 UserType m_type;
196 bool m_typeHasBeenSet = false;
197
198 ApiAccess m_apiAccess;
199 bool m_apiAccessHasBeenSet = false;
200
201 Aws::String m_apiAccessPrincipalArn;
202 bool m_apiAccessPrincipalArnHasBeenSet = false;
203
204 PermissionGroupMembershipStatus m_membershipStatus;
205 bool m_membershipStatusHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace FinSpaceData
210} // namespace Aws
UserByPermissionGroup & WithUserId(Aws::String &&value)
UserByPermissionGroup & WithApiAccess(const ApiAccess &value)
AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
UserByPermissionGroup & WithEmailAddress(const char *value)
UserByPermissionGroup & WithStatus(const UserStatus &value)
UserByPermissionGroup & WithStatus(UserStatus &&value)
UserByPermissionGroup & WithLastName(Aws::String &&value)
UserByPermissionGroup & WithEmailAddress(const Aws::String &value)
UserByPermissionGroup & WithMembershipStatus(PermissionGroupMembershipStatus &&value)
UserByPermissionGroup & WithLastName(const char *value)
void SetMembershipStatus(const PermissionGroupMembershipStatus &value)
UserByPermissionGroup & WithMembershipStatus(const PermissionGroupMembershipStatus &value)
UserByPermissionGroup & WithType(UserType &&value)
UserByPermissionGroup & WithUserId(const char *value)
AWS_FINSPACEDATA_API UserByPermissionGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
UserByPermissionGroup & WithUserId(const Aws::String &value)
UserByPermissionGroup & WithApiAccessPrincipalArn(Aws::String &&value)
UserByPermissionGroup & WithLastName(const Aws::String &value)
UserByPermissionGroup & WithApiAccess(ApiAccess &&value)
const PermissionGroupMembershipStatus & GetMembershipStatus() const
UserByPermissionGroup & WithType(const UserType &value)
AWS_FINSPACEDATA_API UserByPermissionGroup(Aws::Utils::Json::JsonView jsonValue)
UserByPermissionGroup & WithFirstName(const char *value)
UserByPermissionGroup & WithFirstName(Aws::String &&value)
UserByPermissionGroup & WithApiAccessPrincipalArn(const Aws::String &value)
UserByPermissionGroup & WithApiAccessPrincipalArn(const char *value)
UserByPermissionGroup & WithEmailAddress(Aws::String &&value)
UserByPermissionGroup & WithFirstName(const Aws::String &value)
void SetMembershipStatus(PermissionGroupMembershipStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue