AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetSecurityProfileIds(const Aws::Vector<Aws::String>& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds = value; }
43 inline void SetSecurityProfileIds(Aws::Vector<Aws::String>&& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds = std::move(value); }
46 inline UpdateUserSecurityProfilesRequest& AddSecurityProfileIds(const Aws::String& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds.push_back(value); return *this; }
47 inline UpdateUserSecurityProfilesRequest& AddSecurityProfileIds(Aws::String&& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds.push_back(std::move(value)); return *this; }
48 inline UpdateUserSecurityProfilesRequest& AddSecurityProfileIds(const char* value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds.push_back(value); return *this; }
50
52
55 inline const Aws::String& GetUserId() const{ return m_userId; }
56 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
57 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
58 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
59 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
60 inline UpdateUserSecurityProfilesRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
61 inline UpdateUserSecurityProfilesRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
62 inline UpdateUserSecurityProfilesRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
64
66
71 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
72 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
73 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
74 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
75 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
76 inline UpdateUserSecurityProfilesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
77 inline UpdateUserSecurityProfilesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
78 inline UpdateUserSecurityProfilesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
80 private:
81
82 Aws::Vector<Aws::String> m_securityProfileIds;
83 bool m_securityProfileIdsHasBeenSet = false;
84
85 Aws::String m_userId;
86 bool m_userIdHasBeenSet = false;
87
88 Aws::String m_instanceId;
89 bool m_instanceIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Connect
94} // namespace Aws
UpdateUserSecurityProfilesRequest & WithUserId(const char *value)
UpdateUserSecurityProfilesRequest & WithUserId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateUserSecurityProfilesRequest & WithInstanceId(const char *value)
UpdateUserSecurityProfilesRequest & AddSecurityProfileIds(const char *value)
UpdateUserSecurityProfilesRequest & WithUserId(Aws::String &&value)
UpdateUserSecurityProfilesRequest & WithSecurityProfileIds(const Aws::Vector< Aws::String > &value)
void SetSecurityProfileIds(const Aws::Vector< Aws::String > &value)
UpdateUserSecurityProfilesRequest & AddSecurityProfileIds(Aws::String &&value)
UpdateUserSecurityProfilesRequest & WithSecurityProfileIds(Aws::Vector< Aws::String > &&value)
UpdateUserSecurityProfilesRequest & AddSecurityProfileIds(const Aws::String &value)
UpdateUserSecurityProfilesRequest & WithInstanceId(const Aws::String &value)
UpdateUserSecurityProfilesRequest & WithInstanceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector