customsearch  v1
Classes | Public Member Functions | Static Public Member Functions | List of all members
google_customsearch_api::Search::SearchQueries Class Reference

#include <search.h>

Inheritance diagram for google_customsearch_api::Search::SearchQueries:

Classes

class  SearchQueriesNextPage
 
class  SearchQueriesPreviousPage
 
class  SearchQueriesRequest
 

Public Member Functions

 SearchQueries (const Json::Value &storage)
 
 SearchQueries (Json::Value *storage)
 
virtual ~SearchQueries ()
 
const StringPiece GetTypeName () const
 
bool has_next_page () const
 
void clear_next_page ()
 
const client::JsonCppArray< SearchQueriesNextPageget_next_page () const
 
client::JsonCppArray< SearchQueriesNextPagemutable_nextPage ()
 
bool has_previous_page () const
 
void clear_previous_page ()
 
const client::JsonCppArray< SearchQueriesPreviousPageget_previous_page () const
 
client::JsonCppArray< SearchQueriesPreviousPagemutable_previousPage ()
 
bool has_request () const
 
void clear_request ()
 
const client::JsonCppArray< SearchQueriesRequestget_request () const
 
client::JsonCppArray< SearchQueriesRequestmutable_request ()
 

Static Public Member Functions

static SearchQueriesNew ()
 

Detailed Description

Query metadata for the previous, current, and next pages of results.

Constructor & Destructor Documentation

◆ SearchQueries() [1/2]

google_customsearch_api::Search::SearchQueries::SearchQueries ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ SearchQueries() [2/2]

google_customsearch_api::Search::SearchQueries::SearchQueries ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~SearchQueries()

google_customsearch_api::Search::SearchQueries::~SearchQueries ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_next_page()

void google_customsearch_api::Search::SearchQueries::clear_next_page ( )
inline

Clears the 'nextPage' attribute.

◆ clear_previous_page()

void google_customsearch_api::Search::SearchQueries::clear_previous_page ( )
inline

Clears the 'previousPage' attribute.

◆ clear_request()

void google_customsearch_api::Search::SearchQueries::clear_request ( )
inline

Clears the 'request' attribute.

◆ get_next_page()

const client::JsonCppArray<SearchQueriesNextPage > google_customsearch_api::Search::SearchQueries::get_next_page ( ) const
inline

Get a reference to the value of the 'nextPage' attribute.

◆ get_previous_page()

const client::JsonCppArray<SearchQueriesPreviousPage > google_customsearch_api::Search::SearchQueries::get_previous_page ( ) const
inline

Get a reference to the value of the 'previousPage' attribute.

◆ get_request()

const client::JsonCppArray<SearchQueriesRequest > google_customsearch_api::Search::SearchQueries::get_request ( ) const
inline

Get a reference to the value of the 'request' attribute.

◆ GetTypeName()

const StringPiece google_customsearch_api::Search::SearchQueries::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_customsearch_api::SearchQueries

◆ has_next_page()

bool google_customsearch_api::Search::SearchQueries::has_next_page ( ) const
inline

Determine if the 'nextPage' attribute was set.

Returns
true if the 'nextPage' attribute was set.

◆ has_previous_page()

bool google_customsearch_api::Search::SearchQueries::has_previous_page ( ) const
inline

Determine if the 'previousPage' attribute was set.

Returns
true if the 'previousPage' attribute was set.

◆ has_request()

bool google_customsearch_api::Search::SearchQueries::has_request ( ) const
inline

Determine if the 'request' attribute was set.

Returns
true if the 'request' attribute was set.

◆ mutable_nextPage()

client::JsonCppArray<SearchQueriesNextPage > google_customsearch_api::Search::SearchQueries::mutable_nextPage ( )
inline

Gets a reference to a mutable value of the 'nextPage' property.

Metadata representing the next page of results, if applicable.

Returns
The result can be modified to change the attribute value.

◆ mutable_previousPage()

client::JsonCppArray<SearchQueriesPreviousPage > google_customsearch_api::Search::SearchQueries::mutable_previousPage ( )
inline

Gets a reference to a mutable value of the 'previousPage' property.

Metadata representing the previous page of results, if applicable.

Returns
The result can be modified to change the attribute value.

◆ mutable_request()

client::JsonCppArray<SearchQueriesRequest > google_customsearch_api::Search::SearchQueries::mutable_request ( )
inline

Gets a reference to a mutable value of the 'request' property.

Metadata representing the current request.

Returns
The result can be modified to change the attribute value.

◆ New()

Search::SearchQueries * google_customsearch_api::Search::SearchQueries::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

The documentation for this class was generated from the following files: