30 #ifndef GOOGLE_DEPLOYMENTMANAGER_API_RESOURCES_LIST_RESPONSE_H_ 31 #define GOOGLE_DEPLOYMENTMANAGER_API_RESOURCES_LIST_RESPONSE_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 38 #include "google/deploymentmanager_api/resource.h" 87 return StringPiece(
"google_deploymentmanager_api::ResourcesListResponse");
96 return Storage().isMember(
"nextPageToken");
103 MutableStorage()->removeMember(
"nextPageToken");
111 const Json::Value& v = Storage(
"nextPageToken");
112 if (v == Json::Value::null)
return StringPiece(
"");
113 return StringPiece(v.asCString());
124 *MutableStorage(
"nextPageToken") = value.data();
133 return Storage().isMember(
"resources");
140 MutableStorage()->removeMember(
"resources");
147 const client::JsonCppArray<Resource > get_resources()
const;
157 client::JsonCppArray<Resource > mutable_resources();
163 #endif // GOOGLE_DEPLOYMENTMANAGER_API_RESOURCES_LIST_RESPONSE_H_ void clear_resources()
Definition: resources_list_response.h:139
bool has_next_page_token() const
Definition: resources_list_response.h:95
void clear_next_page_token()
Definition: resources_list_response.h:102
Definition: resources_list_response.h:53
Definition: audit_config.h:40
void set_next_page_token(const StringPiece &value)
Definition: resources_list_response.h:123
Definition: audit_config.cc:42
bool has_resources() const
Definition: resources_list_response.h:132
const StringPiece get_next_page_token() const
Definition: resources_list_response.h:110
const StringPiece GetTypeName() const
Definition: resources_list_response.h:86