AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetSimilarProfilesRequest.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/model/MatchType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace CustomerProfiles
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CUSTOMERPROFILES_API GetSimilarProfilesRequest() = default;
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 "GetSimilarProfiles"; }
36
37 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
38
39 AWS_CUSTOMERPROFILES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
47 inline const Aws::String& GetNextToken() const { return m_nextToken; }
48 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
49 template<typename NextTokenT = Aws::String>
50 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
51 template<typename NextTokenT = Aws::String>
52 GetSimilarProfilesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
54
56
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 GetSimilarProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
64
66
69 inline const Aws::String& GetDomainName() const { return m_domainName; }
70 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
71 template<typename DomainNameT = Aws::String>
72 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
73 template<typename DomainNameT = Aws::String>
74 GetSimilarProfilesRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
76
78
81 inline MatchType GetMatchType() const { return m_matchType; }
82 inline bool MatchTypeHasBeenSet() const { return m_matchTypeHasBeenSet; }
83 inline void SetMatchType(MatchType value) { m_matchTypeHasBeenSet = true; m_matchType = value; }
84 inline GetSimilarProfilesRequest& WithMatchType(MatchType value) { SetMatchType(value); return *this;}
86
88
91 inline const Aws::String& GetSearchKey() const { return m_searchKey; }
92 inline bool SearchKeyHasBeenSet() const { return m_searchKeyHasBeenSet; }
93 template<typename SearchKeyT = Aws::String>
94 void SetSearchKey(SearchKeyT&& value) { m_searchKeyHasBeenSet = true; m_searchKey = std::forward<SearchKeyT>(value); }
95 template<typename SearchKeyT = Aws::String>
96 GetSimilarProfilesRequest& WithSearchKey(SearchKeyT&& value) { SetSearchKey(std::forward<SearchKeyT>(value)); return *this;}
98
100
104 inline const Aws::String& GetSearchValue() const { return m_searchValue; }
105 inline bool SearchValueHasBeenSet() const { return m_searchValueHasBeenSet; }
106 template<typename SearchValueT = Aws::String>
107 void SetSearchValue(SearchValueT&& value) { m_searchValueHasBeenSet = true; m_searchValue = std::forward<SearchValueT>(value); }
108 template<typename SearchValueT = Aws::String>
109 GetSimilarProfilesRequest& WithSearchValue(SearchValueT&& value) { SetSearchValue(std::forward<SearchValueT>(value)); return *this;}
111 private:
112
113 Aws::String m_nextToken;
114 bool m_nextTokenHasBeenSet = false;
115
116 int m_maxResults{0};
117 bool m_maxResultsHasBeenSet = false;
118
119 Aws::String m_domainName;
120 bool m_domainNameHasBeenSet = false;
121
122 MatchType m_matchType{MatchType::NOT_SET};
123 bool m_matchTypeHasBeenSet = false;
124
125 Aws::String m_searchKey;
126 bool m_searchKeyHasBeenSet = false;
127
128 Aws::String m_searchValue;
129 bool m_searchValueHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace CustomerProfiles
134} // namespace Aws
AWS_CUSTOMERPROFILES_API GetSimilarProfilesRequest()=default
AWS_CUSTOMERPROFILES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetSimilarProfilesRequest & WithSearchValue(SearchValueT &&value)
GetSimilarProfilesRequest & WithNextToken(NextTokenT &&value)
GetSimilarProfilesRequest & WithSearchKey(SearchKeyT &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
GetSimilarProfilesRequest & WithDomainName(DomainNameT &&value)
GetSimilarProfilesRequest & WithMatchType(MatchType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String