7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/UserIdentityInfo.h>
10#include <aws/connect/model/UserPhoneConfig.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
47 template <
typename UsernameT = Aws::String>
49 m_usernameHasBeenSet =
true;
50 m_username = std::forward<UsernameT>(value);
52 template <
typename UsernameT = Aws::String>
67 template <
typename PasswordT = Aws::String>
69 m_passwordHasBeenSet =
true;
70 m_password = std::forward<PasswordT>(value);
72 template <
typename PasswordT = Aws::String>
85 template <
typename IdentityInfoT = UserIdentityInfo>
87 m_identityInfoHasBeenSet =
true;
88 m_identityInfo = std::forward<IdentityInfoT>(value);
90 template <
typename IdentityInfoT = UserIdentityInfo>
103 template <
typename PhoneConfigT = UserPhoneConfig>
105 m_phoneConfigHasBeenSet =
true;
106 m_phoneConfig = std::forward<PhoneConfigT>(value);
108 template <
typename PhoneConfigT = UserPhoneConfig>
129 template <
typename DirectoryUserIdT = Aws::String>
131 m_directoryUserIdHasBeenSet =
true;
132 m_directoryUserId = std::forward<DirectoryUserIdT>(value);
134 template <
typename DirectoryUserIdT = Aws::String>
147 template <
typename SecurityProfileIdsT = Aws::Vector<Aws::String>>
149 m_securityProfileIdsHasBeenSet =
true;
150 m_securityProfileIds = std::forward<SecurityProfileIdsT>(value);
152 template <
typename SecurityProfileIdsT = Aws::Vector<Aws::String>>
157 template <
typename SecurityProfileIdsT = Aws::String>
159 m_securityProfileIdsHasBeenSet =
true;
160 m_securityProfileIds.emplace_back(std::forward<SecurityProfileIdsT>(value));
171 template <
typename RoutingProfileIdT = Aws::String>
173 m_routingProfileIdHasBeenSet =
true;
174 m_routingProfileId = std::forward<RoutingProfileIdT>(value);
176 template <
typename RoutingProfileIdT = Aws::String>
189 template <
typename HierarchyGroupIdT = Aws::String>
191 m_hierarchyGroupIdHasBeenSet =
true;
192 m_hierarchyGroupId = std::forward<HierarchyGroupIdT>(value);
194 template <
typename HierarchyGroupIdT = Aws::String>
209 template <
typename InstanceIdT = Aws::String>
211 m_instanceIdHasBeenSet =
true;
212 m_instanceId = std::forward<InstanceIdT>(value);
214 template <
typename InstanceIdT = Aws::String>
228 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
230 m_tagsHasBeenSet =
true;
231 m_tags = std::forward<TagsT>(value);
233 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
235 SetTags(std::forward<TagsT>(value));
238 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
240 m_tagsHasBeenSet =
true;
241 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
247 bool m_usernameHasBeenSet =
false;
250 bool m_passwordHasBeenSet =
false;
253 bool m_identityInfoHasBeenSet =
false;
256 bool m_phoneConfigHasBeenSet =
false;
259 bool m_directoryUserIdHasBeenSet =
false;
262 bool m_securityProfileIdsHasBeenSet =
false;
265 bool m_routingProfileIdHasBeenSet =
false;
268 bool m_hierarchyGroupIdHasBeenSet =
false;
271 bool m_instanceIdHasBeenSet =
false;
274 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