AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
DisassociateUserProficienciesRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/connect/model/UserProficiencyDisassociate.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONNECT_API DisassociateUserProficienciesRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DisassociateUserProficiencies"; }
33
34 AWS_CONNECT_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 template<typename InstanceIdT = Aws::String>
45 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
46 template<typename InstanceIdT = Aws::String>
47 DisassociateUserProficienciesRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetUserId() const { return m_userId; }
55 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
56 template<typename UserIdT = Aws::String>
57 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet = true; m_userId = std::forward<UserIdT>(value); }
58 template<typename UserIdT = Aws::String>
59 DisassociateUserProficienciesRequest& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
61
63
66 inline const Aws::Vector<UserProficiencyDisassociate>& GetUserProficiencies() const { return m_userProficiencies; }
67 inline bool UserProficienciesHasBeenSet() const { return m_userProficienciesHasBeenSet; }
68 template<typename UserProficienciesT = Aws::Vector<UserProficiencyDisassociate>>
69 void SetUserProficiencies(UserProficienciesT&& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies = std::forward<UserProficienciesT>(value); }
70 template<typename UserProficienciesT = Aws::Vector<UserProficiencyDisassociate>>
71 DisassociateUserProficienciesRequest& WithUserProficiencies(UserProficienciesT&& value) { SetUserProficiencies(std::forward<UserProficienciesT>(value)); return *this;}
72 template<typename UserProficienciesT = UserProficiencyDisassociate>
73 DisassociateUserProficienciesRequest& AddUserProficiencies(UserProficienciesT&& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies.emplace_back(std::forward<UserProficienciesT>(value)); return *this; }
75 private:
76
77 Aws::String m_instanceId;
78 bool m_instanceIdHasBeenSet = false;
79
80 Aws::String m_userId;
81 bool m_userIdHasBeenSet = false;
82
84 bool m_userProficienciesHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Connect
89} // 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