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
UpdateUserProficienciesRequest.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/UserProficiency.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONNECT_API UpdateUserProficienciesRequest() = 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 "UpdateUserProficiencies"; }
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 UpdateUserProficienciesRequest& 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 UpdateUserProficienciesRequest& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
61
63
68 inline const Aws::Vector<UserProficiency>& GetUserProficiencies() const { return m_userProficiencies; }
69 inline bool UserProficienciesHasBeenSet() const { return m_userProficienciesHasBeenSet; }
70 template<typename UserProficienciesT = Aws::Vector<UserProficiency>>
71 void SetUserProficiencies(UserProficienciesT&& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies = std::forward<UserProficienciesT>(value); }
72 template<typename UserProficienciesT = Aws::Vector<UserProficiency>>
73 UpdateUserProficienciesRequest& WithUserProficiencies(UserProficienciesT&& value) { SetUserProficiencies(std::forward<UserProficienciesT>(value)); return *this;}
74 template<typename UserProficienciesT = UserProficiency>
75 UpdateUserProficienciesRequest& AddUserProficiencies(UserProficienciesT&& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies.emplace_back(std::forward<UserProficienciesT>(value)); return *this; }
77 private:
78
79 Aws::String m_instanceId;
80 bool m_instanceIdHasBeenSet = false;
81
82 Aws::String m_userId;
83 bool m_userIdHasBeenSet = false;
84
85 Aws::Vector<UserProficiency> m_userProficiencies;
86 bool m_userProficienciesHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Connect
91} // 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