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>
53 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
69 inline void SetPassword(
const char* value) { m_passwordHasBeenSet =
true; m_password.assign(value); }
115 inline void SetDirectoryUserId(
const char* value) { m_directoryUserIdHasBeenSet =
true; m_directoryUserId.assign(value); }
144 inline void SetRoutingProfileId(
const char* value) { m_routingProfileIdHasBeenSet =
true; m_routingProfileId.assign(value); }
158 inline void SetHierarchyGroupId(
const char* value) { m_hierarchyGroupIdHasBeenSet =
true; m_hierarchyGroupId.assign(value); }
174 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
197 inline CreateUserRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
202 bool m_usernameHasBeenSet =
false;
205 bool m_passwordHasBeenSet =
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_instanceIdHasBeenSet =
false;
229 bool m_tagsHasBeenSet =
false;
CreateUserRequest & WithPhoneConfig(const UserPhoneConfig &value)
const Aws::String & GetPassword() const
CreateUserRequest & AddTags(const char *key, Aws::String &&value)
void SetUsername(const Aws::String &value)
const Aws::String & GetDirectoryUserId() const
CreateUserRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetRoutingProfileId() const
void SetDirectoryUserId(Aws::String &&value)
CreateUserRequest & WithHierarchyGroupId(const Aws::String &value)
CreateUserRequest & AddSecurityProfileIds(const Aws::String &value)
const UserPhoneConfig & GetPhoneConfig() const
void SetPassword(const char *value)
CreateUserRequest & WithPassword(const char *value)
void SetPassword(const Aws::String &value)
CreateUserRequest & WithInstanceId(Aws::String &&value)
CreateUserRequest & WithDirectoryUserId(Aws::String &&value)
bool InstanceIdHasBeenSet() const
const Aws::String & GetInstanceId() const
void SetHierarchyGroupId(Aws::String &&value)
CreateUserRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool RoutingProfileIdHasBeenSet() const
CreateUserRequest & WithHierarchyGroupId(Aws::String &&value)
CreateUserRequest & AddSecurityProfileIds(const char *value)
CreateUserRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetUsername(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
void SetRoutingProfileId(const char *value)
CreateUserRequest & WithRoutingProfileId(Aws::String &&value)
bool UsernameHasBeenSet() const
bool PhoneConfigHasBeenSet() const
CreateUserRequest & WithRoutingProfileId(const char *value)
CreateUserRequest & AddTags(const char *key, const char *value)
CreateUserRequest & WithDirectoryUserId(const Aws::String &value)
CreateUserRequest & WithIdentityInfo(const UserIdentityInfo &value)
CreateUserRequest & AddTags(Aws::String &&key, const char *value)
CreateUserRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateUserRequest & WithInstanceId(const Aws::String &value)
bool PasswordHasBeenSet() const
void SetRoutingProfileId(Aws::String &&value)
const UserIdentityInfo & GetIdentityInfo() const
CreateUserRequest & WithRoutingProfileId(const Aws::String &value)
CreateUserRequest & WithDirectoryUserId(const char *value)
CreateUserRequest & WithPassword(Aws::String &&value)
void SetInstanceId(const char *value)
void SetPassword(Aws::String &&value)
void SetDirectoryUserId(const Aws::String &value)
void SetIdentityInfo(const UserIdentityInfo &value)
void SetDirectoryUserId(const char *value)
AWS_CONNECT_API Aws::String SerializePayload() const override
void SetSecurityProfileIds(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
CreateUserRequest & WithInstanceId(const char *value)
CreateUserRequest & AddTags(Aws::String &&key, Aws::String &&value)
bool HierarchyGroupIdHasBeenSet() const
const Aws::String & GetHierarchyGroupId() const
void SetRoutingProfileId(const Aws::String &value)
void SetUsername(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetHierarchyGroupId(const char *value)
CreateUserRequest & WithUsername(const Aws::String &value)
bool TagsHasBeenSet() const
CreateUserRequest & WithPhoneConfig(UserPhoneConfig &&value)
CreateUserRequest & WithUsername(Aws::String &&value)
CreateUserRequest & WithPassword(const Aws::String &value)
CreateUserRequest & WithSecurityProfileIds(const Aws::Vector< Aws::String > &value)
void SetPhoneConfig(UserPhoneConfig &&value)
const Aws::String & GetUsername() const
void SetIdentityInfo(UserIdentityInfo &&value)
bool SecurityProfileIdsHasBeenSet() const
void SetHierarchyGroupId(const Aws::String &value)
CreateUserRequest & WithSecurityProfileIds(Aws::Vector< Aws::String > &&value)
CreateUserRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateUserRequest & AddSecurityProfileIds(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
bool DirectoryUserIdHasBeenSet() const
CreateUserRequest & WithUsername(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateUserRequest & WithHierarchyGroupId(const char *value)
void SetPhoneConfig(const UserPhoneConfig &value)
AWS_CONNECT_API CreateUserRequest()
const Aws::Vector< Aws::String > & GetSecurityProfileIds() const
bool IdentityInfoHasBeenSet() const
CreateUserRequest & WithIdentityInfo(UserIdentityInfo &&value)
void SetSecurityProfileIds(Aws::Vector< Aws::String > &&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