cloudbilling  v1
Public Member Functions | Static Public Member Functions | List of all members
google_cloudbilling_api::AggregationInfo Class Reference

#include <aggregation_info.h>

Inheritance diagram for google_cloudbilling_api::AggregationInfo:

Public Member Functions

 AggregationInfo (const Json::Value &storage)
 
 AggregationInfo (Json::Value *storage)
 
virtual ~AggregationInfo ()
 
const StringPiece GetTypeName () const
 
bool has_aggregation_count () const
 
void clear_aggregation_count ()
 
int32 get_aggregation_count () const
 
void set_aggregation_count (int32 value)
 
bool has_aggregation_interval () const
 
void clear_aggregation_interval ()
 
const StringPiece get_aggregation_interval () const
 
void set_aggregation_interval (const StringPiece &value)
 
bool has_aggregation_level () const
 
void clear_aggregation_level ()
 
const StringPiece get_aggregation_level () const
 
void set_aggregation_level (const StringPiece &value)
 

Static Public Member Functions

static AggregationInfoNew ()
 

Detailed Description

Represents the aggregation level and interval for pricing of a single SKU.

Constructor & Destructor Documentation

◆ AggregationInfo() [1/2]

google_cloudbilling_api::AggregationInfo::AggregationInfo ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ AggregationInfo() [2/2]

google_cloudbilling_api::AggregationInfo::AggregationInfo ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~AggregationInfo()

google_cloudbilling_api::AggregationInfo::~AggregationInfo ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_aggregation_count()

void google_cloudbilling_api::AggregationInfo::clear_aggregation_count ( )
inline

Clears the 'aggregationCount' attribute.

◆ clear_aggregation_interval()

void google_cloudbilling_api::AggregationInfo::clear_aggregation_interval ( )
inline

Clears the 'aggregationInterval' attribute.

◆ clear_aggregation_level()

void google_cloudbilling_api::AggregationInfo::clear_aggregation_level ( )
inline

Clears the 'aggregationLevel' attribute.

◆ get_aggregation_count()

int32 google_cloudbilling_api::AggregationInfo::get_aggregation_count ( ) const
inline

Get the value of the 'aggregationCount' attribute.

◆ get_aggregation_interval()

const StringPiece google_cloudbilling_api::AggregationInfo::get_aggregation_interval ( ) const
inline

Get the value of the 'aggregationInterval' attribute.

◆ get_aggregation_level()

const StringPiece google_cloudbilling_api::AggregationInfo::get_aggregation_level ( ) const
inline

Get the value of the 'aggregationLevel' attribute.

◆ GetTypeName()

const StringPiece google_cloudbilling_api::AggregationInfo::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_cloudbilling_api::AggregationInfo

◆ has_aggregation_count()

bool google_cloudbilling_api::AggregationInfo::has_aggregation_count ( ) const
inline

Determine if the 'aggregationCount' attribute was set.

Returns
true if the 'aggregationCount' attribute was set.

◆ has_aggregation_interval()

bool google_cloudbilling_api::AggregationInfo::has_aggregation_interval ( ) const
inline

Determine if the 'aggregationInterval' attribute was set.

Returns
true if the 'aggregationInterval' attribute was set.

◆ has_aggregation_level()

bool google_cloudbilling_api::AggregationInfo::has_aggregation_level ( ) const
inline

Determine if the 'aggregationLevel' attribute was set.

Returns
true if the 'aggregationLevel' attribute was set.

◆ New()

AggregationInfo * google_cloudbilling_api::AggregationInfo::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_aggregation_count()

void google_cloudbilling_api::AggregationInfo::set_aggregation_count ( int32  value)
inline

Change the 'aggregationCount' attribute.

The number of intervals to aggregate over. Example: If aggregation_level is "DAILY" and aggregation_count is 14, aggregation will be over 14 days.

Parameters
[in]valueThe new value.

◆ set_aggregation_interval()

void google_cloudbilling_api::AggregationInfo::set_aggregation_interval ( const StringPiece &  value)
inline

Change the 'aggregationInterval' attribute.

Parameters
[in]valueThe new value.

◆ set_aggregation_level()

void google_cloudbilling_api::AggregationInfo::set_aggregation_level ( const StringPiece &  value)
inline

Change the 'aggregationLevel' attribute.

Parameters
[in]valueThe new value.

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