AWS SDK for C++

AWS SDK for C++ Version 1.11.695

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 UserProfileStatus GetStatus() const { return m_status; }
57 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
58 inline void SetStatus(UserProfileStatus value) {
59 m_statusHasBeenSet = true;
60 m_status = value;
61 }
63 SetStatus(value);
64 return *this;
65 }
67
69
72 inline UserProfileType GetType() const { return m_type; }
73 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
74 inline void SetType(UserProfileType value) {
75 m_typeHasBeenSet = true;
76 m_type = value;
77 }
79 SetType(value);
80 return *this;
81 }
83
85
88 inline const Aws::String& GetUserIdentifier() const { return m_userIdentifier; }
89 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
90 template <typename UserIdentifierT = Aws::String>
91 void SetUserIdentifier(UserIdentifierT&& value) {
92 m_userIdentifierHasBeenSet = true;
93 m_userIdentifier = std::forward<UserIdentifierT>(value);
94 }
95 template <typename UserIdentifierT = Aws::String>
96 UpdateUserProfileRequest& WithUserIdentifier(UserIdentifierT&& value) {
97 SetUserIdentifier(std::forward<UserIdentifierT>(value));
98 return *this;
99 }
101 private:
102 Aws::String m_domainIdentifier;
103 bool m_domainIdentifierHasBeenSet = false;
104
106 bool m_statusHasBeenSet = false;
107
109 bool m_typeHasBeenSet = false;
110
111 Aws::String m_userIdentifier;
112 bool m_userIdentifierHasBeenSet = 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