storage  v1
Classes | Public Member Functions | Static Public Member Functions | List of all members
google_storage_api::ComposeRequest Class Reference

#include <compose_request.h>

Inheritance diagram for google_storage_api::ComposeRequest:

Classes

class  ComposeRequestSourceObjects
 

Public Member Functions

 ComposeRequest (const Json::Value &storage)
 
 ComposeRequest (Json::Value *storage)
 
virtual ~ComposeRequest ()
 
const StringPiece GetTypeName () const
 
bool has_destination () const
 
void clear_destination ()
 
const Object get_destination () const
 
Object mutable_destination ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_source_objects () const
 
void clear_source_objects ()
 
const client::JsonCppArray< ComposeRequestSourceObjectsget_source_objects () const
 
client::JsonCppArray< ComposeRequestSourceObjectsmutable_sourceObjects ()
 

Static Public Member Functions

static ComposeRequestNew ()
 

Detailed Description

A Compose request.

Constructor & Destructor Documentation

◆ ComposeRequest() [1/2]

google_storage_api::ComposeRequest::ComposeRequest ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ ComposeRequest() [2/2]

google_storage_api::ComposeRequest::ComposeRequest ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~ComposeRequest()

google_storage_api::ComposeRequest::~ComposeRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_destination()

void google_storage_api::ComposeRequest::clear_destination ( )
inline

Clears the 'destination' attribute.

◆ clear_kind()

void google_storage_api::ComposeRequest::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_source_objects()

void google_storage_api::ComposeRequest::clear_source_objects ( )
inline

Clears the 'sourceObjects' attribute.

◆ get_destination()

const Object google_storage_api::ComposeRequest::get_destination ( ) const

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

◆ get_kind()

const StringPiece google_storage_api::ComposeRequest::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_source_objects()

const client::JsonCppArray<ComposeRequestSourceObjects > google_storage_api::ComposeRequest::get_source_objects ( ) const
inline

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

◆ GetTypeName()

const StringPiece google_storage_api::ComposeRequest::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_storage_api::ComposeRequest

◆ has_destination()

bool google_storage_api::ComposeRequest::has_destination ( ) const
inline

Determine if the 'destination' attribute was set.

Returns
true if the 'destination' attribute was set.

◆ has_kind()

bool google_storage_api::ComposeRequest::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_source_objects()

bool google_storage_api::ComposeRequest::has_source_objects ( ) const
inline

Determine if the 'sourceObjects' attribute was set.

Returns
true if the 'sourceObjects' attribute was set.

◆ mutable_destination()

Object google_storage_api::ComposeRequest::mutable_destination ( )

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

Properties of the resulting object.

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

◆ mutable_sourceObjects()

client::JsonCppArray<ComposeRequestSourceObjects > google_storage_api::ComposeRequest::mutable_sourceObjects ( )
inline

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

The list of source objects that will be concatenated into a single object.

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

◆ New()

ComposeRequest * google_storage_api::ComposeRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

void google_storage_api::ComposeRequest::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

The kind of item this is.

Parameters
[in]valueThe new value.

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