/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the returned users.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the user.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the user.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the user.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the user.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the user.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the user.
*/ inline UserSearchSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the user.
*/ inline UserSearchSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the user.
*/ inline UserSearchSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The directory identifier of the user.
*/ inline const Aws::String& GetDirectoryUserId() const{ return m_directoryUserId; } /** *The directory identifier of the user.
*/ inline bool DirectoryUserIdHasBeenSet() const { return m_directoryUserIdHasBeenSet; } /** *The directory identifier of the user.
*/ inline void SetDirectoryUserId(const Aws::String& value) { m_directoryUserIdHasBeenSet = true; m_directoryUserId = value; } /** *The directory identifier of the user.
*/ inline void SetDirectoryUserId(Aws::String&& value) { m_directoryUserIdHasBeenSet = true; m_directoryUserId = std::move(value); } /** *The directory identifier of the user.
*/ inline void SetDirectoryUserId(const char* value) { m_directoryUserIdHasBeenSet = true; m_directoryUserId.assign(value); } /** *The directory identifier of the user.
*/ inline UserSearchSummary& WithDirectoryUserId(const Aws::String& value) { SetDirectoryUserId(value); return *this;} /** *The directory identifier of the user.
*/ inline UserSearchSummary& WithDirectoryUserId(Aws::String&& value) { SetDirectoryUserId(std::move(value)); return *this;} /** *The directory identifier of the user.
*/ inline UserSearchSummary& WithDirectoryUserId(const char* value) { SetDirectoryUserId(value); return *this;} /** *The identifier of the user's hierarchy group.
*/ inline const Aws::String& GetHierarchyGroupId() const{ return m_hierarchyGroupId; } /** *The identifier of the user's hierarchy group.
*/ inline bool HierarchyGroupIdHasBeenSet() const { return m_hierarchyGroupIdHasBeenSet; } /** *The identifier of the user's hierarchy group.
*/ inline void SetHierarchyGroupId(const Aws::String& value) { m_hierarchyGroupIdHasBeenSet = true; m_hierarchyGroupId = value; } /** *The identifier of the user's hierarchy group.
*/ inline void SetHierarchyGroupId(Aws::String&& value) { m_hierarchyGroupIdHasBeenSet = true; m_hierarchyGroupId = std::move(value); } /** *The identifier of the user's hierarchy group.
*/ inline void SetHierarchyGroupId(const char* value) { m_hierarchyGroupIdHasBeenSet = true; m_hierarchyGroupId.assign(value); } /** *The identifier of the user's hierarchy group.
*/ inline UserSearchSummary& WithHierarchyGroupId(const Aws::String& value) { SetHierarchyGroupId(value); return *this;} /** *The identifier of the user's hierarchy group.
*/ inline UserSearchSummary& WithHierarchyGroupId(Aws::String&& value) { SetHierarchyGroupId(std::move(value)); return *this;} /** *The identifier of the user's hierarchy group.
*/ inline UserSearchSummary& WithHierarchyGroupId(const char* value) { SetHierarchyGroupId(value); return *this;} /** *The identifier of the user's summary.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier of the user's summary.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The identifier of the user's summary.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The identifier of the user's summary.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The identifier of the user's summary.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The identifier of the user's summary.
*/ inline UserSearchSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier of the user's summary.
*/ inline UserSearchSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier of the user's summary.
*/ inline UserSearchSummary& WithId(const char* value) { SetId(value); return *this;} /** *The user's first name and last name.
*/ inline const UserIdentityInfoLite& GetIdentityInfo() const{ return m_identityInfo; } /** *The user's first name and last name.
*/ inline bool IdentityInfoHasBeenSet() const { return m_identityInfoHasBeenSet; } /** *The user's first name and last name.
*/ inline void SetIdentityInfo(const UserIdentityInfoLite& value) { m_identityInfoHasBeenSet = true; m_identityInfo = value; } /** *The user's first name and last name.
*/ inline void SetIdentityInfo(UserIdentityInfoLite&& value) { m_identityInfoHasBeenSet = true; m_identityInfo = std::move(value); } /** *The user's first name and last name.
*/ inline UserSearchSummary& WithIdentityInfo(const UserIdentityInfoLite& value) { SetIdentityInfo(value); return *this;} /** *The user's first name and last name.
*/ inline UserSearchSummary& WithIdentityInfo(UserIdentityInfoLite&& value) { SetIdentityInfo(std::move(value)); return *this;} inline const UserPhoneConfig& GetPhoneConfig() const{ return m_phoneConfig; } inline bool PhoneConfigHasBeenSet() const { return m_phoneConfigHasBeenSet; } inline void SetPhoneConfig(const UserPhoneConfig& value) { m_phoneConfigHasBeenSet = true; m_phoneConfig = value; } inline void SetPhoneConfig(UserPhoneConfig&& value) { m_phoneConfigHasBeenSet = true; m_phoneConfig = std::move(value); } inline UserSearchSummary& WithPhoneConfig(const UserPhoneConfig& value) { SetPhoneConfig(value); return *this;} inline UserSearchSummary& WithPhoneConfig(UserPhoneConfig&& value) { SetPhoneConfig(std::move(value)); return *this;} /** *The identifier of the user's routing profile.
*/ inline const Aws::String& GetRoutingProfileId() const{ return m_routingProfileId; } /** *The identifier of the user's routing profile.
*/ inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; } /** *The identifier of the user's routing profile.
*/ inline void SetRoutingProfileId(const Aws::String& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = value; } /** *The identifier of the user's routing profile.
*/ inline void SetRoutingProfileId(Aws::String&& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = std::move(value); } /** *The identifier of the user's routing profile.
*/ inline void SetRoutingProfileId(const char* value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId.assign(value); } /** *The identifier of the user's routing profile.
*/ inline UserSearchSummary& WithRoutingProfileId(const Aws::String& value) { SetRoutingProfileId(value); return *this;} /** *The identifier of the user's routing profile.
*/ inline UserSearchSummary& WithRoutingProfileId(Aws::String&& value) { SetRoutingProfileId(std::move(value)); return *this;} /** *The identifier of the user's routing profile.
*/ inline UserSearchSummary& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;} /** *The identifiers of the user's security profiles.
*/ inline const Aws::VectorThe identifiers of the user's security profiles.
*/ inline bool SecurityProfileIdsHasBeenSet() const { return m_securityProfileIdsHasBeenSet; } /** *The identifiers of the user's security profiles.
*/ inline void SetSecurityProfileIds(const Aws::VectorThe identifiers of the user's security profiles.
*/ inline void SetSecurityProfileIds(Aws::VectorThe identifiers of the user's security profiles.
*/ inline UserSearchSummary& WithSecurityProfileIds(const Aws::VectorThe identifiers of the user's security profiles.
*/ inline UserSearchSummary& WithSecurityProfileIds(Aws::VectorThe identifiers of the user's security profiles.
*/ inline UserSearchSummary& AddSecurityProfileIds(const Aws::String& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds.push_back(value); return *this; } /** *The identifiers of the user's security profiles.
*/ inline UserSearchSummary& AddSecurityProfileIds(Aws::String&& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds.push_back(std::move(value)); return *this; } /** *The identifiers of the user's security profiles.
*/ inline UserSearchSummary& AddSecurityProfileIds(const char* value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds.push_back(value); return *this; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline const Aws::MapThe tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline void SetTags(const Aws::MapThe tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline void SetTags(Aws::MapThe tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline UserSearchSummary& WithTags(const Aws::MapThe tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline UserSearchSummary& WithTags(Aws::MapThe tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline UserSearchSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline UserSearchSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline UserSearchSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline UserSearchSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline UserSearchSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline UserSearchSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline UserSearchSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The name of the user.
*/ inline const Aws::String& GetUsername() const{ return m_username; } /** *The name of the user.
*/ inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; } /** *The name of the user.
*/ inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; } /** *The name of the user.
*/ inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); } /** *The name of the user.
*/ inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); } /** *The name of the user.
*/ inline UserSearchSummary& WithUsername(const Aws::String& value) { SetUsername(value); return *this;} /** *The name of the user.
*/ inline UserSearchSummary& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;} /** *The name of the user.
*/ inline UserSearchSummary& WithUsername(const char* value) { SetUsername(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_directoryUserId; bool m_directoryUserIdHasBeenSet = false; Aws::String m_hierarchyGroupId; bool m_hierarchyGroupIdHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; UserIdentityInfoLite m_identityInfo; bool m_identityInfoHasBeenSet = false; UserPhoneConfig m_phoneConfig; bool m_phoneConfigHasBeenSet = false; Aws::String m_routingProfileId; bool m_routingProfileIdHasBeenSet = false; Aws::Vector