AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetUserProfileRequest.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/UserProfileType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace DataZone
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_DATAZONE_API GetUserProfileRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetUserProfile"; }
36
37 AWS_DATAZONE_API Aws::String SerializePayload() const override;
38
39 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
47 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
48 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
49 template<typename DomainIdentifierT = Aws::String>
50 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
51 template<typename DomainIdentifierT = Aws::String>
52 GetUserProfileRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
54
56
59 inline UserProfileType GetType() const { return m_type; }
60 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
61 inline void SetType(UserProfileType value) { m_typeHasBeenSet = true; m_type = value; }
62 inline GetUserProfileRequest& WithType(UserProfileType value) { SetType(value); return *this;}
64
66
69 inline const Aws::String& GetUserIdentifier() const { return m_userIdentifier; }
70 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
71 template<typename UserIdentifierT = Aws::String>
72 void SetUserIdentifier(UserIdentifierT&& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = std::forward<UserIdentifierT>(value); }
73 template<typename UserIdentifierT = Aws::String>
74 GetUserProfileRequest& WithUserIdentifier(UserIdentifierT&& value) { SetUserIdentifier(std::forward<UserIdentifierT>(value)); return *this;}
76 private:
77
78 Aws::String m_domainIdentifier;
79 bool m_domainIdentifierHasBeenSet = false;
80
82 bool m_typeHasBeenSet = false;
83
84 Aws::String m_userIdentifier;
85 bool m_userIdentifierHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace DataZone
90} // 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