AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
GetSimilarProfilesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10#include <aws/customer-profiles/model/MatchType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace CustomerProfiles {
19namespace Model {
20
24 public:
25 AWS_CUSTOMERPROFILES_API GetSimilarProfilesRequest() = 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 "GetSimilarProfiles"; }
32
33 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
34
35 AWS_CUSTOMERPROFILES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
42 inline const Aws::String& GetNextToken() const { return m_nextToken; }
43 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
44 template <typename NextTokenT = Aws::String>
45 void SetNextToken(NextTokenT&& value) {
46 m_nextTokenHasBeenSet = true;
47 m_nextToken = std::forward<NextTokenT>(value);
48 }
49 template <typename NextTokenT = Aws::String>
51 SetNextToken(std::forward<NextTokenT>(value));
52 return *this;
53 }
55
57
60 inline int GetMaxResults() const { return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) {
63 m_maxResultsHasBeenSet = true;
64 m_maxResults = value;
65 }
67 SetMaxResults(value);
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDomainName() const { return m_domainName; }
77 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
78 template <typename DomainNameT = Aws::String>
79 void SetDomainName(DomainNameT&& value) {
80 m_domainNameHasBeenSet = true;
81 m_domainName = std::forward<DomainNameT>(value);
82 }
83 template <typename DomainNameT = Aws::String>
85 SetDomainName(std::forward<DomainNameT>(value));
86 return *this;
87 }
89
91
94 inline MatchType GetMatchType() const { return m_matchType; }
95 inline bool MatchTypeHasBeenSet() const { return m_matchTypeHasBeenSet; }
96 inline void SetMatchType(MatchType value) {
97 m_matchTypeHasBeenSet = true;
98 m_matchType = value;
99 }
101 SetMatchType(value);
102 return *this;
103 }
105
107
110 inline const Aws::String& GetSearchKey() const { return m_searchKey; }
111 inline bool SearchKeyHasBeenSet() const { return m_searchKeyHasBeenSet; }
112 template <typename SearchKeyT = Aws::String>
113 void SetSearchKey(SearchKeyT&& value) {
114 m_searchKeyHasBeenSet = true;
115 m_searchKey = std::forward<SearchKeyT>(value);
116 }
117 template <typename SearchKeyT = Aws::String>
119 SetSearchKey(std::forward<SearchKeyT>(value));
120 return *this;
121 }
123
125
129 inline const Aws::String& GetSearchValue() const { return m_searchValue; }
130 inline bool SearchValueHasBeenSet() const { return m_searchValueHasBeenSet; }
131 template <typename SearchValueT = Aws::String>
132 void SetSearchValue(SearchValueT&& value) {
133 m_searchValueHasBeenSet = true;
134 m_searchValue = std::forward<SearchValueT>(value);
135 }
136 template <typename SearchValueT = Aws::String>
138 SetSearchValue(std::forward<SearchValueT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_nextToken;
144 bool m_nextTokenHasBeenSet = false;
145
146 int m_maxResults{0};
147 bool m_maxResultsHasBeenSet = false;
148
149 Aws::String m_domainName;
150 bool m_domainNameHasBeenSet = false;
151
152 MatchType m_matchType{MatchType::NOT_SET};
153 bool m_matchTypeHasBeenSet = false;
154
155 Aws::String m_searchKey;
156 bool m_searchKeyHasBeenSet = false;
157
158 Aws::String m_searchValue;
159 bool m_searchValueHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace CustomerProfiles
164} // 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