7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/AfterContactWorkConfigPerChannel.h>
9#include <aws/connect/model/AutoAcceptConfig.h>
10#include <aws/connect/model/PersistentConnectionConfig.h>
11#include <aws/connect/model/PhoneNumberConfig.h>
12#include <aws/connect/model/UserIdentityInfo.h>
13#include <aws/connect/model/UserPhoneConfig.h>
14#include <aws/connect/model/VoiceEnhancementConfig.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/core/utils/memory/stl/AWSString.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
40 AWS_CONNECT_API
User() =
default;
51 template <
typename IdT = Aws::String>
53 m_idHasBeenSet =
true;
54 m_id = std::forward<IdT>(value);
56 template <
typename IdT = Aws::String>
58 SetId(std::forward<IdT>(value));
69 template <
typename ArnT = Aws::String>
71 m_arnHasBeenSet =
true;
72 m_arn = std::forward<ArnT>(value);
74 template <
typename ArnT = Aws::String>
76 SetArn(std::forward<ArnT>(value));
87 template <
typename UsernameT = Aws::String>
89 m_usernameHasBeenSet =
true;
90 m_username = std::forward<UsernameT>(value);
92 template <
typename UsernameT = Aws::String>
105 template <
typename IdentityInfoT = UserIdentityInfo>
107 m_identityInfoHasBeenSet =
true;
108 m_identityInfo = std::forward<IdentityInfoT>(value);
110 template <
typename IdentityInfoT = UserIdentityInfo>
123 template <
typename PhoneConfigT = UserPhoneConfig>
125 m_phoneConfigHasBeenSet =
true;
126 m_phoneConfig = std::forward<PhoneConfigT>(value);
128 template <
typename PhoneConfigT = UserPhoneConfig>
142 template <
typename DirectoryUserIdT = Aws::String>
144 m_directoryUserIdHasBeenSet =
true;
145 m_directoryUserId = std::forward<DirectoryUserIdT>(value);
147 template <
typename DirectoryUserIdT = Aws::String>
160 template <
typename SecurityProfileIdsT = Aws::Vector<Aws::String>>
162 m_securityProfileIdsHasBeenSet =
true;
163 m_securityProfileIds = std::forward<SecurityProfileIdsT>(value);
165 template <
typename SecurityProfileIdsT = Aws::Vector<Aws::String>>
170 template <
typename SecurityProfileIdsT = Aws::String>
172 m_securityProfileIdsHasBeenSet =
true;
173 m_securityProfileIds.emplace_back(std::forward<SecurityProfileIdsT>(value));
184 template <
typename RoutingProfileIdT = Aws::String>
186 m_routingProfileIdHasBeenSet =
true;
187 m_routingProfileId = std::forward<RoutingProfileIdT>(value);
189 template <
typename RoutingProfileIdT = Aws::String>
202 template <
typename HierarchyGroupIdT = Aws::String>
204 m_hierarchyGroupIdHasBeenSet =
true;
205 m_hierarchyGroupId = std::forward<HierarchyGroupIdT>(value);
207 template <
typename HierarchyGroupIdT = Aws::String>
220 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
222 m_tagsHasBeenSet =
true;
223 m_tags = std::forward<TagsT>(value);
225 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
227 SetTags(std::forward<TagsT>(value));
230 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
232 m_tagsHasBeenSet =
true;
233 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
244 template <
typename AutoAcceptConfigsT = Aws::Vector<AutoAcceptConfig>>
246 m_autoAcceptConfigsHasBeenSet =
true;
247 m_autoAcceptConfigs = std::forward<AutoAcceptConfigsT>(value);
249 template <
typename AutoAcceptConfigsT = Aws::Vector<AutoAcceptConfig>>
254 template <
typename AutoAcceptConfigsT = AutoAcceptConfig>
256 m_autoAcceptConfigsHasBeenSet =
true;
257 m_autoAcceptConfigs.emplace_back(std::forward<AutoAcceptConfigsT>(value));
269 template <
typename AfterContactWorkConfigsT = Aws::Vector<AfterContactWorkConfigPerChannel>>
271 m_afterContactWorkConfigsHasBeenSet =
true;
272 m_afterContactWorkConfigs = std::forward<AfterContactWorkConfigsT>(value);
274 template <
typename AfterContactWorkConfigsT = Aws::Vector<AfterContactWorkConfigPerChannel>>
279 template <
typename AfterContactWorkConfigsT = AfterContactWorkConfigPerChannel>
281 m_afterContactWorkConfigsHasBeenSet =
true;
282 m_afterContactWorkConfigs.emplace_back(std::forward<AfterContactWorkConfigsT>(value));
293 template <
typename PhoneNumberConfigsT = Aws::Vector<PhoneNumberConfig>>
295 m_phoneNumberConfigsHasBeenSet =
true;
296 m_phoneNumberConfigs = std::forward<PhoneNumberConfigsT>(value);
298 template <
typename PhoneNumberConfigsT = Aws::Vector<PhoneNumberConfig>>
303 template <
typename PhoneNumberConfigsT = PhoneNumberConfig>
305 m_phoneNumberConfigsHasBeenSet =
true;
306 m_phoneNumberConfigs.emplace_back(std::forward<PhoneNumberConfigsT>(value));
318 template <
typename PersistentConnectionConfigsT = Aws::Vector<PersistentConnectionConfig>>
320 m_persistentConnectionConfigsHasBeenSet =
true;
321 m_persistentConnectionConfigs = std::forward<PersistentConnectionConfigsT>(value);
323 template <
typename PersistentConnectionConfigsT = Aws::Vector<PersistentConnectionConfig>>
328 template <
typename PersistentConnectionConfigsT = PersistentConnectionConfig>
330 m_persistentConnectionConfigsHasBeenSet =
true;
331 m_persistentConnectionConfigs.emplace_back(std::forward<PersistentConnectionConfigsT>(value));
342 template <
typename VoiceEnhancementConfigsT = Aws::Vector<VoiceEnhancementConfig>>
344 m_voiceEnhancementConfigsHasBeenSet =
true;
345 m_voiceEnhancementConfigs = std::forward<VoiceEnhancementConfigsT>(value);
347 template <
typename VoiceEnhancementConfigsT = Aws::Vector<VoiceEnhancementConfig>>
352 template <
typename VoiceEnhancementConfigsT = VoiceEnhancementConfig>
354 m_voiceEnhancementConfigsHasBeenSet =
true;
355 m_voiceEnhancementConfigs.emplace_back(std::forward<VoiceEnhancementConfigsT>(value));
366 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
368 m_lastModifiedTimeHasBeenSet =
true;
369 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
371 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
384 template <
typename LastModifiedRegionT = Aws::String>
386 m_lastModifiedRegionHasBeenSet =
true;
387 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
389 template <
typename LastModifiedRegionT = Aws::String>
429 bool m_idHasBeenSet =
false;
430 bool m_arnHasBeenSet =
false;
431 bool m_usernameHasBeenSet =
false;
432 bool m_identityInfoHasBeenSet =
false;
433 bool m_phoneConfigHasBeenSet =
false;
434 bool m_directoryUserIdHasBeenSet =
false;
435 bool m_securityProfileIdsHasBeenSet =
false;
436 bool m_routingProfileIdHasBeenSet =
false;
437 bool m_hierarchyGroupIdHasBeenSet =
false;
438 bool m_tagsHasBeenSet =
false;
439 bool m_autoAcceptConfigsHasBeenSet =
false;
440 bool m_afterContactWorkConfigsHasBeenSet =
false;
441 bool m_phoneNumberConfigsHasBeenSet =
false;
442 bool m_persistentConnectionConfigsHasBeenSet =
false;
443 bool m_voiceEnhancementConfigsHasBeenSet =
false;
444 bool m_lastModifiedTimeHasBeenSet =
false;
445 bool m_lastModifiedRegionHasBeenSet =
false;
const Aws::String & GetLastModifiedRegion() const
void SetPhoneNumberConfigs(PhoneNumberConfigsT &&value)
const Aws::Vector< PersistentConnectionConfig > & GetPersistentConnectionConfigs() const
User & WithArn(ArnT &&value)
User & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetArn(ArnT &&value)
bool VoiceEnhancementConfigsHasBeenSet() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
User & WithRoutingProfileId(RoutingProfileIdT &&value)
User & AddPhoneNumberConfigs(PhoneNumberConfigsT &&value)
User & WithPersistentConnectionConfigs(PersistentConnectionConfigsT &&value)
const Aws::Vector< AutoAcceptConfig > & GetAutoAcceptConfigs() const
User & WithUsername(UsernameT &&value)
User & WithIdentityInfo(IdentityInfoT &&value)
void SetAutoAcceptConfigs(AutoAcceptConfigsT &&value)
void SetSecurityProfileIds(SecurityProfileIdsT &&value)
User & WithDirectoryUserId(DirectoryUserIdT &&value)
bool AutoAcceptConfigsHasBeenSet() const
bool SecurityProfileIdsHasBeenSet() const
void SetPhoneConfig(PhoneConfigT &&value)
User & AddSecurityProfileIds(SecurityProfileIdsT &&value)
void SetRoutingProfileId(RoutingProfileIdT &&value)
User & AddVoiceEnhancementConfigs(VoiceEnhancementConfigsT &&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)
User & WithAutoAcceptConfigs(AutoAcceptConfigsT &&value)
bool PhoneConfigHasBeenSet() const
void SetIdentityInfo(IdentityInfoT &&value)
User & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetUsername() const
User & WithPhoneNumberConfigs(PhoneNumberConfigsT &&value)
bool RoutingProfileIdHasBeenSet() const
void SetTags(TagsT &&value)
bool UsernameHasBeenSet() const
bool HierarchyGroupIdHasBeenSet() const
void SetDirectoryUserId(DirectoryUserIdT &&value)
bool PersistentConnectionConfigsHasBeenSet() const
const UserPhoneConfig & GetPhoneConfig() const
User & WithAfterContactWorkConfigs(AfterContactWorkConfigsT &&value)
bool LastModifiedTimeHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
User & AddAutoAcceptConfigs(AutoAcceptConfigsT &&value)
bool IdHasBeenSet() const
void SetUsername(UsernameT &&value)
User & WithLastModifiedRegion(LastModifiedRegionT &&value)
void SetVoiceEnhancementConfigs(VoiceEnhancementConfigsT &&value)
AWS_CONNECT_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdentityInfoHasBeenSet() const
User & AddPersistentConnectionConfigs(PersistentConnectionConfigsT &&value)
const Aws::Vector< VoiceEnhancementConfig > & GetVoiceEnhancementConfigs() const
User & AddAfterContactWorkConfigs(AfterContactWorkConfigsT &&value)
bool ArnHasBeenSet() const
void SetPersistentConnectionConfigs(PersistentConnectionConfigsT &&value)
bool LastModifiedRegionHasBeenSet() const
bool AfterContactWorkConfigsHasBeenSet() const
bool PhoneNumberConfigsHasBeenSet() 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
void SetAfterContactWorkConfigs(AfterContactWorkConfigsT &&value)
const Aws::String & GetHierarchyGroupId() const
const Aws::String & GetRoutingProfileId() const
const Aws::Vector< AfterContactWorkConfigPerChannel > & GetAfterContactWorkConfigs() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_CONNECT_API User()=default
const Aws::Vector< PhoneNumberConfig > & GetPhoneNumberConfigs() const
User & WithTags(TagsT &&value)
User & WithVoiceEnhancementConfigs(VoiceEnhancementConfigsT &&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