AWS SDK for C++  1.9.40
AWS SDK for C++
SearchProfilesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace CustomerProfiles
20 {
21 namespace Model
22 {
23 
27  {
28  public:
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 "SearchProfiles"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
46 
50  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
51 
55  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
56 
60  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
61 
65  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
66 
70  inline SearchProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
71 
75  inline SearchProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
76 
80  inline SearchProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
81 
82 
86  inline int GetMaxResults() const{ return m_maxResults; }
87 
91  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
92 
96  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
97 
101  inline SearchProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
102 
103 
107  inline const Aws::String& GetDomainName() const{ return m_domainName; }
108 
112  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
113 
117  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
118 
122  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
123 
127  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
128 
132  inline SearchProfilesRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
133 
137  inline SearchProfilesRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
138 
142  inline SearchProfilesRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
143 
144 
151  inline const Aws::String& GetKeyName() const{ return m_keyName; }
152 
159  inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; }
160 
167  inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; }
168 
175  inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); }
176 
183  inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); }
184 
191  inline SearchProfilesRequest& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
192 
199  inline SearchProfilesRequest& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
200 
207  inline SearchProfilesRequest& WithKeyName(const char* value) { SetKeyName(value); return *this;}
208 
209 
213  inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
214 
218  inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
219 
223  inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
224 
228  inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
229 
233  inline SearchProfilesRequest& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
234 
238  inline SearchProfilesRequest& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
239 
243  inline SearchProfilesRequest& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
244 
248  inline SearchProfilesRequest& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
249 
253  inline SearchProfilesRequest& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
254 
255  private:
256 
257  Aws::String m_nextToken;
258  bool m_nextTokenHasBeenSet;
259 
260  int m_maxResults;
261  bool m_maxResultsHasBeenSet;
262 
263  Aws::String m_domainName;
264  bool m_domainNameHasBeenSet;
265 
266  Aws::String m_keyName;
267  bool m_keyNameHasBeenSet;
268 
269  Aws::Vector<Aws::String> m_values;
270  bool m_valuesHasBeenSet;
271  };
272 
273 } // namespace Model
274 } // namespace CustomerProfiles
275 } // namespace Aws
Aws::CustomerProfiles::Model::SearchProfilesRequest::SetKeyName
void SetKeyName(Aws::String &&value)
Definition: SearchProfilesRequest.h:175
Aws::CustomerProfiles::Model::SearchProfilesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: SearchProfilesRequest.h:91
Aws::CustomerProfiles::Model::SearchProfilesRequest::WithValues
SearchProfilesRequest & WithValues(const Aws::Vector< Aws::String > &value)
Definition: SearchProfilesRequest.h:233
Aws::CustomerProfiles::Model::SearchProfilesRequest::SetKeyName
void SetKeyName(const char *value)
Definition: SearchProfilesRequest.h:183
Aws::CustomerProfiles::Model::SearchProfilesRequest::WithNextToken
SearchProfilesRequest & WithNextToken(Aws::String &&value)
Definition: SearchProfilesRequest.h:75
Aws::Http::URI
Definition: URI.h:32
Aws::CustomerProfiles::Model::SearchProfilesRequest::WithDomainName
SearchProfilesRequest & WithDomainName(Aws::String &&value)
Definition: SearchProfilesRequest.h:137
Aws::CustomerProfiles::Model::SearchProfilesRequest
Definition: SearchProfilesRequest.h:27
Aws::CustomerProfiles::Model::SearchProfilesRequest::SetDomainName
void SetDomainName(const char *value)
Definition: SearchProfilesRequest.h:127
AWS_CUSTOMERPROFILES_API
#define AWS_CUSTOMERPROFILES_API
Definition: CustomerProfiles_EXPORTS.h:28
Aws::CustomerProfiles::Model::SearchProfilesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: SearchProfilesRequest.h:45
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Appflow::Model::ConnectorType::NOT_SET
@ NOT_SET
Aws::CustomerProfiles::Model::SearchProfilesRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: SearchProfilesRequest.h:112
Aws::CustomerProfiles::Model::SearchProfilesRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: SearchProfilesRequest.h:117
Aws::CustomerProfiles::Model::SearchProfilesRequest::AddValues
SearchProfilesRequest & AddValues(Aws::String &&value)
Definition: SearchProfilesRequest.h:248
AWSVector.h
Aws::CustomerProfiles::Model::SearchProfilesRequest::GetMaxResults
int GetMaxResults() const
Definition: SearchProfilesRequest.h:86
Aws::CustomerProfiles::Model::SearchProfilesRequest::WithDomainName
SearchProfilesRequest & WithDomainName(const char *value)
Definition: SearchProfilesRequest.h:142
Aws::CustomerProfiles::Model::SearchProfilesRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: SearchProfilesRequest.h:122
Aws::CustomerProfiles::Model::SearchProfilesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: SearchProfilesRequest.h:50
Aws::CustomerProfiles::Model::SearchProfilesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: SearchProfilesRequest.h:55
Aws::CustomerProfiles::Model::SearchProfilesRequest::KeyNameHasBeenSet
bool KeyNameHasBeenSet() const
Definition: SearchProfilesRequest.h:159
Aws::CustomerProfiles::Model::SearchProfilesRequest::GetValues
const Aws::Vector< Aws::String > & GetValues() const
Definition: SearchProfilesRequest.h:213
CustomerProfiles_EXPORTS.h
Aws::CustomerProfiles::Model::SearchProfilesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: SearchProfilesRequest.h:65
Aws::CustomerProfiles::CustomerProfilesRequest
Definition: CustomerProfilesRequest.h:17
Aws::CustomerProfiles::Model::SearchProfilesRequest::WithDomainName
SearchProfilesRequest & WithDomainName(const Aws::String &value)
Definition: SearchProfilesRequest.h:132
Aws::CustomerProfiles::Model::SearchProfilesRequest::WithKeyName
SearchProfilesRequest & WithKeyName(Aws::String &&value)
Definition: SearchProfilesRequest.h:199
AWSString.h
Aws::CustomerProfiles::Model::SearchProfilesRequest::SetValues
void SetValues(Aws::Vector< Aws::String > &&value)
Definition: SearchProfilesRequest.h:228
Aws::CustomerProfiles::Model::SearchProfilesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: SearchProfilesRequest.h:96
Aws::CustomerProfiles::Model::SearchProfilesRequest::WithKeyName
SearchProfilesRequest & WithKeyName(const Aws::String &value)
Definition: SearchProfilesRequest.h:191
Aws::CustomerProfiles::Model::SearchProfilesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CustomerProfiles::Model::SearchProfilesRequest::WithValues
SearchProfilesRequest & WithValues(Aws::Vector< Aws::String > &&value)
Definition: SearchProfilesRequest.h:238
Aws::CustomerProfiles::Model::SearchProfilesRequest::SetValues
void SetValues(const Aws::Vector< Aws::String > &value)
Definition: SearchProfilesRequest.h:223
Aws::CustomerProfiles::Model::SearchProfilesRequest::WithMaxResults
SearchProfilesRequest & WithMaxResults(int value)
Definition: SearchProfilesRequest.h:101
Aws::CustomerProfiles::Model::SearchProfilesRequest::AddValues
SearchProfilesRequest & AddValues(const char *value)
Definition: SearchProfilesRequest.h:253
Aws
Definition: AccessManagementClient.h:15
Aws::CustomerProfiles::Model::SearchProfilesRequest::WithNextToken
SearchProfilesRequest & WithNextToken(const Aws::String &value)
Definition: SearchProfilesRequest.h:70
Aws::CustomerProfiles::Model::SearchProfilesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: SearchProfilesRequest.h:60
Aws::CustomerProfiles::Model::SearchProfilesRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: SearchProfilesRequest.h:107
Aws::CustomerProfiles::Model::SearchProfilesRequest::SetKeyName
void SetKeyName(const Aws::String &value)
Definition: SearchProfilesRequest.h:167
Aws::CustomerProfiles::Model::SearchProfilesRequest::WithNextToken
SearchProfilesRequest & WithNextToken(const char *value)
Definition: SearchProfilesRequest.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CustomerProfiles::Model::SearchProfilesRequest::ValuesHasBeenSet
bool ValuesHasBeenSet() const
Definition: SearchProfilesRequest.h:218
Aws::CustomerProfiles::Model::SearchProfilesRequest::SearchProfilesRequest
SearchProfilesRequest()
Aws::CustomerProfiles::Model::SearchProfilesRequest::GetKeyName
const Aws::String & GetKeyName() const
Definition: SearchProfilesRequest.h:151
CustomerProfilesRequest.h
Aws::CustomerProfiles::Model::SearchProfilesRequest::WithKeyName
SearchProfilesRequest & WithKeyName(const char *value)
Definition: SearchProfilesRequest.h:207
Aws::CustomerProfiles::Model::SearchProfilesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::CustomerProfiles::Model::SearchProfilesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SearchProfilesRequest.h:35
Aws::CustomerProfiles::Model::SearchProfilesRequest::AddValues
SearchProfilesRequest & AddValues(const Aws::String &value)
Definition: SearchProfilesRequest.h:243