30 #ifndef GOOGLE_CONTAINER_API_NODE_POOL_AUTOSCALING_H_ 31 #define GOOGLE_CONTAINER_API_NODE_POOL_AUTOSCALING_H_ 33 #include "googleapis/base/integral_types.h" 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 85 return StringPiece(
"google_container_api::NodePoolAutoscaling");
94 return Storage().isMember(
"autoprovisioned");
101 MutableStorage()->removeMember(
"autoprovisioned");
109 const Json::Value& storage = Storage(
"autoprovisioned");
110 return client::JsonValueToCppValueHelper<bool >(storage);
121 client::SetJsonValueFromCppValueHelper<bool >(
122 value, MutableStorage(
"autoprovisioned"));
131 return Storage().isMember(
"enabled");
138 MutableStorage()->removeMember(
"enabled");
146 const Json::Value& storage = Storage(
"enabled");
147 return client::JsonValueToCppValueHelper<bool >(storage);
158 client::SetJsonValueFromCppValueHelper<bool >(
159 value, MutableStorage(
"enabled"));
168 return Storage().isMember(
"maxNodeCount");
175 MutableStorage()->removeMember(
"maxNodeCount");
183 const Json::Value& storage = Storage(
"maxNodeCount");
184 return client::JsonValueToCppValueHelper<int32 >(storage);
196 client::SetJsonValueFromCppValueHelper<int32 >(
197 value, MutableStorage(
"maxNodeCount"));
206 return Storage().isMember(
"minNodeCount");
213 MutableStorage()->removeMember(
"minNodeCount");
221 const Json::Value& storage = Storage(
"minNodeCount");
222 return client::JsonValueToCppValueHelper<int32 >(storage);
234 client::SetJsonValueFromCppValueHelper<int32 >(
235 value, MutableStorage(
"minNodeCount"));
242 #endif // GOOGLE_CONTAINER_API_NODE_POOL_AUTOSCALING_H_ bool has_enabled() const
Definition: node_pool_autoscaling.h:130
void clear_max_node_count()
Definition: node_pool_autoscaling.h:174
int32 get_max_node_count() const
Definition: node_pool_autoscaling.h:182
void clear_min_node_count()
Definition: node_pool_autoscaling.h:212
void set_min_node_count(int32 value)
Definition: node_pool_autoscaling.h:233
bool has_autoprovisioned() const
Definition: node_pool_autoscaling.h:93
const StringPiece GetTypeName() const
Definition: node_pool_autoscaling.h:84
bool has_min_node_count() const
Definition: node_pool_autoscaling.h:205
void clear_autoprovisioned()
Definition: node_pool_autoscaling.h:100
Definition: node_pool_autoscaling.h:51
void set_autoprovisioned(bool value)
Definition: node_pool_autoscaling.h:120
Definition: accelerator_config.h:39
bool has_max_node_count() const
Definition: node_pool_autoscaling.h:167
Definition: accelerator_config.cc:41
int32 get_min_node_count() const
Definition: node_pool_autoscaling.h:220
void set_enabled(bool value)
Definition: node_pool_autoscaling.h:157
void clear_enabled()
Definition: node_pool_autoscaling.h:137
bool get_enabled() const
Definition: node_pool_autoscaling.h:145
void set_max_node_count(int32 value)
Definition: node_pool_autoscaling.h:195
bool get_autoprovisioned() const
Definition: node_pool_autoscaling.h:108