AWS SDK for C++  1.9.157
AWS SDK for C++
UpdateUserSecurityProfilesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Connect
16 {
17 namespace 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::String SerializePayload() const override;
34 
35 
39  inline const Aws::Vector<Aws::String>& GetSecurityProfileIds() const{ return m_securityProfileIds; }
40 
44  inline bool SecurityProfileIdsHasBeenSet() const { return m_securityProfileIdsHasBeenSet; }
45 
49  inline void SetSecurityProfileIds(const Aws::Vector<Aws::String>& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds = value; }
50 
54  inline void SetSecurityProfileIds(Aws::Vector<Aws::String>&& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds = std::move(value); }
55 
59  inline UpdateUserSecurityProfilesRequest& WithSecurityProfileIds(const Aws::Vector<Aws::String>& value) { SetSecurityProfileIds(value); return *this;}
60 
64  inline UpdateUserSecurityProfilesRequest& WithSecurityProfileIds(Aws::Vector<Aws::String>&& value) { SetSecurityProfileIds(std::move(value)); return *this;}
65 
69  inline UpdateUserSecurityProfilesRequest& AddSecurityProfileIds(const Aws::String& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds.push_back(value); return *this; }
70 
74  inline UpdateUserSecurityProfilesRequest& AddSecurityProfileIds(Aws::String&& value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds.push_back(std::move(value)); return *this; }
75 
79  inline UpdateUserSecurityProfilesRequest& AddSecurityProfileIds(const char* value) { m_securityProfileIdsHasBeenSet = true; m_securityProfileIds.push_back(value); return *this; }
80 
81 
85  inline const Aws::String& GetUserId() const{ return m_userId; }
86 
90  inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
91 
95  inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
96 
100  inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
101 
105  inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
106 
110  inline UpdateUserSecurityProfilesRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
111 
115  inline UpdateUserSecurityProfilesRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
116 
120  inline UpdateUserSecurityProfilesRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
121 
122 
127  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
128 
133  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
134 
139  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
140 
145  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
146 
151  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
152 
157  inline UpdateUserSecurityProfilesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
158 
163  inline UpdateUserSecurityProfilesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
164 
169  inline UpdateUserSecurityProfilesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
170 
171  private:
172 
173  Aws::Vector<Aws::String> m_securityProfileIds;
174  bool m_securityProfileIdsHasBeenSet;
175 
176  Aws::String m_userId;
177  bool m_userIdHasBeenSet;
178 
179  Aws::String m_instanceId;
180  bool m_instanceIdHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace Connect
185 } // namespace Aws
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::WithUserId
UpdateUserSecurityProfilesRequest & WithUserId(Aws::String &&value)
Definition: UpdateUserSecurityProfilesRequest.h:115
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::WithSecurityProfileIds
UpdateUserSecurityProfilesRequest & WithSecurityProfileIds(Aws::Vector< Aws::String > &&value)
Definition: UpdateUserSecurityProfilesRequest.h:64
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::SecurityProfileIdsHasBeenSet
bool SecurityProfileIdsHasBeenSet() const
Definition: UpdateUserSecurityProfilesRequest.h:44
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateUserSecurityProfilesRequest.h:31
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::WithSecurityProfileIds
UpdateUserSecurityProfilesRequest & WithSecurityProfileIds(const Aws::Vector< Aws::String > &value)
Definition: UpdateUserSecurityProfilesRequest.h:59
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::WithInstanceId
UpdateUserSecurityProfilesRequest & WithInstanceId(const char *value)
Definition: UpdateUserSecurityProfilesRequest.h:169
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::SetSecurityProfileIds
void SetSecurityProfileIds(Aws::Vector< Aws::String > &&value)
Definition: UpdateUserSecurityProfilesRequest.h:54
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateUserSecurityProfilesRequest.h:151
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::AddSecurityProfileIds
UpdateUserSecurityProfilesRequest & AddSecurityProfileIds(const char *value)
Definition: UpdateUserSecurityProfilesRequest.h:79
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::WithInstanceId
UpdateUserSecurityProfilesRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateUserSecurityProfilesRequest.h:157
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::UserIdHasBeenSet
bool UserIdHasBeenSet() const
Definition: UpdateUserSecurityProfilesRequest.h:90
AWSVector.h
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::GetUserId
const Aws::String & GetUserId() const
Definition: UpdateUserSecurityProfilesRequest.h:85
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::SetUserId
void SetUserId(const Aws::String &value)
Definition: UpdateUserSecurityProfilesRequest.h:95
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::WithUserId
UpdateUserSecurityProfilesRequest & WithUserId(const char *value)
Definition: UpdateUserSecurityProfilesRequest.h:120
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::UpdateUserSecurityProfilesRequest
UpdateUserSecurityProfilesRequest()
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::UpdateUserSecurityProfilesRequest
Definition: UpdateUserSecurityProfilesRequest.h:23
AWSString.h
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::SetUserId
void SetUserId(const char *value)
Definition: UpdateUserSecurityProfilesRequest.h:105
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::SetUserId
void SetUserId(Aws::String &&value)
Definition: UpdateUserSecurityProfilesRequest.h:100
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::GetSecurityProfileIds
const Aws::Vector< Aws::String > & GetSecurityProfileIds() const
Definition: UpdateUserSecurityProfilesRequest.h:39
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::WithInstanceId
UpdateUserSecurityProfilesRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateUserSecurityProfilesRequest.h:163
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateUserSecurityProfilesRequest.h:133
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::AddSecurityProfileIds
UpdateUserSecurityProfilesRequest & AddSecurityProfileIds(const Aws::String &value)
Definition: UpdateUserSecurityProfilesRequest.h:69
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateUserSecurityProfilesRequest.h:145
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::SetSecurityProfileIds
void SetSecurityProfileIds(const Aws::Vector< Aws::String > &value)
Definition: UpdateUserSecurityProfilesRequest.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateUserSecurityProfilesRequest.h:139
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateUserSecurityProfilesRequest.h:127
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::WithUserId
UpdateUserSecurityProfilesRequest & WithUserId(const Aws::String &value)
Definition: UpdateUserSecurityProfilesRequest.h:110
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::UpdateUserSecurityProfilesRequest::AddSecurityProfileIds
UpdateUserSecurityProfilesRequest & AddSecurityProfileIds(Aws::String &&value)
Definition: UpdateUserSecurityProfilesRequest.h:74