AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SearchUserProfilesRequest.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/UserSearchType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DataZone
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATAZONE_API SearchUserProfilesRequest() = 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 "SearchUserProfiles"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
42 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
43 template<typename DomainIdentifierT = Aws::String>
44 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
45 template<typename DomainIdentifierT = Aws::String>
46 SearchUserProfilesRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
48
50
57 inline int GetMaxResults() const { return m_maxResults; }
58 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
59 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
60 inline SearchUserProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
62
64
72 inline const Aws::String& GetNextToken() const { return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 template<typename NextTokenT = Aws::String>
75 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
76 template<typename NextTokenT = Aws::String>
77 SearchUserProfilesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
79
81
84 inline const Aws::String& GetSearchText() const { return m_searchText; }
85 inline bool SearchTextHasBeenSet() const { return m_searchTextHasBeenSet; }
86 template<typename SearchTextT = Aws::String>
87 void SetSearchText(SearchTextT&& value) { m_searchTextHasBeenSet = true; m_searchText = std::forward<SearchTextT>(value); }
88 template<typename SearchTextT = Aws::String>
89 SearchUserProfilesRequest& WithSearchText(SearchTextT&& value) { SetSearchText(std::forward<SearchTextT>(value)); return *this;}
91
93
96 inline UserSearchType GetUserType() const { return m_userType; }
97 inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; }
98 inline void SetUserType(UserSearchType value) { m_userTypeHasBeenSet = true; m_userType = value; }
99 inline SearchUserProfilesRequest& WithUserType(UserSearchType value) { SetUserType(value); return *this;}
101 private:
102
103 Aws::String m_domainIdentifier;
104 bool m_domainIdentifierHasBeenSet = false;
105
106 int m_maxResults{0};
107 bool m_maxResultsHasBeenSet = false;
108
109 Aws::String m_nextToken;
110 bool m_nextTokenHasBeenSet = false;
111
112 Aws::String m_searchText;
113 bool m_searchTextHasBeenSet = false;
114
116 bool m_userTypeHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace DataZone
121} // 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