30 #ifndef GOOGLE_DEPLOYMENTMANAGER_API_DEPLOYMENTS_LIST_RESPONSE_H_ 31 #define GOOGLE_DEPLOYMENTMANAGER_API_DEPLOYMENTS_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/deployment.h" 87 return StringPiece(
"google_deploymentmanager_api::DeploymentsListResponse");
96 return Storage().isMember(
"deployments");
103 MutableStorage()->removeMember(
"deployments");
110 const client::JsonCppArray<Deployment > get_deployments()
const;
120 client::JsonCppArray<Deployment > mutable_deployments();
128 return Storage().isMember(
"nextPageToken");
135 MutableStorage()->removeMember(
"nextPageToken");
143 const Json::Value& v = Storage(
"nextPageToken");
144 if (v == Json::Value::null)
return StringPiece(
"");
145 return StringPiece(v.asCString());
156 *MutableStorage(
"nextPageToken") = value.data();
163 #endif // GOOGLE_DEPLOYMENTMANAGER_API_DEPLOYMENTS_LIST_RESPONSE_H_ void set_next_page_token(const StringPiece &value)
Definition: deployments_list_response.h:155
void clear_next_page_token()
Definition: deployments_list_response.h:134
void clear_deployments()
Definition: deployments_list_response.h:102
const StringPiece GetTypeName() const
Definition: deployments_list_response.h:86
Definition: deployments_list_response.h:53
Definition: audit_config.h:40
bool has_deployments() const
Definition: deployments_list_response.h:95
Definition: audit_config.cc:42
const StringPiece get_next_page_token() const
Definition: deployments_list_response.h:142
bool has_next_page_token() const
Definition: deployments_list_response.h:127