AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
50 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
51 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
52 inline GetSimilarProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
53 inline GetSimilarProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
54 inline GetSimilarProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
56
58
61 inline int GetMaxResults() const{ return m_maxResults; }
62 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
63 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
64 inline GetSimilarProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
66
68
71 inline const Aws::String& GetDomainName() const{ return m_domainName; }
72 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
73 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
74 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
75 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
76 inline GetSimilarProfilesRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
77 inline GetSimilarProfilesRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
78 inline GetSimilarProfilesRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
80
82
85 inline const MatchType& GetMatchType() const{ return m_matchType; }
86 inline bool MatchTypeHasBeenSet() const { return m_matchTypeHasBeenSet; }
87 inline void SetMatchType(const MatchType& value) { m_matchTypeHasBeenSet = true; m_matchType = value; }
88 inline void SetMatchType(MatchType&& value) { m_matchTypeHasBeenSet = true; m_matchType = std::move(value); }
89 inline GetSimilarProfilesRequest& WithMatchType(const MatchType& value) { SetMatchType(value); return *this;}
90 inline GetSimilarProfilesRequest& WithMatchType(MatchType&& value) { SetMatchType(std::move(value)); return *this;}
92
94
97 inline const Aws::String& GetSearchKey() const{ return m_searchKey; }
98 inline bool SearchKeyHasBeenSet() const { return m_searchKeyHasBeenSet; }
99 inline void SetSearchKey(const Aws::String& value) { m_searchKeyHasBeenSet = true; m_searchKey = value; }
100 inline void SetSearchKey(Aws::String&& value) { m_searchKeyHasBeenSet = true; m_searchKey = std::move(value); }
101 inline void SetSearchKey(const char* value) { m_searchKeyHasBeenSet = true; m_searchKey.assign(value); }
102 inline GetSimilarProfilesRequest& WithSearchKey(const Aws::String& value) { SetSearchKey(value); return *this;}
103 inline GetSimilarProfilesRequest& WithSearchKey(Aws::String&& value) { SetSearchKey(std::move(value)); return *this;}
104 inline GetSimilarProfilesRequest& WithSearchKey(const char* value) { SetSearchKey(value); return *this;}
106
108
112 inline const Aws::String& GetSearchValue() const{ return m_searchValue; }
113 inline bool SearchValueHasBeenSet() const { return m_searchValueHasBeenSet; }
114 inline void SetSearchValue(const Aws::String& value) { m_searchValueHasBeenSet = true; m_searchValue = value; }
115 inline void SetSearchValue(Aws::String&& value) { m_searchValueHasBeenSet = true; m_searchValue = std::move(value); }
116 inline void SetSearchValue(const char* value) { m_searchValueHasBeenSet = true; m_searchValue.assign(value); }
117 inline GetSimilarProfilesRequest& WithSearchValue(const Aws::String& value) { SetSearchValue(value); return *this;}
118 inline GetSimilarProfilesRequest& WithSearchValue(Aws::String&& value) { SetSearchValue(std::move(value)); return *this;}
119 inline GetSimilarProfilesRequest& WithSearchValue(const char* value) { SetSearchValue(value); return *this;}
121 private:
122
123 Aws::String m_nextToken;
124 bool m_nextTokenHasBeenSet = false;
125
126 int m_maxResults;
127 bool m_maxResultsHasBeenSet = false;
128
129 Aws::String m_domainName;
130 bool m_domainNameHasBeenSet = false;
131
132 MatchType m_matchType;
133 bool m_matchTypeHasBeenSet = false;
134
135 Aws::String m_searchKey;
136 bool m_searchKeyHasBeenSet = false;
137
138 Aws::String m_searchValue;
139 bool m_searchValueHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace CustomerProfiles
144} // namespace Aws
GetSimilarProfilesRequest & WithSearchValue(Aws::String &&value)
AWS_CUSTOMERPROFILES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetSimilarProfilesRequest & WithSearchValue(const char *value)
GetSimilarProfilesRequest & WithNextToken(const Aws::String &value)
GetSimilarProfilesRequest & WithSearchValue(const Aws::String &value)
GetSimilarProfilesRequest & WithDomainName(const char *value)
GetSimilarProfilesRequest & WithDomainName(const Aws::String &value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
GetSimilarProfilesRequest & WithSearchKey(Aws::String &&value)
GetSimilarProfilesRequest & WithNextToken(const char *value)
GetSimilarProfilesRequest & WithDomainName(Aws::String &&value)
GetSimilarProfilesRequest & WithNextToken(Aws::String &&value)
GetSimilarProfilesRequest & WithSearchKey(const char *value)
GetSimilarProfilesRequest & WithMatchType(MatchType &&value)
GetSimilarProfilesRequest & WithMatchType(const MatchType &value)
GetSimilarProfilesRequest & WithSearchKey(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String