AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
45 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
46 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
47 inline CreateUserProfileRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
48 inline CreateUserProfileRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
49 inline CreateUserProfileRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
51
53
57 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
58 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
59 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
60 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
61 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
63 inline CreateUserProfileRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
64 inline CreateUserProfileRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
66
68
71 inline const Aws::String& GetUserIdentifier() const{ return m_userIdentifier; }
72 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
73 inline void SetUserIdentifier(const Aws::String& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = value; }
74 inline void SetUserIdentifier(Aws::String&& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = std::move(value); }
75 inline void SetUserIdentifier(const char* value) { m_userIdentifierHasBeenSet = true; m_userIdentifier.assign(value); }
76 inline CreateUserProfileRequest& WithUserIdentifier(const Aws::String& value) { SetUserIdentifier(value); return *this;}
77 inline CreateUserProfileRequest& WithUserIdentifier(Aws::String&& value) { SetUserIdentifier(std::move(value)); return *this;}
78 inline CreateUserProfileRequest& WithUserIdentifier(const char* value) { SetUserIdentifier(value); return *this;}
80
82
85 inline const UserType& GetUserType() const{ return m_userType; }
86 inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; }
87 inline void SetUserType(const UserType& value) { m_userTypeHasBeenSet = true; m_userType = value; }
88 inline void SetUserType(UserType&& value) { m_userTypeHasBeenSet = true; m_userType = std::move(value); }
89 inline CreateUserProfileRequest& WithUserType(const UserType& value) { SetUserType(value); return *this;}
90 inline CreateUserProfileRequest& WithUserType(UserType&& value) { SetUserType(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_clientToken;
95 bool m_clientTokenHasBeenSet = false;
96
97 Aws::String m_domainIdentifier;
98 bool m_domainIdentifierHasBeenSet = false;
99
100 Aws::String m_userIdentifier;
101 bool m_userIdentifierHasBeenSet = false;
102
103 UserType m_userType;
104 bool m_userTypeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace DataZone
109} // namespace Aws
CreateUserProfileRequest & WithDomainIdentifier(const Aws::String &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateUserProfileRequest & WithUserIdentifier(const Aws::String &value)
CreateUserProfileRequest & WithClientToken(Aws::String &&value)
CreateUserProfileRequest & WithUserType(UserType &&value)
CreateUserProfileRequest & WithUserIdentifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateUserProfileRequest & WithUserIdentifier(const char *value)
CreateUserProfileRequest & WithClientToken(const Aws::String &value)
CreateUserProfileRequest & WithUserType(const UserType &value)
CreateUserProfileRequest & WithDomainIdentifier(const char *value)
CreateUserProfileRequest & WithClientToken(const char *value)
CreateUserProfileRequest & WithDomainIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String