7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/ConnectCasesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/connectcases/model/CaseFilter.h>
12#include <aws/connectcases/model/FieldIdentifier.h>
13#include <aws/connectcases/model/Sort.h>
47 inline void SetDomainId(
const char* value) { m_domainIdHasBeenSet =
true; m_domainId.assign(value); }
86 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
99 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
113 inline void SetSearchTerm(
const char* value) { m_searchTermHasBeenSet =
true; m_searchTerm.assign(value); }
136 bool m_domainIdHasBeenSet =
false;
139 bool m_fieldsHasBeenSet =
false;
142 bool m_filterHasBeenSet =
false;
145 bool m_maxResultsHasBeenSet =
false;
148 bool m_nextTokenHasBeenSet =
false;
151 bool m_searchTermHasBeenSet =
false;
154 bool m_sortsHasBeenSet =
false;
void SetSearchTerm(const Aws::String &value)
SearchCasesRequest & WithDomainId(const Aws::String &value)
void SetSorts(Aws::Vector< Sort > &&value)
bool SortsHasBeenSet() const
SearchCasesRequest & WithNextToken(const Aws::String &value)
void SetFields(const Aws::Vector< FieldIdentifier > &value)
SearchCasesRequest & WithFilter(CaseFilter &&value)
void SetFields(Aws::Vector< FieldIdentifier > &&value)
const Aws::String & GetNextToken() const
const Aws::String & GetDomainId() const
SearchCasesRequest & WithDomainId(Aws::String &&value)
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
void SetNextToken(const char *value)
SearchCasesRequest & AddFields(const FieldIdentifier &value)
const Aws::String & GetSearchTerm() const
AWS_CONNECTCASES_API SearchCasesRequest()
SearchCasesRequest & WithSearchTerm(const Aws::String &value)
SearchCasesRequest & WithSearchTerm(const char *value)
SearchCasesRequest & WithSearchTerm(Aws::String &&value)
void SetFilter(CaseFilter &&value)
SearchCasesRequest & WithMaxResults(int value)
bool SearchTermHasBeenSet() const
bool MaxResultsHasBeenSet() const
SearchCasesRequest & WithFilter(const CaseFilter &value)
SearchCasesRequest & WithNextToken(Aws::String &&value)
SearchCasesRequest & AddSorts(const Sort &value)
bool DomainIdHasBeenSet() const
SearchCasesRequest & WithSorts(const Aws::Vector< Sort > &value)
void SetNextToken(Aws::String &&value)
void SetSorts(const Aws::Vector< Sort > &value)
SearchCasesRequest & WithSorts(Aws::Vector< Sort > &&value)
virtual const char * GetServiceRequestName() const override
SearchCasesRequest & WithDomainId(const char *value)
SearchCasesRequest & WithFields(const Aws::Vector< FieldIdentifier > &value)
SearchCasesRequest & WithFields(Aws::Vector< FieldIdentifier > &&value)
void SetDomainId(Aws::String &&value)
void SetMaxResults(int value)
SearchCasesRequest & WithNextToken(const char *value)
int GetMaxResults() const
const Aws::Vector< Sort > & GetSorts() const
void SetSearchTerm(Aws::String &&value)
void SetNextToken(const Aws::String &value)
void SetDomainId(const Aws::String &value)
bool FieldsHasBeenSet() const
bool FilterHasBeenSet() const
const Aws::Vector< FieldIdentifier > & GetFields() const
void SetDomainId(const char *value)
bool NextTokenHasBeenSet() const
SearchCasesRequest & AddSorts(Sort &&value)
SearchCasesRequest & AddFields(FieldIdentifier &&value)
const CaseFilter & GetFilter() const
void SetFilter(const CaseFilter &value)
void SetSearchTerm(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector