30 #ifndef GOOGLE_YOUTUBE_API_CHANNEL_SECTION_LOCALIZATION_H_ 31 #define GOOGLE_YOUTUBE_API_CHANNEL_SECTION_LOCALIZATION_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 84 return StringPiece(
"google_youtube_api::ChannelSectionLocalization");
93 return Storage().isMember(
"title");
100 MutableStorage()->removeMember(
"title");
108 const Json::Value& v = Storage(
"title");
109 if (v == Json::Value::null)
return StringPiece(
"");
110 return StringPiece(v.asCString());
121 *MutableStorage(
"title") = value.data();
128 #endif // GOOGLE_YOUTUBE_API_CHANNEL_SECTION_LOCALIZATION_H_ Definition: access_policy.cc:40
void clear_title()
Definition: channel_section_localization.h:99
const StringPiece GetTypeName() const
Definition: channel_section_localization.h:83
const StringPiece get_title() const
Definition: channel_section_localization.h:107
Definition: channel_section_localization.h:50
bool has_title() const
Definition: channel_section_localization.h:92
Definition: access_policy.h:38
void set_title(const StringPiece &value)
Definition: channel_section_localization.h:120