AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 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); }
47 inline UpdateUserProficienciesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline UpdateUserProficienciesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline UpdateUserProficienciesRequest& 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 UpdateUserProficienciesRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
62 inline UpdateUserProficienciesRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
63 inline UpdateUserProficienciesRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
65
67
72 inline const Aws::Vector<UserProficiency>& GetUserProficiencies() const{ return m_userProficiencies; }
73 inline bool UserProficienciesHasBeenSet() const { return m_userProficienciesHasBeenSet; }
74 inline void SetUserProficiencies(const Aws::Vector<UserProficiency>& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies = value; }
75 inline void SetUserProficiencies(Aws::Vector<UserProficiency>&& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies = std::move(value); }
78 inline UpdateUserProficienciesRequest& AddUserProficiencies(const UserProficiency& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies.push_back(value); return *this; }
79 inline UpdateUserProficienciesRequest& AddUserProficiencies(UserProficiency&& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies.push_back(std::move(value)); return *this; }
81 private:
82
83 Aws::String m_instanceId;
84 bool m_instanceIdHasBeenSet = false;
85
86 Aws::String m_userId;
87 bool m_userIdHasBeenSet = false;
88
89 Aws::Vector<UserProficiency> m_userProficiencies;
90 bool m_userProficienciesHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Connect
95} // namespace Aws
void SetUserProficiencies(const Aws::Vector< UserProficiency > &value)
void SetUserProficiencies(Aws::Vector< UserProficiency > &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateUserProficienciesRequest & WithInstanceId(const char *value)
UpdateUserProficienciesRequest & WithUserProficiencies(Aws::Vector< UserProficiency > &&value)
const Aws::Vector< UserProficiency > & GetUserProficiencies() const
UpdateUserProficienciesRequest & WithUserId(const char *value)
UpdateUserProficienciesRequest & WithUserId(Aws::String &&value)
UpdateUserProficienciesRequest & AddUserProficiencies(UserProficiency &&value)
UpdateUserProficienciesRequest & WithUserProficiencies(const Aws::Vector< UserProficiency > &value)
UpdateUserProficienciesRequest & WithUserId(const Aws::String &value)
UpdateUserProficienciesRequest & AddUserProficiencies(const UserProficiency &value)
UpdateUserProficienciesRequest & WithInstanceId(Aws::String &&value)
UpdateUserProficienciesRequest & WithInstanceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector