#include <channel_section_targeting.h>
ChannelSection targeting setting.
◆ ChannelSectionTargeting() [1/2]
google_youtube_api::ChannelSectionTargeting::ChannelSectionTargeting |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~ChannelSectionTargeting()
google_youtube_api::ChannelSectionTargeting::~ChannelSectionTargeting |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
The documentation for this class was generated from the following files: