AWS SDK for C++  1.9.44
AWS SDK for C++
SearchProfilesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace AlexaForBusiness
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "SearchProfiles"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
46  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
47 
54  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
55 
62  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
63 
70  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
71 
78  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
79 
86  inline SearchProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
87 
94  inline SearchProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
95 
102  inline SearchProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
103 
104 
110  inline int GetMaxResults() const{ return m_maxResults; }
111 
117  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
118 
124  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
125 
131  inline SearchProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
132 
133 
138  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
139 
144  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
145 
150  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
151 
156  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
157 
162  inline SearchProfilesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
163 
168  inline SearchProfilesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
169 
174  inline SearchProfilesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
175 
180  inline SearchProfilesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
181 
182 
187  inline const Aws::Vector<Sort>& GetSortCriteria() const{ return m_sortCriteria; }
188 
193  inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
194 
199  inline void SetSortCriteria(const Aws::Vector<Sort>& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = value; }
200 
205  inline void SetSortCriteria(Aws::Vector<Sort>&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = std::move(value); }
206 
211  inline SearchProfilesRequest& WithSortCriteria(const Aws::Vector<Sort>& value) { SetSortCriteria(value); return *this;}
212 
217  inline SearchProfilesRequest& WithSortCriteria(Aws::Vector<Sort>&& value) { SetSortCriteria(std::move(value)); return *this;}
218 
223  inline SearchProfilesRequest& AddSortCriteria(const Sort& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria.push_back(value); return *this; }
224 
229  inline SearchProfilesRequest& AddSortCriteria(Sort&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria.push_back(std::move(value)); return *this; }
230 
231  private:
232 
233  Aws::String m_nextToken;
234  bool m_nextTokenHasBeenSet;
235 
236  int m_maxResults;
237  bool m_maxResultsHasBeenSet;
238 
239  Aws::Vector<Filter> m_filters;
240  bool m_filtersHasBeenSet;
241 
242  Aws::Vector<Sort> m_sortCriteria;
243  bool m_sortCriteriaHasBeenSet;
244  };
245 
246 } // namespace Model
247 } // namespace AlexaForBusiness
248 } // namespace Aws
Aws::AlexaForBusiness::Model::SearchProfilesRequest::WithSortCriteria
SearchProfilesRequest & WithSortCriteria(const Aws::Vector< Sort > &value)
Definition: SearchProfilesRequest.h:211
Aws::AlexaForBusiness::Model::SearchProfilesRequest::WithMaxResults
SearchProfilesRequest & WithMaxResults(int value)
Definition: SearchProfilesRequest.h:131
Aws::AlexaForBusiness::Model::SearchProfilesRequest::AddFilters
SearchProfilesRequest & AddFilters(const Filter &value)
Definition: SearchProfilesRequest.h:174
Aws::AlexaForBusiness::Model::SearchProfilesRequest::GetSortCriteria
const Aws::Vector< Sort > & GetSortCriteria() const
Definition: SearchProfilesRequest.h:187
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::SearchProfilesRequest::AddSortCriteria
SearchProfilesRequest & AddSortCriteria(const Sort &value)
Definition: SearchProfilesRequest.h:223
Aws::AlexaForBusiness::Model::SearchProfilesRequest::AddFilters
SearchProfilesRequest & AddFilters(Filter &&value)
Definition: SearchProfilesRequest.h:180
Aws::AlexaForBusiness::Model::SearchProfilesRequest::WithSortCriteria
SearchProfilesRequest & WithSortCriteria(Aws::Vector< Sort > &&value)
Definition: SearchProfilesRequest.h:217
Aws::AlexaForBusiness::Model::SearchProfilesRequest::WithFilters
SearchProfilesRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: SearchProfilesRequest.h:168
Aws::AlexaForBusiness::Model::Filter
Definition: Filter.h:35
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AlexaForBusiness::Model::SearchProfilesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: SearchProfilesRequest.h:46
Aws::AlexaForBusiness::Model::SearchProfilesRequest
Definition: SearchProfilesRequest.h:25
AWSVector.h
Aws::AlexaForBusiness::Model::SearchProfilesRequest::SetSortCriteria
void SetSortCriteria(Aws::Vector< Sort > &&value)
Definition: SearchProfilesRequest.h:205
Aws::AlexaForBusiness::Model::SearchProfilesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SearchProfilesRequest.h:33
Aws::AlexaForBusiness::Model::SearchProfilesRequest::WithNextToken
SearchProfilesRequest & WithNextToken(const Aws::String &value)
Definition: SearchProfilesRequest.h:86
Aws::AlexaForBusiness::Model::SearchProfilesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: SearchProfilesRequest.h:124
Sort.h
Aws::AlexaForBusiness::Model::SearchProfilesRequest::WithNextToken
SearchProfilesRequest & WithNextToken(const char *value)
Definition: SearchProfilesRequest.h:102
Filter.h
Aws::AlexaForBusiness::Model::SearchProfilesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: SearchProfilesRequest.h:70
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::SearchProfilesRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: SearchProfilesRequest.h:150
Aws::AlexaForBusiness::Model::SearchProfilesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AlexaForBusiness::Model::SearchProfilesRequest::SetSortCriteria
void SetSortCriteria(const Aws::Vector< Sort > &value)
Definition: SearchProfilesRequest.h:199
Aws::AlexaForBusiness::Model::SearchProfilesRequest::AddSortCriteria
SearchProfilesRequest & AddSortCriteria(Sort &&value)
Definition: SearchProfilesRequest.h:229
AWSString.h
Aws::AlexaForBusiness::Model::SearchProfilesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: SearchProfilesRequest.h:54
Aws::AlexaForBusiness::Model::SearchProfilesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::SearchProfilesRequest::SortCriteriaHasBeenSet
bool SortCriteriaHasBeenSet() const
Definition: SearchProfilesRequest.h:193
Aws::AlexaForBusiness::Model::SearchProfilesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: SearchProfilesRequest.h:144
Aws::AlexaForBusiness::Model::SearchProfilesRequest::WithNextToken
SearchProfilesRequest & WithNextToken(Aws::String &&value)
Definition: SearchProfilesRequest.h:94
Aws::AlexaForBusiness::Model::SearchProfilesRequest::SearchProfilesRequest
SearchProfilesRequest()
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::SearchProfilesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: SearchProfilesRequest.h:78
Aws::AlexaForBusiness::Model::SearchProfilesRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: SearchProfilesRequest.h:138
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::SearchProfilesRequest::GetMaxResults
int GetMaxResults() const
Definition: SearchProfilesRequest.h:110
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::SearchProfilesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: SearchProfilesRequest.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::SearchProfilesRequest::WithFilters
SearchProfilesRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: SearchProfilesRequest.h:162
Aws::AlexaForBusiness::Model::Sort
Definition: Sort.h:33
Aws::AlexaForBusiness::Model::SearchProfilesRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: SearchProfilesRequest.h:156
Aws::AlexaForBusiness::Model::SearchProfilesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: SearchProfilesRequest.h:62
AlexaForBusinessRequest.h