AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
44 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
45 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
47 inline SearchUserProfilesRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
48 inline SearchUserProfilesRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
50
52
59 inline int GetMaxResults() const{ return m_maxResults; }
60 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
61 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
62 inline SearchUserProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
64
66
74 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
77 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
78 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
79 inline SearchUserProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 inline SearchUserProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
81 inline SearchUserProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
83
85
88 inline const Aws::String& GetSearchText() const{ return m_searchText; }
89 inline bool SearchTextHasBeenSet() const { return m_searchTextHasBeenSet; }
90 inline void SetSearchText(const Aws::String& value) { m_searchTextHasBeenSet = true; m_searchText = value; }
91 inline void SetSearchText(Aws::String&& value) { m_searchTextHasBeenSet = true; m_searchText = std::move(value); }
92 inline void SetSearchText(const char* value) { m_searchTextHasBeenSet = true; m_searchText.assign(value); }
93 inline SearchUserProfilesRequest& WithSearchText(const Aws::String& value) { SetSearchText(value); return *this;}
94 inline SearchUserProfilesRequest& WithSearchText(Aws::String&& value) { SetSearchText(std::move(value)); return *this;}
95 inline SearchUserProfilesRequest& WithSearchText(const char* value) { SetSearchText(value); return *this;}
97
99
102 inline const UserSearchType& GetUserType() const{ return m_userType; }
103 inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; }
104 inline void SetUserType(const UserSearchType& value) { m_userTypeHasBeenSet = true; m_userType = value; }
105 inline void SetUserType(UserSearchType&& value) { m_userTypeHasBeenSet = true; m_userType = std::move(value); }
106 inline SearchUserProfilesRequest& WithUserType(const UserSearchType& value) { SetUserType(value); return *this;}
107 inline SearchUserProfilesRequest& WithUserType(UserSearchType&& value) { SetUserType(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_domainIdentifier;
112 bool m_domainIdentifierHasBeenSet = false;
113
114 int m_maxResults;
115 bool m_maxResultsHasBeenSet = false;
116
117 Aws::String m_nextToken;
118 bool m_nextTokenHasBeenSet = false;
119
120 Aws::String m_searchText;
121 bool m_searchTextHasBeenSet = false;
122
123 UserSearchType m_userType;
124 bool m_userTypeHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace DataZone
129} // namespace Aws
SearchUserProfilesRequest & WithUserType(UserSearchType &&value)
SearchUserProfilesRequest & WithUserType(const UserSearchType &value)
SearchUserProfilesRequest & WithNextToken(const Aws::String &value)
SearchUserProfilesRequest & WithMaxResults(int value)
SearchUserProfilesRequest & WithNextToken(const char *value)
SearchUserProfilesRequest & WithSearchText(const char *value)
SearchUserProfilesRequest & WithSearchText(Aws::String &&value)
SearchUserProfilesRequest & WithNextToken(Aws::String &&value)
SearchUserProfilesRequest & WithSearchText(const Aws::String &value)
SearchUserProfilesRequest & WithDomainIdentifier(const Aws::String &value)
SearchUserProfilesRequest & WithDomainIdentifier(const char *value)
SearchUserProfilesRequest & WithDomainIdentifier(Aws::String &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String