youtube  v3
Public Member Functions | Static Public Member Functions | List of all members
google_youtube_api::ChannelSectionTargeting Class Reference

#include <channel_section_targeting.h>

Inheritance diagram for google_youtube_api::ChannelSectionTargeting:

Public Member Functions

 ChannelSectionTargeting (const Json::Value &storage)
 
 ChannelSectionTargeting (Json::Value *storage)
 
virtual ~ChannelSectionTargeting ()
 
const StringPiece GetTypeName () const
 
bool has_countries () const
 
void clear_countries ()
 
const client::JsonCppArray< string > get_countries () const
 
client::JsonCppArray< string > mutable_countries ()
 
bool has_languages () const
 
void clear_languages ()
 
const client::JsonCppArray< string > get_languages () const
 
client::JsonCppArray< string > mutable_languages ()
 
bool has_regions () const
 
void clear_regions ()
 
const client::JsonCppArray< string > get_regions () const
 
client::JsonCppArray< string > mutable_regions ()
 

Static Public Member Functions

static ChannelSectionTargetingNew ()
 

Detailed Description

ChannelSection targeting setting.

Constructor & Destructor Documentation

◆ ChannelSectionTargeting() [1/2]

google_youtube_api::ChannelSectionTargeting::ChannelSectionTargeting ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ ChannelSectionTargeting() [2/2]

google_youtube_api::ChannelSectionTargeting::ChannelSectionTargeting ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~ChannelSectionTargeting()

google_youtube_api::ChannelSectionTargeting::~ChannelSectionTargeting ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_countries()

void google_youtube_api::ChannelSectionTargeting::clear_countries ( )
inline

Clears the 'countries' attribute.

◆ clear_languages()

void google_youtube_api::ChannelSectionTargeting::clear_languages ( )
inline

Clears the 'languages' attribute.

◆ clear_regions()

void google_youtube_api::ChannelSectionTargeting::clear_regions ( )
inline

Clears the 'regions' attribute.

◆ get_countries()

const client::JsonCppArray<string > google_youtube_api::ChannelSectionTargeting::get_countries ( ) const
inline

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

◆ get_languages()

const client::JsonCppArray<string > google_youtube_api::ChannelSectionTargeting::get_languages ( ) const
inline

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

◆ get_regions()

const client::JsonCppArray<string > google_youtube_api::ChannelSectionTargeting::get_regions ( ) const
inline

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

◆ GetTypeName()

const StringPiece google_youtube_api::ChannelSectionTargeting::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_youtube_api::ChannelSectionTargeting

◆ has_countries()

bool google_youtube_api::ChannelSectionTargeting::has_countries ( ) const
inline

Determine if the 'countries' attribute was set.

Returns
true if the 'countries' attribute was set.

◆ has_languages()

bool google_youtube_api::ChannelSectionTargeting::has_languages ( ) const
inline

Determine if the 'languages' attribute was set.

Returns
true if the 'languages' attribute was set.

◆ has_regions()

bool google_youtube_api::ChannelSectionTargeting::has_regions ( ) const
inline

Determine if the 'regions' attribute was set.

Returns
true if the 'regions' attribute was set.

◆ mutable_countries()

client::JsonCppArray<string > google_youtube_api::ChannelSectionTargeting::mutable_countries ( )
inline

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

The country the channel section is targeting.

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

◆ mutable_languages()

client::JsonCppArray<string > google_youtube_api::ChannelSectionTargeting::mutable_languages ( )
inline

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

The language the channel section is targeting.

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

◆ mutable_regions()

client::JsonCppArray<string > google_youtube_api::ChannelSectionTargeting::mutable_regions ( )
inline

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

The region the channel section is targeting.

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

◆ New()

ChannelSectionTargeting * google_youtube_api::ChannelSectionTargeting::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: