7#include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudsearchdomain/model/Hit.h>
23namespace CloudSearchDomain
37 AWS_CLOUDSEARCHDOMAIN_API
Hits();
47 inline long long GetFound()
const{
return m_found; }
49 inline void SetFound(
long long value) { m_foundHasBeenSet =
true; m_found = value; }
57 inline long long GetStart()
const{
return m_start; }
59 inline void SetStart(
long long value) { m_startHasBeenSet =
true; m_start = value; }
72 inline void SetCursor(
const char* value) { m_cursorHasBeenSet =
true; m_cursor.assign(value); }
88 inline Hits&
AddHit(
const Hit& value) { m_hitHasBeenSet =
true; m_hit.push_back(value);
return *
this; }
89 inline Hits&
AddHit(
Hit&& value) { m_hitHasBeenSet =
true; m_hit.push_back(std::move(value));
return *
this; }
94 bool m_foundHasBeenSet =
false;
97 bool m_startHasBeenSet =
false;
100 bool m_cursorHasBeenSet =
false;
103 bool m_hitHasBeenSet =
false;
AWS_CLOUDSEARCHDOMAIN_API Hits & operator=(Aws::Utils::Json::JsonView jsonValue)
Hits & WithCursor(const char *value)
Hits & WithHit(Aws::Vector< Hit > &&value)
const Aws::String & GetCursor() const
bool CursorHasBeenSet() const
bool FoundHasBeenSet() const
Hits & WithFound(long long value)
void SetHit(Aws::Vector< Hit > &&value)
Hits & AddHit(Hit &&value)
void SetCursor(const char *value)
Hits & AddHit(const Hit &value)
AWS_CLOUDSEARCHDOMAIN_API Aws::Utils::Json::JsonValue Jsonize() const
Hits & WithHit(const Aws::Vector< Hit > &value)
AWS_CLOUDSEARCHDOMAIN_API Hits(Aws::Utils::Json::JsonView jsonValue)
bool StartHasBeenSet() const
void SetCursor(const Aws::String &value)
void SetStart(long long value)
Hits & WithCursor(const Aws::String &value)
void SetCursor(Aws::String &&value)
Hits & WithStart(long long value)
const Aws::Vector< Hit > & GetHit() const
void SetHit(const Aws::Vector< Hit > &value)
Hits & WithCursor(Aws::String &&value)
void SetFound(long long value)
AWS_CLOUDSEARCHDOMAIN_API Hits()
long long GetFound() const
long long GetStart() const
bool HitHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue