7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/UserIdentityInfo.h>
11#include <aws/connect/model/UserPhoneConfig.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
51 template<
typename UsernameT = Aws::String>
52 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
53 template<
typename UsernameT = Aws::String>
65 template<
typename PasswordT = Aws::String>
66 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
67 template<
typename PasswordT = Aws::String>
77 template<
typename IdentityInfoT = UserIdentityInfo>
78 void SetIdentityInfo(IdentityInfoT&& value) { m_identityInfoHasBeenSet =
true; m_identityInfo = std::forward<IdentityInfoT>(value); }
79 template<
typename IdentityInfoT = UserIdentityInfo>
89 template<
typename PhoneConfigT = UserPhoneConfig>
90 void SetPhoneConfig(PhoneConfigT&& value) { m_phoneConfigHasBeenSet =
true; m_phoneConfig = std::forward<PhoneConfigT>(value); }
91 template<
typename PhoneConfigT = UserPhoneConfig>
109 template<
typename DirectoryUserIdT = Aws::String>
110 void SetDirectoryUserId(DirectoryUserIdT&& value) { m_directoryUserIdHasBeenSet =
true; m_directoryUserId = std::forward<DirectoryUserIdT>(value); }
111 template<
typename DirectoryUserIdT = Aws::String>
121 template<
typename SecurityProfileIdsT = Aws::Vector<Aws::String>>
122 void SetSecurityProfileIds(SecurityProfileIdsT&& value) { m_securityProfileIdsHasBeenSet =
true; m_securityProfileIds = std::forward<SecurityProfileIdsT>(value); }
123 template<
typename SecurityProfileIdsT = Aws::Vector<Aws::String>>
125 template<
typename SecurityProfileIdsT = Aws::String>
126 CreateUserRequest&
AddSecurityProfileIds(SecurityProfileIdsT&& value) { m_securityProfileIdsHasBeenSet =
true; m_securityProfileIds.emplace_back(std::forward<SecurityProfileIdsT>(value));
return *
this; }
135 template<
typename RoutingProfileIdT = Aws::String>
136 void SetRoutingProfileId(RoutingProfileIdT&& value) { m_routingProfileIdHasBeenSet =
true; m_routingProfileId = std::forward<RoutingProfileIdT>(value); }
137 template<
typename RoutingProfileIdT = Aws::String>
147 template<
typename HierarchyGroupIdT = Aws::String>
148 void SetHierarchyGroupId(HierarchyGroupIdT&& value) { m_hierarchyGroupIdHasBeenSet =
true; m_hierarchyGroupId = std::forward<HierarchyGroupIdT>(value); }
149 template<
typename HierarchyGroupIdT = Aws::String>
161 template<
typename InstanceIdT = Aws::String>
162 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
163 template<
typename InstanceIdT = Aws::String>
174 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
175 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
176 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
178 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
180 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
186 bool m_usernameHasBeenSet =
false;
189 bool m_passwordHasBeenSet =
false;
192 bool m_identityInfoHasBeenSet =
false;
195 bool m_phoneConfigHasBeenSet =
false;
198 bool m_directoryUserIdHasBeenSet =
false;
201 bool m_securityProfileIdsHasBeenSet =
false;
204 bool m_routingProfileIdHasBeenSet =
false;
207 bool m_hierarchyGroupIdHasBeenSet =
false;
210 bool m_instanceIdHasBeenSet =
false;
213 bool m_tagsHasBeenSet =
false;
const Aws::String & GetPassword() const
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
const UserPhoneConfig & GetPhoneConfig() const
CreateUserRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool InstanceIdHasBeenSet() const
const Aws::String & GetInstanceId() const
bool RoutingProfileIdHasBeenSet() const
void SetTags(TagsT &&value)
CreateUserRequest & AddSecurityProfileIds(SecurityProfileIdsT &&value)
bool UsernameHasBeenSet() const
bool PhoneConfigHasBeenSet() const
void SetDirectoryUserId(DirectoryUserIdT &&value)
CreateUserRequest & WithPassword(PasswordT &&value)
CreateUserRequest & WithInstanceId(InstanceIdT &&value)
CreateUserRequest & WithDirectoryUserId(DirectoryUserIdT &&value)
bool PasswordHasBeenSet() const
const UserIdentityInfo & GetIdentityInfo() const
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
void SetIdentityInfo(IdentityInfoT &&value)
bool HierarchyGroupIdHasBeenSet() const
const Aws::String & GetHierarchyGroupId() const
CreateUserRequest & WithPhoneConfig(PhoneConfigT &&value)
void SetUsername(UsernameT &&value)
void SetInstanceId(InstanceIdT &&value)
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)
const Aws::Vector< Aws::String > & GetSecurityProfileIds() const
bool IdentityInfoHasBeenSet() const
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