AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
48 inline DisassociateUserProficienciesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline DisassociateUserProficienciesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
56 inline const Aws::String& GetUserId() const{ return m_userId; }
57 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
58 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
59 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
60 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
61 inline DisassociateUserProficienciesRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
62 inline DisassociateUserProficienciesRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
63 inline DisassociateUserProficienciesRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
65
67
70 inline const Aws::Vector<UserProficiencyDisassociate>& GetUserProficiencies() const{ return m_userProficiencies; }
71 inline bool UserProficienciesHasBeenSet() const { return m_userProficienciesHasBeenSet; }
72 inline void SetUserProficiencies(const Aws::Vector<UserProficiencyDisassociate>& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies = value; }
73 inline void SetUserProficiencies(Aws::Vector<UserProficiencyDisassociate>&& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies = std::move(value); }
76 inline DisassociateUserProficienciesRequest& AddUserProficiencies(const UserProficiencyDisassociate& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies.push_back(value); return *this; }
77 inline DisassociateUserProficienciesRequest& AddUserProficiencies(UserProficiencyDisassociate&& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies.push_back(std::move(value)); return *this; }
79 private:
80
81 Aws::String m_instanceId;
82 bool m_instanceIdHasBeenSet = false;
83
84 Aws::String m_userId;
85 bool m_userIdHasBeenSet = false;
86
88 bool m_userProficienciesHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Connect
93} // namespace Aws
DisassociateUserProficienciesRequest & AddUserProficiencies(const UserProficiencyDisassociate &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
DisassociateUserProficienciesRequest & WithUserId(const Aws::String &value)
DisassociateUserProficienciesRequest & WithInstanceId(const char *value)
DisassociateUserProficienciesRequest & WithUserId(const char *value)
DisassociateUserProficienciesRequest & WithUserProficiencies(Aws::Vector< UserProficiencyDisassociate > &&value)
void SetUserProficiencies(Aws::Vector< UserProficiencyDisassociate > &&value)
const Aws::Vector< UserProficiencyDisassociate > & GetUserProficiencies() const
DisassociateUserProficienciesRequest & WithUserProficiencies(const Aws::Vector< UserProficiencyDisassociate > &value)
void SetUserProficiencies(const Aws::Vector< UserProficiencyDisassociate > &value)
DisassociateUserProficienciesRequest & WithInstanceId(const Aws::String &value)
DisassociateUserProficienciesRequest & AddUserProficiencies(UserProficiencyDisassociate &&value)
DisassociateUserProficienciesRequest & WithUserId(Aws::String &&value)
DisassociateUserProficienciesRequest & WithInstanceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector