30 #ifndef GOOGLE_CONTAINER_API_NETWORK_POLICY_CONFIG_H_ 31 #define GOOGLE_CONTAINER_API_NETWORK_POLICY_CONFIG_H_ 33 #include "googleapis/base/macros.h" 34 #include "googleapis/client/data/jsoncpp_data.h" 35 #include "googleapis/strings/stringpiece.h" 85 return StringPiece(
"google_container_api::NetworkPolicyConfig");
94 return Storage().isMember(
"disabled");
101 MutableStorage()->removeMember(
"disabled");
109 const Json::Value& storage = Storage(
"disabled");
110 return client::JsonValueToCppValueHelper<bool >(storage);
121 client::SetJsonValueFromCppValueHelper<bool >(
122 value, MutableStorage(
"disabled"));
129 #endif // GOOGLE_CONTAINER_API_NETWORK_POLICY_CONFIG_H_ const StringPiece GetTypeName() const
Definition: network_policy_config.h:84
bool get_disabled() const
Definition: network_policy_config.h:108
void clear_disabled()
Definition: network_policy_config.h:100
Definition: accelerator_config.h:39
Definition: network_policy_config.h:51
Definition: accelerator_config.cc:41
void set_disabled(bool value)
Definition: network_policy_config.h:120
bool has_disabled() const
Definition: network_policy_config.h:93