AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateUserProficienciesRequest.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 "AssociateUserProficiencies"; }
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 AssociateUserProficienciesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline AssociateUserProficienciesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline AssociateUserProficienciesRequest& 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 AssociateUserProficienciesRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
62 inline AssociateUserProficienciesRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
63 inline AssociateUserProficienciesRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
65
67
70 inline const Aws::Vector<UserProficiency>& GetUserProficiencies() const{ return m_userProficiencies; }
71 inline bool UserProficienciesHasBeenSet() const { return m_userProficienciesHasBeenSet; }
72 inline void SetUserProficiencies(const Aws::Vector<UserProficiency>& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies = value; }
73 inline void SetUserProficiencies(Aws::Vector<UserProficiency>&& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies = std::move(value); }
76 inline AssociateUserProficienciesRequest& AddUserProficiencies(const UserProficiency& value) { m_userProficienciesHasBeenSet = true; m_userProficiencies.push_back(value); return *this; }
77 inline AssociateUserProficienciesRequest& AddUserProficiencies(UserProficiency&& 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
87 Aws::Vector<UserProficiency> m_userProficiencies;
88 bool m_userProficienciesHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Connect
93} // namespace Aws
AssociateUserProficienciesRequest & WithInstanceId(Aws::String &&value)
AssociateUserProficienciesRequest & WithInstanceId(const Aws::String &value)
AssociateUserProficienciesRequest & WithInstanceId(const char *value)
AssociateUserProficienciesRequest & WithUserProficiencies(Aws::Vector< UserProficiency > &&value)
AssociateUserProficienciesRequest & AddUserProficiencies(UserProficiency &&value)
void SetUserProficiencies(const Aws::Vector< UserProficiency > &value)
AssociateUserProficienciesRequest & WithUserId(const Aws::String &value)
AssociateUserProficienciesRequest & AddUserProficiencies(const UserProficiency &value)
AssociateUserProficienciesRequest & WithUserId(const char *value)
AssociateUserProficienciesRequest & WithUserProficiencies(const Aws::Vector< UserProficiency > &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
AssociateUserProficienciesRequest & WithUserId(Aws::String &&value)
void SetUserProficiencies(Aws::Vector< UserProficiency > &&value)
const Aws::Vector< UserProficiency > & GetUserProficiencies() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector