AWS SDK for C++  1.9.154
AWS SDK for C++
UpdateUserIdentityInfoRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Connect
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateUserIdentityInfo"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const UserIdentityInfo& GetIdentityInfo() const{ return m_identityInfo; }
40 
44  inline bool IdentityInfoHasBeenSet() const { return m_identityInfoHasBeenSet; }
45 
49  inline void SetIdentityInfo(const UserIdentityInfo& value) { m_identityInfoHasBeenSet = true; m_identityInfo = value; }
50 
54  inline void SetIdentityInfo(UserIdentityInfo&& value) { m_identityInfoHasBeenSet = true; m_identityInfo = std::move(value); }
55 
59  inline UpdateUserIdentityInfoRequest& WithIdentityInfo(const UserIdentityInfo& value) { SetIdentityInfo(value); return *this;}
60 
64  inline UpdateUserIdentityInfoRequest& WithIdentityInfo(UserIdentityInfo&& value) { SetIdentityInfo(std::move(value)); return *this;}
65 
66 
70  inline const Aws::String& GetUserId() const{ return m_userId; }
71 
75  inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
76 
80  inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
81 
85  inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
86 
90  inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
91 
95  inline UpdateUserIdentityInfoRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
96 
100  inline UpdateUserIdentityInfoRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
101 
105  inline UpdateUserIdentityInfoRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
106 
107 
112  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
113 
118  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
119 
124  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
125 
130  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
131 
136  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
137 
142  inline UpdateUserIdentityInfoRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
143 
148  inline UpdateUserIdentityInfoRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
149 
154  inline UpdateUserIdentityInfoRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
155 
156  private:
157 
158  UserIdentityInfo m_identityInfo;
159  bool m_identityInfoHasBeenSet;
160 
161  Aws::String m_userId;
162  bool m_userIdHasBeenSet;
163 
164  Aws::String m_instanceId;
165  bool m_instanceIdHasBeenSet;
166  };
167 
168 } // namespace Model
169 } // namespace Connect
170 } // namespace Aws
Aws::Connect::Model::UpdateUserIdentityInfoRequest::SetUserId
void SetUserId(Aws::String &&value)
Definition: UpdateUserIdentityInfoRequest.h:85
Aws::Connect::Model::UpdateUserIdentityInfoRequest::WithInstanceId
UpdateUserIdentityInfoRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateUserIdentityInfoRequest.h:142
Aws::Connect::Model::UpdateUserIdentityInfoRequest::UpdateUserIdentityInfoRequest
UpdateUserIdentityInfoRequest()
Aws::Connect::Model::UpdateUserIdentityInfoRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateUserIdentityInfoRequest.h:124
Aws::Connect::Model::UpdateUserIdentityInfoRequest::WithIdentityInfo
UpdateUserIdentityInfoRequest & WithIdentityInfo(UserIdentityInfo &&value)
Definition: UpdateUserIdentityInfoRequest.h:64
Aws::Connect::Model::UpdateUserIdentityInfoRequest::WithInstanceId
UpdateUserIdentityInfoRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateUserIdentityInfoRequest.h:148
Aws::Connect::Model::UpdateUserIdentityInfoRequest::GetIdentityInfo
const UserIdentityInfo & GetIdentityInfo() const
Definition: UpdateUserIdentityInfoRequest.h:39
Aws::Connect::Model::UserIdentityInfo
Definition: UserIdentityInfo.h:33
Aws::Connect::Model::UpdateUserIdentityInfoRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateUserIdentityInfoRequest.h:136
Aws::Connect::Model::UpdateUserIdentityInfoRequest::WithUserId
UpdateUserIdentityInfoRequest & WithUserId(const char *value)
Definition: UpdateUserIdentityInfoRequest.h:105
Aws::Connect::Model::UpdateUserIdentityInfoRequest
Definition: UpdateUserIdentityInfoRequest.h:23
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::UpdateUserIdentityInfoRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateUserIdentityInfoRequest.h:130
AWSString.h
Aws::Connect::Model::UpdateUserIdentityInfoRequest::WithUserId
UpdateUserIdentityInfoRequest & WithUserId(Aws::String &&value)
Definition: UpdateUserIdentityInfoRequest.h:100
Aws::Connect::Model::UpdateUserIdentityInfoRequest::IdentityInfoHasBeenSet
bool IdentityInfoHasBeenSet() const
Definition: UpdateUserIdentityInfoRequest.h:44
Aws::Connect::Model::UpdateUserIdentityInfoRequest::WithIdentityInfo
UpdateUserIdentityInfoRequest & WithIdentityInfo(const UserIdentityInfo &value)
Definition: UpdateUserIdentityInfoRequest.h:59
Aws::Connect::Model::UpdateUserIdentityInfoRequest::WithInstanceId
UpdateUserIdentityInfoRequest & WithInstanceId(const char *value)
Definition: UpdateUserIdentityInfoRequest.h:154
Aws::Connect::Model::UpdateUserIdentityInfoRequest::WithUserId
UpdateUserIdentityInfoRequest & WithUserId(const Aws::String &value)
Definition: UpdateUserIdentityInfoRequest.h:95
Aws::Connect::Model::UpdateUserIdentityInfoRequest::SetUserId
void SetUserId(const Aws::String &value)
Definition: UpdateUserIdentityInfoRequest.h:80
Aws::Connect::Model::UpdateUserIdentityInfoRequest::SetUserId
void SetUserId(const char *value)
Definition: UpdateUserIdentityInfoRequest.h:90
Aws
Definition: AccessManagementClient.h:15
UserIdentityInfo.h
Aws::Connect::Model::UpdateUserIdentityInfoRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateUserIdentityInfoRequest.h:118
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::UpdateUserIdentityInfoRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateUserIdentityInfoRequest.h:31
Aws::Connect::Model::UpdateUserIdentityInfoRequest::SetIdentityInfo
void SetIdentityInfo(UserIdentityInfo &&value)
Definition: UpdateUserIdentityInfoRequest.h:54
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::UpdateUserIdentityInfoRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::UpdateUserIdentityInfoRequest::GetUserId
const Aws::String & GetUserId() const
Definition: UpdateUserIdentityInfoRequest.h:70
Connect_EXPORTS.h
Aws::Connect::Model::UpdateUserIdentityInfoRequest::UserIdHasBeenSet
bool UserIdHasBeenSet() const
Definition: UpdateUserIdentityInfoRequest.h:75
ConnectRequest.h
Aws::Connect::Model::UpdateUserIdentityInfoRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateUserIdentityInfoRequest.h:112
Aws::Connect::Model::UpdateUserIdentityInfoRequest::SetIdentityInfo
void SetIdentityInfo(const UserIdentityInfo &value)
Definition: UpdateUserIdentityInfoRequest.h:49