AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
SearchUserProfilesRequest.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/UserSearchType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DataZone {
16namespace Model {
17
21 public:
22 AWS_DATAZONE_API SearchUserProfilesRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "SearchUserProfiles"; }
29
30 AWS_DATAZONE_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
38 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
39 template <typename DomainIdentifierT = Aws::String>
40 void SetDomainIdentifier(DomainIdentifierT&& value) {
41 m_domainIdentifierHasBeenSet = true;
42 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
43 }
44 template <typename DomainIdentifierT = Aws::String>
45 SearchUserProfilesRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
46 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
47 return *this;
48 }
50
52
55 inline UserSearchType GetUserType() const { return m_userType; }
56 inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; }
57 inline void SetUserType(UserSearchType value) {
58 m_userTypeHasBeenSet = true;
59 m_userType = value;
60 }
62 SetUserType(value);
63 return *this;
64 }
66
68
71 inline const Aws::String& GetSearchText() const { return m_searchText; }
72 inline bool SearchTextHasBeenSet() const { return m_searchTextHasBeenSet; }
73 template <typename SearchTextT = Aws::String>
74 void SetSearchText(SearchTextT&& value) {
75 m_searchTextHasBeenSet = true;
76 m_searchText = std::forward<SearchTextT>(value);
77 }
78 template <typename SearchTextT = Aws::String>
80 SetSearchText(std::forward<SearchTextT>(value));
81 return *this;
82 }
84
86
93 inline int GetMaxResults() const { return m_maxResults; }
94 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 inline void SetMaxResults(int value) {
96 m_maxResultsHasBeenSet = true;
97 m_maxResults = value;
98 }
100 SetMaxResults(value);
101 return *this;
102 }
104
106
114 inline const Aws::String& GetNextToken() const { return m_nextToken; }
115 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
116 template <typename NextTokenT = Aws::String>
117 void SetNextToken(NextTokenT&& value) {
118 m_nextTokenHasBeenSet = true;
119 m_nextToken = std::forward<NextTokenT>(value);
120 }
121 template <typename NextTokenT = Aws::String>
123 SetNextToken(std::forward<NextTokenT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_domainIdentifier;
129
131
132 Aws::String m_searchText;
133
134 int m_maxResults{0};
135
136 Aws::String m_nextToken;
137 bool m_domainIdentifierHasBeenSet = false;
138 bool m_userTypeHasBeenSet = false;
139 bool m_searchTextHasBeenSet = false;
140 bool m_maxResultsHasBeenSet = false;
141 bool m_nextTokenHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace DataZone
146} // namespace Aws
AWS_DATAZONE_API SearchUserProfilesRequest()=default
SearchUserProfilesRequest & WithMaxResults(int value)
SearchUserProfilesRequest & WithSearchText(SearchTextT &&value)
SearchUserProfilesRequest & WithUserType(UserSearchType value)
SearchUserProfilesRequest & WithNextToken(NextTokenT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
SearchUserProfilesRequest & WithDomainIdentifier(DomainIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String