7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/UserIdentityInfo.h>
10#include <aws/connect/model/UserPhoneConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/DateTime.h>
40 AWS_CONNECT_API
User() =
default;
52 template<
typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
54 template<
typename IdT = Aws::String>
64 template<
typename ArnT = Aws::String>
65 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
66 template<
typename ArnT = Aws::String>
76 template<
typename UsernameT = Aws::String>
77 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
78 template<
typename UsernameT = Aws::String>
88 template<
typename IdentityInfoT = UserIdentityInfo>
89 void SetIdentityInfo(IdentityInfoT&& value) { m_identityInfoHasBeenSet =
true; m_identityInfo = std::forward<IdentityInfoT>(value); }
90 template<
typename IdentityInfoT = UserIdentityInfo>
100 template<
typename PhoneConfigT = UserPhoneConfig>
101 void SetPhoneConfig(PhoneConfigT&& value) { m_phoneConfigHasBeenSet =
true; m_phoneConfig = std::forward<PhoneConfigT>(value); }
102 template<
typename PhoneConfigT = UserPhoneConfig>
113 template<
typename DirectoryUserIdT = Aws::String>
114 void SetDirectoryUserId(DirectoryUserIdT&& value) { m_directoryUserIdHasBeenSet =
true; m_directoryUserId = std::forward<DirectoryUserIdT>(value); }
115 template<
typename DirectoryUserIdT = Aws::String>
125 template<
typename SecurityProfileIdsT = Aws::Vector<Aws::String>>
126 void SetSecurityProfileIds(SecurityProfileIdsT&& value) { m_securityProfileIdsHasBeenSet =
true; m_securityProfileIds = std::forward<SecurityProfileIdsT>(value); }
127 template<
typename SecurityProfileIdsT = Aws::Vector<Aws::String>>
129 template<
typename SecurityProfileIdsT = Aws::String>
130 User&
AddSecurityProfileIds(SecurityProfileIdsT&& value) { m_securityProfileIdsHasBeenSet =
true; m_securityProfileIds.emplace_back(std::forward<SecurityProfileIdsT>(value));
return *
this; }
139 template<
typename RoutingProfileIdT = Aws::String>
140 void SetRoutingProfileId(RoutingProfileIdT&& value) { m_routingProfileIdHasBeenSet =
true; m_routingProfileId = std::forward<RoutingProfileIdT>(value); }
141 template<
typename RoutingProfileIdT = Aws::String>
151 template<
typename HierarchyGroupIdT = Aws::String>
152 void SetHierarchyGroupId(HierarchyGroupIdT&& value) { m_hierarchyGroupIdHasBeenSet =
true; m_hierarchyGroupId = std::forward<HierarchyGroupIdT>(value); }
153 template<
typename HierarchyGroupIdT = Aws::String>
163 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
164 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
165 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
169 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
179 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
180 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
181 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
191 template<
typename LastModifiedRegionT = Aws::String>
192 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet =
true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
193 template<
typename LastModifiedRegionT = Aws::String>
199 bool m_idHasBeenSet =
false;
202 bool m_arnHasBeenSet =
false;
205 bool m_usernameHasBeenSet =
false;
208 bool m_identityInfoHasBeenSet =
false;
211 bool m_phoneConfigHasBeenSet =
false;
214 bool m_directoryUserIdHasBeenSet =
false;
217 bool m_securityProfileIdsHasBeenSet =
false;
220 bool m_routingProfileIdHasBeenSet =
false;
223 bool m_hierarchyGroupIdHasBeenSet =
false;
226 bool m_tagsHasBeenSet =
false;
229 bool m_lastModifiedTimeHasBeenSet =
false;
232 bool m_lastModifiedRegionHasBeenSet =
false;
const Aws::String & GetLastModifiedRegion() const
User & WithArn(ArnT &&value)
User & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetArn(ArnT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
User & WithRoutingProfileId(RoutingProfileIdT &&value)
User & WithUsername(UsernameT &&value)
User & WithIdentityInfo(IdentityInfoT &&value)
void SetSecurityProfileIds(SecurityProfileIdsT &&value)
User & WithDirectoryUserId(DirectoryUserIdT &&value)
bool SecurityProfileIdsHasBeenSet() const
void SetPhoneConfig(PhoneConfigT &&value)
User & AddSecurityProfileIds(SecurityProfileIdsT &&value)
void SetRoutingProfileId(RoutingProfileIdT &&value)
User & WithPhoneConfig(PhoneConfigT &&value)
bool DirectoryUserIdHasBeenSet() const
User & WithSecurityProfileIds(SecurityProfileIdsT &&value)
void SetLastModifiedRegion(LastModifiedRegionT &&value)
const Aws::String & GetArn() const
const Aws::Vector< Aws::String > & GetSecurityProfileIds() const
const Aws::String & GetDirectoryUserId() const
User & WithId(IdT &&value)
User & WithHierarchyGroupId(HierarchyGroupIdT &&value)
bool PhoneConfigHasBeenSet() const
void SetIdentityInfo(IdentityInfoT &&value)
User & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetUsername() const
bool RoutingProfileIdHasBeenSet() const
void SetTags(TagsT &&value)
bool UsernameHasBeenSet() const
bool HierarchyGroupIdHasBeenSet() const
void SetDirectoryUserId(DirectoryUserIdT &&value)
const UserPhoneConfig & GetPhoneConfig() const
bool LastModifiedTimeHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool IdHasBeenSet() const
void SetUsername(UsernameT &&value)
User & WithLastModifiedRegion(LastModifiedRegionT &&value)
AWS_CONNECT_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdentityInfoHasBeenSet() const
bool ArnHasBeenSet() const
bool LastModifiedRegionHasBeenSet() const
AWS_CONNECT_API User(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const UserIdentityInfo & GetIdentityInfo() const
bool TagsHasBeenSet() const
const Aws::String & GetHierarchyGroupId() const
const Aws::String & GetRoutingProfileId() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_CONNECT_API User()=default
User & WithTags(TagsT &&value)
const Aws::String & GetId() const
void SetHierarchyGroupId(HierarchyGroupIdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue