AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetUserProfileRequest.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/UserProfileType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace DataZone {
19namespace Model {
20
24 public:
25 AWS_DATAZONE_API GetUserProfileRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetUserProfile"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
35 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
42 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
43 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
44 template <typename DomainIdentifierT = Aws::String>
45 void SetDomainIdentifier(DomainIdentifierT&& value) {
46 m_domainIdentifierHasBeenSet = true;
47 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
48 }
49 template <typename DomainIdentifierT = Aws::String>
50 GetUserProfileRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
51 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetUserIdentifier() const { return m_userIdentifier; }
61 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
62 template <typename UserIdentifierT = Aws::String>
63 void SetUserIdentifier(UserIdentifierT&& value) {
64 m_userIdentifierHasBeenSet = true;
65 m_userIdentifier = std::forward<UserIdentifierT>(value);
66 }
67 template <typename UserIdentifierT = Aws::String>
68 GetUserProfileRequest& WithUserIdentifier(UserIdentifierT&& value) {
69 SetUserIdentifier(std::forward<UserIdentifierT>(value));
70 return *this;
71 }
73
75
78 inline UserProfileType GetType() const { return m_type; }
79 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
80 inline void SetType(UserProfileType value) {
81 m_typeHasBeenSet = true;
82 m_type = value;
83 }
85 SetType(value);
86 return *this;
87 }
89 private:
90 Aws::String m_domainIdentifier;
91
92 Aws::String m_userIdentifier;
93
95 bool m_domainIdentifierHasBeenSet = false;
96 bool m_userIdentifierHasBeenSet = false;
97 bool m_typeHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace DataZone
102} // namespace Aws
AWS_DATAZONE_API GetUserProfileRequest()=default
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetUserProfileRequest & WithUserIdentifier(UserIdentifierT &&value)
GetUserProfileRequest & WithDomainIdentifier(DomainIdentifierT &&value)
void SetDomainIdentifier(DomainIdentifierT &&value)
GetUserProfileRequest & WithType(UserProfileType value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String