AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateUserProfileRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/UserProfileStatus.h>
11#include <aws/datazone/model/UserProfileType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATAZONE_API UpdateUserProfileRequest();
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 "UpdateUserProfile"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
43 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
44 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
45 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
46 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
48 inline UpdateUserProfileRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
49 inline UpdateUserProfileRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
51
53
56 inline const UserProfileStatus& GetStatus() const{ return m_status; }
57 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
58 inline void SetStatus(const UserProfileStatus& value) { m_statusHasBeenSet = true; m_status = value; }
59 inline void SetStatus(UserProfileStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
60 inline UpdateUserProfileRequest& WithStatus(const UserProfileStatus& value) { SetStatus(value); return *this;}
61 inline UpdateUserProfileRequest& WithStatus(UserProfileStatus&& value) { SetStatus(std::move(value)); return *this;}
63
65
68 inline const UserProfileType& GetType() const{ return m_type; }
69 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
70 inline void SetType(const UserProfileType& value) { m_typeHasBeenSet = true; m_type = value; }
71 inline void SetType(UserProfileType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
72 inline UpdateUserProfileRequest& WithType(const UserProfileType& value) { SetType(value); return *this;}
73 inline UpdateUserProfileRequest& WithType(UserProfileType&& value) { SetType(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetUserIdentifier() const{ return m_userIdentifier; }
81 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
82 inline void SetUserIdentifier(const Aws::String& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = value; }
83 inline void SetUserIdentifier(Aws::String&& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = std::move(value); }
84 inline void SetUserIdentifier(const char* value) { m_userIdentifierHasBeenSet = true; m_userIdentifier.assign(value); }
85 inline UpdateUserProfileRequest& WithUserIdentifier(const Aws::String& value) { SetUserIdentifier(value); return *this;}
86 inline UpdateUserProfileRequest& WithUserIdentifier(Aws::String&& value) { SetUserIdentifier(std::move(value)); return *this;}
87 inline UpdateUserProfileRequest& WithUserIdentifier(const char* value) { SetUserIdentifier(value); return *this;}
89 private:
90
91 Aws::String m_domainIdentifier;
92 bool m_domainIdentifierHasBeenSet = false;
93
94 UserProfileStatus m_status;
95 bool m_statusHasBeenSet = false;
96
97 UserProfileType m_type;
98 bool m_typeHasBeenSet = false;
99
100 Aws::String m_userIdentifier;
101 bool m_userIdentifierHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace DataZone
106} // namespace Aws
UpdateUserProfileRequest & WithDomainIdentifier(const Aws::String &value)
UpdateUserProfileRequest & WithUserIdentifier(Aws::String &&value)
UpdateUserProfileRequest & WithUserIdentifier(const Aws::String &value)
UpdateUserProfileRequest & WithStatus(UserProfileStatus &&value)
UpdateUserProfileRequest & WithType(const UserProfileType &value)
UpdateUserProfileRequest & WithDomainIdentifier(Aws::String &&value)
UpdateUserProfileRequest & WithDomainIdentifier(const char *value)
UpdateUserProfileRequest & WithType(UserProfileType &&value)
virtual const char * GetServiceRequestName() const override
UpdateUserProfileRequest & WithStatus(const UserProfileStatus &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateUserProfileRequest & WithUserIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String