AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
UpdateUserRoutingProfileRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Connect {
15namespace Model {
16
20 public:
21 AWS_CONNECT_API UpdateUserRoutingProfileRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserRoutingProfile"; }
28
29 AWS_CONNECT_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetRoutingProfileId() const { return m_routingProfileId; }
36 inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
37 template <typename RoutingProfileIdT = Aws::String>
38 void SetRoutingProfileId(RoutingProfileIdT&& value) {
39 m_routingProfileIdHasBeenSet = true;
40 m_routingProfileId = std::forward<RoutingProfileIdT>(value);
41 }
42 template <typename RoutingProfileIdT = Aws::String>
44 SetRoutingProfileId(std::forward<RoutingProfileIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetUserId() const { return m_userId; }
54 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
55 template <typename UserIdT = Aws::String>
56 void SetUserId(UserIdT&& value) {
57 m_userIdHasBeenSet = true;
58 m_userId = std::forward<UserIdT>(value);
59 }
60 template <typename UserIdT = Aws::String>
62 SetUserId(std::forward<UserIdT>(value));
63 return *this;
64 }
66
68
73 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
74 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
75 template <typename InstanceIdT = Aws::String>
76 void SetInstanceId(InstanceIdT&& value) {
77 m_instanceIdHasBeenSet = true;
78 m_instanceId = std::forward<InstanceIdT>(value);
79 }
80 template <typename InstanceIdT = Aws::String>
82 SetInstanceId(std::forward<InstanceIdT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_routingProfileId;
88 bool m_routingProfileIdHasBeenSet = false;
89
90 Aws::String m_userId;
91 bool m_userIdHasBeenSet = false;
92
93 Aws::String m_instanceId;
94 bool m_instanceIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Connect
99} // namespace Aws
UpdateUserRoutingProfileRequest & WithUserId(UserIdT &&value)
UpdateUserRoutingProfileRequest & WithRoutingProfileId(RoutingProfileIdT &&value)
AWS_CONNECT_API UpdateUserRoutingProfileRequest()=default
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateUserRoutingProfileRequest & WithInstanceId(InstanceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String