AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateUserProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/UserProfileStatus.h>
11#include <aws/datazone/model/UserProfileType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataZone {
17namespace Model {
18
22 public:
23 AWS_DATAZONE_API UpdateUserProfileRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserProfile"; }
30
31 AWS_DATAZONE_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
39 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
40 template <typename DomainIdentifierT = Aws::String>
41 void SetDomainIdentifier(DomainIdentifierT&& value) {
42 m_domainIdentifierHasBeenSet = true;
43 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
44 }
45 template <typename DomainIdentifierT = Aws::String>
46 UpdateUserProfileRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
47 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetUserIdentifier() const { return m_userIdentifier; }
57 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
58 template <typename UserIdentifierT = Aws::String>
59 void SetUserIdentifier(UserIdentifierT&& value) {
60 m_userIdentifierHasBeenSet = true;
61 m_userIdentifier = std::forward<UserIdentifierT>(value);
62 }
63 template <typename UserIdentifierT = Aws::String>
64 UpdateUserProfileRequest& WithUserIdentifier(UserIdentifierT&& value) {
65 SetUserIdentifier(std::forward<UserIdentifierT>(value));
66 return *this;
67 }
69
71
74 inline UserProfileType GetType() const { return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 inline void SetType(UserProfileType value) {
77 m_typeHasBeenSet = true;
78 m_type = value;
79 }
81 SetType(value);
82 return *this;
83 }
85
87
90 inline UserProfileStatus GetStatus() const { return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 inline void SetStatus(UserProfileStatus value) {
93 m_statusHasBeenSet = true;
94 m_status = value;
95 }
97 SetStatus(value);
98 return *this;
99 }
101 private:
102 Aws::String m_domainIdentifier;
103
104 Aws::String m_userIdentifier;
105
107
109 bool m_domainIdentifierHasBeenSet = false;
110 bool m_userIdentifierHasBeenSet = false;
111 bool m_typeHasBeenSet = false;
112 bool m_statusHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace DataZone
117} // namespace Aws
UpdateUserProfileRequest & WithUserIdentifier(UserIdentifierT &&value)
UpdateUserProfileRequest & WithType(UserProfileType value)
UpdateUserProfileRequest & WithStatus(UserProfileStatus value)
UpdateUserProfileRequest & WithDomainIdentifier(DomainIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API UpdateUserProfileRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String