AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
CreateUserProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/UserType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataZone {
17namespace Model {
18
22 public:
23 AWS_DATAZONE_API CreateUserProfileRequest() = 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 "CreateUserProfile"; }
30
31 AWS_DATAZONE_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetClientToken() const { return m_clientToken; }
39 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
40 template <typename ClientTokenT = Aws::String>
41 void SetClientToken(ClientTokenT&& value) {
42 m_clientTokenHasBeenSet = true;
43 m_clientToken = std::forward<ClientTokenT>(value);
44 }
45 template <typename ClientTokenT = Aws::String>
47 SetClientToken(std::forward<ClientTokenT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
58 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
59 template <typename DomainIdentifierT = Aws::String>
60 void SetDomainIdentifier(DomainIdentifierT&& value) {
61 m_domainIdentifierHasBeenSet = true;
62 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
63 }
64 template <typename DomainIdentifierT = Aws::String>
65 CreateUserProfileRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
66 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetUserIdentifier() const { return m_userIdentifier; }
76 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
77 template <typename UserIdentifierT = Aws::String>
78 void SetUserIdentifier(UserIdentifierT&& value) {
79 m_userIdentifierHasBeenSet = true;
80 m_userIdentifier = std::forward<UserIdentifierT>(value);
81 }
82 template <typename UserIdentifierT = Aws::String>
83 CreateUserProfileRequest& WithUserIdentifier(UserIdentifierT&& value) {
84 SetUserIdentifier(std::forward<UserIdentifierT>(value));
85 return *this;
86 }
88
90
93 inline UserType GetUserType() const { return m_userType; }
94 inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; }
95 inline void SetUserType(UserType value) {
96 m_userTypeHasBeenSet = true;
97 m_userType = value;
98 }
100 SetUserType(value);
101 return *this;
102 }
104 private:
106 bool m_clientTokenHasBeenSet = true;
107
108 Aws::String m_domainIdentifier;
109 bool m_domainIdentifierHasBeenSet = false;
110
111 Aws::String m_userIdentifier;
112 bool m_userIdentifierHasBeenSet = false;
113
114 UserType m_userType{UserType::NOT_SET};
115 bool m_userTypeHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace DataZone
120} // namespace Aws
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateUserProfileRequest & WithUserType(UserType value)
CreateUserProfileRequest & WithClientToken(ClientTokenT &&value)
CreateUserProfileRequest & WithUserIdentifier(UserIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API CreateUserProfileRequest()=default
CreateUserProfileRequest & WithDomainIdentifier(DomainIdentifierT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String