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

#include <service.h>

Inheritance diagram for google_cloudbilling_api::Service:

Public Member Functions

 Service (const Json::Value &storage)
 
 Service (Json::Value *storage)
 
virtual ~Service ()
 
const StringPiece GetTypeName () const
 
bool has_business_entity_name () const
 
void clear_business_entity_name ()
 
const StringPiece get_business_entity_name () const
 
void set_business_entity_name (const StringPiece &value)
 
bool has_display_name () const
 
void clear_display_name ()
 
const StringPiece get_display_name () const
 
void set_display_name (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_service_id () const
 
void clear_service_id ()
 
const StringPiece get_service_id () const
 
void set_service_id (const StringPiece &value)
 

Static Public Member Functions

static ServiceNew ()
 

Detailed Description

Encapsulates a single service in Google Cloud Platform.

Constructor & Destructor Documentation

◆ Service() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Service() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Service()

google_cloudbilling_api::Service::~Service ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_business_entity_name()

void google_cloudbilling_api::Service::clear_business_entity_name ( )
inline

Clears the 'businessEntityName' attribute.

◆ clear_display_name()

void google_cloudbilling_api::Service::clear_display_name ( )
inline

Clears the 'displayName' attribute.

◆ clear_name()

void google_cloudbilling_api::Service::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_service_id()

void google_cloudbilling_api::Service::clear_service_id ( )
inline

Clears the 'serviceId' attribute.

◆ get_business_entity_name()

const StringPiece google_cloudbilling_api::Service::get_business_entity_name ( ) const
inline

Get the value of the 'businessEntityName' attribute.

◆ get_display_name()

const StringPiece google_cloudbilling_api::Service::get_display_name ( ) const
inline

Get the value of the 'displayName' attribute.

◆ get_name()

const StringPiece google_cloudbilling_api::Service::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_service_id()

const StringPiece google_cloudbilling_api::Service::get_service_id ( ) const
inline

Get the value of the 'serviceId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_cloudbilling_api::Service

◆ has_business_entity_name()

bool google_cloudbilling_api::Service::has_business_entity_name ( ) const
inline

Determine if the 'businessEntityName' attribute was set.

Returns
true if the 'businessEntityName' attribute was set.

◆ has_display_name()

bool google_cloudbilling_api::Service::has_display_name ( ) const
inline

Determine if the 'displayName' attribute was set.

Returns
true if the 'displayName' attribute was set.

◆ has_name()

bool google_cloudbilling_api::Service::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_service_id()

bool google_cloudbilling_api::Service::has_service_id ( ) const
inline

Determine if the 'serviceId' attribute was set.

Returns
true if the 'serviceId' attribute was set.

◆ New()

Service * google_cloudbilling_api::Service::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_business_entity_name()

void google_cloudbilling_api::Service::set_business_entity_name ( const StringPiece &  value)
inline

Change the 'businessEntityName' attribute.

The business under which the service is offered. Ex. "businessEntities/GCP", "businessEntities/Maps".

Parameters
[in]valueThe new value.

◆ set_display_name()

void google_cloudbilling_api::Service::set_display_name ( const StringPiece &  value)
inline

Change the 'displayName' attribute.

A human readable display name for this service.

Parameters
[in]valueThe new value.

◆ set_name()

void google_cloudbilling_api::Service::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The resource name for the service. Example: "services/DA34-426B-A397".

Parameters
[in]valueThe new value.

◆ set_service_id()

void google_cloudbilling_api::Service::set_service_id ( const StringPiece &  value)
inline

Change the 'serviceId' attribute.

The identifier for the service. Example: "DA34-426B-A397".

Parameters
[in]valueThe new value.

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