30 #ifndef GOOGLE_CONTAINER_API_LIST_CLUSTERS_RESPONSE_H_ 31 #define GOOGLE_CONTAINER_API_LIST_CLUSTERS_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/container_api/cluster.h" 86 return StringPiece(
"google_container_api::ListClustersResponse");
95 return Storage().isMember(
"clusters");
102 MutableStorage()->removeMember(
"clusters");
109 const client::JsonCppArray<Cluster > get_clusters()
const;
120 client::JsonCppArray<Cluster > mutable_clusters();
128 return Storage().isMember(
"missingZones");
135 MutableStorage()->removeMember(
"missingZones");
143 const Json::Value& storage = Storage(
"missingZones");
144 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
157 Json::Value* storage = MutableStorage(
"missingZones");
158 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
165 #endif // GOOGLE_CONTAINER_API_LIST_CLUSTERS_RESPONSE_H_ void clear_missing_zones()
Definition: list_clusters_response.h:134
bool has_clusters() const
Definition: list_clusters_response.h:94
void clear_clusters()
Definition: list_clusters_response.h:101
client::JsonCppArray< string > mutable_missingZones()
Definition: list_clusters_response.h:156
const StringPiece GetTypeName() const
Definition: list_clusters_response.h:85
Definition: accelerator_config.h:39
Definition: accelerator_config.cc:41
Definition: list_clusters_response.h:52
const client::JsonCppArray< string > get_missing_zones() const
Definition: list_clusters_response.h:142
bool has_missing_zones() const
Definition: list_clusters_response.h:127