AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
DisassociateUserProficienciesRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/UserProficiencyDisassociate.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 DisassociateUserProficienciesRequest() = 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 "DisassociateUserProficiencies"; }
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
74 inline const Aws::Vector<UserProficiencyDisassociate>& GetUserProficiencies() const { return m_userProficiencies; }
75 inline bool UserProficienciesHasBeenSet() const { return m_userProficienciesHasBeenSet; }
76 template <typename UserProficienciesT = Aws::Vector<UserProficiencyDisassociate>>
77 void SetUserProficiencies(UserProficienciesT&& value) {
78 m_userProficienciesHasBeenSet = true;
79 m_userProficiencies = std::forward<UserProficienciesT>(value);
80 }
81 template <typename UserProficienciesT = Aws::Vector<UserProficiencyDisassociate>>
83 SetUserProficiencies(std::forward<UserProficienciesT>(value));
84 return *this;
85 }
86 template <typename UserProficienciesT = UserProficiencyDisassociate>
88 m_userProficienciesHasBeenSet = true;
89 m_userProficiencies.emplace_back(std::forward<UserProficienciesT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_instanceId;
95 bool m_instanceIdHasBeenSet = false;
96
97 Aws::String m_userId;
98 bool m_userIdHasBeenSet = false;
99
101 bool m_userProficienciesHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Connect
106} // namespace Aws
DisassociateUserProficienciesRequest & WithUserId(UserIdT &&value)
DisassociateUserProficienciesRequest & WithInstanceId(InstanceIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
DisassociateUserProficienciesRequest & WithUserProficiencies(UserProficienciesT &&value)
DisassociateUserProficienciesRequest & AddUserProficiencies(UserProficienciesT &&value)
const Aws::Vector< UserProficiencyDisassociate > & GetUserProficiencies() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector