AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
UpdateUserProficienciesRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/UserProficiency.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Connect {
17namespace Model {
18
22 public:
23 AWS_CONNECT_API UpdateUserProficienciesRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserProficiencies"; }
30
31 AWS_CONNECT_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
39 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
40 template <typename InstanceIdT = Aws::String>
41 void SetInstanceId(InstanceIdT&& value) {
42 m_instanceIdHasBeenSet = true;
43 m_instanceId = std::forward<InstanceIdT>(value);
44 }
45 template <typename InstanceIdT = Aws::String>
47 SetInstanceId(std::forward<InstanceIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetUserId() const { return m_userId; }
57 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
58 template <typename UserIdT = Aws::String>
59 void SetUserId(UserIdT&& value) {
60 m_userIdHasBeenSet = true;
61 m_userId = std::forward<UserIdT>(value);
62 }
63 template <typename UserIdT = Aws::String>
65 SetUserId(std::forward<UserIdT>(value));
66 return *this;
67 }
69
71
76 inline const Aws::Vector<UserProficiency>& GetUserProficiencies() const { return m_userProficiencies; }
77 inline bool UserProficienciesHasBeenSet() const { return m_userProficienciesHasBeenSet; }
78 template <typename UserProficienciesT = Aws::Vector<UserProficiency>>
79 void SetUserProficiencies(UserProficienciesT&& value) {
80 m_userProficienciesHasBeenSet = true;
81 m_userProficiencies = std::forward<UserProficienciesT>(value);
82 }
83 template <typename UserProficienciesT = Aws::Vector<UserProficiency>>
85 SetUserProficiencies(std::forward<UserProficienciesT>(value));
86 return *this;
87 }
88 template <typename UserProficienciesT = UserProficiency>
90 m_userProficienciesHasBeenSet = true;
91 m_userProficiencies.emplace_back(std::forward<UserProficienciesT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_instanceId;
97 bool m_instanceIdHasBeenSet = false;
98
99 Aws::String m_userId;
100 bool m_userIdHasBeenSet = false;
101
102 Aws::Vector<UserProficiency> m_userProficiencies;
103 bool m_userProficienciesHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace Connect
108} // namespace Aws
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateUserProficienciesRequest & WithUserId(UserIdT &&value)
UpdateUserProficienciesRequest & WithInstanceId(InstanceIdT &&value)
const Aws::Vector< UserProficiency > & GetUserProficiencies() const
UpdateUserProficienciesRequest & WithUserProficiencies(UserProficienciesT &&value)
UpdateUserProficienciesRequest & AddUserProficiencies(UserProficienciesT &&value)
AWS_CONNECT_API UpdateUserProficienciesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector