AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateUserSecurityProfilesRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Connect {
16namespace Model {
17
21 public:
22 AWS_CONNECT_API UpdateUserSecurityProfilesRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserSecurityProfiles"; }
29
30 AWS_CONNECT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::Vector<Aws::String>& GetSecurityProfileIds() const { return m_securityProfileIds; }
37 inline bool SecurityProfileIdsHasBeenSet() const { return m_securityProfileIdsHasBeenSet; }
38 template <typename SecurityProfileIdsT = Aws::Vector<Aws::String>>
39 void SetSecurityProfileIds(SecurityProfileIdsT&& value) {
40 m_securityProfileIdsHasBeenSet = true;
41 m_securityProfileIds = std::forward<SecurityProfileIdsT>(value);
42 }
43 template <typename SecurityProfileIdsT = Aws::Vector<Aws::String>>
45 SetSecurityProfileIds(std::forward<SecurityProfileIdsT>(value));
46 return *this;
47 }
48 template <typename SecurityProfileIdsT = Aws::String>
50 m_securityProfileIdsHasBeenSet = true;
51 m_securityProfileIds.emplace_back(std::forward<SecurityProfileIdsT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetUserId() const { return m_userId; }
61 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
62 template <typename UserIdT = Aws::String>
63 void SetUserId(UserIdT&& value) {
64 m_userIdHasBeenSet = true;
65 m_userId = std::forward<UserIdT>(value);
66 }
67 template <typename UserIdT = Aws::String>
69 SetUserId(std::forward<UserIdT>(value));
70 return *this;
71 }
73
75
80 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
81 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
82 template <typename InstanceIdT = Aws::String>
83 void SetInstanceId(InstanceIdT&& value) {
84 m_instanceIdHasBeenSet = true;
85 m_instanceId = std::forward<InstanceIdT>(value);
86 }
87 template <typename InstanceIdT = Aws::String>
89 SetInstanceId(std::forward<InstanceIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::Vector<Aws::String> m_securityProfileIds;
95
96 Aws::String m_userId;
97
98 Aws::String m_instanceId;
99 bool m_securityProfileIdsHasBeenSet = false;
100 bool m_userIdHasBeenSet = false;
101 bool m_instanceIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Connect
106} // namespace Aws
UpdateUserSecurityProfilesRequest & AddSecurityProfileIds(SecurityProfileIdsT &&value)
UpdateUserSecurityProfilesRequest & WithUserId(UserIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateUserSecurityProfilesRequest & WithSecurityProfileIds(SecurityProfileIdsT &&value)
UpdateUserSecurityProfilesRequest & WithInstanceId(InstanceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector