AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
50 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
51 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
52 inline GetUserProfileRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
53 inline GetUserProfileRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
54 inline GetUserProfileRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
56
58
61 inline const UserProfileType& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const UserProfileType& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(UserProfileType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline GetUserProfileRequest& WithType(const UserProfileType& value) { SetType(value); return *this;}
66 inline GetUserProfileRequest& WithType(UserProfileType&& value) { SetType(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetUserIdentifier() const{ return m_userIdentifier; }
74 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
75 inline void SetUserIdentifier(const Aws::String& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = value; }
76 inline void SetUserIdentifier(Aws::String&& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = std::move(value); }
77 inline void SetUserIdentifier(const char* value) { m_userIdentifierHasBeenSet = true; m_userIdentifier.assign(value); }
78 inline GetUserProfileRequest& WithUserIdentifier(const Aws::String& value) { SetUserIdentifier(value); return *this;}
79 inline GetUserProfileRequest& WithUserIdentifier(Aws::String&& value) { SetUserIdentifier(std::move(value)); return *this;}
80 inline GetUserProfileRequest& WithUserIdentifier(const char* value) { SetUserIdentifier(value); return *this;}
82 private:
83
84 Aws::String m_domainIdentifier;
85 bool m_domainIdentifierHasBeenSet = false;
86
87 UserProfileType m_type;
88 bool m_typeHasBeenSet = false;
89
90 Aws::String m_userIdentifier;
91 bool m_userIdentifierHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace DataZone
96} // namespace Aws
void SetType(const UserProfileType &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
void SetDomainIdentifier(const Aws::String &value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetUserProfileRequest & WithType(UserProfileType &&value)
GetUserProfileRequest & WithUserIdentifier(const char *value)
GetUserProfileRequest & WithDomainIdentifier(const char *value)
GetUserProfileRequest & WithDomainIdentifier(const Aws::String &value)
GetUserProfileRequest & WithType(const UserProfileType &value)
GetUserProfileRequest & WithUserIdentifier(const Aws::String &value)
GetUserProfileRequest & WithUserIdentifier(Aws::String &&value)
void SetUserIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetUserProfileRequest & WithDomainIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String