7#include <aws/connectcases/ConnectCasesRequest.h>
8#include <aws/connectcases/ConnectCases_EXPORTS.h>
9#include <aws/connectcases/model/CaseFilter.h>
10#include <aws/connectcases/model/FieldIdentifier.h>
11#include <aws/connectcases/model/Sort.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18namespace ConnectCases {
41 template <
typename DomainIdT = Aws::String>
43 m_domainIdHasBeenSet =
true;
44 m_domainId = std::forward<DomainIdT>(value);
46 template <
typename DomainIdT = Aws::String>
61 m_maxResultsHasBeenSet =
true;
77 template <
typename NextTokenT = Aws::String>
79 m_nextTokenHasBeenSet =
true;
80 m_nextToken = std::forward<NextTokenT>(value);
82 template <
typename NextTokenT = Aws::String>
95 template <
typename SearchTermT = Aws::String>
97 m_searchTermHasBeenSet =
true;
98 m_searchTerm = std::forward<SearchTermT>(value);
100 template <
typename SearchTermT = Aws::String>
113 template <
typename FilterT = CaseFilter>
115 m_filterHasBeenSet =
true;
116 m_filter = std::forward<FilterT>(value);
118 template <
typename FilterT = CaseFilter>
132 template <
typename SortsT = Aws::Vector<Sort>>
134 m_sortsHasBeenSet =
true;
135 m_sorts = std::forward<SortsT>(value);
137 template <
typename SortsT = Aws::Vector<Sort>>
139 SetSorts(std::forward<SortsT>(value));
142 template <
typename SortsT = Sort>
144 m_sortsHasBeenSet =
true;
145 m_sorts.emplace_back(std::forward<SortsT>(value));
156 template <
typename FieldsT = Aws::Vector<FieldIdentifier>>
158 m_fieldsHasBeenSet =
true;
159 m_fields = std::forward<FieldsT>(value);
161 template <
typename FieldsT = Aws::Vector<FieldIdentifier>>
166 template <
typename FieldsT = FieldIdentifier>
168 m_fieldsHasBeenSet =
true;
169 m_fields.emplace_back(std::forward<FieldsT>(value));
187 bool m_domainIdHasBeenSet =
false;
188 bool m_maxResultsHasBeenSet =
false;
189 bool m_nextTokenHasBeenSet =
false;
190 bool m_searchTermHasBeenSet =
false;
191 bool m_filterHasBeenSet =
false;
192 bool m_sortsHasBeenSet =
false;
193 bool m_fieldsHasBeenSet =
false;
SearchCasesRequest & WithDomainId(DomainIdT &&value)
bool SortsHasBeenSet() const
void SetFilter(FilterT &&value)
const Aws::String & GetNextToken() const
const Aws::String & GetDomainId() const
SearchCasesRequest & WithSearchTerm(SearchTermT &&value)
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
void SetDomainId(DomainIdT &&value)
SearchCasesRequest & AddFields(FieldsT &&value)
void SetFields(FieldsT &&value)
SearchCasesRequest & WithSorts(SortsT &&value)
void SetNextToken(NextTokenT &&value)
const Aws::String & GetSearchTerm() const
void SetSorts(SortsT &&value)
SearchCasesRequest & WithMaxResults(int value)
bool SearchTermHasBeenSet() const
bool MaxResultsHasBeenSet() const
AWS_CONNECTCASES_API SearchCasesRequest()=default
bool DomainIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetMaxResults(int value)
SearchCasesRequest & WithFields(FieldsT &&value)
int GetMaxResults() const
const Aws::Vector< Sort > & GetSorts() const
bool FieldsHasBeenSet() const
void SetSearchTerm(SearchTermT &&value)
bool FilterHasBeenSet() const
const Aws::Vector< FieldIdentifier > & GetFields() const
SearchCasesRequest & WithFilter(FilterT &&value)
bool NextTokenHasBeenSet() const
SearchCasesRequest & WithNextToken(NextTokenT &&value)
const CaseFilter & GetFilter() const
SearchCasesRequest & AddSorts(SortsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector