7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/UserIdentityInfo.h>
10#include <aws/connect/model/UserPhoneConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/DateTime.h>
53 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
54 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
67 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
68 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
82 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
121 inline void SetDirectoryUserId(
const char* value) { m_directoryUserIdHasBeenSet =
true; m_directoryUserId.assign(value); }
139 inline User&
AddSecurityProfileIds(
const char* value) { m_securityProfileIdsHasBeenSet =
true; m_securityProfileIds.push_back(value);
return *
this; }
150 inline void SetRoutingProfileId(
const char* value) { m_routingProfileIdHasBeenSet =
true; m_routingProfileId.assign(value); }
164 inline void SetHierarchyGroupId(
const char* value) { m_hierarchyGroupIdHasBeenSet =
true; m_hierarchyGroupId.assign(value); }
184 inline User&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
185 inline User&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
186 inline User&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
209 inline void SetLastModifiedRegion(
const char* value) { m_lastModifiedRegionHasBeenSet =
true; m_lastModifiedRegion.assign(value); }
217 bool m_idHasBeenSet =
false;
220 bool m_arnHasBeenSet =
false;
223 bool m_usernameHasBeenSet =
false;
226 bool m_identityInfoHasBeenSet =
false;
229 bool m_phoneConfigHasBeenSet =
false;
232 bool m_directoryUserIdHasBeenSet =
false;
235 bool m_securityProfileIdsHasBeenSet =
false;
238 bool m_routingProfileIdHasBeenSet =
false;
241 bool m_hierarchyGroupIdHasBeenSet =
false;
244 bool m_tagsHasBeenSet =
false;
247 bool m_lastModifiedTimeHasBeenSet =
false;
250 bool m_lastModifiedRegionHasBeenSet =
false;
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
User & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetLastModifiedRegion() const
void SetArn(const char *value)
User & AddSecurityProfileIds(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
User & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
User & WithIdentityInfo(UserIdentityInfo &&value)
User & WithArn(const Aws::String &value)
void SetHierarchyGroupId(Aws::String &&value)
bool SecurityProfileIdsHasBeenSet() const
User & WithSecurityProfileIds(Aws::Vector< Aws::String > &&value)
void SetHierarchyGroupId(const Aws::String &value)
User & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetDirectoryUserId(Aws::String &&value)
void SetArn(const Aws::String &value)
User & WithSecurityProfileIds(const Aws::Vector< Aws::String > &value)
User & WithHierarchyGroupId(const char *value)
bool DirectoryUserIdHasBeenSet() const
void SetLastModifiedRegion(Aws::String &&value)
void SetRoutingProfileId(Aws::String &&value)
User & AddTags(const char *key, const char *value)
const Aws::String & GetArn() const
User & WithId(const char *value)
const Aws::Vector< Aws::String > & GetSecurityProfileIds() const
const Aws::String & GetDirectoryUserId() const
void SetDirectoryUserId(const Aws::String &value)
User & AddTags(Aws::String &&key, const Aws::String &value)
User & AddTags(const char *key, Aws::String &&value)
User & WithUsername(Aws::String &&value)
bool PhoneConfigHasBeenSet() const
void SetId(Aws::String &&value)
User & WithDirectoryUserId(const Aws::String &value)
User & WithLastModifiedRegion(Aws::String &&value)
User & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetHierarchyGroupId(const char *value)
const Aws::String & GetUsername() const
bool RoutingProfileIdHasBeenSet() const
User & WithId(Aws::String &&value)
void SetSecurityProfileIds(Aws::Vector< Aws::String > &&value)
User & WithLastModifiedRegion(const Aws::String &value)
bool UsernameHasBeenSet() const
User & WithHierarchyGroupId(const Aws::String &value)
User & WithArn(Aws::String &&value)
bool HierarchyGroupIdHasBeenSet() const
void SetPhoneConfig(UserPhoneConfig &&value)
User & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetArn(Aws::String &&value)
const UserPhoneConfig & GetPhoneConfig() const
void SetLastModifiedRegion(const char *value)
bool LastModifiedTimeHasBeenSet() const
bool IdHasBeenSet() const
User & WithRoutingProfileId(const Aws::String &value)
User & WithDirectoryUserId(const char *value)
void SetIdentityInfo(UserIdentityInfo &&value)
AWS_CONNECT_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdentityInfoHasBeenSet() const
void SetLastModifiedRegion(const Aws::String &value)
User & WithUsername(const Aws::String &value)
void SetUsername(const Aws::String &value)
User & AddTags(Aws::String &&key, const char *value)
User & WithRoutingProfileId(const char *value)
bool ArnHasBeenSet() const
void SetId(const char *value)
bool LastModifiedRegionHasBeenSet() const
void SetSecurityProfileIds(const Aws::Vector< Aws::String > &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
User & WithUsername(const char *value)
AWS_CONNECT_API User(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetRoutingProfileId(const char *value)
const UserIdentityInfo & GetIdentityInfo() const
bool TagsHasBeenSet() const
const Aws::String & GetHierarchyGroupId() const
User & WithPhoneConfig(UserPhoneConfig &&value)
void SetDirectoryUserId(const char *value)
User & WithId(const Aws::String &value)
User & WithPhoneConfig(const UserPhoneConfig &value)
const Aws::String & GetRoutingProfileId() const
void SetUsername(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetUsername(Aws::String &&value)
User & AddSecurityProfileIds(Aws::String &&value)
void SetIdentityInfo(const UserIdentityInfo &value)
User & AddTags(const Aws::String &key, Aws::String &&value)
void SetRoutingProfileId(const Aws::String &value)
User & WithArn(const char *value)
User & WithHierarchyGroupId(Aws::String &&value)
User & WithRoutingProfileId(Aws::String &&value)
User & WithDirectoryUserId(Aws::String &&value)
User & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetId() const
User & WithLastModifiedRegion(const char *value)
User & WithIdentityInfo(const UserIdentityInfo &value)
User & AddSecurityProfileIds(const Aws::String &value)
void SetPhoneConfig(const UserPhoneConfig &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