compute  v1
Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::HealthStatus Class Reference

#include <health_status.h>

Inheritance diagram for google_compute_api::HealthStatus:

Public Member Functions

 HealthStatus (const Json::Value &storage)
 
 HealthStatus (Json::Value *storage)
 
virtual ~HealthStatus ()
 
const StringPiece GetTypeName () const
 
bool has_health_state () const
 
void clear_health_state ()
 
const StringPiece get_health_state () const
 
void set_health_state (const StringPiece &value)
 
bool has_instance () const
 
void clear_instance ()
 
const StringPiece get_instance () const
 
void set_instance (const StringPiece &value)
 
bool has_ip_address () const
 
void clear_ip_address ()
 
const StringPiece get_ip_address () const
 
void set_ip_address (const StringPiece &value)
 
bool has_port () const
 
void clear_port ()
 
int32 get_port () const
 
void set_port (int32 value)
 

Static Public Member Functions

static HealthStatusNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ HealthStatus() [1/2]

google_compute_api::HealthStatus::HealthStatus ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ HealthStatus() [2/2]

google_compute_api::HealthStatus::HealthStatus ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~HealthStatus()

google_compute_api::HealthStatus::~HealthStatus ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_health_state()

void google_compute_api::HealthStatus::clear_health_state ( )
inline

Clears the 'healthState' attribute.

◆ clear_instance()

void google_compute_api::HealthStatus::clear_instance ( )
inline

Clears the 'instance' attribute.

◆ clear_ip_address()

void google_compute_api::HealthStatus::clear_ip_address ( )
inline

Clears the 'ipAddress' attribute.

◆ clear_port()

void google_compute_api::HealthStatus::clear_port ( )
inline

Clears the 'port' attribute.

◆ get_health_state()

const StringPiece google_compute_api::HealthStatus::get_health_state ( ) const
inline

Get the value of the 'healthState' attribute.

◆ get_instance()

const StringPiece google_compute_api::HealthStatus::get_instance ( ) const
inline

Get the value of the 'instance' attribute.

◆ get_ip_address()

const StringPiece google_compute_api::HealthStatus::get_ip_address ( ) const
inline

Get the value of the 'ipAddress' attribute.

◆ get_port()

int32 google_compute_api::HealthStatus::get_port ( ) const
inline

Get the value of the 'port' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::HealthStatus::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::HealthStatus

◆ has_health_state()

bool google_compute_api::HealthStatus::has_health_state ( ) const
inline

Determine if the 'healthState' attribute was set.

Returns
true if the 'healthState' attribute was set.

◆ has_instance()

bool google_compute_api::HealthStatus::has_instance ( ) const
inline

Determine if the 'instance' attribute was set.

Returns
true if the 'instance' attribute was set.

◆ has_ip_address()

bool google_compute_api::HealthStatus::has_ip_address ( ) const
inline

Determine if the 'ipAddress' attribute was set.

Returns
true if the 'ipAddress' attribute was set.

◆ has_port()

bool google_compute_api::HealthStatus::has_port ( ) const
inline

Determine if the 'port' attribute was set.

Returns
true if the 'port' attribute was set.

◆ New()

HealthStatus * google_compute_api::HealthStatus::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_health_state()

void google_compute_api::HealthStatus::set_health_state ( const StringPiece &  value)
inline

Change the 'healthState' attribute.

Health state of the instance.

Parameters
[in]valueThe new value.

◆ set_instance()

void google_compute_api::HealthStatus::set_instance ( const StringPiece &  value)
inline

Change the 'instance' attribute.

URL of the instance resource.

Parameters
[in]valueThe new value.

◆ set_ip_address()

void google_compute_api::HealthStatus::set_ip_address ( const StringPiece &  value)
inline

Change the 'ipAddress' attribute.

The IP address represented by this resource.

Parameters
[in]valueThe new value.

◆ set_port()

void google_compute_api::HealthStatus::set_port ( int32  value)
inline

Change the 'port' attribute.

The port on the instance.

Parameters
[in]valueThe new value.

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