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
UpdateUserSecurityProfilesRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECT_API UpdateUserSecurityProfilesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserSecurityProfiles"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::Vector<Aws::String>& GetSecurityProfileIds() const { return m_securityProfileIds; }
41 inline bool SecurityProfileIdsHasBeenSet() const { return m_securityProfileIdsHasBeenSet; }
42 template<typename SecurityProfileIdsT = Aws::Vector<Aws::String>>
43 void SetSecurityProfileIds(SecurityProfileIdsT&& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds = std::forward<SecurityProfileIdsT>(value); }
44 template<typename SecurityProfileIdsT = Aws::Vector<Aws::String>>
45 UpdateUserSecurityProfilesRequest& WithSecurityProfileIds(SecurityProfileIdsT&& value) { SetSecurityProfileIds(std::forward<SecurityProfileIdsT>(value)); return *this;}
46 template<typename SecurityProfileIdsT = Aws::String>
47 UpdateUserSecurityProfilesRequest& AddSecurityProfileIds(SecurityProfileIdsT&& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds.emplace_back(std::forward<SecurityProfileIdsT>(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 UpdateUserSecurityProfilesRequest& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
61
63
68 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
69 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
70 template<typename InstanceIdT = Aws::String>
71 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
72 template<typename InstanceIdT = Aws::String>
73 UpdateUserSecurityProfilesRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
75 private:
76
77 Aws::Vector<Aws::String> m_securityProfileIds;
78 bool m_securityProfileIdsHasBeenSet = false;
79
80 Aws::String m_userId;
81 bool m_userIdHasBeenSet = false;
82
83 Aws::String m_instanceId;
84 bool m_instanceIdHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Connect
89} // 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