30 #ifndef GOOGLE_CONTAINER_API_SHIELDED_NODES_H_ 31 #define GOOGLE_CONTAINER_API_SHIELDED_NODES_H_ 33 #include "googleapis/base/macros.h" 34 #include "googleapis/client/data/jsoncpp_data.h" 35 #include "googleapis/strings/stringpiece.h" 83 return StringPiece(
"google_container_api::ShieldedNodes");
92 return Storage().isMember(
"enabled");
99 MutableStorage()->removeMember(
"enabled");
107 const Json::Value& storage = Storage(
"enabled");
108 return client::JsonValueToCppValueHelper<bool >(storage);
119 client::SetJsonValueFromCppValueHelper<bool >(
120 value, MutableStorage(
"enabled"));
127 #endif // GOOGLE_CONTAINER_API_SHIELDED_NODES_H_ bool get_enabled() const
Definition: shielded_nodes.h:106
Definition: accelerator_config.h:39
bool has_enabled() const
Definition: shielded_nodes.h:91
Definition: accelerator_config.cc:41
void clear_enabled()
Definition: shielded_nodes.h:98
void set_enabled(bool value)
Definition: shielded_nodes.h:118
Definition: shielded_nodes.h:49
const StringPiece GetTypeName() const
Definition: shielded_nodes.h:82