7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/AfterContactWorkConfigPerChannel.h>
10#include <aws/connect/model/AutoAcceptConfig.h>
11#include <aws/connect/model/PersistentConnectionConfig.h>
12#include <aws/connect/model/PhoneNumberConfig.h>
13#include <aws/connect/model/UserIdentityInfo.h>
14#include <aws/connect/model/UserPhoneConfig.h>
15#include <aws/connect/model/VoiceEnhancementConfig.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>
52 template <
typename UsernameT = Aws::String>
54 m_usernameHasBeenSet =
true;
55 m_username = std::forward<UsernameT>(value);
57 template <
typename UsernameT = Aws::String>
72 template <
typename PasswordT = Aws::String>
74 m_passwordHasBeenSet =
true;
75 m_password = std::forward<PasswordT>(value);
77 template <
typename PasswordT = Aws::String>
90 template <
typename IdentityInfoT = UserIdentityInfo>
92 m_identityInfoHasBeenSet =
true;
93 m_identityInfo = std::forward<IdentityInfoT>(value);
95 template <
typename IdentityInfoT = UserIdentityInfo>
112 template <
typename PhoneConfigT = UserPhoneConfig>
114 m_phoneConfigHasBeenSet =
true;
115 m_phoneConfig = std::forward<PhoneConfigT>(value);
117 template <
typename PhoneConfigT = UserPhoneConfig>
138 template <
typename DirectoryUserIdT = Aws::String>
140 m_directoryUserIdHasBeenSet =
true;
141 m_directoryUserId = std::forward<DirectoryUserIdT>(value);
143 template <
typename DirectoryUserIdT = Aws::String>
156 template <
typename SecurityProfileIdsT = Aws::Vector<Aws::String>>
158 m_securityProfileIdsHasBeenSet =
true;
159 m_securityProfileIds = std::forward<SecurityProfileIdsT>(value);
161 template <
typename SecurityProfileIdsT = Aws::Vector<Aws::String>>
166 template <
typename SecurityProfileIdsT = Aws::String>
168 m_securityProfileIdsHasBeenSet =
true;
169 m_securityProfileIds.emplace_back(std::forward<SecurityProfileIdsT>(value));
180 template <
typename RoutingProfileIdT = Aws::String>
182 m_routingProfileIdHasBeenSet =
true;
183 m_routingProfileId = std::forward<RoutingProfileIdT>(value);
185 template <
typename RoutingProfileIdT = Aws::String>
198 template <
typename HierarchyGroupIdT = Aws::String>
200 m_hierarchyGroupIdHasBeenSet =
true;
201 m_hierarchyGroupId = std::forward<HierarchyGroupIdT>(value);
203 template <
typename HierarchyGroupIdT = Aws::String>
218 template <
typename InstanceIdT = Aws::String>
220 m_instanceIdHasBeenSet =
true;
221 m_instanceId = std::forward<InstanceIdT>(value);
223 template <
typename InstanceIdT = Aws::String>
236 template <
typename AutoAcceptConfigsT = Aws::Vector<AutoAcceptConfig>>
238 m_autoAcceptConfigsHasBeenSet =
true;
239 m_autoAcceptConfigs = std::forward<AutoAcceptConfigsT>(value);
241 template <
typename AutoAcceptConfigsT = Aws::Vector<AutoAcceptConfig>>
246 template <
typename AutoAcceptConfigsT = AutoAcceptConfig>
248 m_autoAcceptConfigsHasBeenSet =
true;
249 m_autoAcceptConfigs.emplace_back(std::forward<AutoAcceptConfigsT>(value));
261 template <
typename AfterContactWorkConfigsT = Aws::Vector<AfterContactWorkConfigPerChannel>>
263 m_afterContactWorkConfigsHasBeenSet =
true;
264 m_afterContactWorkConfigs = std::forward<AfterContactWorkConfigsT>(value);
266 template <
typename AfterContactWorkConfigsT = Aws::Vector<AfterContactWorkConfigPerChannel>>
271 template <
typename AfterContactWorkConfigsT = AfterContactWorkConfigPerChannel>
273 m_afterContactWorkConfigsHasBeenSet =
true;
274 m_afterContactWorkConfigs.emplace_back(std::forward<AfterContactWorkConfigsT>(value));
285 template <
typename PhoneNumberConfigsT = Aws::Vector<PhoneNumberConfig>>
287 m_phoneNumberConfigsHasBeenSet =
true;
288 m_phoneNumberConfigs = std::forward<PhoneNumberConfigsT>(value);
290 template <
typename PhoneNumberConfigsT = Aws::Vector<PhoneNumberConfig>>
295 template <
typename PhoneNumberConfigsT = PhoneNumberConfig>
297 m_phoneNumberConfigsHasBeenSet =
true;
298 m_phoneNumberConfigs.emplace_back(std::forward<PhoneNumberConfigsT>(value));
310 template <
typename PersistentConnectionConfigsT = Aws::Vector<PersistentConnectionConfig>>
312 m_persistentConnectionConfigsHasBeenSet =
true;
313 m_persistentConnectionConfigs = std::forward<PersistentConnectionConfigsT>(value);
315 template <
typename PersistentConnectionConfigsT = Aws::Vector<PersistentConnectionConfig>>
320 template <
typename PersistentConnectionConfigsT = PersistentConnectionConfig>
322 m_persistentConnectionConfigsHasBeenSet =
true;
323 m_persistentConnectionConfigs.emplace_back(std::forward<PersistentConnectionConfigsT>(value));
334 template <
typename VoiceEnhancementConfigsT = Aws::Vector<VoiceEnhancementConfig>>
336 m_voiceEnhancementConfigsHasBeenSet =
true;
337 m_voiceEnhancementConfigs = std::forward<VoiceEnhancementConfigsT>(value);
339 template <
typename VoiceEnhancementConfigsT = Aws::Vector<VoiceEnhancementConfig>>
344 template <
typename VoiceEnhancementConfigsT = VoiceEnhancementConfig>
346 m_voiceEnhancementConfigsHasBeenSet =
true;
347 m_voiceEnhancementConfigs.emplace_back(std::forward<VoiceEnhancementConfigsT>(value));
359 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
361 m_tagsHasBeenSet =
true;
362 m_tags = std::forward<TagsT>(value);
364 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
366 SetTags(std::forward<TagsT>(value));
369 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
371 m_tagsHasBeenSet =
true;
372 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
406 bool m_usernameHasBeenSet =
false;
407 bool m_passwordHasBeenSet =
false;
408 bool m_identityInfoHasBeenSet =
false;
409 bool m_phoneConfigHasBeenSet =
false;
410 bool m_directoryUserIdHasBeenSet =
false;
411 bool m_securityProfileIdsHasBeenSet =
false;
412 bool m_routingProfileIdHasBeenSet =
false;
413 bool m_hierarchyGroupIdHasBeenSet =
false;
414 bool m_instanceIdHasBeenSet =
false;
415 bool m_autoAcceptConfigsHasBeenSet =
false;
416 bool m_afterContactWorkConfigsHasBeenSet =
false;
417 bool m_phoneNumberConfigsHasBeenSet =
false;
418 bool m_persistentConnectionConfigsHasBeenSet =
false;
419 bool m_voiceEnhancementConfigsHasBeenSet =
false;
420 bool m_tagsHasBeenSet =
false;
const Aws::String & GetPassword() const
CreateUserRequest & WithVoiceEnhancementConfigs(VoiceEnhancementConfigsT &&value)
void SetPhoneConfig(PhoneConfigT &&value)
const Aws::String & GetDirectoryUserId() const
void SetHierarchyGroupId(HierarchyGroupIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetRoutingProfileId() const
AWS_CONNECT_API CreateUserRequest()=default
void SetVoiceEnhancementConfigs(VoiceEnhancementConfigsT &&value)
CreateUserRequest & AddAutoAcceptConfigs(AutoAcceptConfigsT &&value)
const UserPhoneConfig & GetPhoneConfig() const
void SetPhoneNumberConfigs(PhoneNumberConfigsT &&value)
CreateUserRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool InstanceIdHasBeenSet() const
const Aws::String & GetInstanceId() const
bool RoutingProfileIdHasBeenSet() const
const Aws::Vector< AfterContactWorkConfigPerChannel > & GetAfterContactWorkConfigs() const
CreateUserRequest & AddVoiceEnhancementConfigs(VoiceEnhancementConfigsT &&value)
void SetTags(TagsT &&value)
const Aws::Vector< VoiceEnhancementConfig > & GetVoiceEnhancementConfigs() const
CreateUserRequest & AddPersistentConnectionConfigs(PersistentConnectionConfigsT &&value)
bool PhoneNumberConfigsHasBeenSet() const
bool AutoAcceptConfigsHasBeenSet() const
bool AfterContactWorkConfigsHasBeenSet() const
const Aws::Vector< PhoneNumberConfig > & GetPhoneNumberConfigs() const
CreateUserRequest & AddSecurityProfileIds(SecurityProfileIdsT &&value)
CreateUserRequest & AddPhoneNumberConfigs(PhoneNumberConfigsT &&value)
bool UsernameHasBeenSet() const
bool PhoneConfigHasBeenSet() const
CreateUserRequest & WithAfterContactWorkConfigs(AfterContactWorkConfigsT &&value)
void SetDirectoryUserId(DirectoryUserIdT &&value)
CreateUserRequest & WithPassword(PasswordT &&value)
CreateUserRequest & WithInstanceId(InstanceIdT &&value)
CreateUserRequest & WithDirectoryUserId(DirectoryUserIdT &&value)
CreateUserRequest & WithPhoneNumberConfigs(PhoneNumberConfigsT &&value)
bool PersistentConnectionConfigsHasBeenSet() const
bool PasswordHasBeenSet() const
const UserIdentityInfo & GetIdentityInfo() const
void SetAutoAcceptConfigs(AutoAcceptConfigsT &&value)
CreateUserRequest & WithPersistentConnectionConfigs(PersistentConnectionConfigsT &&value)
void SetPersistentConnectionConfigs(PersistentConnectionConfigsT &&value)
void SetSecurityProfileIds(SecurityProfileIdsT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
CreateUserRequest & WithIdentityInfo(IdentityInfoT &&value)
void SetRoutingProfileId(RoutingProfileIdT &&value)
CreateUserRequest & WithHierarchyGroupId(HierarchyGroupIdT &&value)
virtual const char * GetServiceRequestName() const override
bool VoiceEnhancementConfigsHasBeenSet() const
void SetIdentityInfo(IdentityInfoT &&value)
bool HierarchyGroupIdHasBeenSet() const
const Aws::String & GetHierarchyGroupId() const
CreateUserRequest & WithPhoneConfig(PhoneConfigT &&value)
void SetUsername(UsernameT &&value)
void SetInstanceId(InstanceIdT &&value)
const Aws::Vector< AutoAcceptConfig > & GetAutoAcceptConfigs() const
bool TagsHasBeenSet() const
void SetPassword(PasswordT &&value)
const Aws::String & GetUsername() const
bool SecurityProfileIdsHasBeenSet() const
CreateUserRequest & WithRoutingProfileId(RoutingProfileIdT &&value)
CreateUserRequest & WithSecurityProfileIds(SecurityProfileIdsT &&value)
bool DirectoryUserIdHasBeenSet() const
CreateUserRequest & WithUsername(UsernameT &&value)
CreateUserRequest & WithAutoAcceptConfigs(AutoAcceptConfigsT &&value)
void SetAfterContactWorkConfigs(AfterContactWorkConfigsT &&value)
const Aws::Vector< Aws::String > & GetSecurityProfileIds() const
bool IdentityInfoHasBeenSet() const
const Aws::Vector< PersistentConnectionConfig > & GetPersistentConnectionConfigs() const
CreateUserRequest & AddAfterContactWorkConfigs(AfterContactWorkConfigsT &&value)
CreateUserRequest & WithTags(TagsT &&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