30 #ifndef GOOGLE_RESELLER_API_RESELLERNOTIFY_GETWATCHDETAILS_RESPONSE_H_ 31 #define GOOGLE_RESELLER_API_RESELLERNOTIFY_GETWATCHDETAILS_RESPONSE_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 85 return StringPiece(
"google_reseller_api::ResellernotifyGetwatchdetailsResponse");
96 return Storage().isMember(
"serviceAccountEmailAddresses");
103 MutableStorage()->removeMember(
"serviceAccountEmailAddresses");
112 const Json::Value& storage = Storage(
"serviceAccountEmailAddresses");
113 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
125 Json::Value* storage = MutableStorage(
"serviceAccountEmailAddresses");
126 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
135 return Storage().isMember(
"topicName");
142 MutableStorage()->removeMember(
"topicName");
150 const Json::Value& v = Storage(
"topicName");
151 if (v == Json::Value::null)
return StringPiece(
"");
152 return StringPiece(v.asCString());
163 *MutableStorage(
"topicName") = value.data();
170 #endif // GOOGLE_RESELLER_API_RESELLERNOTIFY_GETWATCHDETAILS_RESPONSE_H_ const StringPiece GetTypeName() const
Definition: resellernotify_getwatchdetails_response.h:84
Definition: address.cc:40
Definition: resellernotify_getwatchdetails_response.h:50
void clear_service_account_email_addresses()
Definition: resellernotify_getwatchdetails_response.h:102
bool has_topic_name() const
Definition: resellernotify_getwatchdetails_response.h:134
void clear_topic_name()
Definition: resellernotify_getwatchdetails_response.h:141
bool has_service_account_email_addresses() const
Definition: resellernotify_getwatchdetails_response.h:95
client::JsonCppArray< string > mutable_serviceAccountEmailAddresses()
Definition: resellernotify_getwatchdetails_response.h:124
void set_topic_name(const StringPiece &value)
Definition: resellernotify_getwatchdetails_response.h:162
const client::JsonCppArray< string > get_service_account_email_addresses() const
Definition: resellernotify_getwatchdetails_response.h:111
const StringPiece get_topic_name() const
Definition: resellernotify_getwatchdetails_response.h:149