AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateUserProfileRequest.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/UserType.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATAZONE_API CreateUserProfileRequest() = default;
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 "CreateUserProfile"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetClientToken() const { return m_clientToken; }
43 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
44 template<typename ClientTokenT = Aws::String>
45 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
46 template<typename ClientTokenT = Aws::String>
47 CreateUserProfileRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
49
51
55 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
56 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
57 template<typename DomainIdentifierT = Aws::String>
58 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
59 template<typename DomainIdentifierT = Aws::String>
60 CreateUserProfileRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
62
64
67 inline const Aws::String& GetUserIdentifier() const { return m_userIdentifier; }
68 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
69 template<typename UserIdentifierT = Aws::String>
70 void SetUserIdentifier(UserIdentifierT&& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = std::forward<UserIdentifierT>(value); }
71 template<typename UserIdentifierT = Aws::String>
72 CreateUserProfileRequest& WithUserIdentifier(UserIdentifierT&& value) { SetUserIdentifier(std::forward<UserIdentifierT>(value)); return *this;}
74
76
79 inline UserType GetUserType() const { return m_userType; }
80 inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; }
81 inline void SetUserType(UserType value) { m_userTypeHasBeenSet = true; m_userType = value; }
82 inline CreateUserProfileRequest& WithUserType(UserType value) { SetUserType(value); return *this;}
84 private:
85
87 bool m_clientTokenHasBeenSet = true;
88
89 Aws::String m_domainIdentifier;
90 bool m_domainIdentifierHasBeenSet = false;
91
92 Aws::String m_userIdentifier;
93 bool m_userIdentifierHasBeenSet = false;
94
95 UserType m_userType{UserType::NOT_SET};
96 bool m_userTypeHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace DataZone
101} // 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