30 #ifndef GOOGLE_ANALYTICS_API_HASH_CLIENT_ID_REQUEST_H_ 31 #define GOOGLE_ANALYTICS_API_HASH_CLIENT_ID_REQUEST_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_analytics_api::HashClientIdRequest");
93 return Storage().isMember(
"clientId");
100 MutableStorage()->removeMember(
"clientId");
108 const Json::Value& v = Storage(
"clientId");
109 if (v == Json::Value::null)
return StringPiece(
"");
110 return StringPiece(v.asCString());
118 *MutableStorage(
"clientId") = value.data();
127 return Storage().isMember(
"kind");
134 MutableStorage()->removeMember(
"kind");
142 const Json::Value& v = Storage(
"kind");
143 if (v == Json::Value::null)
return StringPiece(
"");
144 return StringPiece(v.asCString());
152 *MutableStorage(
"kind") = value.data();
161 return Storage().isMember(
"webPropertyId");
168 MutableStorage()->removeMember(
"webPropertyId");
176 const Json::Value& v = Storage(
"webPropertyId");
177 if (v == Json::Value::null)
return StringPiece(
"");
178 return StringPiece(v.asCString());
186 *MutableStorage(
"webPropertyId") = value.data();
193 #endif // GOOGLE_ANALYTICS_API_HASH_CLIENT_ID_REQUEST_H_ void set_web_property_id(const StringPiece &value)
Definition: hash_client_id_request.h:185
bool has_kind() const
Definition: hash_client_id_request.h:126
void set_client_id(const StringPiece &value)
Definition: hash_client_id_request.h:117
const StringPiece get_client_id() const
Definition: hash_client_id_request.h:107
Definition: account.cc:41
void set_kind(const StringPiece &value)
Definition: hash_client_id_request.h:151
void clear_client_id()
Definition: hash_client_id_request.h:99
Definition: hash_client_id_request.h:50
const StringPiece GetTypeName() const
Definition: hash_client_id_request.h:83
void clear_kind()
Definition: hash_client_id_request.h:133
const StringPiece get_web_property_id() const
Definition: hash_client_id_request.h:175
const StringPiece get_kind() const
Definition: hash_client_id_request.h:141
void clear_web_property_id()
Definition: hash_client_id_request.h:167
bool has_client_id() const
Definition: hash_client_id_request.h:92
bool has_web_property_id() const
Definition: hash_client_id_request.h:160