7#include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h>
8#include <aws/cloudsearchdomain/model/SearchStatus.h>
9#include <aws/cloudsearchdomain/model/Hits.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/cloudsearchdomain/model/BucketInfo.h>
13#include <aws/cloudsearchdomain/model/FieldStats.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
28namespace CloudSearchDomain
64 inline void SetHits(
Hits&& value) { m_hits = std::move(value); }
108 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetHits(const Hits &value)
void SetFacets(Aws::Map< Aws::String, BucketInfo > &&value)
AWS_CLOUDSEARCHDOMAIN_API SearchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStats(Aws::Map< Aws::String, FieldStats > &&value)
SearchResult & AddFacets(const Aws::String &key, BucketInfo &&value)
SearchResult & AddStats(const Aws::String &key, FieldStats &&value)
void SetFacets(const Aws::Map< Aws::String, BucketInfo > &value)
SearchResult & WithHits(Hits &&value)
AWS_CLOUDSEARCHDOMAIN_API SearchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchResult & AddFacets(const Aws::String &key, const BucketInfo &value)
SearchResult & AddStats(Aws::String &&key, FieldStats &&value)
SearchResult & WithRequestId(const char *value)
AWS_CLOUDSEARCHDOMAIN_API SearchResult()
void SetStats(const Aws::Map< Aws::String, FieldStats > &value)
void SetStatus(SearchStatus &&value)
SearchResult & WithHits(const Hits &value)
const SearchStatus & GetStatus() const
SearchResult & AddFacets(Aws::String &&key, const BucketInfo &value)
const Hits & GetHits() const
SearchResult & WithStatus(const SearchStatus &value)
SearchResult & AddStats(const char *key, const FieldStats &value)
SearchResult & AddFacets(Aws::String &&key, BucketInfo &&value)
SearchResult & WithFacets(const Aws::Map< Aws::String, BucketInfo > &value)
void SetRequestId(const char *value)
SearchResult & AddStats(const char *key, FieldStats &&value)
SearchResult & WithFacets(Aws::Map< Aws::String, BucketInfo > &&value)
SearchResult & WithStats(const Aws::Map< Aws::String, FieldStats > &value)
const Aws::Map< Aws::String, FieldStats > & GetStats() const
SearchResult & AddStats(const Aws::String &key, const FieldStats &value)
SearchResult & WithRequestId(const Aws::String &value)
SearchResult & AddStats(Aws::String &&key, const FieldStats &value)
SearchResult & AddFacets(const char *key, const BucketInfo &value)
void SetRequestId(const Aws::String &value)
const Aws::Map< Aws::String, BucketInfo > & GetFacets() const
SearchResult & WithStats(Aws::Map< Aws::String, FieldStats > &&value)
void SetHits(Hits &&value)
SearchResult & AddFacets(const char *key, BucketInfo &&value)
void SetStatus(const SearchStatus &value)
SearchResult & WithStatus(SearchStatus &&value)
SearchResult & WithRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetRequestId(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue