AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserSearchSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/UserIdentityInfoLite.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 <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Connect
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_CONNECT_API UserSearchSummary();
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline UserSearchSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline UserSearchSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline UserSearchSummary& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::String& GetDirectoryUserId() const{ return m_directoryUserId; }
63 inline bool DirectoryUserIdHasBeenSet() const { return m_directoryUserIdHasBeenSet; }
64 inline void SetDirectoryUserId(const Aws::String& value) { m_directoryUserIdHasBeenSet = true; m_directoryUserId = value; }
65 inline void SetDirectoryUserId(Aws::String&& value) { m_directoryUserIdHasBeenSet = true; m_directoryUserId = std::move(value); }
66 inline void SetDirectoryUserId(const char* value) { m_directoryUserIdHasBeenSet = true; m_directoryUserId.assign(value); }
67 inline UserSearchSummary& WithDirectoryUserId(const Aws::String& value) { SetDirectoryUserId(value); return *this;}
68 inline UserSearchSummary& WithDirectoryUserId(Aws::String&& value) { SetDirectoryUserId(std::move(value)); return *this;}
69 inline UserSearchSummary& WithDirectoryUserId(const char* value) { SetDirectoryUserId(value); return *this;}
71
73
76 inline const Aws::String& GetHierarchyGroupId() const{ return m_hierarchyGroupId; }
77 inline bool HierarchyGroupIdHasBeenSet() const { return m_hierarchyGroupIdHasBeenSet; }
78 inline void SetHierarchyGroupId(const Aws::String& value) { m_hierarchyGroupIdHasBeenSet = true; m_hierarchyGroupId = value; }
79 inline void SetHierarchyGroupId(Aws::String&& value) { m_hierarchyGroupIdHasBeenSet = true; m_hierarchyGroupId = std::move(value); }
80 inline void SetHierarchyGroupId(const char* value) { m_hierarchyGroupIdHasBeenSet = true; m_hierarchyGroupId.assign(value); }
81 inline UserSearchSummary& WithHierarchyGroupId(const Aws::String& value) { SetHierarchyGroupId(value); return *this;}
82 inline UserSearchSummary& WithHierarchyGroupId(Aws::String&& value) { SetHierarchyGroupId(std::move(value)); return *this;}
83 inline UserSearchSummary& WithHierarchyGroupId(const char* value) { SetHierarchyGroupId(value); return *this;}
85
87
90 inline const Aws::String& GetId() const{ return m_id; }
91 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
92 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
93 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
94 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
95 inline UserSearchSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
96 inline UserSearchSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
97 inline UserSearchSummary& WithId(const char* value) { SetId(value); return *this;}
99
101
104 inline const UserIdentityInfoLite& GetIdentityInfo() const{ return m_identityInfo; }
105 inline bool IdentityInfoHasBeenSet() const { return m_identityInfoHasBeenSet; }
106 inline void SetIdentityInfo(const UserIdentityInfoLite& value) { m_identityInfoHasBeenSet = true; m_identityInfo = value; }
107 inline void SetIdentityInfo(UserIdentityInfoLite&& value) { m_identityInfoHasBeenSet = true; m_identityInfo = std::move(value); }
108 inline UserSearchSummary& WithIdentityInfo(const UserIdentityInfoLite& value) { SetIdentityInfo(value); return *this;}
109 inline UserSearchSummary& WithIdentityInfo(UserIdentityInfoLite&& value) { SetIdentityInfo(std::move(value)); return *this;}
111
113
114 inline const UserPhoneConfig& GetPhoneConfig() const{ return m_phoneConfig; }
115 inline bool PhoneConfigHasBeenSet() const { return m_phoneConfigHasBeenSet; }
116 inline void SetPhoneConfig(const UserPhoneConfig& value) { m_phoneConfigHasBeenSet = true; m_phoneConfig = value; }
117 inline void SetPhoneConfig(UserPhoneConfig&& value) { m_phoneConfigHasBeenSet = true; m_phoneConfig = std::move(value); }
118 inline UserSearchSummary& WithPhoneConfig(const UserPhoneConfig& value) { SetPhoneConfig(value); return *this;}
119 inline UserSearchSummary& WithPhoneConfig(UserPhoneConfig&& value) { SetPhoneConfig(std::move(value)); return *this;}
121
123
126 inline const Aws::String& GetRoutingProfileId() const{ return m_routingProfileId; }
127 inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
128 inline void SetRoutingProfileId(const Aws::String& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = value; }
129 inline void SetRoutingProfileId(Aws::String&& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = std::move(value); }
130 inline void SetRoutingProfileId(const char* value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId.assign(value); }
131 inline UserSearchSummary& WithRoutingProfileId(const Aws::String& value) { SetRoutingProfileId(value); return *this;}
132 inline UserSearchSummary& WithRoutingProfileId(Aws::String&& value) { SetRoutingProfileId(std::move(value)); return *this;}
133 inline UserSearchSummary& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
135
137
140 inline const Aws::Vector<Aws::String>& GetSecurityProfileIds() const{ return m_securityProfileIds; }
141 inline bool SecurityProfileIdsHasBeenSet() const { return m_securityProfileIdsHasBeenSet; }
142 inline void SetSecurityProfileIds(const Aws::Vector<Aws::String>& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds = value; }
143 inline void SetSecurityProfileIds(Aws::Vector<Aws::String>&& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds = std::move(value); }
146 inline UserSearchSummary& AddSecurityProfileIds(const Aws::String& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds.push_back(value); return *this; }
147 inline UserSearchSummary& AddSecurityProfileIds(Aws::String&& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds.push_back(std::move(value)); return *this; }
148 inline UserSearchSummary& AddSecurityProfileIds(const char* value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds.push_back(value); return *this; }
150
152
156 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
157 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
158 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
159 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
160 inline UserSearchSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
161 inline UserSearchSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
162 inline UserSearchSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
163 inline UserSearchSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
164 inline UserSearchSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
165 inline UserSearchSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
166 inline UserSearchSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
167 inline UserSearchSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
168 inline UserSearchSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
170
172
175 inline const Aws::String& GetUsername() const{ return m_username; }
176 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
177 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
178 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
179 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
180 inline UserSearchSummary& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
181 inline UserSearchSummary& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
182 inline UserSearchSummary& WithUsername(const char* value) { SetUsername(value); return *this;}
184 private:
185
186 Aws::String m_arn;
187 bool m_arnHasBeenSet = false;
188
189 Aws::String m_directoryUserId;
190 bool m_directoryUserIdHasBeenSet = false;
191
192 Aws::String m_hierarchyGroupId;
193 bool m_hierarchyGroupIdHasBeenSet = false;
194
195 Aws::String m_id;
196 bool m_idHasBeenSet = false;
197
198 UserIdentityInfoLite m_identityInfo;
199 bool m_identityInfoHasBeenSet = false;
200
201 UserPhoneConfig m_phoneConfig;
202 bool m_phoneConfigHasBeenSet = false;
203
204 Aws::String m_routingProfileId;
205 bool m_routingProfileIdHasBeenSet = false;
206
207 Aws::Vector<Aws::String> m_securityProfileIds;
208 bool m_securityProfileIdsHasBeenSet = false;
209
211 bool m_tagsHasBeenSet = false;
212
213 Aws::String m_username;
214 bool m_usernameHasBeenSet = false;
215 };
216
217} // namespace Model
218} // namespace Connect
219} // namespace Aws
void SetDirectoryUserId(Aws::String &&value)
void SetSecurityProfileIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSecurityProfileIds() const
UserSearchSummary & AddTags(Aws::String &&key, const char *value)
UserSearchSummary & WithIdentityInfo(UserIdentityInfoLite &&value)
UserSearchSummary & WithHierarchyGroupId(const char *value)
UserSearchSummary & WithDirectoryUserId(const Aws::String &value)
void SetRoutingProfileId(const Aws::String &value)
UserSearchSummary & WithSecurityProfileIds(Aws::Vector< Aws::String > &&value)
UserSearchSummary & WithArn(Aws::String &&value)
UserSearchSummary & WithIdentityInfo(const UserIdentityInfoLite &value)
UserSearchSummary & WithHierarchyGroupId(Aws::String &&value)
UserSearchSummary & WithHierarchyGroupId(const Aws::String &value)
void SetHierarchyGroupId(const Aws::String &value)
const UserIdentityInfoLite & GetIdentityInfo() const
UserSearchSummary & WithUsername(const Aws::String &value)
UserSearchSummary & AddSecurityProfileIds(const Aws::String &value)
UserSearchSummary & WithArn(const char *value)
UserSearchSummary & AddSecurityProfileIds(const char *value)
const Aws::String & GetUsername() const
void SetUsername(const Aws::String &value)
UserSearchSummary & WithRoutingProfileId(Aws::String &&value)
UserSearchSummary & WithRoutingProfileId(const char *value)
UserSearchSummary & AddTags(Aws::String &&key, const Aws::String &value)
UserSearchSummary & WithUsername(const char *value)
UserSearchSummary & WithRoutingProfileId(const Aws::String &value)
UserSearchSummary & AddSecurityProfileIds(Aws::String &&value)
UserSearchSummary & AddTags(const Aws::String &key, Aws::String &&value)
void SetId(const Aws::String &value)
UserSearchSummary & WithSecurityProfileIds(const Aws::Vector< Aws::String > &value)
void SetPhoneConfig(UserPhoneConfig &&value)
AWS_CONNECT_API UserSearchSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
UserSearchSummary & AddTags(const char *key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetIdentityInfo(const UserIdentityInfoLite &value)
UserSearchSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetRoutingProfileId() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CONNECT_API UserSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDirectoryUserId(const Aws::String &value)
UserSearchSummary & AddTags(Aws::String &&key, Aws::String &&value)
UserSearchSummary & WithArn(const Aws::String &value)
UserSearchSummary & WithDirectoryUserId(Aws::String &&value)
void SetHierarchyGroupId(const char *value)
UserSearchSummary & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetHierarchyGroupId() const
UserSearchSummary & WithId(Aws::String &&value)
const Aws::String & GetDirectoryUserId() const
void SetIdentityInfo(UserIdentityInfoLite &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UserSearchSummary & WithPhoneConfig(UserPhoneConfig &&value)
void SetHierarchyGroupId(Aws::String &&value)
UserSearchSummary & WithId(const Aws::String &value)
UserSearchSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UserSearchSummary & WithDirectoryUserId(const char *value)
void SetRoutingProfileId(Aws::String &&value)
UserSearchSummary & AddTags(const char *key, Aws::String &&value)
void SetSecurityProfileIds(const Aws::Vector< Aws::String > &value)
void SetPhoneConfig(const UserPhoneConfig &value)
const UserPhoneConfig & GetPhoneConfig() const
void SetArn(const Aws::String &value)
UserSearchSummary & WithPhoneConfig(const UserPhoneConfig &value)
UserSearchSummary & WithUsername(Aws::String &&value)
UserSearchSummary & WithId(const char *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