AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateUserRequest.h
1
6#pragma once
7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/identitystore/IdentityStoreRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/identitystore/model/AttributeOperation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IdentityStore
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IDENTITYSTORE_API UpdateUserRequest();
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 "UpdateUser"; }
33
34 AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override;
35
36 AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; }
44 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
45 inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; }
46 inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); }
47 inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); }
48 inline UpdateUserRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;}
49 inline UpdateUserRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
50 inline UpdateUserRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;}
52
54
57 inline const Aws::String& GetUserId() const{ return m_userId; }
58 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
59 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
60 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
61 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
62 inline UpdateUserRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
63 inline UpdateUserRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
64 inline UpdateUserRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
66
68
72 inline const Aws::Vector<AttributeOperation>& GetOperations() const{ return m_operations; }
73 inline bool OperationsHasBeenSet() const { return m_operationsHasBeenSet; }
74 inline void SetOperations(const Aws::Vector<AttributeOperation>& value) { m_operationsHasBeenSet = true; m_operations = value; }
75 inline void SetOperations(Aws::Vector<AttributeOperation>&& value) { m_operationsHasBeenSet = true; m_operations = std::move(value); }
77 inline UpdateUserRequest& WithOperations(Aws::Vector<AttributeOperation>&& value) { SetOperations(std::move(value)); return *this;}
78 inline UpdateUserRequest& AddOperations(const AttributeOperation& value) { m_operationsHasBeenSet = true; m_operations.push_back(value); return *this; }
79 inline UpdateUserRequest& AddOperations(AttributeOperation&& value) { m_operationsHasBeenSet = true; m_operations.push_back(std::move(value)); return *this; }
81 private:
82
83 Aws::String m_identityStoreId;
84 bool m_identityStoreIdHasBeenSet = false;
85
86 Aws::String m_userId;
87 bool m_userIdHasBeenSet = false;
88
90 bool m_operationsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace IdentityStore
95} // namespace Aws
UpdateUserRequest & WithOperations(const Aws::Vector< AttributeOperation > &value)
UpdateUserRequest & WithOperations(Aws::Vector< AttributeOperation > &&value)
void SetIdentityStoreId(const Aws::String &value)
const Aws::Vector< AttributeOperation > & GetOperations() const
UpdateUserRequest & WithUserId(const Aws::String &value)
void SetOperations(Aws::Vector< AttributeOperation > &&value)
void SetOperations(const Aws::Vector< AttributeOperation > &value)
AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateUserRequest & WithUserId(Aws::String &&value)
UpdateUserRequest & AddOperations(AttributeOperation &&value)
UpdateUserRequest & WithIdentityStoreId(const Aws::String &value)
UpdateUserRequest & WithIdentityStoreId(const char *value)
UpdateUserRequest & AddOperations(const AttributeOperation &value)
virtual const char * GetServiceRequestName() const override
UpdateUserRequest & WithIdentityStoreId(Aws::String &&value)
AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override
UpdateUserRequest & WithUserId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector