AWS SDK for C++  1.9.156
AWS SDK for C++
UpdateUserRoutingProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Connect
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "UpdateUserRoutingProfile"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetRoutingProfileId() const{ return m_routingProfileId; }
39 
43  inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
44 
48  inline void SetRoutingProfileId(const Aws::String& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = value; }
49 
53  inline void SetRoutingProfileId(Aws::String&& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = std::move(value); }
54 
58  inline void SetRoutingProfileId(const char* value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId.assign(value); }
59 
63  inline UpdateUserRoutingProfileRequest& WithRoutingProfileId(const Aws::String& value) { SetRoutingProfileId(value); return *this;}
64 
68  inline UpdateUserRoutingProfileRequest& WithRoutingProfileId(Aws::String&& value) { SetRoutingProfileId(std::move(value)); return *this;}
69 
73  inline UpdateUserRoutingProfileRequest& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
74 
75 
79  inline const Aws::String& GetUserId() const{ return m_userId; }
80 
84  inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
85 
89  inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
90 
94  inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
95 
99  inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
100 
104  inline UpdateUserRoutingProfileRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
105 
109  inline UpdateUserRoutingProfileRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
110 
114  inline UpdateUserRoutingProfileRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
115 
116 
121  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
122 
127  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
128 
133  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
134 
139  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
140 
145  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
146 
151  inline UpdateUserRoutingProfileRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
152 
157  inline UpdateUserRoutingProfileRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
158 
163  inline UpdateUserRoutingProfileRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
164 
165  private:
166 
167  Aws::String m_routingProfileId;
168  bool m_routingProfileIdHasBeenSet;
169 
170  Aws::String m_userId;
171  bool m_userIdHasBeenSet;
172 
173  Aws::String m_instanceId;
174  bool m_instanceIdHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace Connect
179 } // namespace Aws
Aws::Connect::Model::UpdateUserRoutingProfileRequest::GetUserId
const Aws::String & GetUserId() const
Definition: UpdateUserRoutingProfileRequest.h:79
Aws::Connect::Model::UpdateUserRoutingProfileRequest::WithInstanceId
UpdateUserRoutingProfileRequest & WithInstanceId(const char *value)
Definition: UpdateUserRoutingProfileRequest.h:163
Aws::Connect::Model::UpdateUserRoutingProfileRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateUserRoutingProfileRequest.h:127
Aws::Connect::Model::UpdateUserRoutingProfileRequest::SetRoutingProfileId
void SetRoutingProfileId(Aws::String &&value)
Definition: UpdateUserRoutingProfileRequest.h:53
Aws::Connect::Model::UpdateUserRoutingProfileRequest::WithUserId
UpdateUserRoutingProfileRequest & WithUserId(Aws::String &&value)
Definition: UpdateUserRoutingProfileRequest.h:109
Aws::Connect::Model::UpdateUserRoutingProfileRequest::UserIdHasBeenSet
bool UserIdHasBeenSet() const
Definition: UpdateUserRoutingProfileRequest.h:84
Aws::Connect::Model::UpdateUserRoutingProfileRequest::WithInstanceId
UpdateUserRoutingProfileRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateUserRoutingProfileRequest.h:157
Aws::Connect::Model::UpdateUserRoutingProfileRequest::UpdateUserRoutingProfileRequest
UpdateUserRoutingProfileRequest()
Aws::Connect::Model::UpdateUserRoutingProfileRequest::RoutingProfileIdHasBeenSet
bool RoutingProfileIdHasBeenSet() const
Definition: UpdateUserRoutingProfileRequest.h:43
Aws::Connect::Model::UpdateUserRoutingProfileRequest::GetRoutingProfileId
const Aws::String & GetRoutingProfileId() const
Definition: UpdateUserRoutingProfileRequest.h:38
Aws::Connect::Model::UpdateUserRoutingProfileRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateUserRoutingProfileRequest.h:145
Aws::Connect::Model::UpdateUserRoutingProfileRequest::SetRoutingProfileId
void SetRoutingProfileId(const char *value)
Definition: UpdateUserRoutingProfileRequest.h:58
Aws::Connect::Model::UpdateUserRoutingProfileRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateUserRoutingProfileRequest.h:121
Aws::Connect::Model::UpdateUserRoutingProfileRequest
Definition: UpdateUserRoutingProfileRequest.h:22
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::UpdateUserRoutingProfileRequest::WithUserId
UpdateUserRoutingProfileRequest & WithUserId(const Aws::String &value)
Definition: UpdateUserRoutingProfileRequest.h:104
AWSString.h
Aws::Connect::Model::UpdateUserRoutingProfileRequest::WithRoutingProfileId
UpdateUserRoutingProfileRequest & WithRoutingProfileId(const Aws::String &value)
Definition: UpdateUserRoutingProfileRequest.h:63
Aws::Connect::Model::UpdateUserRoutingProfileRequest::WithRoutingProfileId
UpdateUserRoutingProfileRequest & WithRoutingProfileId(const char *value)
Definition: UpdateUserRoutingProfileRequest.h:73
Aws::Connect::Model::UpdateUserRoutingProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateUserRoutingProfileRequest.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UpdateUserRoutingProfileRequest::WithUserId
UpdateUserRoutingProfileRequest & WithUserId(const char *value)
Definition: UpdateUserRoutingProfileRequest.h:114
Aws::Connect::Model::UpdateUserRoutingProfileRequest::WithInstanceId
UpdateUserRoutingProfileRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateUserRoutingProfileRequest.h:151
Aws::Connect::Model::UpdateUserRoutingProfileRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateUserRoutingProfileRequest.h:133
Aws::Connect::Model::UpdateUserRoutingProfileRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateUserRoutingProfileRequest.h:139
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::UpdateUserRoutingProfileRequest::SetUserId
void SetUserId(const Aws::String &value)
Definition: UpdateUserRoutingProfileRequest.h:89
Aws::Connect::Model::UpdateUserRoutingProfileRequest::SetUserId
void SetUserId(const char *value)
Definition: UpdateUserRoutingProfileRequest.h:99
Aws::Connect::Model::UpdateUserRoutingProfileRequest::SetUserId
void SetUserId(Aws::String &&value)
Definition: UpdateUserRoutingProfileRequest.h:94
ConnectRequest.h
Aws::Connect::Model::UpdateUserRoutingProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::UpdateUserRoutingProfileRequest::SetRoutingProfileId
void SetRoutingProfileId(const Aws::String &value)
Definition: UpdateUserRoutingProfileRequest.h:48
Aws::Connect::Model::UpdateUserRoutingProfileRequest::WithRoutingProfileId
UpdateUserRoutingProfileRequest & WithRoutingProfileId(Aws::String &&value)
Definition: UpdateUserRoutingProfileRequest.h:68