AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateUserProfileRequest.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/UserProfileStatus.h>
11#include <aws/datazone/model/UserProfileType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATAZONE_API UpdateUserProfileRequest() = 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 "UpdateUserProfile"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
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) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
46 template<typename DomainIdentifierT = Aws::String>
47 UpdateUserProfileRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
49
51
54 inline UserProfileStatus GetStatus() const { return m_status; }
55 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
56 inline void SetStatus(UserProfileStatus value) { m_statusHasBeenSet = true; m_status = value; }
57 inline UpdateUserProfileRequest& WithStatus(UserProfileStatus value) { SetStatus(value); return *this;}
59
61
64 inline UserProfileType GetType() const { return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
66 inline void SetType(UserProfileType value) { m_typeHasBeenSet = true; m_type = value; }
67 inline UpdateUserProfileRequest& WithType(UserProfileType value) { SetType(value); return *this;}
69
71
74 inline const Aws::String& GetUserIdentifier() const { return m_userIdentifier; }
75 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
76 template<typename UserIdentifierT = Aws::String>
77 void SetUserIdentifier(UserIdentifierT&& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = std::forward<UserIdentifierT>(value); }
78 template<typename UserIdentifierT = Aws::String>
79 UpdateUserProfileRequest& WithUserIdentifier(UserIdentifierT&& value) { SetUserIdentifier(std::forward<UserIdentifierT>(value)); return *this;}
81 private:
82
83 Aws::String m_domainIdentifier;
84 bool m_domainIdentifierHasBeenSet = false;
85
87 bool m_statusHasBeenSet = false;
88
90 bool m_typeHasBeenSet = false;
91
92 Aws::String m_userIdentifier;
93 bool m_userIdentifierHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace DataZone
98} // namespace Aws
UpdateUserProfileRequest & WithUserIdentifier(UserIdentifierT &&value)
UpdateUserProfileRequest & WithType(UserProfileType value)
UpdateUserProfileRequest & WithStatus(UserProfileStatus value)
UpdateUserProfileRequest & WithDomainIdentifier(DomainIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API UpdateUserProfileRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String